| 1 |
/*! For license information please see base.js.LICENSE.txt */ |
| 2 |
define("@jupyter-widgets/base",["module"],(t=>(()=>{var e={5764:function(t,e){!function(t){"use strict";t.JSONExt=void 0,function(t){function e(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t}function n(t){return Array.isArray(t)}function i(t,r){if(t===r)return!0;if(e(t)||e(r))return!1;let s=n(t),o=n(r);return s===o&&(s&&o?function(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let n=0,r=t.length;n<r;++n)if(!i(t[n],e[n]))return!1;return!0}(t,r):function(t,e){if(t===e)return!0;for(let n in t)if(void 0!==t[n]&&!(n in e))return!1;for(let n in e)if(void 0!==e[n]&&!(n in t))return!1;for(let n in t){let r=t[n],s=e[n];if(void 0!==r||void 0!==s){if(void 0===r||void 0===s)return!1;if(!i(r,s))return!1}}return!0}(t,r))}function r(t){return e(t)?t:n(t)?function(t){let e=new Array(t.length);for(let n=0,i=t.length;n<i;++n)e[n]=r(t[n]);return e}(t):function(t){let e={};for(let n in t){let i=t[n];void 0!==i&&(e[n]=r(i))}return e}(t)}t.emptyObject=Object.freeze({}),t.emptyArray=Object.freeze([]),t.isPrimitive=e,t.isArray=n,t.isObject=function(t){return!e(t)&&!n(t)},t.deepEqual=i,t.deepCopy=r}(t.JSONExt||(t.JSONExt={}));function e(t){let e=0;for(let n=0,i=t.length;n<i;++n)n%4==0&&(e=4294967295*Math.random()>>>0),t[n]=255&e,e>>>=8}t.Random=void 0,(t.Random||(t.Random={})).getRandomValues=(()=>{const t="undefined"!=typeof window&&(window.crypto||window.msCrypto)||null;return t&&"function"==typeof t.getRandomValues?function(e){return t.getRandomValues(e)}:e})(),t.UUID=void 0,(t.UUID||(t.UUID={})).uuid4=function(t){const e=new Uint8Array(16),n=new Array(256);for(let t=0;t<16;++t)n[t]="0"+t.toString(16);for(let t=16;t<256;++t)n[t]=t.toString(16);return function(){return t(e),e[6]=64|15&e[6],e[8]=128|63&e[8],n[e[0]]+n[e[1]]+n[e[2]]+n[e[3]]+"-"+n[e[4]]+n[e[5]]+"-"+n[e[6]]+n[e[7]]+"-"+n[e[8]]+n[e[9]]+"-"+n[e[10]]+n[e[11]]+n[e[12]]+n[e[13]]+n[e[14]]+n[e[15]]}}(t.Random.getRandomValues),t.MimeData=class{constructor(){this._types=[],this._values=[]}types(){return this._types.slice()}hasData(t){return-1!==this._types.indexOf(t)}getData(t){let e=this._types.indexOf(t);return-1!==e?this._values[e]:void 0}setData(t,e){this.clearData(t),this._types.push(t),this._values.push(e)}clearData(t){let e=this._types.indexOf(t);-1!==e&&(this._types.splice(e,1),this._values.splice(e,1))}clear(){this._types.length=0,this._values.length=0}},t.PromiseDelegate=class{constructor(){this.promise=new Promise(((t,e)=>{this._resolve=t,this._reject=e}))}resolve(t){(0,this._resolve)(t)}reject(t){(0,this._reject)(t)}},t.Token=class{constructor(t,e){this.name=t,this.description=null!=e?e:"",this._tokenStructuralPropertyT=null}}}(e)},482:(t,e,n)=>{var i,r,s;s="object"==typeof self&&self.self===self&&self||"object"==typeof n.g&&n.g.global===n.g&&n.g,i=[n(557),n(4651),e],r=function(t,e,n){s.Backbone=function(t,e,n,i){var r=t.Backbone,s=Array.prototype.slice;e.VERSION="1.4.0",e.$=i,e.noConflict=function(){return t.Backbone=r,this},e.emulateHTTP=!1,e.emulateJSON=!1;var o,a=e.Events={},l=/\s+/,h=function(t,e,i,r,s){var o,a=0;if(i&&"object"==typeof i){void 0!==r&&"context"in s&&void 0===s.context&&(s.context=r);for(o=n.keys(i);a<o.length;a++)e=h(t,e,o[a],i[o[a]],s)}else if(i&&l.test(i))for(o=i.split(l);a<o.length;a++)e=t(e,o[a],r,s);else e=t(e,i,r,s);return e};a.on=function(t,e,n){return this._events=h(c,this._events||{},t,e,{context:n,ctx:this,listening:o}),o&&((this._listeners||(this._listeners={}))[o.id]=o,o.interop=!1),this},a.listenTo=function(t,e,i){if(!t)return this;var r=t._listenId||(t._listenId=n.uniqueId("l")),s=this._listeningTo||(this._listeningTo={}),a=o=s[r];a||(this._listenId||(this._listenId=n.uniqueId("l")),a=o=s[r]=new g(this,t));var l=u(t,e,i,this);if(o=void 0,l)throw l;return a.interop&&a.on(e,i),this};var c=function(t,e,n,i){if(n){var r=t[e]||(t[e]=[]),s=i.context,o=i.ctx,a=i.listening;a&&a.count++,r.push({callback:n,context:s,ctx:s||o,listening:a})}return t},u=function(t,e,n,i){try{t.on(e,n,i)}catch(t){return t}};a.off=function(t,e,n){return this._events?(this._events=h(d,this._events,t,e,{context:n,listeners:this._listeners}),this):this},a.stopListening=function(t,e,i){var r=this._listeningTo;if(!r)return this;for(var s=t?[t._listenId]:n.keys(r),o=0;o<s.length;o++){var a=r[s[o]];if(!a)break;a.obj.off(e,i,this),a.interop&&a.off(e,i)}return n.isEmpty(r)&&(this._listeningTo=void 0),this};var d=function(t,e,i,r){if(t){var s,o=r.context,a=r.listeners,l=0;if(e||o||i){for(s=e?[e]:n.keys(t);l<s.length;l++){var h=t[e=s[l]];if(!h)break;for(var c=[],u=0;u<h.length;u++){var d=h[u];if(i&&i!==d.callback&&i!==d.callback._callback||o&&o!==d.context)c.push(d);else{var f=d.listening;f&&f.off(e,i)}}c.length?t[e]=c:delete t[e]}return t}for(s=n.keys(a);l<s.length;l++)a[s[l]].cleanup()}};a.once=function(t,e,n){var i=h(f,{},t,e,this.off.bind(this));return"string"==typeof t&&null==n&&(e=void 0),this.on(i,e,n)},a.listenToOnce=function(t,e,n){var i=h(f,{},e,n,this.stopListening.bind(this,t));return this.listenTo(t,i)};var f=function(t,e,i,r){if(i){var s=t[e]=n.once((function(){r(e,s),i.apply(this,arguments)}));s._callback=i}return t};a.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),n=Array(e),i=0;i<e;i++)n[i]=arguments[i+1];return h(p,this._events,t,void 0,n),this};var p=function(t,e,n,i){if(t){var r=t[e],s=t.all;r&&s&&(s=s.slice()),r&&m(r,i),s&&m(s,[e].concat(i))}return t},m=function(t,e){var n,i=-1,r=t.length,s=e[0],o=e[1],a=e[2];switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,s);return;case 2:for(;++i<r;)(n=t[i]).callback.call(n.ctx,s,o);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,s,o,a);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e);return}},g=function(t,e){this.id=t._listenId,this.listener=t,this.obj=e,this.interop=!0,this.count=0,this._events=void 0};g.prototype.on=a.on,g.prototype.off=function(t,e){var n;this.interop?(this._events=h(d,this._events,t,e,{context:void 0,listeners:void 0}),n=!this._events):(this.count--,n=0===this.count),n&&this.cleanup()},g.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},a.bind=a.on,a.unbind=a.off,n.extend(e,a);var v=e.Model=function(t,e){var i=t||{};e||(e={}),this.preinitialize.apply(this,arguments),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{});var r=n.result(this,"defaults");i=n.defaults(n.extend({},r,i),r),this.set(i,e),this.changed={},this.initialize.apply(this,arguments)};n.extend(v.prototype,a,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(t){return n.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return n.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!n.iteratee(t,this)(this.attributes)},set:function(t,e,i){if(null==t)return this;var r;if("object"==typeof t?(r=t,i=e):(r={})[t]=e,i||(i={}),!this._validate(r,i))return!1;var s=i.unset,o=i.silent,a=[],l=this._changing;this._changing=!0,l||(this._previousAttributes=n.clone(this.attributes),this.changed={});var h=this.attributes,c=this.changed,u=this._previousAttributes;for(var d in r)e=r[d],n.isEqual(h[d],e)||a.push(d),n.isEqual(u[d],e)?delete c[d]:c[d]=e,s?delete h[d]:h[d]=e;if(this.idAttribute in r&&(this.id=this.get(this.idAttribute)),!o){a.length&&(this._pending=i);for(var f=0;f<a.length;f++)this.trigger("change:"+a[f],this,h[a[f]],i)}if(l)return this;if(!o)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,n.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,n.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!n.isEmpty(this.changed):n.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&n.clone(this.changed);var e,i=this._changing?this._previousAttributes:this.attributes,r={};for(var s in t){var o=t[s];n.isEqual(i[s],o)||(r[s]=o,e=!0)}return!!e&&r},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(t){t=n.extend({parse:!0},t);var e=this,i=t.success;return t.success=function(n){var r=t.parse?e.parse(n,t):n;if(!e.set(r,t))return!1;i&&i.call(t.context,e,n,t),e.trigger("sync",e,n,t)},$(this,t),this.sync("read",this,t)},save:function(t,e,i){var r;null==t||"object"==typeof t?(r=t,i=e):(r={})[t]=e;var s=(i=n.extend({validate:!0,parse:!0},i)).wait;if(r&&!s){if(!this.set(r,i))return!1}else if(!this._validate(r,i))return!1;var o=this,a=i.success,l=this.attributes;i.success=function(t){o.attributes=l;var e=i.parse?o.parse(t,i):t;if(s&&(e=n.extend({},r,e)),e&&!o.set(e,i))return!1;a&&a.call(i.context,o,t,i),o.trigger("sync",o,t,i)},$(this,i),r&&s&&(this.attributes=n.extend({},l,r));var h=this.isNew()?"create":i.patch?"patch":"update";"patch"!==h||i.attrs||(i.attrs=r);var c=this.sync(h,this,i);return this.attributes=l,c},destroy:function(t){t=t?n.clone(t):{};var e=this,i=t.success,r=t.wait,s=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(n){r&&s(),i&&i.call(t.context,e,n,t),e.isNew()||e.trigger("sync",e,n,t)};var o=!1;return this.isNew()?n.defer(t.success):($(this,t),o=this.sync("delete",this,t)),r||s(),o},url:function(){var t=n.result(this,"urlRoot")||n.result(this.collection,"url")||q();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},n.extend({},t,{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=n.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;return!i||(this.trigger("invalid",this,i,n.extend(e,{validationError:i})),!1)}});var _=e.Collection=function(t,e){e||(e={}),this.preinitialize.apply(this,arguments),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,n.extend({silent:!0},e))},y={add:!0,remove:!0,merge:!0},b={add:!0,remove:!1},x=function(t,e,n){n=Math.min(Math.max(n,0),t.length);var i,r=Array(t.length-n),s=e.length;for(i=0;i<r.length;i++)r[i]=t[i+n];for(i=0;i<s;i++)t[i+n]=e[i];for(i=0;i<r.length;i++)t[i+s+n]=r[i]};n.extend(_.prototype,a,{model:v,preinitialize:function(){},initialize:function(){},toJSON:function(t){return this.map((function(e){return e.toJSON(t)}))},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,n.extend({merge:!1},e,b))},remove:function(t,e){e=n.extend({},e);var i=!n.isArray(t);t=i?[t]:t.slice();var r=this._removeModels(t,e);return!e.silent&&r.length&&(e.changes={added:[],merged:[],removed:r},this.trigger("update",this,e)),i?r[0]:r},set:function(t,e){if(null!=t){(e=n.extend({},y,e)).parse&&!this._isModel(t)&&(t=this.parse(t,e)||[]);var i=!n.isArray(t);t=i?[t]:t.slice();var r=e.at;null!=r&&(r=+r),r>this.length&&(r=this.length),r<0&&(r+=this.length+1);var s,o,a=[],l=[],h=[],c=[],u={},d=e.add,f=e.merge,p=e.remove,m=!1,g=this.comparator&&null==r&&!1!==e.sort,v=n.isString(this.comparator)?this.comparator:null;for(o=0;o<t.length;o++){s=t[o];var _=this.get(s);if(_){if(f&&s!==_){var b=this._isModel(s)?s.attributes:s;e.parse&&(b=_.parse(b,e)),_.set(b,e),h.push(_),g&&!m&&(m=_.hasChanged(v))}u[_.cid]||(u[_.cid]=!0,a.push(_)),t[o]=_}else d&&(s=t[o]=this._prepareModel(s,e))&&(l.push(s),this._addReference(s,e),u[s.cid]=!0,a.push(s))}if(p){for(o=0;o<this.length;o++)u[(s=this.models[o]).cid]||c.push(s);c.length&&this._removeModels(c,e)}var w=!1,M=!g&&d&&p;if(a.length&&M?(w=this.length!==a.length||n.some(this.models,(function(t,e){return t!==a[e]})),this.models.length=0,x(this.models,a,0),this.length=this.models.length):l.length&&(g&&(m=!0),x(this.models,l,null==r?this.length:r),this.length=this.models.length),m&&this.sort({silent:!0}),!e.silent){for(o=0;o<l.length;o++)null!=r&&(e.index=r+o),(s=l[o]).trigger("add",s,this,e);(m||w)&&this.trigger("sort",this,e),(l.length||c.length||h.length)&&(e.changes={added:l,removed:c,merged:h},this.trigger("update",this,e))}return i?t[0]:t}},reset:function(t,e){e=e?n.clone(e):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,n.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,n.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,n.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return s.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[this.modelId(this._isModel(t)?t.attributes:t)]||t.cid&&this._byId[t.cid]},has:function(t){return null!=this.get(t)},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t||(t={});var i=e.length;return n.isFunction(e)&&(e=e.bind(this)),1===i||n.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return this.map(t+"")},fetch:function(t){var e=(t=n.extend({parse:!0},t)).success,i=this;return t.success=function(n){var r=t.reset?"reset":"set";i[r](n,t),e&&e.call(t.context,i,n,t),i.trigger("sync",i,n,t)},$(this,t),this.sync("read",this,t)},create:function(t,e){var i=(e=e?n.clone(e):{}).wait;if(!(t=this._prepareModel(t,e)))return!1;i||this.add(t,e);var r=this,s=e.success;return e.success=function(t,e,n){i&&r.add(t,n),s&&s.call(n.context,t,e,n)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||"id"]},values:function(){return new M(this,S)},keys:function(){return new M(this,E)},entries:function(){return new M(this,C)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;(e=e?n.clone(e):{}).collection=this;var i=new this.model(t,e);return i.validationError?(this.trigger("invalid",this,i.validationError,e),!1):i},_removeModels:function(t,e){for(var n=[],i=0;i<t.length;i++){var r=this.get(t[i]);if(r){var s=this.indexOf(r);this.models.splice(s,1),this.length--,delete this._byId[r.cid];var o=this.modelId(r.attributes);null!=o&&delete this._byId[o],e.silent||(e.index=s,r.trigger("remove",r,this,e)),n.push(r),this._removeReference(r,e)}}return n},_isModel:function(t){return t instanceof v},_addReference:function(t,e){this._byId[t.cid]=t;var n=this.modelId(t.attributes);null!=n&&(this._byId[n]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var n=this.modelId(t.attributes);null!=n&&delete this._byId[n],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,i){if(e){if(("add"===t||"remove"===t)&&n!==this)return;if("destroy"===t&&this.remove(e,i),"change"===t){var r=this.modelId(e.previousAttributes()),s=this.modelId(e.attributes);r!==s&&(null!=r&&delete this._byId[r],null!=s&&(this._byId[s]=e))}}this.trigger.apply(this,arguments)}});var w="function"==typeof Symbol&&Symbol.iterator;w&&(_.prototype[w]=_.prototype.values);var M=function(t,e){this._collection=t,this._kind=e,this._index=0},S=1,E=2,C=3;w&&(M.prototype[w]=function(){return this}),M.prototype.next=function(){if(this._collection){if(this._index<this._collection.length){var t,e=this._collection.at(this._index);if(this._index++,this._kind===S)t=e;else{var n=this._collection.modelId(e.attributes);t=this._kind===E?n:[n,e]}return{value:t,done:!1}}this._collection=void 0}return{value:void 0,done:!0}};var A=e.View=function(t){this.cid=n.uniqueId("view"),this.preinitialize.apply(this,arguments),n.extend(this,n.pick(t,T)),this._ensureElement(),this.initialize.apply(this,arguments)},k=/^(\S+)\s*(.*)$/,T=["model","collection","el","id","attributes","className","tagName","events"];n.extend(A.prototype,a,{tagName:"div",$:function(t){return this.$el.find(t)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=n.result(this,"events")),!t)return this;for(var e in this.undelegateEvents(),t){var i=t[e];if(n.isFunction(i)||(i=this[i]),i){var r=e.match(k);this.delegate(r[1],r[2],i.bind(this))}}return this},delegate:function(t,e,n){return this.$el.on(t+".delegateEvents"+this.cid,e,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,n){return this.$el.off(t+".delegateEvents"+this.cid,e,n),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var t=n.extend({},n.result(this,"attributes"));this.id&&(t.id=n.result(this,"id")),this.className&&(t.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}});var I=function(t,e,i,r){n.each(i,(function(n,i){e[i]&&(t.prototype[i]=function(t,e,n,i){switch(e){case 1:return function(){return t[n](this[i])};case 2:return function(e){return t[n](this[i],e)};case 3:return function(e,r){return t[n](this[i],z(e,this),r)};case 4:return function(e,r,s){return t[n](this[i],z(e,this),r,s)};default:return function(){var e=s.call(arguments);return e.unshift(this[i]),t[n].apply(t,e)}}}(e,n,i,r))}))},z=function(t,e){return n.isFunction(t)?t:n.isObject(t)&&!e._isModel(t)?L(t):n.isString(t)?function(e){return e.get(t)}:t},L=function(t){var e=n.matches(t);return function(t){return e(t.attributes)}};n.each([[_,{forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},"models"],[v,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes"]],(function(t){var e=t[0],i=t[1],r=t[2];e.mixin=function(t){var i=n.reduce(n.functions(t),(function(t,e){return t[e]=0,t}),{});I(e,t,i,r)},I(e,n,i,r)})),e.sync=function(t,i,r){var s=D[t];n.defaults(r||(r={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var o={type:s,dataType:"json"};if(r.url||(o.url=n.result(i,"url")||q()),null!=r.data||!i||"create"!==t&&"update"!==t&&"patch"!==t||(o.contentType="application/json",o.data=JSON.stringify(r.attrs||i.toJSON(r))),r.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{}),r.emulateHTTP&&("PUT"===s||"DELETE"===s||"PATCH"===s)){o.type="POST",r.emulateJSON&&(o.data._method=s);var a=r.beforeSend;r.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",s),a)return a.apply(this,arguments)}}"GET"===o.type||r.emulateJSON||(o.processData=!1);var l=r.error;r.error=function(t,e,n){r.textStatus=e,r.errorThrown=n,l&&l.call(r.context,t,e,n)};var h=r.xhr=e.ajax(n.extend(o,r));return i.trigger("request",i,h,r),h};var D={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var N=e.Router=function(t){t||(t={}),this.preinitialize.apply(this,arguments),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},O=/\((.*?)\)/g,j=/(\(\?)?:\w+/g,B=/\*\w+/g,P=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(N.prototype,a,{preinitialize:function(){},initialize:function(){},route:function(t,i,r){n.isRegExp(t)||(t=this._routeToRegExp(t)),n.isFunction(i)&&(r=i,i=""),r||(r=this[i]);var s=this;return e.history.route(t,(function(n){var o=s._extractParameters(t,n);!1!==s.execute(r,o,i)&&(s.trigger.apply(s,["route:"+i].concat(o)),s.trigger("route",i,o),e.history.trigger("route",s,i,o))})),this},execute:function(t,e,n){t&&t.apply(this,e)},navigate:function(t,n){return e.history.navigate(t,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var t,e=n.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(P,"\\$&").replace(O,"(?:$1)?").replace(j,(function(t,e){return e?t:"([^/?]+)"})).replace(B,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return n.map(i,(function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null}))}});var H=e.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},R=/^[#\/]|\s+$/g,W=/^\/+|\/+$/g,F=/#.*$/;H.started=!1,n.extend(H.prototype,a,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(R,"")},start:function(t){if(H.started)throw new Error("Backbone.history has already been started");if(H.started=!0,this.options=n.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(W,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,r=i.insertBefore(this.iframe,i.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var s=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?s("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?s("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),H.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),n.some(this.handlers,(function(e){if(e.route.test(t))return e.callback(t),!0})))},navigate:function(t,e){if(!H.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var n=this.root;""!==t&&"?"!==t.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+t;t=t.replace(F,"");var r=this.decodeFragment(t);if(this.fragment!==r){if(this.fragment=r,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var s=this.iframe.contentWindow;e.replace||(s.document.open(),s.document.close()),this._updateHash(s.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){var i=t.href.replace(/(javascript:|#).*$/,"");t.replace(i+"#"+e)}else t.hash="#"+e}}),e.history=new H;v.extend=_.extend=N.extend=A.extend=H.extend=function(t,e){var i,r=this;return i=t&&n.has(t,"constructor")?t.constructor:function(){return r.apply(this,arguments)},n.extend(i,r,e),i.prototype=n.create(r.prototype,t),i.prototype.constructor=i,i.__super__=r.prototype,i};var q=function(){throw new Error('A "url" property or function must be specified')},$=function(t,e){var n=e.error;e.error=function(i){n&&n.call(e.context,t,i,e),t.trigger("error",t,i,e)}};return e}(s,n,t,e)}.apply(e,i),void 0===r||(t.exports=r)},4651:function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(i,r){"use strict";var s=[],o=Object.getPrototypeOf,a=s.slice,l=s.flat?function(t){return s.flat.call(t)}:function(t){return s.concat.apply([],t)},h=s.push,c=s.indexOf,u={},d=u.toString,f=u.hasOwnProperty,p=f.toString,m=p.call(Object),g={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},_=function(t){return null!=t&&t===t.window},y=i.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function x(t,e,n){var i,r,s=(n=n||y).createElement("script");if(s.text=t,e)for(i in b)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&s.setAttribute(i,r);n.head.appendChild(s).parentNode.removeChild(s)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?u[d.call(t)]||"object":typeof t}var M="3.7.1",S=/HTML$/i,E=function(t,e){return new E.fn.init(t,e)};function C(t){var e=!!t&&"length"in t&&t.length,n=w(t);return!v(t)&&!_(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}E.fn=E.prototype={jquery:M,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:s.sort,splice:s.splice},E.extend=E.fn.extend=function(){var t,e,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof o&&(h=o,o=arguments[a]||{},a++),"object"==typeof o||v(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&o!==i&&(h&&i&&(E.isPlainObject(i)||(r=Array.isArray(i)))?(n=o[e],s=r&&!Array.isArray(n)?[]:r||E.isPlainObject(n)?n:{},r=!1,o[e]=E.extend(h,s,i)):void 0!==i&&(o[e]=i));return o},E.extend({expando:"jQuery"+(M+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==d.call(t)||(e=o(t))&&("function"!=typeof(n=f.call(e,"constructor")&&e.constructor)||p.call(n)!==m))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){x(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(C(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},text:function(t){var e,n="",i=0,r=t.nodeType;if(!r)for(;e=t[i++];)n+=E.text(e);return 1===r||11===r?t.textContent:9===r?t.documentElement.textContent:3===r||4===r?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(C(Object(t))?E.merge(n,"string"==typeof t?[t]:t):h.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:c.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!S.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,s=t.length,o=!n;r<s;r++)!e(t[r],r)!==o&&i.push(t[r]);return i},map:function(t,e,n){var i,r,s=0,o=[];if(C(t))for(i=t.length;s<i;s++)null!=(r=e(t[s],s,n))&&o.push(r);else for(s in t)null!=(r=e(t[s],s,n))&&o.push(r);return l(o)},guid:1,support:g}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=s[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){u["[object "+e+"]"]=e.toLowerCase()}));var k=s.pop,T=s.sort,I=s.splice,z="[\\x20\\t\\r\\n\\f]",L=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g");E.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function N(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}E.escapeSelector=function(t){return(t+"").replace(D,N)};var O=y,j=h;!function(){var t,e,n,r,o,l,h,u,d,p,m=j,v=E.expando,_=0,y=0,b=tt(),x=tt(),w=tt(),M=tt(),S=function(t,e){return t===e&&(o=!0),0},C="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="(?:\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N="\\["+z+"*("+D+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+D+"))|)"+z+"*\\]",B=":("+D+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(z+"+","g"),H=new RegExp("^"+z+"*,"+z+"*"),R=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),W=new RegExp(z+"|>"),F=new RegExp(B),q=new RegExp("^"+D+"$"),$={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+C+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),J=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},G=function(){lt()},Q=dt((function(t){return!0===t.disabled&&A(t,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(s=a.call(O.childNodes),O.childNodes),s[O.childNodes.length].nodeType}catch(t){m={apply:function(t,e){j.apply(t,a.call(e))},call:function(t){j.apply(t,a.call(arguments,1))}}}function Z(t,e,n,i){var r,s,o,a,h,c,f,p=e&&e.ownerDocument,_=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return n;if(!i&&(lt(e),e=e||l,u)){if(11!==_&&(h=K.exec(t)))if(r=h[1]){if(9===_){if(!(o=e.getElementById(r)))return n;if(o.id===r)return m.call(n,o),n}else if(p&&(o=p.getElementById(r))&&Z.contains(e,o)&&o.id===r)return m.call(n,o),n}else{if(h[2])return m.apply(n,e.getElementsByTagName(t)),n;if((r=h[3])&&e.getElementsByClassName)return m.apply(n,e.getElementsByClassName(r)),n}if(!(M[t+" "]||d&&d.test(t))){if(f=t,p=e,1===_&&(W.test(t)||R.test(t))){for((p=X.test(t)&&at(e.parentNode)||e)==e&&g.scope||((a=e.getAttribute("id"))?a=E.escapeSelector(a):e.setAttribute("id",a=v)),s=(c=ct(t)).length;s--;)c[s]=(a?"#"+a:":scope")+" "+ut(c[s]);f=c.join(",")}try{return m.apply(n,p.querySelectorAll(f)),n}catch(e){M(t,!0)}finally{a===v&&e.removeAttribute("id")}}}return _t(t.replace(L,"$1"),e,n,i)}function tt(){var t=[];return function n(i,r){return t.push(i+" ")>e.cacheLength&&delete n[t.shift()],n[i+" "]=r}}function et(t){return t[v]=!0,t}function nt(t){var e=l.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function it(t){return function(e){return A(e,"input")&&e.type===t}}function rt(t){return function(e){return(A(e,"input")||A(e,"button"))&&e.type===t}}function st(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Q(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ot(t){return et((function(e){return e=+e,et((function(n,i){for(var r,s=t([],n.length,e),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))}))}))}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function lt(t){var n,i=t?t.ownerDocument||t:O;return i!=l&&9===i.nodeType&&i.documentElement?(h=(l=i).documentElement,u=!E.isXMLDoc(l),p=h.matches||h.webkitMatchesSelector||h.msMatchesSelector,h.msMatchesSelector&&O!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",G),g.getById=nt((function(t){return h.appendChild(t).id=E.expando,!l.getElementsByName||!l.getElementsByName(E.expando).length})),g.disconnectedMatch=nt((function(t){return p.call(t,"*")})),g.scope=nt((function(){return l.querySelectorAll(":scope")})),g.cssHas=nt((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),g.getById?(e.filter.ID=function(t){var e=t.replace(Y,J);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&u){var n=e.getElementById(t);return n?[n]:[]}}):(e.filter.ID=function(t){var e=t.replace(Y,J);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&u){var n,i,r,s=e.getElementById(t);if(s){if((n=s.getAttributeNode("id"))&&n.value===t)return[s];for(r=e.getElementsByName(t),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===t)return[s]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&u)return e.getElementsByClassName(t)},d=[],nt((function(t){var e;h.appendChild(t).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||d.push("\\["+z+"*(?:value|"+C+")"),t.querySelectorAll("[id~="+v+"-]").length||d.push("~="),t.querySelectorAll("a#"+v+"+*").length||d.push(".#.+[+~]"),t.querySelectorAll(":checked").length||d.push(":checked"),(e=l.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(e=l.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||d.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")")})),g.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),S=function(t,e){if(t===e)return o=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!g.sortDetached&&e.compareDocumentPosition(t)===n?t===l||t.ownerDocument==O&&Z.contains(O,t)?-1:e===l||e.ownerDocument==O&&Z.contains(O,e)?1:r?c.call(r,t)-c.call(r,e):0:4&n?-1:1)},l):l}for(t in Z.matches=function(t,e){return Z(t,null,null,e)},Z.matchesSelector=function(t,e){if(lt(t),u&&!M[e+" "]&&(!d||!d.test(e)))try{var n=p.call(t,e);if(n||g.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){M(e,!0)}return Z(e,l,null,[t]).length>0},Z.contains=function(t,e){return(t.ownerDocument||t)!=l&<(t),E.contains(t,e)},Z.attr=function(t,n){(t.ownerDocument||t)!=l&<(t);var i=e.attrHandle[n.toLowerCase()],r=i&&f.call(e.attrHandle,n.toLowerCase())?i(t,n,!u):void 0;return void 0!==r?r:t.getAttribute(n)},Z.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},E.uniqueSort=function(t){var e,n=[],i=0,s=0;if(o=!g.sortStable,r=!g.sortStable&&a.call(t,0),T.call(t,S),o){for(;e=t[s++];)e===t[s]&&(i=n.push(s));for(;i--;)I.call(t,n[i],1)}return r=null,t},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(a.apply(this)))},e=E.expr={cacheLength:50,createPseudo:et,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Y,J),t[3]=(t[3]||t[4]||t[5]||"").replace(Y,J),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||Z.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&Z.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return $.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&F.test(n)&&(e=ct(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Y,J).toLowerCase();return"*"===t?function(){return!0}:function(t){return A(t,e)}},CLASS:function(t){var e=b[t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&b(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var r=Z.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(P," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var h,c,u,d,f,p=s!==o?"nextSibling":"previousSibling",m=e.parentNode,g=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(s){for(;p;){for(u=e;u=u[p];)if(a?A(u,g):1===u.nodeType)return!1;f=p="only"===t&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&y){for(b=(d=(h=(c=m[v]||(m[v]={}))[t]||[])[0]===_&&h[1])&&h[2],u=d&&m.childNodes[d];u=++d&&u&&u[p]||(b=d=0)||f.pop();)if(1===u.nodeType&&++b&&u===e){c[t]=[_,d,b];break}}else if(y&&(b=d=(h=(c=e[v]||(e[v]={}))[t]||[])[0]===_&&h[1]),!1===b)for(;(u=++d&&u&&u[p]||(b=d=0)||f.pop())&&(!(a?A(u,g):1===u.nodeType)||!++b||(y&&((c=u[v]||(u[v]={}))[t]=[_,b]),u!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,n){var i,r=e.pseudos[t]||e.setFilters[t.toLowerCase()]||Z.error("unsupported pseudo: "+t);return r[v]?r(n):r.length>1?(i=[t,t,"",n],e.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,e){for(var i,s=r(t,n),o=s.length;o--;)t[i=c.call(t,s[o])]=!(e[i]=s[o])})):function(t){return r(t,0,i)}):r}},pseudos:{not:et((function(t){var e=[],n=[],i=vt(t.replace(L,"$1"));return i[v]?et((function(t,e,n,r){for(var s,o=i(t,null,r,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))})):function(t,r,s){return e[0]=t,i(e,null,s,n),e[0]=null,!n.pop()}})),has:et((function(t){return function(e){return Z(t,e).length>0}})),contains:et((function(t){return t=t.replace(Y,J),function(e){return(e.textContent||E.text(e)).indexOf(t)>-1}})),lang:et((function(t){return q.test(t||"")||Z.error("unsupported lang: "+t),t=t.replace(Y,J).toLowerCase(),function(e){var n;do{if(n=u?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===h},focus:function(t){return t===function(){try{return l.activeElement}catch(t){}}()&&l.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:st(!1),disabled:st(!0),checked:function(t){return A(t,"input")&&!!t.checked||A(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!e.pseudos.empty(t)},header:function(t){return V.test(t.nodeName)},input:function(t){return U.test(t.nodeName)},button:function(t){return A(t,"input")&&"button"===t.type||A(t,"button")},text:function(t){var e;return A(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ot((function(){return[0]})),last:ot((function(t,e){return[e-1]})),eq:ot((function(t,e,n){return[n<0?n+e:n]})),even:ot((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:ot((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:ot((function(t,e,n){var i;for(i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t})),gt:ot((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}},e.pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=it(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=rt(t);function ht(){}function ct(t,n){var i,r,s,o,a,l,h,c=x[t+" "];if(c)return n?0:c.slice(0);for(a=t,l=[],h=e.preFilter;a;){for(o in i&&!(r=H.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),i=!1,(r=R.exec(a))&&(i=r.shift(),s.push({value:i,type:r[0].replace(L," ")}),a=a.slice(i.length)),e.filter)!(r=$[o].exec(a))||h[o]&&!(r=h[o](r))||(i=r.shift(),s.push({value:i,type:o,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?Z.error(t):x(t,l).slice(0)}function ut(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function dt(t,e,n){var i=e.dir,r=e.next,s=r||i,o=n&&"parentNode"===s,a=y++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||o)return t(e,n,r);return!1}:function(e,n,l){var h,c,u=[_,a];if(l){for(;e=e[i];)if((1===e.nodeType||o)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||o)if(c=e[v]||(e[v]={}),r&&A(e,r))e=e[i]||e;else{if((h=c[s])&&h[0]===_&&h[1]===a)return u[2]=h[2];if(c[s]=u,u[2]=t(e,n,l))return!0}return!1}}function ft(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function pt(t,e,n,i,r){for(var s,o=[],a=0,l=t.length,h=null!=e;a<l;a++)(s=t[a])&&(n&&!n(s,i,r)||(o.push(s),h&&e.push(a)));return o}function mt(t,e,n,i,r,s){return i&&!i[v]&&(i=mt(i)),r&&!r[v]&&(r=mt(r,s)),et((function(s,o,a,l){var h,u,d,f,p=[],g=[],v=o.length,_=s||function(t,e,n){for(var i=0,r=e.length;i<r;i++)Z(t,e[i],n);return n}(e||"*",a.nodeType?[a]:a,[]),y=!t||!s&&e?_:pt(_,p,t,a,l);if(n?n(y,f=r||(s?t:v||i)?[]:o,a,l):f=y,i)for(h=pt(f,g),i(h,[],a,l),u=h.length;u--;)(d=h[u])&&(f[g[u]]=!(y[g[u]]=d));if(s){if(r||t){if(r){for(h=[],u=f.length;u--;)(d=f[u])&&h.push(y[u]=d);r(null,f=[],h,l)}for(u=f.length;u--;)(d=f[u])&&(h=r?c.call(s,d):p[u])>-1&&(s[h]=!(o[h]=d))}}else f=pt(f===o?f.splice(v,f.length):f),r?r(null,o,f,l):m.apply(o,f)}))}function gt(t){for(var i,r,s,o=t.length,a=e.relative[t[0].type],l=a||e.relative[" "],h=a?1:0,u=dt((function(t){return t===i}),l,!0),d=dt((function(t){return c.call(i,t)>-1}),l,!0),f=[function(t,e,r){var s=!a&&(r||e!=n)||((i=e).nodeType?u(t,e,r):d(t,e,r));return i=null,s}];h<o;h++)if(r=e.relative[t[h].type])f=[dt(ft(f),r)];else{if((r=e.filter[t[h].type].apply(null,t[h].matches))[v]){for(s=++h;s<o&&!e.relative[t[s].type];s++);return mt(h>1&&ft(f),h>1&&ut(t.slice(0,h-1).concat({value:" "===t[h-2].type?"*":""})).replace(L,"$1"),r,h<s&>(t.slice(h,s)),s<o&>(t=t.slice(s)),s<o&&ut(t))}f.push(r)}return ft(f)}function vt(t,i){var r,s=[],o=[],a=w[t+" "];if(!a){for(i||(i=ct(t)),r=i.length;r--;)(a=gt(i[r]))[v]?s.push(a):o.push(a);a=w(t,function(t,i){var r=i.length>0,s=t.length>0,o=function(o,a,h,c,d){var f,p,g,v=0,y="0",b=o&&[],x=[],w=n,M=o||s&&e.find.TAG("*",d),S=_+=null==w?1:Math.random()||.1,C=M.length;for(d&&(n=a==l||a||d);y!==C&&null!=(f=M[y]);y++){if(s&&f){for(p=0,a||f.ownerDocument==l||(lt(f),h=!u);g=t[p++];)if(g(f,a||l,h)){m.call(c,f);break}d&&(_=S)}r&&((f=!g&&f)&&v--,o&&b.push(f))}if(v+=y,r&&y!==v){for(p=0;g=i[p++];)g(b,x,a,h);if(o){if(v>0)for(;y--;)b[y]||x[y]||(x[y]=k.call(c));x=pt(x)}m.apply(c,x),d&&!o&&x.length>0&&v+i.length>1&&E.uniqueSort(c)}return d&&(_=S,n=w),b};return r?et(o):o}(o,s)),a.selector=t}return a}function _t(t,n,i,r){var s,o,a,l,h,c="function"==typeof t&&t,d=!r&&ct(t=c.selector||t);if(i=i||[],1===d.length){if((o=d[0]=d[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===n.nodeType&&u&&e.relative[o[1].type]){if(!(n=(e.find.ID(a.matches[0].replace(Y,J),n)||[])[0]))return i;c&&(n=n.parentNode),t=t.slice(o.shift().value.length)}for(s=$.needsContext.test(t)?0:o.length;s--&&(a=o[s],!e.relative[l=a.type]);)if((h=e.find[l])&&(r=h(a.matches[0].replace(Y,J),X.test(o[0].type)&&at(n.parentNode)||n))){if(o.splice(s,1),!(t=r.length&&ut(o)))return m.apply(i,r),i;break}}return(c||vt(t,d))(r,n,!u,i,!n||X.test(t)&&at(n.parentNode)||n),i}ht.prototype=e.filters=e.pseudos,e.setFilters=new ht,g.sortStable=v.split("").sort(S).join("")===v,lt(),g.sortDetached=nt((function(t){return 1&t.compareDocumentPosition(l.createElement("fieldset"))})),E.find=Z,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,Z.compile=vt,Z.select=_t,Z.setDocument=lt,Z.tokenize=ct,Z.escape=E.escapeSelector,Z.getText=E.text,Z.isXML=E.isXMLDoc,Z.selectors=E.expr,Z.support=E.support,Z.uniqueSort=E.uniqueSort}();var B=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&E(t).is(n))break;i.push(t)}return i},P=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},H=E.expr.match.needsContext,R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function W(t,e,n){return v(e)?E.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?E.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?E.grep(t,(function(t){return c.call(e,t)>-1!==n})):E.filter(e,t,n)}E.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?E.find.matchesSelector(i,t)?[i]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e<i;e++)if(E.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<i;e++)E.find(t,r[e],n);return i>1?E.uniqueSort(n):n},filter:function(t){return this.pushStack(W(this,t||[],!1))},not:function(t){return this.pushStack(W(this,t||[],!0))},is:function(t){return!!W(this,"string"==typeof t&&H.test(t)?E(t):t||[],!1).length}});var F,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||F,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:q.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:y,!0)),R.test(i[1])&&E.isPlainObject(e))for(i in e)v(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=y.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,F=E(y);var $=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function V(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(E.contains(this,e[t]))return!0}))},closest:function(t,e){var n,i=0,r=this.length,s=[],o="string"!=typeof t&&E(t);if(!H.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(s.length>1?E.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?c.call(E(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return B(t,"parentNode")},parentsUntil:function(t,e,n){return B(t,"parentNode",n)},next:function(t){return V(t,"nextSibling")},prev:function(t){return V(t,"previousSibling")},nextAll:function(t){return B(t,"nextSibling")},prevAll:function(t){return B(t,"previousSibling")},nextUntil:function(t,e,n){return B(t,"nextSibling",n)},prevUntil:function(t,e,n){return B(t,"previousSibling",n)},siblings:function(t){return P((t.parentNode||{}).firstChild,t)},children:function(t){return P(t.firstChild)},contents:function(t){return null!=t.contentDocument&&o(t.contentDocument)?t.contentDocument:(A(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(n,i){var r=E.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=E.filter(i,r)),this.length>1&&(U[t]||E.uniqueSort(r),$.test(t)&&r.reverse()),this.pushStack(r)}}));var K=/[^\x20\t\r\n\f]+/g;function X(t){return t}function Y(t){throw t}function J(t,e,n,i){var r;try{t&&v(r=t.promise)?r.call(t).done(e).fail(n):t&&v(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match(K)||[],(function(t,n){e[n]=!0})),e}(t):E.extend({},t);var e,n,i,r,s=[],o=[],a=-1,l=function(){for(r=r||t.once,i=e=!0;o.length;a=-1)for(n=o.shift();++a<s.length;)!1===s[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=s.length,n=!1);t.memory||(n=!1),e=!1,r&&(s=n?[]:"")},h={add:function(){return s&&(n&&!e&&(a=s.length-1,o.push(n)),function e(n){E.each(n,(function(n,i){v(i)?t.unique&&h.has(i)||s.push(i):i&&i.length&&"string"!==w(i)&&e(i)}))}(arguments),n&&!e&&l()),this},remove:function(){return E.each(arguments,(function(t,e){for(var n;(n=E.inArray(e,s,n))>-1;)s.splice(n,1),n<=a&&a--})),this},has:function(t){return t?E.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=o=[],n||e||(s=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],o.push(n),e||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!i}};return h},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(n){E.each(e,(function(e,i){var r=v(t[i[4]])&&t[i[4]];s[i[1]]((function(){var t=r&&r.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,r){var s=0;function o(t,e,n,r){return function(){var a=this,l=arguments,h=function(){var i,h;if(!(t<s)){if((i=n.apply(a,l))===e.promise())throw new TypeError("Thenable self-resolution");h=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(h)?r?h.call(i,o(s,e,X,r),o(s,e,Y,r)):(s++,h.call(i,o(s,e,X,r),o(s,e,Y,r),o(s,e,X,e.notifyWith))):(n!==X&&(a=void 0,l=[i]),(r||e.resolveWith)(a,l))}},c=r?h:function(){try{h()}catch(i){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(i,c.error),t+1>=s&&(n!==Y&&(a=void 0,l=[i]),e.rejectWith(a,l))}};t?c():(E.Deferred.getErrorHook?c.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(c.error=E.Deferred.getStackHook()),i.setTimeout(c))}}return E.Deferred((function(i){e[0][3].add(o(0,i,v(r)?r:X,i.notifyWith)),e[1][3].add(o(0,i,v(t)?t:X)),e[2][3].add(o(0,i,v(n)?n:Y))})).promise()},promise:function(t){return null!=t?E.extend(t,r):r}},s={};return E.each(e,(function(t,i){var o=i[2],a=i[5];r[i[1]]=o.add,a&&o.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),o.add(i[3].fire),s[i[0]]=function(){return s[i[0]+"With"](this===s?void 0:this,arguments),this},s[i[0]+"With"]=o.fireWith})),r.promise(s),t&&t.call(s,s),s},when:function(t){var e=arguments.length,n=e,i=Array(n),r=a.call(arguments),s=E.Deferred(),o=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?a.call(arguments):n,--e||s.resolveWith(i,r)}};if(e<=1&&(J(t,s.done(o(n)).resolve,s.reject,!e),"pending"===s.state()||v(r[n]&&r[n].then)))return s.then();for(;n--;)J(r[n],o(n),s.reject);return s.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&G.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){i.setTimeout((function(){throw t}))};var Q=E.Deferred();function Z(){y.removeEventListener("DOMContentLoaded",Z),i.removeEventListener("load",Z),E.ready()}E.fn.ready=function(t){return Q.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||Q.resolveWith(y,[E]))}}),E.ready.then=Q.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?i.setTimeout(E.ready):(y.addEventListener("DOMContentLoaded",Z),i.addEventListener("load",Z));var tt=function(t,e,n,i,r,s,o){var a=0,l=t.length,h=null==n;if("object"===w(n))for(a in r=!0,n)tt(t,e,a,n[a],!0,s,o);else if(void 0!==i&&(r=!0,v(i)||(o=!0),h&&(o?(e.call(t,i),e=null):(h=e,e=function(t,e,n){return h.call(E(t),n)})),e))for(;a<l;a++)e(t[a],n,o?i:i.call(t[a],a,e(t[a],n)));return r?t:h?e.call(t):l?e(t[0],n):s},et=/^-ms-/,nt=/-([a-z])/g;function it(t,e){return e.toUpperCase()}function rt(t){return t.replace(et,"ms-").replace(nt,it)}var st=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function ot(){this.expando=E.expando+ot.uid++}ot.uid=1,ot.prototype={cache:function(t){var e=t[this.expando];return e||(e={},st(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[rt(e)]=n;else for(i in e)r[rt(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][rt(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(rt):(e=rt(e))in i?[e]:e.match(K)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||E.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!E.isEmptyObject(e)}};var at=new ot,lt=new ot,ht=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ct=/[A-Z]/g;function ut(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(ct,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ht.test(t)?JSON.parse(t):t)}(n)}catch(t){}lt.set(t,e,n)}else n=void 0;return n}E.extend({hasData:function(t){return lt.hasData(t)||at.hasData(t)},data:function(t,e,n){return lt.access(t,e,n)},removeData:function(t,e){lt.remove(t,e)},_data:function(t,e,n){return at.access(t,e,n)},_removeData:function(t,e){at.remove(t,e)}}),E.fn.extend({data:function(t,e){var n,i,r,s=this[0],o=s&&s.attributes;if(void 0===t){if(this.length&&(r=lt.get(s),1===s.nodeType&&!at.get(s,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(i=o[n].name).indexOf("data-")&&(i=rt(i.slice(5)),ut(s,i,r[i]));at.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each((function(){lt.set(this,t)})):tt(this,(function(e){var n;if(s&&void 0===e)return void 0!==(n=lt.get(s,t))||void 0!==(n=ut(s,t))?n:void 0;this.each((function(){lt.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){lt.remove(this,t)}))}}),E.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=at.get(t,e),n&&(!i||Array.isArray(n)?i=at.access(t,e,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=E.queue(t,e),i=n.length,r=n.shift(),s=E._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete s.stop,r.call(t,(function(){E.dequeue(t,e)}),s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return at.get(t,n)||at.access(t,n,{empty:E.Callbacks("once memory").add((function(){at.remove(t,[e+"queue",n])}))})}}),E.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?E.queue(this[0],t):void 0===e?this:this.each((function(){var n=E.queue(this,t,e);E._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&E.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){E.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=E.Deferred(),s=this,o=this.length,a=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(n=at.get(s[o],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var dt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ft=new RegExp("^(?:([+-])=|)("+dt+")([a-z%]*)$","i"),pt=["Top","Right","Bottom","Left"],mt=y.documentElement,gt=function(t){return E.contains(t.ownerDocument,t)},vt={composed:!0};mt.getRootNode&&(gt=function(t){return E.contains(t.ownerDocument,t)||t.getRootNode(vt)===t.ownerDocument});var _t=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&>(t)&&"none"===E.css(t,"display")};function yt(t,e,n,i){var r,s,o=20,a=i?function(){return i.cur()}:function(){return E.css(t,e,"")},l=a(),h=n&&n[3]||(E.cssNumber[e]?"":"px"),c=t.nodeType&&(E.cssNumber[e]||"px"!==h&&+l)&&ft.exec(E.css(t,e));if(c&&c[3]!==h){for(l/=2,h=h||c[3],c=+l||1;o--;)E.style(t,e,c+h),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),c/=s;c*=2,E.style(t,e,c+h),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=h,i.start=c,i.end=r)),r}var bt={};function xt(t){var e,n=t.ownerDocument,i=t.nodeName,r=bt[i];return r||(e=n.body.appendChild(n.createElement(i)),r=E.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),bt[i]=r,r)}function wt(t,e){for(var n,i,r=[],s=0,o=t.length;s<o;s++)(i=t[s]).style&&(n=i.style.display,e?("none"===n&&(r[s]=at.get(i,"display")||null,r[s]||(i.style.display="")),""===i.style.display&&_t(i)&&(r[s]=xt(i))):"none"!==n&&(r[s]="none",at.set(i,"display",n)));for(s=0;s<o;s++)null!=r[s]&&(t[s].style.display=r[s]);return t}E.fn.extend({show:function(){return wt(this,!0)},hide:function(){return wt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){_t(this)?E(this).show():E(this).hide()}))}});var Mt,St,Et=/^(?:checkbox|radio)$/i,Ct=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,At=/^$|^module$|\/(?:java|ecma)script/i;Mt=y.createDocumentFragment().appendChild(y.createElement("div")),(St=y.createElement("input")).setAttribute("type","radio"),St.setAttribute("checked","checked"),St.setAttribute("name","t"),Mt.appendChild(St),g.checkClone=Mt.cloneNode(!0).cloneNode(!0).lastChild.checked,Mt.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Mt.cloneNode(!0).lastChild.defaultValue,Mt.innerHTML="<option></option>",g.option=!!Mt.lastChild;var kt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Tt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&A(t,e)?E.merge([t],n):n}function It(t,e){for(var n=0,i=t.length;n<i;n++)at.set(t[n],"globalEval",!e||at.get(e[n],"globalEval"))}kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td,g.option||(kt.optgroup=kt.option=[1,"<select multiple='multiple'>","</select>"]);var zt=/<|&#?\w+;/;function Lt(t,e,n,i,r){for(var s,o,a,l,h,c,u=e.createDocumentFragment(),d=[],f=0,p=t.length;f<p;f++)if((s=t[f])||0===s)if("object"===w(s))E.merge(d,s.nodeType?[s]:s);else if(zt.test(s)){for(o=o||u.appendChild(e.createElement("div")),a=(Ct.exec(s)||["",""])[1].toLowerCase(),l=kt[a]||kt._default,o.innerHTML=l[1]+E.htmlPrefilter(s)+l[2],c=l[0];c--;)o=o.lastChild;E.merge(d,o.childNodes),(o=u.firstChild).textContent=""}else d.push(e.createTextNode(s));for(u.textContent="",f=0;s=d[f++];)if(i&&E.inArray(s,i)>-1)r&&r.push(s);else if(h=gt(s),o=Tt(u.appendChild(s),"script"),h&&It(o),n)for(c=0;s=o[c++];)At.test(s.type||"")&&n.push(s);return u}var Dt=/^([^.]*)(?:\.(.+)|)/;function Nt(){return!0}function Ot(){return!1}function jt(t,e,n,i,r,s){var o,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)jt(t,a,n,i,e[a],s);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Ot;else if(!r)return t;return 1===s&&(o=r,r=function(t){return E().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=E.guid++)),t.each((function(){E.event.add(this,e,r,i,n)}))}function Bt(t,e,n){n?(at.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var n,i=at.get(this,e);if(1&t.isTrigger&&this[e]){if(i)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=a.call(arguments),at.set(this,e,i),this[e](),n=at.get(this,e),at.set(this,e,!1),i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else i&&(at.set(this,e,E.event.trigger(i[0],i.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Nt)}})):void 0===at.get(t,e)&&E.event.add(t,e,Nt)}E.event={global:{},add:function(t,e,n,i,r){var s,o,a,l,h,c,u,d,f,p,m,g=at.get(t);if(st(t))for(n.handler&&(n=(s=n).handler,r=s.selector),r&&E.find.matchesSelector(mt,r),n.guid||(n.guid=E.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(K)||[""]).length;h--;)f=m=(a=Dt.exec(e[h])||[])[1],p=(a[2]||"").split(".").sort(),f&&(u=E.event.special[f]||{},f=(r?u.delegateType:u.bindType)||f,u=E.event.special[f]||{},c=E.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,i,p,o)||t.addEventListener&&t.addEventListener(f,o)),u.add&&(u.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,c):d.push(c),E.event.global[f]=!0)},remove:function(t,e,n,i,r){var s,o,a,l,h,c,u,d,f,p,m,g=at.hasData(t)&&at.get(t);if(g&&(l=g.events)){for(h=(e=(e||"").match(K)||[""]).length;h--;)if(f=m=(a=Dt.exec(e[h])||[])[1],p=(a[2]||"").split(".").sort(),f){for(u=E.event.special[f]||{},d=l[f=(i?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=d.length;s--;)c=d[s],!r&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(d.splice(s,1),c.selector&&d.delegateCount--,u.remove&&u.remove.call(t,c));o&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,p,g.handle)||E.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)E.event.remove(t,f+e[h],n,i,!0);E.isEmptyObject(l)&&at.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,s,o,a=new Array(arguments.length),l=E.event.fix(t),h=(at.get(this,"events")||Object.create(null))[l.type]||[],c=E.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(o=E.event.handlers.call(this,l,h),e=0;(r=o[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(i=((E.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,s,o,a=[],l=e.delegateCount,h=t.target;if(l&&h.nodeType&&!("click"===t.type&&t.button>=1))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(s=[],o={},n=0;n<l;n++)void 0===o[r=(i=e[n]).selector+" "]&&(o[r]=i.needsContext?E(r,this).index(h)>-1:E.find(r,this,null,[h]).length),o[r]&&s.push(i);s.length&&a.push({elem:h,handlers:s})}return h=this,l<e.length&&a.push({elem:h,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[E.expando]?t:new E.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Et.test(e.type)&&e.click&&A(e,"input")&&Bt(e,"click",!0),!1},trigger:function(t){var e=this||t;return Et.test(e.type)&&e.click&&A(e,"input")&&Bt(e,"click"),!0},_default:function(t){var e=t.target;return Et.test(e.type)&&e.click&&A(e,"input")&&at.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},E.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},E.Event=function(t,e){if(!(this instanceof E.Event))return new E.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Nt:Ot,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&E.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Ot,isPropagationStopped:Ot,isImmediatePropagationStopped:Ot,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Nt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Nt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Nt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(t,e){function n(t){if(y.documentMode){var n=at.get(this,"handle"),i=E.event.fix(t);i.type="focusin"===t.type?"focus":"blur",i.isSimulated=!0,n(t),i.target===i.currentTarget&&n(i)}else E.event.simulate(e,t.target,E.event.fix(t))}E.event.special[t]={setup:function(){var i;if(Bt(this,t,!0),!y.documentMode)return!1;(i=at.get(this,e))||this.addEventListener(e,n),at.set(this,e,(i||0)+1)},trigger:function(){return Bt(this,t),!0},teardown:function(){var t;if(!y.documentMode)return!1;(t=at.get(this,e)-1)?at.set(this,e,t):(this.removeEventListener(e,n),at.remove(this,e))},_default:function(e){return at.get(e.target,t)},delegateType:e},E.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=y.documentMode?this:i,s=at.get(r,e);s||(y.documentMode?this.addEventListener(e,n):i.addEventListener(t,n,!0)),at.set(r,e,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=y.documentMode?this:i,s=at.get(r,e)-1;s?at.set(r,e,s):(y.documentMode?this.removeEventListener(e,n):i.removeEventListener(t,n,!0),at.remove(r,e))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){E.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||E.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}})),E.fn.extend({on:function(t,e,n,i){return jt(this,t,e,n,i)},one:function(t,e,n,i){return jt(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,E(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Ot),this.each((function(){E.event.remove(this,t,n,e)}))}});var Pt=/<script|<style|<link/i,Ht=/checked\s*(?:[^=]|=\s*.checked.)/i,Rt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Wt(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Ft(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function qt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function $t(t,e){var n,i,r,s,o,a;if(1===e.nodeType){if(at.hasData(t)&&(a=at.get(t).events))for(r in at.remove(e,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)E.event.add(e,r,a[r][n]);lt.hasData(t)&&(s=lt.access(t),o=E.extend({},s),lt.set(e,o))}}function Ut(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Et.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Vt(t,e,n,i){e=l(e);var r,s,o,a,h,c,u=0,d=t.length,f=d-1,p=e[0],m=v(p);if(m||d>1&&"string"==typeof p&&!g.checkClone&&Ht.test(p))return t.each((function(r){var s=t.eq(r);m&&(e[0]=p.call(this,r,s.html())),Vt(s,e,n,i)}));if(d&&(s=(r=Lt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=s),s||i)){for(a=(o=E.map(Tt(r,"script"),Ft)).length;u<d;u++)h=r,u!==f&&(h=E.clone(h,!0,!0),a&&E.merge(o,Tt(h,"script"))),n.call(t[u],h,u);if(a)for(c=o[o.length-1].ownerDocument,E.map(o,qt),u=0;u<a;u++)h=o[u],At.test(h.type||"")&&!at.access(h,"globalEval")&&E.contains(c,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?E._evalUrl&&!h.noModule&&E._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},c):x(h.textContent.replace(Rt,""),h,c))}return t}function Kt(t,e,n){for(var i,r=e?E.filter(e,t):t,s=0;null!=(i=r[s]);s++)n||1!==i.nodeType||E.cleanData(Tt(i)),i.parentNode&&(n&>(i)&&It(Tt(i,"script")),i.parentNode.removeChild(i));return t}E.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,s,o,a=t.cloneNode(!0),l=gt(t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(o=Tt(a),i=0,r=(s=Tt(t)).length;i<r;i++)Ut(s[i],o[i]);if(e)if(n)for(s=s||Tt(t),o=o||Tt(a),i=0,r=s.length;i<r;i++)$t(s[i],o[i]);else $t(t,a);return(o=Tt(a,"script")).length>0&&It(o,!l&&Tt(t,"script")),a},cleanData:function(t){for(var e,n,i,r=E.event.special,s=0;void 0!==(n=t[s]);s++)if(st(n)){if(e=n[at.expando]){if(e.events)for(i in e.events)r[i]?E.event.remove(n,i):E.removeEvent(n,i,e.handle);n[at.expando]=void 0}n[lt.expando]&&(n[lt.expando]=void 0)}}}),E.fn.extend({detach:function(t){return Kt(this,t,!0)},remove:function(t){return Kt(this,t)},text:function(t){return tt(this,(function(t){return void 0===t?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Vt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Wt(this,t).appendChild(t)}))},prepend:function(){return Vt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Wt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Vt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Vt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(Tt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return tt(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Pt.test(t)&&!kt[(Ct.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(E.cleanData(Tt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Vt(this,arguments,(function(e){var n=this.parentNode;E.inArray(this,t)<0&&(E.cleanData(Tt(this)),n&&n.replaceChild(e,this))}),t)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){E.fn[t]=function(t){for(var n,i=[],r=E(t),s=r.length-1,o=0;o<=s;o++)n=o===s?this:this.clone(!0),E(r[o])[e](n),h.apply(i,n.get());return this.pushStack(i)}}));var Xt=new RegExp("^("+dt+")(?!px)[a-z%]+$","i"),Yt=/^--/,Jt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},Gt=function(t,e,n){var i,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=s[r];return i},Qt=new RegExp(pt.join("|"),"i");function Zt(t,e,n){var i,r,s,o,a=Yt.test(e),l=t.style;return(n=n||Jt(t))&&(o=n.getPropertyValue(e)||n[e],a&&o&&(o=o.replace(L,"$1")||void 0),""!==o||gt(t)||(o=E.style(t,e)),!g.pixelBoxStyles()&&Xt.test(o)&&Qt.test(e)&&(i=l.width,r=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=n.width,l.width=i,l.minWidth=r,l.maxWidth=s)),void 0!==o?o+"":o}function te(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",mt.appendChild(h).appendChild(c);var t=i.getComputedStyle(c);n="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",o=36===e(t.right),r=36===e(t.width),c.style.position="absolute",s=12===e(c.offsetWidth/3),mt.removeChild(h),c=null}}function e(t){return Math.round(parseFloat(t))}var n,r,s,o,a,l,h=y.createElement("div"),c=y.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,E.extend(g,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),s},reliableTrDimensions:function(){var t,e,n,r;return null==a&&(t=y.createElement("table"),e=y.createElement("tr"),n=y.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",mt.appendChild(t).appendChild(e).appendChild(n),r=i.getComputedStyle(e),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===e.offsetHeight,mt.removeChild(t)),a}}))}();var ee=["Webkit","Moz","ms"],ne=y.createElement("div").style,ie={};function re(t){return E.cssProps[t]||ie[t]||(t in ne?t:ie[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=ee.length;n--;)if((t=ee[n]+e)in ne)return t}(t)||t)}var se=/^(none|table(?!-c[ea]).+)/,oe={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function le(t,e,n){var i=ft.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function he(t,e,n,i,r,s){var o="width"===e?1:0,a=0,l=0,h=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(h+=E.css(t,n+pt[o],!0,r)),i?("content"===n&&(l-=E.css(t,"padding"+pt[o],!0,r)),"margin"!==n&&(l-=E.css(t,"border"+pt[o]+"Width",!0,r))):(l+=E.css(t,"padding"+pt[o],!0,r),"padding"!==n?l+=E.css(t,"border"+pt[o]+"Width",!0,r):a+=E.css(t,"border"+pt[o]+"Width",!0,r));return!i&&s>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-l-a-.5))||0),l+h}function ce(t,e,n){var i=Jt(t),r=(!g.boxSizingReliable()||n)&&"border-box"===E.css(t,"boxSizing",!1,i),s=r,o=Zt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Xt.test(o)){if(!n)return o;o="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&A(t,"tr")||"auto"===o||!parseFloat(o)&&"inline"===E.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===E.css(t,"boxSizing",!1,i),(s=a in t)&&(o=t[a])),(o=parseFloat(o)||0)+he(t,e,n||(r?"border":"content"),s,i,o)+"px"}function ue(t,e,n,i,r){return new ue.prototype.init(t,e,n,i,r)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Zt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,o,a=rt(e),l=Yt.test(e),h=t.style;if(l||(e=re(a)),o=E.cssHooks[e]||E.cssHooks[a],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(t,!1,i))?r:h[e];"string"==(s=typeof n)&&(r=ft.exec(n))&&r[1]&&(n=yt(t,e,r),s="number"),null!=n&&n==n&&("number"!==s||l||(n+=r&&r[3]||(E.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(h[e]="inherit"),o&&"set"in o&&void 0===(n=o.set(t,n,i))||(l?h.setProperty(e,n):h[e]=n))}},css:function(t,e,n,i){var r,s,o,a=rt(e);return Yt.test(e)||(e=re(a)),(o=E.cssHooks[e]||E.cssHooks[a])&&"get"in o&&(r=o.get(t,!0,n)),void 0===r&&(r=Zt(t,e,i)),"normal"===r&&e in ae&&(r=ae[e]),""===n||n?(s=parseFloat(r),!0===n||isFinite(s)?s||0:r):r}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,n,i){if(n)return!se.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ce(t,e,i):Gt(t,oe,(function(){return ce(t,e,i)}))},set:function(t,n,i){var r,s=Jt(t),o=!g.scrollboxSize()&&"absolute"===s.position,a=(o||i)&&"border-box"===E.css(t,"boxSizing",!1,s),l=i?he(t,e,i,a,s):0;return a&&o&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-he(t,e,"border",!1,s)-.5)),l&&(r=ft.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=E.css(t,e)),le(0,n,l)}}})),E.cssHooks.marginLeft=te(g.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Zt(t,"marginLeft"))||t.getBoundingClientRect().left-Gt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+pt[i]+e]=s[i]||s[i-2]||s[0];return r}},"margin"!==t&&(E.cssHooks[t+e].set=le)})),E.fn.extend({css:function(t,e){return tt(this,(function(t,e,n){var i,r,s={},o=0;if(Array.isArray(e)){for(i=Jt(t),r=e.length;o<r;o++)s[e[o]]=E.css(t,e[o],!1,i);return s}return void 0!==n?E.style(t,e,n):E.css(t,e)}),t,e,arguments.length>1)}}),E.Tween=ue,ue.prototype={constructor:ue,init:function(t,e,n,i,r,s){this.elem=t,this.prop=n,this.easing=r||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=s||(E.cssNumber[n]?"":"px")},cur:function(){var t=ue.propHooks[this.prop];return t&&t.get?t.get(this):ue.propHooks._default.get(this)},run:function(t){var e,n=ue.propHooks[this.prop];return this.options.duration?this.pos=e=E.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ue.propHooks._default.set(this),this}},ue.prototype.init.prototype=ue.prototype,ue.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||!E.cssHooks[t.prop]&&null==t.elem.style[re(t.prop)]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}},ue.propHooks.scrollTop=ue.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=ue.prototype.init,E.fx.step={};var de,fe,pe=/^(?:toggle|show|hide)$/,me=/queueHooks$/;function ge(){fe&&(!1===y.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ge):i.setTimeout(ge,E.fx.interval),E.fx.tick())}function ve(){return i.setTimeout((function(){de=void 0})),de=Date.now()}function _e(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=pt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function ye(t,e,n){for(var i,r=(be.tweeners[e]||[]).concat(be.tweeners["*"]),s=0,o=r.length;s<o;s++)if(i=r[s].call(n,e,t))return i}function be(t,e,n){var i,r,s=0,o=be.prefilters.length,a=E.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=de||ve(),n=Math.max(0,h.startTime+h.duration-e),i=1-(n/h.duration||0),s=0,o=h.tweens.length;s<o;s++)h.tweens[s].run(i);return a.notifyWith(t,[h,i,n]),i<1&&o?n:(o||a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h]),!1)},h=a.promise({elem:t,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},n),originalProperties:e,originalOptions:n,startTime:de||ve(),duration:n.duration,tweens:[],createTween:function(e,n){var i=E.Tween(t,h.opts,e,n,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(i),i},stop:function(e){var n=0,i=e?h.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)h.tweens[n].run(1);return e?(a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h,e])):a.rejectWith(t,[h,e]),this}}),c=h.props;for(function(t,e){var n,i,r,s,o;for(n in t)if(r=e[i=rt(n)],s=t[n],Array.isArray(s)&&(r=s[1],s=t[n]=s[0]),n!==i&&(t[i]=s,delete t[n]),(o=E.cssHooks[i])&&"expand"in o)for(n in s=o.expand(s),delete t[i],s)n in t||(t[n]=s[n],e[n]=r);else e[i]=r}(c,h.opts.specialEasing);s<o;s++)if(i=be.prefilters[s].call(h,t,c,h.opts))return v(i.stop)&&(E._queueHooks(h.elem,h.opts.queue).stop=i.stop.bind(i)),i;return E.map(c,ye,h),v(h.opts.start)&&h.opts.start.call(t,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),E.fx.timer(E.extend(l,{elem:t,anim:h,queue:h.opts.queue})),h}E.Animation=E.extend(be,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return yt(n.elem,t,ft.exec(e),n),n}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(K);for(var n,i=0,r=t.length;i<r;i++)n=t[i],be.tweeners[n]=be.tweeners[n]||[],be.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,s,o,a,l,h,c,u="width"in e||"height"in e,d=this,f={},p=t.style,m=t.nodeType&&_t(t),g=at.get(t,"fxshow");for(i in n.queue||(null==(o=E._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,d.always((function(){d.always((function(){o.unqueued--,E.queue(t,"fx").length||o.empty.fire()}))}))),e)if(r=e[i],pe.test(r)){if(delete e[i],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}f[i]=g&&g[i]||E.style(t,i)}if((l=!E.isEmptyObject(e))||!E.isEmptyObject(f))for(i in u&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(h=g&&g.display)&&(h=at.get(t,"display")),"none"===(c=E.css(t,"display"))&&(h?c=h:(wt([t],!0),h=t.style.display||h,c=E.css(t,"display"),wt([t]))),("inline"===c||"inline-block"===c&&null!=h)&&"none"===E.css(t,"float")&&(l||(d.done((function(){p.display=h})),null==h&&(c=p.display,h="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=at.access(t,"fxshow",{display:h}),s&&(g.hidden=!m),m&&wt([t],!0),d.done((function(){for(i in m||wt([t]),at.remove(t,"fxshow"),f)E.style(t,i,f[i])}))),l=ye(m?g[i]:0,i,d),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?be.prefilters.unshift(t):be.prefilters.push(t)}}),E.speed=function(t,e,n){var i=t&&"object"==typeof t?E.extend({},t):{complete:n||!n&&e||v(t)&&t,duration:t,easing:n&&e||e&&!v(e)&&e};return E.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in E.fx.speeds?i.duration=E.fx.speeds[i.duration]:i.duration=E.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&E.dequeue(this,i.queue)},i},E.fn.extend({fadeTo:function(t,e,n,i){return this.filter(_t).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=E.isEmptyObject(t),s=E.speed(e,n,i),o=function(){var e=be(this,E.extend({},t),s);(r||at.get(this,"finish"))&&e.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",s=E.timers,o=at.get(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&me.test(r)&&i(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(n),e=!1,s.splice(r,1));!e&&n||E.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=at.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],s=E.timers,o=i?i.length:0;for(n.finish=!0,E.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<o;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish}))}}),E.each(["toggle","show","hide"],(function(t,e){var n=E.fn[e];E.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(_e(e,!0),t,i,r)}})),E.each({slideDown:_e("show"),slideUp:_e("hide"),slideToggle:_e("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){E.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}})),E.timers=[],E.fx.tick=function(){var t,e=0,n=E.timers;for(de=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||E.fx.stop(),de=void 0},E.fx.timer=function(t){E.timers.push(t),E.fx.start()},E.fx.interval=13,E.fx.start=function(){fe||(fe=!0,ge())},E.fx.stop=function(){fe=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(t,e){return t=E.fx&&E.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var r=i.setTimeout(e,t);n.stop=function(){i.clearTimeout(r)}}))},function(){var t=y.createElement("input"),e=y.createElement("select").appendChild(y.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=e.selected,(t=y.createElement("input")).value="t",t.type="radio",g.radioValue="t"===t.value}();var xe,we=E.expr.attrHandle;E.fn.extend({attr:function(t,e){return tt(this,E.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,n){var i,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?E.prop(t,e,n):(1===s&&E.isXMLDoc(t)||(r=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?xe:void 0)),void 0!==n?null===n?void E.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=E.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&A(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(K);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),xe={set:function(t,e,n){return!1===e?E.removeAttr(t,n):t.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=we[e]||E.find.attr;we[e]=function(t,e,i){var r,s,o=e.toLowerCase();return i||(s=we[o],we[o]=r,r=null!=n(t,e,i)?o:null,we[o]=s),r}}));var Me=/^(?:input|select|textarea|button)$/i,Se=/^(?:a|area)$/i;function Ee(t){return(t.match(K)||[]).join(" ")}function Ce(t){return t.getAttribute&&t.getAttribute("class")||""}function Ae(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(K)||[]}E.fn.extend({prop:function(t,e){return tt(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}),E.extend({prop:function(t,e,n){var i,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&E.isXMLDoc(t)||(e=E.propFix[e]||e,r=E.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):Me.test(t.nodeName)||Se.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,n,i,r,s,o;return v(t)?this.each((function(e){E(this).addClass(t.call(this,e,Ce(this)))})):(e=Ae(t)).length?this.each((function(){if(i=Ce(this),n=1===this.nodeType&&" "+Ee(i)+" "){for(s=0;s<e.length;s++)r=e[s],n.indexOf(" "+r+" ")<0&&(n+=r+" ");o=Ee(n),i!==o&&this.setAttribute("class",o)}})):this},removeClass:function(t){var e,n,i,r,s,o;return v(t)?this.each((function(e){E(this).removeClass(t.call(this,e,Ce(this)))})):arguments.length?(e=Ae(t)).length?this.each((function(){if(i=Ce(this),n=1===this.nodeType&&" "+Ee(i)+" "){for(s=0;s<e.length;s++)for(r=e[s];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");o=Ee(n),i!==o&&this.setAttribute("class",o)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,i,r,s,o=typeof t,a="string"===o||Array.isArray(t);return v(t)?this.each((function(n){E(this).toggleClass(t.call(this,n,Ce(this),e),e)})):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=Ae(t),this.each((function(){if(a)for(s=E(this),r=0;r<n.length;r++)i=n[r],s.hasClass(i)?s.removeClass(i):s.addClass(i);else void 0!==t&&"boolean"!==o||((i=Ce(this))&&at.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":at.get(this,"__className__")||""))})))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+Ee(Ce(n))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;E.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=v(t),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,E(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=E.map(r,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=E.valHooks[r.type]||E.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(ke,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:Ee(E.text(t))}},select:{get:function(t){var e,n,i,r=t.options,s=t.selectedIndex,o="select-one"===t.type,a=o?null:[],l=o?s+1:r.length;for(i=s<0?l:o?s:0;i<l;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(e=E(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,s=E.makeArray(e),o=r.length;o--;)((i=r[o]).selected=E.inArray(E.valHooks.option.get(i),s)>-1)&&(n=!0);return n||(t.selectedIndex=-1),s}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},g.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var Te=i.location,Ie={guid:Date.now()},ze=/\?/;E.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Le=/^(?:focusinfocus|focusoutblur)$/,De=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,n,r){var s,o,a,l,h,c,u,d,p=[n||y],m=f.call(t,"type")?t.type:t,g=f.call(t,"namespace")?t.namespace.split("."):[];if(o=d=a=n=n||y,3!==n.nodeType&&8!==n.nodeType&&!Le.test(m+E.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),h=m.indexOf(":")<0&&"on"+m,(t=t[E.expando]?t:new E.Event(m,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:E.makeArray(e,[t]),u=E.event.special[m]||{},r||!u.trigger||!1!==u.trigger.apply(n,e))){if(!r&&!u.noBubble&&!_(n)){for(l=u.delegateType||m,Le.test(l+m)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||y)&&p.push(a.defaultView||a.parentWindow||i)}for(s=0;(o=p[s++])&&!t.isPropagationStopped();)d=o,t.type=s>1?l:u.bindType||m,(c=(at.get(o,"events")||Object.create(null))[t.type]&&at.get(o,"handle"))&&c.apply(o,e),(c=h&&o[h])&&c.apply&&st(o)&&(t.result=c.apply(o,e),!1===t.result&&t.preventDefault());return t.type=m,r||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(p.pop(),e)||!st(n)||h&&v(n[m])&&!_(n)&&((a=n[h])&&(n[h]=null),E.event.triggered=m,t.isPropagationStopped()&&d.addEventListener(m,De),n[m](),t.isPropagationStopped()&&d.removeEventListener(m,De),E.event.triggered=void 0,a&&(n[h]=a)),t.result}},simulate:function(t,e,n){var i=E.extend(new E.Event,n,{type:t,isSimulated:!0});E.event.trigger(i,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return E.event.trigger(t,e,n,!0)}});var Ne=/\[\]$/,Oe=/\r?\n/g,je=/^(?:submit|button|image|reset|file)$/i,Be=/^(?:input|select|textarea|keygen)/i;function Pe(t,e,n,i){var r;if(Array.isArray(e))E.each(e,(function(e,r){n||Ne.test(t)?i(t,r):Pe(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)}));else if(n||"object"!==w(e))i(t,e);else for(r in e)Pe(t+"["+r+"]",e[r],n,i)}E.param=function(t,e){var n,i=[],r=function(t,e){var n=v(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){r(this.name,this.value)}));else for(n in t)Pe(n,t[n],e,r);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&Be.test(this.nodeName)&&!je.test(t)&&(this.checked||!Et.test(t))})).map((function(t,e){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}})):{name:e.name,value:n.replace(Oe,"\r\n")}})).get()}});var He=/%20/g,Re=/#.*$/,We=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)$/gm,qe=/^(?:GET|HEAD)$/,$e=/^\/\//,Ue={},Ve={},Ke="*/".concat("*"),Xe=y.createElement("a");function Ye(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,s=e.toLowerCase().match(K)||[];if(v(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Je(t,e,n,i){var r={},s=t===Ve;function o(a){var l;return r[a]=!0,E.each(t[a]||[],(function(t,a){var h=a(e,n,i);return"string"!=typeof h||s||r[h]?s?!(l=h):void 0:(e.dataTypes.unshift(h),o(h),!1)})),l}return o(e.dataTypes[0])||!r["*"]&&o("*")}function Ge(t,e){var n,i,r=E.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&E.extend(!0,t,i),t}Xe.href=Te.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ke,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ge(Ge(t,E.ajaxSettings),e):Ge(E.ajaxSettings,t)},ajaxPrefilter:Ye(Ue),ajaxTransport:Ye(Ve),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r,s,o,a,l,h,c,u,d,f=E.ajaxSetup({},e),p=f.context||f,m=f.context&&(p.nodeType||p.jquery)?E(p):E.event,g=E.Deferred(),v=E.Callbacks("once memory"),_=f.statusCode||{},b={},x={},w="canceled",M={readyState:0,getResponseHeader:function(t){var e;if(h){if(!o)for(o={};e=Fe.exec(s);)o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?s:null},setRequestHeader:function(t,e){return null==h&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==h&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)M.always(t[M.status]);else for(e in t)_[e]=[_[e],t[e]];return this},abort:function(t){var e=t||w;return n&&n.abort(e),S(0,e),this}};if(g.promise(M),f.url=((t||f.url||Te.href)+"").replace($e,Te.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(K)||[""],null==f.crossDomain){l=y.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Xe.protocol+"//"+Xe.host!=l.protocol+"//"+l.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=E.param(f.data,f.traditional)),Je(Ue,f,e,M),h)return M;for(u in(c=E.event&&f.global)&&0==E.active++&&E.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!qe.test(f.type),r=f.url.replace(Re,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(He,"+")):(d=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(ze.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(We,"$1"),d=(ze.test(r)?"&":"?")+"_="+Ie.guid+++d),f.url=r+d),f.ifModified&&(E.lastModified[r]&&M.setRequestHeader("If-Modified-Since",E.lastModified[r]),E.etag[r]&&M.setRequestHeader("If-None-Match",E.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&M.setRequestHeader("Content-Type",f.contentType),M.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ke+"; q=0.01":""):f.accepts["*"]),f.headers)M.setRequestHeader(u,f.headers[u]);if(f.beforeSend&&(!1===f.beforeSend.call(p,M,f)||h))return M.abort();if(w="abort",v.add(f.complete),M.done(f.success),M.fail(f.error),n=Je(Ve,f,e,M)){if(M.readyState=1,c&&m.trigger("ajaxSend",[M,f]),h)return M;f.async&&f.timeout>0&&(a=i.setTimeout((function(){M.abort("timeout")}),f.timeout));try{h=!1,n.send(b,S)}catch(t){if(h)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,e,o,l){var u,d,y,b,x,w=e;h||(h=!0,a&&i.clearTimeout(a),n=void 0,s=l||"",M.readyState=t>0?4:0,u=t>=200&&t<300||304===t,o&&(b=function(t,e,n){for(var i,r,s,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)s=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),n[s]}(f,M,o)),!u&&E.inArray("script",f.dataTypes)>-1&&E.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),b=function(t,e,n,i){var r,s,o,a,l,h={},c=t.dataTypes.slice();if(c[1])for(o in t.converters)h[o.toLowerCase()]=t.converters[o];for(s=c.shift();s;)if(t.responseFields[s]&&(n[t.responseFields[s]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=c.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=h[l+" "+s]||h["* "+s]))for(r in h)if((a=r.split(" "))[1]===s&&(o=h[l+" "+a[0]]||h["* "+a[0]])){!0===o?o=h[r]:!0!==h[r]&&(s=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}(f,b,M,u),u?(f.ifModified&&((x=M.getResponseHeader("Last-Modified"))&&(E.lastModified[r]=x),(x=M.getResponseHeader("etag"))&&(E.etag[r]=x)),204===t||"HEAD"===f.type?w="nocontent":304===t?w="notmodified":(w=b.state,d=b.data,u=!(y=b.error))):(y=w,!t&&w||(w="error",t<0&&(t=0))),M.status=t,M.statusText=(e||w)+"",u?g.resolveWith(p,[d,w,M]):g.rejectWith(p,[M,w,y]),M.statusCode(_),_=void 0,c&&m.trigger(u?"ajaxSuccess":"ajaxError",[M,f,u?d:y]),v.fireWith(p,[M,w]),c&&(m.trigger("ajaxComplete",[M,f]),--E.active||E.event.trigger("ajaxStop")))}return M},getJSON:function(t,e,n){return E.get(t,e,n,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],(function(t,e){E[e]=function(t,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),E.ajax(E.extend({url:t,type:e,dataType:r,data:n,success:i},E.isPlainObject(t)&&t))}})),E.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),E._evalUrl=function(t,e,n){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){E.globalEval(t,e,n)}})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){E(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Qe={0:200,1223:204},Ze=E.ajaxSettings.xhr();g.cors=!!Ze&&"withCredentials"in Ze,g.ajax=Ze=!!Ze,E.ajaxTransport((function(t){var e,n;if(g.cors||Ze&&!t.crossDomain)return{send:function(r,s){var o,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Qe[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),E.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return E.globalEval(t),t}}}),E.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),E.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=E("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),y.head.appendChild(e[0])},abort:function(){n&&n()}}}));var tn,en=[],nn=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||E.expando+"_"+Ie.guid++;return this[t]=!0,t}}),E.ajaxPrefilter("json jsonp",(function(t,e,n){var r,s,o,a=!1!==t.jsonp&&(nn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(nn,"$1"+r):!1!==t.jsonp&&(t.url+=(ze.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||E.error(r+" was not called"),o[0]},t.dataTypes[0]="json",s=i[r],i[r]=function(){o=arguments},n.always((function(){void 0===s?E(i).removeProp(r):i[r]=s,t[r]&&(t.jsonpCallback=e.jsonpCallback,en.push(r)),o&&v(s)&&s(o[0]),o=s=void 0})),"script"})),g.createHTMLDocument=((tn=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===tn.childNodes.length),E.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?((i=(e=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,e.head.appendChild(i)):e=y),s=!n&&[],(r=R.exec(t))?[e.createElement(r[1])]:(r=Lt([t],e,s),s&&s.length&&E(s).remove(),E.merge([],r.childNodes)));var i,r,s},E.fn.load=function(t,e,n){var i,r,s,o=this,a=t.indexOf(" ");return a>-1&&(i=Ee(t.slice(a)),t=t.slice(0,a)),v(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),o.length>0&&E.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){s=arguments,o.html(i?E("<div>").append(E.parseHTML(t)).find(i):t)})).always(n&&function(t,e){o.each((function(){n.apply(this,s||[t.responseText,e,t])}))}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,(function(e){return t===e.elem})).length},E.offset={setOffset:function(t,e,n){var i,r,s,o,a,l,h=E.css(t,"position"),c=E(t),u={};"static"===h&&(t.style.position="relative"),a=c.offset(),s=E.css(t,"top"),l=E.css(t,"left"),("absolute"===h||"fixed"===h)&&(s+l).indexOf("auto")>-1?(o=(i=c.position()).top,r=i.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),v(e)&&(e=e.call(t,n,E.extend({},a))),null!=e.top&&(u.top=e.top-a.top+o),null!=e.left&&(u.left=e.left-a.left+r),"using"in e?e.using.call(t,u):c.css(u)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){E.offset.setOffset(this,t,e)}));var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===E.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===E.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),r.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-E.css(i,"marginTop",!0),left:e.left-r.left-E.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||mt}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;E.fn[t]=function(i){return tt(this,(function(t,i,r){var s;if(_(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===r)return s?s[e]:t[i];s?s.scrollTo(n?s.pageXOffset:r,n?r:s.pageYOffset):t[i]=r}),t,i,arguments.length)}})),E.each(["top","left"],(function(t,e){E.cssHooks[e]=te(g.pixelPosition,(function(t,n){if(n)return n=Zt(t,e),Xt.test(n)?E(t).position()[e]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(t,e){E.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,i){E.fn[i]=function(r,s){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===s?"margin":"border");return tt(this,(function(e,n,r){var s;return _(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===r?E.css(e,n,a):E.style(e,n,r,a)}),e,o?r:void 0,o)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){E.fn[e]=function(t){return this.on(e,t)}})),E.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){E.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),v(t))return i=a.call(arguments,2),r=function(){return t.apply(e||this,i.concat(a.call(arguments)))},r.guid=t.guid=t.guid||E.guid++,r},E.holdReady=function(t){t?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=A,E.isFunction=v,E.isWindow=_,E.camelCase=rt,E.type=w,E.now=Date.now,E.isNumeric=function(t){var e=E.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},E.trim=function(t){return null==t?"":(t+"").replace(rn,"$1")},void 0===(n=function(){return E}.apply(e,[]))||(t.exports=n);var sn=i.jQuery,on=i.$;return E.noConflict=function(t){return i.$===E&&(i.$=on),t&&i.jQuery===E&&(i.jQuery=sn),E},void 0===r&&(i.jQuery=i.$=E),E}))},3103:(t,e,n)=>{var i=n(4715)(n(8942),"DataView");t.exports=i},5098:(t,e,n)=>{var i=n(3305),r=n(9361),s=n(1112),o=n(5276),a=n(5071);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},1386:(t,e,n)=>{var i=n(2393),r=n(2049),s=n(7144),o=n(7452),a=n(3964);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},9770:(t,e,n)=>{var i=n(4715)(n(8942),"Map");t.exports=i},8250:(t,e,n)=>{var i=n(9753),r=n(5681),s=n(88),o=n(4732),a=n(9068);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l},9413:(t,e,n)=>{var i=n(4715)(n(8942),"Promise");t.exports=i},4512:(t,e,n)=>{var i=n(4715)(n(8942),"Set");t.exports=i},3212:(t,e,n)=>{var i=n(8250),r=n(1877),s=n(8006);function o(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i;++e<n;)this.add(t[e])}o.prototype.add=o.prototype.push=r,o.prototype.has=s,t.exports=o},1340:(t,e,n)=>{var i=n(1386),r=n(4103),s=n(1779),o=n(4162),a=n(7462),l=n(6638);function h(t){var e=this.__data__=new i(t);this.size=e.size}h.prototype.clear=r,h.prototype.delete=s,h.prototype.get=o,h.prototype.has=a,h.prototype.set=l,t.exports=h},5650:(t,e,n)=>{var i=n(8942).Symbol;t.exports=i},1623:(t,e,n)=>{var i=n(8942).Uint8Array;t.exports=i},9270:(t,e,n)=>{var i=n(4715)(n(8942),"WeakMap");t.exports=i},9847:t=>{t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,s=[];++n<i;){var o=t[n];e(o,n,t)&&(s[r++]=o)}return s}},358:(t,e,n)=>{var i=n(6137),r=n(3283),s=n(3142),o=n(5853),a=n(9632),l=n(8666),h=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=s(t),c=!n&&r(t),u=!n&&!c&&o(t),d=!n&&!c&&!u&&l(t),f=n||c||u||d,p=f?i(t.length,String):[],m=p.length;for(var g in t)!e&&!h.call(t,g)||f&&("length"==g||u&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||p.push(g);return p}},1129:t=>{t.exports=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},6465:t=>{t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}},7034:(t,e,n)=>{var i=n(6285);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},8244:(t,e,n)=>{var i=n(1129),r=n(3142);t.exports=function(t,e,n){var s=e(t);return r(t)?s:i(s,n(t))}},7379:(t,e,n)=>{var i=n(5650),r=n(8870),s=n(9005),o=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?r(t):s(t)}},6027:(t,e,n)=>{var i=n(7379),r=n(547);t.exports=function(t){return r(t)&&"[object Arguments]"==i(t)}},4687:(t,e,n)=>{var i=n(353),r=n(547);t.exports=function t(e,n,s,o,a){return e===n||(null==e||null==n||!r(e)&&!r(n)?e!=e&&n!=n:i(e,n,s,o,t,a))}},353:(t,e,n)=>{var i=n(1340),r=n(3934),s=n(8861),o=n(1182),a=n(8486),l=n(3142),h=n(5853),c=n(8666),u="[object Arguments]",d="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,m,g,v){var _=l(t),y=l(e),b=_?d:a(t),x=y?d:a(e),w=(b=b==u?f:b)==f,M=(x=x==u?f:x)==f,S=b==x;if(S&&h(t)){if(!h(e))return!1;_=!0,w=!1}if(S&&!w)return v||(v=new i),_||c(t)?r(t,e,n,m,g,v):s(t,e,b,n,m,g,v);if(!(1&n)){var E=w&&p.call(t,"__wrapped__"),C=M&&p.call(e,"__wrapped__");if(E||C){var A=E?t.value():t,k=C?e.value():e;return v||(v=new i),g(A,k,n,m,v)}}return!!S&&(v||(v=new i),o(t,e,n,m,g,v))}},9624:(t,e,n)=>{var i=n(3655),r=n(4759),s=n(1580),o=n(4066),a=/^\[object .+?Constructor\]$/,l=Function.prototype,h=Object.prototype,c=l.toString,u=h.hasOwnProperty,d=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!s(t)||r(t))&&(i(t)?d:a).test(o(t))}},674:(t,e,n)=>{var i=n(7379),r=n(5387),s=n(547),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return s(t)&&r(t.length)&&!!o[i(t)]}},195:(t,e,n)=>{var i=n(4882),r=n(8121),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return r(t);var e=[];for(var n in Object(t))s.call(t,n)&&"constructor"!=n&&e.push(n);return e}},6137:t=>{t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},9460:t=>{t.exports=function(t){return function(e){return t(e)}}},5568:t=>{t.exports=function(t,e){return t.has(e)}},1950:(t,e,n)=>{var i=n(8942)["__core-js_shared__"];t.exports=i},3934:(t,e,n)=>{var i=n(3212),r=n(6465),s=n(5568);t.exports=function(t,e,n,o,a,l){var h=1&n,c=t.length,u=e.length;if(c!=u&&!(h&&u>c))return!1;var d=l.get(t),f=l.get(e);if(d&&f)return d==e&&f==t;var p=-1,m=!0,g=2&n?new i:void 0;for(l.set(t,e),l.set(e,t);++p<c;){var v=t[p],_=e[p];if(o)var y=h?o(_,v,p,e,t,l):o(v,_,p,t,e,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!r(e,(function(t,e){if(!s(g,e)&&(v===t||a(v,t,n,o,l)))return g.push(e)}))){m=!1;break}}else if(v!==_&&!a(v,_,n,o,l)){m=!1;break}}return l.delete(t),l.delete(e),m}},8861:(t,e,n)=>{var i=n(5650),r=n(1623),s=n(6285),o=n(3934),a=n(5894),l=n(9828),h=i?i.prototype:void 0,c=h?h.valueOf:void 0;t.exports=function(t,e,n,i,h,u,d){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!u(new r(t),new r(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=a;case"[object Set]":var p=1&i;if(f||(f=l),t.size!=e.size&&!p)return!1;var m=d.get(t);if(m)return m==e;i|=2,d.set(t,e);var g=o(f(t),f(e),i,h,u,d);return d.delete(t),g;case"[object Symbol]":if(c)return c.call(t)==c.call(e)}return!1}},1182:(t,e,n)=>{var i=n(393),r=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,s,o,a){var l=1&n,h=i(t),c=h.length;if(c!=i(e).length&&!l)return!1;for(var u=c;u--;){var d=h[u];if(!(l?d in e:r.call(e,d)))return!1}var f=a.get(t),p=a.get(e);if(f&&p)return f==e&&p==t;var m=!0;a.set(t,e),a.set(e,t);for(var g=l;++u<c;){var v=t[d=h[u]],_=e[d];if(s)var y=l?s(_,v,d,e,t,a):s(v,_,d,t,e,a);if(!(void 0===y?v===_||o(v,_,n,s,a):y)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var b=t.constructor,x=e.constructor;b==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(m=!1)}return a.delete(t),a.delete(e),m}},4967:(t,e,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},393:(t,e,n)=>{var i=n(8244),r=n(7979),s=n(1211);t.exports=function(t){return i(t,s,r)}},4700:(t,e,n)=>{var i=n(9067);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},4715:(t,e,n)=>{var i=n(9624),r=n(155);t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},8870:(t,e,n)=>{var i=n(5650),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=i?i.toStringTag:void 0;t.exports=function(t){var e=s.call(t,a),n=t[a];try{t[a]=void 0;var i=!0}catch(t){}var r=o.call(t);return i&&(e?t[a]=n:delete t[a]),r}},7979:(t,e,n)=>{var i=n(9847),r=n(9306),s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),i(o(t),(function(e){return s.call(t,e)})))}:r;t.exports=a},8486:(t,e,n)=>{var i=n(3103),r=n(9770),s=n(9413),o=n(4512),a=n(9270),l=n(7379),h=n(4066),c="[object Map]",u="[object Promise]",d="[object Set]",f="[object WeakMap]",p="[object DataView]",m=h(i),g=h(r),v=h(s),_=h(o),y=h(a),b=l;(i&&b(new i(new ArrayBuffer(1)))!=p||r&&b(new r)!=c||s&&b(s.resolve())!=u||o&&b(new o)!=d||a&&b(new a)!=f)&&(b=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,i=n?h(n):"";if(i)switch(i){case m:return p;case g:return c;case v:return u;case _:return d;case y:return f}return e}),t.exports=b},155:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},3305:(t,e,n)=>{var i=n(4497);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},9361:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},1112:(t,e,n)=>{var i=n(4497),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(e,t)?e[t]:void 0}},5276:(t,e,n)=>{var i=n(4497),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:r.call(e,t)}},5071:(t,e,n)=>{var i=n(4497);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},9632:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var i=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&e.test(t))&&t>-1&&t%1==0&&t<n}},9067:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},4759:(t,e,n)=>{var i,r=n(1950),s=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!s&&s in t}},4882:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},2393:t=>{t.exports=function(){this.__data__=[],this.size=0}},2049:(t,e,n)=>{var i=n(7034),r=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0||(n==e.length-1?e.pop():r.call(e,n,1),--this.size,0))}},7144:(t,e,n)=>{var i=n(7034);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},7452:(t,e,n)=>{var i=n(7034);t.exports=function(t){return i(this.__data__,t)>-1}},3964:(t,e,n)=>{var i=n(7034);t.exports=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}},9753:(t,e,n)=>{var i=n(5098),r=n(1386),s=n(9770);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(s||r),string:new i}}},5681:(t,e,n)=>{var i=n(4700);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},88:(t,e,n)=>{var i=n(4700);t.exports=function(t){return i(this,t).get(t)}},4732:(t,e,n)=>{var i=n(4700);t.exports=function(t){return i(this,t).has(t)}},9068:(t,e,n)=>{var i=n(4700);t.exports=function(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}},5894:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}},4497:(t,e,n)=>{var i=n(4715)(Object,"create");t.exports=i},8121:(t,e,n)=>{var i=n(3766)(Object.keys,Object);t.exports=i},2306:(t,e,n)=>{t=n.nmd(t);var i=n(4967),r=e&&!e.nodeType&&e,s=r&&t&&!t.nodeType&&t,o=s&&s.exports===r&&i.process,a=function(){try{return s&&s.require&&s.require("util").types||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},9005:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3766:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},8942:(t,e,n)=>{var i=n(4967),r="object"==typeof self&&self&&self.Object===Object&&self,s=i||r||Function("return this")();t.exports=s},1877:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},8006:t=>{t.exports=function(t){return this.__data__.has(t)}},9828:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},4103:(t,e,n)=>{var i=n(1386);t.exports=function(){this.__data__=new i,this.size=0}},1779:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},4162:t=>{t.exports=function(t){return this.__data__.get(t)}},7462:t=>{t.exports=function(t){return this.__data__.has(t)}},6638:(t,e,n)=>{var i=n(1386),r=n(9770),s=n(8250);t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var o=n.__data__;if(!r||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new s(o)}return n.set(t,e),this.size=n.size,this}},4066:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},6285:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},3283:(t,e,n)=>{var i=n(6027),r=n(547),s=Object.prototype,o=s.hasOwnProperty,a=s.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(t){return r(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},3142:t=>{var e=Array.isArray;t.exports=e},6529:(t,e,n)=>{var i=n(3655),r=n(5387);t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},5853:(t,e,n)=>{t=n.nmd(t);var i=n(8942),r=n(4772),s=e&&!e.nodeType&&e,o=s&&t&&!t.nodeType&&t,a=o&&o.exports===s?i.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;t.exports=l},6343:(t,e,n)=>{var i=n(4687);t.exports=function(t,e){return i(t,e)}},3655:(t,e,n)=>{var i=n(7379),r=n(1580);t.exports=function(t){if(!r(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},5387:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},1580:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},547:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},8666:(t,e,n)=>{var i=n(674),r=n(9460),s=n(2306),o=s&&s.isTypedArray,a=o?r(o):i;t.exports=a},1211:(t,e,n)=>{var i=n(358),r=n(195),s=n(6529);t.exports=function(t){return s(t)?i(t):r(t)}},9306:t=>{t.exports=function(){return[]}},4772:t=>{t.exports=function(){return!1}},1308:e=>{"use strict";e.exports=t},557:(t,e,n)=>{"use strict";n.r(e),n.d(e,{VERSION:()=>r,after:()=>Ne,all:()=>tn,allKeys:()=>gt,any:()=>en,assign:()=>Nt,before:()=>Oe,bind:()=>we,bindAll:()=>Ee,chain:()=>_e,chunk:()=>Pn,clone:()=>Pt,collect:()=>Xe,compact:()=>An,compose:()=>De,constant:()=>Q,contains:()=>nn,countBy:()=>vn,create:()=>Bt,debounce:()=>Ie,default:()=>qn,defaults:()=>Ot,defer:()=>ke,delay:()=>Ae,detect:()=>Ue,difference:()=>Tn,drop:()=>En,each:()=>Ke,escape:()=>oe,every:()=>tn,extend:()=>Dt,extendOwn:()=>Nt,filter:()=>Qe,find:()=>Ue,findIndex:()=>He,findKey:()=>Be,findLastIndex:()=>Re,findWhere:()=>Ve,first:()=>Sn,flatten:()=>kn,foldl:()=>Je,foldr:()=>Ge,forEach:()=>Ke,functions:()=>zt,get:()=>qt,groupBy:()=>mn,has:()=>$t,head:()=>Sn,identity:()=>Ut,include:()=>nn,includes:()=>nn,indexBy:()=>gn,indexOf:()=>qe,initial:()=>Mn,inject:()=>Je,intersection:()=>Dn,invert:()=>It,invoke:()=>rn,isArguments:()=>Y,isArray:()=>V,isArrayBuffer:()=>B,isBoolean:()=>k,isDataView:()=>U,isDate:()=>D,isElement:()=>T,isEmpty:()=>lt,isEqual:()=>mt,isError:()=>O,isFinite:()=>J,isFunction:()=>R,isMap:()=>St,isMatch:()=>ht,isNaN:()=>G,isNull:()=>C,isNumber:()=>L,isObject:()=>E,isRegExp:()=>N,isSet:()=>Ct,isString:()=>z,isSymbol:()=>j,isTypedArray:()=>rt,isUndefined:()=>A,isWeakMap:()=>Et,isWeakSet:()=>At,iteratee:()=>Jt,keys:()=>at,last:()=>Cn,lastIndexOf:()=>$e,map:()=>Xe,mapObject:()=>Qt,matcher:()=>Vt,matches:()=>Vt,max:()=>an,memoize:()=>Ce,methods:()=>zt,min:()=>ln,mixin:()=>Rn,negate:()=>Le,noop:()=>Zt,now:()=>ie,object:()=>jn,omit:()=>wn,once:()=>je,pairs:()=>Tt,partial:()=>xe,partition:()=>_n,pick:()=>xn,pluck:()=>sn,property:()=>Kt,propertyOf:()=>te,random:()=>ne,range:()=>Bn,reduce:()=>Je,reduceRight:()=>Ge,reject:()=>Ze,rest:()=>En,restArguments:()=>S,result:()=>me,sample:()=>un,select:()=>Qe,shuffle:()=>dn,size:()=>yn,some:()=>en,sortBy:()=>fn,sortedIndex:()=>We,tail:()=>En,take:()=>Sn,tap:()=>Ht,template:()=>pe,templateSettings:()=>le,throttle:()=>Te,times:()=>ee,toArray:()=>cn,toPath:()=>Rt,transpose:()=>Nn,unescape:()=>ae,union:()=>Ln,uniq:()=>zn,unique:()=>zn,uniqueId:()=>ve,unzip:()=>Nn,values:()=>kt,where:()=>on,without:()=>In,wrap:()=>ze,zip:()=>On});var i={};n.r(i),n.d(i,{VERSION:()=>r,after:()=>Ne,all:()=>tn,allKeys:()=>gt,any:()=>en,assign:()=>Nt,before:()=>Oe,bind:()=>we,bindAll:()=>Ee,chain:()=>_e,chunk:()=>Pn,clone:()=>Pt,collect:()=>Xe,compact:()=>An,compose:()=>De,constant:()=>Q,contains:()=>nn,countBy:()=>vn,create:()=>Bt,debounce:()=>Ie,default:()=>Wn,defaults:()=>Ot,defer:()=>ke,delay:()=>Ae,detect:()=>Ue,difference:()=>Tn,drop:()=>En,each:()=>Ke,escape:()=>oe,every:()=>tn,extend:()=>Dt,extendOwn:()=>Nt,filter:()=>Qe,find:()=>Ue,findIndex:()=>He,findKey:()=>Be,findLastIndex:()=>Re,findWhere:()=>Ve,first:()=>Sn,flatten:()=>kn,foldl:()=>Je,foldr:()=>Ge,forEach:()=>Ke,functions:()=>zt,get:()=>qt,groupBy:()=>mn,has:()=>$t,head:()=>Sn,identity:()=>Ut,include:()=>nn,includes:()=>nn,indexBy:()=>gn,indexOf:()=>qe,initial:()=>Mn,inject:()=>Je,intersection:()=>Dn,invert:()=>It,invoke:()=>rn,isArguments:()=>Y,isArray:()=>V,isArrayBuffer:()=>B,isBoolean:()=>k,isDataView:()=>U,isDate:()=>D,isElement:()=>T,isEmpty:()=>lt,isEqual:()=>mt,isError:()=>O,isFinite:()=>J,isFunction:()=>R,isMap:()=>St,isMatch:()=>ht,isNaN:()=>G,isNull:()=>C,isNumber:()=>L,isObject:()=>E,isRegExp:()=>N,isSet:()=>Ct,isString:()=>z,isSymbol:()=>j,isTypedArray:()=>rt,isUndefined:()=>A,isWeakMap:()=>Et,isWeakSet:()=>At,iteratee:()=>Jt,keys:()=>at,last:()=>Cn,lastIndexOf:()=>$e,map:()=>Xe,mapObject:()=>Qt,matcher:()=>Vt,matches:()=>Vt,max:()=>an,memoize:()=>Ce,methods:()=>zt,min:()=>ln,mixin:()=>Rn,negate:()=>Le,noop:()=>Zt,now:()=>ie,object:()=>jn,omit:()=>wn,once:()=>je,pairs:()=>Tt,partial:()=>xe,partition:()=>_n,pick:()=>xn,pluck:()=>sn,property:()=>Kt,propertyOf:()=>te,random:()=>ne,range:()=>Bn,reduce:()=>Je,reduceRight:()=>Ge,reject:()=>Ze,rest:()=>En,restArguments:()=>S,result:()=>me,sample:()=>un,select:()=>Qe,shuffle:()=>dn,size:()=>yn,some:()=>en,sortBy:()=>fn,sortedIndex:()=>We,tail:()=>En,take:()=>Sn,tap:()=>Ht,template:()=>pe,templateSettings:()=>le,throttle:()=>Te,times:()=>ee,toArray:()=>cn,toPath:()=>Rt,transpose:()=>Nn,unescape:()=>ae,union:()=>Ln,uniq:()=>zn,unique:()=>zn,uniqueId:()=>ve,unzip:()=>Nn,values:()=>kt,where:()=>on,without:()=>In,wrap:()=>ze,zip:()=>On});var r="1.13.6",s="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},o=Array.prototype,a=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,h=o.push,c=o.slice,u=a.toString,d=a.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,m=Array.isArray,g=Object.keys,v=Object.create,_=f&&ArrayBuffer.isView,y=isNaN,b=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],M=Math.pow(2,53)-1;function S(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),i=Array(n),r=0;r<n;r++)i[r]=arguments[r+e];switch(e){case 0:return t.call(this,i);case 1:return t.call(this,arguments[0],i);case 2:return t.call(this,arguments[0],arguments[1],i)}var s=Array(e+1);for(r=0;r<e;r++)s[r]=arguments[r];return s[e]=i,t.apply(this,s)}}function E(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function C(t){return null===t}function A(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===u.call(t)}function T(t){return!(!t||1!==t.nodeType)}function I(t){var e="[object "+t+"]";return function(t){return u.call(t)===e}}const z=I("String"),L=I("Number"),D=I("Date"),N=I("RegExp"),O=I("Error"),j=I("Symbol"),B=I("ArrayBuffer");var P=I("Function"),H=s.document&&s.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof H&&(P=function(t){return"function"==typeof t||!1});const R=P,W=I("Object");var F=p&&W(new DataView(new ArrayBuffer(8))),q="undefined"!=typeof Map&&W(new Map),$=I("DataView");const U=F?function(t){return null!=t&&R(t.getInt8)&&B(t.buffer)}:$,V=m||I("Array");function K(t,e){return null!=t&&d.call(t,e)}var X=I("Arguments");!function(){X(arguments)||(X=function(t){return K(t,"callee")})}();const Y=X;function J(t){return!j(t)&&b(t)&&!isNaN(parseFloat(t))}function G(t){return L(t)&&y(t)}function Q(t){return function(){return t}}function Z(t){return function(e){var n=t(e);return"number"==typeof n&&n>=0&&n<=M}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),nt=Z(et);var it=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const rt=f?function(t){return _?_(t)&&!U(t):nt(t)&&it.test(u.call(t))}:Q(!1),st=tt("length");function ot(t,e){e=function(t){for(var e={},n=t.length,i=0;i<n;++i)e[t[i]]=!0;return{contains:function(t){return!0===e[t]},push:function(n){return e[n]=!0,t.push(n)}}}(e);var n=w.length,i=t.constructor,r=R(i)&&i.prototype||a,s="constructor";for(K(t,s)&&!e.contains(s)&&e.push(s);n--;)(s=w[n])in t&&t[s]!==r[s]&&!e.contains(s)&&e.push(s)}function at(t){if(!E(t))return[];if(g)return g(t);var e=[];for(var n in t)K(t,n)&&e.push(n);return x&&ot(t,e),e}function lt(t){if(null==t)return!0;var e=st(t);return"number"==typeof e&&(V(t)||z(t)||Y(t))?0===e:0===st(at(t))}function ht(t,e){var n=at(e),i=n.length;if(null==t)return!i;for(var r=Object(t),s=0;s<i;s++){var o=n[s];if(e[o]!==r[o]||!(o in r))return!1}return!0}function ct(t){return t instanceof ct?t:this instanceof ct?void(this._wrapped=t):new ct(t)}function ut(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}ct.VERSION=r,ct.prototype.value=function(){return this._wrapped},ct.prototype.valueOf=ct.prototype.toJSON=ct.prototype.value,ct.prototype.toString=function(){return String(this._wrapped)};var dt="[object DataView]";function ft(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var r=typeof t;return("function"===r||"object"===r||"object"==typeof e)&&pt(t,e,n,i)}function pt(t,e,n,i){t instanceof ct&&(t=t._wrapped),e instanceof ct&&(e=e._wrapped);var r=u.call(t);if(r!==u.call(e))return!1;if(F&&"[object Object]"==r&&U(t)){if(!U(e))return!1;r=dt}switch(r){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return l.valueOf.call(t)===l.valueOf.call(e);case"[object ArrayBuffer]":case dt:return pt(ut(t),ut(e),n,i)}var s="[object Array]"===r;if(!s&&rt(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;s=!0}if(!s){if("object"!=typeof t||"object"!=typeof e)return!1;var o=t.constructor,a=e.constructor;if(o!==a&&!(R(o)&&o instanceof o&&R(a)&&a instanceof a)&&"constructor"in t&&"constructor"in e)return!1}i=i||[];for(var h=(n=n||[]).length;h--;)if(n[h]===t)return i[h]===e;if(n.push(t),i.push(e),s){if((h=t.length)!==e.length)return!1;for(;h--;)if(!ft(t[h],e[h],n,i))return!1}else{var c,d=at(t);if(h=d.length,at(e).length!==h)return!1;for(;h--;)if(!K(e,c=d[h])||!ft(t[c],e[c],n,i))return!1}return n.pop(),i.pop(),!0}function mt(t,e){return ft(t,e)}function gt(t){if(!E(t))return[];var e=[];for(var n in t)e.push(n);return x&&ot(t,e),e}function vt(t){var e=st(t);return function(n){if(null==n)return!1;var i=gt(n);if(st(i))return!1;for(var r=0;r<e;r++)if(!R(n[t[r]]))return!1;return t!==wt||!R(n[_t])}}var _t="forEach",yt=["clear","delete"],bt=["get","has","set"],xt=yt.concat(_t,bt),wt=yt.concat(bt),Mt=["add"].concat(yt,_t,"has");const St=q?vt(xt):I("Map"),Et=q?vt(wt):I("WeakMap"),Ct=q?vt(Mt):I("Set"),At=I("WeakSet");function kt(t){for(var e=at(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=t[e[r]];return i}function Tt(t){for(var e=at(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=[e[r],t[e[r]]];return i}function It(t){for(var e={},n=at(t),i=0,r=n.length;i<r;i++)e[t[n[i]]]=n[i];return e}function zt(t){var e=[];for(var n in t)R(t[n])&&e.push(n);return e.sort()}function Lt(t,e){return function(n){var i=arguments.length;if(e&&(n=Object(n)),i<2||null==n)return n;for(var r=1;r<i;r++)for(var s=arguments[r],o=t(s),a=o.length,l=0;l<a;l++){var h=o[l];e&&void 0!==n[h]||(n[h]=s[h])}return n}}const Dt=Lt(gt),Nt=Lt(at),Ot=Lt(gt,!0);function jt(t){if(!E(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var n=new e;return e.prototype=null,n}function Bt(t,e){var n=jt(t);return e&&Nt(n,e),n}function Pt(t){return E(t)?V(t)?t.slice():Dt({},t):t}function Ht(t,e){return e(t),t}function Rt(t){return V(t)?t:[t]}function Wt(t){return ct.toPath(t)}function Ft(t,e){for(var n=e.length,i=0;i<n;i++){if(null==t)return;t=t[e[i]]}return n?t:void 0}function qt(t,e,n){var i=Ft(t,Wt(e));return A(i)?n:i}function $t(t,e){for(var n=(e=Wt(e)).length,i=0;i<n;i++){var r=e[i];if(!K(t,r))return!1;t=t[r]}return!!n}function Ut(t){return t}function Vt(t){return t=Nt({},t),function(e){return ht(e,t)}}function Kt(t){return t=Wt(t),function(e){return Ft(e,t)}}function Xt(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,s){return t.call(e,n,i,r,s)}}return function(){return t.apply(e,arguments)}}function Yt(t,e,n){return null==t?Ut:R(t)?Xt(t,e,n):E(t)&&!V(t)?Vt(t):Kt(t)}function Jt(t,e){return Yt(t,e,1/0)}function Gt(t,e,n){return ct.iteratee!==Jt?ct.iteratee(t,e):Yt(t,e,n)}function Qt(t,e,n){e=Gt(e,n);for(var i=at(t),r=i.length,s={},o=0;o<r;o++){var a=i[o];s[a]=e(t[a],a,t)}return s}function Zt(){}function te(t){return null==t?Zt:function(e){return qt(t,e)}}function ee(t,e,n){var i=Array(Math.max(0,t));e=Xt(e,n,1);for(var r=0;r<t;r++)i[r]=e(r);return i}function ne(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}ct.toPath=Rt,ct.iteratee=Jt;const ie=Date.now||function(){return(new Date).getTime()};function re(t){var e=function(e){return t[e]},n="(?:"+at(t).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(r,e):t}}const se={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},oe=re(se),ae=re(It(se)),le=ct.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var he=/(.)^/,ce={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ue=/\\|'|\r|\n|\u2028|\u2029/g;function de(t){return"\\"+ce[t]}var fe=/^\s*(\w|\$)+\s*$/;function pe(t,e,n){!e&&n&&(e=n),e=Ot({},e,ct.templateSettings);var i=RegExp([(e.escape||he).source,(e.interpolate||he).source,(e.evaluate||he).source].join("|")+"|$","g"),r=0,s="__p+='";t.replace(i,(function(e,n,i,o,a){return s+=t.slice(r,a).replace(ue,de),r=a+e.length,n?s+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?s+="'+\n((__t=("+i+"))==null?'':__t)+\n'":o&&(s+="';\n"+o+"\n__p+='"),e})),s+="';\n";var o,a=e.variable;if(a){if(!fe.test(a))throw new Error("variable is not a bare identifier: "+a)}else s="with(obj||{}){\n"+s+"}\n",a="obj";s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{o=new Function(a,"_",s)}catch(t){throw t.source=s,t}var l=function(t){return o.call(this,t,ct)};return l.source="function("+a+"){\n"+s+"}",l}function me(t,e,n){var i=(e=Wt(e)).length;if(!i)return R(n)?n.call(t):n;for(var r=0;r<i;r++){var s=null==t?void 0:t[e[r]];void 0===s&&(s=n,r=i),t=R(s)?s.call(t):s}return t}var ge=0;function ve(t){var e=++ge+"";return t?t+e:e}function _e(t){var e=ct(t);return e._chain=!0,e}function ye(t,e,n,i,r){if(!(i instanceof e))return t.apply(n,r);var s=jt(t.prototype),o=t.apply(s,r);return E(o)?o:s}var be=S((function(t,e){var n=be.placeholder,i=function(){for(var r=0,s=e.length,o=Array(s),a=0;a<s;a++)o[a]=e[a]===n?arguments[r++]:e[a];for(;r<arguments.length;)o.push(arguments[r++]);return ye(t,i,this,this,o)};return i}));be.placeholder=ct;const xe=be,we=S((function(t,e,n){if(!R(t))throw new TypeError("Bind must be called on a function");var i=S((function(r){return ye(t,i,e,this,n.concat(r))}));return i})),Me=Z(st);function Se(t,e,n,i){if(i=i||[],e||0===e){if(e<=0)return i.concat(t)}else e=1/0;for(var r=i.length,s=0,o=st(t);s<o;s++){var a=t[s];if(Me(a)&&(V(a)||Y(a)))if(e>1)Se(a,e-1,n,i),r=i.length;else for(var l=0,h=a.length;l<h;)i[r++]=a[l++];else n||(i[r++]=a)}return i}const Ee=S((function(t,e){var n=(e=Se(e,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=e[n];t[i]=we(t[i],t)}return t}));function Ce(t,e){var n=function(i){var r=n.cache,s=""+(e?e.apply(this,arguments):i);return K(r,s)||(r[s]=t.apply(this,arguments)),r[s]};return n.cache={},n}const Ae=S((function(t,e,n){return setTimeout((function(){return t.apply(null,n)}),e)})),ke=xe(Ae,ct,1);function Te(t,e,n){var i,r,s,o,a=0;n||(n={});var l=function(){a=!1===n.leading?0:ie(),i=null,o=t.apply(r,s),i||(r=s=null)},h=function(){var h=ie();a||!1!==n.leading||(a=h);var c=e-(h-a);return r=this,s=arguments,c<=0||c>e?(i&&(clearTimeout(i),i=null),a=h,o=t.apply(r,s),i||(r=s=null)):i||!1===n.trailing||(i=setTimeout(l,c)),o};return h.cancel=function(){clearTimeout(i),a=0,i=r=s=null},h}function Ie(t,e,n){var i,r,s,o,a,l=function(){var h=ie()-r;e>h?i=setTimeout(l,e-h):(i=null,n||(o=t.apply(a,s)),i||(s=a=null))},h=S((function(h){return a=this,s=h,r=ie(),i||(i=setTimeout(l,e),n&&(o=t.apply(a,s))),o}));return h.cancel=function(){clearTimeout(i),i=s=a=null},h}function ze(t,e){return xe(e,t)}function Le(t){return function(){return!t.apply(this,arguments)}}function De(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}}function Ne(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Oe(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}const je=xe(Oe,2);function Be(t,e,n){e=Gt(e,n);for(var i,r=at(t),s=0,o=r.length;s<o;s++)if(e(t[i=r[s]],i,t))return i}function Pe(t){return function(e,n,i){n=Gt(n,i);for(var r=st(e),s=t>0?0:r-1;s>=0&&s<r;s+=t)if(n(e[s],s,e))return s;return-1}}const He=Pe(1),Re=Pe(-1);function We(t,e,n,i){for(var r=(n=Gt(n,i,1))(e),s=0,o=st(t);s<o;){var a=Math.floor((s+o)/2);n(t[a])<r?s=a+1:o=a}return s}function Fe(t,e,n){return function(i,r,s){var o=0,a=st(i);if("number"==typeof s)t>0?o=s>=0?s:Math.max(s+a,o):a=s>=0?Math.min(s+1,a):s+a+1;else if(n&&s&&a)return i[s=n(i,r)]===r?s:-1;if(r!=r)return(s=e(c.call(i,o,a),G))>=0?s+o:-1;for(s=t>0?o:a-1;s>=0&&s<a;s+=t)if(i[s]===r)return s;return-1}}const qe=Fe(1,He,We),$e=Fe(-1,Re);function Ue(t,e,n){var i=(Me(t)?He:Be)(t,e,n);if(void 0!==i&&-1!==i)return t[i]}function Ve(t,e){return Ue(t,Vt(e))}function Ke(t,e,n){var i,r;if(e=Xt(e,n),Me(t))for(i=0,r=t.length;i<r;i++)e(t[i],i,t);else{var s=at(t);for(i=0,r=s.length;i<r;i++)e(t[s[i]],s[i],t)}return t}function Xe(t,e,n){e=Gt(e,n);for(var i=!Me(t)&&at(t),r=(i||t).length,s=Array(r),o=0;o<r;o++){var a=i?i[o]:o;s[o]=e(t[a],a,t)}return s}function Ye(t){return function(e,n,i,r){var s=arguments.length>=3;return function(e,n,i,r){var s=!Me(e)&&at(e),o=(s||e).length,a=t>0?0:o-1;for(r||(i=e[s?s[a]:a],a+=t);a>=0&&a<o;a+=t){var l=s?s[a]:a;i=n(i,e[l],l,e)}return i}(e,Xt(n,r,4),i,s)}}const Je=Ye(1),Ge=Ye(-1);function Qe(t,e,n){var i=[];return e=Gt(e,n),Ke(t,(function(t,n,r){e(t,n,r)&&i.push(t)})),i}function Ze(t,e,n){return Qe(t,Le(Gt(e)),n)}function tn(t,e,n){e=Gt(e,n);for(var i=!Me(t)&&at(t),r=(i||t).length,s=0;s<r;s++){var o=i?i[s]:s;if(!e(t[o],o,t))return!1}return!0}function en(t,e,n){e=Gt(e,n);for(var i=!Me(t)&&at(t),r=(i||t).length,s=0;s<r;s++){var o=i?i[s]:s;if(e(t[o],o,t))return!0}return!1}function nn(t,e,n,i){return Me(t)||(t=kt(t)),("number"!=typeof n||i)&&(n=0),qe(t,e,n)>=0}const rn=S((function(t,e,n){var i,r;return R(e)?r=e:(e=Wt(e),i=e.slice(0,-1),e=e[e.length-1]),Xe(t,(function(t){var s=r;if(!s){if(i&&i.length&&(t=Ft(t,i)),null==t)return;s=t[e]}return null==s?s:s.apply(t,n)}))}));function sn(t,e){return Xe(t,Kt(e))}function on(t,e){return Qe(t,Vt(e))}function an(t,e,n){var i,r,s=-1/0,o=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var a=0,l=(t=Me(t)?t:kt(t)).length;a<l;a++)null!=(i=t[a])&&i>s&&(s=i);else e=Gt(e,n),Ke(t,(function(t,n,i){((r=e(t,n,i))>o||r===-1/0&&s===-1/0)&&(s=t,o=r)}));return s}function ln(t,e,n){var i,r,s=1/0,o=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var a=0,l=(t=Me(t)?t:kt(t)).length;a<l;a++)null!=(i=t[a])&&i<s&&(s=i);else e=Gt(e,n),Ke(t,(function(t,n,i){((r=e(t,n,i))<o||r===1/0&&s===1/0)&&(s=t,o=r)}));return s}var hn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function cn(t){return t?V(t)?c.call(t):z(t)?t.match(hn):Me(t)?Xe(t,Ut):kt(t):[]}function un(t,e,n){if(null==e||n)return Me(t)||(t=kt(t)),t[ne(t.length-1)];var i=cn(t),r=st(i);e=Math.max(Math.min(e,r),0);for(var s=r-1,o=0;o<e;o++){var a=ne(o,s),l=i[o];i[o]=i[a],i[a]=l}return i.slice(0,e)}function dn(t){return un(t,1/0)}function fn(t,e,n){var i=0;return e=Gt(e,n),sn(Xe(t,(function(t,n,r){return{value:t,index:i++,criteria:e(t,n,r)}})).sort((function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return t.index-e.index})),"value")}function pn(t,e){return function(n,i,r){var s=e?[[],[]]:{};return i=Gt(i,r),Ke(n,(function(e,r){var o=i(e,r,n);t(s,e,o)})),s}}const mn=pn((function(t,e,n){K(t,n)?t[n].push(e):t[n]=[e]})),gn=pn((function(t,e,n){t[n]=e})),vn=pn((function(t,e,n){K(t,n)?t[n]++:t[n]=1})),_n=pn((function(t,e,n){t[n?0:1].push(e)}),!0);function yn(t){return null==t?0:Me(t)?t.length:at(t).length}function bn(t,e,n){return e in n}const xn=S((function(t,e){var n={},i=e[0];if(null==t)return n;R(i)?(e.length>1&&(i=Xt(i,e[1])),e=gt(t)):(i=bn,e=Se(e,!1,!1),t=Object(t));for(var r=0,s=e.length;r<s;r++){var o=e[r],a=t[o];i(a,o,t)&&(n[o]=a)}return n})),wn=S((function(t,e){var n,i=e[0];return R(i)?(i=Le(i),e.length>1&&(n=e[1])):(e=Xe(Se(e,!1,!1),String),i=function(t,n){return!nn(e,n)}),xn(t,i,n)}));function Mn(t,e,n){return c.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))}function Sn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[0]:Mn(t,t.length-e)}function En(t,e,n){return c.call(t,null==e||n?1:e)}function Cn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[t.length-1]:En(t,Math.max(0,t.length-e))}function An(t){return Qe(t,Boolean)}function kn(t,e){return Se(t,e,!1)}const Tn=S((function(t,e){return e=Se(e,!0,!0),Qe(t,(function(t){return!nn(e,t)}))})),In=S((function(t,e){return Tn(t,e)}));function zn(t,e,n,i){k(e)||(i=n,n=e,e=!1),null!=n&&(n=Gt(n,i));for(var r=[],s=[],o=0,a=st(t);o<a;o++){var l=t[o],h=n?n(l,o,t):l;e&&!n?(o&&s===h||r.push(l),s=h):n?nn(s,h)||(s.push(h),r.push(l)):nn(r,l)||r.push(l)}return r}const Ln=S((function(t){return zn(Se(t,!0,!0))}));function Dn(t){for(var e=[],n=arguments.length,i=0,r=st(t);i<r;i++){var s=t[i];if(!nn(e,s)){var o;for(o=1;o<n&&nn(arguments[o],s);o++);o===n&&e.push(s)}}return e}function Nn(t){for(var e=t&&an(t,st).length||0,n=Array(e),i=0;i<e;i++)n[i]=sn(t,i);return n}const On=S(Nn);function jn(t,e){for(var n={},i=0,r=st(t);i<r;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n}function Bn(t,e,n){null==e&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var i=Math.max(Math.ceil((e-t)/n),0),r=Array(i),s=0;s<i;s++,t+=n)r[s]=t;return r}function Pn(t,e){if(null==e||e<1)return[];for(var n=[],i=0,r=t.length;i<r;)n.push(c.call(t,i,i+=e));return n}function Hn(t,e){return t._chain?ct(e).chain():e}function Rn(t){return Ke(zt(t),(function(e){var n=ct[e]=t[e];ct.prototype[e]=function(){var t=[this._wrapped];return h.apply(t,arguments),Hn(this,n.apply(ct,t))}})),ct}Ke(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=o[t];ct.prototype[t]=function(){var n=this._wrapped;return null!=n&&(e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Hn(this,n)}})),Ke(["concat","join","slice"],(function(t){var e=o[t];ct.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Hn(this,t)}}));const Wn=ct;var Fn=Rn(i);Fn._=Fn;const qn=Fn}},n={};function i(t){var r=n[t];if(void 0!==r)return r.exports;var s=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),i.p="";var r,s,o={};return r=i(1308),(s=new URL(r.uri,document.location)).pathname=s.pathname.slice(0,s.pathname.lastIndexOf("/")+1),i.p=`${s.origin}${s.pathname}`,(()=>{"use strict";i.r(o),i.d(o,{BROKEN_FILE_SVG_ICON:()=>m,DOMWidgetModel:()=>Ce,DOMWidgetView:()=>Le,ErrorWidgetView:()=>Fe,IJupyterWidgetRegistry:()=>Re,JUPYTER_WIDGETS_VERSION:()=>be,JupyterLuminoPanelWidget:()=>Ie,JupyterLuminoWidget:()=>ke,JupyterPhosphorPanelWidget:()=>ze,JupyterPhosphorWidget:()=>Te,LayoutModel:()=>Ne,LayoutView:()=>Oe,PROTOCOL_VERSION:()=>xe,StyleModel:()=>je,StyleView:()=>Be,ViewList:()=>He,WidgetModel:()=>Ee,WidgetView:()=>Ae,assign:()=>a,createErrorWidgetModel:()=>We,createErrorWidgetView:()=>qe,difference:()=>r,isEqual:()=>s,isObject:()=>f,isSerializable:()=>d,pack_models:()=>Se,put_buffers:()=>u,reject:()=>c,remove_buffers:()=>p,resolvePromisesDict:()=>h,shims:()=>Pe,unpack_models:()=>Me,uuid:()=>l});var t=i(5764),e=i(6343),n=i.n(e);function r(t,e){return t.filter((t=>-1===e.indexOf(t)))}function s(t,e){return n()(t,e)}const a=Object.assign||function(t,...e){for(let n=1;n<e.length;n++){const i=e[n];for(const e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}return t};function l(){return t.UUID.uuid4()}function h(t){const e=Object.keys(t),n=[];return e.forEach((function(e){n.push(t[e])})),Promise.all(n).then((t=>{const n={};for(let i=0;i<e.length;i++)n[e[i]]=t[i];return n}))}function c(t,e){return function(n){throw e&&console.error(new Error(t)),n}}function u(t,e,n){for(let i=0;i<e.length;i++){const r=e[i];let s=n[i];s instanceof DataView||(s=new DataView(s instanceof ArrayBuffer?s:s.buffer));let o=t;for(let t=0;t<r.length-1;t++)o=o[r[t]];o[r[r.length-1]]=s}}function d(t){var e;return null!==(e="object"==typeof t&&t&&"toJSON"in t)&&void 0!==e&&e}function f(e){return t.JSONExt.isObject(e)}function p(t){const e=[],n=[];return{state:function t(i,r){if(d(i)&&(i=i.toJSON()),Array.isArray(i)){let s=!1;for(let o=0;o<i.length;o++){const a=i[o];if(a)if(a instanceof ArrayBuffer||ArrayBuffer.isView(a))s||(i=i.slice(),s=!0),e.push(ArrayBuffer.isView(a)?a.buffer:a),n.push(r.concat([o])),i[o]=null;else{const e=t(a,r.concat([o]));e!==a&&(s||(i=i.slice(),s=!0),i[o]=e)}}}else if(f(i))for(const s in i){let o=!1;if(Object.prototype.hasOwnProperty.call(i,s)){const a=i[s];if(a)if(a instanceof ArrayBuffer||ArrayBuffer.isView(a))o||(i=Object.assign({},i),o=!0),e.push(ArrayBuffer.isView(a)?a.buffer:a),n.push(r.concat([s])),delete i[s];else{const e=t(a,r.concat([s]));e!==a&&(o||(i=Object.assign({},i),o=!0),i[s]=e)}}}return i}(t,[]),buffers:e,buffer_paths:n}}const m='<svg style="height:50%;max-height: 50px;" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">\n<g >\n <g transform="translate(0.24520123,0.93464292)">\n <path d="M 8.2494641,21.074514 V 5.6225142 c 0,-0.314 0.254,-0.567 0.57,-0.567 H 29.978464 c 2.388,0 9.268,5.8269998 9.268,8.3029998 v 5.5835 l -3.585749,4.407396 -2.772971,-3.535534 -5.126524,3.414213 -5.944543,-3.237436 -5.722718,3.06066 z m 30.9969999,3.8675 v 15.5835 c 0,0.314 -0.254,0.567 -0.57,0.567 H 8.8194641 c -0.315,0.002 -0.57,-0.251 -0.57,-0.566 v -15.452 l 7.8444949,2.628449 5.656854,-2.65165 4.24264,3.005204 5.833631,-3.237437 3.712311,3.944543 z" style="fill:url(#linearGradient3448);stroke:#888a85" />\n <path d="m 30.383464,12.110514 c 4.108,0.159 7.304,-0.978 8.867,1.446 0.304,-3.9679998 -7.254,-8.8279998 -9.285,-8.4979998 0.813,0.498 0.418,7.0519998 0.418,7.0519998 z" style="fill:url(#linearGradient3445);stroke:#868a84" />\n <path enable-background="new" d="m 31.443464,11.086514 c 2.754,-0.019 4.106,-0.49 5.702,0.19 -1.299,-1.8809998 -4.358,-3.3439998 -5.728,-4.0279998 0.188,0.775 0.026,3.8379998 0.026,3.8379998 z" style="opacity:0.36930003;fill:none;stroke:url(#linearGradient3442)" />\n </g>\n</g>\n</svg>';function g(e,n,i){if(null==e)return this;let r;if(t.JSONExt.isObject(e)?(r=e,i=n):(r={})[e]=n,i||(i={}),!this._validate(r,i))return!1;const o=i.unset,a=i.silent,l=[],h=this._changing;this._changing=!0;try{h||(this._previousAttributes=Object.assign({},this.attributes),this.changed={});const t=this.attributes,e=this.changed,c=this._previousAttributes;for(const i in r)n=r[i],s(t[i],n)||l.push(i),s(c[i],n)?delete e[i]:e[i]=n,o?delete t[i]:t[i]=n;if(this.id=this.get(this.idAttribute),!a){l.length&&(this._pending=i);for(let e=0;e<l.length;e++)this.trigger("change:"+l[e],this,t[l[e]],i)}if(h)return this;if(!a)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i)}finally{this._pending=!1,this._changing=!1}return this}var v=i(482),_=i(4651),y=i.n(_);const b="undefined"!=typeof Element?Element.prototype:void 0;const x=b&&(b.matches||b.webkitMatchesSelector||b.mozMatchesSelector||b.msMatchesSelector||b.oMatchesSelector)||function(t){const e=(this.document||this.ownerDocument).querySelectorAll(t);let n=e.length;for(;--n>=0&&e.item(n)!==this;);return n>-1};class w extends v.View{_removeElement(){this.undelegateEvents(),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}_setElement(t){this.el=t}_setAttributes(t){for(const e in t)e in this.el?this.el[e]=t[e]:this.el.setAttribute(e,t[e])}delegate(t,e,n){"string"!=typeof e&&(n=e,e=null),void 0===this._domEvents&&(this._domEvents=[]);const i=this.el,r=e?function(t){let r=t.target||t.srcElement;for(;r&&r!==i;r=r.parentNode)if(x.call(r,e))return t.delegateTarget=r,n.handleEvent?n.handleEvent(t):n(t)}:n;return this.el.addEventListener(t,r,!1),this._domEvents.push({eventName:t,handler:r,listener:n,selector:e}),r}undelegate(t,e,n){if("function"==typeof e&&(n=e,e=null),this.el&&this._domEvents){const i=this._domEvents.slice();let r=i.length;for(;r--;){const s=i[r];!(s.eventName!==t||n&&s.listener!==n||e&&s.selector!==e)&&(this.el.removeEventListener(s.eventName,s.handler,!1),this._domEvents.splice(r,1))}}return this}undelegateEvents(){if(this.el&&this._domEvents){const t=this._domEvents.length;for(let e=0;e<t;e++){const t=this._domEvents[e];this.el.removeEventListener(t.eventName,t.handler,!1)}this._domEvents.length=0}return this}}var M;function S(t){return"function"==typeof t.iter?t.iter():new C(t)}!function(t){function e(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,s=t.length;if(0===s)return-1;n=n<0?Math.max(0,n+s):Math.min(n,s-1),r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<n?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(n+o)%s;if(t[a]===e)return a}return-1}function n(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,s=t.length;if(0===s)return-1;r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<(i=i<0?Math.max(0,i+s):Math.min(i,s-1))?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(n-o+s)%s;if(t[a]===e)return a}return-1}function i(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,s=t.length;if(0===s)return-1;n=n<0?Math.max(0,n+s):Math.min(n,s-1),r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<n?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(n+o)%s;if(e(t[a],a))return a}return-1}function r(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,s=t.length;if(0===s)return-1;r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<(i=i<0?Math.max(0,i+s):Math.min(i,s-1))?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(n-o+s)%s;if(e(t[a],a))return a}return-1}function s(t,e,n){void 0===e&&(e=0),void 0===n&&(n=-1);var i=t.length;if(!(i<=1))for(e=e<0?Math.max(0,e+i):Math.min(e,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);e<n;){var r=t[e],s=t[n];t[e++]=s,t[n--]=r}}function o(t,e){var n=t.length;if(e<0&&(e+=n),!(e<0||e>=n)){for(var i=t[e],r=e+1;r<n;++r)t[r-1]=t[r];return t.length=n-1,i}}t.firstIndexOf=e,t.lastIndexOf=n,t.findFirstIndex=i,t.findLastIndex=r,t.findFirstValue=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=i(t,e,n,r);return-1!==s?t[s]:void 0},t.findLastValue=function(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var s=r(t,e,n,i);return-1!==s?t[s]:void 0},t.lowerBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=t.length;if(0===s)return 0;for(var o=i=i<0?Math.max(0,i+s):Math.min(i,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-i+1;a>0;){var l=a>>1,h=o+l;n(t[h],e)<0?(o=h+1,a-=l+1):a=l}return o},t.upperBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=t.length;if(0===s)return 0;for(var o=i=i<0?Math.max(0,i+s):Math.min(i,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-i+1;a>0;){var l=a>>1,h=o+l;n(t[h],e)>0?a=l:(o=h+1,a-=l+1)}return o},t.shallowEqual=function(t,e,n){if(t===e)return!0;if(t.length!==e.length)return!1;for(var i=0,r=t.length;i<r;++i)if(n?!n(t[i],e[i]):t[i]!==e[i])return!1;return!0},t.slice=function(t,e){void 0===e&&(e={});var n=e.start,i=e.stop,r=e.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var s,o=t.length;void 0===n?n=r<0?o-1:0:n<0?n=Math.max(n+o,r<0?-1:0):n>=o&&(n=r<0?o-1:o),void 0===i?i=r<0?-1:o:i<0?i=Math.max(i+o,r<0?-1:0):i>=o&&(i=r<0?o-1:o),s=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],l=0;l<s;++l)a[l]=t[n+l*r];return a},t.move=function(t,e,n){var i=t.length;if(!(i<=1)&&(e=e<0?Math.max(0,e+i):Math.min(e,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=t[e],s=e<n?1:-1,o=e;o!==n;o+=s)t[o]=t[o+s];t[n]=r}},t.reverse=s,t.rotate=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var o=i-n+1;if(e>0?e%=o:e<0&&(e=(e%o+o)%o),0!==e){var a=n+e;s(t,n,a-1),s(t,a,i),s(t,n,i)}}},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0!==r){var s;n=n<0?Math.max(0,n+r):Math.min(n,r-1),s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var o=0;o<s;++o)t[(n+o)%r]=e}},t.insert=function(t,e,n){var i=t.length;e=e<0?Math.max(0,e+i):Math.min(e,i);for(var r=i;r>e;--r)t[r]=t[r-1];t[e]=n},t.removeAt=o,t.removeFirstOf=function(t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=e(t,n,i,r);return-1!==s&&o(t,s),s},t.removeLastOf=function(t,e,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var s=n(t,e,i,r);return-1!==s&&o(t,s),s},t.removeAllOf=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var s=0,o=0;o<r;++o)n<=i&&o>=n&&o<=i&&t[o]===e||i<n&&(o<=i||o>=n)&&t[o]===e?s++:s>0&&(t[o-s]=t[o]);return s>0&&(t.length=r-s),s},t.removeFirstWhere=function(t,e,n,r){var s;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(t,e,n,r);return-1!==a&&(s=o(t,a)),{index:a,value:s}},t.removeLastWhere=function(t,e,n,i){var s;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(t,e,n,i);return-1!==a&&(s=o(t,a)),{index:a,value:s}},t.removeAllWhere=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var s=0,o=0;o<r;++o)n<=i&&o>=n&&o<=i&&e(t[o],o)||i<n&&(o<=i||o>=n)&&e(t[o],o)?s++:s>0&&(t[o-s]=t[o]);return s>0&&(t.length=r-s),s}}(M||(M={}));var E,C=function(){function t(t){this._index=0,this._source=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},t}();(function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?t:this.next()}}})(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?this._source[t]:this.next()}}}(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?[t,this._source[t]]:this.next()}}}(),function(){function t(t){this._fn=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},t.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function t(t){this._cloned=!1,this._source=t,this._active=void 0}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone());return e._active=this._active&&this._active.clone(),e._cloned=!0,this._cloned=!0,e},t.prototype.next=function(){if(void 0===this._active){var t=this._source.next();if(void 0===t)return;this._active=this._cloned?t.clone():t}var e=this._active.next();return void 0!==e?e:(this._active=void 0,this.next())}}(),function(){function t(){}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t},t.prototype.next=function(){}}(),function(){function t(t,e){this._source=t,this._index=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._index)},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return[this._index++,t]}}(),function(){function t(t,e){this._index=0,this._source=t,this._fn=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){for(var t,e=this._fn,n=this._source;void 0!==(t=n.next());)if(e(t,this._index++))return t}}(),function(){function t(t,e){this._index=0,this._source=t,this._fn=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return this._fn.call(void 0,t,this._index++)}}(),function(){function t(t,e,n){this._index=0,this._start=t,this._stop=e,this._step=n,this._length=E.rangeLength(t,e,n)}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._start,this._stop,this._step);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(t){t.rangeLength=function(t,e,n){return 0===n?1/0:t>e&&n>0||t<e&&n<0?0:Math.ceil((e-t)/n)}}(E||(E={})),function(){function t(t,e){this._value=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._value,this._count)},t.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}();var A,k,T=function(){function t(t){this._source=t,this._index=t.length-1}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]},t}();function I(t,e){for(var n,i=0,r=function(t){return"function"==typeof t.iter?t.iter():new z(t)}(t);void 0!==(n=r.next());)if(!1===e(n,i++))return}!function(){function t(t,e){this._source=t,this._step=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._step)},t.prototype.next=function(){for(var t=this._source.next(),e=this._step-1;e>0;--e)this._source.next();return t}}(),function(t){function e(t,e,n){void 0===n&&(n=0);for(var i=new Array(e.length),r=0,s=n,o=e.length;r<o;++r,++s){if(-1===(s=t.indexOf(e[r],s)))return null;i[r]=s}return i}t.findIndices=e,t.matchSumOfSquares=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var s=0,o=0,a=r.length;o<a;++o){var l=r[o]-i;s+=l*l}return{score:s,indices:r}},t.matchSumOfDeltas=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var s=0,o=i-1,a=0,l=r.length;a<l;++a){var h=r[a];s+=h-o-1,o=h}return{score:s,indices:r}},t.highlight=function(t,e,n){for(var i=[],r=0,s=0,o=e.length;r<o;){for(var a=e[r],l=e[r];++r<o&&e[r]===l+1;)l++;s<a&&i.push(t.slice(s,a)),a<l+1&&i.push(n(t.slice(a,l+1))),s=l+1}return s<t.length&&i.push(t.slice(s)),i},t.cmp=function(t,e){return t<e?-1:t>e?1:0}}(A||(A={})),function(){function t(t,e){this._source=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._count)},t.prototype.next=function(){if(!(this._count<=0)){var t=this._source.next();if(void 0!==t)return this._count--,t}}}(),function(){function t(t){this._source=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.map((function(t){return t.clone()})))},t.prototype.next=function(){for(var t=new Array(this._source.length),e=0,n=this._source.length;e<n;++e){var i=this._source[e].next();if(void 0===i)return;t[e]=i}return t}}(),function(t){function e(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,s=t.length;if(0===s)return-1;n=n<0?Math.max(0,n+s):Math.min(n,s-1),r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<n?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(n+o)%s;if(t[a]===e)return a}return-1}function n(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,s=t.length;if(0===s)return-1;r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<(i=i<0?Math.max(0,i+s):Math.min(i,s-1))?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(n-o+s)%s;if(t[a]===e)return a}return-1}function i(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,s=t.length;if(0===s)return-1;n=n<0?Math.max(0,n+s):Math.min(n,s-1),r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<n?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(n+o)%s;if(e(t[a],a))return a}return-1}function r(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,s=t.length;if(0===s)return-1;r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<(i=i<0?Math.max(0,i+s):Math.min(i,s-1))?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(n-o+s)%s;if(e(t[a],a))return a}return-1}function s(t,e,n){void 0===e&&(e=0),void 0===n&&(n=-1);var i=t.length;if(!(i<=1))for(e=e<0?Math.max(0,e+i):Math.min(e,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);e<n;){var r=t[e],s=t[n];t[e++]=s,t[n--]=r}}function o(t,e){var n=t.length;if(e<0&&(e+=n),!(e<0||e>=n)){for(var i=t[e],r=e+1;r<n;++r)t[r-1]=t[r];return t.length=n-1,i}}t.firstIndexOf=e,t.lastIndexOf=n,t.findFirstIndex=i,t.findLastIndex=r,t.findFirstValue=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=i(t,e,n,r);return-1!==s?t[s]:void 0},t.findLastValue=function(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var s=r(t,e,n,i);return-1!==s?t[s]:void 0},t.lowerBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=t.length;if(0===s)return 0;for(var o=i=i<0?Math.max(0,i+s):Math.min(i,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-i+1;a>0;){var l=a>>1,h=o+l;n(t[h],e)<0?(o=h+1,a-=l+1):a=l}return o},t.upperBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=t.length;if(0===s)return 0;for(var o=i=i<0?Math.max(0,i+s):Math.min(i,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-i+1;a>0;){var l=a>>1,h=o+l;n(t[h],e)>0?a=l:(o=h+1,a-=l+1)}return o},t.shallowEqual=function(t,e,n){if(t===e)return!0;if(t.length!==e.length)return!1;for(var i=0,r=t.length;i<r;++i)if(n?!n(t[i],e[i]):t[i]!==e[i])return!1;return!0},t.slice=function(t,e){void 0===e&&(e={});var n=e.start,i=e.stop,r=e.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var s,o=t.length;void 0===n?n=r<0?o-1:0:n<0?n=Math.max(n+o,r<0?-1:0):n>=o&&(n=r<0?o-1:o),void 0===i?i=r<0?-1:o:i<0?i=Math.max(i+o,r<0?-1:0):i>=o&&(i=r<0?o-1:o),s=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],l=0;l<s;++l)a[l]=t[n+l*r];return a},t.move=function(t,e,n){var i=t.length;if(!(i<=1)&&(e=e<0?Math.max(0,e+i):Math.min(e,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=t[e],s=e<n?1:-1,o=e;o!==n;o+=s)t[o]=t[o+s];t[n]=r}},t.reverse=s,t.rotate=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var o=i-n+1;if(e>0?e%=o:e<0&&(e=(e%o+o)%o),0!==e){var a=n+e;s(t,n,a-1),s(t,a,i),s(t,n,i)}}},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0!==r){var s;n=n<0?Math.max(0,n+r):Math.min(n,r-1),s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var o=0;o<s;++o)t[(n+o)%r]=e}},t.insert=function(t,e,n){var i=t.length;e=e<0?Math.max(0,e+i):Math.min(e,i);for(var r=i;r>e;--r)t[r]=t[r-1];t[e]=n},t.removeAt=o,t.removeFirstOf=function(t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=e(t,n,i,r);return-1!==s&&o(t,s),s},t.removeLastOf=function(t,e,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var s=n(t,e,i,r);return-1!==s&&o(t,s),s},t.removeAllOf=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var s=0,o=0;o<r;++o)n<=i&&o>=n&&o<=i&&t[o]===e||i<n&&(o<=i||o>=n)&&t[o]===e?s++:s>0&&(t[o-s]=t[o]);return s>0&&(t.length=r-s),s},t.removeFirstWhere=function(t,e,n,r){var s;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(t,e,n,r);return-1!==a&&(s=o(t,a)),{index:a,value:s}},t.removeLastWhere=function(t,e,n,i){var s;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(t,e,n,i);return-1!==a&&(s=o(t,a)),{index:a,value:s}},t.removeAllWhere=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var s=0,o=0;o<r;++o)n<=i&&o>=n&&o<=i&&e(t[o],o)||i<n&&(o<=i||o>=n)&&e(t[o],o)?s++:s>0&&(t[o-s]=t[o]);return s>0&&(t.length=r-s),s}}(k||(k={}));var z=function(){function t(t){this._index=0,this._source=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},t}();function L(){return new O}(function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?t:this.next()}}})(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?this._source[t]:this.next()}}}(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?[t,this._source[t]]:this.next()}}}(),function(){function t(t){this._fn=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},t.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function t(t){this._cloned=!1,this._source=t,this._active=void 0}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone());return e._active=this._active&&this._active.clone(),e._cloned=!0,this._cloned=!0,e},t.prototype.next=function(){if(void 0===this._active){var t=this._source.next();if(void 0===t)return;this._active=this._cloned?t.clone():t}var e=this._active.next();return void 0!==e?e:(this._active=void 0,this.next())}}();var D,N,O=function(){function t(){}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t},t.prototype.next=function(){},t}();!function(){function t(t,e){this._source=t,this._index=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._index)},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return[this._index++,t]}}(),function(){function t(t,e){this._index=0,this._source=t,this._fn=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){for(var t,e=this._fn,n=this._source;void 0!==(t=n.next());)if(e(t,this._index++))return t}}(),function(){function t(t,e){this._index=0,this._source=t,this._fn=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return this._fn.call(void 0,t,this._index++)}}(),function(){function t(t,e,n){this._index=0,this._start=t,this._stop=e,this._step=n,this._length=D.rangeLength(t,e,n)}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._start,this._stop,this._step);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(t){t.rangeLength=function(t,e,n){return 0===n?1/0:t>e&&n>0||t<e&&n<0?0:Math.ceil((e-t)/n)}}(D||(D={})),function(){function t(t,e){this._value=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._value,this._count)},t.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}(),function(){function t(t){this._source=t,this._index=t.length-1}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function t(t,e){this._source=t,this._step=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._step)},t.prototype.next=function(){for(var t=this._source.next(),e=this._step-1;e>0;--e)this._source.next();return t}}(),function(t){function e(t,e,n){void 0===n&&(n=0);for(var i=new Array(e.length),r=0,s=n,o=e.length;r<o;++r,++s){if(-1===(s=t.indexOf(e[r],s)))return null;i[r]=s}return i}t.findIndices=e,t.matchSumOfSquares=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var s=0,o=0,a=r.length;o<a;++o){var l=r[o]-i;s+=l*l}return{score:s,indices:r}},t.matchSumOfDeltas=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var s=0,o=i-1,a=0,l=r.length;a<l;++a){var h=r[a];s+=h-o-1,o=h}return{score:s,indices:r}},t.highlight=function(t,e,n){for(var i=[],r=0,s=0,o=e.length;r<o;){for(var a=e[r],l=e[r];++r<o&&e[r]===l+1;)l++;s<a&&i.push(t.slice(s,a)),a<l+1&&i.push(n(t.slice(a,l+1))),s=l+1}return s<t.length&&i.push(t.slice(s)),i},t.cmp=function(t,e){return t<e?-1:t>e?1:0}}(N||(N={})),function(){function t(t,e){this._source=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._count)},t.prototype.next=function(){if(!(this._count<=0)){var t=this._source.next();if(void 0!==t)return this._count--,t}}}(),function(){function t(t){this._source=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.map((function(t){return t.clone()})))},t.prototype.next=function(){for(var t=new Array(this._source.length),e=0,n=this._source.length;e<n;++e){var i=this._source[e].next();if(void 0===i)return;t[e]=i}return t}}();var j,B=function(){function t(t){this._root=new j.LeafNode,this.cmp=t}return Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){var t=j.firstLeaf(this._root);return t.size>0?t.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){var t=j.lastLeaf(this._root);return t.size>0?t.items[t.size-1]:void 0},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return j.iterItems(this._root)},t.prototype.retro=function(){return j.retroItems(this._root)},t.prototype.slice=function(t,e){return j.sliceItems(this._root,t,e)},t.prototype.retroSlice=function(t,e){return j.retroSliceItems(this._root,t,e)},t.prototype.at=function(t){return j.itemAt(this._root,t)},t.prototype.has=function(t,e){return j.hasItem(this._root,t,e)},t.prototype.indexOf=function(t,e){return j.indexOf(this._root,t,e)},t.prototype.get=function(t,e){return j.getItem(this._root,t,e)},t.prototype.assign=function(t){this.clear(),this.update(t)},t.prototype.insert=function(t){var e=j.insertItem(this._root,t,this.cmp);return this._root=j.maybeSplitRoot(this._root),e},t.prototype.update=function(t){var e=this;I(t,(function(t){e.insert(t)}))},t.prototype.delete=function(t,e){var n=j.deleteItem(this._root,t,e);return this._root=j.maybeExtractRoot(this._root),n},t.prototype.remove=function(t){var e=j.removeItem(this._root,t);return this._root=j.maybeExtractRoot(this._root),e},t.prototype.clear=function(){j.clear(this._root),this._root=new j.LeafNode},t}();!function(t){t.from=function(e,n){var i=new t(n);return i.assign(e),i}}(B||(B={})),function(t){var e=function(){function t(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(t.prototype,"type",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),t}();t.BranchNode=e;var n=function(){function t(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(t.prototype,"type",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),t}();function i(t){for(;0===t.type;)t=t.children[0];return t}function r(t){for(;0===t.type;)t=t.children[t.children.length-1];return t}function s(t){0===t.type?(I(t.children,s),t.children.length=0,t.sizes.length=0,t.items.length=0):(t.items.length=0,t.next=null,t.prev=null)}t.LeafNode=n,t.firstLeaf=i,t.lastLeaf=r,t.iterItems=function(t){var e=i(t);return new l(e,0,-1)},t.retroItems=function(t){var e=r(t);return new h(e,e.size-1,-1)},t.sliceItems=function(t,e,n){e=void 0===e?0:e<0?Math.max(0,e+t.size):Math.min(e,t.size),n=void 0===n?t.size:n<0?Math.max(0,n+t.size):Math.min(n,t.size);var i=Math.max(0,n-e);if(0===i)return L();for(;0===t.type;){var r=c(t.sizes,e);r>0&&(e-=t.sizes[r-1]),t=t.children[r]}return new l(t,e,i)},t.retroSliceItems=function(t,e,n){e=void 0===e?t.size-1:e<0?Math.max(-1,e+t.size):Math.min(e,t.size-1),n=void 0===n?-1:n<0?Math.max(-1,n+t.size):Math.min(n,t.size-1);var i=Math.max(0,e-n);if(0===i)return L();for(;0===t.type;){var r=c(t.sizes,e);r>0&&(e-=t.sizes[r-1]),t=t.children[r]}return new h(t,e,i)},t.itemAt=function(t,e){if(e<0&&(e+=t.size),!(e<0||e>=t.size)){for(;0===t.type;){var n=c(t.sizes,e);n>0&&(e-=t.sizes[n-1]),t=t.children[n]}return t.items[e]}},t.hasItem=function(t,e,n){for(;0===t.type;){var i=u(t.items,e,n);t=t.children[i]}return d(t.items,e,n)>=0},t.indexOf=function(t,e,n){for(var i=0;0===t.type;){var r=u(t.items,e,n);r>0&&(i+=t.sizes[r-1]),t=t.children[r]}var s=d(t.items,e,n);return s>=0?i+s:-i+s},t.getItem=function(t,e,n){for(;0===t.type;){var i=u(t.items,e,n);t=t.children[i]}var r=d(t.items,e,n);return r>=0?t.items[r]:void 0},t.insertItem=function t(e,n,i){if(1===e.type){var r,s=d(e.items,n,i);return s>=0?(r=e.items[s],e.items[s]=n):(r=void 0,k.insert(e.items,-s-1,n)),r}var a=u(e.items,n,i),l=e.children[a],h=l.size,c=t(l,n,i),m=l.size;if(e.items[a]=l.items[0],h===m)return c;if(l.width>o){var g=p(l);k.insert(e.children,a+1,g),k.insert(e.items,a+1,g.items[0])}return f(e,a),c},t.deleteItem=function t(e,n,i){if(1===e.type){var r=d(e.items,n,i);if(r<0)return;return k.removeAt(e.items,r)}var s=u(e.items,n,i),o=e.children[s],l=o.size,h=t(o,n,i);return l===o.size||(e.items[s]=o.items[0],o.width<a&&(s=m(e,s)),f(e,s)),h},t.removeItem=function t(e,n){if(n<0&&(n+=e.size),!(n<0||n>=e.size)){if(1===e.type)return k.removeAt(e.items,n);var i=c(e.sizes,n);i>0&&(n-=e.sizes[i]);var r=e.children[i],s=t(r,n);return e.items[i]=r.items[0],r.width<a&&(i=m(e,i)),f(e,i),s}},t.clear=s,t.maybeSplitRoot=function(t){if(t.width<=o)return t;var n=new e,i=p(t);return n.sizes[0]=t.size,n.sizes[1]=t.size+i.size,n.children[0]=t,n.children[1]=i,n.items[0]=t.items[0],n.items[1]=i.items[0],n},t.maybeExtractRoot=function(t){if(1===t.type)return t;if(t.children.length>1)return t;var e=t.children.pop();return s(t),e};var o=32,a=o>>1,l=function(){function t(t,e,n){this._node=t,this._index=e,this._count=n}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node,this._index,this._count)},t.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},t}(),h=function(){function t(t,e,n){this._node=t,this._index=e,this._count=n}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node,this._index,this._count)},t.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},t}();function c(t,e){for(var n=t.length,i=0;i<n;++i)if(t[i]>e)return i;return n-1}function u(t,e,n){for(var i=t.length,r=1;r<i;++r)if(n(t[r],e)>0)return r-1;return i-1}function d(t,e,n){for(var i=t.length,r=0;r<i;++r){var s=n(t[r],e);if(0===s)return r;if(s>0)return-r-1}return-i-1}function f(t,e){for(var n=t.sizes,i=t.children,r=e>0?n[e-1]:0,s=i.length;e<s;++e)r=n[e]=r+i[e].size;n.length=i.length}function p(t){if(1===t.type){for(var i=new n,r=t.items,s=i.items,o=a,l=r.length;o<l;++o)s.push(r[o]);return r.length=a,t.next&&(t.next.prev=i),i.next=t.next,i.prev=t,t.next=i,i}var h=new e,c=t.children,u=h.children;for(o=a,l=c.length;o<l;++o)u.push(c[o]);c.length=a;var d=t.items,p=h.items;for(o=a,l=d.length;o<l;++o)p.push(d[o]);return d.length=a,f(t,a),f(h,0),h}function m(t,e){var n,i,r,o,l,h,c=t.children[e],u=0===e?t.children[e+1]:t.children[e-1],d=0===e,p=1===c.type,m=u.width>a;if(p&&m&&d){var g=u;return(v=c).items.push(g.items.shift()),t.items[e+1]=g.items[0],e}if(p&&m&&!d)return g=u,(v=c).items.unshift(g.items.pop()),t.items[e]=v.items[0],e-1;if(p&&!m&&d){var v=c;return(n=(g=u).items).unshift.apply(n,v.items),k.removeAt(t.children,e),k.removeAt(t.items,e+1),v.prev&&(v.prev.next=g),g.prev=v.prev,s(v),e}if(p&&!m&&!d)return v=c,(i=(g=u).items).push.apply(i,v.items),k.removeAt(t.children,e),k.removeAt(t.items,e),v.next&&(v.next.prev=g),g.next=v.next,s(v),e-1;if(!p&&m&&d)return g=u,(v=c).children.push(g.children.shift()),v.items.push(g.items.shift()),t.items[e+1]=g.items[0],f(v,v.width-1),f(g,0),e;if(!p&&m&&!d)return g=u,(v=c).children.unshift(g.children.pop()),v.items.unshift(g.items.pop()),t.items[e]=v.items[0],f(v,0),f(g,g.width-1),e-1;if(!p&&!m&&d)return v=c,(r=(g=u).children).unshift.apply(r,v.children),(o=g.items).unshift.apply(o,v.items),k.removeAt(t.children,e),k.removeAt(t.items,e+1),f(g,0),v.children.length=0,s(v),e;if(!p&&!m&&!d)return v=c,(l=(g=u).children).push.apply(l,v.children),(h=g.items).push.apply(h,v.items),k.removeAt(t.children,e),k.removeAt(t.items,e),f(g,0),v.children.length=0,s(v),e-1;throw"unreachable"}}(j||(j={}));var P,H=function(){function t(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this._size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstNode",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastNode",{get:function(){return this._last},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return new t.ForwardValueIterator(this._first)},t.prototype.retro=function(){return new t.RetroValueIterator(this._last)},t.prototype.nodes=function(){return new t.ForwardNodeIterator(this._first)},t.prototype.retroNodes=function(){return new t.RetroNodeIterator(this._last)},t.prototype.assign=function(t){var e=this;this.clear(),I(t,(function(t){e.addLast(t)}))},t.prototype.push=function(t){this.addLast(t)},t.prototype.pop=function(){return this.removeLast()},t.prototype.shift=function(t){this.addFirst(t)},t.prototype.unshift=function(){return this.removeFirst()},t.prototype.addFirst=function(t){var e=new P.LinkedListNode(this,t);return this._first?(e.next=this._first,this._first.prev=e,this._first=e):(this._first=e,this._last=e),this._size++,e},t.prototype.addLast=function(t){var e=new P.LinkedListNode(this,t);return this._last?(e.prev=this._last,this._last.next=e,this._last=e):(this._first=e,this._last=e),this._size++,e},t.prototype.insertBefore=function(t,e){if(!e||e===this._first)return this.addFirst(t);if(!(e instanceof P.LinkedListNode)||e.list!==this)throw new Error("Reference node is not owned by the list.");var n=new P.LinkedListNode(this,t),i=e,r=i.prev;return n.next=i,n.prev=r,i.prev=n,r.next=n,this._size++,n},t.prototype.insertAfter=function(t,e){if(!e||e===this._last)return this.addLast(t);if(!(e instanceof P.LinkedListNode)||e.list!==this)throw new Error("Reference node is not owned by the list.");var n=new P.LinkedListNode(this,t),i=e,r=i.next;return n.next=r,n.prev=i,i.next=n,r.prev=n,this._size++,n},t.prototype.removeFirst=function(){var t=this._first;if(t)return t===this._last?(this._first=null,this._last=null):(this._first=t.next,this._first.prev=null),t.list=null,t.next=null,t.prev=null,this._size--,t.value},t.prototype.removeLast=function(){var t=this._last;if(t)return t===this._first?(this._first=null,this._last=null):(this._last=t.prev,this._last.next=null),t.list=null,t.next=null,t.prev=null,this._size--,t.value},t.prototype.removeNode=function(t){if(!(t instanceof P.LinkedListNode)||t.list!==this)throw new Error("Node is not owned by the list.");var e=t;e===this._first&&e===this._last?(this._first=null,this._last=null):e===this._first?(this._first=e.next,this._first.prev=null):e===this._last?(this._last=e.prev,this._last.next=null):(e.next.prev=e.prev,e.prev.next=e.next),e.list=null,e.next=null,e.prev=null,this._size--},t.prototype.clear=function(){for(var t=this._first;t;){var e=t.next;t.list=null,t.prev=null,t.next=null,t=e}this._first=null,this._last=null,this._size=0},t}();!function(t){t.from=function(e){var n=new t;return n.assign(e),n};var e=function(){function t(t){this._node=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node)},t.prototype.next=function(){if(this._node){var t=this._node;return this._node=t.next,t.value}},t}();t.ForwardValueIterator=e;var n=function(){function t(t){this._node=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node)},t.prototype.next=function(){if(this._node){var t=this._node;return this._node=t.prev,t.value}},t}();t.RetroValueIterator=n;var i=function(){function t(t){this._node=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node)},t.prototype.next=function(){if(this._node){var t=this._node;return this._node=t.next,t}},t}();t.ForwardNodeIterator=i;var r=function(){function t(t){this._node=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node)},t.prototype.next=function(){if(this._node){var t=this._node;return this._node=t.prev,t}},t}();t.RetroNodeIterator=r}(H||(H={})),function(t){t.LinkedListNode=function(t,e){this.list=null,this.next=null,this.prev=null,this.list=t,this.value=e}}(P||(P={}));var R,W,F,q,$,U,V,K,X,Y,J,G,Q,Z,tt,et,nt,it,rt,st,ot=function(t,e){return ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},ot(t,e)};function*at(){}function lt(t,e){let n=0;for(const i of t)if(e(i,n++))return i}!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}ot(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),Object.defineProperty(e.prototype,"isConflatable",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.conflate=function(t){return!0}}(function(){function t(t){this.type=t}return Object.defineProperty(t.prototype,"isConflatable",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.conflate=function(t){return!1},t}()),function(t){function e(t,e){var n=i.get(t);if(n&&0!==n.length){var r,o=function(n,i){for(var r,o=S(n);void 0!==(r=o.next());)if((a=r)&&!function(t,e,n){var i=!0;try{i="function"==typeof t?t(e,n):t.messageHook(e,n)}catch(t){s(t)}return i}(a,t,e))return!1;var a;return!0}("function"==typeof(r=n).retro?r.retro():new T(r));o&&c(t,e)}else c(t,e)}t.sendMessage=e,t.postMessage=function(t,e){e.isConflatable&&function(n,i){for(var r,s=S(n);void 0!==(r=s.next());)if((o=r).handler===t&&o.msg&&o.msg.type===e.type&&o.msg.isConflatable&&o.msg.conflate(e))return!0;var o;return!1}(n)||function(t,e){n.addLast({handler:t,msg:e}),0===o&&(o=l(u))}(t,e)},t.installMessageHook=function(t,e){var n=i.get(t);n&&-1!==n.indexOf(e)||(n?n.push(e):i.set(t,[e]))},t.removeMessageHook=function(t,e){var n=i.get(t);if(n){var r=n.indexOf(e);-1!==r&&(n[r]=null,d(n))}},t.clearData=function(t){var e=i.get(t);e&&e.length>0&&(M.fill(e,null),d(e)),function(t,e){for(var n,i=0,r=S(t);void 0!==(n=r.next());)if(!1===e(n,i++))return}(n,(function(e){e.handler===t&&(e.handler=null,e.msg=null)}))},t.flush=function(){a||0===o||(h(o),a=!0,u(),a=!1)},t.getExceptionHandler=function(){return s},t.setExceptionHandler=function(t){var e=s;return s=t,e};var n=new H,i=new WeakMap,r=new Set,s=function(t){console.error(t)},o=0,a=!1,l="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate,h="function"==typeof cancelAnimationFrame?cancelAnimationFrame:clearImmediate;function c(t,e){try{t.processMessage(e)}catch(t){s(t)}}function u(){if(o=0,!n.isEmpty){var t={handler:null,msg:null};for(n.addLast(t);;){var i=n.removeFirst();if(i===t)return;i.handler&&i.msg&&e(i.handler,i.msg)}}}function d(t){0===r.size&&l(f),r.add(t)}function f(){r.forEach(p),r.clear()}function p(t){M.removeAllWhere(t,m)}function m(t){return null===t}}(R||(R={})),function(t){function e(t,e,n=0,i=-1){let r,s=t.length;if(0===s)return-1;n=n<0?Math.max(0,n+s):Math.min(n,s-1),r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<n?i+1+(s-n):i-n+1;for(let i=0;i<r;++i){let r=(n+i)%s;if(t[r]===e)return r}return-1}function n(t,e,n=-1,i=0){let r,s=t.length;if(0===s)return-1;r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<(i=i<0?Math.max(0,i+s):Math.min(i,s-1))?n+1+(s-i):n-i+1;for(let i=0;i<r;++i){let r=(n-i+s)%s;if(t[r]===e)return r}return-1}function i(t,e,n=0,i=-1){let r,s=t.length;if(0===s)return-1;n=n<0?Math.max(0,n+s):Math.min(n,s-1),r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<n?i+1+(s-n):i-n+1;for(let i=0;i<r;++i){let r=(n+i)%s;if(e(t[r],r))return r}return-1}function r(t,e,n=-1,i=0){let r,s=t.length;if(0===s)return-1;r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<(i=i<0?Math.max(0,i+s):Math.min(i,s-1))?n+1+(s-i):n-i+1;for(let i=0;i<r;++i){let r=(n-i+s)%s;if(e(t[r],r))return r}return-1}function s(t,e=0,n=-1){let i=t.length;if(!(i<=1))for(e=e<0?Math.max(0,e+i):Math.min(e,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);e<n;){let i=t[e],r=t[n];t[e++]=r,t[n--]=i}}function o(t,e){let n=t.length;if(e<0&&(e+=n),e<0||e>=n)return;let i=t[e];for(let i=e+1;i<n;++i)t[i-1]=t[i];return t.length=n-1,i}t.firstIndexOf=e,t.lastIndexOf=n,t.findFirstIndex=i,t.findLastIndex=r,t.findFirstValue=function(t,e,n=0,r=-1){let s=i(t,e,n,r);return-1!==s?t[s]:void 0},t.findLastValue=function(t,e,n=-1,i=0){let s=r(t,e,n,i);return-1!==s?t[s]:void 0},t.lowerBound=function(t,e,n,i=0,r=-1){let s=t.length;if(0===s)return 0;let o=i=i<0?Math.max(0,i+s):Math.min(i,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-i+1;for(;a>0;){let i=a>>1,r=o+i;n(t[r],e)<0?(o=r+1,a-=i+1):a=i}return o},t.upperBound=function(t,e,n,i=0,r=-1){let s=t.length;if(0===s)return 0;let o=i=i<0?Math.max(0,i+s):Math.min(i,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-i+1;for(;a>0;){let i=a>>1,r=o+i;n(t[r],e)>0?a=i:(o=r+1,a-=i+1)}return o},t.shallowEqual=function(t,e,n){if(t===e)return!0;if(t.length!==e.length)return!1;for(let i=0,r=t.length;i<r;++i)if(n?!n(t[i],e[i]):t[i]!==e[i])return!1;return!0},t.slice=function(t,e={}){let{start:n,stop:i,step:r}=e;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");let s,o=t.length;void 0===n?n=r<0?o-1:0:n<0?n=Math.max(n+o,r<0?-1:0):n>=o&&(n=r<0?o-1:o),void 0===i?i=r<0?-1:o:i<0?i=Math.max(i+o,r<0?-1:0):i>=o&&(i=r<0?o-1:o),s=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);let a=[];for(let e=0;e<s;++e)a[e]=t[n+e*r];return a},t.move=function(t,e,n){let i=t.length;if(i<=1)return;if((e=e<0?Math.max(0,e+i):Math.min(e,i-1))===(n=n<0?Math.max(0,n+i):Math.min(n,i-1)))return;let r=t[e],s=e<n?1:-1;for(let i=e;i!==n;i+=s)t[i]=t[i+s];t[n]=r},t.reverse=s,t.rotate=function(t,e,n=0,i=-1){let r=t.length;if(r<=1)return;if((n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))return;let o=i-n+1;if(e>0?e%=o:e<0&&(e=(e%o+o)%o),0===e)return;let a=n+e;s(t,n,a-1),s(t,a,i),s(t,n,i)},t.fill=function(t,e,n=0,i=-1){let r,s=t.length;if(0!==s){n=n<0?Math.max(0,n+s):Math.min(n,s-1),r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<n?i+1+(s-n):i-n+1;for(let i=0;i<r;++i)t[(n+i)%s]=e}},t.insert=function(t,e,n){let i=t.length;e=e<0?Math.max(0,e+i):Math.min(e,i);for(let n=i;n>e;--n)t[n]=t[n-1];t[e]=n},t.removeAt=o,t.removeFirstOf=function(t,n,i=0,r=-1){let s=e(t,n,i,r);return-1!==s&&o(t,s),s},t.removeLastOf=function(t,e,i=-1,r=0){let s=n(t,e,i,r);return-1!==s&&o(t,s),s},t.removeAllOf=function(t,e,n=0,i=-1){let r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);let s=0;for(let o=0;o<r;++o)n<=i&&o>=n&&o<=i&&t[o]===e||i<n&&(o<=i||o>=n)&&t[o]===e?s++:s>0&&(t[o-s]=t[o]);return s>0&&(t.length=r-s),s},t.removeFirstWhere=function(t,e,n=0,r=-1){let s,a=i(t,e,n,r);return-1!==a&&(s=o(t,a)),{index:a,value:s}},t.removeLastWhere=function(t,e,n=-1,i=0){let s,a=r(t,e,n,i);return-1!==a&&(s=o(t,a)),{index:a,value:s}},t.removeAllWhere=function(t,e,n=0,i=-1){let r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);let s=0;for(let o=0;o<r;++o)n<=i&&o>=n&&o<=i&&e(t[o],o)||i<n&&(o<=i||o>=n)&&e(t[o],o)?s++:s>0&&(t[o-s]=t[o]);return s>0&&(t.length=r-s),s}}(W||(W={})),function(t){t.rangeLength=function(t,e,n){return 0===n?1/0:t>e&&n>0||t<e&&n<0?0:Math.ceil((e-t)/n)}}(F||(F={})),function(t){function e(t,e,n=0){let i=new Array(e.length);for(let r=0,s=n,o=e.length;r<o;++r,++s){if(s=t.indexOf(e[r],s),-1===s)return null;i[r]=s}return i}t.findIndices=e,t.matchSumOfSquares=function(t,n,i=0){let r=e(t,n,i);if(!r)return null;let s=0;for(let t=0,e=r.length;t<e;++t){let e=r[t]-i;s+=e*e}return{score:s,indices:r}},t.matchSumOfDeltas=function(t,n,i=0){let r=e(t,n,i);if(!r)return null;let s=0,o=i-1;for(let t=0,e=r.length;t<e;++t){let e=r[t];s+=e-o-1,o=e}return{score:s,indices:r}},t.highlight=function(t,e,n){let i=[],r=0,s=0,o=e.length;for(;r<o;){let a=e[r],l=e[r];for(;++r<o&&e[r]===l+1;)l++;s<a&&i.push(t.slice(s,a)),a<l+1&&i.push(n(t.slice(a,l+1))),s=l+1}return s<t.length&&i.push(t.slice(s)),i},t.cmp=function(t,e){return t<e?-1:t>e?1:0}}(q||(q={})),function(t){t.copyText=function(t){const e=document.body,n=i=>{i.preventDefault(),i.stopPropagation(),i.clipboardData.setData("text",t),e.removeEventListener("copy",n,!0)};e.addEventListener("copy",n,!0),document.execCommand("copy")}}($||($={})),function(t){t.boxSizing=function(t){let e=window.getComputedStyle(t),n=parseFloat(e.borderTopWidth)||0,i=parseFloat(e.borderLeftWidth)||0,r=parseFloat(e.borderRightWidth)||0,s=parseFloat(e.borderBottomWidth)||0,o=parseFloat(e.paddingTop)||0,a=parseFloat(e.paddingLeft)||0,l=parseFloat(e.paddingRight)||0,h=parseFloat(e.paddingBottom)||0;return{borderTop:n,borderLeft:i,borderRight:r,borderBottom:s,paddingTop:o,paddingLeft:a,paddingRight:l,paddingBottom:h,horizontalSum:i+a+l+r,verticalSum:n+o+h+s}},t.sizeLimits=function(t){let e=window.getComputedStyle(t),n=parseFloat(e.minWidth)||0,i=parseFloat(e.minHeight)||0,r=parseFloat(e.maxWidth)||1/0,s=parseFloat(e.maxHeight)||1/0;return r=Math.max(n,r),s=Math.max(i,s),{minWidth:n,minHeight:i,maxWidth:r,maxHeight:s}},t.hitTest=function(t,e,n){let i=t.getBoundingClientRect();return e>=i.left&&e<i.right&&n>=i.top&&n<i.bottom},t.scrollIntoViewIfNeeded=function(t,e){let n=t.getBoundingClientRect(),i=e.getBoundingClientRect();i.top<=n.top&&i.bottom>=n.bottom||(i.top<n.top&&i.height<=n.height||i.bottom>n.bottom&&i.height>=n.height?t.scrollTop-=n.top-i.top:(i.top<n.top&&i.height>n.height||i.bottom>n.bottom&&i.height<n.height)&&(t.scrollTop-=n.bottom-i.bottom))}}(U||(U={})),function(t){t.IS_MAC=!!navigator.platform.match(/Mac/i),t.IS_WIN=!!navigator.platform.match(/Win/i),t.IS_IE=/Trident/.test(navigator.userAgent),t.IS_EDGE=/Edge/.test(navigator.userAgent),t.accelKey=function(e){return t.IS_MAC?e.metaKey:e.ctrlKey}}(V||(V={})),function(t){t.calculateSpecificity=function(t){if(t in X.specificityCache)return X.specificityCache[t];let e=X.calculateSingle(t);return X.specificityCache[t]=e},t.isValid=function(t){if(t in X.validityCache)return X.validityCache[t];let e=!0;try{X.testElem.querySelector(t)}catch(t){e=!1}return X.validityCache[t]=e},t.matches=function(t,e){return X.protoMatchFunc.call(t,e)}}(K||(K={})),function(t){t.specificityCache=Object.create(null),t.validityCache=Object.create(null),t.testElem=document.createElement("div"),t.protoMatchFunc=(()=>{let t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector||function(t){let e=this,n=e.ownerDocument?e.ownerDocument.querySelectorAll(t):[];return-1!==Array.prototype.indexOf.call(n,e)}})(),t.calculateSingle=function(t){let h=0,c=0,u=0;function d(e){let n=t.match(e);return null!==n&&(t=t.slice(n[0].length),!0)}for(t=(t=t.split(",",1)[0]).replace(l," $1 ");t.length>0;)if(d(e))h++;else if(d(n))c++;else if(d(i))c++;else if(d(s))u++;else if(d(o))c++;else if(d(r))u++;else if(!d(a))return 0;return h=Math.min(h,255),c=Math.min(c,255),u=Math.min(u,255),h<<16|c<<8|u};const e=/^#[^\s\+>~#\.\[:]+/,n=/^\.[^\s\+>~#\.\[:]+/,i=/^\[[^\]]+\]/,r=/^[^\s\+>~#\.\[:]+/,s=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,o=/^:[^\s\+>~#\.\[:]+/,a=/^[\s\+>~\*]+/,l=/:not\(([^\)]+)\)/g}(X||(X={}));class ht{constructor(){this._first=null,this._last=null,this._size=0}get isEmpty(){return 0===this._size}get size(){return this._size}get length(){return this._size}get first(){return this._first?this._first.value:void 0}get last(){return this._last?this._last.value:void 0}get firstNode(){return this._first}get lastNode(){return this._last}*[Symbol.iterator](){let t=this._first;for(;t;)yield t.value,t=t.next}*retro(){let t=this._last;for(;t;)yield t.value,t=t.prev}*nodes(){let t=this._first;for(;t;)yield t,t=t.next}*retroNodes(){let t=this._last;for(;t;)yield t,t=t.prev}assign(t){this.clear();for(const e of t)this.addLast(e)}push(t){this.addLast(t)}pop(){return this.removeLast()}shift(t){this.addFirst(t)}unshift(){return this.removeFirst()}addFirst(t){let e=new Y.LinkedListNode(this,t);return this._first?(e.next=this._first,this._first.prev=e,this._first=e):(this._first=e,this._last=e),this._size++,e}addLast(t){let e=new Y.LinkedListNode(this,t);return this._last?(e.prev=this._last,this._last.next=e,this._last=e):(this._first=e,this._last=e),this._size++,e}insertBefore(t,e){if(!e||e===this._first)return this.addFirst(t);if(!(e instanceof Y.LinkedListNode)||e.list!==this)throw new Error("Reference node is not owned by the list.");let n=new Y.LinkedListNode(this,t),i=e,r=i.prev;return n.next=i,n.prev=r,i.prev=n,r.next=n,this._size++,n}insertAfter(t,e){if(!e||e===this._last)return this.addLast(t);if(!(e instanceof Y.LinkedListNode)||e.list!==this)throw new Error("Reference node is not owned by the list.");let n=new Y.LinkedListNode(this,t),i=e,r=i.next;return n.next=r,n.prev=i,i.next=n,r.prev=n,this._size++,n}removeFirst(){let t=this._first;if(t)return t===this._last?(this._first=null,this._last=null):(this._first=t.next,this._first.prev=null),t.list=null,t.next=null,t.prev=null,this._size--,t.value}removeLast(){let t=this._last;if(t)return t===this._first?(this._first=null,this._last=null):(this._last=t.prev,this._last.next=null),t.list=null,t.next=null,t.prev=null,this._size--,t.value}removeNode(t){if(!(t instanceof Y.LinkedListNode)||t.list!==this)throw new Error("Node is not owned by the list.");let e=t;e===this._first&&e===this._last?(this._first=null,this._last=null):e===this._first?(this._first=e.next,this._first.prev=null):e===this._last?(this._last=e.prev,this._last.next=null):(e.next.prev=e.prev,e.prev.next=e.next),e.list=null,e.next=null,e.prev=null,this._size--}clear(){let t=this._first;for(;t;){let e=t.next;t.list=null,t.prev=null,t.next=null,t=e}this._first=null,this._last=null,this._size=0}}!function(t){t.from=function(e){let n=new t;return n.assign(e),n}}(ht||(ht={})),function(t){t.LinkedListNode=class{constructor(t,e){this.list=null,this.next=null,this.prev=null,this.list=t,this.value=e}}}(Y||(Y={}));class ct{constructor(t){this.type=t}get isConflatable(){return!1}conflate(t){return!1}}class ut extends ct{get isConflatable(){return!0}conflate(t){return!0}}!function(t){let e=null;const n=(i=Promise.resolve(),t=>{let e=!1;return i.then((()=>!e&&t())),()=>{e=!0}});var i;function r(t,e){let n=o.get(t);if(!n||0===n.length)return void c(t,e);let i=function(t,e){let n=0;for(const i of t)if(!1===e(i,n++))return!1;return!0}(function*(t){if("function"==typeof t.retro)yield*t.retro();else for(let e=t.length-1;e>-1;e--)yield t[e]}(n),(n=>!n||function(t,e,n){let i=!0;try{i="function"==typeof t?t(e,n):t.messageHook(e,n)}catch(t){l(t)}return i}(n,t,e)));i&&c(t,e)}t.sendMessage=r,t.postMessage=function(t,e){e.isConflatable&&function(n,i){for(const i of n)if((r=i).handler===t&&r.msg&&r.msg.type===e.type&&r.msg.isConflatable&&r.msg.conflate(e))return!0;var r;return!1}(s)||u(t,e)},t.installMessageHook=function(t,e){let n=o.get(t);n&&-1!==n.indexOf(e)||(n?n.push(e):o.set(t,[e]))},t.removeMessageHook=function(t,e){let n=o.get(t);if(!n)return;let i=n.indexOf(e);-1!==i&&(n[i]=null,f(n))},t.clearData=function(t){let e=o.get(t);e&&e.length>0&&(W.fill(e,null),f(e));for(const e of s)e.handler===t&&(e.handler=null,e.msg=null)},t.flush=function(){h||null===e||(e(),e=null,h=!0,d(),h=!1)},t.getExceptionHandler=function(){return l},t.setExceptionHandler=function(t){let e=l;return l=t,e};const s=new ht,o=new WeakMap,a=new Set;let l=t=>{console.error(t)},h=!1;function c(t,e){try{t.processMessage(e)}catch(t){l(t)}}function u(t,i){s.addLast({handler:t,msg:i}),null===e&&(e=n(d))}function d(){if(e=null,s.isEmpty)return;let t={handler:null,msg:null};for(s.addLast(t);;){let e=s.removeFirst();if(e===t)return;e.handler&&e.msg&&r(e.handler,e.msg)}}function f(t){0===a.size&&n(p),a.add(t)}function p(){a.forEach(m),a.clear()}function m(t){W.removeAllWhere(t,g)}function g(t){return null===t}}(J||(J={}));class dt{constructor(t){this._pid=G.nextPID(),this.name=t.name,this._create=t.create,this._coerce=t.coerce||null,this._compare=t.compare||null,this._changed=t.changed||null}get(t){let e,n=G.ensureMap(t);return e=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(t),e}set(t,e){let n,i=G.ensureMap(t);n=this._pid in i?i[this._pid]:i[this._pid]=this._createValue(t);let r=this._coerceValue(t,e);this._maybeNotify(t,n,i[this._pid]=r)}coerce(t){let e,n=G.ensureMap(t);e=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(t);let i=this._coerceValue(t,e);this._maybeNotify(t,e,n[this._pid]=i)}_createValue(t){return(0,this._create)(t)}_coerceValue(t,e){let n=this._coerce;return n?n(t,e):e}_compareValue(t,e){let n=this._compare;return n?n(t,e):t===e}_maybeNotify(t,e,n){let i=this._changed;i&&!this._compareValue(e,n)&&i(t,e,n)}}!function(t){t.clearData=function(t){G.ownerData.delete(t)}}(dt||(dt={})),function(t){t.ownerData=new WeakMap,t.nextPID=(()=>{let t=0;return()=>`pid-${`${Math.random()}`.slice(2)}-${t++}`})(),t.ensureMap=function(e){let n=t.ownerData.get(e);return n||(n=Object.create(null),t.ownerData.set(e,n),n)}}(G||(G={}));class ft{constructor(t){this.sender=t}connect(t,e){return Q.connect(this,t,e)}disconnect(t,e){return Q.disconnect(this,t,e)}emit(t){Q.emit(this,t)}}(st=ft||(ft={})).disconnectBetween=function(t,e){Q.disconnectBetween(t,e)},st.disconnectSender=function(t){Q.disconnectSender(t)},st.disconnectReceiver=function(t){Q.disconnectReceiver(t)},st.disconnectAll=function(t){Q.disconnectAll(t)},st.clearData=function(t){Q.disconnectAll(t)},st.getExceptionHandler=function(){return Q.exceptionHandler},st.setExceptionHandler=function(t){let e=Q.exceptionHandler;return Q.exceptionHandler=t,e},Symbol.asyncIterator,function(t){function e(t){let e=i.get(t);if(e&&0!==e.length){for(const t of e){if(!t.signal)continue;let e=t.thisArg||t.slot;t.signal=null,h(r.get(e))}h(e)}}function n(t){let e=r.get(t);if(e&&0!==e.length){for(const t of e){if(!t.signal)continue;let e=t.signal.sender;t.signal=null,h(i.get(e))}h(e)}}t.exceptionHandler=t=>{console.error(t)},t.connect=function(t,e,n){n=n||void 0;let s=i.get(t.sender);if(s||(s=[],i.set(t.sender,s)),a(s,t,e,n))return!1;let o=n||e,l=r.get(o);l||(l=[],r.set(o,l));let h={signal:t,slot:e,thisArg:n};return s.push(h),l.push(h),!0},t.disconnect=function(t,e,n){n=n||void 0;let s=i.get(t.sender);if(!s||0===s.length)return!1;let o=a(s,t,e,n);if(!o)return!1;let l=n||e,c=r.get(l);return o.signal=null,h(s),h(c),!0},t.disconnectBetween=function(t,e){let n=i.get(t);if(!n||0===n.length)return;let s=r.get(e);if(s&&0!==s.length){for(const e of s)e.signal&&e.signal.sender===t&&(e.signal=null);h(n),h(s)}},t.disconnectSender=e,t.disconnectReceiver=n,t.disconnectAll=function(t){e(t),n(t)},t.emit=function(t,e){let n=i.get(t.sender);if(n&&0!==n.length)for(let i=0,r=n.length;i<r;++i){let r=n[i];r.signal===t&&l(r,e)}};const i=new WeakMap,r=new WeakMap,s=new Set,o="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate;function a(t,e,n,i){return lt(t,(t=>t.signal===e&&t.slot===n&&t.thisArg===i))}function l(e,n){let{signal:i,slot:r,thisArg:s}=e;try{r.call(s,i.sender,n)}catch(e){t.exceptionHandler(e)}}function h(t){0===s.size&&o(c),s.add(t)}function c(){s.forEach(u),s.clear()}function u(t){W.removeAllWhere(t,d)}function d(t){return null===t.signal}}(Q||(Q={}));class pt{constructor(t){this._fn=t}get isDisposed(){return!this._fn}dispose(){if(!this._fn)return;let t=this._fn;this._fn=null,t()}}class mt{constructor(){this._isDisposed=!1,this._items=new Set}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,this._items.forEach((t=>{t.dispose()})),this._items.clear())}contains(t){return this._items.has(t)}add(t){this._items.add(t)}remove(t){this._items.delete(t)}clear(){this._items.clear()}}!function(t){t.from=function(e){let n=new t;for(const t of e)n.add(t);return n}}(mt||(mt={}));class gt extends mt{constructor(){super(...arguments),this._disposed=new ft(this)}get disposed(){return this._disposed}dispose(){this.isDisposed||(super.dispose(),this._disposed.emit(void 0),ft.clearData(this))}}!function(t){t.from=function(e){let n=new t;for(const t of e)n.add(t);return n}}(gt||(gt={}));class vt{constructor(t){this._onScrollFrame=()=>{if(!this._scrollTarget)return;let{element:t,edge:e,distance:n}=this._scrollTarget,i=Z.SCROLL_EDGE_SIZE-n,r=Math.pow(i/Z.SCROLL_EDGE_SIZE,2),s=Math.max(1,Math.round(r*Z.SCROLL_EDGE_SIZE));switch(e){case"top":t.scrollTop-=s;break;case"left":t.scrollLeft-=s;break;case"right":t.scrollLeft+=s;break;case"bottom":t.scrollTop+=s}requestAnimationFrame(this._onScrollFrame)},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=t.document||document,this.mimeData=t.mimeData,this.dragImage=t.dragImage||null,this.proposedAction=t.proposedAction||"copy",this.supportedActions=t.supportedActions||"all",this.source=t.source||null}dispose(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){let t=new PointerEvent("pointerup",{bubbles:!0,cancelable:!0,clientX:-1,clientY:-1});Z.dispatchDragLeave(this,this._currentTarget,null,t)}this._finalize("none")}}get isDisposed(){return this._disposed}start(t,e){if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(t,e),this._promise=new Promise((t=>{this._resolve=t}));let n=new PointerEvent("pointermove",{bubbles:!0,cancelable:!0,clientX:t,clientY:e});return document.dispatchEvent(n),this._promise}handleEvent(t){switch(t.type){case"pointermove":this._evtPointerMove(t);break;case"pointerup":this._evtPointerUp(t);break;case"keydown":this._evtKeyDown(t);break;default:t.preventDefault(),t.stopPropagation()}}moveDragImage(t,e){this.dragImage&&(this.dragImage.style.transform=`translate(${t}px, ${e}px)`)}_evtPointerMove(t){t.preventDefault(),t.stopPropagation(),this._updateCurrentTarget(t),this._updateDragScroll(t),this.moveDragImage(t.clientX,t.clientY)}_evtPointerUp(t){if(t.preventDefault(),t.stopPropagation(),0!==t.button)return;if(this._updateCurrentTarget(t),!this._currentTarget)return void this._finalize("none");if("none"===this._dropAction)return Z.dispatchDragLeave(this,this._currentTarget,null,t),void this._finalize("none");let e=Z.dispatchDrop(this,this._currentTarget,t);this._finalize(e)}_evtKeyDown(t){t.preventDefault(),t.stopPropagation(),27===t.keyCode&&this.dispose()}_addListeners(){document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)}_removeListeners(){document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)}_updateDragScroll(t){let e=Z.findScrollTarget(t);(this._scrollTarget||e)&&(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=e)}_updateCurrentTarget(t){let e=this._currentTarget,n=this._currentTarget,i=this._currentElement,r=Z.findElementBehindBackdrop(t,this.document);this._currentElement=r,r!==i&&r!==n&&Z.dispatchDragExit(this,n,r,t),r!==i&&r!==n&&(n=Z.dispatchDragEnter(this,r,n,t)),n!==e&&(this._currentTarget=n,Z.dispatchDragLeave(this,e,n,t));let s=Z.dispatchDragOver(this,n,t);this._setDropAction(s)}_attachDragImage(t,e){if(!this.dragImage)return;this.dragImage.classList.add("lm-mod-drag-image");let n=this.dragImage.style;n.pointerEvents="none",n.position="fixed",n.transform=`translate(${t}px, ${e}px)`,(this.document instanceof Document?this.document.body:this.document.firstElementChild).appendChild(this.dragImage)}_detachDragImage(){if(!this.dragImage)return;let t=this.dragImage.parentNode;t&&t.removeChild(this.dragImage)}_setDropAction(t){if(t=Z.validateAction(t,this.supportedActions),!this._override||this._dropAction!==t)switch(t){case"none":this._dropAction=t,this._override=vt.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=t,this._override=vt.overrideCursor("copy",this.document);break;case"link":this._dropAction=t,this._override=vt.overrideCursor("alias",this.document);break;case"move":this._dropAction=t,this._override=vt.overrideCursor("move",this.document)}}_finalize(t){let e=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,e&&e(t)}}function _t(){return xt.keyboardLayout}!function(t){class e extends DragEvent{constructor(t,e){super(e.type,{bubbles:!0,cancelable:!0,altKey:t.altKey,button:t.button,clientX:t.clientX,clientY:t.clientY,ctrlKey:t.ctrlKey,detail:0,metaKey:t.metaKey,relatedTarget:e.related,screenX:t.screenX,screenY:t.screenY,shiftKey:t.shiftKey,view:window});const{drag:n}=e;this.dropAction="none",this.mimeData=n.mimeData,this.proposedAction=n.proposedAction,this.supportedActions=n.supportedActions,this.source=n.source}}t.Event=e,t.overrideCursor=function(t,e=document){return Z.overrideCursor(t,e)}}(vt||(vt={})),function(t){function e(e,r=document){if(e){if(n&&e==n.event)return n.element;t.cursorBackdrop.style.zIndex="-1000";const i=r.elementFromPoint(e.clientX,e.clientY);return t.cursorBackdrop.style.zIndex="",n={event:e,element:i},i}{const e=t.cursorBackdrop.style.transform;if(i&&e===i.transform)return i.element;const n=t.cursorBackdrop.getBoundingClientRect();t.cursorBackdrop.style.zIndex="-1000";const s=r.elementFromPoint(n.left+n.width/2,n.top+n.height/2);return t.cursorBackdrop.style.zIndex="",i={transform:e,element:s},s}}t.SCROLL_EDGE_SIZE=20,t.validateAction=function(t,e){return r[t]&s[e]?t:"none"},t.findElementBehindBackdrop=e;let n=null,i=null;t.findScrollTarget=function(n){let i=n.clientX,r=n.clientY,s=e(n);for(;s;s=s.parentElement){if(!s.hasAttribute("data-lm-dragscroll"))continue;let e=0,n=0;s===document.body&&(e=window.pageXOffset,n=window.pageYOffset);let o=s.getBoundingClientRect(),a=o.top+n,l=o.left+e,h=l+o.width,c=a+o.height;if(i<l||i>=h||r<a||r>=c)continue;let u,d=i-l+1,f=r-a+1,p=h-i,m=c-r,g=Math.min(d,f,p,m);if(g>t.SCROLL_EDGE_SIZE)continue;switch(g){case m:u="bottom";break;case f:u="top";break;case p:u="right";break;case d:u="left";break;default:throw"unreachable"}let v,_=s.scrollWidth-s.clientWidth,y=s.scrollHeight-s.clientHeight;switch(u){case"top":v=y>0&&s.scrollTop>0;break;case"left":v=_>0&&s.scrollLeft>0;break;case"right":v=_>0&&s.scrollLeft<_;break;case"bottom":v=y>0&&s.scrollTop<y;break;default:throw"unreachable"}if(v)return{element:s,edge:u,distance:g}}return null},t.dispatchDragEnter=function(t,e,n,i){if(!e)return null;let r=new vt.Event(i,{drag:t,related:n,type:"lm-dragenter"});if(!e.dispatchEvent(r))return e;const s=t.document instanceof Document?t.document.body:t.document.firstElementChild;return e===s?n:(r=new vt.Event(i,{drag:t,related:n,type:"lm-dragenter"}),s.dispatchEvent(r),s)},t.dispatchDragExit=function(t,e,n,i){if(!e)return;let r=new vt.Event(i,{drag:t,related:n,type:"lm-dragexit"});e.dispatchEvent(r)},t.dispatchDragLeave=function(t,e,n,i){if(!e)return;let r=new vt.Event(i,{drag:t,related:n,type:"lm-dragleave"});e.dispatchEvent(r)},t.dispatchDragOver=function(t,e,n){if(!e)return"none";let i=new vt.Event(n,{drag:t,related:null,type:"lm-dragover"});return e.dispatchEvent(i)?"none":i.dropAction},t.dispatchDrop=function(t,e,n){if(!e)return"none";let i=new vt.Event(n,{drag:t,related:null,type:"lm-drop"});return e.dispatchEvent(i)?"none":i.dropAction};const r={none:0,copy:1,link:2,move:4},s={none:r.none,copy:r.copy,link:r.link,move:r.move,"copy-link":r.copy|r.link,"copy-move":r.copy|r.move,"link-move":r.link|r.move,all:r.copy|r.link|r.move};function o(e){t.cursorBackdrop&&(t.cursorBackdrop.style.transform=`translate(${e.clientX}px, ${e.clientY}px)`)}function a(n){if(!t.cursorBackdrop)return;let i=e();if(!i)return;const r=i.closest("[data-lm-dragscroll]");r&&(r.scrollTop+=t.cursorBackdrop.scrollTop-h,r.scrollLeft+=t.cursorBackdrop.scrollLeft-h,l())}function l(){t.cursorBackdrop.scrollTop=h,t.cursorBackdrop.scrollLeft=h}t.overrideCursor=function(e,n=document){let i=++c;const r=n instanceof Document?n.body:n.firstElementChild;return t.cursorBackdrop.isConnected||(t.cursorBackdrop.style.transform="scale(0)",r.appendChild(t.cursorBackdrop),l(),document.addEventListener("pointermove",o,{capture:!0,passive:!0}),t.cursorBackdrop.addEventListener("scroll",a,{capture:!0,passive:!0})),t.cursorBackdrop.style.cursor=e,new pt((()=>{i===c&&t.cursorBackdrop.isConnected&&(document.removeEventListener("pointermove",o,!0),t.cursorBackdrop.removeEventListener("scroll",a,!0),r.removeChild(t.cursorBackdrop))}))};const h=500;let c=0;t.cursorBackdrop=function(){const t=document.createElement("div");return t.classList.add("lm-cursor-backdrop"),t}()}(Z||(Z={})),function(t){t.copyText=function(t){const e=document.body,n=i=>{i.preventDefault(),i.stopPropagation(),i.clipboardData.setData("text",t),e.removeEventListener("copy",n,!0)};e.addEventListener("copy",n,!0),document.execCommand("copy")}}(tt||(tt={})),function(t){t.boxSizing=function(t){let e=window.getComputedStyle(t),n=parseFloat(e.borderTopWidth)||0,i=parseFloat(e.borderLeftWidth)||0,r=parseFloat(e.borderRightWidth)||0,s=parseFloat(e.borderBottomWidth)||0,o=parseFloat(e.paddingTop)||0,a=parseFloat(e.paddingLeft)||0,l=parseFloat(e.paddingRight)||0,h=parseFloat(e.paddingBottom)||0;return{borderTop:n,borderLeft:i,borderRight:r,borderBottom:s,paddingTop:o,paddingLeft:a,paddingRight:l,paddingBottom:h,horizontalSum:i+a+l+r,verticalSum:n+o+h+s}},t.sizeLimits=function(t){let e=window.getComputedStyle(t),n=parseFloat(e.minWidth)||0,i=parseFloat(e.minHeight)||0,r=parseFloat(e.maxWidth)||1/0,s=parseFloat(e.maxHeight)||1/0;return r=Math.max(n,r),s=Math.max(i,s),{minWidth:n,minHeight:i,maxWidth:r,maxHeight:s}},t.hitTest=function(t,e,n){let i=t.getBoundingClientRect();return e>=i.left&&e<i.right&&n>=i.top&&n<i.bottom},t.scrollIntoViewIfNeeded=function(t,e){let n=t.getBoundingClientRect(),i=e.getBoundingClientRect();i.top<=n.top&&i.bottom>=n.bottom||(i.top<n.top&&i.height<=n.height||i.bottom>n.bottom&&i.height>=n.height?t.scrollTop-=n.top-i.top:(i.top<n.top&&i.height>n.height||i.bottom>n.bottom&&i.height<n.height)&&(t.scrollTop-=n.bottom-i.bottom))}}(et||(et={})),function(t){t.IS_MAC=!!navigator.platform.match(/Mac/i),t.IS_WIN=!!navigator.platform.match(/Win/i),t.IS_IE=/Trident/.test(navigator.userAgent),t.IS_EDGE=/Edge/.test(navigator.userAgent),t.accelKey=function(e){return t.IS_MAC?e.metaKey:e.ctrlKey}}(nt||(nt={})),function(t){t.calculateSpecificity=function(t){if(t in rt.specificityCache)return rt.specificityCache[t];let e=rt.calculateSingle(t);return rt.specificityCache[t]=e},t.isValid=function(t){if(t in rt.validityCache)return rt.validityCache[t];let e=!0;try{rt.testElem.querySelector(t)}catch(t){e=!1}return rt.validityCache[t]=e},t.matches=function(t,e){return rt.protoMatchFunc.call(t,e)}}(it||(it={})),function(t){t.specificityCache=Object.create(null),t.validityCache=Object.create(null),t.testElem=document.createElement("div"),t.protoMatchFunc=(()=>{let t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector||function(t){let e=this,n=e.ownerDocument?e.ownerDocument.querySelectorAll(t):[];return-1!==Array.prototype.indexOf.call(n,e)}})(),t.calculateSingle=function(t){let h=0,c=0,u=0;function d(e){let n=t.match(e);return null!==n&&(t=t.slice(n[0].length),!0)}for(t=(t=t.split(",",1)[0]).replace(l," $1 ");t.length>0;)if(d(e))h++;else if(d(n))c++;else if(d(i))c++;else if(d(s))u++;else if(d(o))c++;else if(d(r))u++;else if(!d(a))return 0;return h=Math.min(h,255),c=Math.min(c,255),u=Math.min(u,255),h<<16|c<<8|u};const e=/^#[^\s\+>~#\.\[:]+/,n=/^\.[^\s\+>~#\.\[:]+/,i=/^\[[^\]]+\]/,r=/^[^\s\+>~#\.\[:]+/,s=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,o=/^:[^\s\+>~#\.\[:]+/,a=/^[\s\+>~\*]+/,l=/:not\(([^\)]+)\)/g}(rt||(rt={}));class yt{constructor(t,e,n=[]){this.name=t,this._codes=e,this._keys=yt.extractKeys(e),this._modifierKeys=yt.convertToKeySet(n)}keys(){return Object.keys(this._keys)}isValidKey(t){return t in this._keys}isModifierKey(t){return t in this._modifierKeys}keyForKeydownEvent(t){return this._codes[t.keyCode]||""}}!function(t){t.extractKeys=function(t){let e=Object.create(null);for(let n in t)e[t[n]]=!0;return e},t.convertToKeySet=function(t){let e=Object(null);for(let n=0,i=t.length;n<i;++n)e[t[n]]=!0;return e}}(yt||(yt={}));const bt=new yt("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);var xt,wt,Mt,St,Et,Ct,At,kt;!function(t){t.keyboardLayout=bt}(xt||(xt={}));class Tt{constructor(){this._timerID=0,this._replaying=!1,this._keystrokes=[],this._keydownEvents=[],this._keyBindings=[],this._exactKeyMatch=null,this._commands=new Map,this._commandChanged=new ft(this),this._commandExecuted=new ft(this),this._keyBindingChanged=new ft(this),this._holdKeyBindingPromises=new Map}get commandChanged(){return this._commandChanged}get commandExecuted(){return this._commandExecuted}get keyBindingChanged(){return this._keyBindingChanged}get keyBindings(){return this._keyBindings}listCommands(){return Array.from(this._commands.keys())}hasCommand(t){return this._commands.has(t)}addCommand(t,e){if(this._commands.has(t))throw new Error(`Command '${t}' already registered.`);return this._commands.set(t,wt.createCommand(e)),this._commandChanged.emit({id:t,type:"added"}),new pt((()=>{this._commands.delete(t),this._commandChanged.emit({id:t,type:"removed"})}))}notifyCommandChanged(t){if(void 0!==t&&!this._commands.has(t))throw new Error(`Command '${t}' is not registered.`);this._commandChanged.emit({id:t,type:t?"changed":"many-changed"})}describedBy(e,n=t.JSONExt.emptyObject){var i;let r=this._commands.get(e);return Promise.resolve(null!==(i=null==r?void 0:r.describedBy.call(void 0,n))&&void 0!==i?i:{args:null})}label(e,n=t.JSONExt.emptyObject){var i;let r=this._commands.get(e);return null!==(i=null==r?void 0:r.label.call(void 0,n))&&void 0!==i?i:""}mnemonic(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.mnemonic.call(void 0,n):-1}icon(e,n=t.JSONExt.emptyObject){var i;return null===(i=this._commands.get(e))||void 0===i?void 0:i.icon.call(void 0,n)}iconClass(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.iconClass.call(void 0,n):""}iconLabel(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.iconLabel.call(void 0,n):""}caption(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.caption.call(void 0,n):""}usage(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.usage.call(void 0,n):""}className(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.className.call(void 0,n):""}dataset(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.dataset.call(void 0,n):{}}isEnabled(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return!!i&&i.isEnabled.call(void 0,n)}isToggled(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return!!i&&i.isToggled.call(void 0,n)}isToggleable(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return!!i&&i.isToggleable}isVisible(e,n=t.JSONExt.emptyObject){let i=this._commands.get(e);return!!i&&i.isVisible.call(void 0,n)}execute(e,n=t.JSONExt.emptyObject){let i,r=this._commands.get(e);if(!r)return Promise.reject(new Error(`Command '${e}' not registered.`));try{i=r.execute.call(void 0,n)}catch(t){i=Promise.reject(t)}let s=Promise.resolve(i);return this._commandExecuted.emit({id:e,args:n,result:s}),s}addKeyBinding(t){let e=wt.createKeyBinding(t);return this._keyBindings.push(e),this._keyBindingChanged.emit({binding:e,type:"added"}),new pt((()=>{W.removeFirstOf(this._keyBindings,e),this._keyBindingChanged.emit({binding:e,type:"removed"})}))}processKeydownEvent(t){if(t.defaultPrevented||this._replaying||Tt.isModifierKeyPressed(t))return;const e=Tt.keystrokeForKeydownEvent(t);if(!e)return this._replayKeydownEvents(),void this._clearPendingState();this._keystrokes.push(e);const{exact:n,partial:i}=wt.matchKeyBinding(this._keyBindings,this._keystrokes,t),r=0!==i.length;return n||r?(((null==n?void 0:n.preventDefault)||i.some((t=>t.preventDefault)))&&(t.preventDefault(),t.stopPropagation()),this._keydownEvents.push(t),n&&!r?(this._executeKeyBinding(n),void this._clearPendingState()):(n&&(this._exactKeyMatch=n),void this._startTimer())):(this._replayKeydownEvents(),void this._clearPendingState())}holdKeyBindingExecution(t,e){this._holdKeyBindingPromises.set(t,e)}_startTimer(){this._clearTimer(),this._timerID=window.setTimeout((()=>{this._onPendingTimeout()}),wt.CHORD_TIMEOUT)}_clearTimer(){0!==this._timerID&&(clearTimeout(this._timerID),this._timerID=0)}_replayKeydownEvents(){0!==this._keydownEvents.length&&(this._replaying=!0,this._keydownEvents.forEach(wt.replayKeyEvent),this._replaying=!1)}async _executeKeyBinding(t){if(0!==this._holdKeyBindingPromises.size){const t=[...this._keydownEvents],e=(await Promise.race([Promise.all(t.map((async t=>{var e;return null!==(e=this._holdKeyBindingPromises.get(t))&&void 0!==e?e:Promise.resolve(!0)}))),new Promise((t=>{setTimeout((()=>t([!1])),wt.KEYBINDING_HOLD_TIMEOUT)}))])).every(Boolean);if(this._holdKeyBindingPromises.clear(),!e)return}let{command:e,args:n}=t,i={_luminoEvent:{type:"keybinding",keys:t.keys},...n};if(this.hasCommand(e)&&this.isEnabled(e,i))await this.execute(e,i);else{let n=this.hasCommand(e)?"enabled":"registered",i=`Cannot execute key binding '${t.keys.join(", ")}':`,r=`command '${e}' is not ${n}.`;console.warn(`${i} ${r}`)}}_clearPendingState(){this._clearTimer(),this._exactKeyMatch=null,this._keystrokes.length=0,this._keydownEvents.length=0}_onPendingTimeout(){this._timerID=0,this._exactKeyMatch?this._executeKeyBinding(this._exactKeyMatch):this._replayKeydownEvents(),this._clearPendingState()}}!function(t){function e(t){let e="",n=!1,i=!1,r=!1,s=!1;for(let o of t.split(/\s+/))"Accel"===o?nt.IS_MAC?i=!0:r=!0:"Alt"===o?n=!0:"Cmd"===o?i=!0:"Ctrl"===o?r=!0:"Shift"===o?s=!0:o.length>0&&(e=o);return{cmd:i,ctrl:r,alt:n,shift:s,key:e}}function n(t){let n="",i=e(t);return i.ctrl&&(n+="Ctrl "),i.alt&&(n+="Alt "),i.shift&&(n+="Shift "),i.cmd&&nt.IS_MAC&&(n+="Cmd "),n+i.key}t.parseKeystroke=e,t.normalizeKeystroke=n,t.normalizeKeys=function(t){let e;return e=nt.IS_WIN?t.winKeys||t.keys:nt.IS_MAC?t.macKeys||t.keys:t.linuxKeys||t.keys,e.map(n)},t.formatKeystroke=function(t){return"string"==typeof t?n(t):t.map(n).join(", ");function n(t){let n=[],i=nt.IS_MAC?" ":"+",r=e(t);return r.ctrl&&n.push("Ctrl"),r.alt&&n.push("Alt"),r.shift&&n.push("Shift"),nt.IS_MAC&&r.cmd&&n.push("Cmd"),n.push(r.key),n.map(wt.formatKey).join(i)}},t.isModifierKeyPressed=function(t){let e=_t(),n=e.keyForKeydownEvent(t);return e.isModifierKey(n)},t.keystrokeForKeydownEvent=function(t){let e=_t(),n=e.keyForKeydownEvent(t);if(!n||e.isModifierKey(n))return"";let i=[];return t.ctrlKey&&i.push("Ctrl"),t.altKey&&i.push("Alt"),t.shiftKey&&i.push("Shift"),t.metaKey&&nt.IS_MAC&&i.push("Cmd"),i.push(n),i.join(" ")}}(Tt||(Tt={})),function(e){e.CHORD_TIMEOUT=1e3,e.KEYBINDING_HOLD_TIMEOUT=1e3,e.createCommand=function(t){return{execute:t.execute,describedBy:c("function"==typeof t.describedBy?t.describedBy:{args:null,...t.describedBy},(()=>({args:null}))),label:c(t.label,r),mnemonic:c(t.mnemonic,s),icon:c(t.icon,h),iconClass:c(t.iconClass,r),iconLabel:c(t.iconLabel,r),caption:c(t.caption,r),usage:c(t.usage,r),className:c(t.className,r),dataset:c(t.dataset,l),isEnabled:t.isEnabled||o,isToggled:t.isToggled||a,isToggleable:t.isToggleable||!!t.isToggled,isVisible:t.isVisible||o}},e.createKeyBinding=function(e){var n;return{keys:Tt.normalizeKeys(e),selector:u(e),command:e.command,args:e.args||t.JSONExt.emptyObject,preventDefault:null===(n=e.preventDefault)||void 0===n||n}},e.matchKeyBinding=function(t,e,n){let i=null,r=[],s=1/0,o=0;for(let a=0,l=t.length;a<l;++a){let l=t[a],h=d(l.keys,e);if(0===h)continue;if(2===h){-1!==f(l.selector,n)&&r.push(l);continue}let c=f(l.selector,n);if(-1===c||c>s)continue;let u=it.calculateSpecificity(l.selector);(!i||c<s||u>=o)&&(i=l,s=c,o=u)}return{exact:i,partial:r}},e.replayKeyEvent=function(t){t.target.dispatchEvent(function(t){let e=document.createEvent("Event"),n=t.bubbles||!0,i=t.cancelable||!0;return e.initEvent(t.type||"keydown",n,i),e.key=t.key||"",e.keyCode=t.keyCode||0,e.which=t.keyCode||0,e.ctrlKey=t.ctrlKey||!1,e.altKey=t.altKey||!1,e.shiftKey=t.shiftKey||!1,e.metaKey=t.metaKey||!1,e.view=t.view||window,e}(t))},e.formatKey=function(t){return nt.IS_MAC?n.hasOwnProperty(t)?n[t]:t:i.hasOwnProperty(t)?i[t]:t};const n={Backspace:"⌫",Tab:"⇥",Enter:"⏎",Shift:"⇧",Ctrl:"⌃",Alt:"⌥",Escape:"⎋",PageUp:"⇞",PageDown:"⇟",End:"↘",Home:"↖",ArrowLeft:"←",ArrowUp:"↑",ArrowRight:"→",ArrowDown:"↓",Delete:"⌦",Cmd:"⌘"},i={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},r=()=>"",s=()=>-1,o=()=>!0,a=()=>!1,l=()=>({}),h=()=>{};function c(t,e){return void 0===t?e:"function"==typeof t?t:()=>t}function u(t){if(-1!==t.selector.indexOf(","))throw new Error(`Selector cannot contain commas: ${t.selector}`);if(!it.isValid(t.selector))throw new Error(`Invalid selector: ${t.selector}`);return t.selector}function d(t,e){if(t.length<e.length)return 0;for(let n=0,i=e.length;n<i;++n)if(t[n]!==e[n])return 0;return t.length>e.length?2:1}function f(t,e){let n=e.target,i=e.currentTarget;for(let e=0;null!==n;n=n.parentElement,++e){if(n.hasAttribute("data-lm-suppress-shortcuts"))return-1;if(it.matches(n,t))return e;if(n===i)return-1}return-1}}(wt||(wt={}));class It{constructor(t){this.type="text",this.content=t}}class zt{constructor(t,e,n,i){this.type="element",this.tag=t,this.attrs=e,this.children=n,this.renderer=i}}function Lt(t){let e,n={},i=[];for(let t=1,s=arguments.length;t<s;++t){let s=arguments[t];"string"==typeof s?i.push(new It(s)):s instanceof It||s instanceof zt?i.push(s):s instanceof Array?r(i,s):1!==t&&2!==t||!s||"object"!=typeof s||("render"in s?e=s:n=s)}return new zt(t,n,i,e);function r(t,e){for(let n of e)"string"==typeof n?t.push(new It(n)):(n instanceof It||n instanceof zt)&&t.push(n)}}!function(t){t.a=t.bind(void 0,"a"),t.abbr=t.bind(void 0,"abbr"),t.address=t.bind(void 0,"address"),t.area=t.bind(void 0,"area"),t.article=t.bind(void 0,"article"),t.aside=t.bind(void 0,"aside"),t.audio=t.bind(void 0,"audio"),t.b=t.bind(void 0,"b"),t.bdi=t.bind(void 0,"bdi"),t.bdo=t.bind(void 0,"bdo"),t.blockquote=t.bind(void 0,"blockquote"),t.br=t.bind(void 0,"br"),t.button=t.bind(void 0,"button"),t.canvas=t.bind(void 0,"canvas"),t.caption=t.bind(void 0,"caption"),t.cite=t.bind(void 0,"cite"),t.code=t.bind(void 0,"code"),t.col=t.bind(void 0,"col"),t.colgroup=t.bind(void 0,"colgroup"),t.data=t.bind(void 0,"data"),t.datalist=t.bind(void 0,"datalist"),t.dd=t.bind(void 0,"dd"),t.del=t.bind(void 0,"del"),t.dfn=t.bind(void 0,"dfn"),t.div=t.bind(void 0,"div"),t.dl=t.bind(void 0,"dl"),t.dt=t.bind(void 0,"dt"),t.em=t.bind(void 0,"em"),t.embed=t.bind(void 0,"embed"),t.fieldset=t.bind(void 0,"fieldset"),t.figcaption=t.bind(void 0,"figcaption"),t.figure=t.bind(void 0,"figure"),t.footer=t.bind(void 0,"footer"),t.form=t.bind(void 0,"form"),t.h1=t.bind(void 0,"h1"),t.h2=t.bind(void 0,"h2"),t.h3=t.bind(void 0,"h3"),t.h4=t.bind(void 0,"h4"),t.h5=t.bind(void 0,"h5"),t.h6=t.bind(void 0,"h6"),t.header=t.bind(void 0,"header"),t.hr=t.bind(void 0,"hr"),t.i=t.bind(void 0,"i"),t.iframe=t.bind(void 0,"iframe"),t.img=t.bind(void 0,"img"),t.input=t.bind(void 0,"input"),t.ins=t.bind(void 0,"ins"),t.kbd=t.bind(void 0,"kbd"),t.label=t.bind(void 0,"label"),t.legend=t.bind(void 0,"legend"),t.li=t.bind(void 0,"li"),t.main=t.bind(void 0,"main"),t.map=t.bind(void 0,"map"),t.mark=t.bind(void 0,"mark"),t.meter=t.bind(void 0,"meter"),t.nav=t.bind(void 0,"nav"),t.noscript=t.bind(void 0,"noscript"),t.object=t.bind(void 0,"object"),t.ol=t.bind(void 0,"ol"),t.optgroup=t.bind(void 0,"optgroup"),t.option=t.bind(void 0,"option"),t.output=t.bind(void 0,"output"),t.p=t.bind(void 0,"p"),t.param=t.bind(void 0,"param"),t.pre=t.bind(void 0,"pre"),t.progress=t.bind(void 0,"progress"),t.q=t.bind(void 0,"q"),t.rp=t.bind(void 0,"rp"),t.rt=t.bind(void 0,"rt"),t.ruby=t.bind(void 0,"ruby"),t.s=t.bind(void 0,"s"),t.samp=t.bind(void 0,"samp"),t.section=t.bind(void 0,"section"),t.select=t.bind(void 0,"select"),t.small=t.bind(void 0,"small"),t.source=t.bind(void 0,"source"),t.span=t.bind(void 0,"span"),t.strong=t.bind(void 0,"strong"),t.sub=t.bind(void 0,"sub"),t.summary=t.bind(void 0,"summary"),t.sup=t.bind(void 0,"sup"),t.table=t.bind(void 0,"table"),t.tbody=t.bind(void 0,"tbody"),t.td=t.bind(void 0,"td"),t.textarea=t.bind(void 0,"textarea"),t.tfoot=t.bind(void 0,"tfoot"),t.th=t.bind(void 0,"th"),t.thead=t.bind(void 0,"thead"),t.time=t.bind(void 0,"time"),t.title=t.bind(void 0,"title"),t.tr=t.bind(void 0,"tr"),t.track=t.bind(void 0,"track"),t.u=t.bind(void 0,"u"),t.ul=t.bind(void 0,"ul"),t.var_=t.bind(void 0,"var"),t.video=t.bind(void 0,"video"),t.wbr=t.bind(void 0,"wbr")}(Lt||(Lt={})),function(t){t.realize=function(t){return St.createDOMNode(t)},t.render=function(t,e){let n=St.hostMap.get(e)||[],i=St.asContentArray(t);St.hostMap.set(e,i),St.updateContent(e,n,i)}}(Mt||(Mt={})),function(t){function e(t){let n=arguments[1]||null;const r=arguments[2]||null;if(n)n.insertBefore(e(t),r);else{if("text"===t.type)return document.createTextNode(t.content);if(n=document.createElement(t.tag),function(t,e){for(let n in e)n in i||("on"===n.substr(0,2)?t[n]=e[n]:t.setAttribute(n,e[n]));void 0!==e.className&&t.setAttribute("class",e.className),void 0!==e.htmlFor&&t.setAttribute("for",e.htmlFor),e.dataset&&function(t,e){for(let n in e)t.setAttribute(`data-${n}`,e[n])}(t,e.dataset),e.style&&function(t,e){let n,i=t.style;for(n in e)i[n]=e[n]}(t,e.style)}(n,t.attrs),t.renderer)return t.renderer.render(n,{attrs:t.attrs,children:t.children}),n;for(let i=0,r=t.children.length;i<r;++i)e(t.children[i],n)}return n}function n(t,e,i,r){for(let s=e.length-1;s>=i;--s){const i=e[s],o=r?t.lastChild:t.childNodes[s];"text"===i.type||(i.renderer&&i.renderer.unrender?i.renderer.unrender(o,{attrs:i.attrs,children:i.children}):n(o,i.children,0,!1)),r&&t.removeChild(o)}}t.hostMap=new WeakMap,t.asContentArray=function(t){return t?t instanceof Array?t:[t]:[]},t.createDOMNode=e,t.updateContent=function t(i,s,o){if(s===o)return;let a=function(t,e){let n=t.firstChild,i=Object.create(null);for(let t of e)"element"===t.type&&t.attrs.key&&(i[t.attrs.key]={vNode:t,element:n}),n=n.nextSibling;return i}(i,s),l=s.slice(),h=i.firstChild,c=o.length;for(let n=0;n<c;++n){if(n>=l.length){e(o[n],i);continue}let s=l[n],c=o[n];if(s===c){h=h.nextSibling;continue}if("text"===s.type&&"text"===c.type){h.textContent!==c.content&&(h.textContent=c.content),h=h.nextSibling;continue}if("text"===s.type||"text"===c.type){W.insert(l,n,c),e(c,i,h);continue}if(!s.renderer!=!c.renderer){W.insert(l,n,c),e(c,i,h);continue}let u=c.attrs.key;if(u&&u in a){let t=a[u];t.vNode!==s&&(W.move(l,l.indexOf(t.vNode,n+1),n),i.insertBefore(t.element,h),s=t.vNode,h=t.element)}if(s===c){h=h.nextSibling;continue}let d=s.attrs.key;d&&d!==u?(W.insert(l,n,c),e(c,i,h)):s.tag===c.tag?(r(h,s.attrs,c.attrs),c.renderer?c.renderer.render(h,{attrs:c.attrs,children:c.children}):t(h,s.children,c.children),h=h.nextSibling):(W.insert(l,n,c),e(c,i,h))}n(i,l,c,!0)};const i={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function r(t,e,n){if(e===n)return;let r;for(r in e)r in i||r in n||("on"===r.substr(0,2)?t[r]=null:t.removeAttribute(r));for(r in n)r in i||e[r]===n[r]||("on"===r.substr(0,2)?t[r]=n[r]:t.setAttribute(r,n[r]));e.className!==n.className&&(void 0!==n.className?t.setAttribute("class",n.className):t.removeAttribute("class")),e.htmlFor!==n.htmlFor&&(void 0!==n.htmlFor?t.setAttribute("for",n.htmlFor):t.removeAttribute("for")),e.dataset!==n.dataset&&function(t,e,n){for(let i in e)i in n||t.removeAttribute(`data-${i}`);for(let i in n)e[i]!==n[i]&&t.setAttribute(`data-${i}`,n[i])}(t,e.dataset||{},n.dataset||{}),e.style!==n.style&&function(t,e,n){let i,r=t.style;for(i in e)i in n||(r[i]="");for(i in n)e[i]!==n[i]&&(r[i]=n[i])}(t,e.style||{},n.style||{})}}(St||(St={}));class Dt{constructor(){this.sizeHint=0,this.minSize=0,this.maxSize=1/0,this.stretch=1,this.size=0,this.done=!1}}!function(t){t.calc=function(t,e){let n=t.length;if(0===n)return e;let i=0,r=0,s=0,o=0,a=0;for(let e=0;e<n;++e){let n=t[e],l=n.minSize,h=n.maxSize,c=n.sizeHint;n.done=!1,n.size=Math.max(l,Math.min(c,h)),s+=n.size,i+=l,r+=h,n.stretch>0&&(o+=n.stretch,a++)}if(e===s)return 0;if(e<=i){for(let e=0;e<n;++e){let n=t[e];n.size=n.minSize}return e-i}if(e>=r){for(let e=0;e<n;++e){let n=t[e];n.size=n.maxSize}return e-r}let l=.01,h=n;if(e<s){let i=s-e;for(;a>0&&i>l;){let e=i,r=o;for(let s=0;s<n;++s){let n=t[s];if(n.done||0===n.stretch)continue;let l=n.stretch*e/r;n.size-l<=n.minSize?(i-=n.size-n.minSize,o-=n.stretch,n.size=n.minSize,n.done=!0,h--,a--):(i-=l,n.size-=l)}}for(;h>0&&i>l;){let e=i/h;for(let r=0;r<n;++r){let n=t[r];n.done||(n.size-e<=n.minSize?(i-=n.size-n.minSize,n.size=n.minSize,n.done=!0,h--):(i-=e,n.size-=e))}}}else{let i=e-s;for(;a>0&&i>l;){let e=i,r=o;for(let s=0;s<n;++s){let n=t[s];if(n.done||0===n.stretch)continue;let l=n.stretch*e/r;n.size+l>=n.maxSize?(i-=n.maxSize-n.size,o-=n.stretch,n.size=n.maxSize,n.done=!0,h--,a--):(i-=l,n.size+=l)}}for(;h>0&&i>l;){let e=i/h;for(let r=0;r<n;++r){let n=t[r];n.done||(n.size+e>=n.maxSize?(i-=n.maxSize-n.size,n.size=n.maxSize,n.done=!0,h--):(i-=e,n.size+=e))}}}return 0},t.adjust=function(t,e,n){0!==t.length&&0!==n&&(n>0?function(t,e,n){let i=0;for(let n=0;n<=e;++n){let e=t[n];i+=e.maxSize-e.size}let r=0;for(let n=e+1,i=t.length;n<i;++n){let e=t[n];r+=e.size-e.minSize}let s=n=Math.min(n,i,r);for(let n=e;n>=0&&s>0;--n){let e=t[n],i=e.maxSize-e.size;i>=s?(e.sizeHint=e.size+s,s=0):(e.sizeHint=e.size+i,s-=i)}let o=n;for(let n=e+1,i=t.length;n<i&&o>0;++n){let e=t[n],i=e.size-e.minSize;i>=o?(e.sizeHint=e.size-o,o=0):(e.sizeHint=e.size-i,o-=i)}}(t,e,n):function(t,e,n){let i=0;for(let n=e+1,r=t.length;n<r;++n){let e=t[n];i+=e.maxSize-e.size}let r=0;for(let n=0;n<=e;++n){let e=t[n];r+=e.size-e.minSize}let s=n=Math.min(n,i,r);for(let n=e+1,i=t.length;n<i&&s>0;++n){let e=t[n],i=e.maxSize-e.size;i>=s?(e.sizeHint=e.size+s,s=0):(e.sizeHint=e.size+i,s-=i)}let o=n;for(let n=e;n>=0&&o>0;--n){let e=t[n],i=e.size-e.minSize;i>=o?(e.sizeHint=e.size-o,o=0):(e.sizeHint=e.size-i,o-=i)}}(t,e,-n))}}(Et||(Et={}));class Nt{constructor(t){this._label="",this._caption="",this._mnemonic=-1,this._icon=void 0,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new ft(this),this._isDisposed=!1,this.owner=t.owner,void 0!==t.label&&(this._label=t.label),void 0!==t.mnemonic&&(this._mnemonic=t.mnemonic),void 0!==t.icon&&(this._icon=t.icon),void 0!==t.iconClass&&(this._iconClass=t.iconClass),void 0!==t.iconLabel&&(this._iconLabel=t.iconLabel),void 0!==t.caption&&(this._caption=t.caption),void 0!==t.className&&(this._className=t.className),void 0!==t.closable&&(this._closable=t.closable),this._dataset=t.dataset||{}}get changed(){return this._changed}get label(){return this._label}set label(t){this._label!==t&&(this._label=t,this._changed.emit(void 0))}get mnemonic(){return this._mnemonic}set mnemonic(t){this._mnemonic!==t&&(this._mnemonic=t,this._changed.emit(void 0))}get icon(){return this._icon}set icon(t){this._icon!==t&&(this._icon=t,this._changed.emit(void 0))}get iconClass(){return this._iconClass}set iconClass(t){this._iconClass!==t&&(this._iconClass=t,this._changed.emit(void 0))}get iconLabel(){return this._iconLabel}set iconLabel(t){this._iconLabel!==t&&(this._iconLabel=t,this._changed.emit(void 0))}get caption(){return this._caption}set caption(t){this._caption!==t&&(this._caption=t,this._changed.emit(void 0))}get className(){return this._className}set className(t){this._className!==t&&(this._className=t,this._changed.emit(void 0))}get closable(){return this._closable}set closable(t){this._closable!==t&&(this._closable=t,this._changed.emit(void 0))}get dataset(){return this._dataset}set dataset(t){this._dataset!==t&&(this._dataset=t,this._changed.emit(void 0))}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,ft.clearData(this))}}class Ot{constructor(t={}){this._flags=0,this._layout=null,this._parent=null,this._disposed=new ft(this),this._hiddenMode=Ot.HiddenMode.Display,this.node=Ct.createNode(t),this.addClass("lm-Widget")}dispose(){this.isDisposed||(this.setFlag(Ot.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&Ot.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),ft.clearData(this),J.clearData(this),dt.clearData(this))}get disposed(){return this._disposed}get isDisposed(){return this.testFlag(Ot.Flag.IsDisposed)}get isAttached(){return this.testFlag(Ot.Flag.IsAttached)}get isHidden(){return this.testFlag(Ot.Flag.IsHidden)}get isVisible(){return this.testFlag(Ot.Flag.IsVisible)}get title(){return Ct.titleProperty.get(this)}get id(){return this.node.id}set id(t){this.node.id=t}get dataset(){return this.node.dataset}get hiddenMode(){return this._hiddenMode}set hiddenMode(t){this._hiddenMode!==t&&(this.isHidden&&this._toggleHidden(!1),t==Ot.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=t,this.isHidden&&this._toggleHidden(!0))}get parent(){return this._parent}set parent(t){if(this._parent!==t){if(t&&this.contains(t))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){let t=new Ot.ChildMessage("child-removed",this);J.sendMessage(this._parent,t)}if(this._parent=t,this._parent&&!this._parent.isDisposed){let t=new Ot.ChildMessage("child-added",this);J.sendMessage(this._parent,t)}this.isDisposed||J.sendMessage(this,Ot.Msg.ParentChanged)}}get layout(){return this._layout}set layout(t){if(this._layout!==t){if(this.testFlag(Ot.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(t.parent)throw new Error("Cannot change layout parent.");this._layout=t,t.parent=this}}*children(){this._layout&&(yield*this._layout)}contains(t){for(let e=t;e;e=e._parent)if(e===this)return!0;return!1}hasClass(t){return this.node.classList.contains(t)}addClass(t){this.node.classList.add(t)}removeClass(t){this.node.classList.remove(t)}toggleClass(t,e){return!0===e?(this.node.classList.add(t),!0):!1===e?(this.node.classList.remove(t),!1):this.node.classList.toggle(t)}update(){J.postMessage(this,Ot.Msg.UpdateRequest)}fit(){J.postMessage(this,Ot.Msg.FitRequest)}activate(){J.postMessage(this,Ot.Msg.ActivateRequest)}close(){J.sendMessage(this,Ot.Msg.CloseRequest)}show(){if(this.testFlag(Ot.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||J.sendMessage(this,Ot.Msg.BeforeShow),this.clearFlag(Ot.Flag.IsHidden),this._toggleHidden(!1),!this.isAttached||this.parent&&!this.parent.isVisible||J.sendMessage(this,Ot.Msg.AfterShow),this.parent)){let t=new Ot.ChildMessage("child-shown",this);J.sendMessage(this.parent,t)}}hide(){if(!this.testFlag(Ot.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||J.sendMessage(this,Ot.Msg.BeforeHide),this.setFlag(Ot.Flag.IsHidden),this._toggleHidden(!0),!this.isAttached||this.parent&&!this.parent.isVisible||J.sendMessage(this,Ot.Msg.AfterHide),this.parent)){let t=new Ot.ChildMessage("child-hidden",this);J.sendMessage(this.parent,t)}}setHidden(t){t?this.hide():this.show()}testFlag(t){return!!(this._flags&t)}setFlag(t){this._flags|=t}clearFlag(t){this._flags&=~t}processMessage(t){switch(t.type){case"resize":this.notifyLayout(t),this.onResize(t);break;case"update-request":this.notifyLayout(t),this.onUpdateRequest(t);break;case"fit-request":this.notifyLayout(t),this.onFitRequest(t);break;case"before-show":this.notifyLayout(t),this.onBeforeShow(t);break;case"after-show":this.setFlag(Ot.Flag.IsVisible),this.notifyLayout(t),this.onAfterShow(t);break;case"before-hide":this.notifyLayout(t),this.onBeforeHide(t);break;case"after-hide":this.clearFlag(Ot.Flag.IsVisible),this.notifyLayout(t),this.onAfterHide(t);break;case"before-attach":this.notifyLayout(t),this.onBeforeAttach(t);break;case"after-attach":this.isHidden||this.parent&&!this.parent.isVisible||this.setFlag(Ot.Flag.IsVisible),this.setFlag(Ot.Flag.IsAttached),this.notifyLayout(t),this.onAfterAttach(t);break;case"before-detach":this.notifyLayout(t),this.onBeforeDetach(t);break;case"after-detach":this.clearFlag(Ot.Flag.IsVisible),this.clearFlag(Ot.Flag.IsAttached),this.notifyLayout(t),this.onAfterDetach(t);break;case"activate-request":this.notifyLayout(t),this.onActivateRequest(t);break;case"close-request":this.notifyLayout(t),this.onCloseRequest(t);break;case"child-added":this.notifyLayout(t),this.onChildAdded(t);break;case"child-removed":this.notifyLayout(t),this.onChildRemoved(t);break;default:this.notifyLayout(t)}}notifyLayout(t){this._layout&&this._layout.processParentMessage(t)}onCloseRequest(t){this.parent?this.parent=null:this.isAttached&&Ot.detach(this)}onResize(t){}onUpdateRequest(t){}onFitRequest(t){}onActivateRequest(t){}onBeforeShow(t){}onAfterShow(t){}onBeforeHide(t){}onAfterHide(t){}onBeforeAttach(t){}onAfterAttach(t){}onBeforeDetach(t){}onAfterDetach(t){}onChildAdded(t){}onChildRemoved(t){}_toggleHidden(t){if(t)switch(this._hiddenMode){case Ot.HiddenMode.Display:this.addClass("lm-mod-hidden");break;case Ot.HiddenMode.Scale:this.node.style.transform="scale(0)",this.node.setAttribute("aria-hidden","true");break;case Ot.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1"}else switch(this._hiddenMode){case Ot.HiddenMode.Display:this.removeClass("lm-mod-hidden");break;case Ot.HiddenMode.Scale:this.node.style.transform="",this.node.removeAttribute("aria-hidden");break;case Ot.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex=""}}}!function(t){var e,n,i;(e=t.HiddenMode||(t.HiddenMode={}))[e.Display=0]="Display",e[e.Scale=1]="Scale",e[e.ContentVisibility=2]="ContentVisibility",(n=t.Flag||(t.Flag={}))[n.IsDisposed=1]="IsDisposed",n[n.IsAttached=2]="IsAttached",n[n.IsHidden=4]="IsHidden",n[n.IsVisible=8]="IsVisible",n[n.DisallowLayout=16]="DisallowLayout",(i=t.Msg||(t.Msg={})).BeforeShow=new ct("before-show"),i.AfterShow=new ct("after-show"),i.BeforeHide=new ct("before-hide"),i.AfterHide=new ct("after-hide"),i.BeforeAttach=new ct("before-attach"),i.AfterAttach=new ct("after-attach"),i.BeforeDetach=new ct("before-detach"),i.AfterDetach=new ct("after-detach"),i.ParentChanged=new ct("parent-changed"),i.UpdateRequest=new ut("update-request"),i.FitRequest=new ut("fit-request"),i.ActivateRequest=new ut("activate-request"),i.CloseRequest=new ut("close-request"),t.ChildMessage=class extends ct{constructor(t,e){super(t),this.child=e}};class r extends ct{constructor(t,e){super("resize"),this.width=t,this.height=e}}t.ResizeMessage=r,function(t){t.UnknownSize=new t(-1,-1)}(r=t.ResizeMessage||(t.ResizeMessage={})),t.attach=function(e,n,i=null){if(e.parent)throw new Error("Cannot attach a child widget.");if(e.isAttached||e.node.isConnected)throw new Error("Widget is already attached.");if(!n.isConnected)throw new Error("Host is not attached.");J.sendMessage(e,t.Msg.BeforeAttach),n.insertBefore(e.node,i),J.sendMessage(e,t.Msg.AfterAttach)},t.detach=function(e){if(e.parent)throw new Error("Cannot detach a child widget.");if(!e.isAttached||!e.node.isConnected)throw new Error("Widget is not attached.");J.sendMessage(e,t.Msg.BeforeDetach),e.node.parentNode.removeChild(e.node),J.sendMessage(e,t.Msg.AfterDetach)}}(Ot||(Ot={})),function(t){t.titleProperty=new dt({name:"title",create:t=>new Nt({owner:t})}),t.createNode=function(t){return t.node||document.createElement(t.tag||"div")}}(Ct||(Ct={}));class jt{constructor(t={}){this._disposed=!1,this._parent=null,this._fitPolicy=t.fitPolicy||"set-min-size"}dispose(){this._parent=null,this._disposed=!0,ft.clearData(this),dt.clearData(this)}get isDisposed(){return this._disposed}get parent(){return this._parent}set parent(t){if(this._parent!==t){if(this._parent)throw new Error("Cannot change parent widget.");if(t.layout!==this)throw new Error("Invalid parent widget.");this._parent=t,this.init()}}get fitPolicy(){return this._fitPolicy}set fitPolicy(t){if(this._fitPolicy!==t&&(this._fitPolicy=t,this._parent)){let t=this._parent.node.style;t.minWidth="",t.minHeight="",t.maxWidth="",t.maxHeight="",this._parent.fit()}}processParentMessage(t){switch(t.type){case"resize":this.onResize(t);break;case"update-request":this.onUpdateRequest(t);break;case"fit-request":this.onFitRequest(t);break;case"before-show":this.onBeforeShow(t);break;case"after-show":this.onAfterShow(t);break;case"before-hide":this.onBeforeHide(t);break;case"after-hide":this.onAfterHide(t);break;case"before-attach":this.onBeforeAttach(t);break;case"after-attach":this.onAfterAttach(t);break;case"before-detach":this.onBeforeDetach(t);break;case"after-detach":this.onAfterDetach(t);break;case"child-removed":this.onChildRemoved(t);break;case"child-shown":this.onChildShown(t);break;case"child-hidden":this.onChildHidden(t)}}init(){for(const t of this)t.parent=this.parent}onResize(t){for(const t of this)J.sendMessage(t,Ot.ResizeMessage.UnknownSize)}onUpdateRequest(t){for(const t of this)J.sendMessage(t,Ot.ResizeMessage.UnknownSize)}onBeforeAttach(t){for(const e of this)J.sendMessage(e,t)}onAfterAttach(t){for(const e of this)J.sendMessage(e,t)}onBeforeDetach(t){for(const e of this)J.sendMessage(e,t)}onAfterDetach(t){for(const e of this)J.sendMessage(e,t)}onBeforeShow(t){for(const e of this)e.isHidden||J.sendMessage(e,t)}onAfterShow(t){for(const e of this)e.isHidden||J.sendMessage(e,t)}onBeforeHide(t){for(const e of this)e.isHidden||J.sendMessage(e,t)}onAfterHide(t){for(const e of this)e.isHidden||J.sendMessage(e,t)}onChildRemoved(t){this.removeWidget(t.child)}onFitRequest(t){}onChildShown(t){}onChildHidden(t){}}!function(t){t.getHorizontalAlignment=function(t){return At.horizontalAlignmentProperty.get(t)},t.setHorizontalAlignment=function(t,e){At.horizontalAlignmentProperty.set(t,e)},t.getVerticalAlignment=function(t){return At.verticalAlignmentProperty.get(t)},t.setVerticalAlignment=function(t,e){At.verticalAlignmentProperty.set(t,e)}}(jt||(jt={}));class Bt{constructor(t){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=t,this.widget.node.style.position="absolute",this.widget.node.style.contain="strict"}dispose(){if(this._disposed)return;this._disposed=!0;let t=this.widget.node.style;t.position="",t.top="",t.left="",t.width="",t.height="",t.contain=""}get minWidth(){return this._minWidth}get minHeight(){return this._minHeight}get maxWidth(){return this._maxWidth}get maxHeight(){return this._maxHeight}get isDisposed(){return this._disposed}get isHidden(){return this.widget.isHidden}get isVisible(){return this.widget.isVisible}get isAttached(){return this.widget.isAttached}fit(){let t=U.sizeLimits(this.widget.node);this._minWidth=t.minWidth,this._minHeight=t.minHeight,this._maxWidth=t.maxWidth,this._maxHeight=t.maxHeight}update(t,e,n,i){let r=Math.max(this._minWidth,Math.min(n,this._maxWidth)),s=Math.max(this._minHeight,Math.min(i,this._maxHeight));if(r<n)switch(jt.getHorizontalAlignment(this.widget)){case"left":break;case"center":t+=(n-r)/2;break;case"right":t+=n-r;break;default:throw"unreachable"}if(s<i)switch(jt.getVerticalAlignment(this.widget)){case"top":break;case"center":e+=(i-s)/2;break;case"bottom":e+=i-s;break;default:throw"unreachable"}let o=!1,a=this.widget.node.style;if(this._top!==e&&(this._top=e,a.top=`${e}px`),this._left!==t&&(this._left=t,a.left=`${t}px`),this._width!==r&&(o=!0,this._width=r,a.width=`${r}px`),this._height!==s&&(o=!0,this._height=s,a.height=`${s}px`),o){let t=new Ot.ResizeMessage(r,s);J.sendMessage(this.widget,t)}}}!function(t){function e(t){t.parent&&t.parent.layout&&t.parent.update()}t.horizontalAlignmentProperty=new dt({name:"horizontalAlignment",create:()=>"center",changed:e}),t.verticalAlignmentProperty=new dt({name:"verticalAlignment",create:()=>"top",changed:e})}(At||(At={}));class Pt extends jt{constructor(){super(...arguments),this._widgets=[]}dispose(){for(;this._widgets.length>0;)this._widgets.pop().dispose();super.dispose()}get widgets(){return this._widgets}*[Symbol.iterator](){yield*this._widgets}addWidget(t){this.insertWidget(this._widgets.length,t)}insertWidget(t,e){e.parent=this.parent;let n=this._widgets.indexOf(e),i=Math.max(0,Math.min(t,this._widgets.length));if(-1===n)return W.insert(this._widgets,i,e),void(this.parent&&this.attachWidget(i,e));i===this._widgets.length&&i--,n!==i&&(W.move(this._widgets,n,i),this.parent&&this.moveWidget(n,i,e))}removeWidget(t){this.removeWidgetAt(this._widgets.indexOf(t))}removeWidgetAt(t){let e=W.removeAt(this._widgets,t);e&&this.parent&&this.detachWidget(t,e)}init(){super.init();let t=0;for(const e of this)this.attachWidget(t++,e)}attachWidget(t,e){let n=this.parent.node.children[t];this.parent.isAttached&&J.sendMessage(e,Ot.Msg.BeforeAttach),this.parent.node.insertBefore(e.node,n),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.AfterAttach)}moveWidget(t,e,n){this.parent.isAttached&&J.sendMessage(n,Ot.Msg.BeforeDetach),this.parent.node.removeChild(n.node),this.parent.isAttached&&J.sendMessage(n,Ot.Msg.AfterDetach);let i=this.parent.node.children[e];this.parent.isAttached&&J.sendMessage(n,Ot.Msg.BeforeAttach),this.parent.node.insertBefore(n.node,i),this.parent.isAttached&&J.sendMessage(n,Ot.Msg.AfterAttach)}detachWidget(t,e){this.parent.isAttached&&J.sendMessage(e,Ot.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.AfterDetach)}}!function(t){t.clampDimension=function(t){return Math.max(0,Math.floor(t))}}(kt||(kt={}));var Ht,Rt,Wt,Ft,qt,$t,Ut,Vt,Kt,Xt,Yt=kt;class Jt extends Pt{constructor(t){super(),this.widgetOffset=0,this._fixed=0,this._spacing=4,this._dirty=!1,this._hasNormedSizes=!1,this._sizers=[],this._items=[],this._handles=[],this._box=null,this._alignment="start",this._orientation="horizontal",this.renderer=t.renderer,void 0!==t.orientation&&(this._orientation=t.orientation),void 0!==t.alignment&&(this._alignment=t.alignment),void 0!==t.spacing&&(this._spacing=kt.clampDimension(t.spacing))}dispose(){for(const t of this._items)t.dispose();this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,super.dispose()}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this.parent&&(this.parent.dataset.orientation=t,this.parent.fit()))}get alignment(){return this._alignment}set alignment(t){this._alignment!==t&&(this._alignment=t,this.parent&&(this.parent.dataset.alignment=t,this.parent.update()))}get spacing(){return this._spacing}set spacing(t){t=kt.clampDimension(t),this._spacing!==t&&(this._spacing=t,this.parent&&this.parent.fit())}get handles(){return this._handles}absoluteSizes(){return this._sizers.map((t=>t.size))}relativeSizes(){return Ht.normalize(this._sizers.map((t=>t.size)))}setRelativeSizes(t,e=!0){let n=this._sizers.length,i=t.slice(0,n);for(;i.length<n;)i.push(0);let r=Ht.normalize(i);for(let t=0;t<n;++t){let e=this._sizers[t];e.sizeHint=r[t],e.size=r[t]}this._hasNormedSizes=!0,e&&this.parent&&this.parent.update()}moveHandle(t,e){let n,i=this._handles[t];if(i&&!i.classList.contains("lm-mod-hidden")&&(n="horizontal"===this._orientation?e-i.offsetLeft:e-i.offsetTop,0!==n)){for(let t of this._sizers)t.size>0&&(t.sizeHint=t.size);Et.adjust(this._sizers,t,n),this.parent&&this.parent.update()}}init(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,super.init()}attachWidget(t,e){let n=new Bt(e),i=Ht.createHandle(this.renderer),r=Ht.averageSize(this._sizers),s=Ht.createSizer(r);W.insert(this._items,t,n),W.insert(this._sizers,t,s),W.insert(this._handles,t,i),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.node.appendChild(i),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.AfterAttach),this.parent.fit()}moveWidget(t,e,n){W.move(this._items,t,e),W.move(this._sizers,t,e),W.move(this._handles,t,e),this.parent.fit()}detachWidget(t,e){let n=W.removeAt(this._items,t),i=W.removeAt(this._handles,t);W.removeAt(this._sizers,t),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.node.removeChild(i),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.AfterDetach),n.dispose(),this.parent.fit()}onBeforeShow(t){super.onBeforeShow(t),this.parent.update()}onBeforeAttach(t){super.onBeforeAttach(t),this.parent.fit()}onChildShown(t){this.parent.fit()}onChildHidden(t){this.parent.fit()}onResize(t){this.parent.isVisible&&this._update(t.width,t.height)}onUpdateRequest(t){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(t){this.parent.isAttached&&this._fit()}updateItemPosition(t,e,n,i,r,s,o){const a=this._items[t];if(a.isHidden)return;let l=this._handles[t].style;e?(n+=this.widgetOffset,a.update(n,i,o,r),n+=o,l.top=`${i}px`,l.left=`${n}px`,l.width=`${this._spacing}px`,l.height=`${r}px`):(i+=this.widgetOffset,a.update(n,i,s,o),i+=o,l.top=`${i}px`,l.left=`${n}px`,l.width=`${s}px`,l.height=`${this._spacing}px`)}_fit(){let t=0,e=-1;for(let n=0,i=this._items.length;n<i;++n)this._items[n].isHidden?this._handles[n].classList.add("lm-mod-hidden"):(this._handles[n].classList.remove("lm-mod-hidden"),e=n,t++);-1!==e&&this._handles[e].classList.add("lm-mod-hidden"),this._fixed=this._spacing*Math.max(0,t-1)+this.widgetOffset*this._items.length;let n="horizontal"===this._orientation,i=n?this._fixed:0,r=n?0:this._fixed;for(let t=0,e=this._items.length;t<e;++t){let e=this._items[t],s=this._sizers[t];s.size>0&&(s.sizeHint=s.size),e.isHidden?(s.minSize=0,s.maxSize=0):(e.fit(),s.stretch=Jt.getStretch(e.widget),n?(s.minSize=e.minWidth,s.maxSize=e.maxWidth,i+=e.minWidth,r=Math.max(r,e.minHeight)):(s.minSize=e.minHeight,s.maxSize=e.maxHeight,r+=e.minHeight,i=Math.max(i,e.minWidth)))}let s=this._box=U.boxSizing(this.parent.node);i+=s.horizontalSum,r+=s.verticalSum;let o=this.parent.node.style;o.minWidth=`${i}px`,o.minHeight=`${r}px`,this._dirty=!0,this.parent.parent&&J.sendMessage(this.parent.parent,Ot.Msg.FitRequest),this._dirty&&J.sendMessage(this.parent,Ot.Msg.UpdateRequest)}_update(t,e){this._dirty=!1;let n=0;for(let t=0,e=this._items.length;t<e;++t)n+=+!this._items[t].isHidden;if(0===n&&0===this.widgetOffset)return;t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=U.boxSizing(this.parent.node));let i=this._box.paddingTop,r=this._box.paddingLeft,s=t-this._box.horizontalSum,o=e-this._box.verticalSum,a=0,l=0,h="horizontal"===this._orientation;if(n>0){let t;if(t=h?Math.max(0,s-this._fixed):Math.max(0,o-this._fixed),this._hasNormedSizes){for(let e of this._sizers)e.sizeHint*=t;this._hasNormedSizes=!1}let e=Et.calc(this._sizers,t);if(e>0)switch(this._alignment){case"start":break;case"center":a=0,l=e/2;break;case"end":a=0,l=e;break;case"justify":a=e/n,l=0;break;default:throw"unreachable"}}for(let t=0,e=this._items.length;t<e;++t){const e=this._items[t].isHidden?0:this._sizers[t].size+a;this.updateItemPosition(t,h,h?r+l:r,h?i:i+l,o,s,e);const n=this.widgetOffset+(this._handles[t].classList.contains("lm-mod-hidden")?0:this._spacing);h?r+=e+n:i+=e+n}}}!function(t){t.getStretch=function(t){return Ht.stretchProperty.get(t)},t.setStretch=function(t,e){Ht.stretchProperty.set(t,e)}}(Jt||(Jt={})),function(t){t.stretchProperty=new dt({name:"stretch",create:()=>0,coerce:(t,e)=>Math.max(0,Math.floor(e)),changed:function(t){t.parent&&t.parent.layout instanceof Jt&&t.parent.fit()}}),t.createSizer=function(t){let e=new Dt;return e.sizeHint=Math.floor(t),e},t.createHandle=function(t){let e=t.createHandle();return e.style.position="absolute",e.style.contain="style",e},t.averageSize=function(t){return t.reduce(((t,e)=>t+e.size),0)/t.length||0},t.normalize=function(t){let e=t.length;if(0===e)return[];let n=t.reduce(((t,e)=>t+Math.abs(e)),0);return 0===n?t.map((t=>1/e)):t.map((t=>t/n))}}(Ht||(Ht={}));class Gt extends Jt{constructor(t){super({...t,orientation:t.orientation||"vertical"}),this._titles=[],this.titleSpace=t.titleSpace||22}get titleSpace(){return this.widgetOffset}set titleSpace(t){t=Yt.clampDimension(t),this.widgetOffset!==t&&(this.widgetOffset=t,this.parent&&this.parent.fit())}get titles(){return this._titles}dispose(){this.isDisposed||(this._titles.length=0,super.dispose())}updateTitle(t,e){const n=this._titles[t],i=n.classList.contains("lm-mod-expanded"),r=Rt.createTitle(this.renderer,e.title,i);this._titles[t]=r,this.parent.node.replaceChild(r,n)}insertWidget(e,n){n.id||(n.id=`id-${t.UUID.uuid4()}`),super.insertWidget(e,n)}attachWidget(t,e){const n=Rt.createTitle(this.renderer,e.title);W.insert(this._titles,t,n),this.parent.node.appendChild(n),e.node.setAttribute("role","region"),e.node.setAttribute("aria-labelledby",n.id),super.attachWidget(t,e)}moveWidget(t,e,n){W.move(this._titles,t,e),super.moveWidget(t,e,n)}detachWidget(t,e){const n=W.removeAt(this._titles,t);this.parent.node.removeChild(n),super.detachWidget(t,e)}updateItemPosition(t,e,n,i,r,s,o){const a=this._titles[t].style;a.top=`${i}px`,a.left=`${n}px`,a.height=`${this.widgetOffset}px`,a.width=e?`${r}px`:`${s}px`,super.updateItemPosition(t,e,n,i,r,s,o)}}!function(t){t.createTitle=function(t,e,n=!0){const i=t.createSectionTitle(e);return i.style.position="absolute",i.style.contain="strict",i.setAttribute("aria-label",`${e.label} Section`),i.setAttribute("aria-expanded",n?"true":"false"),i.setAttribute("aria-controls",e.owner.id),n&&i.classList.add("lm-mod-expanded"),i}}(Rt||(Rt={}));class Qt extends Ot{constructor(t={}){super(),this.addClass("lm-Panel"),this.layout=Wt.createLayout(t)}get widgets(){return this.layout.widgets}addWidget(t){this.layout.addWidget(t)}insertWidget(t,e){this.layout.insertWidget(t,e)}}!function(t){t.createLayout=function(t){return t.layout||new Pt}}(Wt||(Wt={}));class Zt extends Qt{constructor(t={}){super({layout:Ft.createLayout(t)}),this._handleMoved=new ft(this),this._pressData=null,this.addClass("lm-SplitPanel")}dispose(){this._releaseMouse(),super.dispose()}get orientation(){return this.layout.orientation}set orientation(t){this.layout.orientation=t}get alignment(){return this.layout.alignment}set alignment(t){this.layout.alignment=t}get spacing(){return this.layout.spacing}set spacing(t){this.layout.spacing=t}get renderer(){return this.layout.renderer}get handleMoved(){return this._handleMoved}get handles(){return this.layout.handles}relativeSizes(){return this.layout.relativeSizes()}setRelativeSizes(t,e=!0){this.layout.setRelativeSizes(t,e)}handleEvent(t){switch(t.type){case"pointerdown":this._evtPointerDown(t);break;case"pointermove":this._evtPointerMove(t);break;case"pointerup":this._evtPointerUp(t);break;case"keydown":this._evtKeyDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}}onBeforeAttach(t){this.node.addEventListener("pointerdown",this)}onAfterDetach(t){this.node.removeEventListener("pointerdown",this),this._releaseMouse()}onChildAdded(t){t.child.addClass("lm-SplitPanel-child"),this._releaseMouse()}onChildRemoved(t){t.child.removeClass("lm-SplitPanel-child"),this._releaseMouse()}_evtKeyDown(t){this._pressData&&(t.preventDefault(),t.stopPropagation()),27===t.keyCode&&this._releaseMouse()}_evtPointerDown(t){if(0!==t.button)return;let e,n=this.layout,i=W.findFirstIndex(n.handles,(e=>e.contains(t.target)));if(-1===i)return;t.preventDefault(),t.stopPropagation(),document.addEventListener("pointerup",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0);let r=n.handles[i],s=r.getBoundingClientRect();e="horizontal"===n.orientation?t.clientX-s.left:t.clientY-s.top;let o=window.getComputedStyle(r),a=vt.overrideCursor(o.cursor);this._pressData={index:i,delta:e,override:a}}_evtPointerMove(t){let e;t.preventDefault(),t.stopPropagation();let n=this.layout,i=this.node.getBoundingClientRect();e="horizontal"===n.orientation?t.clientX-i.left-this._pressData.delta:t.clientY-i.top-this._pressData.delta,n.moveHandle(this._pressData.index,e)}_evtPointerUp(t){0===t.button&&(t.preventDefault(),t.stopPropagation(),this._releaseMouse())}_releaseMouse(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._handleMoved.emit(),document.removeEventListener("keydown",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("contextmenu",this,!0))}}!function(t){class e{createHandle(){let t=document.createElement("div");return t.className="lm-SplitPanel-handle",t}}t.Renderer=e,t.defaultRenderer=new e,t.getStretch=function(t){return Jt.getStretch(t)},t.setStretch=function(t,e){Jt.setStretch(t,e)}}(Zt||(Zt={})),function(t){t.createLayout=function(t){return t.layout||new Jt({renderer:t.renderer||Zt.defaultRenderer,orientation:t.orientation,alignment:t.alignment,spacing:t.spacing})}}(Ft||(Ft={}));class te extends Zt{constructor(t={}){super({...t,layout:qt.createLayout(t)}),this._widgetSizesCache=new WeakMap,this._expansionToggled=new ft(this),this.addClass("lm-AccordionPanel")}get renderer(){return this.layout.renderer}get titleSpace(){return this.layout.titleSpace}set titleSpace(t){this.layout.titleSpace=t}get titles(){return this.layout.titles}get expansionToggled(){return this._expansionToggled}addWidget(t){super.addWidget(t),t.title.changed.connect(this._onTitleChanged,this)}collapse(t){const e=this.layout.widgets[t];e&&!e.isHidden&&this._toggleExpansion(t)}expand(t){const e=this.layout.widgets[t];e&&e.isHidden&&this._toggleExpansion(t)}insertWidget(t,e){super.insertWidget(t,e),e.title.changed.connect(this._onTitleChanged,this)}handleEvent(t){switch(super.handleEvent(t),t.type){case"click":this._evtClick(t);break;case"keydown":this._eventKeyDown(t)}}onBeforeAttach(t){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),super.onBeforeAttach(t)}onAfterDetach(t){super.onAfterDetach(t),this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this)}_onTitleChanged(t){const e=W.findFirstIndex(this.widgets,(e=>e.contains(t.owner)));e>=0&&(this.layout.updateTitle(e,t.owner),this.update())}_computeWidgetSize(t){const e=this.layout,n=e.widgets[t];if(!n)return;const i=n.isHidden,r=e.absoluteSizes(),s=(i?-1:1)*this.spacing,o=r.reduce(((t,e)=>t+e));let a=[...r];if(i){const e=this._widgetSizesCache.get(n);if(!e)return;a[t]+=e;const i=a.map((t=>t-e>0)).lastIndexOf(!0);-1===i?a.forEach(((n,i)=>{i!==t&&(a[i]-=r[i]/o*(e-s))})):a[i]-=e-s}else{const e=r[t];this._widgetSizesCache.set(n,e),a[t]=0;const i=a.map((t=>t>0)).lastIndexOf(!0);if(-1===i)return;a[i]=r[i]+e+s}return a.map((t=>t/(o+s)))}_evtClick(t){const e=t.target;if(e){const n=W.findFirstIndex(this.titles,(t=>t.contains(e)));n>=0&&(t.preventDefault(),t.stopPropagation(),this._toggleExpansion(n))}}_eventKeyDown(t){if(t.defaultPrevented)return;const e=t.target;let n=!1;if(e){const i=W.findFirstIndex(this.titles,(t=>t.contains(e)));if(i>=0){const r=t.keyCode.toString();if(t.key.match(/Space|Enter/)||r.match(/13|32/))e.click(),n=!0;else if("horizontal"===this.orientation?t.key.match(/ArrowLeft|ArrowRight/)||r.match(/37|39/):t.key.match(/ArrowUp|ArrowDown/)||r.match(/38|40/)){const e=t.key.match(/ArrowLeft|ArrowUp/)||r.match(/37|38/)?-1:1,s=this.titles.length,o=(i+s+e)%s;this.titles[o].focus(),n=!0}else"End"===t.key||"35"===r?(this.titles[this.titles.length-1].focus(),n=!0):"Home"!==t.key&&"36"!==r||(this.titles[0].focus(),n=!0)}n&&t.preventDefault()}}_toggleExpansion(t){const e=this.titles[t],n=this.layout.widgets[t],i=this._computeWidgetSize(t);i&&this.setRelativeSizes(i,!1),n.isHidden?(e.classList.add("lm-mod-expanded"),e.setAttribute("aria-expanded","true"),n.show()):(e.classList.remove("lm-mod-expanded"),e.setAttribute("aria-expanded","false"),n.hide()),this._expansionToggled.emit(t)}}!function(t){class e extends Zt.Renderer{constructor(){super(),this.titleClassName="lm-AccordionPanel-title",this._titleID=0,this._titleKeys=new WeakMap,this._uuid=++e._nInstance}createCollapseIcon(t){return document.createElement("span")}createSectionTitle(t){const e=document.createElement("h3");e.setAttribute("tabindex","0"),e.id=this.createTitleKey(t),e.className=this.titleClassName;for(const n in t.dataset)e.dataset[n]=t.dataset[n];e.appendChild(this.createCollapseIcon(t)).className="lm-AccordionPanel-titleCollapser";const n=e.appendChild(document.createElement("span"));return n.className="lm-AccordionPanel-titleLabel",n.textContent=t.label,n.title=t.caption||t.label,e}createTitleKey(t){let e=this._titleKeys.get(t);return void 0===e&&(e=`title-key-${this._uuid}-${this._titleID++}`,this._titleKeys.set(t,e)),e}}e._nInstance=0,t.Renderer=e,t.defaultRenderer=new e}(te||(te={})),function(t){t.createLayout=function(t){return t.layout||new Gt({renderer:t.renderer||te.defaultRenderer,orientation:t.orientation,alignment:t.alignment,spacing:t.spacing,titleSpace:t.titleSpace})}}(qt||(qt={}));class ee extends Pt{constructor(t={}){super(),this._fixed=0,this._spacing=4,this._dirty=!1,this._sizers=[],this._items=[],this._box=null,this._alignment="start",this._direction="top-to-bottom",void 0!==t.direction&&(this._direction=t.direction),void 0!==t.alignment&&(this._alignment=t.alignment),void 0!==t.spacing&&(this._spacing=Yt.clampDimension(t.spacing))}dispose(){for(const t of this._items)t.dispose();this._box=null,this._items.length=0,this._sizers.length=0,super.dispose()}get direction(){return this._direction}set direction(t){this._direction!==t&&(this._direction=t,this.parent&&(this.parent.dataset.direction=t,this.parent.fit()))}get alignment(){return this._alignment}set alignment(t){this._alignment!==t&&(this._alignment=t,this.parent&&(this.parent.dataset.alignment=t,this.parent.update()))}get spacing(){return this._spacing}set spacing(t){t=Yt.clampDimension(t),this._spacing!==t&&(this._spacing=t,this.parent&&this.parent.fit())}init(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,super.init()}attachWidget(t,e){W.insert(this._items,t,new Bt(e)),W.insert(this._sizers,t,new Dt),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.AfterAttach),this.parent.fit()}moveWidget(t,e,n){W.move(this._items,t,e),W.move(this._sizers,t,e),this.parent.update()}detachWidget(t,e){let n=W.removeAt(this._items,t);W.removeAt(this._sizers,t),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.AfterDetach),n.dispose(),this.parent.fit()}onBeforeShow(t){super.onBeforeShow(t),this.parent.update()}onBeforeAttach(t){super.onBeforeAttach(t),this.parent.fit()}onChildShown(t){this.parent.fit()}onChildHidden(t){this.parent.fit()}onResize(t){this.parent.isVisible&&this._update(t.width,t.height)}onUpdateRequest(t){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(t){this.parent.isAttached&&this._fit()}_fit(){let t=0;for(let e=0,n=this._items.length;e<n;++e)t+=+!this._items[e].isHidden;this._fixed=this._spacing*Math.max(0,t-1);let e=$t.isHorizontal(this._direction),n=e?this._fixed:0,i=e?0:this._fixed;for(let t=0,r=this._items.length;t<r;++t){let r=this._items[t],s=this._sizers[t];r.isHidden?(s.minSize=0,s.maxSize=0):(r.fit(),s.sizeHint=ee.getSizeBasis(r.widget),s.stretch=ee.getStretch(r.widget),e?(s.minSize=r.minWidth,s.maxSize=r.maxWidth,n+=r.minWidth,i=Math.max(i,r.minHeight)):(s.minSize=r.minHeight,s.maxSize=r.maxHeight,i+=r.minHeight,n=Math.max(n,r.minWidth)))}let r=this._box=U.boxSizing(this.parent.node);n+=r.horizontalSum,i+=r.verticalSum;let s=this.parent.node.style;s.minWidth=`${n}px`,s.minHeight=`${i}px`,this._dirty=!0,this.parent.parent&&J.sendMessage(this.parent.parent,Ot.Msg.FitRequest),this._dirty&&J.sendMessage(this.parent,Ot.Msg.UpdateRequest)}_update(t,e){this._dirty=!1;let n=0;for(let t=0,e=this._items.length;t<e;++t)n+=+!this._items[t].isHidden;if(0===n)return;t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=U.boxSizing(this.parent.node));let i,r=this._box.paddingTop,s=this._box.paddingLeft,o=t-this._box.horizontalSum,a=e-this._box.verticalSum;switch(this._direction){case"left-to-right":i=Et.calc(this._sizers,Math.max(0,o-this._fixed));break;case"top-to-bottom":i=Et.calc(this._sizers,Math.max(0,a-this._fixed));break;case"right-to-left":i=Et.calc(this._sizers,Math.max(0,o-this._fixed)),s+=o;break;case"bottom-to-top":i=Et.calc(this._sizers,Math.max(0,a-this._fixed)),r+=a;break;default:throw"unreachable"}let l=0,h=0;if(i>0)switch(this._alignment){case"start":break;case"center":l=0,h=i/2;break;case"end":l=0,h=i;break;case"justify":l=i/n,h=0;break;default:throw"unreachable"}for(let t=0,e=this._items.length;t<e;++t){let e=this._items[t];if(e.isHidden)continue;let n=this._sizers[t].size;switch(this._direction){case"left-to-right":e.update(s+h,r,n+l,a),s+=n+l+this._spacing;break;case"top-to-bottom":e.update(s,r+h,o,n+l),r+=n+l+this._spacing;break;case"right-to-left":e.update(s-h-n-l,r,n+l,a),s-=n+l+this._spacing;break;case"bottom-to-top":e.update(s,r-h-n-l,o,n+l),r-=n+l+this._spacing;break;default:throw"unreachable"}}}}!function(t){t.getStretch=function(t){return $t.stretchProperty.get(t)},t.setStretch=function(t,e){$t.stretchProperty.set(t,e)},t.getSizeBasis=function(t){return $t.sizeBasisProperty.get(t)},t.setSizeBasis=function(t,e){$t.sizeBasisProperty.set(t,e)}}(ee||(ee={})),function(t){function e(t){t.parent&&t.parent.layout instanceof ee&&t.parent.fit()}t.stretchProperty=new dt({name:"stretch",create:()=>0,coerce:(t,e)=>Math.max(0,Math.floor(e)),changed:e}),t.sizeBasisProperty=new dt({name:"sizeBasis",create:()=>0,coerce:(t,e)=>Math.max(0,Math.floor(e)),changed:e}),t.isHorizontal=function(t){return"left-to-right"===t||"right-to-left"===t},t.clampSpacing=function(t){return Math.max(0,Math.floor(t))}}($t||($t={}));class ne extends Qt{constructor(t={}){super({layout:Ut.createLayout(t)}),this.addClass("lm-BoxPanel")}get direction(){return this.layout.direction}set direction(t){this.layout.direction=t}get alignment(){return this.layout.alignment}set alignment(t){this.layout.alignment=t}get spacing(){return this.layout.spacing}set spacing(t){this.layout.spacing=t}onChildAdded(t){t.child.addClass("lm-BoxPanel-child")}onChildRemoved(t){t.child.removeClass("lm-BoxPanel-child")}}!function(t){t.getStretch=function(t){return ee.getStretch(t)},t.setStretch=function(t,e){ee.setStretch(t,e)},t.getSizeBasis=function(t){return ee.getSizeBasis(t)},t.setSizeBasis=function(t,e){ee.setSizeBasis(t,e)}}(ne||(ne={})),function(t){t.createLayout=function(t){return t.layout||new ee(t)}}(Ut||(Ut={}));class ie extends Ot{constructor(t){super({node:Vt.createNode()}),this._activeIndex=-1,this._items=[],this._results=null,this.addClass("lm-CommandPalette"),this.setFlag(Ot.Flag.DisallowLayout),this.commands=t.commands,this.renderer=t.renderer||ie.defaultRenderer,this.commands.commandChanged.connect(this._onGenericChange,this),this.commands.keyBindingChanged.connect(this._onGenericChange,this)}dispose(){this._items.length=0,this._results=null,super.dispose()}get searchNode(){return this.node.getElementsByClassName("lm-CommandPalette-search")[0]}get inputNode(){return this.node.getElementsByClassName("lm-CommandPalette-input")[0]}get contentNode(){return this.node.getElementsByClassName("lm-CommandPalette-content")[0]}get items(){return this._items}addItem(t){let e=Vt.createItem(this.commands,t);return this._items.push(e),this.refresh(),e}addItems(t){const e=t.map((t=>Vt.createItem(this.commands,t)));return e.forEach((t=>this._items.push(t))),this.refresh(),e}removeItem(t){this.removeItemAt(this._items.indexOf(t))}removeItemAt(t){W.removeAt(this._items,t)&&this.refresh()}clearItems(){0!==this._items.length&&(this._items.length=0,this.refresh())}refresh(){this._results=null,""!==this.inputNode.value?this.node.getElementsByClassName("lm-close-icon")[0].style.display="inherit":this.node.getElementsByClassName("lm-close-icon")[0].style.display="none",this.update()}handleEvent(t){switch(t.type){case"click":this._evtClick(t);break;case"keydown":this._evtKeyDown(t);break;case"input":this.refresh();break;case"focus":case"blur":this._toggleFocused()}}onBeforeAttach(t){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),this.node.addEventListener("input",this),this.node.addEventListener("focus",this,!0),this.node.addEventListener("blur",this,!0)}onAfterDetach(t){this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this),this.node.removeEventListener("input",this),this.node.removeEventListener("focus",this,!0),this.node.removeEventListener("blur",this,!0)}onAfterShow(t){this.update(),super.onAfterShow(t)}onActivateRequest(t){if(this.isAttached){let t=this.inputNode;t.focus(),t.select()}}onUpdateRequest(t){if(this.isHidden)return;let e=this.inputNode.value,n=this.contentNode,i=this._results;if(i||(i=this._results=Vt.search(this._items,e),this._activeIndex=e?W.findFirstIndex(i,Vt.canActivate):-1),!e&&0===i.length)return void Mt.render(null,n);if(e&&0===i.length){let t=this.renderer.renderEmptyMessage({query:e});return void Mt.render(t,n)}let r=this.renderer,s=this._activeIndex,o=new Array(i.length);for(let t=0,e=i.length;t<e;++t){let e=i[t];if("header"===e.type){let n=e.indices,i=e.category;o[t]=r.renderHeader({category:i,indices:n})}else{let n=e.item,i=e.indices,a=t===s;o[t]=r.renderItem({item:n,indices:i,active:a})}}if(Mt.render(o,n),s<0||s>=i.length)n.scrollTop=0;else{let t=n.children[s];U.scrollIntoViewIfNeeded(n,t)}}_evtClick(t){if(0!==t.button)return;if(t.target.classList.contains("lm-close-icon"))return this.inputNode.value="",void this.refresh();let e=W.findFirstIndex(this.contentNode.children,(e=>e.contains(t.target)));-1!==e&&(t.preventDefault(),t.stopPropagation(),this._execute(e))}_evtKeyDown(t){if(!(t.altKey||t.ctrlKey||t.metaKey||t.shiftKey))switch(t.keyCode){case 13:t.preventDefault(),t.stopPropagation(),this._execute(this._activeIndex);break;case 38:t.preventDefault(),t.stopPropagation(),this._activatePreviousItem();break;case 40:t.preventDefault(),t.stopPropagation(),this._activateNextItem()}}_activateNextItem(){if(!this._results||0===this._results.length)return;let t=this._activeIndex,e=this._results.length,n=t<e-1?t+1:0,i=0===n?e-1:n-1;this._activeIndex=W.findFirstIndex(this._results,Vt.canActivate,n,i),this.update()}_activatePreviousItem(){if(!this._results||0===this._results.length)return;let t=this._activeIndex,e=this._results.length,n=t<=0?e-1:t-1,i=n===e-1?0:n+1;this._activeIndex=W.findLastIndex(this._results,Vt.canActivate,n,i),this.update()}_execute(t){if(!this._results)return;let e=this._results[t];if(e){if("header"===e.type){let t=this.inputNode;return t.value=`${e.category.toLowerCase()} `,t.focus(),void this.refresh()}e.item.isEnabled&&(this.commands.execute(e.item.command,e.item.args),this.inputNode.value="",this.refresh())}}_toggleFocused(){let t=document.activeElement===this.inputNode;this.toggleClass("lm-mod-focused",t)}_onGenericChange(){this.refresh()}}!function(t){class e{renderHeader(t){let e=this.formatHeader(t);return Lt.li({className:"lm-CommandPalette-header"},e)}renderItem(t){let e=this.createItemClass(t),n=this.createItemDataset(t);return t.item.isToggleable?Lt.li({className:e,dataset:n,role:"menuitemcheckbox","aria-checked":`${t.item.isToggled}`},this.renderItemIcon(t),this.renderItemContent(t),this.renderItemShortcut(t)):Lt.li({className:e,dataset:n,role:"menuitem"},this.renderItemIcon(t),this.renderItemContent(t),this.renderItemShortcut(t))}renderEmptyMessage(t){let e=this.formatEmptyMessage(t);return Lt.li({className:"lm-CommandPalette-emptyMessage"},e)}renderItemIcon(t){let e=this.createIconClass(t);return Lt.div({className:e},t.item.icon,t.item.iconLabel)}renderItemContent(t){return Lt.div({className:"lm-CommandPalette-itemContent"},this.renderItemLabel(t),this.renderItemCaption(t))}renderItemLabel(t){let e=this.formatItemLabel(t);return Lt.div({className:"lm-CommandPalette-itemLabel"},e)}renderItemCaption(t){let e=this.formatItemCaption(t);return Lt.div({className:"lm-CommandPalette-itemCaption"},e)}renderItemShortcut(t){let e=this.formatItemShortcut(t);return Lt.div({className:"lm-CommandPalette-itemShortcut"},e)}createItemClass(t){let e="lm-CommandPalette-item";t.item.isEnabled||(e+=" lm-mod-disabled"),t.item.isToggled&&(e+=" lm-mod-toggled"),t.active&&(e+=" lm-mod-active");let n=t.item.className;return n&&(e+=` ${n}`),e}createItemDataset(t){return{...t.item.dataset,command:t.item.command}}createIconClass(t){let e="lm-CommandPalette-itemIcon",n=t.item.iconClass;return n?`${e} ${n}`:e}formatHeader(t){return t.indices&&0!==t.indices.length?q.highlight(t.category,t.indices,Lt.mark):t.category}formatEmptyMessage(t){return`No commands found that match '${t.query}'`}formatItemShortcut(t){let e=t.item.keyBinding;return e?Tt.formatKeystroke(e.keys):null}formatItemLabel(t){return t.indices&&0!==t.indices.length?q.highlight(t.item.label,t.indices,Lt.mark):t.item.label}formatItemCaption(t){return t.item.caption}}t.Renderer=e,t.defaultRenderer=new e}(ie||(ie={})),function(e){function n(t,e){let n=t.category.toLowerCase(),i=`${n} ${t.label.toLowerCase()}`,r=1/0,s=null,o=/\b\w/g;for(;;){let t=o.exec(i);if(!t)break;let n=q.matchSumOfDeltas(i,e,t.index);if(!n)break;n.score<=r&&(r=n.score,s=n.indices)}if(!s||r===1/0)return null;let a=n.length+1,l=W.lowerBound(s,a,((t,e)=>t-e)),h=s.slice(0,l),c=s.slice(l);for(let t=0,e=c.length;t<e;++t)c[t]-=a;return 0===h.length?{matchType:0,categoryIndices:null,labelIndices:c,score:r,item:t}:0===c.length?{matchType:1,categoryIndices:h,labelIndices:null,score:r,item:t}:{matchType:2,categoryIndices:h,labelIndices:c,score:r,item:t}}function i(t,e){let n=t.matchType-e.matchType;if(0!==n)return n;let i=t.score-e.score;if(0!==i)return i;let r=0,s=0;switch(t.matchType){case 0:r=t.labelIndices[0],s=e.labelIndices[0];break;case 1:case 2:r=t.categoryIndices[0],s=e.categoryIndices[0]}if(r!==s)return r-s;let o=t.item.category.localeCompare(e.item.category);if(0!==o)return o;let a=t.item.rank,l=e.item.rank;return a!==l?a<l?-1:1:t.item.label.localeCompare(e.item.label)}e.createNode=function(){let t=document.createElement("div"),e=document.createElement("div"),n=document.createElement("div"),i=document.createElement("input"),r=document.createElement("ul"),s=document.createElement("button");return e.className="lm-CommandPalette-search",n.className="lm-CommandPalette-wrapper",i.className="lm-CommandPalette-input",s.className="lm-close-icon",r.className="lm-CommandPalette-content",r.setAttribute("role","menu"),i.spellcheck=!1,n.appendChild(i),n.appendChild(s),e.appendChild(n),t.appendChild(e),t.appendChild(r),t},e.createItem=function(t,e){return new r(t,e)},e.search=function(t,e){let r=function(t,e){e=e.replace(/\s+/g,"").toLowerCase();let i=[];for(let r=0,s=t.length;r<s;++r){let s=t[r];if(!s.isVisible)continue;if(!e){i.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:s});continue}let o=n(s,e);o&&(s.isEnabled||(o.score+=1e3),i.push(o))}return i}(t,e);return r.sort(i),function(t){let e=new Array(t.length);W.fill(e,!1);let n=[];for(let i=0,r=t.length;i<r;++i){if(e[i])continue;let{item:s,categoryIndices:o}=t[i],a=s.category;n.push({type:"header",category:a,indices:o});for(let s=i;s<r;++s){if(e[s])continue;let{item:i,labelIndices:r}=t[s];i.category===a&&(n.push({type:"item",item:i,indices:r}),e[s]=!0)}}return n}(r)},e.canActivate=function(t){return"item"===t.type&&t.item.isEnabled};class r{constructor(e,n){this._commands=e,this.category=n.category.trim().replace(/\s+/g," "),this.command=n.command,this.args=n.args||t.JSONExt.emptyObject,this.rank=void 0!==n.rank?n.rank:1/0}get label(){return this._commands.label(this.command,this.args)}get icon(){return this._commands.icon(this.command,this.args)}get iconClass(){return this._commands.iconClass(this.command,this.args)}get iconLabel(){return this._commands.iconLabel(this.command,this.args)}get caption(){return this._commands.caption(this.command,this.args)}get className(){return this._commands.className(this.command,this.args)}get dataset(){return this._commands.dataset(this.command,this.args)}get isEnabled(){return this._commands.isEnabled(this.command,this.args)}get isToggled(){return this._commands.isToggled(this.command,this.args)}get isToggleable(){return this._commands.isToggleable(this.command,this.args)}get isVisible(){return this._commands.isVisible(this.command,this.args)}get keyBinding(){let{command:e,args:n}=this;return W.findLastValue(this._commands.keyBindings,(i=>i.command===e&&t.JSONExt.deepEqual(i.args,n)))||null}}}(Vt||(Vt={}));class re extends Ot{constructor(t){super({node:Kt.createNode()}),this._childIndex=-1,this._activeIndex=-1,this._openTimerID=0,this._closeTimerID=0,this._items=[],this._childMenu=null,this._parentMenu=null,this._aboutToClose=new ft(this),this._menuRequested=new ft(this),this.addClass("lm-Menu"),this.setFlag(Ot.Flag.DisallowLayout),this.commands=t.commands,this.renderer=t.renderer||re.defaultRenderer}dispose(){this.close(),this._items.length=0,super.dispose()}get aboutToClose(){return this._aboutToClose}get menuRequested(){return this._menuRequested}get parentMenu(){return this._parentMenu}get childMenu(){return this._childMenu}get rootMenu(){let t=this;for(;t._parentMenu;)t=t._parentMenu;return t}get leafMenu(){let t=this;for(;t._childMenu;)t=t._childMenu;return t}get contentNode(){return this.node.getElementsByClassName("lm-Menu-content")[0]}get activeItem(){return this._items[this._activeIndex]||null}set activeItem(t){this.activeIndex=t?this._items.indexOf(t):-1}get activeIndex(){return this._activeIndex}set activeIndex(t){(t<0||t>=this._items.length)&&(t=-1),-1===t||Kt.canActivate(this._items[t])||(t=-1),this._activeIndex!==t&&(this._activeIndex=t,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())}get items(){return this._items}activateNextItem(){let t=this._items.length,e=this._activeIndex,n=e<t-1?e+1:0,i=0===n?t-1:n-1;this.activeIndex=W.findFirstIndex(this._items,Kt.canActivate,n,i)}activatePreviousItem(){let t=this._items.length,e=this._activeIndex,n=e<=0?t-1:e-1,i=n===t-1?0:n+1;this.activeIndex=W.findLastIndex(this._items,Kt.canActivate,n,i)}triggerActiveItem(){if(!this.isAttached)return;let t=this.activeItem;if(!t)return;if(this._cancelOpenTimer(),this._cancelCloseTimer(),"submenu"===t.type)return void this._openChildMenu(!0);this.rootMenu.close();let{command:e,args:n}=t;this.commands.isEnabled(e,n)?this.commands.execute(e,n):console.log(`Command '${e}' is disabled.`)}addItem(t){return this.insertItem(this._items.length,t)}insertItem(t,e){this.isAttached&&this.close(),this.activeIndex=-1;let n=Math.max(0,Math.min(t,this._items.length)),i=Kt.createItem(this,e);return W.insert(this._items,n,i),this.update(),i}removeItem(t){this.removeItemAt(this._items.indexOf(t))}removeItemAt(t){this.isAttached&&this.close(),this.activeIndex=-1,W.removeAt(this._items,t)&&this.update()}clearItems(){this.isAttached&&this.close(),this.activeIndex=-1,0!==this._items.length&&(this._items.length=0,this.update())}open(t,e,n={}){if(this.isAttached)return;let i=n.forceX||!1,r=n.forceY||!1;Kt.openRootMenu(this,t,e,i,r),this.activate()}handleEvent(t){switch(t.type){case"keydown":this._evtKeyDown(t);break;case"mouseup":this._evtMouseUp(t);break;case"mousemove":this._evtMouseMove(t);break;case"mouseenter":this._evtMouseEnter(t);break;case"mouseleave":this._evtMouseLeave(t);break;case"mousedown":this._evtMouseDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}}onBeforeAttach(t){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)}onAfterDetach(t){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)}onActivateRequest(t){this.isAttached&&this.node.focus()}onUpdateRequest(t){let e=this._items,n=this.renderer,i=this._activeIndex,r=Kt.computeCollapsed(e),s=new Array(e.length);for(let t=0,o=e.length;t<o;++t){let o=e[t],a=t===i,l=r[t];s[t]=n.renderItem({item:o,active:a,collapsed:l,onfocus:()=>{this.activeIndex=t}})}Mt.render(s,this.contentNode)}onCloseRequest(t){this._cancelOpenTimer(),this._cancelCloseTimer(),this.activeIndex=-1;let e=this._childMenu;e&&(this._childIndex=-1,this._childMenu=null,e._parentMenu=null,e.close());let n=this._parentMenu;n&&(this._parentMenu=null,n._childIndex=-1,n._childMenu=null,n.activate()),this.isAttached&&this._aboutToClose.emit(void 0),super.onCloseRequest(t)}_evtKeyDown(t){t.preventDefault(),t.stopPropagation();let e=t.keyCode;if(13===e)return void this.triggerActiveItem();if(27===e)return void this.close();if(37===e)return void(this._parentMenu?this.close():this._menuRequested.emit("previous"));if(38===e)return void this.activatePreviousItem();if(39===e){let t=this.activeItem;return void(t&&"submenu"===t.type?this.triggerActiveItem():this.rootMenu._menuRequested.emit("next"))}if(40===e)return void this.activateNextItem();let n=_t().keyForKeydownEvent(t);if(!n)return;let i=this._activeIndex+1,r=Kt.findMnemonic(this._items,n,i);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.triggerActiveItem())}_evtMouseUp(t){0===t.button&&(t.preventDefault(),t.stopPropagation(),this.triggerActiveItem())}_evtMouseMove(t){let e=W.findFirstIndex(this.contentNode.children,(e=>U.hitTest(e,t.clientX,t.clientY)));if(e===this._activeIndex)return;if(this.activeIndex=e,e=this.activeIndex,e===this._childIndex)return this._cancelOpenTimer(),void this._cancelCloseTimer();-1!==this._childIndex&&this._startCloseTimer(),this._cancelOpenTimer();let n=this.activeItem;n&&"submenu"===n.type&&n.submenu&&this._startOpenTimer()}_evtMouseEnter(t){for(let t=this._parentMenu;t;t=t._parentMenu)t._cancelOpenTimer(),t._cancelCloseTimer(),t.activeIndex=t._childIndex}_evtMouseLeave(t){if(this._cancelOpenTimer(),!this._childMenu)return void(this.activeIndex=-1);let{clientX:e,clientY:n}=t;U.hitTest(this._childMenu.node,e,n)?this._cancelCloseTimer():(this.activeIndex=-1,this._startCloseTimer())}_evtMouseDown(t){this._parentMenu||(Kt.hitTestMenus(this,t.clientX,t.clientY)?(t.preventDefault(),t.stopPropagation()):this.close())}_openChildMenu(t=!1){let e=this.activeItem;if(!e||"submenu"!==e.type||!e.submenu)return void this._closeChildMenu();let n=e.submenu;if(n===this._childMenu)return;re.saveWindowData(),this._closeChildMenu(),this._childMenu=n,this._childIndex=this._activeIndex,n._parentMenu=this,J.sendMessage(this,Ot.Msg.UpdateRequest);let i=this.contentNode.children[this._activeIndex];Kt.openSubmenu(n,i),t&&(n.activeIndex=-1,n.activateNextItem()),n.activate()}_closeChildMenu(){this._childMenu&&this._childMenu.close()}_startOpenTimer(){0===this._openTimerID&&(this._openTimerID=window.setTimeout((()=>{this._openTimerID=0,this._openChildMenu()}),Kt.TIMER_DELAY))}_startCloseTimer(){0===this._closeTimerID&&(this._closeTimerID=window.setTimeout((()=>{this._closeTimerID=0,this._closeChildMenu()}),Kt.TIMER_DELAY))}_cancelOpenTimer(){0!==this._openTimerID&&(clearTimeout(this._openTimerID),this._openTimerID=0)}_cancelCloseTimer(){0!==this._closeTimerID&&(clearTimeout(this._closeTimerID),this._closeTimerID=0)}static saveWindowData(){Kt.saveWindowData()}}!function(t){class e{renderItem(t){let e=this.createItemClass(t),n=this.createItemDataset(t),i=this.createItemARIA(t);return Lt.li({className:e,dataset:n,tabindex:"0",onfocus:t.onfocus,...i},this.renderIcon(t),this.renderLabel(t),this.renderShortcut(t),this.renderSubmenu(t))}renderIcon(t){let e=this.createIconClass(t);return Lt.div({className:e},t.item.icon,t.item.iconLabel)}renderLabel(t){let e=this.formatLabel(t);return Lt.div({className:"lm-Menu-itemLabel"},e)}renderShortcut(t){let e=this.formatShortcut(t);return Lt.div({className:"lm-Menu-itemShortcut"},e)}renderSubmenu(t){return Lt.div({className:"lm-Menu-itemSubmenuIcon"})}createItemClass(t){let e="lm-Menu-item";t.item.isEnabled||(e+=" lm-mod-disabled"),t.item.isToggled&&(e+=" lm-mod-toggled"),t.item.isVisible||(e+=" lm-mod-hidden"),t.active&&(e+=" lm-mod-active"),t.collapsed&&(e+=" lm-mod-collapsed");let n=t.item.className;return n&&(e+=` ${n}`),e}createItemDataset(t){let e,{type:n,command:i,dataset:r}=t.item;return e="command"===n?{...r,type:n,command:i}:{...r,type:n},e}createIconClass(t){let e="lm-Menu-itemIcon",n=t.item.iconClass;return n?`${e} ${n}`:e}createItemARIA(t){let e={};switch(t.item.type){case"separator":e.role="presentation";break;case"submenu":e["aria-haspopup"]="true",t.item.isEnabled||(e["aria-disabled"]="true");break;default:t.item.isEnabled||(e["aria-disabled"]="true"),e.role="menuitem"}return e}formatLabel(t){let{label:e,mnemonic:n}=t.item;if(n<0||n>=e.length)return e;let i=e.slice(0,n),r=e.slice(n+1),s=e[n];return[i,Lt.span({className:"lm-Menu-itemMnemonic"},s),r]}formatShortcut(t){let e=t.item.keyBinding;return e?Tt.formatKeystroke(e.keys):null}}t.Renderer=e,t.defaultRenderer=new e}(re||(re={})),function(e){e.TIMER_DELAY=300,e.SUBMENU_OVERLAP=3;let n=null,i=0;function r(){return i>0?(i--,n):o()}function s(t){return"separator"!==t.type&&t.isEnabled&&t.isVisible}function o(){return{pageXOffset:window.pageXOffset,pageYOffset:window.pageYOffset,clientWidth:document.documentElement.clientWidth,clientHeight:document.documentElement.clientHeight}}e.saveWindowData=function(){n=o(),i++},e.createNode=function(){let t=document.createElement("div"),e=document.createElement("ul");return e.className="lm-Menu-content",t.appendChild(e),e.setAttribute("role","menu"),t.tabIndex=0,t},e.canActivate=s,e.createItem=function(t,e){return new a(t.commands,e)},e.hitTestMenus=function(t,e,n){for(let i=t;i;i=i.childMenu)if(U.hitTest(i.node,e,n))return!0;return!1},e.computeCollapsed=function(t){let e=new Array(t.length);W.fill(e,!1);let n=0,i=t.length;for(;n<i;++n){let i=t[n];if(i.isVisible){if("separator"!==i.type)break;e[n]=!0}}let r=i-1;for(;r>=0;--r){let n=t[r];if(n.isVisible){if("separator"!==n.type)break;e[r]=!0}}let s=!1;for(;++n<r;){let i=t[n];i.isVisible&&("separator"!==i.type?s=!1:s?e[n]=!0:s=!0)}return e},e.openRootMenu=function(t,e,n,i,s){const o=r();let a=o.pageXOffset,l=o.pageYOffset,h=o.clientWidth,c=o.clientHeight;J.sendMessage(t,Ot.Msg.UpdateRequest);let u=c-(s?n:0),d=t.node,f=d.style;f.opacity="0",f.maxHeight=`${u}px`,Ot.attach(t,document.body);let{width:p,height:m}=d.getBoundingClientRect();!i&&e+p>a+h&&(e=a+h-p),!s&&n+m>l+c&&(n>l+c?n=l+c-m:n-=m),f.transform=`translate(${Math.max(0,e)}px, ${Math.max(0,n)}px`,f.opacity="1"},e.openSubmenu=function(t,n){const i=r();let s=i.pageXOffset,o=i.pageYOffset,a=i.clientWidth,l=i.clientHeight;J.sendMessage(t,Ot.Msg.UpdateRequest);let h=l,c=t.node,u=c.style;u.opacity="0",u.maxHeight=`${h}px`,Ot.attach(t,document.body);let{width:d,height:f}=c.getBoundingClientRect(),p=U.boxSizing(t.node),m=n.getBoundingClientRect(),g=m.right-e.SUBMENU_OVERLAP;g+d>s+a&&(g=m.left+e.SUBMENU_OVERLAP-d);let v=m.top-p.borderTop-p.paddingTop;v+f>o+l&&(v=m.bottom+p.borderBottom+p.paddingBottom-f),u.transform=`translate(${Math.max(0,g)}px, ${Math.max(0,v)}px`,u.opacity="1"},e.findMnemonic=function(t,e,n){let i=-1,r=-1,o=!1,a=e.toUpperCase();for(let e=0,l=t.length;e<l;++e){let h=(e+n)%l,c=t[h];if(!s(c))continue;let u=c.label;if(0===u.length)continue;let d=c.mnemonic;d>=0&&d<u.length?u[d].toUpperCase()===a&&(-1===i?i=h:o=!0):-1===r&&u[0].toUpperCase()===a&&(r=h)}return{index:i,multiple:o,auto:r}};class a{constructor(e,n){this._commands=e,this.type=n.type||"command",this.command=n.command||"",this.args=n.args||t.JSONExt.emptyObject,this.submenu=n.submenu||null}get label(){return"command"===this.type?this._commands.label(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.label:""}get mnemonic(){return"command"===this.type?this._commands.mnemonic(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.mnemonic:-1}get icon(){return"command"===this.type?this._commands.icon(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.icon:void 0}get iconClass(){return"command"===this.type?this._commands.iconClass(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconClass:""}get iconLabel(){return"command"===this.type?this._commands.iconLabel(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconLabel:""}get caption(){return"command"===this.type?this._commands.caption(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.caption:""}get className(){return"command"===this.type?this._commands.className(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.className:""}get dataset(){return"command"===this.type?this._commands.dataset(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.dataset:{}}get isEnabled(){return"command"===this.type?this._commands.isEnabled(this.command,this.args):"submenu"!==this.type||null!==this.submenu}get isToggled(){return"command"===this.type&&this._commands.isToggled(this.command,this.args)}get isVisible(){return"command"===this.type?this._commands.isVisible(this.command,this.args):"submenu"!==this.type||null!==this.submenu}get keyBinding(){if("command"===this.type){let{command:e,args:n}=this;return W.findLastValue(this._commands.keyBindings,(i=>i.command===e&&t.JSONExt.deepEqual(i.args,n)))||null}return null}}}(Kt||(Kt={})),function(t){function e(t,e){let n=t.rank,i=e.rank;return n!==i?n<i?-1:1:t.id-e.id}function n(t,n){let i=K.calculateSpecificity(t.selector),r=K.calculateSpecificity(n.selector);return i!==r?r-i:e(t,n)}t.createItem=function(t,e){let n=function(t){if(-1!==t.indexOf(","))throw new Error(`Selector cannot contain commas: ${t}`);if(!K.isValid(t))throw new Error(`Invalid selector: ${t}`);return t}(t.selector),i=void 0!==t.rank?t.rank:1/0;return{...t,selector:n,rank:i,id:e}},t.matchItems=function(t,i,r,s){let o=i.target;if(!o)return null;let a=i.currentTarget;if(!a)return null;if(!a.contains(o)&&(o=document.elementFromPoint(i.clientX,i.clientY),!o||!a.contains(o)))return null;let l=[],h=t.slice();for(;null!==o;){let t=[];for(let e=0,n=h.length;e<n;++e){let n=h[e];n&&K.matches(o,n.selector)&&(t.push(n),h[e]=null)}if(0!==t.length&&(r&&t.sort(s?n:e),l.push(...t)),o===a)break;o=o.parentElement}return r||l.sort(s?n:e),l}}(Xt||(Xt={}));const se=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Home","End"];class oe extends Ot{constructor(t={}){super({node:ae.createNode()}),this._currentIndex=-1,this._titles=[],this._titlesEditable=!1,this._previousTitle=null,this._dragData=null,this._addButtonEnabled=!1,this._tabMoved=new ft(this),this._currentChanged=new ft(this),this._addRequested=new ft(this),this._tabCloseRequested=new ft(this),this._tabDetachRequested=new ft(this),this._tabActivateRequested=new ft(this),this.addClass("lm-TabBar"),this.contentNode.setAttribute("role","tablist"),this.setFlag(Ot.Flag.DisallowLayout),this._document=t.document||document,this.tabsMovable=t.tabsMovable||!1,this.titlesEditable=t.titlesEditable||!1,this.allowDeselect=t.allowDeselect||!1,this.addButtonEnabled=t.addButtonEnabled||!1,this.insertBehavior=t.insertBehavior||"select-tab-if-needed",this.name=t.name||"",this.orientation=t.orientation||"horizontal",this.removeBehavior=t.removeBehavior||"select-tab-after",this.renderer=t.renderer||oe.defaultRenderer}dispose(){this._releaseMouse(),this._titles.length=0,this._previousTitle=null,super.dispose()}get currentChanged(){return this._currentChanged}get tabMoved(){return this._tabMoved}get tabActivateRequested(){return this._tabActivateRequested}get addRequested(){return this._addRequested}get tabCloseRequested(){return this._tabCloseRequested}get tabDetachRequested(){return this._tabDetachRequested}get document(){return this._document}get titlesEditable(){return this._titlesEditable}set titlesEditable(t){this._titlesEditable=t}get currentTitle(){return this._titles[this._currentIndex]||null}set currentTitle(t){this.currentIndex=t?this._titles.indexOf(t):-1}get currentIndex(){return this._currentIndex}set currentIndex(t){if((t<0||t>=this._titles.length)&&(t=-1),this._currentIndex===t)return;let e=this._currentIndex,n=this._titles[e]||null,i=t,r=this._titles[i]||null;this._currentIndex=i,this._previousTitle=n,this.update(),this._currentChanged.emit({previousIndex:e,previousTitle:n,currentIndex:i,currentTitle:r})}get name(){return this._name}set name(t){this._name=t,t?this.contentNode.setAttribute("aria-label",t):this.contentNode.removeAttribute("aria-label")}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._releaseMouse(),this._orientation=t,this.dataset.orientation=t,this.contentNode.setAttribute("aria-orientation",t))}get addButtonEnabled(){return this._addButtonEnabled}set addButtonEnabled(t){this._addButtonEnabled!==t&&(this._addButtonEnabled=t,t?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))}get titles(){return this._titles}get contentNode(){return this.node.getElementsByClassName("lm-TabBar-content")[0]}get addButtonNode(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]}addTab(t){return this.insertTab(this._titles.length,t)}insertTab(t,e){this._releaseMouse();let n=ae.asTitle(e),i=this._titles.indexOf(n),r=Math.max(0,Math.min(t,this._titles.length));return-1===i?(W.insert(this._titles,r,n),n.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(r,n),n):(r===this._titles.length&&r--,i===r||(W.move(this._titles,i,r),this.update(),this._adjustCurrentForMove(i,r)),n)}removeTab(t){this.removeTabAt(this._titles.indexOf(t))}removeTabAt(t){this._releaseMouse();let e=W.removeAt(this._titles,t);e&&(e.changed.disconnect(this._onTitleChanged,this),e===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(t,e))}clearTabs(){if(0===this._titles.length)return;this._releaseMouse();for(let t of this._titles)t.changed.disconnect(this._onTitleChanged,this);let t=this.currentIndex,e=this.currentTitle;this._currentIndex=-1,this._previousTitle=null,this._titles.length=0,this.update(),-1!==t&&this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:-1,currentTitle:null})}releaseMouse(){this._releaseMouse()}handleEvent(t){switch(t.type){case"pointerdown":this._evtPointerDown(t);break;case"pointermove":this._evtPointerMove(t);break;case"pointerup":this._evtPointerUp(t);break;case"dblclick":this._evtDblClick(t);break;case"keydown":t.eventPhase===Event.CAPTURING_PHASE?this._evtKeyDownCapturing(t):this._evtKeyDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}}onBeforeAttach(t){this.node.addEventListener("pointerdown",this),this.node.addEventListener("dblclick",this),this.node.addEventListener("keydown",this)}onAfterDetach(t){this.node.removeEventListener("pointerdown",this),this.node.removeEventListener("dblclick",this),this.node.removeEventListener("keydown",this),this._releaseMouse()}onUpdateRequest(t){var e;let n=this._titles,i=this.renderer,r=this.currentTitle,s=new Array(n.length);const o=null!==(e=this._getCurrentTabindex())&&void 0!==e?e:this._currentIndex>-1?this._currentIndex:0;for(let t=0,e=n.length;t<e;++t){let a=n[t],l=a===r,h=l?e:e-t-1,c=o===t?0:-1;s[t]=i.renderTab({title:a,current:l,zIndex:h,tabIndex:c})}Mt.render(s,this.contentNode)}_getCurrentTabindex(){let t=null;const e=this.contentNode.querySelector('li[tabindex="0"]');return e?t=[...this.contentNode.children].indexOf(e):this._addButtonEnabled&&"0"===this.addButtonNode.getAttribute("tabindex")&&(t=-1),t}_evtDblClick(t){if(!this.titlesEditable)return;let e=this.contentNode.children,n=W.findFirstIndex(e,(e=>U.hitTest(e,t.clientX,t.clientY)));if(-1===n)return;let i=this.titles[n],r=e[n].querySelector(".lm-TabBar-tabLabel");if(r&&r.contains(t.target)){let t=i.label||"",e=r.innerHTML;r.innerHTML="";let n=document.createElement("input");n.classList.add("lm-TabBar-tabInput"),n.value=t,r.appendChild(n);let s=()=>{n.removeEventListener("blur",s),r.innerHTML=e,this.node.addEventListener("keydown",this)};n.addEventListener("dblclick",(t=>t.stopPropagation())),n.addEventListener("blur",s),n.addEventListener("keydown",(t=>{"Enter"===t.key?(""!==n.value&&(i.label=i.caption=n.value),s()):"Escape"===t.key&&s()})),this.node.removeEventListener("keydown",this),n.select(),n.focus(),r.children.length>0&&r.children[0].focus()}}_evtKeyDownCapturing(t){t.eventPhase===Event.CAPTURING_PHASE&&(t.preventDefault(),t.stopPropagation(),"Escape"===t.key&&this._releaseMouse())}_evtKeyDown(t){var e,n,i;if("Tab"!==t.key&&t.eventPhase!==Event.CAPTURING_PHASE)if("Enter"===t.key||"Spacebar"===t.key||" "===t.key){const e=document.activeElement;if(this.addButtonEnabled&&this.addButtonNode.contains(e))t.preventDefault(),t.stopPropagation(),this._addRequested.emit();else{const n=W.findFirstIndex(this.contentNode.children,(t=>t.contains(e)));n>=0&&(t.preventDefault(),t.stopPropagation(),this.currentIndex=n)}}else if(se.includes(t.key)){const r=[...this.contentNode.children];if(this.addButtonEnabled&&r.push(this.addButtonNode),r.length<=1)return;t.preventDefault(),t.stopPropagation();let s,o=r.indexOf(document.activeElement);-1===o&&(o=this._currentIndex),"ArrowRight"===t.key&&"horizontal"===this._orientation||"ArrowDown"===t.key&&"vertical"===this._orientation?s=null!==(e=r[o+1])&&void 0!==e?e:r[0]:"ArrowLeft"===t.key&&"horizontal"===this._orientation||"ArrowUp"===t.key&&"vertical"===this._orientation?s=null!==(n=r[o-1])&&void 0!==n?n:r[r.length-1]:"Home"===t.key?s=r[0]:"End"===t.key&&(s=r[r.length-1]),s&&(null===(i=r[o])||void 0===i||i.setAttribute("tabindex","-1"),null==s||s.setAttribute("tabindex","0"),s.focus())}}_evtPointerDown(t){if(0!==t.button&&1!==t.button)return;if(this._dragData)return;if(t.target.classList.contains("lm-TabBar-tabInput"))return;let e=this.addButtonEnabled&&this.addButtonNode.contains(t.target),n=this.contentNode.children,i=W.findFirstIndex(n,(e=>U.hitTest(e,t.clientX,t.clientY)));if(-1===i&&!e)return;if(t.preventDefault(),t.stopPropagation(),this._dragData={tab:n[i],index:i,pressX:t.clientX,pressY:t.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("pointerup",this,!0),1===t.button||e)return;let r=n[i].querySelector(this.renderer.closeIconSelector);r&&r.contains(t.target)||(this.tabsMovable&&(this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===i?this.currentIndex=-1:this.currentIndex=i,-1!==this.currentIndex&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}_evtPointerMove(t){let e=this._dragData;if(!e)return;t.preventDefault(),t.stopPropagation();let n=this.contentNode.children;if(e.dragActive||ae.dragExceeded(e,t)){if(!e.dragActive){let t=e.tab.getBoundingClientRect();"horizontal"===this._orientation?(e.tabPos=e.tab.offsetLeft,e.tabSize=t.width,e.tabPressPos=e.pressX-t.left):(e.tabPos=e.tab.offsetTop,e.tabSize=t.height,e.tabPressPos=e.pressY-t.top),e.tabPressOffset={x:e.pressX-t.left,y:e.pressY-t.top},e.tabLayout=ae.snapTabLayout(n,this._orientation),e.contentRect=this.contentNode.getBoundingClientRect(),e.override=vt.overrideCursor("default"),e.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),e.dragActive=!0}if(!e.detachRequested&&ae.detachExceeded(e,t)){e.detachRequested=!0;let i=e.index,r=t.clientX,s=t.clientY,o=n[i],a=this._titles[i];if(this._tabDetachRequested.emit({index:i,title:a,tab:o,clientX:r,clientY:s,offset:e.tabPressOffset}),e.dragAborted)return}ae.layoutTabs(n,e,t,this._orientation)}}_evtPointerUp(t){if(0!==t.button&&1!==t.button)return;const e=this._dragData;if(!e)return;if(t.preventDefault(),t.stopPropagation(),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!e.dragActive){if(this._dragData=null,this.addButtonEnabled&&this.addButtonNode.contains(t.target))return void this._addRequested.emit(void 0);let n=this.contentNode.children,i=W.findFirstIndex(n,(e=>U.hitTest(e,t.clientX,t.clientY)));if(i!==e.index)return;let r=this._titles[i];if(!r.closable)return;if(1===t.button)return void this._tabCloseRequested.emit({index:i,title:r});let s=n[i].querySelector(this.renderer.closeIconSelector);return s&&s.contains(t.target)?void this._tabCloseRequested.emit({index:i,title:r}):void 0}if(0!==t.button)return;ae.finalizeTabPosition(e,this._orientation),e.tab.classList.remove("lm-mod-dragging");let n=ae.parseTransitionDuration(e.tab);setTimeout((()=>{if(e.dragAborted)return;this._dragData=null,ae.resetTabPositions(this.contentNode.children,this._orientation),e.override.dispose(),this.removeClass("lm-mod-dragging");let t=e.index,n=e.targetIndex;-1!==n&&t!==n&&(W.move(this._titles,t,n),this._adjustCurrentForMove(t,n),this._tabMoved.emit({fromIndex:t,toIndex:n,title:this._titles[n]}),J.sendMessage(this,Ot.Msg.UpdateRequest))}),n)}_releaseMouse(){let t=this._dragData;t&&(this._dragData=null,this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),t.dragAborted=!0,t.dragActive&&(ae.resetTabPositions(this.contentNode.children,this._orientation),t.override.dispose(),t.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging")))}_adjustCurrentForInsert(t,e){let n=this.currentTitle,i=this._currentIndex,r=this.insertBehavior;if("select-tab"===r||"select-tab-if-needed"===r&&-1===i)return this._currentIndex=t,this._previousTitle=n,void this._currentChanged.emit({previousIndex:i,previousTitle:n,currentIndex:t,currentTitle:e});i>=t&&this._currentIndex++}_adjustCurrentForMove(t,e){this._currentIndex===t?this._currentIndex=e:this._currentIndex<t&&this._currentIndex>=e?this._currentIndex++:this._currentIndex>t&&this._currentIndex<=e&&this._currentIndex--}_adjustCurrentForRemove(t,e){let n=this._currentIndex,i=this.removeBehavior;if(n===t){if(0===this._titles.length)return this._currentIndex=-1,void this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:-1,currentTitle:null});if("select-tab-after"===i)return this._currentIndex=Math.min(t,this._titles.length-1),void this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-tab-before"===i)return this._currentIndex=Math.max(0,t-1),void this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-previous-tab"===i)return this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(t,this._titles.length-1),void this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:this._currentIndex,currentTitle:this.currentTitle});this._currentIndex=-1,this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:-1,currentTitle:null})}else n>t&&this._currentIndex--}_onTitleChanged(t){this.update()}}var ae,le,he,ce,ue,de,fe,pe;!function(t){class e{constructor(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++e._nInstance}renderTab(t){let e=t.title.caption,n=this.createTabKey(t),i=n,r=this.createTabStyle(t),s=this.createTabClass(t),o=this.createTabDataset(t),a=this.createTabARIA(t);return t.title.closable?Lt.li({id:i,key:n,className:s,title:e,style:r,dataset:o,...a},this.renderIcon(t),this.renderLabel(t),this.renderCloseIcon(t)):Lt.li({id:i,key:n,className:s,title:e,style:r,dataset:o,...a},this.renderIcon(t),this.renderLabel(t))}renderIcon(t){const{title:e}=t;let n=this.createIconClass(t);return Lt.div({className:n},e.icon,e.iconLabel)}renderLabel(t){return Lt.div({className:"lm-TabBar-tabLabel"},t.title.label)}renderCloseIcon(t){return Lt.div({className:"lm-TabBar-tabCloseIcon"})}createTabKey(t){let e=this._tabKeys.get(t.title);return void 0===e&&(e=`tab-key-${this._uuid}-${this._tabID++}`,this._tabKeys.set(t.title,e)),e}createTabStyle(t){return{zIndex:`${t.zIndex}`}}createTabClass(t){let e="lm-TabBar-tab";return t.title.className&&(e+=` ${t.title.className}`),t.title.closable&&(e+=" lm-mod-closable"),t.current&&(e+=" lm-mod-current"),e}createTabDataset(t){return t.title.dataset}createTabARIA(t){var e;return{role:"tab","aria-selected":t.current.toString(),tabindex:`${null!==(e=t.tabIndex)&&void 0!==e?e:"-1"}`}}createIconClass(t){let e="lm-TabBar-tabIcon",n=t.title.iconClass;return n?`${e} ${n}`:e}}e._nInstance=0,t.Renderer=e,t.defaultRenderer=new e,t.addButtonSelector=".lm-TabBar-addButton"}(oe||(oe={})),function(t){t.DRAG_THRESHOLD=5,t.DETACH_THRESHOLD=20,t.createNode=function(){let t=document.createElement("div"),e=document.createElement("ul");e.setAttribute("role","tablist"),e.className="lm-TabBar-content",t.appendChild(e);let n=document.createElement("div");return n.className="lm-TabBar-addButton lm-mod-hidden",n.setAttribute("tabindex","-1"),n.setAttribute("role","button"),t.appendChild(n),t},t.asTitle=function(t){return t instanceof Nt?t:new Nt(t)},t.parseTransitionDuration=function(t){let e=window.getComputedStyle(t);return 1e3*(parseFloat(e.transitionDuration)||0)},t.snapTabLayout=function(t,e){let n=new Array(t.length);for(let i=0,r=t.length;i<r;++i){let r=t[i],s=window.getComputedStyle(r);n[i]="horizontal"===e?{pos:r.offsetLeft,size:r.offsetWidth,margin:parseFloat(s.marginLeft)||0}:{pos:r.offsetTop,size:r.offsetHeight,margin:parseFloat(s.marginTop)||0}}return n},t.dragExceeded=function(e,n){let i=Math.abs(n.clientX-e.pressX),r=Math.abs(n.clientY-e.pressY);return i>=t.DRAG_THRESHOLD||r>=t.DRAG_THRESHOLD},t.detachExceeded=function(e,n){let i=e.contentRect;return n.clientX<i.left-t.DETACH_THRESHOLD||n.clientX>=i.right+t.DETACH_THRESHOLD||n.clientY<i.top-t.DETACH_THRESHOLD||n.clientY>=i.bottom+t.DETACH_THRESHOLD},t.layoutTabs=function(t,e,n,i){let r,s,o,a;"horizontal"===i?(r=e.pressX,s=n.clientX-e.contentRect.left,o=n.clientX,a=e.contentRect.width):(r=e.pressY,s=n.clientY-e.contentRect.top,o=n.clientY,a=e.contentRect.height);let l=e.index,h=s-e.tabPressPos,c=h+e.tabSize;for(let n=0,s=t.length;n<s;++n){let s,u=e.tabLayout[n],d=u.pos+(u.size>>1);if(n<e.index&&h<d)s=`${e.tabSize+e.tabLayout[n+1].margin}px`,l=Math.min(l,n);else if(n>e.index&&c>d)s=-e.tabSize-u.margin+"px",l=Math.max(l,n);else if(n===e.index){let t=o-r,n=a-(e.tabPos+e.tabSize);s=`${Math.max(-e.tabPos,Math.min(t,n))}px`}else s="";"horizontal"===i?t[n].style.left=s:t[n].style.top=s}e.targetIndex=l},t.finalizeTabPosition=function(t,e){let n,i;if(n="horizontal"===e?t.contentRect.width:t.contentRect.height,t.targetIndex===t.index)i=0;else if(t.targetIndex>t.index){let e=t.tabLayout[t.targetIndex];i=e.pos+e.size-t.tabSize-t.tabPos}else i=t.tabLayout[t.targetIndex].pos-t.tabPos;let r=n-(t.tabPos+t.tabSize),s=Math.max(-t.tabPos,Math.min(i,r));"horizontal"===e?t.tab.style.left=`${s}px`:t.tab.style.top=`${s}px`},t.resetTabPositions=function(t,e){for(const n of t)"horizontal"===e?n.style.left="":n.style.top=""}}(ae||(ae={}));class me extends jt{constructor(t){super(),this._spacing=4,this._dirty=!1,this._root=null,this._box=null,this._items=new Map,this.renderer=t.renderer,void 0!==t.spacing&&(this._spacing=Yt.clampDimension(t.spacing)),this._document=t.document||document,this._hiddenMode=void 0!==t.hiddenMode?t.hiddenMode:Ot.HiddenMode.Display}dispose(){let t=this[Symbol.iterator]();this._items.forEach((t=>{t.dispose()})),this._box=null,this._root=null,this._items.clear();for(const e of t)e.dispose();super.dispose()}get hiddenMode(){return this._hiddenMode}set hiddenMode(t){if(this._hiddenMode!==t){this._hiddenMode=t;for(const t of this.tabBars())if(t.titles.length>1)for(const e of t.titles)e.owner.hiddenMode=this._hiddenMode}}get spacing(){return this._spacing}set spacing(t){t=Yt.clampDimension(t),this._spacing!==t&&(this._spacing=t,this.parent&&this.parent.fit())}get isEmpty(){return null===this._root}[Symbol.iterator](){return this._root?this._root.iterAllWidgets():at()}widgets(){return this._root?this._root.iterUserWidgets():at()}selectedWidgets(){return this._root?this._root.iterSelectedWidgets():at()}tabBars(){return this._root?this._root.iterTabBars():at()}handles(){return this._root?this._root.iterHandles():at()}moveHandle(t,e,n){let i=t.classList.contains("lm-mod-hidden");if(!this._root||i)return;let r,s=this._root.findSplitNode(t);s&&(r="horizontal"===s.node.orientation?e-t.offsetLeft:n-t.offsetTop,0!==r&&(s.node.holdSizes(),Et.adjust(s.node.sizers,s.index,r),this.parent&&this.parent.update()))}saveLayout(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}}restoreLayout(t){let e,n=new Set;e=t.main?le.normalizeAreaConfig(t.main,n):null;let i=this.widgets(),r=this.tabBars(),s=this.handles();this._root=null;for(const t of i)n.has(t)||(t.parent=null);for(const t of r)t.dispose();for(const t of s)t.parentNode&&t.parentNode.removeChild(t);for(const t of n)t.parent=this.parent;this._root=e?le.realizeAreaConfig(e,{createTabBar:t=>this._createTabBar(),createHandle:()=>this._createHandle()},this._document):null,this.parent&&(n.forEach((t=>{this.attachWidget(t)})),this.parent.fit())}addWidget(t,e={}){let n=e.ref||null,i=e.mode||"tab-after",r=null;if(this._root&&n&&(r=this._root.findTabNode(n)),n&&!r)throw new Error("Reference widget is not in the layout.");switch(t.parent=this.parent,i){case"tab-after":this._insertTab(t,n,r,!0);break;case"tab-before":this._insertTab(t,n,r,!1);break;case"split-top":this._insertSplit(t,n,r,"vertical",!1);break;case"split-left":this._insertSplit(t,n,r,"horizontal",!1);break;case"split-right":this._insertSplit(t,n,r,"horizontal",!0);break;case"split-bottom":this._insertSplit(t,n,r,"vertical",!0);break;case"merge-top":this._insertSplit(t,n,r,"vertical",!1,!0);break;case"merge-left":this._insertSplit(t,n,r,"horizontal",!1,!0);break;case"merge-right":this._insertSplit(t,n,r,"horizontal",!0,!0);break;case"merge-bottom":this._insertSplit(t,n,r,"vertical",!0,!0)}this.parent&&(this.attachWidget(t),this.parent.fit())}removeWidget(t){this._removeWidget(t),this.parent&&(this.detachWidget(t),this.parent.fit())}hitTestTabAreas(t,e){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=U.boxSizing(this.parent.node));let n=this.parent.node.getBoundingClientRect(),i=t-n.left-this._box.borderLeft,r=e-n.top-this._box.borderTop,s=this._root.hitTestTabNodes(i,r);if(!s)return null;let{tabBar:o,top:a,left:l,width:h,height:c}=s,u=this._box.borderLeft+this._box.borderRight,d=this._box.borderTop+this._box.borderBottom;return{tabBar:o,x:i,y:r,top:a,left:l,right:n.width-u-(l+h),bottom:n.height-d-(a+c),width:h,height:c}}init(){super.init();for(const t of this)this.attachWidget(t);for(const t of this.handles())this.parent.node.appendChild(t);this.parent.fit()}attachWidget(t){this.parent.node!==t.node.parentNode&&(this._items.set(t,new Bt(t)),this.parent.isAttached&&J.sendMessage(t,Ot.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&J.sendMessage(t,Ot.Msg.AfterAttach))}detachWidget(t){if(this.parent.node!==t.node.parentNode)return;this.parent.isAttached&&J.sendMessage(t,Ot.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&J.sendMessage(t,Ot.Msg.AfterDetach);let e=this._items.get(t);e&&(this._items.delete(t),e.dispose())}onBeforeShow(t){super.onBeforeShow(t),this.parent.update()}onBeforeAttach(t){super.onBeforeAttach(t),this.parent.fit()}onChildShown(t){this.parent.fit()}onChildHidden(t){this.parent.fit()}onResize(t){this.parent.isVisible&&this._update(t.width,t.height)}onUpdateRequest(t){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(t){this.parent.isAttached&&this._fit()}_removeWidget(t){if(!this._root)return;let e=this._root.findTabNode(t);if(!e)return;if(le.removeAria(t),e.tabBar.titles.length>1)return e.tabBar.removeTab(t.title),void(this._hiddenMode===Ot.HiddenMode.Scale&&1==e.tabBar.titles.length&&(e.tabBar.titles[0].owner.hiddenMode=Ot.HiddenMode.Display));if(e.tabBar.dispose(),this._root===e)return void(this._root=null);this._root.holdAllSizes();let n=e.parent;e.parent=null;let i=W.removeFirstOf(n.children,e),r=W.removeAt(n.handles,i);if(W.removeAt(n.sizers,i),r.parentNode&&r.parentNode.removeChild(r),n.children.length>1)return void n.syncHandles();let s=n.parent;n.parent=null;let o=n.children[0],a=n.handles[0];if(n.children.length=0,n.handles.length=0,n.sizers.length=0,a.parentNode&&a.parentNode.removeChild(a),this._root===n)return o.parent=null,void(this._root=o);let l=s,h=l.children.indexOf(n);if(o instanceof le.TabLayoutNode)return o.parent=l,void(l.children[h]=o);let c=W.removeAt(l.handles,h);W.removeAt(l.children,h),W.removeAt(l.sizers,h),c.parentNode&&c.parentNode.removeChild(c);for(let t=0,e=o.children.length;t<e;++t){let e=o.children[t],n=o.handles[t],i=o.sizers[t];W.insert(l.children,h+t,e),W.insert(l.handles,h+t,n),W.insert(l.sizers,h+t,i),e.parent=l}o.children.length=0,o.handles.length=0,o.sizers.length=0,o.parent=null,l.syncHandles()}_createTabNode(t){let e=new le.TabLayoutNode(this._createTabBar());return e.tabBar.addTab(t.title),le.addAria(t,e.tabBar),e}_insertTab(t,e,n,i){if(t===e)return;if(!this._root){let e=new le.TabLayoutNode(this._createTabBar());return e.tabBar.addTab(t.title),this._root=e,void le.addAria(t,e.tabBar)}let r;n||(n=this._root.findFirstTabNode()),-1===n.tabBar.titles.indexOf(t.title)&&(this._removeWidget(t),t.hide()),r=e?n.tabBar.titles.indexOf(e.title):n.tabBar.currentIndex,this._hiddenMode===Ot.HiddenMode.Scale?0===n.tabBar.titles.length?t.hiddenMode=Ot.HiddenMode.Display:1==n.tabBar.titles.length?n.tabBar.titles[0].owner.hiddenMode=Ot.HiddenMode.Scale:t.hiddenMode=Ot.HiddenMode.Scale:t.hiddenMode=this._hiddenMode,n.tabBar.insertTab(r+(i?1:0),t.title),le.addAria(t,n.tabBar)}_insertSplit(t,e,n,i,r,s=!1){if(t===e&&n&&1===n.tabBar.titles.length)return;if(this._removeWidget(t),!this._root)return void(this._root=this._createTabNode(t));if(!n||!n.parent){let e=this._splitRoot(i),s=r?e.children.length:0;e.normalizeSizes();let o=le.createSizer(n?1:le.GOLDEN_RATIO),a=this._createTabNode(t);return W.insert(e.children,s,a),W.insert(e.sizers,s,o),W.insert(e.handles,s,this._createHandle()),a.parent=e,e.normalizeSizes(),void e.syncHandles()}let o=n.parent;if(o.orientation===i){let e=o.children.indexOf(n);if(s){let n=e+(r?1:-1),i=o.children[n];if(i instanceof le.TabLayoutNode)return this._insertTab(t,null,i,!0),void++i.tabBar.currentIndex}o.normalizeSizes();let i=o.sizers[e].sizeHint/=2,a=e+(r?1:0),l=this._createTabNode(t);return W.insert(o.children,a,l),W.insert(o.sizers,a,le.createSizer(i)),W.insert(o.handles,a,this._createHandle()),l.parent=o,void o.syncHandles()}let a=W.removeFirstOf(o.children,n),l=new le.SplitLayoutNode(i);l.normalized=!0,l.children.push(n),l.sizers.push(le.createSizer(.5)),l.handles.push(this._createHandle()),n.parent=l;let h=r?1:0,c=this._createTabNode(t);W.insert(l.children,h,c),W.insert(l.sizers,h,le.createSizer(.5)),W.insert(l.handles,h,this._createHandle()),c.parent=l,l.syncHandles(),W.insert(o.children,a,l),l.parent=o}_splitRoot(t){let e=this._root;if(e instanceof le.SplitLayoutNode&&e.orientation===t)return e;let n=this._root=new le.SplitLayoutNode(t);return e&&(n.children.push(e),n.sizers.push(le.createSizer(0)),n.handles.push(this._createHandle()),e.parent=n),n}_fit(){let t=0,e=0;if(this._root){let n=this._root.fit(this._spacing,this._items);t=n.minWidth,e=n.minHeight}let n=this._box=U.boxSizing(this.parent.node);t+=n.horizontalSum,e+=n.verticalSum;let i=this.parent.node.style;i.minWidth=`${t}px`,i.minHeight=`${e}px`,this._dirty=!0,this.parent.parent&&J.sendMessage(this.parent.parent,Ot.Msg.FitRequest),this._dirty&&J.sendMessage(this.parent,Ot.Msg.UpdateRequest)}_update(t,e){if(this._dirty=!1,!this._root)return;t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=U.boxSizing(this.parent.node));let n=this._box.paddingTop,i=this._box.paddingLeft,r=t-this._box.horizontalSum,s=e-this._box.verticalSum;this._root.update(n,i,r,s,this._spacing,this._items)}_createTabBar(){let t=this.renderer.createTabBar(this._document);return t.orientation="horizontal",this.parent&&this.attachWidget(t),t}_createHandle(){let t=this.renderer.createHandle(),e=t.style;return e.position="absolute",e.contain="strict",e.top="0",e.left="0",e.width="0",e.height="0",this.parent&&this.parent.node.appendChild(t),t}}!function(t){function e(t){let e=new Dt;return e.sizeHint=t,e.size=t,e}t.GOLDEN_RATIO=.618,t.createSizer=e,t.normalizeAreaConfig=function t(e,n){let i;return i="tab-area"===e.type?function(t,e){if(0===t.widgets.length)return null;let n=[];for(const i of t.widgets)e.has(i)||(e.add(i),n.push(i));if(0===n.length)return null;let i=t.currentIndex;return-1!==i&&(i<0||i>=n.length)&&(i=0),{type:"tab-area",widgets:n,currentIndex:i}}(e,n):function(e,n){let i=e.orientation,r=[],s=[];for(let o=0,a=e.children.length;o<a;++o){let a=t(e.children[o],n);a&&("tab-area"===a.type||a.orientation!==i?(r.push(a),s.push(Math.abs(e.sizes[o]||0))):(r.push(...a.children),s.push(...a.sizes)))}return 0===r.length?null:1===r.length?r[0]:{type:"split-area",orientation:i,children:r,sizes:s}}(e,n),i},t.realizeAreaConfig=function r(s,o,a){let l;return l="tab-area"===s.type?function(e,i,r){let s=i.createTabBar(r);for(const n of e.widgets)n.hide(),s.addTab(n.title),t.addAria(n,s);return s.currentIndex=e.currentIndex,new n(s)}(s,o,a):function(t,n,s){let o=new i(t.orientation);return t.children.forEach(((i,a)=>{let l=r(i,n,s),h=e(t.sizes[a]),c=n.createHandle();o.children.push(l),o.handles.push(c),o.sizers.push(h),l.parent=o})),o.syncHandles(),o.normalizeSizes(),o}(s,o,a),l};class n{constructor(t){this.parent=null,this._top=0,this._left=0,this._width=0,this._height=0;let e=new Dt,n=new Dt;e.stretch=0,n.stretch=1,this.tabBar=t,this.sizers=[e,n]}get top(){return this._top}get left(){return this._left}get width(){return this._width}get height(){return this._height}*iterAllWidgets(){yield this.tabBar,yield*this.iterUserWidgets()}*iterUserWidgets(){for(const t of this.tabBar.titles)yield t.owner}*iterSelectedWidgets(){let t=this.tabBar.currentTitle;t&&(yield t.owner)}*iterTabBars(){yield this.tabBar}*iterHandles(){}findTabNode(t){return-1!==this.tabBar.titles.indexOf(t.title)?this:null}findSplitNode(t){return null}findFirstTabNode(){return this}hitTestTabNodes(t,e){return t<this._left||t>=this._left+this._width||e<this._top||e>=this._top+this._height?null:this}createConfig(){return{type:"tab-area",widgets:this.tabBar.titles.map((t=>t.owner)),currentIndex:this.tabBar.currentIndex}}holdAllSizes(){}fit(t,e){let n=0,i=0,r=e.get(this.tabBar),s=this.tabBar.currentTitle,o=s?e.get(s.owner):void 0,[a,l]=this.sizers;return r&&r.fit(),o&&o.fit(),r&&!r.isHidden?(n=Math.max(n,r.minWidth),i+=r.minHeight,a.minSize=r.minHeight,a.maxSize=r.maxHeight):(a.minSize=0,a.maxSize=0),o&&!o.isHidden?(n=Math.max(n,o.minWidth),i+=o.minHeight,l.minSize=o.minHeight,l.maxSize=1/0):(l.minSize=0,l.maxSize=1/0),{minWidth:n,minHeight:i,maxWidth:1/0,maxHeight:1/0}}update(t,e,n,i,r,s){this._top=e,this._left=t,this._width=n,this._height=i;let o=s.get(this.tabBar),a=this.tabBar.currentTitle,l=a?s.get(a.owner):void 0;if(Et.calc(this.sizers,i),o&&!o.isHidden){let i=this.sizers[0].size;o.update(t,e,n,i),e+=i}if(l&&!l.isHidden){let i=this.sizers[1].size;l.update(t,e,n,i)}}}t.TabLayoutNode=n;class i{constructor(t){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=t}*iterAllWidgets(){for(const t of this.children)yield*t.iterAllWidgets()}*iterUserWidgets(){for(const t of this.children)yield*t.iterUserWidgets()}*iterSelectedWidgets(){for(const t of this.children)yield*t.iterSelectedWidgets()}*iterTabBars(){for(const t of this.children)yield*t.iterTabBars()}*iterHandles(){yield*this.handles;for(const t of this.children)yield*t.iterHandles()}findTabNode(t){for(let e=0,n=this.children.length;e<n;++e){let n=this.children[e].findTabNode(t);if(n)return n}return null}findSplitNode(t){let e=this.handles.indexOf(t);if(-1!==e)return{index:e,node:this};for(let e=0,n=this.children.length;e<n;++e){let n=this.children[e].findSplitNode(t);if(n)return n}return null}findFirstTabNode(){return 0===this.children.length?null:this.children[0].findFirstTabNode()}hitTestTabNodes(t,e){for(let n=0,i=this.children.length;n<i;++n){let i=this.children[n].hitTestTabNodes(t,e);if(i)return i}return null}createConfig(){let t=this.orientation,e=this.createNormalizedSizes();return{type:"split-area",orientation:t,children:this.children.map((t=>t.createConfig())),sizes:e}}syncHandles(){this.handles.forEach(((t,e)=>{t.setAttribute("data-orientation",this.orientation),e===this.handles.length-1?t.classList.add("lm-mod-hidden"):t.classList.remove("lm-mod-hidden")}))}holdSizes(){for(const t of this.sizers)t.sizeHint=t.size}holdAllSizes(){for(const t of this.children)t.holdAllSizes();this.holdSizes()}normalizeSizes(){let t=this.sizers.length;if(0===t)return;this.holdSizes();let e=this.sizers.reduce(((t,e)=>t+e.sizeHint),0);if(0===e)for(const e of this.sizers)e.size=e.sizeHint=1/t;else for(const t of this.sizers)t.size=t.sizeHint/=e;this.normalized=!0}createNormalizedSizes(){let t=this.sizers.length;if(0===t)return[];let e=this.sizers.map((t=>t.size)),n=e.reduce(((t,e)=>t+e),0);if(0===n)for(let n=e.length-1;n>-1;n--)e[n]=1/t;else for(let t=e.length-1;t>-1;t--)e[t]/=n;return e}fit(t,e){let n="horizontal"===this.orientation,i=Math.max(0,this.children.length-1)*t,r=n?i:0,s=n?0:i;for(let i=0,o=this.children.length;i<o;++i){let o=this.children[i].fit(t,e);n?(s=Math.max(s,o.minHeight),r+=o.minWidth,this.sizers[i].minSize=o.minWidth):(r=Math.max(r,o.minWidth),s+=o.minHeight,this.sizers[i].minSize=o.minHeight)}return{minWidth:r,minHeight:s,maxWidth:1/0,maxHeight:1/0}}update(t,e,n,i,r,s){let o="horizontal"===this.orientation,a=Math.max(0,this.children.length-1)*r,l=Math.max(0,(o?n:i)-a);if(this.normalized){for(const t of this.sizers)t.sizeHint*=l;this.normalized=!1}Et.calc(this.sizers,l);for(let a=0,l=this.children.length;a<l;++a){let l=this.children[a],h=this.sizers[a].size,c=this.handles[a].style;o?(l.update(t,e,h,i,r,s),t+=h,c.top=`${e}px`,c.left=`${t}px`,c.width=`${r}px`,c.height=`${i}px`,t+=r):(l.update(t,e,n,h,r,s),e+=h,c.top=`${e}px`,c.left=`${t}px`,c.width=`${n}px`,c.height=`${r}px`,e+=r)}}}t.SplitLayoutNode=i,t.addAria=function(t,e){t.node.setAttribute("role","tabpanel");let n=e.renderer;if(n instanceof oe.Renderer){let e=n.createTabKey({title:t.title,current:!1,zIndex:0});t.node.setAttribute("aria-labelledby",e)}},t.removeAria=function(t){t.node.removeAttribute("role"),t.node.removeAttribute("aria-labelledby")}}(le||(le={}));class ge extends Ot{constructor(t={}){super(),this._drag=null,this._tabsMovable=!0,this._tabsConstrained=!1,this._addButtonEnabled=!1,this._pressData=null,this._layoutModified=new ft(this),this._addRequested=new ft(this),this.addClass("lm-DockPanel"),this._document=t.document||document,this._mode=t.mode||"multiple-document",this._renderer=t.renderer||ge.defaultRenderer,this._edges=t.edges||he.DEFAULT_EDGES,void 0!==t.tabsMovable&&(this._tabsMovable=t.tabsMovable),void 0!==t.tabsConstrained&&(this._tabsConstrained=t.tabsConstrained),void 0!==t.addButtonEnabled&&(this._addButtonEnabled=t.addButtonEnabled),this.dataset.mode=this._mode;let e={createTabBar:()=>this._createTabBar(),createHandle:()=>this._createHandle()};this.layout=new me({document:this._document,renderer:e,spacing:t.spacing,hiddenMode:t.hiddenMode}),this.overlay=t.overlay||new ge.Overlay,this.node.appendChild(this.overlay.node)}dispose(){this._releaseMouse(),this.overlay.hide(0),this._drag&&this._drag.dispose(),super.dispose()}get hiddenMode(){return this.layout.hiddenMode}set hiddenMode(t){this.layout.hiddenMode=t}get layoutModified(){return this._layoutModified}get addRequested(){return this._addRequested}get renderer(){return this.layout.renderer}get spacing(){return this.layout.spacing}set spacing(t){this.layout.spacing=t}get mode(){return this._mode}set mode(t){if(this._mode===t)return;this._mode=t,this.dataset.mode=t;let e=this.layout;switch(t){case"multiple-document":for(const t of e.tabBars())t.show();break;case"single-document":e.restoreLayout(he.createSingleDocumentConfig(this));break;default:throw"unreachable"}J.postMessage(this,he.LayoutModified)}get tabsMovable(){return this._tabsMovable}set tabsMovable(t){this._tabsMovable=t;for(const e of this.tabBars())e.tabsMovable=t}get tabsConstrained(){return this._tabsConstrained}set tabsConstrained(t){this._tabsConstrained=t}get addButtonEnabled(){return this._addButtonEnabled}set addButtonEnabled(t){this._addButtonEnabled=t;for(const e of this.tabBars())e.addButtonEnabled=t}get isEmpty(){return this.layout.isEmpty}*widgets(){yield*this.layout.widgets()}*selectedWidgets(){yield*this.layout.selectedWidgets()}*tabBars(){yield*this.layout.tabBars()}*handles(){yield*this.layout.handles()}selectWidget(t){let e=lt(this.tabBars(),(e=>-1!==e.titles.indexOf(t.title)));if(!e)throw new Error("Widget is not contained in the dock panel.");e.currentTitle=t.title}activateWidget(t){this.selectWidget(t),t.activate()}saveLayout(){return this.layout.saveLayout()}restoreLayout(t){this._mode="multiple-document",this.layout.restoreLayout(t),(V.IS_EDGE||V.IS_IE)&&J.flush(),J.postMessage(this,he.LayoutModified)}addWidget(t,e={}){"single-document"===this._mode?this.layout.addWidget(t):this.layout.addWidget(t,e),J.postMessage(this,he.LayoutModified)}processMessage(t){"layout-modified"===t.type?this._layoutModified.emit(void 0):super.processMessage(t)}handleEvent(t){switch(t.type){case"lm-dragenter":this._evtDragEnter(t);break;case"lm-dragleave":this._evtDragLeave(t);break;case"lm-dragover":this._evtDragOver(t);break;case"lm-drop":this._evtDrop(t);break;case"pointerdown":this._evtPointerDown(t);break;case"pointermove":this._evtPointerMove(t);break;case"pointerup":this._evtPointerUp(t);break;case"keydown":this._evtKeyDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}}onBeforeAttach(t){this.node.addEventListener("lm-dragenter",this),this.node.addEventListener("lm-dragleave",this),this.node.addEventListener("lm-dragover",this),this.node.addEventListener("lm-drop",this),this.node.addEventListener("pointerdown",this)}onAfterDetach(t){this.node.removeEventListener("lm-dragenter",this),this.node.removeEventListener("lm-dragleave",this),this.node.removeEventListener("lm-dragover",this),this.node.removeEventListener("lm-drop",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()}onChildAdded(t){he.isGeneratedTabBarProperty.get(t.child)||t.child.addClass("lm-DockPanel-widget")}onChildRemoved(t){he.isGeneratedTabBarProperty.get(t.child)||(t.child.removeClass("lm-DockPanel-widget"),J.postMessage(this,he.LayoutModified))}_evtDragEnter(t){t.mimeData.hasData("application/vnd.lumino.widget-factory")&&(t.preventDefault(),t.stopPropagation())}_evtDragLeave(t){t.preventDefault(),this._tabsConstrained&&t.source!==this||(t.stopPropagation(),this.overlay.hide(1))}_evtDragOver(t){t.preventDefault(),this._tabsConstrained&&t.source!==this||"invalid"===this._showOverlay(t.clientX,t.clientY)?t.dropAction="none":(t.stopPropagation(),t.dropAction=t.proposedAction)}_evtDrop(t){if(t.preventDefault(),this.overlay.hide(0),"none"===t.proposedAction)return void(t.dropAction="none");let{clientX:e,clientY:n}=t,{zone:i,target:r}=he.findDropTarget(this,e,n,this._edges);if(this._tabsConstrained&&t.source!==this||"invalid"===i)return void(t.dropAction="none");let s=t.mimeData.getData("application/vnd.lumino.widget-factory");if("function"!=typeof s)return void(t.dropAction="none");let o=s();if(!(o instanceof Ot))return void(t.dropAction="none");if(o.contains(this))return void(t.dropAction="none");let a=r?he.getDropRef(r.tabBar):null;switch(i){case"root-all":this.addWidget(o);break;case"root-top":this.addWidget(o,{mode:"split-top"});break;case"root-left":this.addWidget(o,{mode:"split-left"});break;case"root-right":this.addWidget(o,{mode:"split-right"});break;case"root-bottom":this.addWidget(o,{mode:"split-bottom"});break;case"widget-all":case"widget-tab":this.addWidget(o,{mode:"tab-after",ref:a});break;case"widget-top":this.addWidget(o,{mode:"split-top",ref:a});break;case"widget-left":this.addWidget(o,{mode:"split-left",ref:a});break;case"widget-right":this.addWidget(o,{mode:"split-right",ref:a});break;case"widget-bottom":this.addWidget(o,{mode:"split-bottom",ref:a});break;default:throw"unreachable"}t.dropAction=t.proposedAction,t.stopPropagation(),this.activateWidget(o)}_evtKeyDown(t){t.preventDefault(),t.stopPropagation(),27===t.keyCode&&(this._releaseMouse(),J.postMessage(this,he.LayoutModified))}_evtPointerDown(t){if(0!==t.button)return;let e=this.layout,n=t.target,i=lt(e.handles(),(t=>t.contains(n)));if(!i)return;t.preventDefault(),t.stopPropagation(),this._document.addEventListener("keydown",this,!0),this._document.addEventListener("pointerup",this,!0),this._document.addEventListener("pointermove",this,!0),this._document.addEventListener("contextmenu",this,!0);let r=i.getBoundingClientRect(),s=t.clientX-r.left,o=t.clientY-r.top,a=window.getComputedStyle(i),l=vt.overrideCursor(a.cursor,this._document);this._pressData={handle:i,deltaX:s,deltaY:o,override:l}}_evtPointerMove(t){if(!this._pressData)return;t.preventDefault(),t.stopPropagation();let e=this.node.getBoundingClientRect(),n=t.clientX-e.left-this._pressData.deltaX,i=t.clientY-e.top-this._pressData.deltaY;this.layout.moveHandle(this._pressData.handle,n,i)}_evtPointerUp(t){0===t.button&&(t.preventDefault(),t.stopPropagation(),this._releaseMouse(),J.postMessage(this,he.LayoutModified))}_releaseMouse(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._document.removeEventListener("keydown",this,!0),this._document.removeEventListener("pointerup",this,!0),this._document.removeEventListener("pointermove",this,!0),this._document.removeEventListener("contextmenu",this,!0))}_showOverlay(t,e){let n,i,r,s,{zone:o,target:a}=he.findDropTarget(this,t,e,this._edges);if("invalid"===o)return this.overlay.hide(100),o;let l=U.boxSizing(this.node),h=this.node.getBoundingClientRect();switch(o){case"root-all":n=l.paddingTop,i=l.paddingLeft,r=l.paddingRight,s=l.paddingBottom;break;case"root-top":n=l.paddingTop,i=l.paddingLeft,r=l.paddingRight,s=h.height*he.GOLDEN_RATIO;break;case"root-left":n=l.paddingTop,i=l.paddingLeft,r=h.width*he.GOLDEN_RATIO,s=l.paddingBottom;break;case"root-right":n=l.paddingTop,i=h.width*he.GOLDEN_RATIO,r=l.paddingRight,s=l.paddingBottom;break;case"root-bottom":n=h.height*he.GOLDEN_RATIO,i=l.paddingLeft,r=l.paddingRight,s=l.paddingBottom;break;case"widget-all":n=a.top,i=a.left,r=a.right,s=a.bottom;break;case"widget-top":n=a.top,i=a.left,r=a.right,s=a.bottom+a.height/2;break;case"widget-left":n=a.top,i=a.left,r=a.right+a.width/2,s=a.bottom;break;case"widget-right":n=a.top,i=a.left+a.width/2,r=a.right,s=a.bottom;break;case"widget-bottom":n=a.top+a.height/2,i=a.left,r=a.right,s=a.bottom;break;case"widget-tab":{const t=a.tabBar.node.getBoundingClientRect().height;n=a.top,i=a.left,r=a.right,s=a.bottom+a.height-t;break}default:throw"unreachable"}return this.overlay.show({top:n,left:i,right:r,bottom:s}),o}_createTabBar(){let t=this._renderer.createTabBar(this._document);return he.isGeneratedTabBarProperty.set(t,!0),"single-document"===this._mode&&t.hide(),t.tabsMovable=this._tabsMovable,t.allowDeselect=!1,t.addButtonEnabled=this._addButtonEnabled,t.removeBehavior="select-previous-tab",t.insertBehavior="select-tab-if-needed",t.tabMoved.connect(this._onTabMoved,this),t.currentChanged.connect(this._onCurrentChanged,this),t.tabCloseRequested.connect(this._onTabCloseRequested,this),t.tabDetachRequested.connect(this._onTabDetachRequested,this),t.tabActivateRequested.connect(this._onTabActivateRequested,this),t.addRequested.connect(this._onTabAddRequested,this),t}_createHandle(){return this._renderer.createHandle()}_onTabMoved(){J.postMessage(this,he.LayoutModified)}_onCurrentChanged(t,e){let{previousTitle:n,currentTitle:i}=e;n&&n.owner.hide(),i&&i.owner.show(),(V.IS_EDGE||V.IS_IE)&&J.flush(),J.postMessage(this,he.LayoutModified)}_onTabAddRequested(t){this._addRequested.emit(t)}_onTabActivateRequested(t,e){e.title.owner.activate()}_onTabCloseRequested(t,e){e.title.owner.close()}_onTabDetachRequested(e,n){if(this._drag)return;e.releaseMouse();let{title:i,tab:r,clientX:s,clientY:o,offset:a}=n,l=new t.MimeData;l.setData("application/vnd.lumino.widget-factory",(()=>i.owner));let h=r.cloneNode(!0);a&&(h.style.top=`-${a.y}px`,h.style.left=`-${a.x}px`),this._drag=new vt({document:this._document,mimeData:l,dragImage:h,proposedAction:"move",supportedActions:"move",source:this}),r.classList.add("lm-mod-hidden"),this._drag.start(s,o).then((()=>{this._drag=null,r.classList.remove("lm-mod-hidden")}))}}!function(t){t.Overlay=class{constructor(){this._timer=-1,this._hidden=!0,this.node=document.createElement("div"),this.node.classList.add("lm-DockPanel-overlay"),this.node.classList.add("lm-mod-hidden"),this.node.style.position="absolute",this.node.style.contain="strict"}show(t){let e=this.node.style;e.top=`${t.top}px`,e.left=`${t.left}px`,e.right=`${t.right}px`,e.bottom=`${t.bottom}px`,clearTimeout(this._timer),this._timer=-1,this._hidden&&(this._hidden=!1,this.node.classList.remove("lm-mod-hidden"))}hide(t){if(!this._hidden)return t<=0?(clearTimeout(this._timer),this._timer=-1,this._hidden=!0,void this.node.classList.add("lm-mod-hidden")):void(-1===this._timer&&(this._timer=window.setTimeout((()=>{this._timer=-1,this._hidden=!0,this.node.classList.add("lm-mod-hidden")}),t)))}};class e{createTabBar(t){let e=new oe({document:t});return e.addClass("lm-DockPanel-tabBar"),e}createHandle(){let t=document.createElement("div");return t.className="lm-DockPanel-handle",t}}t.Renderer=e,t.defaultRenderer=new e}(ge||(ge={})),function(t){t.GOLDEN_RATIO=.618,t.DEFAULT_EDGES={top:12,right:40,bottom:40,left:40},t.LayoutModified=new ut("layout-modified"),t.isGeneratedTabBarProperty=new dt({name:"isGeneratedTabBar",create:()=>!1}),t.createSingleDocumentConfig=function(t){if(t.isEmpty)return{main:null};let e=Array.from(t.widgets()),n=t.selectedWidgets().next().value,i=n?e.indexOf(n):-1;return{main:{type:"tab-area",widgets:e,currentIndex:i}}},t.findDropTarget=function(t,e,n,i){if(!U.hitTest(t.node,e,n))return{zone:"invalid",target:null};let r=t.layout;if(r.isEmpty)return{zone:"root-all",target:null};if("multiple-document"===t.mode){let r=t.node.getBoundingClientRect(),s=e-r.left+1,o=n-r.top+1,a=r.right-e,l=r.bottom-n;switch(Math.min(o,a,l,s)){case o:if(o<i.top)return{zone:"root-top",target:null};break;case a:if(a<i.right)return{zone:"root-right",target:null};break;case l:if(l<i.bottom)return{zone:"root-bottom",target:null};break;case s:if(s<i.left)return{zone:"root-left",target:null};break;default:throw"unreachable"}}let s=r.hitTestTabAreas(e,n);if(!s)return{zone:"invalid",target:null};if("single-document"===t.mode)return{zone:"widget-all",target:s};let o=s.x-s.left+1,a=s.y-s.top+1,l=s.left+s.width-s.x,h=s.top+s.height-s.y;if(a<s.tabBar.node.getBoundingClientRect().height)return{zone:"widget-tab",target:s};let c,u=Math.round(s.width/3),d=Math.round(s.height/3);if(o>u&&l>u&&a>d&&h>d)return{zone:"widget-all",target:s};switch(o/=u,a/=d,l/=u,h/=d,Math.min(o,a,l,h)){case o:c="widget-left";break;case a:c="widget-top";break;case l:c="widget-right";break;case h:c="widget-bottom";break;default:throw"unreachable"}return{zone:c,target:s}},t.getDropRef=function(t){return 0===t.titles.length?null:t.currentTitle?t.currentTitle.owner:t.titles[t.titles.length-1].owner}}(he||(he={}));class ve extends jt{constructor(t={}){super(t),this._dirty=!1,this._rowSpacing=4,this._columnSpacing=4,this._items=[],this._rowStarts=[],this._columnStarts=[],this._rowSizers=[new Dt],this._columnSizers=[new Dt],this._box=null,void 0!==t.rowCount&&ce.reallocSizers(this._rowSizers,t.rowCount),void 0!==t.columnCount&&ce.reallocSizers(this._columnSizers,t.columnCount),void 0!==t.rowSpacing&&(this._rowSpacing=ce.clampValue(t.rowSpacing)),void 0!==t.columnSpacing&&(this._columnSpacing=ce.clampValue(t.columnSpacing))}dispose(){for(const t of this._items){let e=t.widget;t.dispose(),e.dispose()}this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,super.dispose()}get rowCount(){return this._rowSizers.length}set rowCount(t){t!==this.rowCount&&(ce.reallocSizers(this._rowSizers,t),this.parent&&this.parent.fit())}get columnCount(){return this._columnSizers.length}set columnCount(t){t!==this.columnCount&&(ce.reallocSizers(this._columnSizers,t),this.parent&&this.parent.fit())}get rowSpacing(){return this._rowSpacing}set rowSpacing(t){t=ce.clampValue(t),this._rowSpacing!==t&&(this._rowSpacing=t,this.parent&&this.parent.fit())}get columnSpacing(){return this._columnSpacing}set columnSpacing(t){t=ce.clampValue(t),this._columnSpacing!==t&&(this._columnSpacing=t,this.parent&&this.parent.fit())}rowStretch(t){let e=this._rowSizers[t];return e?e.stretch:-1}setRowStretch(t,e){let n=this._rowSizers[t];n&&(e=ce.clampValue(e),n.stretch!==e&&(n.stretch=e,this.parent&&this.parent.update()))}columnStretch(t){let e=this._columnSizers[t];return e?e.stretch:-1}setColumnStretch(t,e){let n=this._columnSizers[t];n&&(e=ce.clampValue(e),n.stretch!==e&&(n.stretch=e,this.parent&&this.parent.update()))}*[Symbol.iterator](){for(const t of this._items)yield t.widget}addWidget(t){-1===W.findFirstIndex(this._items,(e=>e.widget===t))&&(this._items.push(new Bt(t)),this.parent&&this.attachWidget(t))}removeWidget(t){let e=W.findFirstIndex(this._items,(e=>e.widget===t));if(-1===e)return;let n=W.removeAt(this._items,e);this.parent&&this.detachWidget(t),n.dispose()}init(){super.init();for(const t of this)this.attachWidget(t)}attachWidget(t){this.parent.isAttached&&J.sendMessage(t,Ot.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&J.sendMessage(t,Ot.Msg.AfterAttach),this.parent.fit()}detachWidget(t){this.parent.isAttached&&J.sendMessage(t,Ot.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&J.sendMessage(t,Ot.Msg.AfterDetach),this.parent.fit()}onBeforeShow(t){super.onBeforeShow(t),this.parent.update()}onBeforeAttach(t){super.onBeforeAttach(t),this.parent.fit()}onChildShown(t){this.parent.fit()}onChildHidden(t){this.parent.fit()}onResize(t){this.parent.isVisible&&this._update(t.width,t.height)}onUpdateRequest(t){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(t){this.parent.isAttached&&this._fit()}_fit(){for(let t=0,e=this.rowCount;t<e;++t)this._rowSizers[t].minSize=0;for(let t=0,e=this.columnCount;t<e;++t)this._columnSizers[t].minSize=0;let t=this._items.filter((t=>!t.isHidden));for(let e=0,n=t.length;e<n;++e)t[e].fit();let e=this.rowCount-1,n=this.columnCount-1;t.sort(ce.rowSpanCmp);for(let n=0,i=t.length;n<i;++n){let i=t[n],r=ve.getCellConfig(i.widget),s=Math.min(r.row,e),o=Math.min(r.row+r.rowSpan-1,e);ce.distributeMin(this._rowSizers,s,o,i.minHeight)}t.sort(ce.columnSpanCmp);for(let e=0,i=t.length;e<i;++e){let i=t[e],r=ve.getCellConfig(i.widget),s=Math.min(r.column,n),o=Math.min(r.column+r.columnSpan-1,n);ce.distributeMin(this._columnSizers,s,o,i.minWidth)}if("set-no-constraint"===this.fitPolicy)return void J.sendMessage(this.parent,Ot.Msg.UpdateRequest);let i=e*this._rowSpacing,r=n*this._columnSpacing;for(let t=0,e=this.rowCount;t<e;++t)i+=this._rowSizers[t].minSize;for(let t=0,e=this.columnCount;t<e;++t)r+=this._columnSizers[t].minSize;let s=this._box=U.boxSizing(this.parent.node);r+=s.horizontalSum,i+=s.verticalSum;let o=this.parent.node.style;o.minWidth=`${r}px`,o.minHeight=`${i}px`,this._dirty=!0,this.parent.parent&&J.sendMessage(this.parent.parent,Ot.Msg.FitRequest),this._dirty&&J.sendMessage(this.parent,Ot.Msg.UpdateRequest)}_update(t,e){this._dirty=!1,t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=U.boxSizing(this.parent.node));let n=this._box.paddingTop,i=this._box.paddingLeft,r=t-this._box.horizontalSum,s=e-this._box.verticalSum,o=this.rowCount-1,a=this.columnCount-1,l=o*this._rowSpacing,h=a*this._columnSpacing;Et.calc(this._rowSizers,Math.max(0,s-l)),Et.calc(this._columnSizers,Math.max(0,r-h));for(let t=0,e=n,i=this.rowCount;t<i;++t)this._rowStarts[t]=e,e+=this._rowSizers[t].size+this._rowSpacing;for(let t=0,e=i,n=this.columnCount;t<n;++t)this._columnStarts[t]=e,e+=this._columnSizers[t].size+this._columnSpacing;for(let t=0,e=this._items.length;t<e;++t){let e=this._items[t];if(e.isHidden)continue;let n=ve.getCellConfig(e.widget),i=Math.min(n.row,o),r=Math.min(n.column,a),s=Math.min(n.row+n.rowSpan-1,o),l=Math.min(n.column+n.columnSpan-1,a),h=this._columnStarts[r],c=this._rowStarts[i],u=this._columnStarts[l]+this._columnSizers[l].size-h,d=this._rowStarts[s]+this._rowSizers[s].size-c;e.update(h,c,u,d)}}}!function(t){t.getCellConfig=function(t){return ce.cellConfigProperty.get(t)},t.setCellConfig=function(t,e){ce.cellConfigProperty.set(t,ce.normalizeConfig(e))}}(ve||(ve={})),function(t){t.cellConfigProperty=new dt({name:"cellConfig",create:()=>({row:0,column:0,rowSpan:1,columnSpan:1}),changed:function(t){t.parent&&t.parent.layout instanceof ve&&t.parent.fit()}}),t.normalizeConfig=function(t){return{row:Math.max(0,Math.floor(t.row||0)),column:Math.max(0,Math.floor(t.column||0)),rowSpan:Math.max(1,Math.floor(t.rowSpan||0)),columnSpan:Math.max(1,Math.floor(t.columnSpan||0))}},t.clampValue=function(t){return Math.max(0,Math.floor(t))},t.rowSpanCmp=function(e,n){let i=t.cellConfigProperty.get(e.widget),r=t.cellConfigProperty.get(n.widget);return i.rowSpan-r.rowSpan},t.columnSpanCmp=function(e,n){let i=t.cellConfigProperty.get(e.widget),r=t.cellConfigProperty.get(n.widget);return i.columnSpan-r.columnSpan},t.reallocSizers=function(t,e){for(e=Math.max(1,Math.floor(e));t.length<e;)t.push(new Dt);t.length>e&&(t.length=e)},t.distributeMin=function(t,e,n,i){if(n<e)return;if(e===n){let n=t[e];return void(n.minSize=Math.max(n.minSize,i))}let r=0;for(let i=e;i<=n;++i)r+=t[i].minSize;if(r>=i)return;let s=(i-r)/(n-e+1);for(let i=e;i<=n;++i)t[i].minSize+=s}}(ce||(ce={}));class _e extends Ot{constructor(t={}){super({node:ue.createNode()}),this._activeIndex=-1,this._tabFocusIndex=0,this._menus=[],this._childMenu=null,this._overflowMenu=null,this._menuItemSizes=[],this._overflowIndex=-1,this.addClass("lm-MenuBar"),this.setFlag(Ot.Flag.DisallowLayout),this.renderer=t.renderer||_e.defaultRenderer,this._forceItemsPosition=t.forceItemsPosition||{forceX:!0,forceY:!0},this._overflowMenuOptions=t.overflowMenuOptions||{isVisible:!0}}dispose(){this._closeChildMenu(),this._menus.length=0,super.dispose()}get childMenu(){return this._childMenu}get overflowIndex(){return this._overflowIndex}get overflowMenu(){return this._overflowMenu}get contentNode(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]}get activeMenu(){return this._menus[this._activeIndex]||null}set activeMenu(t){this.activeIndex=t?this._menus.indexOf(t):-1}get activeIndex(){return this._activeIndex}set activeIndex(t){(t<0||t>=this._menus.length)&&(t=-1),t>-1&&0===this._menus[t].items.length&&(t=-1),this._activeIndex!==t&&(this._activeIndex=t,this.update())}get menus(){return this._menus}openActiveMenu(){-1!==this._activeIndex&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))}addMenu(t,e=!0){this.insertMenu(this._menus.length,t,e)}insertMenu(t,e,n=!0){this._closeChildMenu();let i=this._menus.indexOf(e),r=Math.max(0,Math.min(t,this._menus.length));if(-1===i)return W.insert(this._menus,r,e),e.addClass("lm-MenuBar-menu"),e.aboutToClose.connect(this._onMenuAboutToClose,this),e.menuRequested.connect(this._onMenuMenuRequested,this),e.title.changed.connect(this._onTitleChanged,this),void(n&&this.update());r===this._menus.length&&r--,i!==r&&(W.move(this._menus,i,r),n&&this.update())}removeMenu(t,e=!0){this.removeMenuAt(this._menus.indexOf(t),e)}removeMenuAt(t,e=!0){this._closeChildMenu();let n=W.removeAt(this._menus,t);n&&(n.aboutToClose.disconnect(this._onMenuAboutToClose,this),n.menuRequested.disconnect(this._onMenuMenuRequested,this),n.title.changed.disconnect(this._onTitleChanged,this),n.removeClass("lm-MenuBar-menu"),e&&this.update())}clearMenus(){if(0!==this._menus.length){this._closeChildMenu();for(let t of this._menus)t.aboutToClose.disconnect(this._onMenuAboutToClose,this),t.menuRequested.disconnect(this._onMenuMenuRequested,this),t.title.changed.disconnect(this._onTitleChanged,this),t.removeClass("lm-MenuBar-menu");this._menus.length=0,this.update()}}handleEvent(t){switch(t.type){case"keydown":this._evtKeyDown(t);break;case"mousedown":this._evtMouseDown(t);break;case"mousemove":this._evtMouseMove(t);break;case"focusout":this._evtFocusOut(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}}onBeforeAttach(t){this.node.addEventListener("keydown",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("focusout",this),this.node.addEventListener("contextmenu",this)}onAfterDetach(t){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("focusout",this),this.node.removeEventListener("contextmenu",this),this._closeChildMenu()}onActivateRequest(t){this.isAttached&&this._focusItemAt(0)}onResize(t){this.update(),super.onResize(t)}onUpdateRequest(t){var e;let n=this._menus,i=this.renderer,r=this._activeIndex,s=this._tabFocusIndex>=0&&this._tabFocusIndex<n.length?this._tabFocusIndex:0,o=this._overflowIndex>-1?this._overflowIndex:n.length,a=0,l=!1;o=null!==this._overflowMenu?o-1:o;let h=new Array(o);for(let t=0;t<o;++t)h[t]=i.renderItem({title:n[t].title,active:t===r,tabbable:t===s,disabled:0===n[t].items.length,onfocus:()=>{this._tabFocusIndex=t,this.activeIndex=t}}),a+=this._menuItemSizes[t],n[t].title.label===this._overflowMenuOptions.title&&(l=!0,o--);if(this._overflowMenuOptions.isVisible)if(this._overflowIndex>-1&&!l){if(null===this._overflowMenu){const t=null!==(e=this._overflowMenuOptions.title)&&void 0!==e?e:"...";this._overflowMenu=new re({commands:new Tt}),this._overflowMenu.title.label=t,this._overflowMenu.title.mnemonic=0,this.addMenu(this._overflowMenu,!1)}for(let t=n.length-2;t>=o;t--){const e=this.menus[t];e.title.mnemonic=0,this._overflowMenu.insertItem(0,{type:"submenu",submenu:e}),this.removeMenu(e,!1)}h[o]=i.renderItem({title:this._overflowMenu.title,active:o===r&&0!==n[o].items.length,tabbable:o===s,disabled:0===n[o].items.length,onfocus:()=>{this._tabFocusIndex=o,this.activeIndex=o}}),o++}else if(null!==this._overflowMenu){let t=this._overflowMenu.items,e=this.node.offsetWidth,r=this._overflowMenu.items.length;for(let l=0;l<r;++l){let r=n.length-1-l;if(e-a>this._menuItemSizes[r]){let e=t[0].submenu;this._overflowMenu.removeItemAt(0),this.insertMenu(o,e,!1),h[o]=i.renderItem({title:e.title,active:!1,tabbable:o===s,disabled:0===n[o].items.length,onfocus:()=>{this._tabFocusIndex=o,this.activeIndex=o}}),o++}}0===this._overflowMenu.items.length&&(this.removeMenu(this._overflowMenu,!1),h.pop(),this._overflowMenu=null,this._overflowIndex=-1)}Mt.render(h,this.contentNode),this._updateOverflowIndex()}_updateOverflowIndex(){if(!this._overflowMenuOptions.isVisible)return;const t=this.contentNode.childNodes;let e=this.node.offsetWidth,n=0,i=-1,r=t.length;if(0==this._menuItemSizes.length)for(let s=0;s<r;s++){let r=t[s];n+=r.offsetWidth,this._menuItemSizes.push(r.offsetWidth),n>e&&-1===i&&(i=s)}else for(let t=0;t<this._menuItemSizes.length;t++)if(n+=this._menuItemSizes[t],n>e){i=t;break}this._overflowIndex=i}_evtKeyDown(t){let e=t.keyCode;if(9===e)return void(this.activeIndex=-1);if(t.preventDefault(),t.stopPropagation(),13===e||32===e||38===e||40===e){if(this.activeIndex=this._tabFocusIndex,this.activeIndex!==this._tabFocusIndex)return;return void this.openActiveMenu()}if(27===e)return this._closeChildMenu(),void this._focusItemAt(this.activeIndex);if(37===e||39===e){let t=37===e?-1:1,n=this._tabFocusIndex+t,i=this._menus.length;for(let e=0;e<i;e++){let r=(i+n+t*e)%i;if(this._menus[r].items.length)return void this._focusItemAt(r)}return}let n=_t().keyForKeydownEvent(t);if(!n)return;let i=this._activeIndex+1,r=ue.findMnemonic(this._menus,n,i);-1===r.index||r.multiple?-1!==r.index?(this.activeIndex=r.index,this._focusItemAt(this.activeIndex)):-1!==r.auto&&(this.activeIndex=r.auto,this._focusItemAt(this.activeIndex)):(this.activeIndex=r.index,this.openActiveMenu())}_evtMouseDown(t){if(!U.hitTest(this.node,t.clientX,t.clientY))return;t.stopPropagation(),t.stopImmediatePropagation();let e=W.findFirstIndex(this.contentNode.children,(e=>U.hitTest(e,t.clientX,t.clientY)));if(-1!==e){if(0===t.button)if(this._childMenu)this._closeChildMenu(),this.activeIndex=e;else{t.preventDefault();const n=this._positionForMenu(e);re.saveWindowData(),this.activeIndex=e,this._openChildMenu(n)}}else this._closeChildMenu()}_evtMouseMove(t){let e=W.findFirstIndex(this.contentNode.children,(e=>U.hitTest(e,t.clientX,t.clientY)));if(e===this._activeIndex)return;if(-1===e&&this._childMenu)return;const n=e>=0&&this._childMenu?this._positionForMenu(e):null;re.saveWindowData(),this.activeIndex=e,n&&this._openChildMenu(n)}_positionForMenu(t){let e=this.contentNode.children[t],{left:n,bottom:i}=e.getBoundingClientRect();return{top:i,left:n}}_evtFocusOut(t){this._childMenu||this.node.contains(t.relatedTarget)||(this.activeIndex=-1)}_focusItemAt(t){const e=this.contentNode.childNodes[t];e&&e.focus()}_openChildMenu(t={}){let e=this.activeMenu;if(!e)return void this._closeChildMenu();let n=this._childMenu;if(n===e)return;this._childMenu=e,n?n.close():document.addEventListener("mousedown",this,!0),this._tabFocusIndex=this.activeIndex,J.sendMessage(this,Ot.Msg.UpdateRequest);let{left:i,top:r}=t;void 0!==i&&void 0!==r||({left:i,top:r}=this._positionForMenu(this._activeIndex)),n||this.addClass("lm-mod-active"),e.items.length>0&&e.open(i,r,this._forceItemsPosition)}_closeChildMenu(){if(!this._childMenu)return;this.removeClass("lm-mod-active"),document.removeEventListener("mousedown",this,!0);let t=this._childMenu;this._childMenu=null,t.close(),this.activeIndex=-1}_onMenuAboutToClose(t){t===this._childMenu&&(this.removeClass("lm-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)}_onMenuMenuRequested(t,e){if(t!==this._childMenu)return;let n=this._activeIndex,i=this._menus.length;switch(e){case"next":this.activeIndex=n===i-1?0:n+1;break;case"previous":this.activeIndex=0===n?i-1:n-1}this.openActiveMenu()}_onTitleChanged(){this.update()}}!function(t){class e{renderItem(t){let e=this.createItemClass(t),n=this.createItemDataset(t),i=this.createItemARIA(t);return Lt.li({className:e,dataset:n,...t.disabled?{}:{tabindex:t.tabbable?"0":"-1"},onfocus:t.onfocus,...i},this.renderIcon(t),this.renderLabel(t))}renderIcon(t){let e=this.createIconClass(t);return Lt.div({className:e},t.title.icon,t.title.iconLabel)}renderLabel(t){let e=this.formatLabel(t);return Lt.div({className:"lm-MenuBar-itemLabel"},e)}createItemClass(t){let e="lm-MenuBar-item";return t.title.className&&(e+=` ${t.title.className}`),t.active&&!t.disabled&&(e+=" lm-mod-active"),e}createItemDataset(t){return t.title.dataset}createItemARIA(t){return{role:"menuitem","aria-haspopup":"true","aria-disabled":t.disabled?"true":"false"}}createIconClass(t){let e="lm-MenuBar-itemIcon",n=t.title.iconClass;return n?`${e} ${n}`:e}formatLabel(t){let{label:e,mnemonic:n}=t.title;if(n<0||n>=e.length)return e;let i=e.slice(0,n),r=e.slice(n+1),s=e[n];return[i,Lt.span({className:"lm-MenuBar-itemMnemonic"},s),r]}}t.Renderer=e,t.defaultRenderer=new e}(_e||(_e={})),function(t){t.createNode=function(){let t=document.createElement("div"),e=document.createElement("ul");return e.className="lm-MenuBar-content",t.appendChild(e),e.setAttribute("role","menubar"),t},t.findMnemonic=function(t,e,n){let i=-1,r=-1,s=!1,o=e.toUpperCase();for(let e=0,a=t.length;e<a;++e){let l=(e+n)%a,h=t[l].title;if(0===h.label.length)continue;let c=h.mnemonic;c>=0&&c<h.label.length?h.label[c].toUpperCase()===o&&(-1===i?i=l:s=!0):-1===r&&h.label[0].toUpperCase()===o&&(r=l)}return{index:i,multiple:s,auto:r}}}(ue||(ue={})),function(t){t.createNode=function(){let t=document.createElement("div"),e=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),r=document.createElement("div");return e.className="lm-ScrollBar-button",n.className="lm-ScrollBar-button",e.dataset.action="decrement",n.dataset.action="increment",i.className="lm-ScrollBar-track",r.className="lm-ScrollBar-thumb",i.appendChild(r),t.appendChild(e),t.appendChild(i),t.appendChild(n),t},t.findPart=function(t,e){return t.thumbNode.contains(e)?"thumb":t.trackNode.contains(e)?"track":t.decrementNode.contains(e)?"decrement":t.incrementNode.contains(e)?"increment":null}}(de||(de={})),Symbol.iterator;class ye extends Pt{constructor(t={}){super(t),this._dirty=!1,this._items=[],this._box=null,this._hiddenMode=void 0!==t.hiddenMode?t.hiddenMode:Ot.HiddenMode.Display}get hiddenMode(){return this._hiddenMode}set hiddenMode(t){this._hiddenMode!==t&&(this._hiddenMode=t,this.widgets.length>1&&this.widgets.forEach((t=>{t.hiddenMode=this._hiddenMode})))}dispose(){for(const t of this._items)t.dispose();this._box=null,this._items.length=0,super.dispose()}attachWidget(t,e){this._hiddenMode===Ot.HiddenMode.Scale&&this._items.length>0?(1===this._items.length&&(this.widgets[0].hiddenMode=Ot.HiddenMode.Scale),e.hiddenMode=Ot.HiddenMode.Scale):e.hiddenMode=Ot.HiddenMode.Display,W.insert(this._items,t,new Bt(e)),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.AfterAttach),this.parent.fit()}moveWidget(t,e,n){W.move(this._items,t,e),this.parent.update()}detachWidget(t,e){let n=W.removeAt(this._items,t);this.parent.isAttached&&J.sendMessage(e,Ot.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&J.sendMessage(e,Ot.Msg.AfterDetach),n.widget.node.style.zIndex="",this._hiddenMode===Ot.HiddenMode.Scale&&(e.hiddenMode=Ot.HiddenMode.Display,1===this._items.length&&(this._items[0].widget.hiddenMode=Ot.HiddenMode.Display)),n.dispose(),this.parent.fit()}onBeforeShow(t){super.onBeforeShow(t),this.parent.update()}onBeforeAttach(t){super.onBeforeAttach(t),this.parent.fit()}onChildShown(t){this.parent.fit()}onChildHidden(t){this.parent.fit()}onResize(t){this.parent.isVisible&&this._update(t.width,t.height)}onUpdateRequest(t){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(t){this.parent.isAttached&&this._fit()}_fit(){let t=0,e=0;for(let n=0,i=this._items.length;n<i;++n){let i=this._items[n];i.isHidden||(i.fit(),t=Math.max(t,i.minWidth),e=Math.max(e,i.minHeight))}let n=this._box=U.boxSizing(this.parent.node);t+=n.horizontalSum,e+=n.verticalSum;let i=this.parent.node.style;i.minWidth=`${t}px`,i.minHeight=`${e}px`,this._dirty=!0,this.parent.parent&&J.sendMessage(this.parent.parent,Ot.Msg.FitRequest),this._dirty&&J.sendMessage(this.parent,Ot.Msg.UpdateRequest)}_update(t,e){this._dirty=!1;let n=0;for(let t=0,e=this._items.length;t<e;++t)n+=+!this._items[t].isHidden;if(0===n)return;t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=U.boxSizing(this.parent.node));let i=this._box.paddingTop,r=this._box.paddingLeft,s=t-this._box.horizontalSum,o=e-this._box.verticalSum;for(let t=0,e=this._items.length;t<e;++t){let e=this._items[t];e.isHidden||(e.widget.node.style.zIndex=`${t}`,e.update(r,i,s,o))}}}!function(t){t.createLayout=function(t){return t.layout||new ye}}(fe||(fe={})),function(t){t.orientationFromPlacement=function(t){return e[t]},t.directionFromPlacement=function(t){return n[t]};const e={top:"horizontal",left:"vertical",right:"vertical",bottom:"horizontal"},n={top:"top-to-bottom",left:"left-to-right",right:"right-to-left",bottom:"bottom-to-top"}}(pe||(pe={}));const be="2.0.0",xe="2.1.0",we="IPY_MODEL_";function Me(t,e){if(Array.isArray(t)){const n=[];for(const i of t)n.push(Me(i,e));return Promise.all(n)}if(t instanceof Object&&"string"!=typeof t){const n={};for(const[i,r]of Object.entries(t))n[i]=Me(r,e);return h(n)}return"string"==typeof t&&t.slice(0,10)===we?e.get_model(t.slice(10,t.length)):Promise.resolve(t)}function Se(t,e){if(Array.isArray(t)){const n=[];for(const i of t)n.push(Se(i,e));return n}if(t instanceof Ee)return`${we}${t.model_id}`;if(t instanceof Object&&"string"!=typeof t){const n={};for(const[i,r]of Object.entries(t))n[i]=Se(r,e);return n}return t}class Ee extends v.Model{defaults(){return{_model_module:"@jupyter-widgets/base",_model_name:"WidgetModel",_model_module_version:be,_view_module:"@jupyter-widgets/base",_view_name:null,_view_module_version:be,_view_count:null}}isNew(){return!1}initialize(t,e){this._expectedEchoMsgIds=new Map,this._attrsToUpdate=new Set,super.initialize(t,e),this.widget_manager=e.widget_manager,this.model_id=e.model_id;const n=e.comm;this.views=Object.create(null),this.state_change=Promise.resolve(),this._closed=!1,this._state_lock=null,this._msg_buffer=null,this._msg_buffer_callbacks=null,this._pending_msgs=0,this._buffered_state_diff={},n?(this.comm=n,n.on_close(this._handle_comm_closed.bind(this)),n.on_msg(this._handle_comm_msg.bind(this)),this.comm_live=!0):this.comm_live=!1}get comm_live(){return this._comm_live}set comm_live(t){this._comm_live=t,this.trigger("comm_live_update")}send(t,e,n){if(void 0!==this.comm){const i={method:"custom",content:t};this.comm.send(i,e,{},n)}}close(t=!1){if(this._closed)return Promise.resolve();if(this._closed=!0,this.comm&&!t&&this.comm.close(),this.stopListening(),this.trigger("destroy",this),this.comm&&delete this.comm,this.views){const t=Object.keys(this.views).map((t=>this.views[t].then((t=>t.remove()))));return delete this.views,Promise.all(t).then((()=>{}))}return Promise.resolve()}_handle_comm_closed(t){this.trigger("comm:close"),this.close(!0)}_handle_comm_msg(t){const e=t.content.data,n=e.method;switch(n){case"update":case"echo_update":return this.state_change=this.state_change.then((()=>{var i,r,s;const o=e.state,a=null!==(i=e.buffer_paths)&&void 0!==i?i:[],l=null!==(s=null===(r=t.buffers)||void 0===r?void 0:r.slice(0,a.length))&&void 0!==s?s:[];if(u(o,a,l),t.parent_header&&"echo_update"===n){const e=t.parent_header.msg_id;Object.keys(o).filter((t=>this._expectedEchoMsgIds.has(t))).forEach((t=>{this._expectedEchoMsgIds.get(t)!==e?delete o[t]:(this._expectedEchoMsgIds.delete(t),null!==this._msg_buffer&&Object.prototype.hasOwnProperty.call(this._msg_buffer,t)&&delete o[t])}))}return this.constructor._deserialize_state(o,this.widget_manager)})).then((t=>{this.set_state(t)})).catch(c(`Could not process update msg for model id: ${this.model_id}`,!0)),this.state_change;case"custom":return this.trigger("msg:custom",e.content,t.buffers),Promise.resolve()}return Promise.resolve()}set_state(t){this._state_lock=t;try{this.set(t)}catch(t){console.error(`Error setting state: ${t instanceof Error?t.message:t}`)}finally{this._state_lock=null}}get_state(t){const e=this.attributes;if(t){const t=this.defaults,n="function"==typeof t?t.call(this):t,i={};return Object.keys(e).forEach((t=>{s(e[t],n[t])||(i[t]=e[t])})),i}return Object.assign({},e)}_handle_status(t){if(void 0!==this.comm&&"idle"===t.content.execution_state&&(this._pending_msgs--,this._pending_msgs<0&&(console.error(`Jupyter Widgets message throttle: Pending messages < 0 (=${this._pending_msgs}), which is unexpected. Resetting to 0 to continue.`),this._pending_msgs=0),null!==this._msg_buffer&&this._pending_msgs<1)){const t=this.send_sync_message(this._msg_buffer,this._msg_buffer_callbacks);this.rememberLastUpdateFor(t),this._msg_buffer=null,this._msg_buffer_callbacks=null}}callbacks(t){return this.widget_manager.callbacks(t)}set(t,e,n){const i=g.call(this,t,e,n);if(void 0!==this._buffered_state_diff){const t=this.changedAttributes()||{};if(this._state_lock)for(const e of Object.keys(this._state_lock))t[e]===this._state_lock[e]&&delete t[e];if(this._buffered_state_diff_synced)for(const e of Object.keys(this._buffered_state_diff_synced))t[e]===this._buffered_state_diff_synced[e]&&delete t[e];this._buffered_state_diff=a(this._buffered_state_diff,t)}return!1===this._changing&&(this._buffered_state_diff_synced={}),i}sync(t,e,n={}){if(void 0===this.comm)throw"Syncing error: no comm channel defined";const i="patch"===t?n.attrs:e.get_state(n.drop_defaults);if(this._state_lock)for(const t of Object.keys(this._state_lock))i[t]===this._state_lock[t]&&delete i[t];Object.keys(i).forEach((t=>{this._attrsToUpdate.add(t)}));const r=this.serialize(i);if(Object.keys(r).length>0){const e=n.callbacks||this.callbacks();if(this._pending_msgs>=1){switch(t){case"patch":this._msg_buffer=a(this._msg_buffer||{},r);break;case"update":case"create":this._msg_buffer=r;break;default:throw"unrecognized syncing method"}this._msg_buffer_callbacks=e}else{const t=this.send_sync_message(i,e);this.rememberLastUpdateFor(t)}}}rememberLastUpdateFor(t){this._attrsToUpdate.forEach((e=>{this._expectedEchoMsgIds.set(e,t)})),this._attrsToUpdate=new Set}serialize(e){const n=this.constructor.serializers||t.JSONExt.emptyObject;for(const t of Object.keys(e))try{n[t]&&n[t].serialize?e[t]=n[t].serialize(e[t],this):e[t]=JSON.parse(JSON.stringify(e[t])),e[t]&&e[t].toJSON&&(e[t]=e[t].toJSON())}catch(e){throw console.error("Error serializing widget state attribute: ",t),e}return e}send_sync_message(t,e={}){if(!this.comm)return"";try{const n=(e={shell:Object.assign({},e.shell),iopub:Object.assign({},e.iopub),input:e.input}).iopub.status;e.iopub.status=t=>{this._handle_status(t),n&&n(t)};const i=p(t),r=this.comm.send({method:"update",state:i.state,buffer_paths:i.buffer_paths},e,{},i.buffers);return this._pending_msgs++,r}catch(t){console.error("Could not send widget sync message",t)}return""}save_changes(t){if(this.comm_live){const e={patch:!0};t&&(e.callbacks=t),this.save(this._buffered_state_diff,e),this._changing&&a(this._buffered_state_diff_synced,this._buffered_state_diff),this._buffered_state_diff={}}}on_some_change(t,e,n){this.on("change",((...i)=>{t.some(this.hasChanged,this)&&e.apply(n,i)}),this)}toJSON(t){return`IPY_MODEL_${this.model_id}`}static _deserialize_state(t,e){const n=this.serializers;let i;if(n){i={};for(const r in t)n[r]&&n[r].deserialize?i[r]=n[r].deserialize(t[r],e):i[r]=t[r]}else i=t;return h(i)}}class Ce extends Ee{defaults(){return a(super.defaults(),{_dom_classes:[],tabbable:null,tooltip:null})}}Ce.serializers=Object.assign(Object.assign({},Ee.serializers),{layout:{deserialize:Me},style:{deserialize:Me}});class Ae extends w{constructor(t){super(t)}initialize(t){this.listenTo(this.model,"change",((t,e)=>{const n=Object.keys(this.model.changedAttributes()||{});"_view_count"===n[0]&&1===n.length||this.update(e)})),this.options=t.options,this.once("remove",(()=>{"number"==typeof this.model.get("_view_count")&&(this.model.set("_view_count",this.model.get("_view_count")-1),this.model.save_changes())})),this.once("displayed",(()=>{"number"==typeof this.model.get("_view_count")&&(this.model.set("_view_count",this.model.get("_view_count")+1),this.model.save_changes())})),this.displayed=new Promise(((t,e)=>{this.once("displayed",t),this.model.on("msg:custom",this.handle_message.bind(this))}))}handle_message(t){"focus"===t.do?this.el.focus():"blur"===t.do&&this.el.blur()}update(t){}render(){}create_child_view(t,e={}){return e=Object.assign({parent:this},e),this.model.widget_manager.create_view(t,e).catch(c("Could not create child view",!0))}callbacks(){return this.model.callbacks(this)}send(t,e){this.model.send(t,this.callbacks(),e)}touch(){this.model.save_changes(this.callbacks())}remove(){return super.remove(),this.trigger("remove"),this}}class ke extends Ot{constructor(t){const e=t.view;delete t.view,super(t),this._view=e}dispose(){this.isDisposed||(super.dispose(),this._view.remove(),this._view=null)}processMessage(t){super.processMessage(t),this._view.processLuminoMessage(t)}}const Te=ke;class Ie extends Qt{constructor(t){const e=t.view;delete t.view,super(t),this._view=e}processMessage(t){super.processMessage(t),this._view.processLuminoMessage(t)}dispose(){var t;this.isDisposed||(super.dispose(),null===(t=this._view)||void 0===t||t.remove(),this._view=null)}}const ze=Ie;class Le extends Ae{initialize(t){super.initialize(t),this.listenTo(this.model,"change:_dom_classes",((t,e)=>{const n=t.previous("_dom_classes");this.update_classes(n,e)})),this.layoutPromise=Promise.resolve(),this.listenTo(this.model,"change:layout",((t,e)=>{this.setLayout(e,t.previous("layout"))})),this.stylePromise=Promise.resolve(),this.listenTo(this.model,"change:style",((t,e)=>{this.setStyle(e,t.previous("style"))})),this.displayed.then((()=>{this.update_classes([],this.model.get("_dom_classes")),this.setLayout(this.model.get("layout")),this.setStyle(this.model.get("style"))})),this._comm_live_update(),this.listenTo(this.model,"comm_live_update",(()=>{this._comm_live_update()})),this.listenTo(this.model,"change:tooltip",this.updateTooltip),this.updateTooltip()}setLayout(t,e){t&&(this.layoutPromise=this.layoutPromise.then((e=>(e&&(e.unlayout(),this.stopListening(e.model),e.remove()),this.create_child_view(t).then((t=>this.displayed.then((()=>(t.trigger("displayed"),this.listenTo(t.model,"change",(()=>{R.postMessage(this.luminoWidget,Ot.ResizeMessage.UnknownSize)})),R.postMessage(this.luminoWidget,Ot.ResizeMessage.UnknownSize),this.trigger("layout-changed"),t))))).catch(c("Could not add LayoutView to DOMWidgetView",!0))))))}setStyle(t,e){t&&(this.stylePromise=this.stylePromise.then((e=>(e&&(e.unstyle(),this.stopListening(e.model),e.remove()),this.create_child_view(t).then((t=>this.displayed.then((()=>(t.trigger("displayed"),this.trigger("style-changed"),t))))).catch(c("Could not add styleView to DOMWidgetView",!0))))))}updateTooltip(){const t=this.model.get("tooltip");t?0===this.model.get("description").length&&this.el.setAttribute("title",t):this.el.removeAttribute("title")}update_classes(t,e,n){void 0===n&&(n=this.el),r(t,e).map((function(t){n.classList?n.classList.remove(t):n.setAttribute("class",n.getAttribute("class").replace(t,""))})),r(e,t).map((function(t){n.classList?n.classList.add(t):n.setAttribute("class",n.getAttribute("class").concat(" ",t))}))}update_mapped_classes(t,e,n){let i=this.model.previous(e);const r=t[i]?t[i]:[];i=this.model.get(e);const s=t[i]?t[i]:[];this.update_classes(r,s,n||this.el)}set_mapped_classes(t,e,n){const i=this.model.get(e),r=t[i]?t[i]:[];this.update_classes([],r,n||this.el)}_setElement(t){this.luminoWidget&&this.luminoWidget.dispose(),this.$el=t instanceof y()?t:y()(t),this.el=this.$el[0],this.luminoWidget=new ke({node:t,view:this})}remove(){return this.luminoWidget&&this.luminoWidget.dispose(),super.remove()}processLuminoMessage(t){switch(t.type){case"after-attach":this.trigger("displayed");break;case"show":this.trigger("shown")}}_comm_live_update(){this.model.comm_live?this.luminoWidget.removeClass("jupyter-widgets-disconnected"):this.luminoWidget.addClass("jupyter-widgets-disconnected")}updateTabindex(){const t=this.model.get("tabbable");!0===t?this.el.setAttribute("tabIndex","0"):!1===t?this.el.setAttribute("tabIndex","-1"):null===t&&this.el.removeAttribute("tabIndex")}get pWidget(){return this.luminoWidget}set pWidget(t){this.luminoWidget=t}}const De={align_content:null,align_items:null,align_self:null,border_top:null,border_right:null,border_bottom:null,border_left:null,bottom:null,display:null,flex:null,flex_flow:null,height:null,justify_content:null,justify_items:null,left:null,margin:null,max_height:null,max_width:null,min_height:null,min_width:null,overflow:null,order:null,padding:null,right:null,top:null,visibility:null,width:null,object_fit:null,object_position:null,grid_auto_columns:null,grid_auto_flow:null,grid_auto_rows:null,grid_gap:null,grid_template_rows:null,grid_template_columns:null,grid_template_areas:null,grid_row:null,grid_column:null,grid_area:null};class Ne extends Ee{defaults(){return a(super.defaults(),{_model_name:"LayoutModel",_view_name:"LayoutView"},De)}}class Oe extends Ae{initialize(t){this._traitNames=[],super.initialize(t);for(const t of Object.keys(De))this.registerTrait(t)}registerTrait(t){this._traitNames.push(t),this.listenTo(this.model,"change:"+t,((e,n)=>{this.handleChange(t,n)})),this.handleChange(t,this.model.get(t))}css_name(t){return t.replace(/_/g,"-")}handleChange(t,e){const n=this.options.parent;n?null===e?n.el.style.removeProperty(this.css_name(t)):n.el.style.setProperty(this.css_name(t),e):console.warn("Style not applied because a parent view does not exist")}unlayout(){const t=this.options.parent;this._traitNames.forEach((e=>{t?t.el.style.removeProperty(this.css_name(e)):console.warn("Style not removed because a parent view does not exist")}),this)}}class je extends Ee{defaults(){const t=this.constructor;return a(super.defaults(),{_model_name:"StyleModel",_view_name:"StyleView"},Object.keys(t.styleProperties).reduce(((e,n)=>(e[n]=t.styleProperties[n].default,e)),{}))}}je.styleProperties={};class Be extends Ae{initialize(t){this._traitNames=[],super.initialize(t);const e=this.model.constructor;for(const t of Object.keys(e.styleProperties))this.registerTrait(t);this.style()}registerTrait(t){this._traitNames.push(t),this.listenTo(this.model,"change:"+t,((e,n)=>{this.handleChange(t,n)}))}handleChange(t,e){const n=this.options.parent;if(n){const i=this.model.constructor.styleProperties,r=i[t].attribute,s=i[t].selector,o=s?n.el.querySelectorAll(s):[n.el];if(null===e)for(let t=0;t!==o.length;++t)o[t].style.removeProperty(r);else for(let t=0;t!==o.length;++t)o[t].style.setProperty(r,e)}else console.warn("Style not applied because a parent view does not exist")}style(){for(const t of this._traitNames)this.handleChange(t,this.model.get(t))}unstyle(){const t=this.options.parent,e=this.model.constructor.styleProperties;this._traitNames.forEach((n=>{if(t){const i=e[n].attribute,r=e[n].selector,s=r?t.el.querySelectorAll(r):[t.el];for(let t=0;t!==s.length;++t)s[t].style.removeProperty(i)}else console.warn("Style not removed because a parent view does not exist")}),this)}}var Pe;!function(t){let e;!function(t){t.CommManager=class{constructor(t){this.targets=Object.create(null),this.comms=Object.create(null),this.init_kernel(t)}init_kernel(t){this.kernel=t,this.jsServicesKernel=t}async new_comm(t,n,i,r,s,o){const a=this.jsServicesKernel.createComm(t,s),l=new e(a);return this.register_comm(l),l.open(n,i,r,o),l}register_target(t,n){const i=this.jsServicesKernel.registerCommTarget(t,((t,i)=>{const r=new e(t);this.register_comm(r);try{return n(r,i)}catch(t){r.close(),console.error(t),console.error(new Error("Exception opening new comm"))}}));this.targets[t]=i}unregister_target(t,e){this.targets[t].dispose(),delete this.targets[t]}register_comm(t){return this.comms[t.comm_id]=Promise.resolve(t),t.kernel=this.kernel,t.comm_id}};class e{constructor(t){this.jsServicesComm=t}get comm_id(){return this.jsServicesComm.commId}get target_name(){return this.jsServicesComm.targetName}open(t,e,n,i){const r=this.jsServicesComm.open(t,n,i);return this._hookupCallbacks(r,e),r.msg.header.msg_id}send(t,e,n,i){const r=this.jsServicesComm.send(t,n,i);return this._hookupCallbacks(r,e),r.msg.header.msg_id}close(t,e,n,i){const r=this.jsServicesComm.close(t,n,i);return this._hookupCallbacks(r,e),r.msg.header.msg_id}on_msg(t){this.jsServicesComm.onMsg=t.bind(this)}on_close(t){this.jsServicesComm.onClose=t.bind(this)}_hookupCallbacks(t,e){e&&(t.onReply=function(t){e.shell&&e.shell.reply&&e.shell.reply(t)},t.onStdin=function(t){e.input&&e.input(t)},t.onIOPub=function(t){if(e.iopub)if(e.iopub.status&&"status"===t.header.msg_type)e.iopub.status(t);else if(e.iopub.clear_output&&"clear_output"===t.header.msg_type)e.iopub.clear_output(t);else if(e.iopub.output)switch(t.header.msg_type){case"display_data":case"execute_result":case"stream":case"error":e.iopub.output(t)}})}}t.Comm=e}(e=t.services||(t.services={}))}(Pe||(Pe={}));class He{constructor(t,e,n){this.initialize(t,e,n)}initialize(t,e,n){this._handler_context=n||this,this._models=[],this.views=[],this._create_view=t,this._remove_view=e||function(t){t.remove()}}update(t,e,n,i){const r=n||this._remove_view,s=e||this._create_view;i=i||this._handler_context;let o=0;for(;o<t.length&&!(o>=this._models.length||t[o]!==this._models[o]);o++);const a=o,l=this.views.splice(a,this.views.length-a);for(let t=0;t<l.length;t++)l[t].then((function(t){r.call(i,t)}));for(;o<t.length;o++)this.views.push(Promise.resolve(s.call(i,t[o],o)));return this._models=t.slice(),Promise.all(this.views)}remove(){return Promise.all(this.views).then((t=>{t.forEach((t=>this._remove_view.call(this._handler_context,t))),this.views=[],this._models=[]}))}dispose(){this.views=null,this._models=null}}const Re=new t.Token("jupyter.extensions.jupyterWidgetRegistry");function We(t,e){return class extends Ce{constructor(n,i){super(n=Object.assign(Object.assign({},n),{_view_name:"ErrorWidgetView",_view_module:"@jupyter-widgets/base",_model_module_version:be,_view_module_version:be,msg:e,error:t}),i),this.comm_live=!0}}}class Fe extends Le{generateErrorMessage(){return{msg:this.model.get("msg"),stack:String(this.model.get("error").stack)}}render(){const{msg:t,stack:e}=this.generateErrorMessage();this.el.classList.add("jupyter-widgets");const n=document.createElement("div");n.classList.add("jupyter-widgets-error-widget","icon-error"),n.innerHTML=m;const i=document.createElement("pre");let r,s;i.style.textAlign="center",i.innerText="Click to show javascript error.",n.append(i),this.el.appendChild(n),this.el.onclick=()=>{n.classList.contains("icon-error")&&(s=s||n.clientHeight,r=r||n.clientWidth,n.classList.remove("icon-error"),n.innerHTML=`\n <pre>[Open Browser Console for more detailed log - Double click to close this message]\n${t}\n${e}</pre>\n `,n.style.height=`${s}px`,n.style.width=`${r}px`,n.classList.add("text-error"))},this.el.ondblclick=()=>{n.classList.contains("text-error")&&(n.classList.remove("text-error"),n.innerHTML=m,n.append(i),n.classList.add("icon-error"))}}}function qe(t,e){return class extends Fe{generateErrorMessage(){return{msg:e,stack:String(t instanceof Error?t.stack:t)}}}}})(),o})())); |
| 3 |
//# sourceMappingURL=base.js.map; |
| 4 |
|
| 5 |
/*! For license information please see controls.js.LICENSE.txt */ |
| 6 |
define("@jupyter-widgets/controls",["module","@jupyter-widgets/base"],((e,t)=>(()=>{var i={764:function(e,t){!function(e){"use strict";e.JSONExt=void 0,function(e){function t(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e}function i(e){return Array.isArray(e)}function n(e,s){if(e===s)return!0;if(t(e)||t(s))return!1;let r=i(e),o=i(s);return r===o&&(r&&o?function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let i=0,s=e.length;i<s;++i)if(!n(e[i],t[i]))return!1;return!0}(e,s):function(e,t){if(e===t)return!0;for(let i in e)if(void 0!==e[i]&&!(i in t))return!1;for(let i in t)if(void 0!==t[i]&&!(i in e))return!1;for(let i in e){let s=e[i],r=t[i];if(void 0!==s||void 0!==r){if(void 0===s||void 0===r)return!1;if(!n(s,r))return!1}}return!0}(e,s))}function s(e){return t(e)?e:i(e)?function(e){let t=new Array(e.length);for(let i=0,n=e.length;i<n;++i)t[i]=s(e[i]);return t}(e):function(e){let t={};for(let i in e){let n=e[i];void 0!==n&&(t[i]=s(n))}return t}(e)}e.emptyObject=Object.freeze({}),e.emptyArray=Object.freeze([]),e.isPrimitive=t,e.isArray=i,e.isObject=function(e){return!t(e)&&!i(e)},e.deepEqual=n,e.deepCopy=s}(e.JSONExt||(e.JSONExt={}));function t(e){let t=0;for(let i=0,n=e.length;i<n;++i)i%4==0&&(t=4294967295*Math.random()>>>0),e[i]=255&t,t>>>=8}e.Random=void 0,(e.Random||(e.Random={})).getRandomValues=(()=>{const e="undefined"!=typeof window&&(window.crypto||window.msCrypto)||null;return e&&"function"==typeof e.getRandomValues?function(t){return e.getRandomValues(t)}:t})(),e.UUID=void 0,(e.UUID||(e.UUID={})).uuid4=function(e){const t=new Uint8Array(16),i=new Array(256);for(let e=0;e<16;++e)i[e]="0"+e.toString(16);for(let e=16;e<256;++e)i[e]=e.toString(16);return function(){return e(t),t[6]=64|15&t[6],t[8]=128|63&t[8],i[t[0]]+i[t[1]]+i[t[2]]+i[t[3]]+"-"+i[t[4]]+i[t[5]]+"-"+i[t[6]]+i[t[7]]+"-"+i[t[8]]+i[t[9]]+"-"+i[t[10]]+i[t[11]]+i[t[12]]+i[t[13]]+i[t[14]]+i[t[15]]}}(e.Random.getRandomValues),e.MimeData=class{constructor(){this._types=[],this._values=[]}types(){return this._types.slice()}hasData(e){return-1!==this._types.indexOf(e)}getData(e){let t=this._types.indexOf(e);return-1!==t?this._values[t]:void 0}setData(e,t){this.clearData(e),this._types.push(e),this._values.push(t)}clearData(e){let t=this._types.indexOf(e);-1!==t&&(this._types.splice(t,1),this._values.splice(t,1))}clear(){this._types.length=0,this._values.length=0}},e.PromiseDelegate=class{constructor(){this.promise=new Promise(((e,t)=>{this._resolve=e,this._reject=t}))}resolve(e){(0,this._resolve)(e)}reject(e){(0,this._reject)(e)}},e.Token=class{constructor(e,t){this.name=e,this.description=null!=t?t:"",this._tokenStructuralPropertyT=null}}}(t)},651:function(e,t){var i;!function(t,i){"use strict";"object"==typeof e.exports?e.exports=t.document?i(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(t)}("undefined"!=typeof window?window:this,(function(n,s){"use strict";var r=[],o=Object.getPrototypeOf,a=r.slice,l=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},d=r.push,h=r.indexOf,u={},c=u.toString,p=u.hasOwnProperty,f=p.toString,m=f.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},_=function(e){return null!=e&&e===e.window},b=n.document,y={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,i){var n,s,r=(i=i||b).createElement("script");if(r.text=e,t)for(n in y)(s=t[n]||t.getAttribute&&t.getAttribute(n))&&r.setAttribute(n,s);i.head.appendChild(r).parentNode.removeChild(r)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[c.call(e)]||"object":typeof e}var M="3.7.1",C=/HTML$/i,S=function(e,t){return new S.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,i=w(e);return!v(e)&&!_(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}S.fn=S.prototype={jquery:M,constructor:S,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,i){return e.call(t,i,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:d,sort:r.sort,splice:r.splice},S.extend=S.fn.extend=function(){var e,t,i,n,s,r,o=arguments[0]||{},a=1,l=arguments.length,d=!1;for("boolean"==typeof o&&(d=o,o=arguments[a]||{},a++),"object"==typeof o||v(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(d&&n&&(S.isPlainObject(n)||(s=Array.isArray(n)))?(i=o[t],r=s&&!Array.isArray(i)?[]:s||S.isPlainObject(i)?i:{},s=!1,o[t]=S.extend(d,r,n)):void 0!==n&&(o[t]=n));return o},S.extend({expando:"jQuery"+(M+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==c.call(e)||(t=o(e))&&("function"!=typeof(i=p.call(t,"constructor")&&t.constructor)||f.call(i)!==m))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){x(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(k(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,i="",n=0,s=e.nodeType;if(!s)for(;t=e[n++];)i+=S.text(t);return 1===s||11===s?e.textContent:9===s?e.documentElement.textContent:3===s||4===s?e.nodeValue:i},makeArray:function(e,t){var i=t||[];return null!=e&&(k(Object(e))?S.merge(i,"string"==typeof e?[e]:e):d.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:h.call(t,e,i)},isXMLDoc:function(e){var t=e&&e.namespaceURI,i=e&&(e.ownerDocument||e).documentElement;return!C.test(t||i&&i.nodeName||"HTML")},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,r=e.length,o=!i;s<r;s++)!t(e[s],s)!==o&&n.push(e[s]);return n},map:function(e,t,i){var n,s,r=0,o=[];if(k(e))for(n=e.length;r<n;r++)null!=(s=t(e[r],r,i))&&o.push(s);else for(r in e)null!=(s=t(e[r],r,i))&&o.push(s);return l(o)},guid:1,support:g}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=r[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var E=r.pop,A=r.sort,L=r.splice,I="[\\x20\\t\\r\\n\\f]",z=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g");S.contains=function(e,t){var i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(e.contains?e.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}S.escapeSelector=function(e){return(e+"").replace(D,O)};var N=b,j=d;!function(){var e,t,i,s,o,l,d,u,c,f,m=j,v=S.expando,_=0,b=0,y=ee(),x=ee(),w=ee(),M=ee(),C=function(e,t){return e===t&&(o=!0),0},k="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="(?:\\\\[\\da-fA-F]{1,6}"+I+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+I+"*("+D+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+D+"))|)"+I+"*\\]",B=":("+D+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",P=new RegExp(I+"+","g"),R=new RegExp("^"+I+"*,"+I+"*"),H=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),W=new RegExp(I+"|>"),V=new RegExp(B),F=new RegExp("^"+D+"$"),q={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+k+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},$=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+I+"?|\\\\([^\\r\\n\\f])","g"),G=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},J=function(){le()},Q=ce((function(e){return!0===e.disabled&&T(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(r=a.call(N.childNodes),N.childNodes),r[N.childNodes.length].nodeType}catch(e){m={apply:function(e,t){j.apply(e,a.call(t))},call:function(e){j.apply(e,a.call(arguments,1))}}}function Z(e,t,i,n){var s,r,o,a,d,h,p,f=t&&t.ownerDocument,_=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return i;if(!n&&(le(t),t=t||l,u)){if(11!==_&&(d=K.exec(e)))if(s=d[1]){if(9===_){if(!(o=t.getElementById(s)))return i;if(o.id===s)return m.call(i,o),i}else if(f&&(o=f.getElementById(s))&&Z.contains(t,o)&&o.id===s)return m.call(i,o),i}else{if(d[2])return m.apply(i,t.getElementsByTagName(e)),i;if((s=d[3])&&t.getElementsByClassName)return m.apply(i,t.getElementsByClassName(s)),i}if(!(M[e+" "]||c&&c.test(e))){if(p=e,f=t,1===_&&(W.test(e)||H.test(e))){for((f=X.test(e)&&ae(t.parentNode)||t)==t&&g.scope||((a=t.getAttribute("id"))?a=S.escapeSelector(a):t.setAttribute("id",a=v)),r=(h=he(e)).length;r--;)h[r]=(a?"#"+a:":scope")+" "+ue(h[r]);p=h.join(",")}try{return m.apply(i,f.querySelectorAll(p)),i}catch(t){M(e,!0)}finally{a===v&&t.removeAttribute("id")}}}return _e(e.replace(z,"$1"),t,i,n)}function ee(){var e=[];return function i(n,s){return e.push(n+" ")>t.cacheLength&&delete i[e.shift()],i[n+" "]=s}}function te(e){return e[v]=!0,e}function ie(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return T(t,"input")&&t.type===e}}function se(e){return function(t){return(T(t,"input")||T(t,"button"))&&t.type===e}}function re(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function oe(e){return te((function(t){return t=+t,te((function(i,n){for(var s,r=e([],i.length,t),o=r.length;o--;)i[s=r[o]]&&(i[s]=!(n[s]=i[s]))}))}))}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var i,n=e?e.ownerDocument||e:N;return n!=l&&9===n.nodeType&&n.documentElement?(d=(l=n).documentElement,u=!S.isXMLDoc(l),f=d.matches||d.webkitMatchesSelector||d.msMatchesSelector,d.msMatchesSelector&&N!=l&&(i=l.defaultView)&&i.top!==i&&i.addEventListener("unload",J),g.getById=ie((function(e){return d.appendChild(e).id=S.expando,!l.getElementsByName||!l.getElementsByName(S.expando).length})),g.disconnectedMatch=ie((function(e){return f.call(e,"*")})),g.scope=ie((function(){return l.querySelectorAll(":scope")})),g.cssHas=ie((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(Y,G);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&u){var i=t.getElementById(e);return i?[i]:[]}}):(t.filter.ID=function(e){var t=e.replace(Y,G);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&u){var i,n,s,r=t.getElementById(e);if(r){if((i=r.getAttributeNode("id"))&&i.value===e)return[r];for(s=t.getElementsByName(e),n=0;r=s[n++];)if((i=r.getAttributeNode("id"))&&i.value===e)return[r]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&u)return t.getElementsByClassName(e)},c=[],ie((function(e){var t;d.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||c.push("\\["+I+"*(?:value|"+k+")"),e.querySelectorAll("[id~="+v+"-]").length||c.push("~="),e.querySelectorAll("a#"+v+"+*").length||c.push(".#.+[+~]"),e.querySelectorAll(":checked").length||c.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),d.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&c.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||c.push("\\["+I+"*name"+I+"*="+I+"*(?:''|\"\")")})),g.cssHas||c.push(":has"),c=c.length&&new RegExp(c.join("|")),C=function(e,t){if(e===t)return o=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===i?e===l||e.ownerDocument==N&&Z.contains(N,e)?-1:t===l||t.ownerDocument==N&&Z.contains(N,t)?1:s?h.call(s,e)-h.call(s,t):0:4&i?-1:1)},l):l}for(e in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(le(e),u&&!M[t+" "]&&(!c||!c.test(t)))try{var i=f.call(e,t);if(i||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){M(t,!0)}return Z(t,l,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),S.contains(e,t)},Z.attr=function(e,i){(e.ownerDocument||e)!=l&&le(e);var n=t.attrHandle[i.toLowerCase()],s=n&&p.call(t.attrHandle,i.toLowerCase())?n(e,i,!u):void 0;return void 0!==s?s:e.getAttribute(i)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},S.uniqueSort=function(e){var t,i=[],n=0,r=0;if(o=!g.sortStable,s=!g.sortStable&&a.call(e,0),A.call(e,C),o){for(;t=e[r++];)t===e[r]&&(n=i.push(r));for(;n--;)L.call(e,i[n],1)}return s=null,e},S.fn.uniqueSort=function(){return this.pushStack(S.uniqueSort(a.apply(this)))},t=S.expr={cacheLength:50,createPseudo:te,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Y,G),e[3]=(e[3]||e[4]||e[5]||"").replace(Y,G),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&V.test(i)&&(t=he(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Y,G).toLowerCase();return"*"===e?function(){return!0}:function(e){return T(e,t)}},CLASS:function(e){var t=y[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&y(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,i){return function(n){var s=Z.attr(n,e);return null==s?"!="===t:!t||(s+="","="===t?s===i:"!="===t?s!==i:"^="===t?i&&0===s.indexOf(i):"*="===t?i&&s.indexOf(i)>-1:"$="===t?i&&s.slice(-i.length)===i:"~="===t?(" "+s.replace(P," ")+" ").indexOf(i)>-1:"|="===t&&(s===i||s.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,n,s){var r="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===n&&0===s?function(e){return!!e.parentNode}:function(t,i,l){var d,h,u,c,p,f=r!==o?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!l&&!a,y=!1;if(m){if(r){for(;f;){for(u=t;u=u[f];)if(a?T(u,g):1===u.nodeType)return!1;p=f="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?m.firstChild:m.lastChild],o&&b){for(y=(c=(d=(h=m[v]||(m[v]={}))[e]||[])[0]===_&&d[1])&&d[2],u=c&&m.childNodes[c];u=++c&&u&&u[f]||(y=c=0)||p.pop();)if(1===u.nodeType&&++y&&u===t){h[e]=[_,c,y];break}}else if(b&&(y=c=(d=(h=t[v]||(t[v]={}))[e]||[])[0]===_&&d[1]),!1===y)for(;(u=++c&&u&&u[f]||(y=c=0)||p.pop())&&(!(a?T(u,g):1===u.nodeType)||!++y||(b&&((h=u[v]||(u[v]={}))[e]=[_,y]),u!==t)););return(y-=s)===n||y%n==0&&y/n>=0}}},PSEUDO:function(e,i){var n,s=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return s[v]?s(i):s.length>1?(n=[e,e,"",i],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var n,r=s(e,i),o=r.length;o--;)e[n=h.call(e,r[o])]=!(t[n]=r[o])})):function(e){return s(e,0,n)}):s}},pseudos:{not:te((function(e){var t=[],i=[],n=ve(e.replace(z,"$1"));return n[v]?te((function(e,t,i,s){for(var r,o=n(e,null,s,[]),a=e.length;a--;)(r=o[a])&&(e[a]=!(t[a]=r))})):function(e,s,r){return t[0]=e,n(t,null,r,i),t[0]=null,!i.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace(Y,G),function(t){return(t.textContent||S.text(t)).indexOf(e)>-1}})),lang:te((function(e){return F.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(Y,G).toLowerCase(),function(t){var i;do{if(i=u?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===d},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:re(!1),disabled:re(!0),checked:function(e){return T(e,"input")&&!!e.checked||T(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){return T(e,"input")&&"button"===e.type||T(e,"button")},text:function(e){var t;return T(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:oe((function(){return[0]})),last:oe((function(e,t){return[t-1]})),eq:oe((function(e,t,i){return[i<0?i+t:i]})),even:oe((function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e})),odd:oe((function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e})),lt:oe((function(e,t,i){var n;for(n=i<0?i+t:i>t?t:i;--n>=0;)e.push(n);return e})),gt:oe((function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ne(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=se(e);function de(){}function he(e,i){var n,s,r,o,a,l,d,h=x[e+" "];if(h)return i?0:h.slice(0);for(a=e,l=[],d=t.preFilter;a;){for(o in n&&!(s=R.exec(a))||(s&&(a=a.slice(s[0].length)||a),l.push(r=[])),n=!1,(s=H.exec(a))&&(n=s.shift(),r.push({value:n,type:s[0].replace(z," ")}),a=a.slice(n.length)),t.filter)!(s=q[o].exec(a))||d[o]&&!(s=d[o](s))||(n=s.shift(),r.push({value:n,type:o,matches:s}),a=a.slice(n.length));if(!n)break}return i?a.length:a?Z.error(e):x(e,l).slice(0)}function ue(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function ce(e,t,i){var n=t.dir,s=t.next,r=s||n,o=i&&"parentNode"===r,a=b++;return t.first?function(t,i,s){for(;t=t[n];)if(1===t.nodeType||o)return e(t,i,s);return!1}:function(t,i,l){var d,h,u=[_,a];if(l){for(;t=t[n];)if((1===t.nodeType||o)&&e(t,i,l))return!0}else for(;t=t[n];)if(1===t.nodeType||o)if(h=t[v]||(t[v]={}),s&&T(t,s))t=t[n]||t;else{if((d=h[r])&&d[0]===_&&d[1]===a)return u[2]=d[2];if(h[r]=u,u[2]=e(t,i,l))return!0}return!1}}function pe(e){return e.length>1?function(t,i,n){for(var s=e.length;s--;)if(!e[s](t,i,n))return!1;return!0}:e[0]}function fe(e,t,i,n,s){for(var r,o=[],a=0,l=e.length,d=null!=t;a<l;a++)(r=e[a])&&(i&&!i(r,n,s)||(o.push(r),d&&t.push(a)));return o}function me(e,t,i,n,s,r){return n&&!n[v]&&(n=me(n)),s&&!s[v]&&(s=me(s,r)),te((function(r,o,a,l){var d,u,c,p,f=[],g=[],v=o.length,_=r||function(e,t,i){for(var n=0,s=t.length;n<s;n++)Z(e,t[n],i);return i}(t||"*",a.nodeType?[a]:a,[]),b=!e||!r&&t?_:fe(_,f,e,a,l);if(i?i(b,p=s||(r?e:v||n)?[]:o,a,l):p=b,n)for(d=fe(p,g),n(d,[],a,l),u=d.length;u--;)(c=d[u])&&(p[g[u]]=!(b[g[u]]=c));if(r){if(s||e){if(s){for(d=[],u=p.length;u--;)(c=p[u])&&d.push(b[u]=c);s(null,p=[],d,l)}for(u=p.length;u--;)(c=p[u])&&(d=s?h.call(r,c):f[u])>-1&&(r[d]=!(o[d]=c))}}else p=fe(p===o?p.splice(v,p.length):p),s?s(null,o,p,l):m.apply(o,p)}))}function ge(e){for(var n,s,r,o=e.length,a=t.relative[e[0].type],l=a||t.relative[" "],d=a?1:0,u=ce((function(e){return e===n}),l,!0),c=ce((function(e){return h.call(n,e)>-1}),l,!0),p=[function(e,t,s){var r=!a&&(s||t!=i)||((n=t).nodeType?u(e,t,s):c(e,t,s));return n=null,r}];d<o;d++)if(s=t.relative[e[d].type])p=[ce(pe(p),s)];else{if((s=t.filter[e[d].type].apply(null,e[d].matches))[v]){for(r=++d;r<o&&!t.relative[e[r].type];r++);return me(d>1&&pe(p),d>1&&ue(e.slice(0,d-1).concat({value:" "===e[d-2].type?"*":""})).replace(z,"$1"),s,d<r&&ge(e.slice(d,r)),r<o&&ge(e=e.slice(r)),r<o&&ue(e))}p.push(s)}return pe(p)}function ve(e,n){var s,r=[],o=[],a=w[e+" "];if(!a){for(n||(n=he(e)),s=n.length;s--;)(a=ge(n[s]))[v]?r.push(a):o.push(a);a=w(e,function(e,n){var s=n.length>0,r=e.length>0,o=function(o,a,d,h,c){var p,f,g,v=0,b="0",y=o&&[],x=[],w=i,M=o||r&&t.find.TAG("*",c),C=_+=null==w?1:Math.random()||.1,k=M.length;for(c&&(i=a==l||a||c);b!==k&&null!=(p=M[b]);b++){if(r&&p){for(f=0,a||p.ownerDocument==l||(le(p),d=!u);g=e[f++];)if(g(p,a||l,d)){m.call(h,p);break}c&&(_=C)}s&&((p=!g&&p)&&v--,o&&y.push(p))}if(v+=b,s&&b!==v){for(f=0;g=n[f++];)g(y,x,a,d);if(o){if(v>0)for(;b--;)y[b]||x[b]||(x[b]=E.call(h));x=fe(x)}m.apply(h,x),c&&!o&&x.length>0&&v+n.length>1&&S.uniqueSort(h)}return c&&(_=C,i=w),y};return s?te(o):o}(o,r)),a.selector=e}return a}function _e(e,i,n,s){var r,o,a,l,d,h="function"==typeof e&&e,c=!s&&he(e=h.selector||e);if(n=n||[],1===c.length){if((o=c[0]=c[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===i.nodeType&&u&&t.relative[o[1].type]){if(!(i=(t.find.ID(a.matches[0].replace(Y,G),i)||[])[0]))return n;h&&(i=i.parentNode),e=e.slice(o.shift().value.length)}for(r=q.needsContext.test(e)?0:o.length;r--&&(a=o[r],!t.relative[l=a.type]);)if((d=t.find[l])&&(s=d(a.matches[0].replace(Y,G),X.test(o[0].type)&&ae(i.parentNode)||i))){if(o.splice(r,1),!(e=s.length&&ue(o)))return m.apply(n,s),n;break}}return(h||ve(e,c))(s,i,!u,n,!i||X.test(e)&&ae(i.parentNode)||i),n}de.prototype=t.filters=t.pseudos,t.setFilters=new de,g.sortStable=v.split("").sort(C).join("")===v,le(),g.sortDetached=ie((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),S.find=Z,S.expr[":"]=S.expr.pseudos,S.unique=S.uniqueSort,Z.compile=ve,Z.select=_e,Z.setDocument=le,Z.tokenize=he,Z.escape=S.escapeSelector,Z.getText=S.text,Z.isXML=S.isXMLDoc,Z.selectors=S.expr,Z.support=S.support,Z.uniqueSort=S.uniqueSort}();var B=function(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&S(e).is(i))break;n.push(e)}return n},P=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},R=S.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function W(e,t,i){return v(t)?S.grep(e,(function(e,n){return!!t.call(e,n,e)!==i})):t.nodeType?S.grep(e,(function(e){return e===t!==i})):"string"!=typeof t?S.grep(e,(function(e){return h.call(t,e)>-1!==i})):S.filter(t,e,i)}S.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?S.find.matchesSelector(n,e)?[n]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,i,n=this.length,s=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<n;t++)if(S.contains(s[t],this))return!0})));for(i=this.pushStack([]),t=0;t<n;t++)S.find(e,s[t],i);return n>1?S.uniqueSort(i):i},filter:function(e){return this.pushStack(W(this,e||[],!1))},not:function(e){return this.pushStack(W(this,e||[],!0))},is:function(e){return!!W(this,"string"==typeof e&&R.test(e)?S(e):e||[],!1).length}});var V,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,i){var n,s;if(!e)return this;if(i=i||V,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:F.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),H.test(n[1])&&S.isPlainObject(t))for(n in t)v(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(s=b.getElementById(n[2]))&&(this[0]=s,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==i.ready?i.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,V=S(b);var q=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function U(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),i=t.length;return this.filter((function(){for(var e=0;e<i;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var i,n=0,s=this.length,r=[],o="string"!=typeof e&&S(e);if(!R.test(e))for(;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&S.find.matchesSelector(i,e))){r.push(i);break}return this.pushStack(r.length>1?S.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?h.call(S(e),this[0]):h.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return B(e,"parentNode")},parentsUntil:function(e,t,i){return B(e,"parentNode",i)},next:function(e){return U(e,"nextSibling")},prev:function(e){return U(e,"previousSibling")},nextAll:function(e){return B(e,"nextSibling")},prevAll:function(e){return B(e,"previousSibling")},nextUntil:function(e,t,i){return B(e,"nextSibling",i)},prevUntil:function(e,t,i){return B(e,"previousSibling",i)},siblings:function(e){return P((e.parentNode||{}).firstChild,e)},children:function(e){return P(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(i,n){var s=S.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(s=S.filter(n,s)),this.length>1&&($[e]||S.uniqueSort(s),q.test(e)&&s.reverse()),this.pushStack(s)}}));var K=/[^\x20\t\r\n\f]+/g;function X(e){return e}function Y(e){throw e}function G(e,t,i,n){var s;try{e&&v(s=e.promise)?s.call(e).done(t).fail(i):e&&v(s=e.then)?s.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(K)||[],(function(e,i){t[i]=!0})),t}(e):S.extend({},e);var t,i,n,s,r=[],o=[],a=-1,l=function(){for(s=s||e.once,n=t=!0;o.length;a=-1)for(i=o.shift();++a<r.length;)!1===r[a].apply(i[0],i[1])&&e.stopOnFalse&&(a=r.length,i=!1);e.memory||(i=!1),t=!1,s&&(r=i?[]:"")},d={add:function(){return r&&(i&&!t&&(a=r.length-1,o.push(i)),function t(i){S.each(i,(function(i,n){v(n)?e.unique&&d.has(n)||r.push(n):n&&n.length&&"string"!==w(n)&&t(n)}))}(arguments),i&&!t&&l()),this},remove:function(){return S.each(arguments,(function(e,t){for(var i;(i=S.inArray(t,r,i))>-1;)r.splice(i,1),i<=a&&a--})),this},has:function(e){return e?S.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return s=o=[],r=i="",this},disabled:function(){return!r},lock:function(){return s=o=[],i||t||(r=i=""),this},locked:function(){return!!s},fireWith:function(e,i){return s||(i=[e,(i=i||[]).slice?i.slice():i],o.push(i),t||l()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",s={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(i){S.each(t,(function(t,n){var s=v(e[n[4]])&&e[n[4]];r[n[1]]((function(){var e=s&&s.apply(this,arguments);e&&v(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,s?[e]:arguments)}))})),e=null})).promise()},then:function(e,i,s){var r=0;function o(e,t,i,s){return function(){var a=this,l=arguments,d=function(){var n,d;if(!(e<r)){if((n=i.apply(a,l))===t.promise())throw new TypeError("Thenable self-resolution");d=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(d)?s?d.call(n,o(r,t,X,s),o(r,t,Y,s)):(r++,d.call(n,o(r,t,X,s),o(r,t,Y,s),o(r,t,X,t.notifyWith))):(i!==X&&(a=void 0,l=[n]),(s||t.resolveWith)(a,l))}},h=s?d:function(){try{d()}catch(n){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(n,h.error),e+1>=r&&(i!==Y&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?h():(S.Deferred.getErrorHook?h.error=S.Deferred.getErrorHook():S.Deferred.getStackHook&&(h.error=S.Deferred.getStackHook()),n.setTimeout(h))}}return S.Deferred((function(n){t[0][3].add(o(0,n,v(s)?s:X,n.notifyWith)),t[1][3].add(o(0,n,v(e)?e:X)),t[2][3].add(o(0,n,v(i)?i:Y))})).promise()},promise:function(e){return null!=e?S.extend(e,s):s}},r={};return S.each(t,(function(e,n){var o=n[2],a=n[5];s[n[1]]=o.add,a&&o.add((function(){i=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),r[n[0]]=function(){return r[n[0]+"With"](this===r?void 0:this,arguments),this},r[n[0]+"With"]=o.fireWith})),s.promise(r),e&&e.call(r,r),r},when:function(e){var t=arguments.length,i=t,n=Array(i),s=a.call(arguments),r=S.Deferred(),o=function(e){return function(i){n[e]=this,s[e]=arguments.length>1?a.call(arguments):i,--t||r.resolveWith(n,s)}};if(t<=1&&(G(e,r.done(o(i)).resolve,r.reject,!t),"pending"===r.state()||v(s[i]&&s[i].then)))return r.then();for(;i--;)G(s[i],o(i),r.reject);return r.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&J.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){n.setTimeout((function(){throw e}))};var Q=S.Deferred();function Z(){b.removeEventListener("DOMContentLoaded",Z),n.removeEventListener("load",Z),S.ready()}S.fn.ready=function(e){return Q.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||Q.resolveWith(b,[S]))}}),S.ready.then=Q.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(S.ready):(b.addEventListener("DOMContentLoaded",Z),n.addEventListener("load",Z));var ee=function(e,t,i,n,s,r,o){var a=0,l=e.length,d=null==i;if("object"===w(i))for(a in s=!0,i)ee(e,t,a,i[a],!0,r,o);else if(void 0!==n&&(s=!0,v(n)||(o=!0),d&&(o?(t.call(e,n),t=null):(d=t,t=function(e,t,i){return d.call(S(e),i)})),t))for(;a<l;a++)t(e[a],i,o?n:n.call(e[a],a,t(e[a],i)));return s?e:d?t.call(e):l?t(e[0],i):r},te=/^-ms-/,ie=/-([a-z])/g;function ne(e,t){return t.toUpperCase()}function se(e){return e.replace(te,"ms-").replace(ie,ne)}var re=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function oe(){this.expando=S.expando+oe.uid++}oe.uid=1,oe.prototype={cache:function(e){var t=e[this.expando];return t||(t={},re(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,s=this.cache(e);if("string"==typeof t)s[se(t)]=i;else for(n in t)s[se(n)]=t[n];return s},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][se(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(se):(t=se(t))in n?[t]:t.match(K)||[]).length;for(;i--;)delete n[t[i]]}(void 0===t||S.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var ae=new oe,le=new oe,de=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,he=/[A-Z]/g;function ue(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(he,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:de.test(e)?JSON.parse(e):e)}(i)}catch(e){}le.set(e,t,i)}else i=void 0;return i}S.extend({hasData:function(e){return le.hasData(e)||ae.hasData(e)},data:function(e,t,i){return le.access(e,t,i)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,i){return ae.access(e,t,i)},_removeData:function(e,t){ae.remove(e,t)}}),S.fn.extend({data:function(e,t){var i,n,s,r=this[0],o=r&&r.attributes;if(void 0===e){if(this.length&&(s=le.get(r),1===r.nodeType&&!ae.get(r,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&0===(n=o[i].name).indexOf("data-")&&(n=se(n.slice(5)),ue(r,n,s[n]));ae.set(r,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var i;if(r&&void 0===t)return void 0!==(i=le.get(r,e))||void 0!==(i=ue(r,e))?i:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),S.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=ae.get(e,t),i&&(!n||Array.isArray(i)?n=ae.access(e,t,S.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=S.queue(e,t),n=i.length,s=i.shift(),r=S._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete r.stop,s.call(e,(function(){S.dequeue(e,t)}),r)),!n&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return ae.get(e,i)||ae.access(e,i,{empty:S.Callbacks("once memory").add((function(){ae.remove(e,[t+"queue",i])}))})}}),S.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?S.queue(this[0],e):void 0===t?this:this.each((function(){var i=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,s=S.Deferred(),r=this,o=this.length,a=function(){--n||s.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(i=ae.get(r[o],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),s.promise(t)}});var ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=b.documentElement,ge=function(e){return S.contains(e.ownerDocument,e)},ve={composed:!0};me.getRootNode&&(ge=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument});var _e=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===S.css(e,"display")};function be(e,t,i,n){var s,r,o=20,a=n?function(){return n.cur()}:function(){return S.css(e,t,"")},l=a(),d=i&&i[3]||(S.cssNumber[t]?"":"px"),h=e.nodeType&&(S.cssNumber[t]||"px"!==d&&+l)&&pe.exec(S.css(e,t));if(h&&h[3]!==d){for(l/=2,d=d||h[3],h=+l||1;o--;)S.style(e,t,h+d),(1-r)*(1-(r=a()/l||.5))<=0&&(o=0),h/=r;h*=2,S.style(e,t,h+d),i=i||[]}return i&&(h=+h||+l||0,s=i[1]?h+(i[1]+1)*i[2]:+i[2],n&&(n.unit=d,n.start=h,n.end=s)),s}var ye={};function xe(e){var t,i=e.ownerDocument,n=e.nodeName,s=ye[n];return s||(t=i.body.appendChild(i.createElement(n)),s=S.css(t,"display"),t.parentNode.removeChild(t),"none"===s&&(s="block"),ye[n]=s,s)}function we(e,t){for(var i,n,s=[],r=0,o=e.length;r<o;r++)(n=e[r]).style&&(i=n.style.display,t?("none"===i&&(s[r]=ae.get(n,"display")||null,s[r]||(n.style.display="")),""===n.style.display&&_e(n)&&(s[r]=xe(n))):"none"!==i&&(s[r]="none",ae.set(n,"display",i)));for(r=0;r<o;r++)null!=s[r]&&(e[r].style.display=s[r]);return e}S.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){_e(this)?S(this).show():S(this).hide()}))}});var Me,Ce,Se=/^(?:checkbox|radio)$/i,ke=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Te=/^$|^module$|\/(?:java|ecma)script/i;Me=b.createDocumentFragment().appendChild(b.createElement("div")),(Ce=b.createElement("input")).setAttribute("type","radio"),Ce.setAttribute("checked","checked"),Ce.setAttribute("name","t"),Me.appendChild(Ce),g.checkClone=Me.cloneNode(!0).cloneNode(!0).lastChild.checked,Me.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Me.cloneNode(!0).lastChild.defaultValue,Me.innerHTML="<option></option>",g.option=!!Me.lastChild;var Ee={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ae(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?S.merge([e],i):i}function Le(e,t){for(var i=0,n=e.length;i<n;i++)ae.set(e[i],"globalEval",!t||ae.get(t[i],"globalEval"))}Ee.tbody=Ee.tfoot=Ee.colgroup=Ee.caption=Ee.thead,Ee.th=Ee.td,g.option||(Ee.optgroup=Ee.option=[1,"<select multiple='multiple'>","</select>"]);var Ie=/<|&#?\w+;/;function ze(e,t,i,n,s){for(var r,o,a,l,d,h,u=t.createDocumentFragment(),c=[],p=0,f=e.length;p<f;p++)if((r=e[p])||0===r)if("object"===w(r))S.merge(c,r.nodeType?[r]:r);else if(Ie.test(r)){for(o=o||u.appendChild(t.createElement("div")),a=(ke.exec(r)||["",""])[1].toLowerCase(),l=Ee[a]||Ee._default,o.innerHTML=l[1]+S.htmlPrefilter(r)+l[2],h=l[0];h--;)o=o.lastChild;S.merge(c,o.childNodes),(o=u.firstChild).textContent=""}else c.push(t.createTextNode(r));for(u.textContent="",p=0;r=c[p++];)if(n&&S.inArray(r,n)>-1)s&&s.push(r);else if(d=ge(r),o=Ae(u.appendChild(r),"script"),d&&Le(o),i)for(h=0;r=o[h++];)Te.test(r.type||"")&&i.push(r);return u}var De=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Ne(){return!1}function je(e,t,i,n,s,r){var o,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)je(e,a,i,n,t[a],r);return e}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=Ne;else if(!s)return e;return 1===r&&(o=s,s=function(e){return S().off(e),o.apply(this,arguments)},s.guid=o.guid||(o.guid=S.guid++)),e.each((function(){S.event.add(this,t,s,n,i)}))}function Be(e,t,i){i?(ae.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var i,n=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=a.call(arguments),ae.set(this,t,n),this[t](),i=ae.get(this,t),ae.set(this,t,!1),n!==i)return e.stopImmediatePropagation(),e.preventDefault(),i}else n&&(ae.set(this,t,S.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===ae.get(e,t)&&S.event.add(e,t,Oe)}S.event={global:{},add:function(e,t,i,n,s){var r,o,a,l,d,h,u,c,p,f,m,g=ae.get(e);if(re(e))for(i.handler&&(i=(r=i).handler,s=r.selector),s&&S.find.matchesSelector(me,s),i.guid||(i.guid=S.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),d=(t=(t||"").match(K)||[""]).length;d--;)p=m=(a=De.exec(t[d])||[])[1],f=(a[2]||"").split(".").sort(),p&&(u=S.event.special[p]||{},p=(s?u.delegateType:u.bindType)||p,u=S.event.special[p]||{},h=S.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&S.expr.match.needsContext.test(s),namespace:f.join(".")},r),(c=l[p])||((c=l[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,n,f,o)||e.addEventListener&&e.addEventListener(p,o)),u.add&&(u.add.call(e,h),h.handler.guid||(h.handler.guid=i.guid)),s?c.splice(c.delegateCount++,0,h):c.push(h),S.event.global[p]=!0)},remove:function(e,t,i,n,s){var r,o,a,l,d,h,u,c,p,f,m,g=ae.hasData(e)&&ae.get(e);if(g&&(l=g.events)){for(d=(t=(t||"").match(K)||[""]).length;d--;)if(p=m=(a=De.exec(t[d])||[])[1],f=(a[2]||"").split(".").sort(),p){for(u=S.event.special[p]||{},c=l[p=(n?u.delegateType:u.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=c.length;r--;)h=c[r],!s&&m!==h.origType||i&&i.guid!==h.guid||a&&!a.test(h.namespace)||n&&n!==h.selector&&("**"!==n||!h.selector)||(c.splice(r,1),h.selector&&c.delegateCount--,u.remove&&u.remove.call(e,h));o&&!c.length&&(u.teardown&&!1!==u.teardown.call(e,f,g.handle)||S.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)S.event.remove(e,p+t[d],i,n,!0);S.isEmptyObject(l)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,i,n,s,r,o,a=new Array(arguments.length),l=S.event.fix(e),d=(ae.get(this,"events")||Object.create(null))[l.type]||[],h=S.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,l)){for(o=S.event.handlers.call(this,l,d),t=0;(s=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=s.elem,i=0;(r=s.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(n=((S.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,l),l.result}},handlers:function(e,t){var i,n,s,r,o,a=[],l=t.delegateCount,d=e.target;if(l&&d.nodeType&&!("click"===e.type&&e.button>=1))for(;d!==this;d=d.parentNode||this)if(1===d.nodeType&&("click"!==e.type||!0!==d.disabled)){for(r=[],o={},i=0;i<l;i++)void 0===o[s=(n=t[i]).selector+" "]&&(o[s]=n.needsContext?S(s,this).index(d)>-1:S.find(s,this,null,[d]).length),o[s]&&r.push(n);r.length&&a.push({elem:d,handlers:r})}return d=this,l<t.length&&a.push({elem:d,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Se.test(t.type)&&t.click&&T(t,"input")&&Be(t,"click",!0),!1},trigger:function(e){var t=this||e;return Se.test(t.type)&&t.click&&T(t,"input")&&Be(t,"click"),!0},_default:function(e){var t=e.target;return Se.test(t.type)&&t.click&&T(t,"input")&&ae.get(t,"click")||T(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Ne,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Ne,isPropagationStopped:Ne,isImmediatePropagationStopped:Ne,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(e,t){function i(e){if(b.documentMode){var i=ae.get(this,"handle"),n=S.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,i(e),n.target===n.currentTarget&&i(n)}else S.event.simulate(t,e.target,S.event.fix(e))}S.event.special[e]={setup:function(){var n;if(Be(this,e,!0),!b.documentMode)return!1;(n=ae.get(this,t))||this.addEventListener(t,i),ae.set(this,t,(n||0)+1)},trigger:function(){return Be(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=ae.get(this,t)-1)?ae.set(this,t,e):(this.removeEventListener(t,i),ae.remove(this,t))},_default:function(t){return ae.get(t.target,e)},delegateType:t},S.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,s=b.documentMode?this:n,r=ae.get(s,t);r||(b.documentMode?this.addEventListener(t,i):n.addEventListener(e,i,!0)),ae.set(s,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,s=b.documentMode?this:n,r=ae.get(s,t)-1;r?ae.set(s,t,r):(b.documentMode?this.removeEventListener(t,i):n.removeEventListener(e,i,!0),ae.remove(s,t))}}})),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,s=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=s.origType,i=s.handler.apply(this,arguments),e.type=t),i}}})),S.fn.extend({on:function(e,t,i,n){return je(this,e,t,i,n)},one:function(e,t,i,n){return je(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,S(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(s in e)this.off(s,t,e[s]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=Ne),this.each((function(){S.event.remove(this,e,i,t)}))}});var Pe=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,He=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function We(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Ve(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qe(e,t){var i,n,s,r,o,a;if(1===t.nodeType){if(ae.hasData(e)&&(a=ae.get(e).events))for(s in ae.remove(t,"handle events"),a)for(i=0,n=a[s].length;i<n;i++)S.event.add(t,s,a[s][i]);le.hasData(e)&&(r=le.access(e),o=S.extend({},r),le.set(t,o))}}function $e(e,t){var i=t.nodeName.toLowerCase();"input"===i&&Se.test(e.type)?t.checked=e.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=e.defaultValue)}function Ue(e,t,i,n){t=l(t);var s,r,o,a,d,h,u=0,c=e.length,p=c-1,f=t[0],m=v(f);if(m||c>1&&"string"==typeof f&&!g.checkClone&&Re.test(f))return e.each((function(s){var r=e.eq(s);m&&(t[0]=f.call(this,s,r.html())),Ue(r,t,i,n)}));if(c&&(r=(s=ze(t,e[0].ownerDocument,!1,e,n)).firstChild,1===s.childNodes.length&&(s=r),r||n)){for(a=(o=S.map(Ae(s,"script"),Ve)).length;u<c;u++)d=s,u!==p&&(d=S.clone(d,!0,!0),a&&S.merge(o,Ae(d,"script"))),i.call(e[u],d,u);if(a)for(h=o[o.length-1].ownerDocument,S.map(o,Fe),u=0;u<a;u++)d=o[u],Te.test(d.type||"")&&!ae.access(d,"globalEval")&&S.contains(h,d)&&(d.src&&"module"!==(d.type||"").toLowerCase()?S._evalUrl&&!d.noModule&&S._evalUrl(d.src,{nonce:d.nonce||d.getAttribute("nonce")},h):x(d.textContent.replace(He,""),d,h))}return e}function Ke(e,t,i){for(var n,s=t?S.filter(t,e):e,r=0;null!=(n=s[r]);r++)i||1!==n.nodeType||S.cleanData(Ae(n)),n.parentNode&&(i&&ge(n)&&Le(Ae(n,"script")),n.parentNode.removeChild(n));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,s,r,o,a=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(o=Ae(a),n=0,s=(r=Ae(e)).length;n<s;n++)$e(r[n],o[n]);if(t)if(i)for(r=r||Ae(e),o=o||Ae(a),n=0,s=r.length;n<s;n++)qe(r[n],o[n]);else qe(e,a);return(o=Ae(a,"script")).length>0&&Le(o,!l&&Ae(e,"script")),a},cleanData:function(e){for(var t,i,n,s=S.event.special,r=0;void 0!==(i=e[r]);r++)if(re(i)){if(t=i[ae.expando]){if(t.events)for(n in t.events)s[n]?S.event.remove(i,n):S.removeEvent(i,n,t.handle);i[ae.expando]=void 0}i[le.expando]&&(i[le.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Ke(this,e,!0)},remove:function(e){return Ke(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ue(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||We(this,e).appendChild(e)}))},prepend:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=We(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Pe.test(e)&&!Ee[(ke.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(S.cleanData(Ae(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ue(this,arguments,(function(t){var i=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(Ae(this)),i&&i.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var i,n=[],s=S(e),r=s.length-1,o=0;o<=r;o++)i=o===r?this:this.clone(!0),S(s[o])[t](i),d.apply(n,i.get());return this.pushStack(n)}}));var Xe=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),Ye=/^--/,Ge=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Je=function(e,t,i){var n,s,r={};for(s in t)r[s]=e.style[s],e.style[s]=t[s];for(s in n=i.call(e),t)e.style[s]=r[s];return n},Qe=new RegExp(fe.join("|"),"i");function Ze(e,t,i){var n,s,r,o,a=Ye.test(t),l=e.style;return(i=i||Ge(e))&&(o=i.getPropertyValue(t)||i[t],a&&o&&(o=o.replace(z,"$1")||void 0),""!==o||ge(e)||(o=S.style(e,t)),!g.pixelBoxStyles()&&Xe.test(o)&&Qe.test(t)&&(n=l.width,s=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=i.width,l.width=n,l.minWidth=s,l.maxWidth=r)),void 0!==o?o+"":o}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(h){d.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",h.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(d).appendChild(h);var e=n.getComputedStyle(h);i="1%"!==e.top,l=12===t(e.marginLeft),h.style.right="60%",o=36===t(e.right),s=36===t(e.width),h.style.position="absolute",r=12===t(h.offsetWidth/3),me.removeChild(d),h=null}}function t(e){return Math.round(parseFloat(e))}var i,s,r,o,a,l,d=b.createElement("div"),h=b.createElement("div");h.style&&(h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===h.style.backgroundClip,S.extend(g,{boxSizingReliable:function(){return e(),s},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,t,i,s;return null==a&&(e=b.createElement("table"),t=b.createElement("tr"),i=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",me.appendChild(e).appendChild(t).appendChild(i),s=n.getComputedStyle(t),a=parseInt(s.height,10)+parseInt(s.borderTopWidth,10)+parseInt(s.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),a}}))}();var tt=["Webkit","Moz","ms"],it=b.createElement("div").style,nt={};function st(e){return S.cssProps[e]||nt[e]||(e in it?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=tt.length;i--;)if((e=tt[i]+t)in it)return e}(e)||e)}var rt=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function lt(e,t,i){var n=pe.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function dt(e,t,i,n,s,r){var o="width"===t?1:0,a=0,l=0,d=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(d+=S.css(e,i+fe[o],!0,s)),n?("content"===i&&(l-=S.css(e,"padding"+fe[o],!0,s)),"margin"!==i&&(l-=S.css(e,"border"+fe[o]+"Width",!0,s))):(l+=S.css(e,"padding"+fe[o],!0,s),"padding"!==i?l+=S.css(e,"border"+fe[o]+"Width",!0,s):a+=S.css(e,"border"+fe[o]+"Width",!0,s));return!n&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-a-.5))||0),l+d}function ht(e,t,i){var n=Ge(e),s=(!g.boxSizingReliable()||i)&&"border-box"===S.css(e,"boxSizing",!1,n),r=s,o=Ze(e,t,n),a="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(o)){if(!i)return o;o="auto"}return(!g.boxSizingReliable()&&s||!g.reliableTrDimensions()&&T(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===S.css(e,"display",!1,n))&&e.getClientRects().length&&(s="border-box"===S.css(e,"boxSizing",!1,n),(r=a in e)&&(o=e[a])),(o=parseFloat(o)||0)+dt(e,t,i||(s?"border":"content"),r,n,o)+"px"}function ut(e,t,i,n,s){return new ut.prototype.init(e,t,i,n,s)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=Ze(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,r,o,a=se(t),l=Ye.test(t),d=e.style;if(l||(t=st(a)),o=S.cssHooks[t]||S.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(s=o.get(e,!1,n))?s:d[t];"string"==(r=typeof i)&&(s=pe.exec(i))&&s[1]&&(i=be(e,t,s),r="number"),null!=i&&i==i&&("number"!==r||l||(i+=s&&s[3]||(S.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==i||0!==t.indexOf("background")||(d[t]="inherit"),o&&"set"in o&&void 0===(i=o.set(e,i,n))||(l?d.setProperty(t,i):d[t]=i))}},css:function(e,t,i,n){var s,r,o,a=se(t);return Ye.test(t)||(t=st(a)),(o=S.cssHooks[t]||S.cssHooks[a])&&"get"in o&&(s=o.get(e,!0,i)),void 0===s&&(s=Ze(e,t,n)),"normal"===s&&t in at&&(s=at[t]),""===i||i?(r=parseFloat(s),!0===i||isFinite(r)?r||0:s):s}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,i,n){if(i)return!rt.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ht(e,t,n):Je(e,ot,(function(){return ht(e,t,n)}))},set:function(e,i,n){var s,r=Ge(e),o=!g.scrollboxSize()&&"absolute"===r.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,r),l=n?dt(e,t,n,a,r):0;return a&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-dt(e,t,"border",!1,r)-.5)),l&&(s=pe.exec(i))&&"px"!==(s[3]||"px")&&(e.style[t]=i,i=S.css(e,t)),lt(0,i,l)}}})),S.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ze(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(i){for(var n=0,s={},r="string"==typeof i?i.split(" "):[i];n<4;n++)s[e+fe[n]+t]=r[n]||r[n-2]||r[0];return s}},"margin"!==e&&(S.cssHooks[e+t].set=lt)})),S.fn.extend({css:function(e,t){return ee(this,(function(e,t,i){var n,s,r={},o=0;if(Array.isArray(t)){for(n=Ge(e),s=t.length;o<s;o++)r[t[o]]=S.css(e,t[o],!1,n);return r}return void 0!==i?S.style(e,t,i):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=ut,ut.prototype={constructor:ut,init:function(e,t,i,n,s,r){this.elem=e,this.prop=i,this.easing=s||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=r||(S.cssNumber[i]?"":"px")},cur:function(){var e=ut.propHooks[this.prop];return e&&e.get?e.get(this):ut.propHooks._default.get(this)},run:function(e){var t,i=ut.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ut.propHooks._default.set(this),this}},ut.prototype.init.prototype=ut.prototype,ut.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[st(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},ut.propHooks.scrollTop=ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=ut.prototype.init,S.fx.step={};var ct,pt,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(gt):n.setTimeout(gt,S.fx.interval),S.fx.tick())}function vt(){return n.setTimeout((function(){ct=void 0})),ct=Date.now()}function _t(e,t){var i,n=0,s={height:e};for(t=t?1:0;n<4;n+=2-t)s["margin"+(i=fe[n])]=s["padding"+i]=e;return t&&(s.opacity=s.width=e),s}function bt(e,t,i){for(var n,s=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),r=0,o=s.length;r<o;r++)if(n=s[r].call(i,t,e))return n}function yt(e,t,i){var n,s,r=0,o=yt.prefilters.length,a=S.Deferred().always((function(){delete l.elem})),l=function(){if(s)return!1;for(var t=ct||vt(),i=Math.max(0,d.startTime+d.duration-t),n=1-(i/d.duration||0),r=0,o=d.tweens.length;r<o;r++)d.tweens[r].run(n);return a.notifyWith(e,[d,n,i]),n<1&&o?i:(o||a.notifyWith(e,[d,1,0]),a.resolveWith(e,[d]),!1)},d=a.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},i),originalProperties:t,originalOptions:i,startTime:ct||vt(),duration:i.duration,tweens:[],createTween:function(t,i){var n=S.Tween(e,d.opts,t,i,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(n),n},stop:function(t){var i=0,n=t?d.tweens.length:0;if(s)return this;for(s=!0;i<n;i++)d.tweens[i].run(1);return t?(a.notifyWith(e,[d,1,0]),a.resolveWith(e,[d,t])):a.rejectWith(e,[d,t]),this}}),h=d.props;for(function(e,t){var i,n,s,r,o;for(i in e)if(s=t[n=se(i)],r=e[i],Array.isArray(r)&&(s=r[1],r=e[i]=r[0]),i!==n&&(e[n]=r,delete e[i]),(o=S.cssHooks[n])&&"expand"in o)for(i in r=o.expand(r),delete e[n],r)i in e||(e[i]=r[i],t[i]=s);else t[n]=s}(h,d.opts.specialEasing);r<o;r++)if(n=yt.prefilters[r].call(d,e,h,d.opts))return v(n.stop)&&(S._queueHooks(d.elem,d.opts.queue).stop=n.stop.bind(n)),n;return S.map(h,bt,d),v(d.opts.start)&&d.opts.start.call(e,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),S.fx.timer(S.extend(l,{elem:e,anim:d,queue:d.opts.queue})),d}S.Animation=S.extend(yt,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return be(i.elem,e,pe.exec(t),i),i}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(K);for(var i,n=0,s=e.length;n<s;n++)i=e[n],yt.tweeners[i]=yt.tweeners[i]||[],yt.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,s,r,o,a,l,d,h,u="width"in t||"height"in t,c=this,p={},f=e.style,m=e.nodeType&&_e(e),g=ae.get(e,"fxshow");for(n in i.queue||(null==(o=S._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,c.always((function(){c.always((function(){o.unqueued--,S.queue(e,"fx").length||o.empty.fire()}))}))),t)if(s=t[n],ft.test(s)){if(delete t[n],r=r||"toggle"===s,s===(m?"hide":"show")){if("show"!==s||!g||void 0===g[n])continue;m=!0}p[n]=g&&g[n]||S.style(e,n)}if((l=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(n in u&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(d=g&&g.display)&&(d=ae.get(e,"display")),"none"===(h=S.css(e,"display"))&&(d?h=d:(we([e],!0),d=e.style.display||d,h=S.css(e,"display"),we([e]))),("inline"===h||"inline-block"===h&&null!=d)&&"none"===S.css(e,"float")&&(l||(c.done((function(){f.display=d})),null==d&&(h=f.display,d="none"===h?"":h)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",c.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=ae.access(e,"fxshow",{display:d}),r&&(g.hidden=!m),m&&we([e],!0),c.done((function(){for(n in m||we([e]),ae.remove(e,"fxshow"),p)S.style(e,n,p[n])}))),l=bt(m?g[n]:0,n,c),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),S.speed=function(e,t,i){var n=e&&"object"==typeof e?S.extend({},e):{complete:i||!i&&t||v(e)&&e,duration:e,easing:i&&t||t&&!v(t)&&t};return S.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in S.fx.speeds?n.duration=S.fx.speeds[n.duration]:n.duration=S.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){v(n.old)&&n.old.call(this),n.queue&&S.dequeue(this,n.queue)},n},S.fn.extend({fadeTo:function(e,t,i,n){return this.filter(_e).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var s=S.isEmptyObject(e),r=S.speed(t,i,n),o=function(){var t=yt(this,S.extend({},e),r);(s||ae.get(this,"finish"))&&t.stop(!0)};return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,s=null!=e&&e+"queueHooks",r=S.timers,o=ae.get(this);if(s)o[s]&&o[s].stop&&n(o[s]);else for(s in o)o[s]&&o[s].stop&&mt.test(s)&&n(o[s]);for(s=r.length;s--;)r[s].elem!==this||null!=e&&r[s].queue!==e||(r[s].anim.stop(i),t=!1,r.splice(s,1));!t&&i||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,i=ae.get(this),n=i[e+"queue"],s=i[e+"queueHooks"],r=S.timers,o=n?n.length:0;for(i.finish=!0,S.queue(this,e,[]),s&&s.stop&&s.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var i=S.fn[t];S.fn[t]=function(e,n,s){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(_t(t,!0),e,n,s)}})),S.each({slideDown:_t("show"),slideUp:_t("hide"),slideToggle:_t("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}})),S.timers=[],S.fx.tick=function(){var e,t=0,i=S.timers;for(ct=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||S.fx.stop(),ct=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){pt||(pt=!0,gt())},S.fx.stop=function(){pt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,i){var s=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(s)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var xt,wt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return ee(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,i){var n,s,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?S.prop(e,t,i):(1===r&&S.isXMLDoc(e)||(s=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?xt:void 0)),void 0!==i?null===i?void S.removeAttr(e,t):s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:(e.setAttribute(t,i+""),i):s&&"get"in s&&null!==(n=s.get(e,t))?n:null==(n=S.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,s=t&&t.match(K);if(s&&1===e.nodeType)for(;i=s[n++];)e.removeAttribute(i)}}),xt={set:function(e,t,i){return!1===t?S.removeAttr(e,i):e.setAttribute(i,i),i}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var i=wt[t]||S.find.attr;wt[t]=function(e,t,n){var s,r,o=t.toLowerCase();return n||(r=wt[o],wt[o]=s,s=null!=i(e,t,n)?o:null,wt[o]=r),s}}));var Mt=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;function St(e){return(e.match(K)||[]).join(" ")}function kt(e){return e.getAttribute&&e.getAttribute("class")||""}function Tt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(K)||[]}S.fn.extend({prop:function(e,t){return ee(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,i){var n,s,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&S.isXMLDoc(e)||(t=S.propFix[t]||t,s=S.propHooks[t]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):Mt.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,i,n,s,r,o;return v(e)?this.each((function(t){S(this).addClass(e.call(this,t,kt(this)))})):(t=Tt(e)).length?this.each((function(){if(n=kt(this),i=1===this.nodeType&&" "+St(n)+" "){for(r=0;r<t.length;r++)s=t[r],i.indexOf(" "+s+" ")<0&&(i+=s+" ");o=St(i),n!==o&&this.setAttribute("class",o)}})):this},removeClass:function(e){var t,i,n,s,r,o;return v(e)?this.each((function(t){S(this).removeClass(e.call(this,t,kt(this)))})):arguments.length?(t=Tt(e)).length?this.each((function(){if(n=kt(this),i=1===this.nodeType&&" "+St(n)+" "){for(r=0;r<t.length;r++)for(s=t[r];i.indexOf(" "+s+" ")>-1;)i=i.replace(" "+s+" "," ");o=St(i),n!==o&&this.setAttribute("class",o)}})):this:this.attr("class","")},toggleClass:function(e,t){var i,n,s,r,o=typeof e,a="string"===o||Array.isArray(e);return v(e)?this.each((function(i){S(this).toggleClass(e.call(this,i,kt(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(i=Tt(e),this.each((function(){if(a)for(r=S(this),s=0;s<i.length;s++)n=i[s],r.hasClass(n)?r.removeClass(n):r.addClass(n);else void 0!==e&&"boolean"!==o||((n=kt(this))&&ae.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":ae.get(this,"__className__")||""))})))},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&(" "+St(kt(i))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;S.fn.extend({val:function(e){var t,i,n,s=this[0];return arguments.length?(n=v(e),this.each((function(i){var s;1===this.nodeType&&(null==(s=n?e.call(this,i,S(this).val()):e)?s="":"number"==typeof s?s+="":Array.isArray(s)&&(s=S.map(s,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,s,"value")||(this.value=s))}))):s?(t=S.valHooks[s.type]||S.valHooks[s.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(s,"value"))?i:"string"==typeof(i=s.value)?i.replace(Et,""):null==i?"":i:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:St(S.text(e))}},select:{get:function(e){var t,i,n,s=e.options,r=e.selectedIndex,o="select-one"===e.type,a=o?null:[],l=o?r+1:s.length;for(n=r<0?l:o?r:0;n<l;n++)if(((i=s[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!T(i.parentNode,"optgroup"))){if(t=S(i).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var i,n,s=e.options,r=S.makeArray(t),o=s.length;o--;)((n=s[o]).selected=S.inArray(S.valHooks.option.get(n),r)>-1)&&(i=!0);return i||(e.selectedIndex=-1),r}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var At=n.location,Lt={guid:Date.now()},It=/\?/;S.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||S.error("Invalid XML: "+(i?S.map(i.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var zt=/^(?:focusinfocus|focusoutblur)$/,Dt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,i,s){var r,o,a,l,d,h,u,c,f=[i||b],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(o=c=a=i=i||b,3!==i.nodeType&&8!==i.nodeType&&!zt.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),d=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=s?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:S.makeArray(t,[e]),u=S.event.special[m]||{},s||!u.trigger||!1!==u.trigger.apply(i,t))){if(!s&&!u.noBubble&&!_(i)){for(l=u.delegateType||m,zt.test(l+m)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(i.ownerDocument||b)&&f.push(a.defaultView||a.parentWindow||n)}for(r=0;(o=f[r++])&&!e.isPropagationStopped();)c=o,e.type=r>1?l:u.bindType||m,(h=(ae.get(o,"events")||Object.create(null))[e.type]&&ae.get(o,"handle"))&&h.apply(o,t),(h=d&&o[d])&&h.apply&&re(o)&&(e.result=h.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,s||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(f.pop(),t)||!re(i)||d&&v(i[m])&&!_(i)&&((a=i[d])&&(i[d]=null),S.event.triggered=m,e.isPropagationStopped()&&c.addEventListener(m,Dt),i[m](),e.isPropagationStopped()&&c.removeEventListener(m,Dt),S.event.triggered=void 0,a&&(i[d]=a)),e.result}},simulate:function(e,t,i){var n=S.extend(new S.Event,i,{type:e,isSimulated:!0});S.event.trigger(n,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var i=this[0];if(i)return S.event.trigger(e,t,i,!0)}});var Ot=/\[\]$/,Nt=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;function Pt(e,t,i,n){var s;if(Array.isArray(t))S.each(t,(function(t,s){i||Ot.test(e)?n(e,s):Pt(e+"["+("object"==typeof s&&null!=s?t:"")+"]",s,i,n)}));else if(i||"object"!==w(t))n(e,t);else for(s in t)Pt(e+"["+s+"]",t[s],i,n)}S.param=function(e,t){var i,n=[],s=function(e,t){var i=v(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){s(this.name,this.value)}));else for(i in e)Pt(i,e[i],t,s);return n.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Bt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Se.test(e))})).map((function(e,t){var i=S(this).val();return null==i?null:Array.isArray(i)?S.map(i,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:i.replace(Nt,"\r\n")}})).get()}});var Rt=/%20/g,Ht=/#.*$/,Wt=/([?&])_=[^&]*/,Vt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,qt=/^\/\//,$t={},Ut={},Kt="*/".concat("*"),Xt=b.createElement("a");function Yt(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,s=0,r=t.toLowerCase().match(K)||[];if(v(i))for(;n=r[s++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function Gt(e,t,i,n){var s={},r=e===Ut;function o(a){var l;return s[a]=!0,S.each(e[a]||[],(function(e,a){var d=a(t,i,n);return"string"!=typeof d||r||s[d]?r?!(l=d):void 0:(t.dataTypes.unshift(d),o(d),!1)})),l}return o(t.dataTypes[0])||!s["*"]&&o("*")}function Jt(e,t){var i,n,s=S.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((s[i]?e:n||(n={}))[i]=t[i]);return n&&S.extend(!0,e,n),e}Xt.href=At.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,S.ajaxSettings),t):Jt(S.ajaxSettings,e)},ajaxPrefilter:Yt($t),ajaxTransport:Yt(Ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,s,r,o,a,l,d,h,u,c,p=S.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?S(f):S.event,g=S.Deferred(),v=S.Callbacks("once memory"),_=p.statusCode||{},y={},x={},w="canceled",M={readyState:0,getResponseHeader:function(e){var t;if(d){if(!o)for(o={};t=Vt.exec(r);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return d?r:null},setRequestHeader:function(e,t){return null==d&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,y[e]=t),this},overrideMimeType:function(e){return null==d&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(d)M.always(e[M.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||w;return i&&i.abort(t),C(0,t),this}};if(g.promise(M),p.url=((e||p.url||At.href)+"").replace(qt,At.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(K)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Xt.protocol+"//"+Xt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Gt($t,p,t,M),d)return M;for(u in(h=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ft.test(p.type),s=p.url.replace(Ht,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Rt,"+")):(c=p.url.slice(s.length),p.data&&(p.processData||"string"==typeof p.data)&&(s+=(It.test(s)?"&":"?")+p.data,delete p.data),!1===p.cache&&(s=s.replace(Wt,"$1"),c=(It.test(s)?"&":"?")+"_="+Lt.guid+++c),p.url=s+c),p.ifModified&&(S.lastModified[s]&&M.setRequestHeader("If-Modified-Since",S.lastModified[s]),S.etag[s]&&M.setRequestHeader("If-None-Match",S.etag[s])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&M.setRequestHeader("Content-Type",p.contentType),M.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Kt+"; q=0.01":""):p.accepts["*"]),p.headers)M.setRequestHeader(u,p.headers[u]);if(p.beforeSend&&(!1===p.beforeSend.call(f,M,p)||d))return M.abort();if(w="abort",v.add(p.complete),M.done(p.success),M.fail(p.error),i=Gt(Ut,p,t,M)){if(M.readyState=1,h&&m.trigger("ajaxSend",[M,p]),d)return M;p.async&&p.timeout>0&&(a=n.setTimeout((function(){M.abort("timeout")}),p.timeout));try{d=!1,i.send(y,C)}catch(e){if(d)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,o,l){var u,c,b,y,x,w=t;d||(d=!0,a&&n.clearTimeout(a),i=void 0,r=l||"",M.readyState=e>0?4:0,u=e>=200&&e<300||304===e,o&&(y=function(e,t,i){for(var n,s,r,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||e.converters[s+" "+l[0]]){r=s;break}o||(o=s)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}(p,M,o)),!u&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),y=function(e,t,i,n){var s,r,o,a,l,d={},h=e.dataTypes.slice();if(h[1])for(o in e.converters)d[o.toLowerCase()]=e.converters[o];for(r=h.shift();r;)if(e.responseFields[r]&&(i[e.responseFields[r]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=h.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=d[l+" "+r]||d["* "+r]))for(s in d)if((a=s.split(" "))[1]===r&&(o=d[l+" "+a[0]]||d["* "+a[0]])){!0===o?o=d[s]:!0!==d[s]&&(r=a[0],h.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(p,y,M,u),u?(p.ifModified&&((x=M.getResponseHeader("Last-Modified"))&&(S.lastModified[s]=x),(x=M.getResponseHeader("etag"))&&(S.etag[s]=x)),204===e||"HEAD"===p.type?w="nocontent":304===e?w="notmodified":(w=y.state,c=y.data,u=!(b=y.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),M.status=e,M.statusText=(t||w)+"",u?g.resolveWith(f,[c,w,M]):g.rejectWith(f,[M,w,b]),M.statusCode(_),_=void 0,h&&m.trigger(u?"ajaxSuccess":"ajaxError",[M,p,u?c:b]),v.fireWith(f,[M,w]),h&&(m.trigger("ajaxComplete",[M,p]),--S.active||S.event.trigger("ajaxStop")))}return M},getJSON:function(e,t,i){return S.get(e,t,i,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,i,n,s){return v(i)&&(s=s||n,n=i,i=void 0),S.ajax(S.extend({url:e,type:t,dataType:s,data:i,success:n},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,i){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,i)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(i){S(this).wrapAll(t?e.call(this,i):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Zt=S.ajaxSettings.xhr();g.cors=!!Zt&&"withCredentials"in Zt,g.ajax=Zt=!!Zt,S.ajaxTransport((function(e){var t,i;if(g.cors||Zt&&!e.crossDomain)return{send:function(s,r){var o,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];for(o in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||s["X-Requested-With"]||(s["X-Requested-With"]="XMLHttpRequest"),s)a.setRequestHeader(o,s[o]);t=function(e){return function(){t&&(t=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Qt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),i=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&i()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,i;if(e.crossDomain||e.scriptAttrs)return{send:function(n,s){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&s("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){i&&i()}}}));var ei,ti=[],ii=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ti.pop()||S.expando+"_"+Lt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,i){var s,r,o,a=!1!==e.jsonp&&(ii.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ii.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return s=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ii,"$1"+s):!1!==e.jsonp&&(e.url+=(It.test(e.url)?"&":"?")+e.jsonp+"="+s),e.converters["script json"]=function(){return o||S.error(s+" was not called"),o[0]},e.dataTypes[0]="json",r=n[s],n[s]=function(){o=arguments},i.always((function(){void 0===r?S(n).removeProp(s):n[s]=r,e[s]&&(e.jsonpCallback=t.jsonpCallback,ti.push(s)),o&&v(r)&&r(o[0]),o=r=void 0})),"script"})),g.createHTMLDocument=((ei=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ei.childNodes.length),S.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(g.createHTMLDocument?((n=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(n)):t=b),r=!i&&[],(s=H.exec(e))?[t.createElement(s[1])]:(s=ze([e],t,r),r&&r.length&&S(r).remove(),S.merge([],s.childNodes)));var n,s,r},S.fn.load=function(e,t,i){var n,s,r,o=this,a=e.indexOf(" ");return a>-1&&(n=St(e.slice(a)),e=e.slice(0,a)),v(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),o.length>0&&S.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done((function(e){r=arguments,o.html(n?S("<div>").append(S.parseHTML(e)).find(n):e)})).always(i&&function(e,t){o.each((function(){i.apply(this,r||[e.responseText,t,e])}))}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,i){var n,s,r,o,a,l,d=S.css(e,"position"),h=S(e),u={};"static"===d&&(e.style.position="relative"),a=h.offset(),r=S.css(e,"top"),l=S.css(e,"left"),("absolute"===d||"fixed"===d)&&(r+l).indexOf("auto")>-1?(o=(n=h.position()).top,s=n.left):(o=parseFloat(r)||0,s=parseFloat(l)||0),v(t)&&(t=t.call(e,i,S.extend({},a))),null!=t.top&&(u.top=t.top-a.top+o),null!=t.left&&(u.left=t.left-a.left+s),"using"in t?t.using.call(e,u):h.css(u)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],s={top:0,left:0};if("fixed"===S.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((s=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),s.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-s.top-S.css(n,"marginTop",!0),left:t.left-s.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||me}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var i="pageYOffset"===t;S.fn[e]=function(n){return ee(this,(function(e,n,s){var r;if(_(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===s)return r?r[t]:e[n];r?r.scrollTo(i?r.pageXOffset:s,i?s:r.pageYOffset):e[n]=s}),e,n,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=et(g.pixelPosition,(function(e,i){if(i)return i=Ze(e,t),Xe.test(i)?S(e).position()[t]+"px":i}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(i,n){S.fn[n]=function(s,r){var o=arguments.length&&(i||"boolean"!=typeof s),a=i||(!0===s||!0===r?"margin":"border");return ee(this,(function(t,i,s){var r;return _(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===s?S.css(t,i,a):S.style(t,i,s,a)}),t,o?s:void 0,o)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}));var ni=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var i,n,s;if("string"==typeof t&&(i=e[t],t=e,e=i),v(e))return n=a.call(arguments,2),s=function(){return e.apply(t||this,n.concat(a.call(arguments)))},s.guid=e.guid=e.guid||S.guid++,s},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=T,S.isFunction=v,S.isWindow=_,S.camelCase=se,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(ni,"$1")},void 0===(i=function(){return S}.apply(t,[]))||(e.exports=i);var si=n.jQuery,ri=n.$;return S.noConflict=function(e){return n.$===S&&(n.$=ri),e&&n.jQuery===S&&(n.jQuery=si),S},void 0===s&&(n.jQuery=n.$=S),S}))},715:function(e,t){!function(e){"use strict";function t(e){return"object"==typeof e&&"function"==typeof e.to}function i(e){e.parentElement.removeChild(e)}function n(e){return null!=e}function s(e){e.preventDefault()}function r(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function o(e,t,i){i>0&&(h(e,t),setTimeout((function(){u(e,t)}),i))}function a(e){return Math.max(Math.min(e,100),0)}function l(e){return Array.isArray(e)?e:[e]}function d(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function h(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function u(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function c(e){var t=void 0!==window.pageXOffset,i="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:i?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:i?e.documentElement.scrollTop:e.body.scrollTop}}function p(e,t){return 100/(t-e)}function f(e,t,i){return 100*t/(e[i+1]-e[i])}function m(e,t){for(var i=1;e>=t[i];)i+=1;return i}function g(e,t,i){if(i>=e.slice(-1)[0])return 100;var n=m(i,e),s=e[n-1],r=e[n],o=t[n-1],a=t[n];return o+function(e,t){return f(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}([s,r],i)/p(o,a)}function v(e,t,i,n){if(100===n)return n;var s=m(n,e),r=e[s-1],o=e[s];return i?n-r>(o-r)/2?o:r:t[s-1]?e[s-1]+function(e,t){return Math.round(e/t)*t}(n-e[s-1],t[s-1]):n}var _,b;e.PipsMode=void 0,(b=e.PipsMode||(e.PipsMode={})).Range="range",b.Steps="steps",b.Positions="positions",b.Count="count",b.Values="values",e.PipsType=void 0,(_=e.PipsType||(e.PipsType={}))[_.None=-1]="None",_[_.NoValue=0]="NoValue",_[_.LargeValue=1]="LargeValue",_[_.SmallValue=2]="SmallValue";var y=function(){function e(e,t,i){var n;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.snap=t;var s=[];for(Object.keys(e).forEach((function(t){s.push([l(e[t]),t])})),s.sort((function(e,t){return e[0][0]-t[0][0]})),n=0;n<s.length;n++)this.handleEntryPoint(s[n][1],s[n][0]);for(this.xNumSteps=this.xSteps.slice(0),n=0;n<this.xNumSteps.length;n++)this.handleStepPoint(n,this.xNumSteps[n])}return e.prototype.getDistance=function(e){var t,i=[];for(t=0;t<this.xNumSteps.length-1;t++){var n=this.xNumSteps[t];if(n&&e/n%1!=0)throw new Error("noUiSlider: 'limit', 'margin' and 'padding' of "+this.xPct[t]+"% range must be divisible by step.");i[t]=f(this.xVal,e,t)}return i},e.prototype.getAbsoluteDistance=function(e,t,i){var n,s=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[s+1];)s++;else e===this.xPct[this.xPct.length-1]&&(s=this.xPct.length-2);i||e!==this.xPct[s+1]||s++,null===t&&(t=[]);var r=1,o=t[s],a=0,l=0,d=0,h=0;for(n=i?(e-this.xPct[s])/(this.xPct[s+1]-this.xPct[s]):(this.xPct[s+1]-e)/(this.xPct[s+1]-this.xPct[s]);o>0;)a=this.xPct[s+1+h]-this.xPct[s+h],t[s+h]*r+100-100*n>100?(l=a*n,r=(o-100*n)/t[s+h],n=1):(l=t[s+h]*a/100*r,r=0),i?(d-=l,this.xPct.length+h>=1&&h--):(d+=l,this.xPct.length-h>=1&&h++),o=t[s+h]*r;return e+d},e.prototype.toStepping=function(e){return g(this.xVal,this.xPct,e)},e.prototype.fromStepping=function(e){return function(e,t,i){if(i>=100)return e.slice(-1)[0];var n=m(i,t),s=e[n-1],r=e[n],o=t[n-1];return function(e,t){return t*(e[1]-e[0])/100+e[0]}([s,r],(i-o)*p(o,t[n]))}(this.xVal,this.xPct,e)},e.prototype.getStep=function(e){return v(this.xPct,this.xSteps,this.snap,e)},e.prototype.getDefaultStep=function(e,t,i){var n=m(e,this.xPct);return(100===e||t&&e===this.xPct[n-1])&&(n=Math.max(n-1,1)),(this.xVal[n]-this.xVal[n-1])/i},e.prototype.getNearbySteps=function(e){var t=m(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},e.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(d);return Math.max.apply(null,e)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},e.prototype.convert=function(e){return this.getStep(this.toStepping(e))},e.prototype.handleEntryPoint=function(e,t){var i;if(!r(i="min"===e?0:"max"===e?100:parseFloat(e))||!r(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(i),this.xVal.push(t[0]);var n=Number(t[1]);i?this.xSteps.push(!isNaN(n)&&n):isNaN(n)||(this.xSteps[0]=n),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(e,t){if(t)if(this.xVal[e]!==this.xVal[e+1]){this.xSteps[e]=f([this.xVal[e],this.xVal[e+1]],t,0)/p(this.xPct[e],this.xPct[e+1]);var i=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],n=Math.ceil(Number(i.toFixed(3))-1),s=this.xVal[e]+this.xNumSteps[e]*n;this.xHighestCompleteStep[e]=s}else this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e]},e}(),x={to:function(e){return void 0===e?"":e.toFixed(2)},from:Number},w={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},M={tooltips:".__tooltips",aria:".__aria"};function C(e,t){if(!r(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function S(e,t){if(!r(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function k(e,t){if(!r(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function T(e,t){if(!r(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function E(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new y(t,e.snap||!1,e.singleStep)}function A(e,t){if(t=l(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function L(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function I(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function z(e,t){if("number"!=typeof t)throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function D(e,t){var i,n=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(i=1;i<e.handles;i++)n.push(t);n.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");n=t}e.connect=n}function O(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function N(e,t){if(!r(t))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function j(e,t){if(!r(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function B(e,t){var i;if(!r(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!r(t[0])&&!r(t[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],i=0;i<e.spectrum.xNumSteps.length-1;i++)if(e.padding[0][i]<0||e.padding[1][i]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var n=t[0]+t[1],s=e.spectrum.xVal[0];if(n/(e.spectrum.xVal[e.spectrum.xVal.length-1]-s)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function P(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function R(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var i=t.indexOf("tap")>=0,n=t.indexOf("drag")>=0,s=t.indexOf("fixed")>=0,r=t.indexOf("snap")>=0,o=t.indexOf("hover")>=0,a=t.indexOf("unconstrained")>=0,l=t.indexOf("drag-all")>=0;if(s){if(2!==e.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");N(e,e.start[1]-e.start[0])}if(a&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:i||r,drag:n,dragAll:l,fixed:s,snap:r,hover:o,unconstrained:a}}function H(e,i){if(!1!==i)if(!0===i||t(i)){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(i)}else{if((i=l(i)).length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");i.forEach((function(e){if("boolean"!=typeof e&&!t(e))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")})),e.tooltips=i}}function W(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function V(e,i){if(!t(i))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=i}function F(e,i){if(!function(e){return t(e)&&"function"==typeof e.from}(i))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=i}function q(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function $(e,t){e.documentElement=t}function U(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function K(e,t){if("object"!=typeof t)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(t).forEach((function(i){e.cssClasses[i]=e.cssPrefix+t[i]}))):e.cssClasses=t}function X(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:x,format:x},i={step:{r:!1,t:C},keyboardPageMultiplier:{r:!1,t:S},keyboardMultiplier:{r:!1,t:k},keyboardDefaultStep:{r:!1,t:T},start:{r:!0,t:A},connect:{r:!0,t:D},direction:{r:!0,t:P},snap:{r:!1,t:L},animate:{r:!1,t:I},animationDuration:{r:!1,t:z},range:{r:!0,t:E},orientation:{r:!1,t:O},margin:{r:!1,t:N},limit:{r:!1,t:j},padding:{r:!1,t:B},behaviour:{r:!0,t:R},ariaFormat:{r:!1,t:V},format:{r:!1,t:F},tooltips:{r:!1,t:H},keyboardSupport:{r:!0,t:q},documentElement:{r:!1,t:$},cssPrefix:{r:!0,t:U},cssClasses:{r:!0,t:K},handleAttributes:{r:!1,t:W}},s={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:w,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(i).forEach((function(r){if(n(e[r])||void 0!==s[r])i[r].t(t,n(e[r])?e[r]:s[r]);else if(i[r].r)throw new Error("noUiSlider: '"+r+"' is required.")})),t.pips=e.pips;var r=document.createElement("div"),o=void 0!==r.style.msTransform,a=void 0!==r.style.transform;t.transformRule=a?"transform":o?"msTransform":"webkitTransform";return t.style=[["left","top"],["right","bottom"]][t.dir][t.ort],t}function Y(t,r,d){var p,f,m,g,v,_,b,y=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},x=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),w=t,C=r.spectrum,S=[],k=[],T=[],E=0,A={},L=t.ownerDocument,I=r.documentElement||L.documentElement,z=L.body,D="rtl"===L.dir||1===r.ort?0:100;function O(e,t){var i=L.createElement("div");return t&&h(i,t),e.appendChild(i),i}function N(e,t){var i=O(e,r.cssClasses.origin),n=O(i,r.cssClasses.handle);if(O(n,r.cssClasses.touchArea),n.setAttribute("data-handle",String(t)),r.keyboardSupport&&(n.setAttribute("tabindex","0"),n.addEventListener("keydown",(function(e){return function(e,t){if(P()||R(t))return!1;var i=["Left","Right"],n=["Down","Up"],s=["PageDown","PageUp"],o=["Home","End"];r.dir&&!r.ort?i.reverse():r.ort&&!r.dir&&(n.reverse(),s.reverse());var a,l=e.key.replace("Arrow",""),d=l===s[0],h=l===s[1],u=l===n[0]||l===i[0]||d,c=l===n[1]||l===i[1]||h,p=l===o[0],f=l===o[1];if(!(u||c||p||f))return!0;if(e.preventDefault(),c||u){var m=u?0:1,g=ge(t)[m];if(null===g)return!1;!1===g&&(g=C.getDefaultStep(k[t],u,r.keyboardDefaultStep)),g*=h||d?r.keyboardPageMultiplier:r.keyboardMultiplier,g=Math.max(g,1e-7),g*=u?-1:1,a=S[t]+g}else a=f?r.spectrum.xVal[r.spectrum.xVal.length-1]:r.spectrum.xVal[0];return ue(t,C.toStepping(a),!0,!0),re("slide",t),re("update",t),re("change",t),re("set",t),!1}(e,t)}))),void 0!==r.handleAttributes){var s=r.handleAttributes[t];Object.keys(s).forEach((function(e){n.setAttribute(e,s[e])}))}return n.setAttribute("role","slider"),n.setAttribute("aria-orientation",r.ort?"vertical":"horizontal"),0===t?h(n,r.cssClasses.handleLower):t===r.handles-1&&h(n,r.cssClasses.handleUpper),i}function j(e,t){return!!t&&O(e,r.cssClasses.connect)}function B(e,t){return!(!r.tooltips||!r.tooltips[t])&&O(e.firstChild,r.cssClasses.tooltip)}function P(){return w.hasAttribute("disabled")}function R(e){return f[e].hasAttribute("disabled")}function H(){v&&(se("update"+M.tooltips),v.forEach((function(e){e&&i(e)})),v=null)}function W(){H(),v=f.map(B),ne("update"+M.tooltips,(function(e,t,i){if(v&&r.tooltips&&!1!==v[t]){var n=e[t];!0!==r.tooltips[t]&&(n=r.tooltips[t].to(i[t])),v[t].innerHTML=n}}))}function V(e,t){return e.map((function(e){return C.fromStepping(t?C.getStep(e):e)}))}function F(t){var i,n=function(t){if(t.mode===e.PipsMode.Range||t.mode===e.PipsMode.Steps)return C.xVal;if(t.mode===e.PipsMode.Count){if(t.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var i=t.values-1,n=100/i,s=[];i--;)s[i]=i*n;return s.push(100),V(s,t.stepped)}return t.mode===e.PipsMode.Positions?V(t.values,t.stepped):t.mode===e.PipsMode.Values?t.stepped?t.values.map((function(e){return C.fromStepping(C.getStep(C.toStepping(e)))})):t.values:[]}(t),s={},r=C.xVal[0],o=C.xVal[C.xVal.length-1],a=!1,l=!1,d=0;return(i=n.slice().sort((function(e,t){return e-t})),n=i.filter((function(e){return!this[e]&&(this[e]=!0)}),{}))[0]!==r&&(n.unshift(r),a=!0),n[n.length-1]!==o&&(n.push(o),l=!0),n.forEach((function(i,r){var o,h,u,c,p,f,m,g,v,_,b=i,y=n[r+1],x=t.mode===e.PipsMode.Steps;for(x&&(o=C.xNumSteps[r]),o||(o=y-b),void 0===y&&(y=b),o=Math.max(o,1e-7),h=b;h<=y;h=Number((h+o).toFixed(7))){for(g=(p=(c=C.toStepping(h))-d)/(t.density||1),_=p/(v=Math.round(g)),u=1;u<=v;u+=1)s[(f=d+u*_).toFixed(5)]=[C.fromStepping(f),0];m=n.indexOf(h)>-1?e.PipsType.LargeValue:x?e.PipsType.SmallValue:e.PipsType.NoValue,!r&&a&&h!==y&&(m=0),h===y&&l||(s[c.toFixed(5)]=[h,m]),d=c}})),s}function q(t,i,n){var s,o,a=L.createElement("div"),l=((s={})[e.PipsType.None]="",s[e.PipsType.NoValue]=r.cssClasses.valueNormal,s[e.PipsType.LargeValue]=r.cssClasses.valueLarge,s[e.PipsType.SmallValue]=r.cssClasses.valueSub,s),d=((o={})[e.PipsType.None]="",o[e.PipsType.NoValue]=r.cssClasses.markerNormal,o[e.PipsType.LargeValue]=r.cssClasses.markerLarge,o[e.PipsType.SmallValue]=r.cssClasses.markerSub,o),u=[r.cssClasses.valueHorizontal,r.cssClasses.valueVertical],c=[r.cssClasses.markerHorizontal,r.cssClasses.markerVertical];function p(e,t){var i=t===r.cssClasses.value,n=i?l:d;return t+" "+(i?u:c)[r.ort]+" "+n[e]}return h(a,r.cssClasses.pips),h(a,0===r.ort?r.cssClasses.pipsHorizontal:r.cssClasses.pipsVertical),Object.keys(t).forEach((function(s){!function(t,s,o){if((o=i?i(s,o):o)!==e.PipsType.None){var l=O(a,!1);l.className=p(o,r.cssClasses.marker),l.style[r.style]=t+"%",o>e.PipsType.NoValue&&((l=O(a,!1)).className=p(o,r.cssClasses.value),l.setAttribute("data-value",String(s)),l.style[r.style]=t+"%",l.innerHTML=String(n.to(s)))}}(s,t[s][0],t[s][1])})),a}function $(){g&&(i(g),g=null)}function U(e){$();var t=F(e),i=e.filter,n=e.format||{to:function(e){return String(Math.round(e))}};return g=w.appendChild(q(t,i,n))}function K(){var e=p.getBoundingClientRect(),t="offset"+["Width","Height"][r.ort];return 0===r.ort?e.width||p[t]:e.height||p[t]}function Y(e,t,i,n){var s=function(s){var o,a,l=function(e,t,i){var n=0===e.type.indexOf("touch"),s=0===e.type.indexOf("mouse"),r=0===e.type.indexOf("pointer"),o=0,a=0;if(0===e.type.indexOf("MSPointer")&&(r=!0),"mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(n){var l=function(t){var n=t.target;return n===i||i.contains(n)||e.composed&&e.composedPath().shift()===i};if("touchstart"===e.type){var d=Array.prototype.filter.call(e.touches,l);if(d.length>1)return!1;o=d[0].pageX,a=d[0].pageY}else{var h=Array.prototype.find.call(e.changedTouches,l);if(!h)return!1;o=h.pageX,a=h.pageY}}return t=t||c(L),(s||r)&&(o=e.clientX+t.x,a=e.clientY+t.y),e.pageOffset=t,e.points=[o,a],e.cursor=s||r,e}(s,n.pageOffset,n.target||t);return!!l&&!(P()&&!n.doNotReject)&&(o=w,a=r.cssClasses.tap,!((o.classList?o.classList.contains(a):new RegExp("\\b"+a+"\\b").test(o.className))&&!n.doNotReject))&&!(e===y.start&&void 0!==l.buttons&&l.buttons>1)&&(!n.hover||!l.buttons)&&(x||l.preventDefault(),l.calcPoint=l.points[r.ort],void i(l,n))},o=[];return e.split(" ").forEach((function(e){t.addEventListener(e,s,!!x&&{passive:!0}),o.push([e,s])})),o}function G(e){var t,i,n,s,o,l,d=100*(e-(t=p,i=r.ort,n=t.getBoundingClientRect(),s=t.ownerDocument,o=s.documentElement,l=c(s),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),i?n.top+l.y-o.clientTop:n.left+l.x-o.clientLeft))/K();return d=a(d),r.dir?100-d:d}function J(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&Z(e,t)}function Q(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return Z(e,t);var i=(r.dir?-1:1)*(e.calcPoint-t.startCalcPoint);le(i>0,100*i/t.baseSize,t.locations,t.handleNumbers,t.connect)}function Z(e,t){t.handle&&(u(t.handle,r.cssClasses.active),E-=1),t.listeners.forEach((function(e){I.removeEventListener(e[0],e[1])})),0===E&&(u(w,r.cssClasses.drag),he(),e.cursor&&(z.style.cursor="",z.removeEventListener("selectstart",s))),t.handleNumbers.forEach((function(e){re("change",e),re("set",e),re("end",e)}))}function ee(e,t){if(!t.handleNumbers.some(R)){var i;1===t.handleNumbers.length&&(i=f[t.handleNumbers[0]].children[0],E+=1,h(i,r.cssClasses.active)),e.stopPropagation();var n=[],o=Y(y.move,I,Q,{target:e.target,handle:i,connect:t.connect,listeners:n,startCalcPoint:e.calcPoint,baseSize:K(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:k.slice()}),a=Y(y.end,I,Z,{target:e.target,handle:i,listeners:n,doNotReject:!0,handleNumbers:t.handleNumbers}),l=Y("mouseout",I,J,{target:e.target,handle:i,listeners:n,doNotReject:!0,handleNumbers:t.handleNumbers});n.push.apply(n,o.concat(a,l)),e.cursor&&(z.style.cursor=getComputedStyle(e.target).cursor,f.length>1&&h(w,r.cssClasses.drag),z.addEventListener("selectstart",s,!1)),t.handleNumbers.forEach((function(e){re("start",e)}))}}function te(e){e.stopPropagation();var t=G(e.calcPoint),i=function(e){var t=100,i=!1;return f.forEach((function(n,s){if(!R(s)){var r=k[s],o=Math.abs(r-e);(o<t||o<=t&&e>r||100===o&&100===t)&&(i=s,t=o)}})),i}(t);!1!==i&&(r.events.snap||o(w,r.cssClasses.tap,r.animationDuration),ue(i,t,!0,!0),he(),re("slide",i,!0),re("update",i,!0),r.events.snap?ee(e,{handleNumbers:[i]}):(re("change",i,!0),re("set",i,!0)))}function ie(e){var t=G(e.calcPoint),i=C.getStep(t),n=C.fromStepping(i);Object.keys(A).forEach((function(e){"hover"===e.split(".")[0]&&A[e].forEach((function(e){e.call(ve,n)}))}))}function ne(e,t){A[e]=A[e]||[],A[e].push(t),"update"===e.split(".")[0]&&f.forEach((function(e,t){re("update",t)}))}function se(e){var t=e&&e.split(".")[0],i=t?e.substring(t.length):e;Object.keys(A).forEach((function(e){var n=e.split(".")[0],s=e.substring(n.length);t&&t!==n||i&&i!==s||function(e){return e===M.aria||e===M.tooltips}(s)&&i!==s||delete A[e]}))}function re(e,t,i){Object.keys(A).forEach((function(n){var s=n.split(".")[0];e===s&&A[n].forEach((function(e){e.call(ve,S.map(r.format.to),t,S.slice(),i||!1,k.slice(),ve)}))}))}function oe(e,t,i,n,s,o){var l;return f.length>1&&!r.events.unconstrained&&(n&&t>0&&(l=C.getAbsoluteDistance(e[t-1],r.margin,!1),i=Math.max(i,l)),s&&t<f.length-1&&(l=C.getAbsoluteDistance(e[t+1],r.margin,!0),i=Math.min(i,l))),f.length>1&&r.limit&&(n&&t>0&&(l=C.getAbsoluteDistance(e[t-1],r.limit,!1),i=Math.min(i,l)),s&&t<f.length-1&&(l=C.getAbsoluteDistance(e[t+1],r.limit,!0),i=Math.max(i,l))),r.padding&&(0===t&&(l=C.getAbsoluteDistance(0,r.padding[0],!1),i=Math.max(i,l)),t===f.length-1&&(l=C.getAbsoluteDistance(100,r.padding[1],!0),i=Math.min(i,l))),!((i=a(i=C.getStep(i)))===e[t]&&!o)&&i}function ae(e,t){var i=r.ort;return(i?t:e)+", "+(i?e:t)}function le(e,t,i,n,s){var r=i.slice(),o=n[0],a=[!e,e],l=[e,!e];n=n.slice(),e&&n.reverse(),n.length>1?n.forEach((function(e,i){var n=oe(r,e,r[e]+t,a[i],l[i],!1);!1===n?t=0:(t=n-r[e],r[e]=n)})):a=l=[!0];var d=!1;n.forEach((function(e,n){d=ue(e,i[e]+t,a[n],l[n])||d})),d&&(n.forEach((function(e){re("update",e),re("slide",e)})),null!=s&&re("drag",o))}function de(e,t){return r.dir?100-e-t:e}function he(){T.forEach((function(e){var t=k[e]>50?-1:1,i=3+(f.length+t*e);f[e].style.zIndex=String(i)}))}function ue(e,t,i,n,s){return s||(t=oe(k,e,t,i,n,!1)),!1!==t&&(function(e,t){k[e]=t,S[e]=C.fromStepping(t);var i="translate("+ae(10*(de(t,0)-D)+"%","0")+")";f[e].style[r.transformRule]=i,ce(e),ce(e+1)}(e,t),!0)}function ce(e){if(m[e]){var t=0,i=100;0!==e&&(t=k[e-1]),e!==m.length-1&&(i=k[e]);var n=i-t,s="translate("+ae(de(t,n)+"%","0")+")",o="scale("+ae(n/100,"1")+")";m[e].style[r.transformRule]=s+" "+o}}function pe(e,t){return null===e||!1===e||void 0===e?k[t]:("number"==typeof e&&(e=String(e)),!1!==(e=r.format.from(e))&&(e=C.toStepping(e)),!1===e||isNaN(e)?k[t]:e)}function fe(e,t,i){var n=l(e),s=void 0===k[0];t=void 0===t||t,r.animate&&!s&&o(w,r.cssClasses.tap,r.animationDuration),T.forEach((function(e){ue(e,pe(n[e],e),!0,!1,i)}));var a=1===T.length?0:1;if(s&&C.hasNoSize()&&(i=!0,k[0]=0,T.length>1)){var d=100/(T.length-1);T.forEach((function(e){k[e]=e*d}))}for(;a<T.length;++a)T.forEach((function(e){ue(e,k[e],!0,!0,i)}));he(),T.forEach((function(e){re("update",e),null!==n[e]&&t&&re("set",e)}))}function me(e){if(void 0===e&&(e=!1),e)return 1===S.length?S[0]:S.slice(0);var t=S.map(r.format.to);return 1===t.length?t[0]:t}function ge(e){var t=k[e],i=C.getNearbySteps(t),n=S[e],s=i.thisStep.step,o=null;if(r.snap)return[n-i.stepBefore.startValue||null,i.stepAfter.startValue-n||null];!1!==s&&n+s>i.stepAfter.startValue&&(s=i.stepAfter.startValue-n),o=n>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&n-i.stepBefore.highestStep,100===t?s=null:0===t&&(o=null);var a=C.countStepDecimals();return null!==s&&!1!==s&&(s=Number(s.toFixed(a))),null!==o&&!1!==o&&(o=Number(o.toFixed(a))),[o,s]}h(b=w,r.cssClasses.target),0===r.dir?h(b,r.cssClasses.ltr):h(b,r.cssClasses.rtl),0===r.ort?h(b,r.cssClasses.horizontal):h(b,r.cssClasses.vertical),h(b,"rtl"===getComputedStyle(b).direction?r.cssClasses.textDirectionRtl:r.cssClasses.textDirectionLtr),p=O(b,r.cssClasses.base),function(e,t){var i=O(t,r.cssClasses.connects);f=[],(m=[]).push(j(i,e[0]));for(var n=0;n<r.handles;n++)f.push(N(t,n)),T[n]=n,m.push(j(i,e[n+1]))}(r.connect,p),(_=r.events).fixed||f.forEach((function(e,t){Y(y.start,e.children[0],ee,{handleNumbers:[t]})})),_.tap&&Y(y.start,p,te,{}),_.hover&&Y(y.move,p,ie,{hover:!0}),_.drag&&m.forEach((function(e,t){if(!1!==e&&0!==t&&t!==m.length-1){var i=f[t-1],n=f[t],s=[e],o=[i,n],a=[t-1,t];h(e,r.cssClasses.draggable),_.fixed&&(s.push(i.children[0]),s.push(n.children[0])),_.dragAll&&(o=f,a=T),s.forEach((function(t){Y(y.start,t,ee,{handles:o,handleNumbers:a,connect:e})}))}})),fe(r.start),r.pips&&U(r.pips),r.tooltips&&W(),se("update"+M.aria),ne("update"+M.aria,(function(e,t,i,n,s){T.forEach((function(e){var t=f[e],n=oe(k,e,0,!0,!0,!0),o=oe(k,e,100,!0,!0,!0),a=s[e],l=String(r.ariaFormat.to(i[e]));n=C.fromStepping(n).toFixed(1),o=C.fromStepping(o).toFixed(1),a=C.fromStepping(a).toFixed(1),t.children[0].setAttribute("aria-valuemin",n),t.children[0].setAttribute("aria-valuemax",o),t.children[0].setAttribute("aria-valuenow",a),t.children[0].setAttribute("aria-valuetext",l)}))}));var ve={destroy:function(){for(se(M.aria),se(M.tooltips),Object.keys(r.cssClasses).forEach((function(e){u(w,r.cssClasses[e])}));w.firstChild;)w.removeChild(w.firstChild);delete w.noUiSlider},steps:function(){return T.map(ge)},on:ne,off:se,get:me,set:fe,setHandle:function(e,t,i,n){if(!((e=Number(e))>=0&&e<T.length))throw new Error("noUiSlider: invalid handle number, got: "+e);ue(e,pe(t,e),!0,!0,n),re("update",e),i&&re("set",e)},reset:function(e){fe(r.start,e)},__moveHandles:function(e,t,i){le(e,t,k,i)},options:d,updateOptions:function(e,t){var i=me(),s=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];s.forEach((function(t){void 0!==e[t]&&(d[t]=e[t])}));var o=X(d);s.forEach((function(t){void 0!==e[t]&&(r[t]=o[t])})),C=o.spectrum,r.margin=o.margin,r.limit=o.limit,r.padding=o.padding,r.pips?U(r.pips):$(),r.tooltips?W():H(),k=[],fe(n(e.start)?e.start:i,t)},target:w,removePips:$,removeTooltips:H,getPositions:function(){return k.slice()},getTooltips:function(){return v},getOrigins:function(){return f},pips:U};return ve}function G(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var i=Y(e,X(t),t);return e.noUiSlider=i,i}var J={__spectrum:y,cssClasses:w,create:G};e.create=G,e.cssClasses=w,e.default=J,Object.defineProperty(e,"__esModule",{value:!0})}(t)},55:e=>{"use strict";e.exports=t},308:t=>{"use strict";t.exports=e},135:e=>{"use strict";e.exports={rE:"5.0.11"}}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return i[e].call(r.exports,r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="";var r,o,a={};return r=s(308),(o=new URL(r.uri,document.location)).pathname=o.pathname.slice(0,o.pathname.lastIndexOf("/")+1),s.p=`${o.origin}${o.pathname}`,(()=>{"use strict";s.r(a),s.d(a,{AccordionModel:()=>Fn,AccordionView:()=>$n,AudioModel:()=>Ut,AudioView:()=>Kt,BaseIntSliderView:()=>Wi,BoolModel:()=>b,BoundedFloatModel:()=>Zi,BoundedFloatTextModel:()=>ln,BoundedIntModel:()=>Bi,BoundedIntTextModel:()=>$i,BoxModel:()=>Ot,BoxView:()=>Bt,ButtonModel:()=>T,ButtonStyleModel:()=>k,ButtonView:()=>E,CheckboxModel:()=>y,CheckboxStyleModel:()=>v,CheckboxView:()=>x,ColorPickerModel:()=>Yt,ColorPickerView:()=>Gt,ColorsInputModel:()=>js,ColorsInputView:()=>Bs,ComboboxModel:()=>dr,ComboboxView:()=>hr,ControllerAxisModel:()=>pn,ControllerAxisView:()=>fn,ControllerButtonModel:()=>un,ControllerButtonView:()=>cn,ControllerModel:()=>mn,ControllerView:()=>gn,DatePickerModel:()=>Zt,DatePickerView:()=>ei,DatetimeModel:()=>hi,DatetimeView:()=>ui,DescriptionModel:()=>l,DescriptionStyleModel:()=>o,DescriptionView:()=>d,DirectionalLinkModel:()=>m,DropdownModel:()=>bn,DropdownView:()=>yn,FileUploadModel:()=>ur,FileUploadView:()=>cr,FloatLogSliderModel:()=>tn,FloatLogSliderView:()=>rn,FloatModel:()=>Qi,FloatProgressModel:()=>hn,FloatRangeSliderModel:()=>nn,FloatRangeSliderView:()=>on,FloatSliderModel:()=>en,FloatSliderView:()=>sn,FloatTextModel:()=>an,FloatTextView:()=>dn,FloatsInputModel:()=>Hs,FloatsInputView:()=>Ws,GridBoxModel:()=>Wt,GridBoxView:()=>Ht,HBoxModel:()=>Nt,HBoxView:()=>Pt,HTMLMathModel:()=>Zs,HTMLMathStyleModel:()=>Us,HTMLMathView:()=>er,HTMLModel:()=>Js,HTMLStyleModel:()=>$s,HTMLView:()=>Qs,ImageModel:()=>Vt,ImageView:()=>Ft,IntModel:()=>ji,IntProgressModel:()=>Xi,IntRangeSliderModel:()=>Hi,IntRangeSliderView:()=>Vi,IntSliderModel:()=>Ri,IntSliderView:()=>Fi,IntTextModel:()=>qi,IntTextView:()=>Ui,IntsInputModel:()=>Vs,IntsInputView:()=>Fs,JUPYTER_CONTROLS_VERSION:()=>r,JupyterLuminoAccordionWidget:()=>qn,JupyterLuminoTabPanelWidget:()=>Kn,LabelModel:()=>tr,LabelStyleModel:()=>Ks,LabelView:()=>ir,LabeledDOMWidgetModel:()=>h,LabeledDOMWidgetView:()=>u,LinkModel:()=>g,MultipleSelectionModel:()=>Ln,NaiveDatetimeModel:()=>gi,PasswordModel:()=>ar,PasswordView:()=>lr,PlayModel:()=>Gi,PlayView:()=>Ji,ProgressStyleModel:()=>Ki,ProgressView:()=>Yi,RadioButtonsModel:()=>Mn,RadioButtonsView:()=>Cn,SelectModel:()=>xn,SelectMultipleModel:()=>In,SelectMultipleView:()=>zn,SelectView:()=>wn,SelectionContainerModel:()=>Vn,SelectionModel:()=>vn,SelectionRangeSliderModel:()=>Dn,SelectionRangeSliderView:()=>On,SelectionSliderModel:()=>En,SelectionSliderView:()=>An,SelectionView:()=>_n,SliderStyleModel:()=>Pi,StackModel:()=>Yn,StackView:()=>Gn,StringModel:()=>Ys,StringView:()=>Gs,TabModel:()=>Un,TabView:()=>Xn,TagsInputModel:()=>Os,TagsInputView:()=>Ns,TextModel:()=>rr,TextStyleModel:()=>Xs,TextView:()=>or,TextareaModel:()=>nr,TextareaView:()=>sr,TimeModel:()=>ri,TimeView:()=>oi,ToggleButtonModel:()=>w,ToggleButtonStyleModel:()=>_,ToggleButtonView:()=>M,ToggleButtonsModel:()=>kn,ToggleButtonsStyleModel:()=>Sn,ToggleButtonsView:()=>Tn,VBoxModel:()=>jt,VBoxView:()=>Rt,ValidModel:()=>C,ValidView:()=>S,VideoModel:()=>qt,VideoView:()=>$t,datetime_serializers:()=>di,deserialize_date:()=>Qt,deserialize_datetime:()=>li,deserialize_naive:()=>fi,deserialize_time:()=>ni,escape_html:()=>i,naive_serializers:()=>mi,reject:()=>n,resolvePromisesDict:()=>e.resolvePromisesDict,serialize_date:()=>Jt,serialize_datetime:()=>ai,serialize_naive:()=>pi,serialize_time:()=>ii,time_serializers:()=>si,typeset:()=>t,uuid:()=>e.uuid,version:()=>pr});var e=s(55);function t(e,t){void 0!==t&&(e.textContent=t),void 0!==window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,e])}function i(e){const t=document.createElement("div");return t.textContent=e,t.innerHTML}function n(e,t){return function(i){throw t&&console.error(new Error(e)),i}}const r="2.0.0";class o extends e.StyleModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DescriptionStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:r})}}o.styleProperties={description_width:{selector:".widget-label",attribute:"width",default:null}};class l extends e.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DescriptionModel",_view_name:"DescriptionView",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:r,_model_module_version:r,description:"",description_allow_html:!1})}}class d extends e.DOMWidgetView{render(){this.label=document.createElement("label"),this.el.appendChild(this.label),this.label.className="widget-label",this.label.style.display="none",this.listenTo(this.model,"change:description",this.updateDescription),this.listenTo(this.model,"change:description_allow_html",this.updateDescription),this.listenTo(this.model,"change:tabbable",this.updateTabindex),this.updateDescription(),this.updateTabindex(),this.updateTooltip()}typeset(e,i){this.displayed.then((()=>{var n,s,r;if(null===(s=null===(n=window.MathJax)||void 0===n?void 0:n.Hub)||void 0===s?void 0:s.Queue)return t(e,i);const o=null===(r=this.model.widget_manager._rendermime)||void 0===r?void 0:r.latexTypesetter;o&&(void 0!==i&&(e.textContent=i),o.typeset(e))}))}updateDescription(){const e=this.model.get("description");0===e.length?this.label.style.display="none":(this.model.get("description_allow_html")?this.label.innerHTML=this.model.widget_manager.inline_sanitize(e):this.label.textContent=e,this.typeset(this.label),this.label.style.display="")}updateTooltip(){this.label&&(this.label.title=this.model.get("tooltip"))}}class h extends l{}class u extends d{}class c extends e.WidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"CoreWidgetModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:r,_model_module_version:r})}}class p extends e.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"CoreDOMWidgetModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:r,_model_module_version:r})}}class f extends l{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"CoreDescriptionModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:r,_model_module_version:r})}}class m extends c{defaults(){return Object.assign(Object.assign({},super.defaults()),{target:void 0,source:void 0,_model_name:"DirectionalLinkModel"})}initialize(e,t){super.initialize(e,t),this.on("change",this.updateBindings,this),this.updateBindings()}updateValue(e,t,i,n){if(!this._updating){this._updating=!0;try{i&&(i.set(n,e.get(t)),i.save_changes())}finally{this._updating=!1}}}updateBindings(){this.cleanup(),[this.sourceModel,this.sourceAttr]=this.get("source")||[null,null],[this.targetModel,this.targetAttr]=this.get("target")||[null,null],this.sourceModel&&(this.listenTo(this.sourceModel,"change:"+this.sourceAttr,(()=>{this.updateValue(this.sourceModel,this.sourceAttr,this.targetModel,this.targetAttr)})),this.updateValue(this.sourceModel,this.sourceAttr,this.targetModel,this.targetAttr),this.listenToOnce(this.sourceModel,"destroy",this.cleanup)),this.targetModel&&this.listenToOnce(this.targetModel,"destroy",this.cleanup)}cleanup(){this.sourceModel&&(this.stopListening(this.sourceModel,"change:"+this.sourceAttr,void 0),this.stopListening(this.sourceModel,"destroy",void 0)),this.targetModel&&this.stopListening(this.targetModel,"destroy",void 0)}}m.serializers=Object.assign(Object.assign({},c.serializers),{target:{deserialize:e.unpack_models},source:{deserialize:e.unpack_models}});class g extends m{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"LinkModel"})}updateBindings(){super.updateBindings(),this.targetModel&&this.listenTo(this.targetModel,"change:"+this.targetAttr,(()=>{this.updateValue(this.targetModel,this.targetAttr,this.sourceModel,this.sourceAttr)}))}cleanup(){super.cleanup(),this.targetModel&&this.stopListening(this.targetModel,"change:"+this.targetAttr,void 0)}}class v extends o{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"CheckboxStyleModel"})}}v.styleProperties=Object.assign(Object.assign({},o.styleProperties),{background:{selector:"",attribute:"background",default:null}});class _ extends o{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ToggleButtonStyleModel"})}}_.styleProperties=Object.assign(Object.assign({},o.styleProperties),{font_family:{selector:"",attribute:"font-family",default:""},font_size:{selector:"",attribute:"font-size",default:""},font_style:{selector:"",attribute:"font-style",default:""},font_variant:{selector:"",attribute:"font-variant",default:""},font_weight:{selector:"",attribute:"font-weight",default:""},text_color:{selector:"",attribute:"color",default:""},text_decoration:{selector:"",attribute:"text-decoration",default:""}});class b extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{value:!1,disabled:!1,_model_name:"BoolModel"})}}class y extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{indent:!0,style:null,_view_name:"CheckboxView",_model_name:"CheckboxModel"})}}class x extends d{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-checkbox"),this.label.innerHTML="​",this.checkboxLabel=document.createElement("label"),this.checkboxLabel.classList.add("widget-label-basic"),this.el.appendChild(this.checkboxLabel),this.checkbox=document.createElement("input"),this.checkbox.setAttribute("type","checkbox"),this.checkboxLabel.appendChild(this.checkbox),this.descriptionSpan=document.createElement("span"),this.checkboxLabel.appendChild(this.descriptionSpan),this.listenTo(this.model,"change:indent",this.updateIndent),this.listenTo(this.model,"change:tabbable",this.updateTabindex),this.update(),this.updateDescription(),this.updateIndent(),this.updateTabindex(),this.updateTooltip()}updateDescription(){if(null==this.checkboxLabel)return;const e=this.model.get("description");this.model.get("description_allow_html")?this.descriptionSpan.innerHTML=this.model.widget_manager.inline_sanitize(e):this.descriptionSpan.textContent=e,this.typeset(this.descriptionSpan),this.descriptionSpan.title=e,this.checkbox.title=e}updateIndent(){const e=this.model.get("indent");this.label.style.display=e?"":"none"}updateTabindex(){if(!this.checkbox)return;const e=this.model.get("tabbable");!0===e?this.checkbox.setAttribute("tabIndex","0"):!1===e?this.checkbox.setAttribute("tabIndex","-1"):null===e&&this.checkbox.removeAttribute("tabIndex")}updateTooltip(){if(!this.checkbox)return;const e=this.model.get("tooltip");e?0===this.model.get("description").length&&this.checkbox.setAttribute("title",e):this.checkbox.removeAttribute("title")}events(){return{'click input[type="checkbox"]':"_handle_click"}}_handle_click(){const e=this.model.get("value");this.model.set("value",!e,{updated_view:this}),this.touch()}update(e){return this.checkbox.checked=this.model.get("value"),void 0!==e&&e.updated_view==this||(this.checkbox.disabled=this.model.get("disabled")),super.update()}handle_message(e){"focus"==e.do?this.checkbox.focus():"blur"==e.do&&this.checkbox.blur()}}class w extends b{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"ToggleButtonView",_model_name:"ToggleButtonModel",tooltip:"",icon:"",button_style:"",style:null})}}class M extends e.DOMWidgetView{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("jupyter-button"),this.el.classList.add("widget-toggle-button"),this.listenTo(this.model,"change:button_style",this.update_button_style),this.listenTo(this.model,"change:tabbable",this.updateTabindex),this.set_button_style(),this.update()}update_button_style(){this.update_mapped_classes(M.class_map,"button_style")}set_button_style(){this.set_mapped_classes(M.class_map,"button_style")}update(e){if(this.model.get("value")?this.el.classList.add("mod-active"):this.el.classList.remove("mod-active"),void 0===e||e.updated_view!==this){this.el.disabled=this.model.get("disabled"),this.el.setAttribute("tabbable",this.model.get("tabbable")),this.el.setAttribute("title",this.model.get("tooltip"));const e=this.model.get("description"),t=this.model.get("icon");if(0===e.trim().length&&0===t.trim().length)this.el.innerHTML=" ";else{if(this.el.textContent="",t.trim().length){const e=document.createElement("i");this.el.appendChild(e),e.classList.add("fa"),e.classList.add("fa-"+t)}this.el.appendChild(document.createTextNode(e))}}return this.updateTabindex(),super.update()}events(){return{click:"_handle_click"}}_handle_click(e){e.preventDefault();const t=this.model.get("value");this.model.set("value",!t,{updated_view:this}),this.touch()}preinitialize(){this.tagName="button"}}M.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]};class C extends b{defaults(){return Object.assign(Object.assign({},super.defaults()),{readout:"Invalid",_view_name:"ValidView",_model_name:"ValidModel"})}}class S extends d{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-valid"),this.el.classList.add("widget-inline-hbox"),this.icon=document.createElement("i"),this.icon.classList.add("fa","fa-fw"),this.el.appendChild(this.icon),this.readout=document.createElement("span"),this.readout.classList.add("widget-valid-readout"),this.readout.classList.add("widget-readout"),this.el.appendChild(this.readout),this.update()}update(){this.el.classList.remove("mod-valid"),this.el.classList.remove("mod-invalid"),this.icon.classList.remove("fa-check"),this.icon.classList.remove("fa-times"),this.readout.textContent=this.model.get("readout"),this.model.get("value")?(this.el.classList.add("mod-valid"),this.icon.classList.add("fa-check")):(this.el.classList.add("mod-invalid"),this.icon.classList.add("fa-times"))}}class k extends e.StyleModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ButtonStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:r})}}k.styleProperties={button_color:{selector:"",attribute:"background-color",default:null},font_family:{selector:"",attribute:"font-family",default:""},font_size:{selector:"",attribute:"font-size",default:""},font_style:{selector:"",attribute:"font-style",default:""},font_variant:{selector:"",attribute:"font-variant",default:""},font_weight:{selector:"",attribute:"font-weight",default:""},text_color:{selector:"",attribute:"color",default:""},text_decoration:{selector:"",attribute:"text-decoration",default:""}};class T extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{description:"",tooltip:"",disabled:!1,icon:"",button_style:"",_view_name:"ButtonView",_model_name:"ButtonModel",style:null})}}class E extends e.DOMWidgetView{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("jupyter-button"),this.el.classList.add("widget-button"),this.listenTo(this.model,"change:button_style",this.update_button_style),this.listenTo(this.model,"change:tabbable",this.updateTabindex),this.set_button_style(),this.update()}update(){this.el.disabled=this.model.get("disabled"),this.updateTabindex();const e=this.model.get("tooltip"),t=this.model.get("description"),i=this.model.get("icon");if(this.el.setAttribute("title",null!=e?e:t),t.length||i.length){if(this.el.textContent="",i.length){const e=document.createElement("i");e.classList.add("fa"),e.classList.add(...i.split(/[\s]+/).filter(Boolean).map((e=>`fa-${e}`))),0===t.length&&e.classList.add("center"),this.el.appendChild(e)}this.el.appendChild(document.createTextNode(t))}return super.update()}update_button_style(){this.update_mapped_classes(E.class_map,"button_style")}set_button_style(){this.set_mapped_classes(E.class_map,"button_style")}events(){return{click:"_handle_click"}}_handle_click(e){e.preventDefault(),this.send({event:"click"})}preinitialize(){this.tagName="button"}}var A;function L(e,t){for(var i,n=0,s=function(e){return"function"==typeof e.iter?e.iter():new O(e)}(e);void 0!==(i=s.next());)if(!1===t(i,n++))return}E.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]},function(e){function t(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s,r=e.length;if(0===r)return-1;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o){var a=(i+o)%r;if(e[a]===t)return a}return-1}function i(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s,r=e.length;if(0===r)return-1;s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<(n=n<0?Math.max(0,n+r):Math.min(n,r-1))?i+1+(r-n):i-n+1;for(var o=0;o<s;++o){var a=(i-o+r)%r;if(e[a]===t)return a}return-1}function n(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s,r=e.length;if(0===r)return-1;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o){var a=(i+o)%r;if(t(e[a],a))return a}return-1}function s(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s,r=e.length;if(0===r)return-1;s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<(n=n<0?Math.max(0,n+r):Math.min(n,r-1))?i+1+(r-n):i-n+1;for(var o=0;o<s;++o){var a=(i-o+r)%r;if(t(e[a],a))return a}return-1}function r(e,t,i){void 0===t&&(t=0),void 0===i&&(i=-1);var n=e.length;if(!(n<=1))for(t=t<0?Math.max(0,t+n):Math.min(t,n-1),i=i<0?Math.max(0,i+n):Math.min(i,n-1);t<i;){var s=e[t],r=e[i];e[t++]=r,e[i--]=s}}function o(e,t){var i=e.length;if(t<0&&(t+=i),!(t<0||t>=i)){for(var n=e[t],s=t+1;s<i;++s)e[s-1]=e[s];return e.length=i-1,n}}e.firstIndexOf=t,e.lastIndexOf=i,e.findFirstIndex=n,e.findLastIndex=s,e.findFirstValue=function(e,t,i,s){void 0===i&&(i=0),void 0===s&&(s=-1);var r=n(e,t,i,s);return-1!==r?e[r]:void 0},e.findLastValue=function(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r=s(e,t,i,n);return-1!==r?e[r]:void 0},e.lowerBound=function(e,t,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=e.length;if(0===r)return 0;for(var o=n=n<0?Math.max(0,n+r):Math.min(n,r-1),a=(s=s<0?Math.max(0,s+r):Math.min(s,r-1))-n+1;a>0;){var l=a>>1,d=o+l;i(e[d],t)<0?(o=d+1,a-=l+1):a=l}return o},e.upperBound=function(e,t,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=e.length;if(0===r)return 0;for(var o=n=n<0?Math.max(0,n+r):Math.min(n,r-1),a=(s=s<0?Math.max(0,s+r):Math.min(s,r-1))-n+1;a>0;){var l=a>>1,d=o+l;i(e[d],t)>0?a=l:(o=d+1,a-=l+1)}return o},e.shallowEqual=function(e,t,i){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,s=e.length;n<s;++n)if(i?!i(e[n],t[n]):e[n]!==t[n])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var i=t.start,n=t.stop,s=t.step;if(void 0===s&&(s=1),0===s)throw new Error("Slice `step` cannot be zero.");var r,o=e.length;void 0===i?i=s<0?o-1:0:i<0?i=Math.max(i+o,s<0?-1:0):i>=o&&(i=s<0?o-1:o),void 0===n?n=s<0?-1:o:n<0?n=Math.max(n+o,s<0?-1:0):n>=o&&(n=s<0?o-1:o),r=s<0&&n>=i||s>0&&i>=n?0:s<0?Math.floor((n-i+1)/s+1):Math.floor((n-i-1)/s+1);for(var a=[],l=0;l<r;++l)a[l]=e[i+l*s];return a},e.move=function(e,t,i){var n=e.length;if(!(n<=1)&&(t=t<0?Math.max(0,t+n):Math.min(t,n-1))!==(i=i<0?Math.max(0,i+n):Math.min(i,n-1))){for(var s=e[t],r=t<i?1:-1,o=t;o!==i;o+=r)e[o]=e[o+r];e[i]=s}},e.reverse=r,e.rotate=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(!(s<=1||(i=i<0?Math.max(0,i+s):Math.min(i,s-1))>=(n=n<0?Math.max(0,n+s):Math.min(n,s-1)))){var o=n-i+1;if(t>0?t%=o:t<0&&(t=(t%o+o)%o),0!==t){var a=i+t;r(e,i,a-1),r(e,a,n),r(e,i,n)}}},e.fill=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0!==s){var r;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o)e[(i+o)%s]=t}},e.insert=function(e,t,i){var n=e.length;t=t<0?Math.max(0,t+n):Math.min(t,n);for(var s=n;s>t;--s)e[s]=e[s-1];e[t]=i},e.removeAt=o,e.removeFirstOf=function(e,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=t(e,i,n,s);return-1!==r&&o(e,r),r},e.removeLastOf=function(e,t,n,s){void 0===n&&(n=-1),void 0===s&&(s=0);var r=i(e,t,n,s);return-1!==r&&o(e,r),r},e.removeAllOf=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0===s)return 0;i=i<0?Math.max(0,i+s):Math.min(i,s-1),n=n<0?Math.max(0,n+s):Math.min(n,s-1);for(var r=0,o=0;o<s;++o)i<=n&&o>=i&&o<=n&&e[o]===t||n<i&&(o<=n||o>=i)&&e[o]===t?r++:r>0&&(e[o-r]=e[o]);return r>0&&(e.length=s-r),r},e.removeFirstWhere=function(e,t,i,s){var r;void 0===i&&(i=0),void 0===s&&(s=-1);var a=n(e,t,i,s);return-1!==a&&(r=o(e,a)),{index:a,value:r}},e.removeLastWhere=function(e,t,i,n){var r;void 0===i&&(i=-1),void 0===n&&(n=0);var a=s(e,t,i,n);return-1!==a&&(r=o(e,a)),{index:a,value:r}},e.removeAllWhere=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0===s)return 0;i=i<0?Math.max(0,i+s):Math.min(i,s-1),n=n<0?Math.max(0,n+s):Math.min(n,s-1);for(var r=0,o=0;o<s;++o)i<=n&&o>=i&&o<=n&&t(e[o],o)||n<i&&(o<=n||o>=i)&&t(e[o],o)?r++:r>0&&(e[o-r]=e[o]);return r>0&&(e.length=s-r),r}}(A||(A={}));var I,z,D,O=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();function N(e){return"function"==typeof e.iter?e.iter():new B(e)}(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())}}(),function(){function e(){}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){}}(),function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,i=this._source;void 0!==(e=i.next());)if(t(e,this._index++))return e}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)}}(),function(){function e(e,t,i){this._index=0,this._start=e,this._stop=t,this._step=i,this._length=I.rangeLength(e,t,i)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,i){return 0===i?1/0:e>t&&i>0||e<t&&i<0?0:Math.ceil((t-e)/i)}}(I||(I={})),function(){function e(e,t){this._value=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}(),function(){function e(e){this._source=e,this._index=e.length-1}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,i){void 0===i&&(i=0);for(var n=new Array(t.length),s=0,r=i,o=t.length;s<o;++s,++r){if(-1===(r=e.indexOf(t[s],r)))return null;n[s]=r}return n}e.findIndices=t,e.matchSumOfSquares=function(e,i,n){void 0===n&&(n=0);var s=t(e,i,n);if(!s)return null;for(var r=0,o=0,a=s.length;o<a;++o){var l=s[o]-n;r+=l*l}return{score:r,indices:s}},e.matchSumOfDeltas=function(e,i,n){void 0===n&&(n=0);var s=t(e,i,n);if(!s)return null;for(var r=0,o=n-1,a=0,l=s.length;a<l;++a){var d=s[a];r+=d-o-1,o=d}return{score:r,indices:s}},e.highlight=function(e,t,i){for(var n=[],s=0,r=0,o=t.length;s<o;){for(var a=t[s],l=t[s];++s<o&&t[s]===l+1;)l++;r<a&&n.push(e.slice(r,a)),a<l+1&&n.push(i(e.slice(a,l+1))),r=l+1}return r<e.length&&n.push(e.slice(r)),n},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(z||(z={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,i=this._source.length;t<i;++t){var n=this._source[t].next();if(void 0===n)return;e[t]=n}return e}}(),function(e){function t(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s,r=e.length;if(0===r)return-1;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o){var a=(i+o)%r;if(e[a]===t)return a}return-1}function i(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s,r=e.length;if(0===r)return-1;s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<(n=n<0?Math.max(0,n+r):Math.min(n,r-1))?i+1+(r-n):i-n+1;for(var o=0;o<s;++o){var a=(i-o+r)%r;if(e[a]===t)return a}return-1}function n(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s,r=e.length;if(0===r)return-1;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o){var a=(i+o)%r;if(t(e[a],a))return a}return-1}function s(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s,r=e.length;if(0===r)return-1;s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<(n=n<0?Math.max(0,n+r):Math.min(n,r-1))?i+1+(r-n):i-n+1;for(var o=0;o<s;++o){var a=(i-o+r)%r;if(t(e[a],a))return a}return-1}function r(e,t,i){void 0===t&&(t=0),void 0===i&&(i=-1);var n=e.length;if(!(n<=1))for(t=t<0?Math.max(0,t+n):Math.min(t,n-1),i=i<0?Math.max(0,i+n):Math.min(i,n-1);t<i;){var s=e[t],r=e[i];e[t++]=r,e[i--]=s}}function o(e,t){var i=e.length;if(t<0&&(t+=i),!(t<0||t>=i)){for(var n=e[t],s=t+1;s<i;++s)e[s-1]=e[s];return e.length=i-1,n}}e.firstIndexOf=t,e.lastIndexOf=i,e.findFirstIndex=n,e.findLastIndex=s,e.findFirstValue=function(e,t,i,s){void 0===i&&(i=0),void 0===s&&(s=-1);var r=n(e,t,i,s);return-1!==r?e[r]:void 0},e.findLastValue=function(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r=s(e,t,i,n);return-1!==r?e[r]:void 0},e.lowerBound=function(e,t,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=e.length;if(0===r)return 0;for(var o=n=n<0?Math.max(0,n+r):Math.min(n,r-1),a=(s=s<0?Math.max(0,s+r):Math.min(s,r-1))-n+1;a>0;){var l=a>>1,d=o+l;i(e[d],t)<0?(o=d+1,a-=l+1):a=l}return o},e.upperBound=function(e,t,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=e.length;if(0===r)return 0;for(var o=n=n<0?Math.max(0,n+r):Math.min(n,r-1),a=(s=s<0?Math.max(0,s+r):Math.min(s,r-1))-n+1;a>0;){var l=a>>1,d=o+l;i(e[d],t)>0?a=l:(o=d+1,a-=l+1)}return o},e.shallowEqual=function(e,t,i){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,s=e.length;n<s;++n)if(i?!i(e[n],t[n]):e[n]!==t[n])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var i=t.start,n=t.stop,s=t.step;if(void 0===s&&(s=1),0===s)throw new Error("Slice `step` cannot be zero.");var r,o=e.length;void 0===i?i=s<0?o-1:0:i<0?i=Math.max(i+o,s<0?-1:0):i>=o&&(i=s<0?o-1:o),void 0===n?n=s<0?-1:o:n<0?n=Math.max(n+o,s<0?-1:0):n>=o&&(n=s<0?o-1:o),r=s<0&&n>=i||s>0&&i>=n?0:s<0?Math.floor((n-i+1)/s+1):Math.floor((n-i-1)/s+1);for(var a=[],l=0;l<r;++l)a[l]=e[i+l*s];return a},e.move=function(e,t,i){var n=e.length;if(!(n<=1)&&(t=t<0?Math.max(0,t+n):Math.min(t,n-1))!==(i=i<0?Math.max(0,i+n):Math.min(i,n-1))){for(var s=e[t],r=t<i?1:-1,o=t;o!==i;o+=r)e[o]=e[o+r];e[i]=s}},e.reverse=r,e.rotate=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(!(s<=1||(i=i<0?Math.max(0,i+s):Math.min(i,s-1))>=(n=n<0?Math.max(0,n+s):Math.min(n,s-1)))){var o=n-i+1;if(t>0?t%=o:t<0&&(t=(t%o+o)%o),0!==t){var a=i+t;r(e,i,a-1),r(e,a,n),r(e,i,n)}}},e.fill=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0!==s){var r;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o)e[(i+o)%s]=t}},e.insert=function(e,t,i){var n=e.length;t=t<0?Math.max(0,t+n):Math.min(t,n);for(var s=n;s>t;--s)e[s]=e[s-1];e[t]=i},e.removeAt=o,e.removeFirstOf=function(e,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=t(e,i,n,s);return-1!==r&&o(e,r),r},e.removeLastOf=function(e,t,n,s){void 0===n&&(n=-1),void 0===s&&(s=0);var r=i(e,t,n,s);return-1!==r&&o(e,r),r},e.removeAllOf=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0===s)return 0;i=i<0?Math.max(0,i+s):Math.min(i,s-1),n=n<0?Math.max(0,n+s):Math.min(n,s-1);for(var r=0,o=0;o<s;++o)i<=n&&o>=i&&o<=n&&e[o]===t||n<i&&(o<=n||o>=i)&&e[o]===t?r++:r>0&&(e[o-r]=e[o]);return r>0&&(e.length=s-r),r},e.removeFirstWhere=function(e,t,i,s){var r;void 0===i&&(i=0),void 0===s&&(s=-1);var a=n(e,t,i,s);return-1!==a&&(r=o(e,a)),{index:a,value:r}},e.removeLastWhere=function(e,t,i,n){var r;void 0===i&&(i=-1),void 0===n&&(n=0);var a=s(e,t,i,n);return-1!==a&&(r=o(e,a)),{index:a,value:r}},e.removeAllWhere=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0===s)return 0;i=i<0?Math.max(0,i+s):Math.min(i,s-1),n=n<0?Math.max(0,n+s):Math.min(n,s-1);for(var r=0,o=0;o<s;++o)i<=n&&o>=i&&o<=n&&t(e[o],o)||n<i&&(o<=n||o>=i)&&t(e[o],o)?r++:r>0&&(e[o-r]=e[o]);return r>0&&(e.length=s-r),r}}(D||(D={}));var j,B=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())}}(),function(){function e(){}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){}}(),function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,i=this._source;void 0!==(e=i.next());)if(t(e,this._index++))return e}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)}}(),function(){function e(e,t,i){this._index=0,this._start=e,this._stop=t,this._step=i,this._length=j.rangeLength(e,t,i)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,i){return 0===i?1/0:e>t&&i>0||e<t&&i<0?0:Math.ceil((t-e)/i)}}(j||(j={})),function(){function e(e,t){this._value=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}();var P,R,H=function(){function e(e){this._source=e,this._index=e.length-1}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]},e}();function W(e,t){for(var i,n=0,s=function(e){return"function"==typeof e.iter?e.iter():new V(e)}(e);void 0!==(i=s.next());)if(!1===t(i,n++))return}!function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,i){void 0===i&&(i=0);for(var n=new Array(t.length),s=0,r=i,o=t.length;s<o;++s,++r){if(-1===(r=e.indexOf(t[s],r)))return null;n[s]=r}return n}e.findIndices=t,e.matchSumOfSquares=function(e,i,n){void 0===n&&(n=0);var s=t(e,i,n);if(!s)return null;for(var r=0,o=0,a=s.length;o<a;++o){var l=s[o]-n;r+=l*l}return{score:r,indices:s}},e.matchSumOfDeltas=function(e,i,n){void 0===n&&(n=0);var s=t(e,i,n);if(!s)return null;for(var r=0,o=n-1,a=0,l=s.length;a<l;++a){var d=s[a];r+=d-o-1,o=d}return{score:r,indices:s}},e.highlight=function(e,t,i){for(var n=[],s=0,r=0,o=t.length;s<o;){for(var a=t[s],l=t[s];++s<o&&t[s]===l+1;)l++;r<a&&n.push(e.slice(r,a)),a<l+1&&n.push(i(e.slice(a,l+1))),r=l+1}return r<e.length&&n.push(e.slice(r)),n},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(P||(P={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,i=this._source.length;t<i;++t){var n=this._source[t].next();if(void 0===n)return;e[t]=n}return e}}(),function(e){function t(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s,r=e.length;if(0===r)return-1;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o){var a=(i+o)%r;if(e[a]===t)return a}return-1}function i(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s,r=e.length;if(0===r)return-1;s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<(n=n<0?Math.max(0,n+r):Math.min(n,r-1))?i+1+(r-n):i-n+1;for(var o=0;o<s;++o){var a=(i-o+r)%r;if(e[a]===t)return a}return-1}function n(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s,r=e.length;if(0===r)return-1;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o){var a=(i+o)%r;if(t(e[a],a))return a}return-1}function s(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s,r=e.length;if(0===r)return-1;s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<(n=n<0?Math.max(0,n+r):Math.min(n,r-1))?i+1+(r-n):i-n+1;for(var o=0;o<s;++o){var a=(i-o+r)%r;if(t(e[a],a))return a}return-1}function r(e,t,i){void 0===t&&(t=0),void 0===i&&(i=-1);var n=e.length;if(!(n<=1))for(t=t<0?Math.max(0,t+n):Math.min(t,n-1),i=i<0?Math.max(0,i+n):Math.min(i,n-1);t<i;){var s=e[t],r=e[i];e[t++]=r,e[i--]=s}}function o(e,t){var i=e.length;if(t<0&&(t+=i),!(t<0||t>=i)){for(var n=e[t],s=t+1;s<i;++s)e[s-1]=e[s];return e.length=i-1,n}}e.firstIndexOf=t,e.lastIndexOf=i,e.findFirstIndex=n,e.findLastIndex=s,e.findFirstValue=function(e,t,i,s){void 0===i&&(i=0),void 0===s&&(s=-1);var r=n(e,t,i,s);return-1!==r?e[r]:void 0},e.findLastValue=function(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r=s(e,t,i,n);return-1!==r?e[r]:void 0},e.lowerBound=function(e,t,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=e.length;if(0===r)return 0;for(var o=n=n<0?Math.max(0,n+r):Math.min(n,r-1),a=(s=s<0?Math.max(0,s+r):Math.min(s,r-1))-n+1;a>0;){var l=a>>1,d=o+l;i(e[d],t)<0?(o=d+1,a-=l+1):a=l}return o},e.upperBound=function(e,t,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=e.length;if(0===r)return 0;for(var o=n=n<0?Math.max(0,n+r):Math.min(n,r-1),a=(s=s<0?Math.max(0,s+r):Math.min(s,r-1))-n+1;a>0;){var l=a>>1,d=o+l;i(e[d],t)>0?a=l:(o=d+1,a-=l+1)}return o},e.shallowEqual=function(e,t,i){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,s=e.length;n<s;++n)if(i?!i(e[n],t[n]):e[n]!==t[n])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var i=t.start,n=t.stop,s=t.step;if(void 0===s&&(s=1),0===s)throw new Error("Slice `step` cannot be zero.");var r,o=e.length;void 0===i?i=s<0?o-1:0:i<0?i=Math.max(i+o,s<0?-1:0):i>=o&&(i=s<0?o-1:o),void 0===n?n=s<0?-1:o:n<0?n=Math.max(n+o,s<0?-1:0):n>=o&&(n=s<0?o-1:o),r=s<0&&n>=i||s>0&&i>=n?0:s<0?Math.floor((n-i+1)/s+1):Math.floor((n-i-1)/s+1);for(var a=[],l=0;l<r;++l)a[l]=e[i+l*s];return a},e.move=function(e,t,i){var n=e.length;if(!(n<=1)&&(t=t<0?Math.max(0,t+n):Math.min(t,n-1))!==(i=i<0?Math.max(0,i+n):Math.min(i,n-1))){for(var s=e[t],r=t<i?1:-1,o=t;o!==i;o+=r)e[o]=e[o+r];e[i]=s}},e.reverse=r,e.rotate=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(!(s<=1||(i=i<0?Math.max(0,i+s):Math.min(i,s-1))>=(n=n<0?Math.max(0,n+s):Math.min(n,s-1)))){var o=n-i+1;if(t>0?t%=o:t<0&&(t=(t%o+o)%o),0!==t){var a=i+t;r(e,i,a-1),r(e,a,n),r(e,i,n)}}},e.fill=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0!==s){var r;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o)e[(i+o)%s]=t}},e.insert=function(e,t,i){var n=e.length;t=t<0?Math.max(0,t+n):Math.min(t,n);for(var s=n;s>t;--s)e[s]=e[s-1];e[t]=i},e.removeAt=o,e.removeFirstOf=function(e,i,n,s){void 0===n&&(n=0),void 0===s&&(s=-1);var r=t(e,i,n,s);return-1!==r&&o(e,r),r},e.removeLastOf=function(e,t,n,s){void 0===n&&(n=-1),void 0===s&&(s=0);var r=i(e,t,n,s);return-1!==r&&o(e,r),r},e.removeAllOf=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0===s)return 0;i=i<0?Math.max(0,i+s):Math.min(i,s-1),n=n<0?Math.max(0,n+s):Math.min(n,s-1);for(var r=0,o=0;o<s;++o)i<=n&&o>=i&&o<=n&&e[o]===t||n<i&&(o<=n||o>=i)&&e[o]===t?r++:r>0&&(e[o-r]=e[o]);return r>0&&(e.length=s-r),r},e.removeFirstWhere=function(e,t,i,s){var r;void 0===i&&(i=0),void 0===s&&(s=-1);var a=n(e,t,i,s);return-1!==a&&(r=o(e,a)),{index:a,value:r}},e.removeLastWhere=function(e,t,i,n){var r;void 0===i&&(i=-1),void 0===n&&(n=0);var a=s(e,t,i,n);return-1!==a&&(r=o(e,a)),{index:a,value:r}},e.removeAllWhere=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var s=e.length;if(0===s)return 0;i=i<0?Math.max(0,i+s):Math.min(i,s-1),n=n<0?Math.max(0,n+s):Math.min(n,s-1);for(var r=0,o=0;o<s;++o)i<=n&&o>=i&&o<=n&&t(e[o],o)||n<i&&(o<=n||o>=i)&&t(e[o],o)?r++:r>0&&(e[o-r]=e[o]);return r>0&&(e.length=s-r),r}}(R||(R={}));var V=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();function F(){return new U}(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())}}();var q,$,U=function(){function e(){}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){},e}();!function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,i=this._source;void 0!==(e=i.next());)if(t(e,this._index++))return e}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)}}(),function(){function e(e,t,i){this._index=0,this._start=e,this._stop=t,this._step=i,this._length=q.rangeLength(e,t,i)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,i){return 0===i?1/0:e>t&&i>0||e<t&&i<0?0:Math.ceil((t-e)/i)}}(q||(q={})),function(){function e(e,t){this._value=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}(),function(){function e(e){this._source=e,this._index=e.length-1}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,i){void 0===i&&(i=0);for(var n=new Array(t.length),s=0,r=i,o=t.length;s<o;++s,++r){if(-1===(r=e.indexOf(t[s],r)))return null;n[s]=r}return n}e.findIndices=t,e.matchSumOfSquares=function(e,i,n){void 0===n&&(n=0);var s=t(e,i,n);if(!s)return null;for(var r=0,o=0,a=s.length;o<a;++o){var l=s[o]-n;r+=l*l}return{score:r,indices:s}},e.matchSumOfDeltas=function(e,i,n){void 0===n&&(n=0);var s=t(e,i,n);if(!s)return null;for(var r=0,o=n-1,a=0,l=s.length;a<l;++a){var d=s[a];r+=d-o-1,o=d}return{score:r,indices:s}},e.highlight=function(e,t,i){for(var n=[],s=0,r=0,o=t.length;s<o;){for(var a=t[s],l=t[s];++s<o&&t[s]===l+1;)l++;r<a&&n.push(e.slice(r,a)),a<l+1&&n.push(i(e.slice(a,l+1))),r=l+1}return r<e.length&&n.push(e.slice(r)),n},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}($||($={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,i=this._source.length;t<i;++t){var n=this._source[t].next();if(void 0===n)return;e[t]=n}return e}}();var K,X=function(){function e(e){this._root=new K.LeafNode,this.cmp=e}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){var e=K.firstLeaf(this._root);return e.size>0?e.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=K.lastLeaf(this._root);return e.size>0?e.items[e.size-1]:void 0},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return K.iterItems(this._root)},e.prototype.retro=function(){return K.retroItems(this._root)},e.prototype.slice=function(e,t){return K.sliceItems(this._root,e,t)},e.prototype.retroSlice=function(e,t){return K.retroSliceItems(this._root,e,t)},e.prototype.at=function(e){return K.itemAt(this._root,e)},e.prototype.has=function(e,t){return K.hasItem(this._root,e,t)},e.prototype.indexOf=function(e,t){return K.indexOf(this._root,e,t)},e.prototype.get=function(e,t){return K.getItem(this._root,e,t)},e.prototype.assign=function(e){this.clear(),this.update(e)},e.prototype.insert=function(e){var t=K.insertItem(this._root,e,this.cmp);return this._root=K.maybeSplitRoot(this._root),t},e.prototype.update=function(e){var t=this;W(e,(function(e){t.insert(e)}))},e.prototype.delete=function(e,t){var i=K.deleteItem(this._root,e,t);return this._root=K.maybeExtractRoot(this._root),i},e.prototype.remove=function(e){var t=K.removeItem(this._root,e);return this._root=K.maybeExtractRoot(this._root),t},e.prototype.clear=function(){K.clear(this._root),this._root=new K.LeafNode},e}();!function(e){e.from=function(t,i){var n=new e(i);return n.assign(t),n}}(X||(X={})),function(e){var t=function(){function e(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(e.prototype,"type",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),e}();e.BranchNode=t;var i=function(){function e(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(e.prototype,"type",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),e}();function n(e){for(;0===e.type;)e=e.children[0];return e}function s(e){for(;0===e.type;)e=e.children[e.children.length-1];return e}function r(e){0===e.type?(W(e.children,r),e.children.length=0,e.sizes.length=0,e.items.length=0):(e.items.length=0,e.next=null,e.prev=null)}e.LeafNode=i,e.firstLeaf=n,e.lastLeaf=s,e.iterItems=function(e){var t=n(e);return new l(t,0,-1)},e.retroItems=function(e){var t=s(e);return new d(t,t.size-1,-1)},e.sliceItems=function(e,t,i){t=void 0===t?0:t<0?Math.max(0,t+e.size):Math.min(t,e.size),i=void 0===i?e.size:i<0?Math.max(0,i+e.size):Math.min(i,e.size);var n=Math.max(0,i-t);if(0===n)return F();for(;0===e.type;){var s=h(e.sizes,t);s>0&&(t-=e.sizes[s-1]),e=e.children[s]}return new l(e,t,n)},e.retroSliceItems=function(e,t,i){t=void 0===t?e.size-1:t<0?Math.max(-1,t+e.size):Math.min(t,e.size-1),i=void 0===i?-1:i<0?Math.max(-1,i+e.size):Math.min(i,e.size-1);var n=Math.max(0,t-i);if(0===n)return F();for(;0===e.type;){var s=h(e.sizes,t);s>0&&(t-=e.sizes[s-1]),e=e.children[s]}return new d(e,t,n)},e.itemAt=function(e,t){if(t<0&&(t+=e.size),!(t<0||t>=e.size)){for(;0===e.type;){var i=h(e.sizes,t);i>0&&(t-=e.sizes[i-1]),e=e.children[i]}return e.items[t]}},e.hasItem=function(e,t,i){for(;0===e.type;){var n=u(e.items,t,i);e=e.children[n]}return c(e.items,t,i)>=0},e.indexOf=function(e,t,i){for(var n=0;0===e.type;){var s=u(e.items,t,i);s>0&&(n+=e.sizes[s-1]),e=e.children[s]}var r=c(e.items,t,i);return r>=0?n+r:-n+r},e.getItem=function(e,t,i){for(;0===e.type;){var n=u(e.items,t,i);e=e.children[n]}var s=c(e.items,t,i);return s>=0?e.items[s]:void 0},e.insertItem=function e(t,i,n){if(1===t.type){var s,r=c(t.items,i,n);return r>=0?(s=t.items[r],t.items[r]=i):(s=void 0,R.insert(t.items,-r-1,i)),s}var a=u(t.items,i,n),l=t.children[a],d=l.size,h=e(l,i,n),m=l.size;if(t.items[a]=l.items[0],d===m)return h;if(l.width>o){var g=f(l);R.insert(t.children,a+1,g),R.insert(t.items,a+1,g.items[0])}return p(t,a),h},e.deleteItem=function e(t,i,n){if(1===t.type){var s=c(t.items,i,n);if(s<0)return;return R.removeAt(t.items,s)}var r=u(t.items,i,n),o=t.children[r],l=o.size,d=e(o,i,n);return l===o.size||(t.items[r]=o.items[0],o.width<a&&(r=m(t,r)),p(t,r)),d},e.removeItem=function e(t,i){if(i<0&&(i+=t.size),!(i<0||i>=t.size)){if(1===t.type)return R.removeAt(t.items,i);var n=h(t.sizes,i);n>0&&(i-=t.sizes[n]);var s=t.children[n],r=e(s,i);return t.items[n]=s.items[0],s.width<a&&(n=m(t,n)),p(t,n),r}},e.clear=r,e.maybeSplitRoot=function(e){if(e.width<=o)return e;var i=new t,n=f(e);return i.sizes[0]=e.size,i.sizes[1]=e.size+n.size,i.children[0]=e,i.children[1]=n,i.items[0]=e.items[0],i.items[1]=n.items[0],i},e.maybeExtractRoot=function(e){if(1===e.type)return e;if(e.children.length>1)return e;var t=e.children.pop();return r(e),t};var o=32,a=o>>1,l=function(){function e(e,t,i){this._node=e,this._index=t,this._count=i}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node,this._index,this._count)},e.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},e}(),d=function(){function e(e,t,i){this._node=e,this._index=t,this._count=i}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node,this._index,this._count)},e.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},e}();function h(e,t){for(var i=e.length,n=0;n<i;++n)if(e[n]>t)return n;return i-1}function u(e,t,i){for(var n=e.length,s=1;s<n;++s)if(i(e[s],t)>0)return s-1;return n-1}function c(e,t,i){for(var n=e.length,s=0;s<n;++s){var r=i(e[s],t);if(0===r)return s;if(r>0)return-s-1}return-n-1}function p(e,t){for(var i=e.sizes,n=e.children,s=t>0?i[t-1]:0,r=n.length;t<r;++t)s=i[t]=s+n[t].size;i.length=n.length}function f(e){if(1===e.type){for(var n=new i,s=e.items,r=n.items,o=a,l=s.length;o<l;++o)r.push(s[o]);return s.length=a,e.next&&(e.next.prev=n),n.next=e.next,n.prev=e,e.next=n,n}var d=new t,h=e.children,u=d.children;for(o=a,l=h.length;o<l;++o)u.push(h[o]);h.length=a;var c=e.items,f=d.items;for(o=a,l=c.length;o<l;++o)f.push(c[o]);return c.length=a,p(e,a),p(d,0),d}function m(e,t){var i,n,s,o,l,d,h=e.children[t],u=0===t?e.children[t+1]:e.children[t-1],c=0===t,f=1===h.type,m=u.width>a;if(f&&m&&c){var g=u;return(v=h).items.push(g.items.shift()),e.items[t+1]=g.items[0],t}if(f&&m&&!c)return g=u,(v=h).items.unshift(g.items.pop()),e.items[t]=v.items[0],t-1;if(f&&!m&&c){var v=h;return(i=(g=u).items).unshift.apply(i,v.items),R.removeAt(e.children,t),R.removeAt(e.items,t+1),v.prev&&(v.prev.next=g),g.prev=v.prev,r(v),t}if(f&&!m&&!c)return v=h,(n=(g=u).items).push.apply(n,v.items),R.removeAt(e.children,t),R.removeAt(e.items,t),v.next&&(v.next.prev=g),g.next=v.next,r(v),t-1;if(!f&&m&&c)return g=u,(v=h).children.push(g.children.shift()),v.items.push(g.items.shift()),e.items[t+1]=g.items[0],p(v,v.width-1),p(g,0),t;if(!f&&m&&!c)return g=u,(v=h).children.unshift(g.children.pop()),v.items.unshift(g.items.pop()),e.items[t]=v.items[0],p(v,0),p(g,g.width-1),t-1;if(!f&&!m&&c)return v=h,(s=(g=u).children).unshift.apply(s,v.children),(o=g.items).unshift.apply(o,v.items),R.removeAt(e.children,t),R.removeAt(e.items,t+1),p(g,0),v.children.length=0,r(v),t;if(!f&&!m&&!c)return v=h,(l=(g=u).children).push.apply(l,v.children),(d=g.items).push.apply(d,v.items),R.removeAt(e.children,t),R.removeAt(e.items,t),p(g,0),v.children.length=0,r(v),t-1;throw"unreachable"}}(K||(K={}));var Y,G=function(){function e(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstNode",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastNode",{get:function(){return this._last},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return new e.ForwardValueIterator(this._first)},e.prototype.retro=function(){return new e.RetroValueIterator(this._last)},e.prototype.nodes=function(){return new e.ForwardNodeIterator(this._first)},e.prototype.retroNodes=function(){return new e.RetroNodeIterator(this._last)},e.prototype.assign=function(e){var t=this;this.clear(),W(e,(function(e){t.addLast(e)}))},e.prototype.push=function(e){this.addLast(e)},e.prototype.pop=function(){return this.removeLast()},e.prototype.shift=function(e){this.addFirst(e)},e.prototype.unshift=function(){return this.removeFirst()},e.prototype.addFirst=function(e){var t=new Y.LinkedListNode(this,e);return this._first?(t.next=this._first,this._first.prev=t,this._first=t):(this._first=t,this._last=t),this._size++,t},e.prototype.addLast=function(e){var t=new Y.LinkedListNode(this,e);return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._first=t,this._last=t),this._size++,t},e.prototype.insertBefore=function(e,t){if(!t||t===this._first)return this.addFirst(e);if(!(t instanceof Y.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");var i=new Y.LinkedListNode(this,e),n=t,s=n.prev;return i.next=n,i.prev=s,n.prev=i,s.next=i,this._size++,i},e.prototype.insertAfter=function(e,t){if(!t||t===this._last)return this.addLast(e);if(!(t instanceof Y.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");var i=new Y.LinkedListNode(this,e),n=t,s=n.next;return i.next=s,i.prev=n,n.next=i,s.prev=i,this._size++,i},e.prototype.removeFirst=function(){var e=this._first;if(e)return e===this._last?(this._first=null,this._last=null):(this._first=e.next,this._first.prev=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value},e.prototype.removeLast=function(){var e=this._last;if(e)return e===this._first?(this._first=null,this._last=null):(this._last=e.prev,this._last.next=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value},e.prototype.removeNode=function(e){if(!(e instanceof Y.LinkedListNode)||e.list!==this)throw new Error("Node is not owned by the list.");var t=e;t===this._first&&t===this._last?(this._first=null,this._last=null):t===this._first?(this._first=t.next,this._first.prev=null):t===this._last?(this._last=t.prev,this._last.next=null):(t.next.prev=t.prev,t.prev.next=t.next),t.list=null,t.next=null,t.prev=null,this._size--},e.prototype.clear=function(){for(var e=this._first;e;){var t=e.next;e.list=null,e.prev=null,e.next=null,e=t}this._first=null,this._last=null,this._size=0},e}();!function(e){e.from=function(t){var i=new e;return i.assign(t),i};var t=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.next,e.value}},e}();e.ForwardValueIterator=t;var i=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.prev,e.value}},e}();e.RetroValueIterator=i;var n=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.next,e}},e}();e.ForwardNodeIterator=n;var s=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.prev,e}},e}();e.RetroNodeIterator=s}(G||(G={})),function(e){e.LinkedListNode=function(e,t){this.list=null,this.next=null,this.prev=null,this.list=e,this.value=t}}(Y||(Y={}));var J,Q,Z,ee,te=function(e,t){return te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},te(e,t)};function*ie(){}function ne(e,t){let i=0;for(const n of e)if(t(n,i++))return n}!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}te(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)})(t,e),Object.defineProperty(t.prototype,"isConflatable",{get:function(){return!0},enumerable:!0,configurable:!0}),t.prototype.conflate=function(e){return!0}}(function(){function e(e){this.type=e}return Object.defineProperty(e.prototype,"isConflatable",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.conflate=function(e){return!1},e}()),function(e){function t(e,t){var i=n.get(e);if(i&&0!==i.length){var s,o=function(i,n){for(var s,o=N(i);void 0!==(s=o.next());)if((a=s)&&!function(e,t,i){var n=!0;try{n="function"==typeof e?e(t,i):e.messageHook(t,i)}catch(e){r(e)}return n}(a,e,t))return!1;var a;return!0}("function"==typeof(s=i).retro?s.retro():new H(s));o&&h(e,t)}else h(e,t)}e.sendMessage=t,e.postMessage=function(e,t){t.isConflatable&&function(i,n){for(var s,r=N(i);void 0!==(s=r.next());)if((o=s).handler===e&&o.msg&&o.msg.type===t.type&&o.msg.isConflatable&&o.msg.conflate(t))return!0;var o;return!1}(i)||function(e,t){i.addLast({handler:e,msg:t}),0===o&&(o=l(u))}(e,t)},e.installMessageHook=function(e,t){var i=n.get(e);i&&-1!==i.indexOf(t)||(i?i.push(t):n.set(e,[t]))},e.removeMessageHook=function(e,t){var i=n.get(e);if(i){var s=i.indexOf(t);-1!==s&&(i[s]=null,c(i))}},e.clearData=function(e){var t=n.get(e);t&&t.length>0&&(D.fill(t,null),c(t)),function(e,t){for(var i,n=0,s=N(e);void 0!==(i=s.next());)if(!1===t(i,n++))return}(i,(function(t){t.handler===e&&(t.handler=null,t.msg=null)}))},e.flush=function(){a||0===o||(d(o),a=!0,u(),a=!1)},e.getExceptionHandler=function(){return r},e.setExceptionHandler=function(e){var t=r;return r=e,t};var i=new G,n=new WeakMap,s=new Set,r=function(e){console.error(e)},o=0,a=!1,l="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate,d="function"==typeof cancelAnimationFrame?cancelAnimationFrame:clearImmediate;function h(e,t){try{e.processMessage(t)}catch(e){r(e)}}function u(){if(o=0,!i.isEmpty){var e={handler:null,msg:null};for(i.addLast(e);;){var n=i.removeFirst();if(n===e)return;n.handler&&n.msg&&t(n.handler,n.msg)}}}function c(e){0===s.size&&l(p),s.add(e)}function p(){s.forEach(f),s.clear()}function f(e){D.removeAllWhere(e,m)}function m(e){return null===e}}(J||(J={})),function(e){function t(e,t,i=0,n=-1){let s,r=e.length;if(0===r)return-1;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(let n=0;n<s;++n){let s=(i+n)%r;if(e[s]===t)return s}return-1}function i(e,t,i=-1,n=0){let s,r=e.length;if(0===r)return-1;s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<(n=n<0?Math.max(0,n+r):Math.min(n,r-1))?i+1+(r-n):i-n+1;for(let n=0;n<s;++n){let s=(i-n+r)%r;if(e[s]===t)return s}return-1}function n(e,t,i=0,n=-1){let s,r=e.length;if(0===r)return-1;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(let n=0;n<s;++n){let s=(i+n)%r;if(t(e[s],s))return s}return-1}function s(e,t,i=-1,n=0){let s,r=e.length;if(0===r)return-1;s=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<(n=n<0?Math.max(0,n+r):Math.min(n,r-1))?i+1+(r-n):i-n+1;for(let n=0;n<s;++n){let s=(i-n+r)%r;if(t(e[s],s))return s}return-1}function r(e,t=0,i=-1){let n=e.length;if(!(n<=1))for(t=t<0?Math.max(0,t+n):Math.min(t,n-1),i=i<0?Math.max(0,i+n):Math.min(i,n-1);t<i;){let n=e[t],s=e[i];e[t++]=s,e[i--]=n}}function o(e,t){let i=e.length;if(t<0&&(t+=i),t<0||t>=i)return;let n=e[t];for(let n=t+1;n<i;++n)e[n-1]=e[n];return e.length=i-1,n}e.firstIndexOf=t,e.lastIndexOf=i,e.findFirstIndex=n,e.findLastIndex=s,e.findFirstValue=function(e,t,i=0,s=-1){let r=n(e,t,i,s);return-1!==r?e[r]:void 0},e.findLastValue=function(e,t,i=-1,n=0){let r=s(e,t,i,n);return-1!==r?e[r]:void 0},e.lowerBound=function(e,t,i,n=0,s=-1){let r=e.length;if(0===r)return 0;let o=n=n<0?Math.max(0,n+r):Math.min(n,r-1),a=(s=s<0?Math.max(0,s+r):Math.min(s,r-1))-n+1;for(;a>0;){let n=a>>1,s=o+n;i(e[s],t)<0?(o=s+1,a-=n+1):a=n}return o},e.upperBound=function(e,t,i,n=0,s=-1){let r=e.length;if(0===r)return 0;let o=n=n<0?Math.max(0,n+r):Math.min(n,r-1),a=(s=s<0?Math.max(0,s+r):Math.min(s,r-1))-n+1;for(;a>0;){let n=a>>1,s=o+n;i(e[s],t)>0?a=n:(o=s+1,a-=n+1)}return o},e.shallowEqual=function(e,t,i){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,s=e.length;n<s;++n)if(i?!i(e[n],t[n]):e[n]!==t[n])return!1;return!0},e.slice=function(e,t={}){let{start:i,stop:n,step:s}=t;if(void 0===s&&(s=1),0===s)throw new Error("Slice `step` cannot be zero.");let r,o=e.length;void 0===i?i=s<0?o-1:0:i<0?i=Math.max(i+o,s<0?-1:0):i>=o&&(i=s<0?o-1:o),void 0===n?n=s<0?-1:o:n<0?n=Math.max(n+o,s<0?-1:0):n>=o&&(n=s<0?o-1:o),r=s<0&&n>=i||s>0&&i>=n?0:s<0?Math.floor((n-i+1)/s+1):Math.floor((n-i-1)/s+1);let a=[];for(let t=0;t<r;++t)a[t]=e[i+t*s];return a},e.move=function(e,t,i){let n=e.length;if(n<=1)return;if((t=t<0?Math.max(0,t+n):Math.min(t,n-1))===(i=i<0?Math.max(0,i+n):Math.min(i,n-1)))return;let s=e[t],r=t<i?1:-1;for(let n=t;n!==i;n+=r)e[n]=e[n+r];e[i]=s},e.reverse=r,e.rotate=function(e,t,i=0,n=-1){let s=e.length;if(s<=1)return;if((i=i<0?Math.max(0,i+s):Math.min(i,s-1))>=(n=n<0?Math.max(0,n+s):Math.min(n,s-1)))return;let o=n-i+1;if(t>0?t%=o:t<0&&(t=(t%o+o)%o),0===t)return;let a=i+t;r(e,i,a-1),r(e,a,n),r(e,i,n)},e.fill=function(e,t,i=0,n=-1){let s,r=e.length;if(0!==r){i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(let n=0;n<s;++n)e[(i+n)%r]=t}},e.insert=function(e,t,i){let n=e.length;t=t<0?Math.max(0,t+n):Math.min(t,n);for(let i=n;i>t;--i)e[i]=e[i-1];e[t]=i},e.removeAt=o,e.removeFirstOf=function(e,i,n=0,s=-1){let r=t(e,i,n,s);return-1!==r&&o(e,r),r},e.removeLastOf=function(e,t,n=-1,s=0){let r=i(e,t,n,s);return-1!==r&&o(e,r),r},e.removeAllOf=function(e,t,i=0,n=-1){let s=e.length;if(0===s)return 0;i=i<0?Math.max(0,i+s):Math.min(i,s-1),n=n<0?Math.max(0,n+s):Math.min(n,s-1);let r=0;for(let o=0;o<s;++o)i<=n&&o>=i&&o<=n&&e[o]===t||n<i&&(o<=n||o>=i)&&e[o]===t?r++:r>0&&(e[o-r]=e[o]);return r>0&&(e.length=s-r),r},e.removeFirstWhere=function(e,t,i=0,s=-1){let r,a=n(e,t,i,s);return-1!==a&&(r=o(e,a)),{index:a,value:r}},e.removeLastWhere=function(e,t,i=-1,n=0){let r,a=s(e,t,i,n);return-1!==a&&(r=o(e,a)),{index:a,value:r}},e.removeAllWhere=function(e,t,i=0,n=-1){let s=e.length;if(0===s)return 0;i=i<0?Math.max(0,i+s):Math.min(i,s-1),n=n<0?Math.max(0,n+s):Math.min(n,s-1);let r=0;for(let o=0;o<s;++o)i<=n&&o>=i&&o<=n&&t(e[o],o)||n<i&&(o<=n||o>=i)&&t(e[o],o)?r++:r>0&&(e[o-r]=e[o]);return r>0&&(e.length=s-r),r}}(Q||(Q={})),function(e){e.rangeLength=function(e,t,i){return 0===i?1/0:e>t&&i>0||e<t&&i<0?0:Math.ceil((t-e)/i)}}(Z||(Z={})),function(e){function t(e,t,i=0){let n=new Array(t.length);for(let s=0,r=i,o=t.length;s<o;++s,++r){if(r=e.indexOf(t[s],r),-1===r)return null;n[s]=r}return n}e.findIndices=t,e.matchSumOfSquares=function(e,i,n=0){let s=t(e,i,n);if(!s)return null;let r=0;for(let e=0,t=s.length;e<t;++e){let t=s[e]-n;r+=t*t}return{score:r,indices:s}},e.matchSumOfDeltas=function(e,i,n=0){let s=t(e,i,n);if(!s)return null;let r=0,o=n-1;for(let e=0,t=s.length;e<t;++e){let t=s[e];r+=t-o-1,o=t}return{score:r,indices:s}},e.highlight=function(e,t,i){let n=[],s=0,r=0,o=t.length;for(;s<o;){let a=t[s],l=t[s];for(;++s<o&&t[s]===l+1;)l++;r<a&&n.push(e.slice(r,a)),a<l+1&&n.push(i(e.slice(a,l+1))),r=l+1}return r<e.length&&n.push(e.slice(r)),n},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(ee||(ee={}));var se,re,oe,ae,le,de,he,ue,ce,pe,fe,me,ge,ve,_e,be,ye=s(764);!function(e){e.copyText=function(e){const t=document.body,i=n=>{n.preventDefault(),n.stopPropagation(),n.clipboardData.setData("text",e),t.removeEventListener("copy",i,!0)};t.addEventListener("copy",i,!0),document.execCommand("copy")}}(se||(se={})),function(e){e.boxSizing=function(e){let t=window.getComputedStyle(e),i=parseFloat(t.borderTopWidth)||0,n=parseFloat(t.borderLeftWidth)||0,s=parseFloat(t.borderRightWidth)||0,r=parseFloat(t.borderBottomWidth)||0,o=parseFloat(t.paddingTop)||0,a=parseFloat(t.paddingLeft)||0,l=parseFloat(t.paddingRight)||0,d=parseFloat(t.paddingBottom)||0;return{borderTop:i,borderLeft:n,borderRight:s,borderBottom:r,paddingTop:o,paddingLeft:a,paddingRight:l,paddingBottom:d,horizontalSum:n+a+l+s,verticalSum:i+o+d+r}},e.sizeLimits=function(e){let t=window.getComputedStyle(e),i=parseFloat(t.minWidth)||0,n=parseFloat(t.minHeight)||0,s=parseFloat(t.maxWidth)||1/0,r=parseFloat(t.maxHeight)||1/0;return s=Math.max(i,s),r=Math.max(n,r),{minWidth:i,minHeight:n,maxWidth:s,maxHeight:r}},e.hitTest=function(e,t,i){let n=e.getBoundingClientRect();return t>=n.left&&t<n.right&&i>=n.top&&i<n.bottom},e.scrollIntoViewIfNeeded=function(e,t){let i=e.getBoundingClientRect(),n=t.getBoundingClientRect();n.top<=i.top&&n.bottom>=i.bottom||(n.top<i.top&&n.height<=i.height||n.bottom>i.bottom&&n.height>=i.height?e.scrollTop-=i.top-n.top:(n.top<i.top&&n.height>i.height||n.bottom>i.bottom&&n.height<i.height)&&(e.scrollTop-=i.bottom-n.bottom))}}(re||(re={})),function(e){e.IS_MAC=!!navigator.platform.match(/Mac/i),e.IS_WIN=!!navigator.platform.match(/Win/i),e.IS_IE=/Trident/.test(navigator.userAgent),e.IS_EDGE=/Edge/.test(navigator.userAgent),e.accelKey=function(t){return e.IS_MAC?t.metaKey:t.ctrlKey}}(oe||(oe={})),function(e){e.calculateSpecificity=function(e){if(e in le.specificityCache)return le.specificityCache[e];let t=le.calculateSingle(e);return le.specificityCache[e]=t},e.isValid=function(e){if(e in le.validityCache)return le.validityCache[e];let t=!0;try{le.testElem.querySelector(e)}catch(e){t=!1}return le.validityCache[e]=t},e.matches=function(e,t){return le.protoMatchFunc.call(e,t)}}(ae||(ae={})),function(e){e.specificityCache=Object.create(null),e.validityCache=Object.create(null),e.testElem=document.createElement("div"),e.protoMatchFunc=(()=>{let e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){let t=this,i=t.ownerDocument?t.ownerDocument.querySelectorAll(e):[];return-1!==Array.prototype.indexOf.call(i,t)}})(),e.calculateSingle=function(e){let d=0,h=0,u=0;function c(t){let i=e.match(t);return null!==i&&(e=e.slice(i[0].length),!0)}for(e=(e=e.split(",",1)[0]).replace(l," $1 ");e.length>0;)if(c(t))d++;else if(c(i))h++;else if(c(n))h++;else if(c(r))u++;else if(c(o))h++;else if(c(s))u++;else if(!c(a))return 0;return d=Math.min(d,255),h=Math.min(h,255),u=Math.min(u,255),d<<16|h<<8|u};const t=/^#[^\s\+>~#\.\[:]+/,i=/^\.[^\s\+>~#\.\[:]+/,n=/^\[[^\]]+\]/,s=/^[^\s\+>~#\.\[:]+/,r=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,o=/^:[^\s\+>~#\.\[:]+/,a=/^[\s\+>~\*]+/,l=/:not\(([^\)]+)\)/g}(le||(le={}));class xe{constructor(){this._first=null,this._last=null,this._size=0}get isEmpty(){return 0===this._size}get size(){return this._size}get length(){return this._size}get first(){return this._first?this._first.value:void 0}get last(){return this._last?this._last.value:void 0}get firstNode(){return this._first}get lastNode(){return this._last}*[Symbol.iterator](){let e=this._first;for(;e;)yield e.value,e=e.next}*retro(){let e=this._last;for(;e;)yield e.value,e=e.prev}*nodes(){let e=this._first;for(;e;)yield e,e=e.next}*retroNodes(){let e=this._last;for(;e;)yield e,e=e.prev}assign(e){this.clear();for(const t of e)this.addLast(t)}push(e){this.addLast(e)}pop(){return this.removeLast()}shift(e){this.addFirst(e)}unshift(){return this.removeFirst()}addFirst(e){let t=new de.LinkedListNode(this,e);return this._first?(t.next=this._first,this._first.prev=t,this._first=t):(this._first=t,this._last=t),this._size++,t}addLast(e){let t=new de.LinkedListNode(this,e);return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._first=t,this._last=t),this._size++,t}insertBefore(e,t){if(!t||t===this._first)return this.addFirst(e);if(!(t instanceof de.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");let i=new de.LinkedListNode(this,e),n=t,s=n.prev;return i.next=n,i.prev=s,n.prev=i,s.next=i,this._size++,i}insertAfter(e,t){if(!t||t===this._last)return this.addLast(e);if(!(t instanceof de.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");let i=new de.LinkedListNode(this,e),n=t,s=n.next;return i.next=s,i.prev=n,n.next=i,s.prev=i,this._size++,i}removeFirst(){let e=this._first;if(e)return e===this._last?(this._first=null,this._last=null):(this._first=e.next,this._first.prev=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value}removeLast(){let e=this._last;if(e)return e===this._first?(this._first=null,this._last=null):(this._last=e.prev,this._last.next=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value}removeNode(e){if(!(e instanceof de.LinkedListNode)||e.list!==this)throw new Error("Node is not owned by the list.");let t=e;t===this._first&&t===this._last?(this._first=null,this._last=null):t===this._first?(this._first=t.next,this._first.prev=null):t===this._last?(this._last=t.prev,this._last.next=null):(t.next.prev=t.prev,t.prev.next=t.next),t.list=null,t.next=null,t.prev=null,this._size--}clear(){let e=this._first;for(;e;){let t=e.next;e.list=null,e.prev=null,e.next=null,e=t}this._first=null,this._last=null,this._size=0}}!function(e){e.from=function(t){let i=new e;return i.assign(t),i}}(xe||(xe={})),function(e){e.LinkedListNode=class{constructor(e,t){this.list=null,this.next=null,this.prev=null,this.list=e,this.value=t}}}(de||(de={}));class we{constructor(e){this.type=e}get isConflatable(){return!1}conflate(e){return!1}}class Me extends we{get isConflatable(){return!0}conflate(e){return!0}}!function(e){let t=null;const i=(n=Promise.resolve(),e=>{let t=!1;return n.then((()=>!t&&e())),()=>{t=!0}});var n;function s(e,t){let i=o.get(e);if(!i||0===i.length)return void h(e,t);let n=function(e,t){let i=0;for(const n of e)if(!1===t(n,i++))return!1;return!0}(function*(e){if("function"==typeof e.retro)yield*e.retro();else for(let t=e.length-1;t>-1;t--)yield e[t]}(i),(i=>!i||function(e,t,i){let n=!0;try{n="function"==typeof e?e(t,i):e.messageHook(t,i)}catch(e){l(e)}return n}(i,e,t)));n&&h(e,t)}e.sendMessage=s,e.postMessage=function(e,t){t.isConflatable&&function(i,n){for(const n of i)if((s=n).handler===e&&s.msg&&s.msg.type===t.type&&s.msg.isConflatable&&s.msg.conflate(t))return!0;var s;return!1}(r)||u(e,t)},e.installMessageHook=function(e,t){let i=o.get(e);i&&-1!==i.indexOf(t)||(i?i.push(t):o.set(e,[t]))},e.removeMessageHook=function(e,t){let i=o.get(e);if(!i)return;let n=i.indexOf(t);-1!==n&&(i[n]=null,p(i))},e.clearData=function(e){let t=o.get(e);t&&t.length>0&&(Q.fill(t,null),p(t));for(const t of r)t.handler===e&&(t.handler=null,t.msg=null)},e.flush=function(){d||null===t||(t(),t=null,d=!0,c(),d=!1)},e.getExceptionHandler=function(){return l},e.setExceptionHandler=function(e){let t=l;return l=e,t};const r=new xe,o=new WeakMap,a=new Set;let l=e=>{console.error(e)},d=!1;function h(e,t){try{e.processMessage(t)}catch(e){l(e)}}function u(e,n){r.addLast({handler:e,msg:n}),null===t&&(t=i(c))}function c(){if(t=null,r.isEmpty)return;let e={handler:null,msg:null};for(r.addLast(e);;){let t=r.removeFirst();if(t===e)return;t.handler&&t.msg&&s(t.handler,t.msg)}}function p(e){0===a.size&&i(f),a.add(e)}function f(){a.forEach(m),a.clear()}function m(e){Q.removeAllWhere(e,g)}function g(e){return null===e}}(he||(he={}));class Ce{constructor(e){this._pid=ue.nextPID(),this.name=e.name,this._create=e.create,this._coerce=e.coerce||null,this._compare=e.compare||null,this._changed=e.changed||null}get(e){let t,i=ue.ensureMap(e);return t=this._pid in i?i[this._pid]:i[this._pid]=this._createValue(e),t}set(e,t){let i,n=ue.ensureMap(e);i=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(e);let s=this._coerceValue(e,t);this._maybeNotify(e,i,n[this._pid]=s)}coerce(e){let t,i=ue.ensureMap(e);t=this._pid in i?i[this._pid]:i[this._pid]=this._createValue(e);let n=this._coerceValue(e,t);this._maybeNotify(e,t,i[this._pid]=n)}_createValue(e){return(0,this._create)(e)}_coerceValue(e,t){let i=this._coerce;return i?i(e,t):t}_compareValue(e,t){let i=this._compare;return i?i(e,t):e===t}_maybeNotify(e,t,i){let n=this._changed;n&&!this._compareValue(t,i)&&n(e,t,i)}}!function(e){e.clearData=function(e){ue.ownerData.delete(e)}}(Ce||(Ce={})),function(e){e.ownerData=new WeakMap,e.nextPID=(()=>{let e=0;return()=>`pid-${`${Math.random()}`.slice(2)}-${e++}`})(),e.ensureMap=function(t){let i=e.ownerData.get(t);return i||(i=Object.create(null),e.ownerData.set(t,i),i)}}(ue||(ue={}));class Se{constructor(e){this.sender=e}connect(e,t){return ce.connect(this,e,t)}disconnect(e,t){return ce.disconnect(this,e,t)}emit(e){ce.emit(this,e)}}(be=Se||(Se={})).disconnectBetween=function(e,t){ce.disconnectBetween(e,t)},be.disconnectSender=function(e){ce.disconnectSender(e)},be.disconnectReceiver=function(e){ce.disconnectReceiver(e)},be.disconnectAll=function(e){ce.disconnectAll(e)},be.clearData=function(e){ce.disconnectAll(e)},be.getExceptionHandler=function(){return ce.exceptionHandler},be.setExceptionHandler=function(e){let t=ce.exceptionHandler;return ce.exceptionHandler=e,t},Symbol.asyncIterator,function(e){function t(e){let t=n.get(e);if(t&&0!==t.length){for(const e of t){if(!e.signal)continue;let t=e.thisArg||e.slot;e.signal=null,d(s.get(t))}d(t)}}function i(e){let t=s.get(e);if(t&&0!==t.length){for(const e of t){if(!e.signal)continue;let t=e.signal.sender;e.signal=null,d(n.get(t))}d(t)}}e.exceptionHandler=e=>{console.error(e)},e.connect=function(e,t,i){i=i||void 0;let r=n.get(e.sender);if(r||(r=[],n.set(e.sender,r)),a(r,e,t,i))return!1;let o=i||t,l=s.get(o);l||(l=[],s.set(o,l));let d={signal:e,slot:t,thisArg:i};return r.push(d),l.push(d),!0},e.disconnect=function(e,t,i){i=i||void 0;let r=n.get(e.sender);if(!r||0===r.length)return!1;let o=a(r,e,t,i);if(!o)return!1;let l=i||t,h=s.get(l);return o.signal=null,d(r),d(h),!0},e.disconnectBetween=function(e,t){let i=n.get(e);if(!i||0===i.length)return;let r=s.get(t);if(r&&0!==r.length){for(const t of r)t.signal&&t.signal.sender===e&&(t.signal=null);d(i),d(r)}},e.disconnectSender=t,e.disconnectReceiver=i,e.disconnectAll=function(e){t(e),i(e)},e.emit=function(e,t){let i=n.get(e.sender);if(i&&0!==i.length)for(let n=0,s=i.length;n<s;++n){let s=i[n];s.signal===e&&l(s,t)}};const n=new WeakMap,s=new WeakMap,r=new Set,o="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate;function a(e,t,i,n){return ne(e,(e=>e.signal===t&&e.slot===i&&e.thisArg===n))}function l(t,i){let{signal:n,slot:s,thisArg:r}=t;try{s.call(r,n.sender,i)}catch(t){e.exceptionHandler(t)}}function d(e){0===r.size&&o(h),r.add(e)}function h(){r.forEach(u),r.clear()}function u(e){Q.removeAllWhere(e,c)}function c(e){return null===e.signal}}(ce||(ce={}));class ke{constructor(e){this._fn=e}get isDisposed(){return!this._fn}dispose(){if(!this._fn)return;let e=this._fn;this._fn=null,e()}}class Te{constructor(){this._isDisposed=!1,this._items=new Set}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,this._items.forEach((e=>{e.dispose()})),this._items.clear())}contains(e){return this._items.has(e)}add(e){this._items.add(e)}remove(e){this._items.delete(e)}clear(){this._items.clear()}}!function(e){e.from=function(t){let i=new e;for(const e of t)i.add(e);return i}}(Te||(Te={}));class Ee extends Te{constructor(){super(...arguments),this._disposed=new Se(this)}get disposed(){return this._disposed}dispose(){this.isDisposed||(super.dispose(),this._disposed.emit(void 0),Se.clearData(this))}}!function(e){e.from=function(t){let i=new e;for(const e of t)i.add(e);return i}}(Ee||(Ee={}));class Ae{constructor(e){this._onScrollFrame=()=>{if(!this._scrollTarget)return;let{element:e,edge:t,distance:i}=this._scrollTarget,n=pe.SCROLL_EDGE_SIZE-i,s=Math.pow(n/pe.SCROLL_EDGE_SIZE,2),r=Math.max(1,Math.round(s*pe.SCROLL_EDGE_SIZE));switch(t){case"top":e.scrollTop-=r;break;case"left":e.scrollLeft-=r;break;case"right":e.scrollLeft+=r;break;case"bottom":e.scrollTop+=r}requestAnimationFrame(this._onScrollFrame)},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=e.document||document,this.mimeData=e.mimeData,this.dragImage=e.dragImage||null,this.proposedAction=e.proposedAction||"copy",this.supportedActions=e.supportedActions||"all",this.source=e.source||null}dispose(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){let e=new PointerEvent("pointerup",{bubbles:!0,cancelable:!0,clientX:-1,clientY:-1});pe.dispatchDragLeave(this,this._currentTarget,null,e)}this._finalize("none")}}get isDisposed(){return this._disposed}start(e,t){if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(e,t),this._promise=new Promise((e=>{this._resolve=e}));let i=new PointerEvent("pointermove",{bubbles:!0,cancelable:!0,clientX:e,clientY:t});return document.dispatchEvent(i),this._promise}handleEvent(e){switch(e.type){case"pointermove":this._evtPointerMove(e);break;case"pointerup":this._evtPointerUp(e);break;case"keydown":this._evtKeyDown(e);break;default:e.preventDefault(),e.stopPropagation()}}moveDragImage(e,t){this.dragImage&&(this.dragImage.style.transform=`translate(${e}px, ${t}px)`)}_evtPointerMove(e){e.preventDefault(),e.stopPropagation(),this._updateCurrentTarget(e),this._updateDragScroll(e),this.moveDragImage(e.clientX,e.clientY)}_evtPointerUp(e){if(e.preventDefault(),e.stopPropagation(),0!==e.button)return;if(this._updateCurrentTarget(e),!this._currentTarget)return void this._finalize("none");if("none"===this._dropAction)return pe.dispatchDragLeave(this,this._currentTarget,null,e),void this._finalize("none");let t=pe.dispatchDrop(this,this._currentTarget,e);this._finalize(t)}_evtKeyDown(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&this.dispose()}_addListeners(){document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)}_removeListeners(){document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)}_updateDragScroll(e){let t=pe.findScrollTarget(e);(this._scrollTarget||t)&&(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=t)}_updateCurrentTarget(e){let t=this._currentTarget,i=this._currentTarget,n=this._currentElement,s=pe.findElementBehindBackdrop(e,this.document);this._currentElement=s,s!==n&&s!==i&&pe.dispatchDragExit(this,i,s,e),s!==n&&s!==i&&(i=pe.dispatchDragEnter(this,s,i,e)),i!==t&&(this._currentTarget=i,pe.dispatchDragLeave(this,t,i,e));let r=pe.dispatchDragOver(this,i,e);this._setDropAction(r)}_attachDragImage(e,t){if(!this.dragImage)return;this.dragImage.classList.add("lm-mod-drag-image");let i=this.dragImage.style;i.pointerEvents="none",i.position="fixed",i.transform=`translate(${e}px, ${t}px)`,(this.document instanceof Document?this.document.body:this.document.firstElementChild).appendChild(this.dragImage)}_detachDragImage(){if(!this.dragImage)return;let e=this.dragImage.parentNode;e&&e.removeChild(this.dragImage)}_setDropAction(e){if(e=pe.validateAction(e,this.supportedActions),!this._override||this._dropAction!==e)switch(e){case"none":this._dropAction=e,this._override=Ae.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=e,this._override=Ae.overrideCursor("copy",this.document);break;case"link":this._dropAction=e,this._override=Ae.overrideCursor("alias",this.document);break;case"move":this._dropAction=e,this._override=Ae.overrideCursor("move",this.document)}}_finalize(e){let t=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,t&&t(e)}}function Le(){return De.keyboardLayout}!function(e){class t extends DragEvent{constructor(e,t){super(t.type,{bubbles:!0,cancelable:!0,altKey:e.altKey,button:e.button,clientX:e.clientX,clientY:e.clientY,ctrlKey:e.ctrlKey,detail:0,metaKey:e.metaKey,relatedTarget:t.related,screenX:e.screenX,screenY:e.screenY,shiftKey:e.shiftKey,view:window});const{drag:i}=t;this.dropAction="none",this.mimeData=i.mimeData,this.proposedAction=i.proposedAction,this.supportedActions=i.supportedActions,this.source=i.source}}e.Event=t,e.overrideCursor=function(e,t=document){return pe.overrideCursor(e,t)}}(Ae||(Ae={})),function(e){function t(t,s=document){if(t){if(i&&t==i.event)return i.element;e.cursorBackdrop.style.zIndex="-1000";const n=s.elementFromPoint(t.clientX,t.clientY);return e.cursorBackdrop.style.zIndex="",i={event:t,element:n},n}{const t=e.cursorBackdrop.style.transform;if(n&&t===n.transform)return n.element;const i=e.cursorBackdrop.getBoundingClientRect();e.cursorBackdrop.style.zIndex="-1000";const r=s.elementFromPoint(i.left+i.width/2,i.top+i.height/2);return e.cursorBackdrop.style.zIndex="",n={transform:t,element:r},r}}e.SCROLL_EDGE_SIZE=20,e.validateAction=function(e,t){return s[e]&r[t]?e:"none"},e.findElementBehindBackdrop=t;let i=null,n=null;e.findScrollTarget=function(i){let n=i.clientX,s=i.clientY,r=t(i);for(;r;r=r.parentElement){if(!r.hasAttribute("data-lm-dragscroll"))continue;let t=0,i=0;r===document.body&&(t=window.pageXOffset,i=window.pageYOffset);let o=r.getBoundingClientRect(),a=o.top+i,l=o.left+t,d=l+o.width,h=a+o.height;if(n<l||n>=d||s<a||s>=h)continue;let u,c=n-l+1,p=s-a+1,f=d-n,m=h-s,g=Math.min(c,p,f,m);if(g>e.SCROLL_EDGE_SIZE)continue;switch(g){case m:u="bottom";break;case p:u="top";break;case f:u="right";break;case c:u="left";break;default:throw"unreachable"}let v,_=r.scrollWidth-r.clientWidth,b=r.scrollHeight-r.clientHeight;switch(u){case"top":v=b>0&&r.scrollTop>0;break;case"left":v=_>0&&r.scrollLeft>0;break;case"right":v=_>0&&r.scrollLeft<_;break;case"bottom":v=b>0&&r.scrollTop<b;break;default:throw"unreachable"}if(v)return{element:r,edge:u,distance:g}}return null},e.dispatchDragEnter=function(e,t,i,n){if(!t)return null;let s=new Ae.Event(n,{drag:e,related:i,type:"lm-dragenter"});if(!t.dispatchEvent(s))return t;const r=e.document instanceof Document?e.document.body:e.document.firstElementChild;return t===r?i:(s=new Ae.Event(n,{drag:e,related:i,type:"lm-dragenter"}),r.dispatchEvent(s),r)},e.dispatchDragExit=function(e,t,i,n){if(!t)return;let s=new Ae.Event(n,{drag:e,related:i,type:"lm-dragexit"});t.dispatchEvent(s)},e.dispatchDragLeave=function(e,t,i,n){if(!t)return;let s=new Ae.Event(n,{drag:e,related:i,type:"lm-dragleave"});t.dispatchEvent(s)},e.dispatchDragOver=function(e,t,i){if(!t)return"none";let n=new Ae.Event(i,{drag:e,related:null,type:"lm-dragover"});return t.dispatchEvent(n)?"none":n.dropAction},e.dispatchDrop=function(e,t,i){if(!t)return"none";let n=new Ae.Event(i,{drag:e,related:null,type:"lm-drop"});return t.dispatchEvent(n)?"none":n.dropAction};const s={none:0,copy:1,link:2,move:4},r={none:s.none,copy:s.copy,link:s.link,move:s.move,"copy-link":s.copy|s.link,"copy-move":s.copy|s.move,"link-move":s.link|s.move,all:s.copy|s.link|s.move};function o(t){e.cursorBackdrop&&(e.cursorBackdrop.style.transform=`translate(${t.clientX}px, ${t.clientY}px)`)}function a(i){if(!e.cursorBackdrop)return;let n=t();if(!n)return;const s=n.closest("[data-lm-dragscroll]");s&&(s.scrollTop+=e.cursorBackdrop.scrollTop-d,s.scrollLeft+=e.cursorBackdrop.scrollLeft-d,l())}function l(){e.cursorBackdrop.scrollTop=d,e.cursorBackdrop.scrollLeft=d}e.overrideCursor=function(t,i=document){let n=++h;const s=i instanceof Document?i.body:i.firstElementChild;return e.cursorBackdrop.isConnected||(e.cursorBackdrop.style.transform="scale(0)",s.appendChild(e.cursorBackdrop),l(),document.addEventListener("pointermove",o,{capture:!0,passive:!0}),e.cursorBackdrop.addEventListener("scroll",a,{capture:!0,passive:!0})),e.cursorBackdrop.style.cursor=t,new ke((()=>{n===h&&e.cursorBackdrop.isConnected&&(document.removeEventListener("pointermove",o,!0),e.cursorBackdrop.removeEventListener("scroll",a,!0),s.removeChild(e.cursorBackdrop))}))};const d=500;let h=0;e.cursorBackdrop=function(){const e=document.createElement("div");return e.classList.add("lm-cursor-backdrop"),e}()}(pe||(pe={})),function(e){e.copyText=function(e){const t=document.body,i=n=>{n.preventDefault(),n.stopPropagation(),n.clipboardData.setData("text",e),t.removeEventListener("copy",i,!0)};t.addEventListener("copy",i,!0),document.execCommand("copy")}}(fe||(fe={})),function(e){e.boxSizing=function(e){let t=window.getComputedStyle(e),i=parseFloat(t.borderTopWidth)||0,n=parseFloat(t.borderLeftWidth)||0,s=parseFloat(t.borderRightWidth)||0,r=parseFloat(t.borderBottomWidth)||0,o=parseFloat(t.paddingTop)||0,a=parseFloat(t.paddingLeft)||0,l=parseFloat(t.paddingRight)||0,d=parseFloat(t.paddingBottom)||0;return{borderTop:i,borderLeft:n,borderRight:s,borderBottom:r,paddingTop:o,paddingLeft:a,paddingRight:l,paddingBottom:d,horizontalSum:n+a+l+s,verticalSum:i+o+d+r}},e.sizeLimits=function(e){let t=window.getComputedStyle(e),i=parseFloat(t.minWidth)||0,n=parseFloat(t.minHeight)||0,s=parseFloat(t.maxWidth)||1/0,r=parseFloat(t.maxHeight)||1/0;return s=Math.max(i,s),r=Math.max(n,r),{minWidth:i,minHeight:n,maxWidth:s,maxHeight:r}},e.hitTest=function(e,t,i){let n=e.getBoundingClientRect();return t>=n.left&&t<n.right&&i>=n.top&&i<n.bottom},e.scrollIntoViewIfNeeded=function(e,t){let i=e.getBoundingClientRect(),n=t.getBoundingClientRect();n.top<=i.top&&n.bottom>=i.bottom||(n.top<i.top&&n.height<=i.height||n.bottom>i.bottom&&n.height>=i.height?e.scrollTop-=i.top-n.top:(n.top<i.top&&n.height>i.height||n.bottom>i.bottom&&n.height<i.height)&&(e.scrollTop-=i.bottom-n.bottom))}}(me||(me={})),function(e){e.IS_MAC=!!navigator.platform.match(/Mac/i),e.IS_WIN=!!navigator.platform.match(/Win/i),e.IS_IE=/Trident/.test(navigator.userAgent),e.IS_EDGE=/Edge/.test(navigator.userAgent),e.accelKey=function(t){return e.IS_MAC?t.metaKey:t.ctrlKey}}(ge||(ge={})),function(e){e.calculateSpecificity=function(e){if(e in _e.specificityCache)return _e.specificityCache[e];let t=_e.calculateSingle(e);return _e.specificityCache[e]=t},e.isValid=function(e){if(e in _e.validityCache)return _e.validityCache[e];let t=!0;try{_e.testElem.querySelector(e)}catch(e){t=!1}return _e.validityCache[e]=t},e.matches=function(e,t){return _e.protoMatchFunc.call(e,t)}}(ve||(ve={})),function(e){e.specificityCache=Object.create(null),e.validityCache=Object.create(null),e.testElem=document.createElement("div"),e.protoMatchFunc=(()=>{let e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){let t=this,i=t.ownerDocument?t.ownerDocument.querySelectorAll(e):[];return-1!==Array.prototype.indexOf.call(i,t)}})(),e.calculateSingle=function(e){let d=0,h=0,u=0;function c(t){let i=e.match(t);return null!==i&&(e=e.slice(i[0].length),!0)}for(e=(e=e.split(",",1)[0]).replace(l," $1 ");e.length>0;)if(c(t))d++;else if(c(i))h++;else if(c(n))h++;else if(c(r))u++;else if(c(o))h++;else if(c(s))u++;else if(!c(a))return 0;return d=Math.min(d,255),h=Math.min(h,255),u=Math.min(u,255),d<<16|h<<8|u};const t=/^#[^\s\+>~#\.\[:]+/,i=/^\.[^\s\+>~#\.\[:]+/,n=/^\[[^\]]+\]/,s=/^[^\s\+>~#\.\[:]+/,r=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,o=/^:[^\s\+>~#\.\[:]+/,a=/^[\s\+>~\*]+/,l=/:not\(([^\)]+)\)/g}(_e||(_e={}));class Ie{constructor(e,t,i=[]){this.name=e,this._codes=t,this._keys=Ie.extractKeys(t),this._modifierKeys=Ie.convertToKeySet(i)}keys(){return Object.keys(this._keys)}isValidKey(e){return e in this._keys}isModifierKey(e){return e in this._modifierKeys}keyForKeydownEvent(e){return this._codes[e.keyCode]||""}}!function(e){e.extractKeys=function(e){let t=Object.create(null);for(let i in e)t[e[i]]=!0;return t},e.convertToKeySet=function(e){let t=Object(null);for(let i=0,n=e.length;i<n;++i)t[e[i]]=!0;return t}}(Ie||(Ie={}));const ze=new Ie("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);var De,Oe,Ne,je,Be,Pe,Re,He;!function(e){e.keyboardLayout=ze}(De||(De={}));class We{constructor(){this._timerID=0,this._replaying=!1,this._keystrokes=[],this._keydownEvents=[],this._keyBindings=[],this._exactKeyMatch=null,this._commands=new Map,this._commandChanged=new Se(this),this._commandExecuted=new Se(this),this._keyBindingChanged=new Se(this),this._holdKeyBindingPromises=new Map}get commandChanged(){return this._commandChanged}get commandExecuted(){return this._commandExecuted}get keyBindingChanged(){return this._keyBindingChanged}get keyBindings(){return this._keyBindings}listCommands(){return Array.from(this._commands.keys())}hasCommand(e){return this._commands.has(e)}addCommand(e,t){if(this._commands.has(e))throw new Error(`Command '${e}' already registered.`);return this._commands.set(e,Oe.createCommand(t)),this._commandChanged.emit({id:e,type:"added"}),new ke((()=>{this._commands.delete(e),this._commandChanged.emit({id:e,type:"removed"})}))}notifyCommandChanged(e){if(void 0!==e&&!this._commands.has(e))throw new Error(`Command '${e}' is not registered.`);this._commandChanged.emit({id:e,type:e?"changed":"many-changed"})}describedBy(e,t=ye.JSONExt.emptyObject){var i;let n=this._commands.get(e);return Promise.resolve(null!==(i=null==n?void 0:n.describedBy.call(void 0,t))&&void 0!==i?i:{args:null})}label(e,t=ye.JSONExt.emptyObject){var i;let n=this._commands.get(e);return null!==(i=null==n?void 0:n.label.call(void 0,t))&&void 0!==i?i:""}mnemonic(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.mnemonic.call(void 0,t):-1}icon(e,t=ye.JSONExt.emptyObject){var i;return null===(i=this._commands.get(e))||void 0===i?void 0:i.icon.call(void 0,t)}iconClass(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.iconClass.call(void 0,t):""}iconLabel(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.iconLabel.call(void 0,t):""}caption(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.caption.call(void 0,t):""}usage(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.usage.call(void 0,t):""}className(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.className.call(void 0,t):""}dataset(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return i?i.dataset.call(void 0,t):{}}isEnabled(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return!!i&&i.isEnabled.call(void 0,t)}isToggled(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return!!i&&i.isToggled.call(void 0,t)}isToggleable(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return!!i&&i.isToggleable}isVisible(e,t=ye.JSONExt.emptyObject){let i=this._commands.get(e);return!!i&&i.isVisible.call(void 0,t)}execute(e,t=ye.JSONExt.emptyObject){let i,n=this._commands.get(e);if(!n)return Promise.reject(new Error(`Command '${e}' not registered.`));try{i=n.execute.call(void 0,t)}catch(e){i=Promise.reject(e)}let s=Promise.resolve(i);return this._commandExecuted.emit({id:e,args:t,result:s}),s}addKeyBinding(e){let t=Oe.createKeyBinding(e);return this._keyBindings.push(t),this._keyBindingChanged.emit({binding:t,type:"added"}),new ke((()=>{Q.removeFirstOf(this._keyBindings,t),this._keyBindingChanged.emit({binding:t,type:"removed"})}))}processKeydownEvent(e){if(e.defaultPrevented||this._replaying||We.isModifierKeyPressed(e))return;const t=We.keystrokeForKeydownEvent(e);if(!t)return this._replayKeydownEvents(),void this._clearPendingState();this._keystrokes.push(t);const{exact:i,partial:n}=Oe.matchKeyBinding(this._keyBindings,this._keystrokes,e),s=0!==n.length;return i||s?(((null==i?void 0:i.preventDefault)||n.some((e=>e.preventDefault)))&&(e.preventDefault(),e.stopPropagation()),this._keydownEvents.push(e),i&&!s?(this._executeKeyBinding(i),void this._clearPendingState()):(i&&(this._exactKeyMatch=i),void this._startTimer())):(this._replayKeydownEvents(),void this._clearPendingState())}holdKeyBindingExecution(e,t){this._holdKeyBindingPromises.set(e,t)}_startTimer(){this._clearTimer(),this._timerID=window.setTimeout((()=>{this._onPendingTimeout()}),Oe.CHORD_TIMEOUT)}_clearTimer(){0!==this._timerID&&(clearTimeout(this._timerID),this._timerID=0)}_replayKeydownEvents(){0!==this._keydownEvents.length&&(this._replaying=!0,this._keydownEvents.forEach(Oe.replayKeyEvent),this._replaying=!1)}async _executeKeyBinding(e){if(0!==this._holdKeyBindingPromises.size){const e=[...this._keydownEvents],t=(await Promise.race([Promise.all(e.map((async e=>{var t;return null!==(t=this._holdKeyBindingPromises.get(e))&&void 0!==t?t:Promise.resolve(!0)}))),new Promise((e=>{setTimeout((()=>e([!1])),Oe.KEYBINDING_HOLD_TIMEOUT)}))])).every(Boolean);if(this._holdKeyBindingPromises.clear(),!t)return}let{command:t,args:i}=e,n={_luminoEvent:{type:"keybinding",keys:e.keys},...i};if(this.hasCommand(t)&&this.isEnabled(t,n))await this.execute(t,n);else{let i=this.hasCommand(t)?"enabled":"registered",n=`Cannot execute key binding '${e.keys.join(", ")}':`,s=`command '${t}' is not ${i}.`;console.warn(`${n} ${s}`)}}_clearPendingState(){this._clearTimer(),this._exactKeyMatch=null,this._keystrokes.length=0,this._keydownEvents.length=0}_onPendingTimeout(){this._timerID=0,this._exactKeyMatch?this._executeKeyBinding(this._exactKeyMatch):this._replayKeydownEvents(),this._clearPendingState()}}!function(e){function t(e){let t="",i=!1,n=!1,s=!1,r=!1;for(let o of e.split(/\s+/))"Accel"===o?ge.IS_MAC?n=!0:s=!0:"Alt"===o?i=!0:"Cmd"===o?n=!0:"Ctrl"===o?s=!0:"Shift"===o?r=!0:o.length>0&&(t=o);return{cmd:n,ctrl:s,alt:i,shift:r,key:t}}function i(e){let i="",n=t(e);return n.ctrl&&(i+="Ctrl "),n.alt&&(i+="Alt "),n.shift&&(i+="Shift "),n.cmd&&ge.IS_MAC&&(i+="Cmd "),i+n.key}e.parseKeystroke=t,e.normalizeKeystroke=i,e.normalizeKeys=function(e){let t;return t=ge.IS_WIN?e.winKeys||e.keys:ge.IS_MAC?e.macKeys||e.keys:e.linuxKeys||e.keys,t.map(i)},e.formatKeystroke=function(e){return"string"==typeof e?i(e):e.map(i).join(", ");function i(e){let i=[],n=ge.IS_MAC?" ":"+",s=t(e);return s.ctrl&&i.push("Ctrl"),s.alt&&i.push("Alt"),s.shift&&i.push("Shift"),ge.IS_MAC&&s.cmd&&i.push("Cmd"),i.push(s.key),i.map(Oe.formatKey).join(n)}},e.isModifierKeyPressed=function(e){let t=Le(),i=t.keyForKeydownEvent(e);return t.isModifierKey(i)},e.keystrokeForKeydownEvent=function(e){let t=Le(),i=t.keyForKeydownEvent(e);if(!i||t.isModifierKey(i))return"";let n=[];return e.ctrlKey&&n.push("Ctrl"),e.altKey&&n.push("Alt"),e.shiftKey&&n.push("Shift"),e.metaKey&&ge.IS_MAC&&n.push("Cmd"),n.push(i),n.join(" ")}}(We||(We={})),function(e){e.CHORD_TIMEOUT=1e3,e.KEYBINDING_HOLD_TIMEOUT=1e3,e.createCommand=function(e){return{execute:e.execute,describedBy:d("function"==typeof e.describedBy?e.describedBy:{args:null,...e.describedBy},(()=>({args:null}))),label:d(e.label,n),mnemonic:d(e.mnemonic,s),icon:d(e.icon,l),iconClass:d(e.iconClass,n),iconLabel:d(e.iconLabel,n),caption:d(e.caption,n),usage:d(e.usage,n),className:d(e.className,n),dataset:d(e.dataset,a),isEnabled:e.isEnabled||r,isToggled:e.isToggled||o,isToggleable:e.isToggleable||!!e.isToggled,isVisible:e.isVisible||r}},e.createKeyBinding=function(e){var t;return{keys:We.normalizeKeys(e),selector:h(e),command:e.command,args:e.args||ye.JSONExt.emptyObject,preventDefault:null===(t=e.preventDefault)||void 0===t||t}},e.matchKeyBinding=function(e,t,i){let n=null,s=[],r=1/0,o=0;for(let a=0,l=e.length;a<l;++a){let l=e[a],d=u(l.keys,t);if(0===d)continue;if(2===d){-1!==c(l.selector,i)&&s.push(l);continue}let h=c(l.selector,i);if(-1===h||h>r)continue;let p=ve.calculateSpecificity(l.selector);(!n||h<r||p>=o)&&(n=l,r=h,o=p)}return{exact:n,partial:s}},e.replayKeyEvent=function(e){e.target.dispatchEvent(function(e){let t=document.createEvent("Event"),i=e.bubbles||!0,n=e.cancelable||!0;return t.initEvent(e.type||"keydown",i,n),t.key=e.key||"",t.keyCode=e.keyCode||0,t.which=e.keyCode||0,t.ctrlKey=e.ctrlKey||!1,t.altKey=e.altKey||!1,t.shiftKey=e.shiftKey||!1,t.metaKey=e.metaKey||!1,t.view=e.view||window,t}(e))},e.formatKey=function(e){return ge.IS_MAC?t.hasOwnProperty(e)?t[e]:e:i.hasOwnProperty(e)?i[e]:e};const t={Backspace:"⌫",Tab:"⇥",Enter:"⏎",Shift:"⇧",Ctrl:"⌃",Alt:"⌥",Escape:"⎋",PageUp:"⇞",PageDown:"⇟",End:"↘",Home:"↖",ArrowLeft:"←",ArrowUp:"↑",ArrowRight:"→",ArrowDown:"↓",Delete:"⌦",Cmd:"⌘"},i={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},n=()=>"",s=()=>-1,r=()=>!0,o=()=>!1,a=()=>({}),l=()=>{};function d(e,t){return void 0===e?t:"function"==typeof e?e:()=>e}function h(e){if(-1!==e.selector.indexOf(","))throw new Error(`Selector cannot contain commas: ${e.selector}`);if(!ve.isValid(e.selector))throw new Error(`Invalid selector: ${e.selector}`);return e.selector}function u(e,t){if(e.length<t.length)return 0;for(let i=0,n=t.length;i<n;++i)if(e[i]!==t[i])return 0;return e.length>t.length?2:1}function c(e,t){let i=t.target,n=t.currentTarget;for(let t=0;null!==i;i=i.parentElement,++t){if(i.hasAttribute("data-lm-suppress-shortcuts"))return-1;if(ve.matches(i,e))return t;if(i===n)return-1}return-1}}(Oe||(Oe={}));class Ve{constructor(e){this.type="text",this.content=e}}class Fe{constructor(e,t,i,n){this.type="element",this.tag=e,this.attrs=t,this.children=i,this.renderer=n}}function qe(e){let t,i={},n=[];for(let e=1,r=arguments.length;e<r;++e){let r=arguments[e];"string"==typeof r?n.push(new Ve(r)):r instanceof Ve||r instanceof Fe?n.push(r):r instanceof Array?s(n,r):1!==e&&2!==e||!r||"object"!=typeof r||("render"in r?t=r:i=r)}return new Fe(e,i,n,t);function s(e,t){for(let i of t)"string"==typeof i?e.push(new Ve(i)):(i instanceof Ve||i instanceof Fe)&&e.push(i)}}!function(e){e.a=e.bind(void 0,"a"),e.abbr=e.bind(void 0,"abbr"),e.address=e.bind(void 0,"address"),e.area=e.bind(void 0,"area"),e.article=e.bind(void 0,"article"),e.aside=e.bind(void 0,"aside"),e.audio=e.bind(void 0,"audio"),e.b=e.bind(void 0,"b"),e.bdi=e.bind(void 0,"bdi"),e.bdo=e.bind(void 0,"bdo"),e.blockquote=e.bind(void 0,"blockquote"),e.br=e.bind(void 0,"br"),e.button=e.bind(void 0,"button"),e.canvas=e.bind(void 0,"canvas"),e.caption=e.bind(void 0,"caption"),e.cite=e.bind(void 0,"cite"),e.code=e.bind(void 0,"code"),e.col=e.bind(void 0,"col"),e.colgroup=e.bind(void 0,"colgroup"),e.data=e.bind(void 0,"data"),e.datalist=e.bind(void 0,"datalist"),e.dd=e.bind(void 0,"dd"),e.del=e.bind(void 0,"del"),e.dfn=e.bind(void 0,"dfn"),e.div=e.bind(void 0,"div"),e.dl=e.bind(void 0,"dl"),e.dt=e.bind(void 0,"dt"),e.em=e.bind(void 0,"em"),e.embed=e.bind(void 0,"embed"),e.fieldset=e.bind(void 0,"fieldset"),e.figcaption=e.bind(void 0,"figcaption"),e.figure=e.bind(void 0,"figure"),e.footer=e.bind(void 0,"footer"),e.form=e.bind(void 0,"form"),e.h1=e.bind(void 0,"h1"),e.h2=e.bind(void 0,"h2"),e.h3=e.bind(void 0,"h3"),e.h4=e.bind(void 0,"h4"),e.h5=e.bind(void 0,"h5"),e.h6=e.bind(void 0,"h6"),e.header=e.bind(void 0,"header"),e.hr=e.bind(void 0,"hr"),e.i=e.bind(void 0,"i"),e.iframe=e.bind(void 0,"iframe"),e.img=e.bind(void 0,"img"),e.input=e.bind(void 0,"input"),e.ins=e.bind(void 0,"ins"),e.kbd=e.bind(void 0,"kbd"),e.label=e.bind(void 0,"label"),e.legend=e.bind(void 0,"legend"),e.li=e.bind(void 0,"li"),e.main=e.bind(void 0,"main"),e.map=e.bind(void 0,"map"),e.mark=e.bind(void 0,"mark"),e.meter=e.bind(void 0,"meter"),e.nav=e.bind(void 0,"nav"),e.noscript=e.bind(void 0,"noscript"),e.object=e.bind(void 0,"object"),e.ol=e.bind(void 0,"ol"),e.optgroup=e.bind(void 0,"optgroup"),e.option=e.bind(void 0,"option"),e.output=e.bind(void 0,"output"),e.p=e.bind(void 0,"p"),e.param=e.bind(void 0,"param"),e.pre=e.bind(void 0,"pre"),e.progress=e.bind(void 0,"progress"),e.q=e.bind(void 0,"q"),e.rp=e.bind(void 0,"rp"),e.rt=e.bind(void 0,"rt"),e.ruby=e.bind(void 0,"ruby"),e.s=e.bind(void 0,"s"),e.samp=e.bind(void 0,"samp"),e.section=e.bind(void 0,"section"),e.select=e.bind(void 0,"select"),e.small=e.bind(void 0,"small"),e.source=e.bind(void 0,"source"),e.span=e.bind(void 0,"span"),e.strong=e.bind(void 0,"strong"),e.sub=e.bind(void 0,"sub"),e.summary=e.bind(void 0,"summary"),e.sup=e.bind(void 0,"sup"),e.table=e.bind(void 0,"table"),e.tbody=e.bind(void 0,"tbody"),e.td=e.bind(void 0,"td"),e.textarea=e.bind(void 0,"textarea"),e.tfoot=e.bind(void 0,"tfoot"),e.th=e.bind(void 0,"th"),e.thead=e.bind(void 0,"thead"),e.time=e.bind(void 0,"time"),e.title=e.bind(void 0,"title"),e.tr=e.bind(void 0,"tr"),e.track=e.bind(void 0,"track"),e.u=e.bind(void 0,"u"),e.ul=e.bind(void 0,"ul"),e.var_=e.bind(void 0,"var"),e.video=e.bind(void 0,"video"),e.wbr=e.bind(void 0,"wbr")}(qe||(qe={})),function(e){e.realize=function(e){return je.createDOMNode(e)},e.render=function(e,t){let i=je.hostMap.get(t)||[],n=je.asContentArray(e);je.hostMap.set(t,n),je.updateContent(t,i,n)}}(Ne||(Ne={})),function(e){function t(e){let i=arguments[1]||null;const s=arguments[2]||null;if(i)i.insertBefore(t(e),s);else{if("text"===e.type)return document.createTextNode(e.content);if(i=document.createElement(e.tag),function(e,t){for(let i in t)i in n||("on"===i.substr(0,2)?e[i]=t[i]:e.setAttribute(i,t[i]));void 0!==t.className&&e.setAttribute("class",t.className),void 0!==t.htmlFor&&e.setAttribute("for",t.htmlFor),t.dataset&&function(e,t){for(let i in t)e.setAttribute(`data-${i}`,t[i])}(e,t.dataset),t.style&&function(e,t){let i,n=e.style;for(i in t)n[i]=t[i]}(e,t.style)}(i,e.attrs),e.renderer)return e.renderer.render(i,{attrs:e.attrs,children:e.children}),i;for(let n=0,s=e.children.length;n<s;++n)t(e.children[n],i)}return i}function i(e,t,n,s){for(let r=t.length-1;r>=n;--r){const n=t[r],o=s?e.lastChild:e.childNodes[r];"text"===n.type||(n.renderer&&n.renderer.unrender?n.renderer.unrender(o,{attrs:n.attrs,children:n.children}):i(o,n.children,0,!1)),s&&e.removeChild(o)}}e.hostMap=new WeakMap,e.asContentArray=function(e){return e?e instanceof Array?e:[e]:[]},e.createDOMNode=t,e.updateContent=function e(n,r,o){if(r===o)return;let a=function(e,t){let i=e.firstChild,n=Object.create(null);for(let e of t)"element"===e.type&&e.attrs.key&&(n[e.attrs.key]={vNode:e,element:i}),i=i.nextSibling;return n}(n,r),l=r.slice(),d=n.firstChild,h=o.length;for(let i=0;i<h;++i){if(i>=l.length){t(o[i],n);continue}let r=l[i],h=o[i];if(r===h){d=d.nextSibling;continue}if("text"===r.type&&"text"===h.type){d.textContent!==h.content&&(d.textContent=h.content),d=d.nextSibling;continue}if("text"===r.type||"text"===h.type){Q.insert(l,i,h),t(h,n,d);continue}if(!r.renderer!=!h.renderer){Q.insert(l,i,h),t(h,n,d);continue}let u=h.attrs.key;if(u&&u in a){let e=a[u];e.vNode!==r&&(Q.move(l,l.indexOf(e.vNode,i+1),i),n.insertBefore(e.element,d),r=e.vNode,d=e.element)}if(r===h){d=d.nextSibling;continue}let c=r.attrs.key;c&&c!==u?(Q.insert(l,i,h),t(h,n,d)):r.tag===h.tag?(s(d,r.attrs,h.attrs),h.renderer?h.renderer.render(d,{attrs:h.attrs,children:h.children}):e(d,r.children,h.children),d=d.nextSibling):(Q.insert(l,i,h),t(h,n,d))}i(n,l,h,!0)};const n={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function s(e,t,i){if(t===i)return;let s;for(s in t)s in n||s in i||("on"===s.substr(0,2)?e[s]=null:e.removeAttribute(s));for(s in i)s in n||t[s]===i[s]||("on"===s.substr(0,2)?e[s]=i[s]:e.setAttribute(s,i[s]));t.className!==i.className&&(void 0!==i.className?e.setAttribute("class",i.className):e.removeAttribute("class")),t.htmlFor!==i.htmlFor&&(void 0!==i.htmlFor?e.setAttribute("for",i.htmlFor):e.removeAttribute("for")),t.dataset!==i.dataset&&function(e,t,i){for(let n in t)n in i||e.removeAttribute(`data-${n}`);for(let n in i)t[n]!==i[n]&&e.setAttribute(`data-${n}`,i[n])}(e,t.dataset||{},i.dataset||{}),t.style!==i.style&&function(e,t,i){let n,s=e.style;for(n in t)n in i||(s[n]="");for(n in i)t[n]!==i[n]&&(s[n]=i[n])}(e,t.style||{},i.style||{})}}(je||(je={}));class $e{constructor(){this.sizeHint=0,this.minSize=0,this.maxSize=1/0,this.stretch=1,this.size=0,this.done=!1}}!function(e){e.calc=function(e,t){let i=e.length;if(0===i)return t;let n=0,s=0,r=0,o=0,a=0;for(let t=0;t<i;++t){let i=e[t],l=i.minSize,d=i.maxSize,h=i.sizeHint;i.done=!1,i.size=Math.max(l,Math.min(h,d)),r+=i.size,n+=l,s+=d,i.stretch>0&&(o+=i.stretch,a++)}if(t===r)return 0;if(t<=n){for(let t=0;t<i;++t){let i=e[t];i.size=i.minSize}return t-n}if(t>=s){for(let t=0;t<i;++t){let i=e[t];i.size=i.maxSize}return t-s}let l=.01,d=i;if(t<r){let n=r-t;for(;a>0&&n>l;){let t=n,s=o;for(let r=0;r<i;++r){let i=e[r];if(i.done||0===i.stretch)continue;let l=i.stretch*t/s;i.size-l<=i.minSize?(n-=i.size-i.minSize,o-=i.stretch,i.size=i.minSize,i.done=!0,d--,a--):(n-=l,i.size-=l)}}for(;d>0&&n>l;){let t=n/d;for(let s=0;s<i;++s){let i=e[s];i.done||(i.size-t<=i.minSize?(n-=i.size-i.minSize,i.size=i.minSize,i.done=!0,d--):(n-=t,i.size-=t))}}}else{let n=t-r;for(;a>0&&n>l;){let t=n,s=o;for(let r=0;r<i;++r){let i=e[r];if(i.done||0===i.stretch)continue;let l=i.stretch*t/s;i.size+l>=i.maxSize?(n-=i.maxSize-i.size,o-=i.stretch,i.size=i.maxSize,i.done=!0,d--,a--):(n-=l,i.size+=l)}}for(;d>0&&n>l;){let t=n/d;for(let s=0;s<i;++s){let i=e[s];i.done||(i.size+t>=i.maxSize?(n-=i.maxSize-i.size,i.size=i.maxSize,i.done=!0,d--):(n-=t,i.size+=t))}}}return 0},e.adjust=function(e,t,i){0!==e.length&&0!==i&&(i>0?function(e,t,i){let n=0;for(let i=0;i<=t;++i){let t=e[i];n+=t.maxSize-t.size}let s=0;for(let i=t+1,n=e.length;i<n;++i){let t=e[i];s+=t.size-t.minSize}let r=i=Math.min(i,n,s);for(let i=t;i>=0&&r>0;--i){let t=e[i],n=t.maxSize-t.size;n>=r?(t.sizeHint=t.size+r,r=0):(t.sizeHint=t.size+n,r-=n)}let o=i;for(let i=t+1,n=e.length;i<n&&o>0;++i){let t=e[i],n=t.size-t.minSize;n>=o?(t.sizeHint=t.size-o,o=0):(t.sizeHint=t.size-n,o-=n)}}(e,t,i):function(e,t,i){let n=0;for(let i=t+1,s=e.length;i<s;++i){let t=e[i];n+=t.maxSize-t.size}let s=0;for(let i=0;i<=t;++i){let t=e[i];s+=t.size-t.minSize}let r=i=Math.min(i,n,s);for(let i=t+1,n=e.length;i<n&&r>0;++i){let t=e[i],n=t.maxSize-t.size;n>=r?(t.sizeHint=t.size+r,r=0):(t.sizeHint=t.size+n,r-=n)}let o=i;for(let i=t;i>=0&&o>0;--i){let t=e[i],n=t.size-t.minSize;n>=o?(t.sizeHint=t.size-o,o=0):(t.sizeHint=t.size-n,o-=n)}}(e,t,-i))}}(Be||(Be={}));class Ue{constructor(e){this._label="",this._caption="",this._mnemonic=-1,this._icon=void 0,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new Se(this),this._isDisposed=!1,this.owner=e.owner,void 0!==e.label&&(this._label=e.label),void 0!==e.mnemonic&&(this._mnemonic=e.mnemonic),void 0!==e.icon&&(this._icon=e.icon),void 0!==e.iconClass&&(this._iconClass=e.iconClass),void 0!==e.iconLabel&&(this._iconLabel=e.iconLabel),void 0!==e.caption&&(this._caption=e.caption),void 0!==e.className&&(this._className=e.className),void 0!==e.closable&&(this._closable=e.closable),this._dataset=e.dataset||{}}get changed(){return this._changed}get label(){return this._label}set label(e){this._label!==e&&(this._label=e,this._changed.emit(void 0))}get mnemonic(){return this._mnemonic}set mnemonic(e){this._mnemonic!==e&&(this._mnemonic=e,this._changed.emit(void 0))}get icon(){return this._icon}set icon(e){this._icon!==e&&(this._icon=e,this._changed.emit(void 0))}get iconClass(){return this._iconClass}set iconClass(e){this._iconClass!==e&&(this._iconClass=e,this._changed.emit(void 0))}get iconLabel(){return this._iconLabel}set iconLabel(e){this._iconLabel!==e&&(this._iconLabel=e,this._changed.emit(void 0))}get caption(){return this._caption}set caption(e){this._caption!==e&&(this._caption=e,this._changed.emit(void 0))}get className(){return this._className}set className(e){this._className!==e&&(this._className=e,this._changed.emit(void 0))}get closable(){return this._closable}set closable(e){this._closable!==e&&(this._closable=e,this._changed.emit(void 0))}get dataset(){return this._dataset}set dataset(e){this._dataset!==e&&(this._dataset=e,this._changed.emit(void 0))}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,Se.clearData(this))}}class Ke{constructor(e={}){this._flags=0,this._layout=null,this._parent=null,this._disposed=new Se(this),this._hiddenMode=Ke.HiddenMode.Display,this.node=Pe.createNode(e),this.addClass("lm-Widget")}dispose(){this.isDisposed||(this.setFlag(Ke.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&Ke.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),Se.clearData(this),he.clearData(this),Ce.clearData(this))}get disposed(){return this._disposed}get isDisposed(){return this.testFlag(Ke.Flag.IsDisposed)}get isAttached(){return this.testFlag(Ke.Flag.IsAttached)}get isHidden(){return this.testFlag(Ke.Flag.IsHidden)}get isVisible(){return this.testFlag(Ke.Flag.IsVisible)}get title(){return Pe.titleProperty.get(this)}get id(){return this.node.id}set id(e){this.node.id=e}get dataset(){return this.node.dataset}get hiddenMode(){return this._hiddenMode}set hiddenMode(e){this._hiddenMode!==e&&(this.isHidden&&this._toggleHidden(!1),e==Ke.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=e,this.isHidden&&this._toggleHidden(!0))}get parent(){return this._parent}set parent(e){if(this._parent!==e){if(e&&this.contains(e))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){let e=new Ke.ChildMessage("child-removed",this);he.sendMessage(this._parent,e)}if(this._parent=e,this._parent&&!this._parent.isDisposed){let e=new Ke.ChildMessage("child-added",this);he.sendMessage(this._parent,e)}this.isDisposed||he.sendMessage(this,Ke.Msg.ParentChanged)}}get layout(){return this._layout}set layout(e){if(this._layout!==e){if(this.testFlag(Ke.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(e.parent)throw new Error("Cannot change layout parent.");this._layout=e,e.parent=this}}*children(){this._layout&&(yield*this._layout)}contains(e){for(let t=e;t;t=t._parent)if(t===this)return!0;return!1}hasClass(e){return this.node.classList.contains(e)}addClass(e){this.node.classList.add(e)}removeClass(e){this.node.classList.remove(e)}toggleClass(e,t){return!0===t?(this.node.classList.add(e),!0):!1===t?(this.node.classList.remove(e),!1):this.node.classList.toggle(e)}update(){he.postMessage(this,Ke.Msg.UpdateRequest)}fit(){he.postMessage(this,Ke.Msg.FitRequest)}activate(){he.postMessage(this,Ke.Msg.ActivateRequest)}close(){he.sendMessage(this,Ke.Msg.CloseRequest)}show(){if(this.testFlag(Ke.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||he.sendMessage(this,Ke.Msg.BeforeShow),this.clearFlag(Ke.Flag.IsHidden),this._toggleHidden(!1),!this.isAttached||this.parent&&!this.parent.isVisible||he.sendMessage(this,Ke.Msg.AfterShow),this.parent)){let e=new Ke.ChildMessage("child-shown",this);he.sendMessage(this.parent,e)}}hide(){if(!this.testFlag(Ke.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||he.sendMessage(this,Ke.Msg.BeforeHide),this.setFlag(Ke.Flag.IsHidden),this._toggleHidden(!0),!this.isAttached||this.parent&&!this.parent.isVisible||he.sendMessage(this,Ke.Msg.AfterHide),this.parent)){let e=new Ke.ChildMessage("child-hidden",this);he.sendMessage(this.parent,e)}}setHidden(e){e?this.hide():this.show()}testFlag(e){return!!(this._flags&e)}setFlag(e){this._flags|=e}clearFlag(e){this._flags&=~e}processMessage(e){switch(e.type){case"resize":this.notifyLayout(e),this.onResize(e);break;case"update-request":this.notifyLayout(e),this.onUpdateRequest(e);break;case"fit-request":this.notifyLayout(e),this.onFitRequest(e);break;case"before-show":this.notifyLayout(e),this.onBeforeShow(e);break;case"after-show":this.setFlag(Ke.Flag.IsVisible),this.notifyLayout(e),this.onAfterShow(e);break;case"before-hide":this.notifyLayout(e),this.onBeforeHide(e);break;case"after-hide":this.clearFlag(Ke.Flag.IsVisible),this.notifyLayout(e),this.onAfterHide(e);break;case"before-attach":this.notifyLayout(e),this.onBeforeAttach(e);break;case"after-attach":this.isHidden||this.parent&&!this.parent.isVisible||this.setFlag(Ke.Flag.IsVisible),this.setFlag(Ke.Flag.IsAttached),this.notifyLayout(e),this.onAfterAttach(e);break;case"before-detach":this.notifyLayout(e),this.onBeforeDetach(e);break;case"after-detach":this.clearFlag(Ke.Flag.IsVisible),this.clearFlag(Ke.Flag.IsAttached),this.notifyLayout(e),this.onAfterDetach(e);break;case"activate-request":this.notifyLayout(e),this.onActivateRequest(e);break;case"close-request":this.notifyLayout(e),this.onCloseRequest(e);break;case"child-added":this.notifyLayout(e),this.onChildAdded(e);break;case"child-removed":this.notifyLayout(e),this.onChildRemoved(e);break;default:this.notifyLayout(e)}}notifyLayout(e){this._layout&&this._layout.processParentMessage(e)}onCloseRequest(e){this.parent?this.parent=null:this.isAttached&&Ke.detach(this)}onResize(e){}onUpdateRequest(e){}onFitRequest(e){}onActivateRequest(e){}onBeforeShow(e){}onAfterShow(e){}onBeforeHide(e){}onAfterHide(e){}onBeforeAttach(e){}onAfterAttach(e){}onBeforeDetach(e){}onAfterDetach(e){}onChildAdded(e){}onChildRemoved(e){}_toggleHidden(e){if(e)switch(this._hiddenMode){case Ke.HiddenMode.Display:this.addClass("lm-mod-hidden");break;case Ke.HiddenMode.Scale:this.node.style.transform="scale(0)",this.node.setAttribute("aria-hidden","true");break;case Ke.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1"}else switch(this._hiddenMode){case Ke.HiddenMode.Display:this.removeClass("lm-mod-hidden");break;case Ke.HiddenMode.Scale:this.node.style.transform="",this.node.removeAttribute("aria-hidden");break;case Ke.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex=""}}}!function(e){var t,i,n;(t=e.HiddenMode||(e.HiddenMode={}))[t.Display=0]="Display",t[t.Scale=1]="Scale",t[t.ContentVisibility=2]="ContentVisibility",(i=e.Flag||(e.Flag={}))[i.IsDisposed=1]="IsDisposed",i[i.IsAttached=2]="IsAttached",i[i.IsHidden=4]="IsHidden",i[i.IsVisible=8]="IsVisible",i[i.DisallowLayout=16]="DisallowLayout",(n=e.Msg||(e.Msg={})).BeforeShow=new we("before-show"),n.AfterShow=new we("after-show"),n.BeforeHide=new we("before-hide"),n.AfterHide=new we("after-hide"),n.BeforeAttach=new we("before-attach"),n.AfterAttach=new we("after-attach"),n.BeforeDetach=new we("before-detach"),n.AfterDetach=new we("after-detach"),n.ParentChanged=new we("parent-changed"),n.UpdateRequest=new Me("update-request"),n.FitRequest=new Me("fit-request"),n.ActivateRequest=new Me("activate-request"),n.CloseRequest=new Me("close-request"),e.ChildMessage=class extends we{constructor(e,t){super(e),this.child=t}};class s extends we{constructor(e,t){super("resize"),this.width=e,this.height=t}}e.ResizeMessage=s,function(e){e.UnknownSize=new e(-1,-1)}(s=e.ResizeMessage||(e.ResizeMessage={})),e.attach=function(t,i,n=null){if(t.parent)throw new Error("Cannot attach a child widget.");if(t.isAttached||t.node.isConnected)throw new Error("Widget is already attached.");if(!i.isConnected)throw new Error("Host is not attached.");he.sendMessage(t,e.Msg.BeforeAttach),i.insertBefore(t.node,n),he.sendMessage(t,e.Msg.AfterAttach)},e.detach=function(t){if(t.parent)throw new Error("Cannot detach a child widget.");if(!t.isAttached||!t.node.isConnected)throw new Error("Widget is not attached.");he.sendMessage(t,e.Msg.BeforeDetach),t.node.parentNode.removeChild(t.node),he.sendMessage(t,e.Msg.AfterDetach)}}(Ke||(Ke={})),function(e){e.titleProperty=new Ce({name:"title",create:e=>new Ue({owner:e})}),e.createNode=function(e){return e.node||document.createElement(e.tag||"div")}}(Pe||(Pe={}));class Xe{constructor(e={}){this._disposed=!1,this._parent=null,this._fitPolicy=e.fitPolicy||"set-min-size"}dispose(){this._parent=null,this._disposed=!0,Se.clearData(this),Ce.clearData(this)}get isDisposed(){return this._disposed}get parent(){return this._parent}set parent(e){if(this._parent!==e){if(this._parent)throw new Error("Cannot change parent widget.");if(e.layout!==this)throw new Error("Invalid parent widget.");this._parent=e,this.init()}}get fitPolicy(){return this._fitPolicy}set fitPolicy(e){if(this._fitPolicy!==e&&(this._fitPolicy=e,this._parent)){let e=this._parent.node.style;e.minWidth="",e.minHeight="",e.maxWidth="",e.maxHeight="",this._parent.fit()}}processParentMessage(e){switch(e.type){case"resize":this.onResize(e);break;case"update-request":this.onUpdateRequest(e);break;case"fit-request":this.onFitRequest(e);break;case"before-show":this.onBeforeShow(e);break;case"after-show":this.onAfterShow(e);break;case"before-hide":this.onBeforeHide(e);break;case"after-hide":this.onAfterHide(e);break;case"before-attach":this.onBeforeAttach(e);break;case"after-attach":this.onAfterAttach(e);break;case"before-detach":this.onBeforeDetach(e);break;case"after-detach":this.onAfterDetach(e);break;case"child-removed":this.onChildRemoved(e);break;case"child-shown":this.onChildShown(e);break;case"child-hidden":this.onChildHidden(e)}}init(){for(const e of this)e.parent=this.parent}onResize(e){for(const e of this)he.sendMessage(e,Ke.ResizeMessage.UnknownSize)}onUpdateRequest(e){for(const e of this)he.sendMessage(e,Ke.ResizeMessage.UnknownSize)}onBeforeAttach(e){for(const t of this)he.sendMessage(t,e)}onAfterAttach(e){for(const t of this)he.sendMessage(t,e)}onBeforeDetach(e){for(const t of this)he.sendMessage(t,e)}onAfterDetach(e){for(const t of this)he.sendMessage(t,e)}onBeforeShow(e){for(const t of this)t.isHidden||he.sendMessage(t,e)}onAfterShow(e){for(const t of this)t.isHidden||he.sendMessage(t,e)}onBeforeHide(e){for(const t of this)t.isHidden||he.sendMessage(t,e)}onAfterHide(e){for(const t of this)t.isHidden||he.sendMessage(t,e)}onChildRemoved(e){this.removeWidget(e.child)}onFitRequest(e){}onChildShown(e){}onChildHidden(e){}}!function(e){e.getHorizontalAlignment=function(e){return Re.horizontalAlignmentProperty.get(e)},e.setHorizontalAlignment=function(e,t){Re.horizontalAlignmentProperty.set(e,t)},e.getVerticalAlignment=function(e){return Re.verticalAlignmentProperty.get(e)},e.setVerticalAlignment=function(e,t){Re.verticalAlignmentProperty.set(e,t)}}(Xe||(Xe={}));class Ye{constructor(e){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=e,this.widget.node.style.position="absolute",this.widget.node.style.contain="strict"}dispose(){if(this._disposed)return;this._disposed=!0;let e=this.widget.node.style;e.position="",e.top="",e.left="",e.width="",e.height="",e.contain=""}get minWidth(){return this._minWidth}get minHeight(){return this._minHeight}get maxWidth(){return this._maxWidth}get maxHeight(){return this._maxHeight}get isDisposed(){return this._disposed}get isHidden(){return this.widget.isHidden}get isVisible(){return this.widget.isVisible}get isAttached(){return this.widget.isAttached}fit(){let e=re.sizeLimits(this.widget.node);this._minWidth=e.minWidth,this._minHeight=e.minHeight,this._maxWidth=e.maxWidth,this._maxHeight=e.maxHeight}update(e,t,i,n){let s=Math.max(this._minWidth,Math.min(i,this._maxWidth)),r=Math.max(this._minHeight,Math.min(n,this._maxHeight));if(s<i)switch(Xe.getHorizontalAlignment(this.widget)){case"left":break;case"center":e+=(i-s)/2;break;case"right":e+=i-s;break;default:throw"unreachable"}if(r<n)switch(Xe.getVerticalAlignment(this.widget)){case"top":break;case"center":t+=(n-r)/2;break;case"bottom":t+=n-r;break;default:throw"unreachable"}let o=!1,a=this.widget.node.style;if(this._top!==t&&(this._top=t,a.top=`${t}px`),this._left!==e&&(this._left=e,a.left=`${e}px`),this._width!==s&&(o=!0,this._width=s,a.width=`${s}px`),this._height!==r&&(o=!0,this._height=r,a.height=`${r}px`),o){let e=new Ke.ResizeMessage(s,r);he.sendMessage(this.widget,e)}}}!function(e){function t(e){e.parent&&e.parent.layout&&e.parent.update()}e.horizontalAlignmentProperty=new Ce({name:"horizontalAlignment",create:()=>"center",changed:t}),e.verticalAlignmentProperty=new Ce({name:"verticalAlignment",create:()=>"top",changed:t})}(Re||(Re={}));class Ge extends Xe{constructor(){super(...arguments),this._widgets=[]}dispose(){for(;this._widgets.length>0;)this._widgets.pop().dispose();super.dispose()}get widgets(){return this._widgets}*[Symbol.iterator](){yield*this._widgets}addWidget(e){this.insertWidget(this._widgets.length,e)}insertWidget(e,t){t.parent=this.parent;let i=this._widgets.indexOf(t),n=Math.max(0,Math.min(e,this._widgets.length));if(-1===i)return Q.insert(this._widgets,n,t),void(this.parent&&this.attachWidget(n,t));n===this._widgets.length&&n--,i!==n&&(Q.move(this._widgets,i,n),this.parent&&this.moveWidget(i,n,t))}removeWidget(e){this.removeWidgetAt(this._widgets.indexOf(e))}removeWidgetAt(e){let t=Q.removeAt(this._widgets,e);t&&this.parent&&this.detachWidget(e,t)}init(){super.init();let e=0;for(const t of this)this.attachWidget(e++,t)}attachWidget(e,t){let i=this.parent.node.children[e];this.parent.isAttached&&he.sendMessage(t,Ke.Msg.BeforeAttach),this.parent.node.insertBefore(t.node,i),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.AfterAttach)}moveWidget(e,t,i){this.parent.isAttached&&he.sendMessage(i,Ke.Msg.BeforeDetach),this.parent.node.removeChild(i.node),this.parent.isAttached&&he.sendMessage(i,Ke.Msg.AfterDetach);let n=this.parent.node.children[t];this.parent.isAttached&&he.sendMessage(i,Ke.Msg.BeforeAttach),this.parent.node.insertBefore(i.node,n),this.parent.isAttached&&he.sendMessage(i,Ke.Msg.AfterAttach)}detachWidget(e,t){this.parent.isAttached&&he.sendMessage(t,Ke.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.AfterDetach)}}!function(e){e.clampDimension=function(e){return Math.max(0,Math.floor(e))}}(He||(He={}));var Je,Qe,Ze,et,tt,it,nt,st,rt,ot,at=He;class lt extends Ge{constructor(e){super(),this.widgetOffset=0,this._fixed=0,this._spacing=4,this._dirty=!1,this._hasNormedSizes=!1,this._sizers=[],this._items=[],this._handles=[],this._box=null,this._alignment="start",this._orientation="horizontal",this.renderer=e.renderer,void 0!==e.orientation&&(this._orientation=e.orientation),void 0!==e.alignment&&(this._alignment=e.alignment),void 0!==e.spacing&&(this._spacing=He.clampDimension(e.spacing))}dispose(){for(const e of this._items)e.dispose();this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,super.dispose()}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this.parent&&(this.parent.dataset.orientation=e,this.parent.fit()))}get alignment(){return this._alignment}set alignment(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))}get spacing(){return this._spacing}set spacing(e){e=He.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())}get handles(){return this._handles}absoluteSizes(){return this._sizers.map((e=>e.size))}relativeSizes(){return Je.normalize(this._sizers.map((e=>e.size)))}setRelativeSizes(e,t=!0){let i=this._sizers.length,n=e.slice(0,i);for(;n.length<i;)n.push(0);let s=Je.normalize(n);for(let e=0;e<i;++e){let t=this._sizers[e];t.sizeHint=s[e],t.size=s[e]}this._hasNormedSizes=!0,t&&this.parent&&this.parent.update()}moveHandle(e,t){let i,n=this._handles[e];if(n&&!n.classList.contains("lm-mod-hidden")&&(i="horizontal"===this._orientation?t-n.offsetLeft:t-n.offsetTop,0!==i)){for(let e of this._sizers)e.size>0&&(e.sizeHint=e.size);Be.adjust(this._sizers,e,i),this.parent&&this.parent.update()}}init(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,super.init()}attachWidget(e,t){let i=new Ye(t),n=Je.createHandle(this.renderer),s=Je.averageSize(this._sizers),r=Je.createSizer(s);Q.insert(this._items,e,i),Q.insert(this._sizers,e,r),Q.insert(this._handles,e,n),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.node.appendChild(n),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.AfterAttach),this.parent.fit()}moveWidget(e,t,i){Q.move(this._items,e,t),Q.move(this._sizers,e,t),Q.move(this._handles,e,t),this.parent.fit()}detachWidget(e,t){let i=Q.removeAt(this._items,e),n=Q.removeAt(this._handles,e);Q.removeAt(this._sizers,e),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.node.removeChild(n),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.AfterDetach),i.dispose(),this.parent.fit()}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}updateItemPosition(e,t,i,n,s,r,o){const a=this._items[e];if(a.isHidden)return;let l=this._handles[e].style;t?(i+=this.widgetOffset,a.update(i,n,o,s),i+=o,l.top=`${n}px`,l.left=`${i}px`,l.width=`${this._spacing}px`,l.height=`${s}px`):(n+=this.widgetOffset,a.update(i,n,r,o),n+=o,l.top=`${n}px`,l.left=`${i}px`,l.width=`${r}px`,l.height=`${this._spacing}px`)}_fit(){let e=0,t=-1;for(let i=0,n=this._items.length;i<n;++i)this._items[i].isHidden?this._handles[i].classList.add("lm-mod-hidden"):(this._handles[i].classList.remove("lm-mod-hidden"),t=i,e++);-1!==t&&this._handles[t].classList.add("lm-mod-hidden"),this._fixed=this._spacing*Math.max(0,e-1)+this.widgetOffset*this._items.length;let i="horizontal"===this._orientation,n=i?this._fixed:0,s=i?0:this._fixed;for(let e=0,t=this._items.length;e<t;++e){let t=this._items[e],r=this._sizers[e];r.size>0&&(r.sizeHint=r.size),t.isHidden?(r.minSize=0,r.maxSize=0):(t.fit(),r.stretch=lt.getStretch(t.widget),i?(r.minSize=t.minWidth,r.maxSize=t.maxWidth,n+=t.minWidth,s=Math.max(s,t.minHeight)):(r.minSize=t.minHeight,r.maxSize=t.maxHeight,s+=t.minHeight,n=Math.max(n,t.minWidth)))}let r=this._box=re.boxSizing(this.parent.node);n+=r.horizontalSum,s+=r.verticalSum;let o=this.parent.node.style;o.minWidth=`${n}px`,o.minHeight=`${s}px`,this._dirty=!0,this.parent.parent&&he.sendMessage(this.parent.parent,Ke.Msg.FitRequest),this._dirty&&he.sendMessage(this.parent,Ke.Msg.UpdateRequest)}_update(e,t){this._dirty=!1;let i=0;for(let e=0,t=this._items.length;e<t;++e)i+=+!this._items[e].isHidden;if(0===i&&0===this.widgetOffset)return;e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=re.boxSizing(this.parent.node));let n=this._box.paddingTop,s=this._box.paddingLeft,r=e-this._box.horizontalSum,o=t-this._box.verticalSum,a=0,l=0,d="horizontal"===this._orientation;if(i>0){let e;if(e=d?Math.max(0,r-this._fixed):Math.max(0,o-this._fixed),this._hasNormedSizes){for(let t of this._sizers)t.sizeHint*=e;this._hasNormedSizes=!1}let t=Be.calc(this._sizers,e);if(t>0)switch(this._alignment){case"start":break;case"center":a=0,l=t/2;break;case"end":a=0,l=t;break;case"justify":a=t/i,l=0;break;default:throw"unreachable"}}for(let e=0,t=this._items.length;e<t;++e){const t=this._items[e].isHidden?0:this._sizers[e].size+a;this.updateItemPosition(e,d,d?s+l:s,d?n:n+l,o,r,t);const i=this.widgetOffset+(this._handles[e].classList.contains("lm-mod-hidden")?0:this._spacing);d?s+=t+i:n+=t+i}}}!function(e){e.getStretch=function(e){return Je.stretchProperty.get(e)},e.setStretch=function(e,t){Je.stretchProperty.set(e,t)}}(lt||(lt={})),function(e){e.stretchProperty=new Ce({name:"stretch",create:()=>0,coerce:(e,t)=>Math.max(0,Math.floor(t)),changed:function(e){e.parent&&e.parent.layout instanceof lt&&e.parent.fit()}}),e.createSizer=function(e){let t=new $e;return t.sizeHint=Math.floor(e),t},e.createHandle=function(e){let t=e.createHandle();return t.style.position="absolute",t.style.contain="style",t},e.averageSize=function(e){return e.reduce(((e,t)=>e+t.size),0)/e.length||0},e.normalize=function(e){let t=e.length;if(0===t)return[];let i=e.reduce(((e,t)=>e+Math.abs(t)),0);return 0===i?e.map((e=>1/t)):e.map((e=>e/i))}}(Je||(Je={}));class dt extends lt{constructor(e){super({...e,orientation:e.orientation||"vertical"}),this._titles=[],this.titleSpace=e.titleSpace||22}get titleSpace(){return this.widgetOffset}set titleSpace(e){e=at.clampDimension(e),this.widgetOffset!==e&&(this.widgetOffset=e,this.parent&&this.parent.fit())}get titles(){return this._titles}dispose(){this.isDisposed||(this._titles.length=0,super.dispose())}updateTitle(e,t){const i=this._titles[e],n=i.classList.contains("lm-mod-expanded"),s=Qe.createTitle(this.renderer,t.title,n);this._titles[e]=s,this.parent.node.replaceChild(s,i)}insertWidget(e,t){t.id||(t.id=`id-${ye.UUID.uuid4()}`),super.insertWidget(e,t)}attachWidget(e,t){const i=Qe.createTitle(this.renderer,t.title);Q.insert(this._titles,e,i),this.parent.node.appendChild(i),t.node.setAttribute("role","region"),t.node.setAttribute("aria-labelledby",i.id),super.attachWidget(e,t)}moveWidget(e,t,i){Q.move(this._titles,e,t),super.moveWidget(e,t,i)}detachWidget(e,t){const i=Q.removeAt(this._titles,e);this.parent.node.removeChild(i),super.detachWidget(e,t)}updateItemPosition(e,t,i,n,s,r,o){const a=this._titles[e].style;a.top=`${n}px`,a.left=`${i}px`,a.height=`${this.widgetOffset}px`,a.width=t?`${s}px`:`${r}px`,super.updateItemPosition(e,t,i,n,s,r,o)}}!function(e){e.createTitle=function(e,t,i=!0){const n=e.createSectionTitle(t);return n.style.position="absolute",n.style.contain="strict",n.setAttribute("aria-label",`${t.label} Section`),n.setAttribute("aria-expanded",i?"true":"false"),n.setAttribute("aria-controls",t.owner.id),i&&n.classList.add("lm-mod-expanded"),n}}(Qe||(Qe={}));class ht extends Ke{constructor(e={}){super(),this.addClass("lm-Panel"),this.layout=Ze.createLayout(e)}get widgets(){return this.layout.widgets}addWidget(e){this.layout.addWidget(e)}insertWidget(e,t){this.layout.insertWidget(e,t)}}!function(e){e.createLayout=function(e){return e.layout||new Ge}}(Ze||(Ze={}));class ut extends ht{constructor(e={}){super({layout:et.createLayout(e)}),this._handleMoved=new Se(this),this._pressData=null,this.addClass("lm-SplitPanel")}dispose(){this._releaseMouse(),super.dispose()}get orientation(){return this.layout.orientation}set orientation(e){this.layout.orientation=e}get alignment(){return this.layout.alignment}set alignment(e){this.layout.alignment=e}get spacing(){return this.layout.spacing}set spacing(e){this.layout.spacing=e}get renderer(){return this.layout.renderer}get handleMoved(){return this._handleMoved}get handles(){return this.layout.handles}relativeSizes(){return this.layout.relativeSizes()}setRelativeSizes(e,t=!0){this.layout.setRelativeSizes(e,t)}handleEvent(e){switch(e.type){case"pointerdown":this._evtPointerDown(e);break;case"pointermove":this._evtPointerMove(e);break;case"pointerup":this._evtPointerUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("pointerdown",this)}onAfterDetach(e){this.node.removeEventListener("pointerdown",this),this._releaseMouse()}onChildAdded(e){e.child.addClass("lm-SplitPanel-child"),this._releaseMouse()}onChildRemoved(e){e.child.removeClass("lm-SplitPanel-child"),this._releaseMouse()}_evtKeyDown(e){this._pressData&&(e.preventDefault(),e.stopPropagation()),27===e.keyCode&&this._releaseMouse()}_evtPointerDown(e){if(0!==e.button)return;let t,i=this.layout,n=Q.findFirstIndex(i.handles,(t=>t.contains(e.target)));if(-1===n)return;e.preventDefault(),e.stopPropagation(),document.addEventListener("pointerup",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0);let s=i.handles[n],r=s.getBoundingClientRect();t="horizontal"===i.orientation?e.clientX-r.left:e.clientY-r.top;let o=window.getComputedStyle(s),a=Ae.overrideCursor(o.cursor);this._pressData={index:n,delta:t,override:a}}_evtPointerMove(e){let t;e.preventDefault(),e.stopPropagation();let i=this.layout,n=this.node.getBoundingClientRect();t="horizontal"===i.orientation?e.clientX-n.left-this._pressData.delta:e.clientY-n.top-this._pressData.delta,i.moveHandle(this._pressData.index,t)}_evtPointerUp(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse())}_releaseMouse(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._handleMoved.emit(),document.removeEventListener("keydown",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("contextmenu",this,!0))}}!function(e){class t{createHandle(){let e=document.createElement("div");return e.className="lm-SplitPanel-handle",e}}e.Renderer=t,e.defaultRenderer=new t,e.getStretch=function(e){return lt.getStretch(e)},e.setStretch=function(e,t){lt.setStretch(e,t)}}(ut||(ut={})),function(e){e.createLayout=function(e){return e.layout||new lt({renderer:e.renderer||ut.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing})}}(et||(et={}));class ct extends ut{constructor(e={}){super({...e,layout:tt.createLayout(e)}),this._widgetSizesCache=new WeakMap,this._expansionToggled=new Se(this),this.addClass("lm-AccordionPanel")}get renderer(){return this.layout.renderer}get titleSpace(){return this.layout.titleSpace}set titleSpace(e){this.layout.titleSpace=e}get titles(){return this.layout.titles}get expansionToggled(){return this._expansionToggled}addWidget(e){super.addWidget(e),e.title.changed.connect(this._onTitleChanged,this)}collapse(e){const t=this.layout.widgets[e];t&&!t.isHidden&&this._toggleExpansion(e)}expand(e){const t=this.layout.widgets[e];t&&t.isHidden&&this._toggleExpansion(e)}insertWidget(e,t){super.insertWidget(e,t),t.title.changed.connect(this._onTitleChanged,this)}handleEvent(e){switch(super.handleEvent(e),e.type){case"click":this._evtClick(e);break;case"keydown":this._eventKeyDown(e)}}onBeforeAttach(e){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),super.onBeforeAttach(e)}onAfterDetach(e){super.onAfterDetach(e),this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this)}_onTitleChanged(e){const t=Q.findFirstIndex(this.widgets,(t=>t.contains(e.owner)));t>=0&&(this.layout.updateTitle(t,e.owner),this.update())}_computeWidgetSize(e){const t=this.layout,i=t.widgets[e];if(!i)return;const n=i.isHidden,s=t.absoluteSizes(),r=(n?-1:1)*this.spacing,o=s.reduce(((e,t)=>e+t));let a=[...s];if(n){const t=this._widgetSizesCache.get(i);if(!t)return;a[e]+=t;const n=a.map((e=>e-t>0)).lastIndexOf(!0);-1===n?a.forEach(((i,n)=>{n!==e&&(a[n]-=s[n]/o*(t-r))})):a[n]-=t-r}else{const t=s[e];this._widgetSizesCache.set(i,t),a[e]=0;const n=a.map((e=>e>0)).lastIndexOf(!0);if(-1===n)return;a[n]=s[n]+t+r}return a.map((e=>e/(o+r)))}_evtClick(e){const t=e.target;if(t){const i=Q.findFirstIndex(this.titles,(e=>e.contains(t)));i>=0&&(e.preventDefault(),e.stopPropagation(),this._toggleExpansion(i))}}_eventKeyDown(e){if(e.defaultPrevented)return;const t=e.target;let i=!1;if(t){const n=Q.findFirstIndex(this.titles,(e=>e.contains(t)));if(n>=0){const s=e.keyCode.toString();if(e.key.match(/Space|Enter/)||s.match(/13|32/))t.click(),i=!0;else if("horizontal"===this.orientation?e.key.match(/ArrowLeft|ArrowRight/)||s.match(/37|39/):e.key.match(/ArrowUp|ArrowDown/)||s.match(/38|40/)){const t=e.key.match(/ArrowLeft|ArrowUp/)||s.match(/37|38/)?-1:1,r=this.titles.length,o=(n+r+t)%r;this.titles[o].focus(),i=!0}else"End"===e.key||"35"===s?(this.titles[this.titles.length-1].focus(),i=!0):"Home"!==e.key&&"36"!==s||(this.titles[0].focus(),i=!0)}i&&e.preventDefault()}}_toggleExpansion(e){const t=this.titles[e],i=this.layout.widgets[e],n=this._computeWidgetSize(e);n&&this.setRelativeSizes(n,!1),i.isHidden?(t.classList.add("lm-mod-expanded"),t.setAttribute("aria-expanded","true"),i.show()):(t.classList.remove("lm-mod-expanded"),t.setAttribute("aria-expanded","false"),i.hide()),this._expansionToggled.emit(e)}}!function(e){class t extends ut.Renderer{constructor(){super(),this.titleClassName="lm-AccordionPanel-title",this._titleID=0,this._titleKeys=new WeakMap,this._uuid=++t._nInstance}createCollapseIcon(e){return document.createElement("span")}createSectionTitle(e){const t=document.createElement("h3");t.setAttribute("tabindex","0"),t.id=this.createTitleKey(e),t.className=this.titleClassName;for(const i in e.dataset)t.dataset[i]=e.dataset[i];t.appendChild(this.createCollapseIcon(e)).className="lm-AccordionPanel-titleCollapser";const i=t.appendChild(document.createElement("span"));return i.className="lm-AccordionPanel-titleLabel",i.textContent=e.label,i.title=e.caption||e.label,t}createTitleKey(e){let t=this._titleKeys.get(e);return void 0===t&&(t=`title-key-${this._uuid}-${this._titleID++}`,this._titleKeys.set(e,t)),t}}t._nInstance=0,e.Renderer=t,e.defaultRenderer=new t}(ct||(ct={})),function(e){e.createLayout=function(e){return e.layout||new dt({renderer:e.renderer||ct.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing,titleSpace:e.titleSpace})}}(tt||(tt={}));class pt extends Ge{constructor(e={}){super(),this._fixed=0,this._spacing=4,this._dirty=!1,this._sizers=[],this._items=[],this._box=null,this._alignment="start",this._direction="top-to-bottom",void 0!==e.direction&&(this._direction=e.direction),void 0!==e.alignment&&(this._alignment=e.alignment),void 0!==e.spacing&&(this._spacing=at.clampDimension(e.spacing))}dispose(){for(const e of this._items)e.dispose();this._box=null,this._items.length=0,this._sizers.length=0,super.dispose()}get direction(){return this._direction}set direction(e){this._direction!==e&&(this._direction=e,this.parent&&(this.parent.dataset.direction=e,this.parent.fit()))}get alignment(){return this._alignment}set alignment(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))}get spacing(){return this._spacing}set spacing(e){e=at.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())}init(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,super.init()}attachWidget(e,t){Q.insert(this._items,e,new Ye(t)),Q.insert(this._sizers,e,new $e),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.AfterAttach),this.parent.fit()}moveWidget(e,t,i){Q.move(this._items,e,t),Q.move(this._sizers,e,t),this.parent.update()}detachWidget(e,t){let i=Q.removeAt(this._items,e);Q.removeAt(this._sizers,e),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.AfterDetach),i.dispose(),this.parent.fit()}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}_fit(){let e=0;for(let t=0,i=this._items.length;t<i;++t)e+=+!this._items[t].isHidden;this._fixed=this._spacing*Math.max(0,e-1);let t=it.isHorizontal(this._direction),i=t?this._fixed:0,n=t?0:this._fixed;for(let e=0,s=this._items.length;e<s;++e){let s=this._items[e],r=this._sizers[e];s.isHidden?(r.minSize=0,r.maxSize=0):(s.fit(),r.sizeHint=pt.getSizeBasis(s.widget),r.stretch=pt.getStretch(s.widget),t?(r.minSize=s.minWidth,r.maxSize=s.maxWidth,i+=s.minWidth,n=Math.max(n,s.minHeight)):(r.minSize=s.minHeight,r.maxSize=s.maxHeight,n+=s.minHeight,i=Math.max(i,s.minWidth)))}let s=this._box=re.boxSizing(this.parent.node);i+=s.horizontalSum,n+=s.verticalSum;let r=this.parent.node.style;r.minWidth=`${i}px`,r.minHeight=`${n}px`,this._dirty=!0,this.parent.parent&&he.sendMessage(this.parent.parent,Ke.Msg.FitRequest),this._dirty&&he.sendMessage(this.parent,Ke.Msg.UpdateRequest)}_update(e,t){this._dirty=!1;let i=0;for(let e=0,t=this._items.length;e<t;++e)i+=+!this._items[e].isHidden;if(0===i)return;e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=re.boxSizing(this.parent.node));let n,s=this._box.paddingTop,r=this._box.paddingLeft,o=e-this._box.horizontalSum,a=t-this._box.verticalSum;switch(this._direction){case"left-to-right":n=Be.calc(this._sizers,Math.max(0,o-this._fixed));break;case"top-to-bottom":n=Be.calc(this._sizers,Math.max(0,a-this._fixed));break;case"right-to-left":n=Be.calc(this._sizers,Math.max(0,o-this._fixed)),r+=o;break;case"bottom-to-top":n=Be.calc(this._sizers,Math.max(0,a-this._fixed)),s+=a;break;default:throw"unreachable"}let l=0,d=0;if(n>0)switch(this._alignment){case"start":break;case"center":l=0,d=n/2;break;case"end":l=0,d=n;break;case"justify":l=n/i,d=0;break;default:throw"unreachable"}for(let e=0,t=this._items.length;e<t;++e){let t=this._items[e];if(t.isHidden)continue;let i=this._sizers[e].size;switch(this._direction){case"left-to-right":t.update(r+d,s,i+l,a),r+=i+l+this._spacing;break;case"top-to-bottom":t.update(r,s+d,o,i+l),s+=i+l+this._spacing;break;case"right-to-left":t.update(r-d-i-l,s,i+l,a),r-=i+l+this._spacing;break;case"bottom-to-top":t.update(r,s-d-i-l,o,i+l),s-=i+l+this._spacing;break;default:throw"unreachable"}}}}!function(e){e.getStretch=function(e){return it.stretchProperty.get(e)},e.setStretch=function(e,t){it.stretchProperty.set(e,t)},e.getSizeBasis=function(e){return it.sizeBasisProperty.get(e)},e.setSizeBasis=function(e,t){it.sizeBasisProperty.set(e,t)}}(pt||(pt={})),function(e){function t(e){e.parent&&e.parent.layout instanceof pt&&e.parent.fit()}e.stretchProperty=new Ce({name:"stretch",create:()=>0,coerce:(e,t)=>Math.max(0,Math.floor(t)),changed:t}),e.sizeBasisProperty=new Ce({name:"sizeBasis",create:()=>0,coerce:(e,t)=>Math.max(0,Math.floor(t)),changed:t}),e.isHorizontal=function(e){return"left-to-right"===e||"right-to-left"===e},e.clampSpacing=function(e){return Math.max(0,Math.floor(e))}}(it||(it={}));class ft extends ht{constructor(e={}){super({layout:nt.createLayout(e)}),this.addClass("lm-BoxPanel")}get direction(){return this.layout.direction}set direction(e){this.layout.direction=e}get alignment(){return this.layout.alignment}set alignment(e){this.layout.alignment=e}get spacing(){return this.layout.spacing}set spacing(e){this.layout.spacing=e}onChildAdded(e){e.child.addClass("lm-BoxPanel-child")}onChildRemoved(e){e.child.removeClass("lm-BoxPanel-child")}}!function(e){e.getStretch=function(e){return pt.getStretch(e)},e.setStretch=function(e,t){pt.setStretch(e,t)},e.getSizeBasis=function(e){return pt.getSizeBasis(e)},e.setSizeBasis=function(e,t){pt.setSizeBasis(e,t)}}(ft||(ft={})),function(e){e.createLayout=function(e){return e.layout||new pt(e)}}(nt||(nt={}));class mt extends Ke{constructor(e){super({node:st.createNode()}),this._activeIndex=-1,this._items=[],this._results=null,this.addClass("lm-CommandPalette"),this.setFlag(Ke.Flag.DisallowLayout),this.commands=e.commands,this.renderer=e.renderer||mt.defaultRenderer,this.commands.commandChanged.connect(this._onGenericChange,this),this.commands.keyBindingChanged.connect(this._onGenericChange,this)}dispose(){this._items.length=0,this._results=null,super.dispose()}get searchNode(){return this.node.getElementsByClassName("lm-CommandPalette-search")[0]}get inputNode(){return this.node.getElementsByClassName("lm-CommandPalette-input")[0]}get contentNode(){return this.node.getElementsByClassName("lm-CommandPalette-content")[0]}get items(){return this._items}addItem(e){let t=st.createItem(this.commands,e);return this._items.push(t),this.refresh(),t}addItems(e){const t=e.map((e=>st.createItem(this.commands,e)));return t.forEach((e=>this._items.push(e))),this.refresh(),t}removeItem(e){this.removeItemAt(this._items.indexOf(e))}removeItemAt(e){Q.removeAt(this._items,e)&&this.refresh()}clearItems(){0!==this._items.length&&(this._items.length=0,this.refresh())}refresh(){this._results=null,""!==this.inputNode.value?this.node.getElementsByClassName("lm-close-icon")[0].style.display="inherit":this.node.getElementsByClassName("lm-close-icon")[0].style.display="none",this.update()}handleEvent(e){switch(e.type){case"click":this._evtClick(e);break;case"keydown":this._evtKeyDown(e);break;case"input":this.refresh();break;case"focus":case"blur":this._toggleFocused()}}onBeforeAttach(e){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),this.node.addEventListener("input",this),this.node.addEventListener("focus",this,!0),this.node.addEventListener("blur",this,!0)}onAfterDetach(e){this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this),this.node.removeEventListener("input",this),this.node.removeEventListener("focus",this,!0),this.node.removeEventListener("blur",this,!0)}onAfterShow(e){this.update(),super.onAfterShow(e)}onActivateRequest(e){if(this.isAttached){let e=this.inputNode;e.focus(),e.select()}}onUpdateRequest(e){if(this.isHidden)return;let t=this.inputNode.value,i=this.contentNode,n=this._results;if(n||(n=this._results=st.search(this._items,t),this._activeIndex=t?Q.findFirstIndex(n,st.canActivate):-1),!t&&0===n.length)return void Ne.render(null,i);if(t&&0===n.length){let e=this.renderer.renderEmptyMessage({query:t});return void Ne.render(e,i)}let s=this.renderer,r=this._activeIndex,o=new Array(n.length);for(let e=0,t=n.length;e<t;++e){let t=n[e];if("header"===t.type){let i=t.indices,n=t.category;o[e]=s.renderHeader({category:n,indices:i})}else{let i=t.item,n=t.indices,a=e===r;o[e]=s.renderItem({item:i,indices:n,active:a})}}if(Ne.render(o,i),r<0||r>=n.length)i.scrollTop=0;else{let e=i.children[r];re.scrollIntoViewIfNeeded(i,e)}}_evtClick(e){if(0!==e.button)return;if(e.target.classList.contains("lm-close-icon"))return this.inputNode.value="",void this.refresh();let t=Q.findFirstIndex(this.contentNode.children,(t=>t.contains(e.target)));-1!==t&&(e.preventDefault(),e.stopPropagation(),this._execute(t))}_evtKeyDown(e){if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey))switch(e.keyCode){case 13:e.preventDefault(),e.stopPropagation(),this._execute(this._activeIndex);break;case 38:e.preventDefault(),e.stopPropagation(),this._activatePreviousItem();break;case 40:e.preventDefault(),e.stopPropagation(),this._activateNextItem()}}_activateNextItem(){if(!this._results||0===this._results.length)return;let e=this._activeIndex,t=this._results.length,i=e<t-1?e+1:0,n=0===i?t-1:i-1;this._activeIndex=Q.findFirstIndex(this._results,st.canActivate,i,n),this.update()}_activatePreviousItem(){if(!this._results||0===this._results.length)return;let e=this._activeIndex,t=this._results.length,i=e<=0?t-1:e-1,n=i===t-1?0:i+1;this._activeIndex=Q.findLastIndex(this._results,st.canActivate,i,n),this.update()}_execute(e){if(!this._results)return;let t=this._results[e];if(t){if("header"===t.type){let e=this.inputNode;return e.value=`${t.category.toLowerCase()} `,e.focus(),void this.refresh()}t.item.isEnabled&&(this.commands.execute(t.item.command,t.item.args),this.inputNode.value="",this.refresh())}}_toggleFocused(){let e=document.activeElement===this.inputNode;this.toggleClass("lm-mod-focused",e)}_onGenericChange(){this.refresh()}}!function(e){class t{renderHeader(e){let t=this.formatHeader(e);return qe.li({className:"lm-CommandPalette-header"},t)}renderItem(e){let t=this.createItemClass(e),i=this.createItemDataset(e);return e.item.isToggleable?qe.li({className:t,dataset:i,role:"menuitemcheckbox","aria-checked":`${e.item.isToggled}`},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e)):qe.li({className:t,dataset:i,role:"menuitem"},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e))}renderEmptyMessage(e){let t=this.formatEmptyMessage(e);return qe.li({className:"lm-CommandPalette-emptyMessage"},t)}renderItemIcon(e){let t=this.createIconClass(e);return qe.div({className:t},e.item.icon,e.item.iconLabel)}renderItemContent(e){return qe.div({className:"lm-CommandPalette-itemContent"},this.renderItemLabel(e),this.renderItemCaption(e))}renderItemLabel(e){let t=this.formatItemLabel(e);return qe.div({className:"lm-CommandPalette-itemLabel"},t)}renderItemCaption(e){let t=this.formatItemCaption(e);return qe.div({className:"lm-CommandPalette-itemCaption"},t)}renderItemShortcut(e){let t=this.formatItemShortcut(e);return qe.div({className:"lm-CommandPalette-itemShortcut"},t)}createItemClass(e){let t="lm-CommandPalette-item";e.item.isEnabled||(t+=" lm-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled"),e.active&&(t+=" lm-mod-active");let i=e.item.className;return i&&(t+=` ${i}`),t}createItemDataset(e){return{...e.item.dataset,command:e.item.command}}createIconClass(e){let t="lm-CommandPalette-itemIcon",i=e.item.iconClass;return i?`${t} ${i}`:t}formatHeader(e){return e.indices&&0!==e.indices.length?ee.highlight(e.category,e.indices,qe.mark):e.category}formatEmptyMessage(e){return`No commands found that match '${e.query}'`}formatItemShortcut(e){let t=e.item.keyBinding;return t?We.formatKeystroke(t.keys):null}formatItemLabel(e){return e.indices&&0!==e.indices.length?ee.highlight(e.item.label,e.indices,qe.mark):e.item.label}formatItemCaption(e){return e.item.caption}}e.Renderer=t,e.defaultRenderer=new t}(mt||(mt={})),function(e){function t(e,t){let i=e.category.toLowerCase(),n=`${i} ${e.label.toLowerCase()}`,s=1/0,r=null,o=/\b\w/g;for(;;){let e=o.exec(n);if(!e)break;let i=ee.matchSumOfDeltas(n,t,e.index);if(!i)break;i.score<=s&&(s=i.score,r=i.indices)}if(!r||s===1/0)return null;let a=i.length+1,l=Q.lowerBound(r,a,((e,t)=>e-t)),d=r.slice(0,l),h=r.slice(l);for(let e=0,t=h.length;e<t;++e)h[e]-=a;return 0===d.length?{matchType:0,categoryIndices:null,labelIndices:h,score:s,item:e}:0===h.length?{matchType:1,categoryIndices:d,labelIndices:null,score:s,item:e}:{matchType:2,categoryIndices:d,labelIndices:h,score:s,item:e}}function i(e,t){let i=e.matchType-t.matchType;if(0!==i)return i;let n=e.score-t.score;if(0!==n)return n;let s=0,r=0;switch(e.matchType){case 0:s=e.labelIndices[0],r=t.labelIndices[0];break;case 1:case 2:s=e.categoryIndices[0],r=t.categoryIndices[0]}if(s!==r)return s-r;let o=e.item.category.localeCompare(t.item.category);if(0!==o)return o;let a=e.item.rank,l=t.item.rank;return a!==l?a<l?-1:1:e.item.label.localeCompare(t.item.label)}e.createNode=function(){let e=document.createElement("div"),t=document.createElement("div"),i=document.createElement("div"),n=document.createElement("input"),s=document.createElement("ul"),r=document.createElement("button");return t.className="lm-CommandPalette-search",i.className="lm-CommandPalette-wrapper",n.className="lm-CommandPalette-input",r.className="lm-close-icon",s.className="lm-CommandPalette-content",s.setAttribute("role","menu"),n.spellcheck=!1,i.appendChild(n),i.appendChild(r),t.appendChild(i),e.appendChild(t),e.appendChild(s),e},e.createItem=function(e,t){return new n(e,t)},e.search=function(e,n){let s=function(e,i){i=i.replace(/\s+/g,"").toLowerCase();let n=[];for(let s=0,r=e.length;s<r;++s){let r=e[s];if(!r.isVisible)continue;if(!i){n.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:r});continue}let o=t(r,i);o&&(r.isEnabled||(o.score+=1e3),n.push(o))}return n}(e,n);return s.sort(i),function(e){let t=new Array(e.length);Q.fill(t,!1);let i=[];for(let n=0,s=e.length;n<s;++n){if(t[n])continue;let{item:r,categoryIndices:o}=e[n],a=r.category;i.push({type:"header",category:a,indices:o});for(let r=n;r<s;++r){if(t[r])continue;let{item:n,labelIndices:s}=e[r];n.category===a&&(i.push({type:"item",item:n,indices:s}),t[r]=!0)}}return i}(s)},e.canActivate=function(e){return"item"===e.type&&e.item.isEnabled};class n{constructor(e,t){this._commands=e,this.category=t.category.trim().replace(/\s+/g," "),this.command=t.command,this.args=t.args||ye.JSONExt.emptyObject,this.rank=void 0!==t.rank?t.rank:1/0}get label(){return this._commands.label(this.command,this.args)}get icon(){return this._commands.icon(this.command,this.args)}get iconClass(){return this._commands.iconClass(this.command,this.args)}get iconLabel(){return this._commands.iconLabel(this.command,this.args)}get caption(){return this._commands.caption(this.command,this.args)}get className(){return this._commands.className(this.command,this.args)}get dataset(){return this._commands.dataset(this.command,this.args)}get isEnabled(){return this._commands.isEnabled(this.command,this.args)}get isToggled(){return this._commands.isToggled(this.command,this.args)}get isToggleable(){return this._commands.isToggleable(this.command,this.args)}get isVisible(){return this._commands.isVisible(this.command,this.args)}get keyBinding(){let{command:e,args:t}=this;return Q.findLastValue(this._commands.keyBindings,(i=>i.command===e&&ye.JSONExt.deepEqual(i.args,t)))||null}}}(st||(st={}));class gt extends Ke{constructor(e){super({node:rt.createNode()}),this._childIndex=-1,this._activeIndex=-1,this._openTimerID=0,this._closeTimerID=0,this._items=[],this._childMenu=null,this._parentMenu=null,this._aboutToClose=new Se(this),this._menuRequested=new Se(this),this.addClass("lm-Menu"),this.setFlag(Ke.Flag.DisallowLayout),this.commands=e.commands,this.renderer=e.renderer||gt.defaultRenderer}dispose(){this.close(),this._items.length=0,super.dispose()}get aboutToClose(){return this._aboutToClose}get menuRequested(){return this._menuRequested}get parentMenu(){return this._parentMenu}get childMenu(){return this._childMenu}get rootMenu(){let e=this;for(;e._parentMenu;)e=e._parentMenu;return e}get leafMenu(){let e=this;for(;e._childMenu;)e=e._childMenu;return e}get contentNode(){return this.node.getElementsByClassName("lm-Menu-content")[0]}get activeItem(){return this._items[this._activeIndex]||null}set activeItem(e){this.activeIndex=e?this._items.indexOf(e):-1}get activeIndex(){return this._activeIndex}set activeIndex(e){(e<0||e>=this._items.length)&&(e=-1),-1===e||rt.canActivate(this._items[e])||(e=-1),this._activeIndex!==e&&(this._activeIndex=e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())}get items(){return this._items}activateNextItem(){let e=this._items.length,t=this._activeIndex,i=t<e-1?t+1:0,n=0===i?e-1:i-1;this.activeIndex=Q.findFirstIndex(this._items,rt.canActivate,i,n)}activatePreviousItem(){let e=this._items.length,t=this._activeIndex,i=t<=0?e-1:t-1,n=i===e-1?0:i+1;this.activeIndex=Q.findLastIndex(this._items,rt.canActivate,i,n)}triggerActiveItem(){if(!this.isAttached)return;let e=this.activeItem;if(!e)return;if(this._cancelOpenTimer(),this._cancelCloseTimer(),"submenu"===e.type)return void this._openChildMenu(!0);this.rootMenu.close();let{command:t,args:i}=e;this.commands.isEnabled(t,i)?this.commands.execute(t,i):console.log(`Command '${t}' is disabled.`)}addItem(e){return this.insertItem(this._items.length,e)}insertItem(e,t){this.isAttached&&this.close(),this.activeIndex=-1;let i=Math.max(0,Math.min(e,this._items.length)),n=rt.createItem(this,t);return Q.insert(this._items,i,n),this.update(),n}removeItem(e){this.removeItemAt(this._items.indexOf(e))}removeItemAt(e){this.isAttached&&this.close(),this.activeIndex=-1,Q.removeAt(this._items,e)&&this.update()}clearItems(){this.isAttached&&this.close(),this.activeIndex=-1,0!==this._items.length&&(this._items.length=0,this.update())}open(e,t,i={}){if(this.isAttached)return;let n=i.forceX||!1,s=i.forceY||!1;rt.openRootMenu(this,e,t,n,s),this.activate()}handleEvent(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mouseup":this._evtMouseUp(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseenter":this._evtMouseEnter(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"mousedown":this._evtMouseDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)}onAfterDetach(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)}onActivateRequest(e){this.isAttached&&this.node.focus()}onUpdateRequest(e){let t=this._items,i=this.renderer,n=this._activeIndex,s=rt.computeCollapsed(t),r=new Array(t.length);for(let e=0,o=t.length;e<o;++e){let o=t[e],a=e===n,l=s[e];r[e]=i.renderItem({item:o,active:a,collapsed:l,onfocus:()=>{this.activeIndex=e}})}Ne.render(r,this.contentNode)}onCloseRequest(e){this._cancelOpenTimer(),this._cancelCloseTimer(),this.activeIndex=-1;let t=this._childMenu;t&&(this._childIndex=-1,this._childMenu=null,t._parentMenu=null,t.close());let i=this._parentMenu;i&&(this._parentMenu=null,i._childIndex=-1,i._childMenu=null,i.activate()),this.isAttached&&this._aboutToClose.emit(void 0),super.onCloseRequest(e)}_evtKeyDown(e){e.preventDefault(),e.stopPropagation();let t=e.keyCode;if(13===t)return void this.triggerActiveItem();if(27===t)return void this.close();if(37===t)return void(this._parentMenu?this.close():this._menuRequested.emit("previous"));if(38===t)return void this.activatePreviousItem();if(39===t){let e=this.activeItem;return void(e&&"submenu"===e.type?this.triggerActiveItem():this.rootMenu._menuRequested.emit("next"))}if(40===t)return void this.activateNextItem();let i=Le().keyForKeydownEvent(e);if(!i)return;let n=this._activeIndex+1,s=rt.findMnemonic(this._items,i,n);-1===s.index||s.multiple?-1!==s.index?this.activeIndex=s.index:-1!==s.auto&&(this.activeIndex=s.auto):(this.activeIndex=s.index,this.triggerActiveItem())}_evtMouseUp(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this.triggerActiveItem())}_evtMouseMove(e){let t=Q.findFirstIndex(this.contentNode.children,(t=>re.hitTest(t,e.clientX,e.clientY)));if(t===this._activeIndex)return;if(this.activeIndex=t,t=this.activeIndex,t===this._childIndex)return this._cancelOpenTimer(),void this._cancelCloseTimer();-1!==this._childIndex&&this._startCloseTimer(),this._cancelOpenTimer();let i=this.activeItem;i&&"submenu"===i.type&&i.submenu&&this._startOpenTimer()}_evtMouseEnter(e){for(let e=this._parentMenu;e;e=e._parentMenu)e._cancelOpenTimer(),e._cancelCloseTimer(),e.activeIndex=e._childIndex}_evtMouseLeave(e){if(this._cancelOpenTimer(),!this._childMenu)return void(this.activeIndex=-1);let{clientX:t,clientY:i}=e;re.hitTest(this._childMenu.node,t,i)?this._cancelCloseTimer():(this.activeIndex=-1,this._startCloseTimer())}_evtMouseDown(e){this._parentMenu||(rt.hitTestMenus(this,e.clientX,e.clientY)?(e.preventDefault(),e.stopPropagation()):this.close())}_openChildMenu(e=!1){let t=this.activeItem;if(!t||"submenu"!==t.type||!t.submenu)return void this._closeChildMenu();let i=t.submenu;if(i===this._childMenu)return;gt.saveWindowData(),this._closeChildMenu(),this._childMenu=i,this._childIndex=this._activeIndex,i._parentMenu=this,he.sendMessage(this,Ke.Msg.UpdateRequest);let n=this.contentNode.children[this._activeIndex];rt.openSubmenu(i,n),e&&(i.activeIndex=-1,i.activateNextItem()),i.activate()}_closeChildMenu(){this._childMenu&&this._childMenu.close()}_startOpenTimer(){0===this._openTimerID&&(this._openTimerID=window.setTimeout((()=>{this._openTimerID=0,this._openChildMenu()}),rt.TIMER_DELAY))}_startCloseTimer(){0===this._closeTimerID&&(this._closeTimerID=window.setTimeout((()=>{this._closeTimerID=0,this._closeChildMenu()}),rt.TIMER_DELAY))}_cancelOpenTimer(){0!==this._openTimerID&&(clearTimeout(this._openTimerID),this._openTimerID=0)}_cancelCloseTimer(){0!==this._closeTimerID&&(clearTimeout(this._closeTimerID),this._closeTimerID=0)}static saveWindowData(){rt.saveWindowData()}}!function(e){class t{renderItem(e){let t=this.createItemClass(e),i=this.createItemDataset(e),n=this.createItemARIA(e);return qe.li({className:t,dataset:i,tabindex:"0",onfocus:e.onfocus,...n},this.renderIcon(e),this.renderLabel(e),this.renderShortcut(e),this.renderSubmenu(e))}renderIcon(e){let t=this.createIconClass(e);return qe.div({className:t},e.item.icon,e.item.iconLabel)}renderLabel(e){let t=this.formatLabel(e);return qe.div({className:"lm-Menu-itemLabel"},t)}renderShortcut(e){let t=this.formatShortcut(e);return qe.div({className:"lm-Menu-itemShortcut"},t)}renderSubmenu(e){return qe.div({className:"lm-Menu-itemSubmenuIcon"})}createItemClass(e){let t="lm-Menu-item";e.item.isEnabled||(t+=" lm-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled"),e.item.isVisible||(t+=" lm-mod-hidden"),e.active&&(t+=" lm-mod-active"),e.collapsed&&(t+=" lm-mod-collapsed");let i=e.item.className;return i&&(t+=` ${i}`),t}createItemDataset(e){let t,{type:i,command:n,dataset:s}=e.item;return t="command"===i?{...s,type:i,command:n}:{...s,type:i},t}createIconClass(e){let t="lm-Menu-itemIcon",i=e.item.iconClass;return i?`${t} ${i}`:t}createItemARIA(e){let t={};switch(e.item.type){case"separator":t.role="presentation";break;case"submenu":t["aria-haspopup"]="true",e.item.isEnabled||(t["aria-disabled"]="true");break;default:e.item.isEnabled||(t["aria-disabled"]="true"),t.role="menuitem"}return t}formatLabel(e){let{label:t,mnemonic:i}=e.item;if(i<0||i>=t.length)return t;let n=t.slice(0,i),s=t.slice(i+1),r=t[i];return[n,qe.span({className:"lm-Menu-itemMnemonic"},r),s]}formatShortcut(e){let t=e.item.keyBinding;return t?We.formatKeystroke(t.keys):null}}e.Renderer=t,e.defaultRenderer=new t}(gt||(gt={})),function(e){e.TIMER_DELAY=300,e.SUBMENU_OVERLAP=3;let t=null,i=0;function n(){return i>0?(i--,t):r()}function s(e){return"separator"!==e.type&&e.isEnabled&&e.isVisible}function r(){return{pageXOffset:window.pageXOffset,pageYOffset:window.pageYOffset,clientWidth:document.documentElement.clientWidth,clientHeight:document.documentElement.clientHeight}}e.saveWindowData=function(){t=r(),i++},e.createNode=function(){let e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-Menu-content",e.appendChild(t),t.setAttribute("role","menu"),e.tabIndex=0,e},e.canActivate=s,e.createItem=function(e,t){return new o(e.commands,t)},e.hitTestMenus=function(e,t,i){for(let n=e;n;n=n.childMenu)if(re.hitTest(n.node,t,i))return!0;return!1},e.computeCollapsed=function(e){let t=new Array(e.length);Q.fill(t,!1);let i=0,n=e.length;for(;i<n;++i){let n=e[i];if(n.isVisible){if("separator"!==n.type)break;t[i]=!0}}let s=n-1;for(;s>=0;--s){let i=e[s];if(i.isVisible){if("separator"!==i.type)break;t[s]=!0}}let r=!1;for(;++i<s;){let n=e[i];n.isVisible&&("separator"!==n.type?r=!1:r?t[i]=!0:r=!0)}return t},e.openRootMenu=function(e,t,i,s,r){const o=n();let a=o.pageXOffset,l=o.pageYOffset,d=o.clientWidth,h=o.clientHeight;he.sendMessage(e,Ke.Msg.UpdateRequest);let u=h-(r?i:0),c=e.node,p=c.style;p.opacity="0",p.maxHeight=`${u}px`,Ke.attach(e,document.body);let{width:f,height:m}=c.getBoundingClientRect();!s&&t+f>a+d&&(t=a+d-f),!r&&i+m>l+h&&(i>l+h?i=l+h-m:i-=m),p.transform=`translate(${Math.max(0,t)}px, ${Math.max(0,i)}px`,p.opacity="1"},e.openSubmenu=function(t,i){const s=n();let r=s.pageXOffset,o=s.pageYOffset,a=s.clientWidth,l=s.clientHeight;he.sendMessage(t,Ke.Msg.UpdateRequest);let d=l,h=t.node,u=h.style;u.opacity="0",u.maxHeight=`${d}px`,Ke.attach(t,document.body);let{width:c,height:p}=h.getBoundingClientRect(),f=re.boxSizing(t.node),m=i.getBoundingClientRect(),g=m.right-e.SUBMENU_OVERLAP;g+c>r+a&&(g=m.left+e.SUBMENU_OVERLAP-c);let v=m.top-f.borderTop-f.paddingTop;v+p>o+l&&(v=m.bottom+f.borderBottom+f.paddingBottom-p),u.transform=`translate(${Math.max(0,g)}px, ${Math.max(0,v)}px`,u.opacity="1"},e.findMnemonic=function(e,t,i){let n=-1,r=-1,o=!1,a=t.toUpperCase();for(let t=0,l=e.length;t<l;++t){let d=(t+i)%l,h=e[d];if(!s(h))continue;let u=h.label;if(0===u.length)continue;let c=h.mnemonic;c>=0&&c<u.length?u[c].toUpperCase()===a&&(-1===n?n=d:o=!0):-1===r&&u[0].toUpperCase()===a&&(r=d)}return{index:n,multiple:o,auto:r}};class o{constructor(e,t){this._commands=e,this.type=t.type||"command",this.command=t.command||"",this.args=t.args||ye.JSONExt.emptyObject,this.submenu=t.submenu||null}get label(){return"command"===this.type?this._commands.label(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.label:""}get mnemonic(){return"command"===this.type?this._commands.mnemonic(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.mnemonic:-1}get icon(){return"command"===this.type?this._commands.icon(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.icon:void 0}get iconClass(){return"command"===this.type?this._commands.iconClass(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconClass:""}get iconLabel(){return"command"===this.type?this._commands.iconLabel(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconLabel:""}get caption(){return"command"===this.type?this._commands.caption(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.caption:""}get className(){return"command"===this.type?this._commands.className(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.className:""}get dataset(){return"command"===this.type?this._commands.dataset(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.dataset:{}}get isEnabled(){return"command"===this.type?this._commands.isEnabled(this.command,this.args):"submenu"!==this.type||null!==this.submenu}get isToggled(){return"command"===this.type&&this._commands.isToggled(this.command,this.args)}get isVisible(){return"command"===this.type?this._commands.isVisible(this.command,this.args):"submenu"!==this.type||null!==this.submenu}get keyBinding(){if("command"===this.type){let{command:e,args:t}=this;return Q.findLastValue(this._commands.keyBindings,(i=>i.command===e&&ye.JSONExt.deepEqual(i.args,t)))||null}return null}}}(rt||(rt={})),function(e){function t(e,t){let i=e.rank,n=t.rank;return i!==n?i<n?-1:1:e.id-t.id}function i(e,i){let n=ae.calculateSpecificity(e.selector),s=ae.calculateSpecificity(i.selector);return n!==s?s-n:t(e,i)}e.createItem=function(e,t){let i=function(e){if(-1!==e.indexOf(","))throw new Error(`Selector cannot contain commas: ${e}`);if(!ae.isValid(e))throw new Error(`Invalid selector: ${e}`);return e}(e.selector),n=void 0!==e.rank?e.rank:1/0;return{...e,selector:i,rank:n,id:t}},e.matchItems=function(e,n,s,r){let o=n.target;if(!o)return null;let a=n.currentTarget;if(!a)return null;if(!a.contains(o)&&(o=document.elementFromPoint(n.clientX,n.clientY),!o||!a.contains(o)))return null;let l=[],d=e.slice();for(;null!==o;){let e=[];for(let t=0,i=d.length;t<i;++t){let i=d[t];i&&ae.matches(o,i.selector)&&(e.push(i),d[t]=null)}if(0!==e.length&&(s&&e.sort(r?i:t),l.push(...e)),o===a)break;o=o.parentElement}return s||l.sort(r?i:t),l}}(ot||(ot={}));const vt=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Home","End"];class _t extends Ke{constructor(e={}){super({node:bt.createNode()}),this._currentIndex=-1,this._titles=[],this._titlesEditable=!1,this._previousTitle=null,this._dragData=null,this._addButtonEnabled=!1,this._tabMoved=new Se(this),this._currentChanged=new Se(this),this._addRequested=new Se(this),this._tabCloseRequested=new Se(this),this._tabDetachRequested=new Se(this),this._tabActivateRequested=new Se(this),this.addClass("lm-TabBar"),this.contentNode.setAttribute("role","tablist"),this.setFlag(Ke.Flag.DisallowLayout),this._document=e.document||document,this.tabsMovable=e.tabsMovable||!1,this.titlesEditable=e.titlesEditable||!1,this.allowDeselect=e.allowDeselect||!1,this.addButtonEnabled=e.addButtonEnabled||!1,this.insertBehavior=e.insertBehavior||"select-tab-if-needed",this.name=e.name||"",this.orientation=e.orientation||"horizontal",this.removeBehavior=e.removeBehavior||"select-tab-after",this.renderer=e.renderer||_t.defaultRenderer}dispose(){this._releaseMouse(),this._titles.length=0,this._previousTitle=null,super.dispose()}get currentChanged(){return this._currentChanged}get tabMoved(){return this._tabMoved}get tabActivateRequested(){return this._tabActivateRequested}get addRequested(){return this._addRequested}get tabCloseRequested(){return this._tabCloseRequested}get tabDetachRequested(){return this._tabDetachRequested}get document(){return this._document}get titlesEditable(){return this._titlesEditable}set titlesEditable(e){this._titlesEditable=e}get currentTitle(){return this._titles[this._currentIndex]||null}set currentTitle(e){this.currentIndex=e?this._titles.indexOf(e):-1}get currentIndex(){return this._currentIndex}set currentIndex(e){if((e<0||e>=this._titles.length)&&(e=-1),this._currentIndex===e)return;let t=this._currentIndex,i=this._titles[t]||null,n=e,s=this._titles[n]||null;this._currentIndex=n,this._previousTitle=i,this.update(),this._currentChanged.emit({previousIndex:t,previousTitle:i,currentIndex:n,currentTitle:s})}get name(){return this._name}set name(e){this._name=e,e?this.contentNode.setAttribute("aria-label",e):this.contentNode.removeAttribute("aria-label")}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._releaseMouse(),this._orientation=e,this.dataset.orientation=e,this.contentNode.setAttribute("aria-orientation",e))}get addButtonEnabled(){return this._addButtonEnabled}set addButtonEnabled(e){this._addButtonEnabled!==e&&(this._addButtonEnabled=e,e?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))}get titles(){return this._titles}get contentNode(){return this.node.getElementsByClassName("lm-TabBar-content")[0]}get addButtonNode(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]}addTab(e){return this.insertTab(this._titles.length,e)}insertTab(e,t){this._releaseMouse();let i=bt.asTitle(t),n=this._titles.indexOf(i),s=Math.max(0,Math.min(e,this._titles.length));return-1===n?(Q.insert(this._titles,s,i),i.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(s,i),i):(s===this._titles.length&&s--,n===s||(Q.move(this._titles,n,s),this.update(),this._adjustCurrentForMove(n,s)),i)}removeTab(e){this.removeTabAt(this._titles.indexOf(e))}removeTabAt(e){this._releaseMouse();let t=Q.removeAt(this._titles,e);t&&(t.changed.disconnect(this._onTitleChanged,this),t===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(e,t))}clearTabs(){if(0===this._titles.length)return;this._releaseMouse();for(let e of this._titles)e.changed.disconnect(this._onTitleChanged,this);let e=this.currentIndex,t=this.currentTitle;this._currentIndex=-1,this._previousTitle=null,this._titles.length=0,this.update(),-1!==e&&this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null})}releaseMouse(){this._releaseMouse()}handleEvent(e){switch(e.type){case"pointerdown":this._evtPointerDown(e);break;case"pointermove":this._evtPointerMove(e);break;case"pointerup":this._evtPointerUp(e);break;case"dblclick":this._evtDblClick(e);break;case"keydown":e.eventPhase===Event.CAPTURING_PHASE?this._evtKeyDownCapturing(e):this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("pointerdown",this),this.node.addEventListener("dblclick",this),this.node.addEventListener("keydown",this)}onAfterDetach(e){this.node.removeEventListener("pointerdown",this),this.node.removeEventListener("dblclick",this),this.node.removeEventListener("keydown",this),this._releaseMouse()}onUpdateRequest(e){var t;let i=this._titles,n=this.renderer,s=this.currentTitle,r=new Array(i.length);const o=null!==(t=this._getCurrentTabindex())&&void 0!==t?t:this._currentIndex>-1?this._currentIndex:0;for(let e=0,t=i.length;e<t;++e){let a=i[e],l=a===s,d=l?t:t-e-1,h=o===e?0:-1;r[e]=n.renderTab({title:a,current:l,zIndex:d,tabIndex:h})}Ne.render(r,this.contentNode)}_getCurrentTabindex(){let e=null;const t=this.contentNode.querySelector('li[tabindex="0"]');return t?e=[...this.contentNode.children].indexOf(t):this._addButtonEnabled&&"0"===this.addButtonNode.getAttribute("tabindex")&&(e=-1),e}_evtDblClick(e){if(!this.titlesEditable)return;let t=this.contentNode.children,i=Q.findFirstIndex(t,(t=>re.hitTest(t,e.clientX,e.clientY)));if(-1===i)return;let n=this.titles[i],s=t[i].querySelector(".lm-TabBar-tabLabel");if(s&&s.contains(e.target)){let e=n.label||"",t=s.innerHTML;s.innerHTML="";let i=document.createElement("input");i.classList.add("lm-TabBar-tabInput"),i.value=e,s.appendChild(i);let r=()=>{i.removeEventListener("blur",r),s.innerHTML=t,this.node.addEventListener("keydown",this)};i.addEventListener("dblclick",(e=>e.stopPropagation())),i.addEventListener("blur",r),i.addEventListener("keydown",(e=>{"Enter"===e.key?(""!==i.value&&(n.label=n.caption=i.value),r()):"Escape"===e.key&&r()})),this.node.removeEventListener("keydown",this),i.select(),i.focus(),s.children.length>0&&s.children[0].focus()}}_evtKeyDownCapturing(e){e.eventPhase===Event.CAPTURING_PHASE&&(e.preventDefault(),e.stopPropagation(),"Escape"===e.key&&this._releaseMouse())}_evtKeyDown(e){var t,i,n;if("Tab"!==e.key&&e.eventPhase!==Event.CAPTURING_PHASE)if("Enter"===e.key||"Spacebar"===e.key||" "===e.key){const t=document.activeElement;if(this.addButtonEnabled&&this.addButtonNode.contains(t))e.preventDefault(),e.stopPropagation(),this._addRequested.emit();else{const i=Q.findFirstIndex(this.contentNode.children,(e=>e.contains(t)));i>=0&&(e.preventDefault(),e.stopPropagation(),this.currentIndex=i)}}else if(vt.includes(e.key)){const s=[...this.contentNode.children];if(this.addButtonEnabled&&s.push(this.addButtonNode),s.length<=1)return;e.preventDefault(),e.stopPropagation();let r,o=s.indexOf(document.activeElement);-1===o&&(o=this._currentIndex),"ArrowRight"===e.key&&"horizontal"===this._orientation||"ArrowDown"===e.key&&"vertical"===this._orientation?r=null!==(t=s[o+1])&&void 0!==t?t:s[0]:"ArrowLeft"===e.key&&"horizontal"===this._orientation||"ArrowUp"===e.key&&"vertical"===this._orientation?r=null!==(i=s[o-1])&&void 0!==i?i:s[s.length-1]:"Home"===e.key?r=s[0]:"End"===e.key&&(r=s[s.length-1]),r&&(null===(n=s[o])||void 0===n||n.setAttribute("tabindex","-1"),null==r||r.setAttribute("tabindex","0"),r.focus())}}_evtPointerDown(e){if(0!==e.button&&1!==e.button)return;if(this._dragData)return;if(e.target.classList.contains("lm-TabBar-tabInput"))return;let t=this.addButtonEnabled&&this.addButtonNode.contains(e.target),i=this.contentNode.children,n=Q.findFirstIndex(i,(t=>re.hitTest(t,e.clientX,e.clientY)));if(-1===n&&!t)return;if(e.preventDefault(),e.stopPropagation(),this._dragData={tab:i[n],index:n,pressX:e.clientX,pressY:e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("pointerup",this,!0),1===e.button||t)return;let s=i[n].querySelector(this.renderer.closeIconSelector);s&&s.contains(e.target)||(this.tabsMovable&&(this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===n?this.currentIndex=-1:this.currentIndex=n,-1!==this.currentIndex&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}_evtPointerMove(e){let t=this._dragData;if(!t)return;e.preventDefault(),e.stopPropagation();let i=this.contentNode.children;if(t.dragActive||bt.dragExceeded(t,e)){if(!t.dragActive){let e=t.tab.getBoundingClientRect();"horizontal"===this._orientation?(t.tabPos=t.tab.offsetLeft,t.tabSize=e.width,t.tabPressPos=t.pressX-e.left):(t.tabPos=t.tab.offsetTop,t.tabSize=e.height,t.tabPressPos=t.pressY-e.top),t.tabPressOffset={x:t.pressX-e.left,y:t.pressY-e.top},t.tabLayout=bt.snapTabLayout(i,this._orientation),t.contentRect=this.contentNode.getBoundingClientRect(),t.override=Ae.overrideCursor("default"),t.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),t.dragActive=!0}if(!t.detachRequested&&bt.detachExceeded(t,e)){t.detachRequested=!0;let n=t.index,s=e.clientX,r=e.clientY,o=i[n],a=this._titles[n];if(this._tabDetachRequested.emit({index:n,title:a,tab:o,clientX:s,clientY:r,offset:t.tabPressOffset}),t.dragAborted)return}bt.layoutTabs(i,t,e,this._orientation)}}_evtPointerUp(e){if(0!==e.button&&1!==e.button)return;const t=this._dragData;if(!t)return;if(e.preventDefault(),e.stopPropagation(),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!t.dragActive){if(this._dragData=null,this.addButtonEnabled&&this.addButtonNode.contains(e.target))return void this._addRequested.emit(void 0);let i=this.contentNode.children,n=Q.findFirstIndex(i,(t=>re.hitTest(t,e.clientX,e.clientY)));if(n!==t.index)return;let s=this._titles[n];if(!s.closable)return;if(1===e.button)return void this._tabCloseRequested.emit({index:n,title:s});let r=i[n].querySelector(this.renderer.closeIconSelector);return r&&r.contains(e.target)?void this._tabCloseRequested.emit({index:n,title:s}):void 0}if(0!==e.button)return;bt.finalizeTabPosition(t,this._orientation),t.tab.classList.remove("lm-mod-dragging");let i=bt.parseTransitionDuration(t.tab);setTimeout((()=>{if(t.dragAborted)return;this._dragData=null,bt.resetTabPositions(this.contentNode.children,this._orientation),t.override.dispose(),this.removeClass("lm-mod-dragging");let e=t.index,i=t.targetIndex;-1!==i&&e!==i&&(Q.move(this._titles,e,i),this._adjustCurrentForMove(e,i),this._tabMoved.emit({fromIndex:e,toIndex:i,title:this._titles[i]}),he.sendMessage(this,Ke.Msg.UpdateRequest))}),i)}_releaseMouse(){let e=this._dragData;e&&(this._dragData=null,this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),e.dragAborted=!0,e.dragActive&&(bt.resetTabPositions(this.contentNode.children,this._orientation),e.override.dispose(),e.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging")))}_adjustCurrentForInsert(e,t){let i=this.currentTitle,n=this._currentIndex,s=this.insertBehavior;if("select-tab"===s||"select-tab-if-needed"===s&&-1===n)return this._currentIndex=e,this._previousTitle=i,void this._currentChanged.emit({previousIndex:n,previousTitle:i,currentIndex:e,currentTitle:t});n>=e&&this._currentIndex++}_adjustCurrentForMove(e,t){this._currentIndex===e?this._currentIndex=t:this._currentIndex<e&&this._currentIndex>=t?this._currentIndex++:this._currentIndex>e&&this._currentIndex<=t&&this._currentIndex--}_adjustCurrentForRemove(e,t){let i=this._currentIndex,n=this.removeBehavior;if(i===e){if(0===this._titles.length)return this._currentIndex=-1,void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null});if("select-tab-after"===n)return this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-tab-before"===n)return this._currentIndex=Math.max(0,e-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-previous-tab"===n)return this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});this._currentIndex=-1,this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null})}else i>e&&this._currentIndex--}_onTitleChanged(e){this.update()}}var bt,yt,xt,wt,Mt,Ct,St,kt;!function(e){class t{constructor(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++t._nInstance}renderTab(e){let t=e.title.caption,i=this.createTabKey(e),n=i,s=this.createTabStyle(e),r=this.createTabClass(e),o=this.createTabDataset(e),a=this.createTabARIA(e);return e.title.closable?qe.li({id:n,key:i,className:r,title:t,style:s,dataset:o,...a},this.renderIcon(e),this.renderLabel(e),this.renderCloseIcon(e)):qe.li({id:n,key:i,className:r,title:t,style:s,dataset:o,...a},this.renderIcon(e),this.renderLabel(e))}renderIcon(e){const{title:t}=e;let i=this.createIconClass(e);return qe.div({className:i},t.icon,t.iconLabel)}renderLabel(e){return qe.div({className:"lm-TabBar-tabLabel"},e.title.label)}renderCloseIcon(e){return qe.div({className:"lm-TabBar-tabCloseIcon"})}createTabKey(e){let t=this._tabKeys.get(e.title);return void 0===t&&(t=`tab-key-${this._uuid}-${this._tabID++}`,this._tabKeys.set(e.title,t)),t}createTabStyle(e){return{zIndex:`${e.zIndex}`}}createTabClass(e){let t="lm-TabBar-tab";return e.title.className&&(t+=` ${e.title.className}`),e.title.closable&&(t+=" lm-mod-closable"),e.current&&(t+=" lm-mod-current"),t}createTabDataset(e){return e.title.dataset}createTabARIA(e){var t;return{role:"tab","aria-selected":e.current.toString(),tabindex:`${null!==(t=e.tabIndex)&&void 0!==t?t:"-1"}`}}createIconClass(e){let t="lm-TabBar-tabIcon",i=e.title.iconClass;return i?`${t} ${i}`:t}}t._nInstance=0,e.Renderer=t,e.defaultRenderer=new t,e.addButtonSelector=".lm-TabBar-addButton"}(_t||(_t={})),function(e){e.DRAG_THRESHOLD=5,e.DETACH_THRESHOLD=20,e.createNode=function(){let e=document.createElement("div"),t=document.createElement("ul");t.setAttribute("role","tablist"),t.className="lm-TabBar-content",e.appendChild(t);let i=document.createElement("div");return i.className="lm-TabBar-addButton lm-mod-hidden",i.setAttribute("tabindex","-1"),i.setAttribute("role","button"),e.appendChild(i),e},e.asTitle=function(e){return e instanceof Ue?e:new Ue(e)},e.parseTransitionDuration=function(e){let t=window.getComputedStyle(e);return 1e3*(parseFloat(t.transitionDuration)||0)},e.snapTabLayout=function(e,t){let i=new Array(e.length);for(let n=0,s=e.length;n<s;++n){let s=e[n],r=window.getComputedStyle(s);i[n]="horizontal"===t?{pos:s.offsetLeft,size:s.offsetWidth,margin:parseFloat(r.marginLeft)||0}:{pos:s.offsetTop,size:s.offsetHeight,margin:parseFloat(r.marginTop)||0}}return i},e.dragExceeded=function(t,i){let n=Math.abs(i.clientX-t.pressX),s=Math.abs(i.clientY-t.pressY);return n>=e.DRAG_THRESHOLD||s>=e.DRAG_THRESHOLD},e.detachExceeded=function(t,i){let n=t.contentRect;return i.clientX<n.left-e.DETACH_THRESHOLD||i.clientX>=n.right+e.DETACH_THRESHOLD||i.clientY<n.top-e.DETACH_THRESHOLD||i.clientY>=n.bottom+e.DETACH_THRESHOLD},e.layoutTabs=function(e,t,i,n){let s,r,o,a;"horizontal"===n?(s=t.pressX,r=i.clientX-t.contentRect.left,o=i.clientX,a=t.contentRect.width):(s=t.pressY,r=i.clientY-t.contentRect.top,o=i.clientY,a=t.contentRect.height);let l=t.index,d=r-t.tabPressPos,h=d+t.tabSize;for(let i=0,r=e.length;i<r;++i){let r,u=t.tabLayout[i],c=u.pos+(u.size>>1);if(i<t.index&&d<c)r=`${t.tabSize+t.tabLayout[i+1].margin}px`,l=Math.min(l,i);else if(i>t.index&&h>c)r=-t.tabSize-u.margin+"px",l=Math.max(l,i);else if(i===t.index){let e=o-s,i=a-(t.tabPos+t.tabSize);r=`${Math.max(-t.tabPos,Math.min(e,i))}px`}else r="";"horizontal"===n?e[i].style.left=r:e[i].style.top=r}t.targetIndex=l},e.finalizeTabPosition=function(e,t){let i,n;if(i="horizontal"===t?e.contentRect.width:e.contentRect.height,e.targetIndex===e.index)n=0;else if(e.targetIndex>e.index){let t=e.tabLayout[e.targetIndex];n=t.pos+t.size-e.tabSize-e.tabPos}else n=e.tabLayout[e.targetIndex].pos-e.tabPos;let s=i-(e.tabPos+e.tabSize),r=Math.max(-e.tabPos,Math.min(n,s));"horizontal"===t?e.tab.style.left=`${r}px`:e.tab.style.top=`${r}px`},e.resetTabPositions=function(e,t){for(const i of e)"horizontal"===t?i.style.left="":i.style.top=""}}(bt||(bt={}));class Tt extends Xe{constructor(e){super(),this._spacing=4,this._dirty=!1,this._root=null,this._box=null,this._items=new Map,this.renderer=e.renderer,void 0!==e.spacing&&(this._spacing=at.clampDimension(e.spacing)),this._document=e.document||document,this._hiddenMode=void 0!==e.hiddenMode?e.hiddenMode:Ke.HiddenMode.Display}dispose(){let e=this[Symbol.iterator]();this._items.forEach((e=>{e.dispose()})),this._box=null,this._root=null,this._items.clear();for(const t of e)t.dispose();super.dispose()}get hiddenMode(){return this._hiddenMode}set hiddenMode(e){if(this._hiddenMode!==e){this._hiddenMode=e;for(const e of this.tabBars())if(e.titles.length>1)for(const t of e.titles)t.owner.hiddenMode=this._hiddenMode}}get spacing(){return this._spacing}set spacing(e){e=at.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())}get isEmpty(){return null===this._root}[Symbol.iterator](){return this._root?this._root.iterAllWidgets():ie()}widgets(){return this._root?this._root.iterUserWidgets():ie()}selectedWidgets(){return this._root?this._root.iterSelectedWidgets():ie()}tabBars(){return this._root?this._root.iterTabBars():ie()}handles(){return this._root?this._root.iterHandles():ie()}moveHandle(e,t,i){let n=e.classList.contains("lm-mod-hidden");if(!this._root||n)return;let s,r=this._root.findSplitNode(e);r&&(s="horizontal"===r.node.orientation?t-e.offsetLeft:i-e.offsetTop,0!==s&&(r.node.holdSizes(),Be.adjust(r.node.sizers,r.index,s),this.parent&&this.parent.update()))}saveLayout(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}}restoreLayout(e){let t,i=new Set;t=e.main?yt.normalizeAreaConfig(e.main,i):null;let n=this.widgets(),s=this.tabBars(),r=this.handles();this._root=null;for(const e of n)i.has(e)||(e.parent=null);for(const e of s)e.dispose();for(const e of r)e.parentNode&&e.parentNode.removeChild(e);for(const e of i)e.parent=this.parent;this._root=t?yt.realizeAreaConfig(t,{createTabBar:e=>this._createTabBar(),createHandle:()=>this._createHandle()},this._document):null,this.parent&&(i.forEach((e=>{this.attachWidget(e)})),this.parent.fit())}addWidget(e,t={}){let i=t.ref||null,n=t.mode||"tab-after",s=null;if(this._root&&i&&(s=this._root.findTabNode(i)),i&&!s)throw new Error("Reference widget is not in the layout.");switch(e.parent=this.parent,n){case"tab-after":this._insertTab(e,i,s,!0);break;case"tab-before":this._insertTab(e,i,s,!1);break;case"split-top":this._insertSplit(e,i,s,"vertical",!1);break;case"split-left":this._insertSplit(e,i,s,"horizontal",!1);break;case"split-right":this._insertSplit(e,i,s,"horizontal",!0);break;case"split-bottom":this._insertSplit(e,i,s,"vertical",!0);break;case"merge-top":this._insertSplit(e,i,s,"vertical",!1,!0);break;case"merge-left":this._insertSplit(e,i,s,"horizontal",!1,!0);break;case"merge-right":this._insertSplit(e,i,s,"horizontal",!0,!0);break;case"merge-bottom":this._insertSplit(e,i,s,"vertical",!0,!0)}this.parent&&(this.attachWidget(e),this.parent.fit())}removeWidget(e){this._removeWidget(e),this.parent&&(this.detachWidget(e),this.parent.fit())}hitTestTabAreas(e,t){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=re.boxSizing(this.parent.node));let i=this.parent.node.getBoundingClientRect(),n=e-i.left-this._box.borderLeft,s=t-i.top-this._box.borderTop,r=this._root.hitTestTabNodes(n,s);if(!r)return null;let{tabBar:o,top:a,left:l,width:d,height:h}=r,u=this._box.borderLeft+this._box.borderRight,c=this._box.borderTop+this._box.borderBottom;return{tabBar:o,x:n,y:s,top:a,left:l,right:i.width-u-(l+d),bottom:i.height-c-(a+h),width:d,height:h}}init(){super.init();for(const e of this)this.attachWidget(e);for(const e of this.handles())this.parent.node.appendChild(e);this.parent.fit()}attachWidget(e){this.parent.node!==e.node.parentNode&&(this._items.set(e,new Ye(e)),this.parent.isAttached&&he.sendMessage(e,Ke.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&he.sendMessage(e,Ke.Msg.AfterAttach))}detachWidget(e){if(this.parent.node!==e.node.parentNode)return;this.parent.isAttached&&he.sendMessage(e,Ke.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&he.sendMessage(e,Ke.Msg.AfterDetach);let t=this._items.get(e);t&&(this._items.delete(e),t.dispose())}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}_removeWidget(e){if(!this._root)return;let t=this._root.findTabNode(e);if(!t)return;if(yt.removeAria(e),t.tabBar.titles.length>1)return t.tabBar.removeTab(e.title),void(this._hiddenMode===Ke.HiddenMode.Scale&&1==t.tabBar.titles.length&&(t.tabBar.titles[0].owner.hiddenMode=Ke.HiddenMode.Display));if(t.tabBar.dispose(),this._root===t)return void(this._root=null);this._root.holdAllSizes();let i=t.parent;t.parent=null;let n=Q.removeFirstOf(i.children,t),s=Q.removeAt(i.handles,n);if(Q.removeAt(i.sizers,n),s.parentNode&&s.parentNode.removeChild(s),i.children.length>1)return void i.syncHandles();let r=i.parent;i.parent=null;let o=i.children[0],a=i.handles[0];if(i.children.length=0,i.handles.length=0,i.sizers.length=0,a.parentNode&&a.parentNode.removeChild(a),this._root===i)return o.parent=null,void(this._root=o);let l=r,d=l.children.indexOf(i);if(o instanceof yt.TabLayoutNode)return o.parent=l,void(l.children[d]=o);let h=Q.removeAt(l.handles,d);Q.removeAt(l.children,d),Q.removeAt(l.sizers,d),h.parentNode&&h.parentNode.removeChild(h);for(let e=0,t=o.children.length;e<t;++e){let t=o.children[e],i=o.handles[e],n=o.sizers[e];Q.insert(l.children,d+e,t),Q.insert(l.handles,d+e,i),Q.insert(l.sizers,d+e,n),t.parent=l}o.children.length=0,o.handles.length=0,o.sizers.length=0,o.parent=null,l.syncHandles()}_createTabNode(e){let t=new yt.TabLayoutNode(this._createTabBar());return t.tabBar.addTab(e.title),yt.addAria(e,t.tabBar),t}_insertTab(e,t,i,n){if(e===t)return;if(!this._root){let t=new yt.TabLayoutNode(this._createTabBar());return t.tabBar.addTab(e.title),this._root=t,void yt.addAria(e,t.tabBar)}let s;i||(i=this._root.findFirstTabNode()),-1===i.tabBar.titles.indexOf(e.title)&&(this._removeWidget(e),e.hide()),s=t?i.tabBar.titles.indexOf(t.title):i.tabBar.currentIndex,this._hiddenMode===Ke.HiddenMode.Scale?0===i.tabBar.titles.length?e.hiddenMode=Ke.HiddenMode.Display:1==i.tabBar.titles.length?i.tabBar.titles[0].owner.hiddenMode=Ke.HiddenMode.Scale:e.hiddenMode=Ke.HiddenMode.Scale:e.hiddenMode=this._hiddenMode,i.tabBar.insertTab(s+(n?1:0),e.title),yt.addAria(e,i.tabBar)}_insertSplit(e,t,i,n,s,r=!1){if(e===t&&i&&1===i.tabBar.titles.length)return;if(this._removeWidget(e),!this._root)return void(this._root=this._createTabNode(e));if(!i||!i.parent){let t=this._splitRoot(n),r=s?t.children.length:0;t.normalizeSizes();let o=yt.createSizer(i?1:yt.GOLDEN_RATIO),a=this._createTabNode(e);return Q.insert(t.children,r,a),Q.insert(t.sizers,r,o),Q.insert(t.handles,r,this._createHandle()),a.parent=t,t.normalizeSizes(),void t.syncHandles()}let o=i.parent;if(o.orientation===n){let t=o.children.indexOf(i);if(r){let i=t+(s?1:-1),n=o.children[i];if(n instanceof yt.TabLayoutNode)return this._insertTab(e,null,n,!0),void++n.tabBar.currentIndex}o.normalizeSizes();let n=o.sizers[t].sizeHint/=2,a=t+(s?1:0),l=this._createTabNode(e);return Q.insert(o.children,a,l),Q.insert(o.sizers,a,yt.createSizer(n)),Q.insert(o.handles,a,this._createHandle()),l.parent=o,void o.syncHandles()}let a=Q.removeFirstOf(o.children,i),l=new yt.SplitLayoutNode(n);l.normalized=!0,l.children.push(i),l.sizers.push(yt.createSizer(.5)),l.handles.push(this._createHandle()),i.parent=l;let d=s?1:0,h=this._createTabNode(e);Q.insert(l.children,d,h),Q.insert(l.sizers,d,yt.createSizer(.5)),Q.insert(l.handles,d,this._createHandle()),h.parent=l,l.syncHandles(),Q.insert(o.children,a,l),l.parent=o}_splitRoot(e){let t=this._root;if(t instanceof yt.SplitLayoutNode&&t.orientation===e)return t;let i=this._root=new yt.SplitLayoutNode(e);return t&&(i.children.push(t),i.sizers.push(yt.createSizer(0)),i.handles.push(this._createHandle()),t.parent=i),i}_fit(){let e=0,t=0;if(this._root){let i=this._root.fit(this._spacing,this._items);e=i.minWidth,t=i.minHeight}let i=this._box=re.boxSizing(this.parent.node);e+=i.horizontalSum,t+=i.verticalSum;let n=this.parent.node.style;n.minWidth=`${e}px`,n.minHeight=`${t}px`,this._dirty=!0,this.parent.parent&&he.sendMessage(this.parent.parent,Ke.Msg.FitRequest),this._dirty&&he.sendMessage(this.parent,Ke.Msg.UpdateRequest)}_update(e,t){if(this._dirty=!1,!this._root)return;e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=re.boxSizing(this.parent.node));let i=this._box.paddingTop,n=this._box.paddingLeft,s=e-this._box.horizontalSum,r=t-this._box.verticalSum;this._root.update(i,n,s,r,this._spacing,this._items)}_createTabBar(){let e=this.renderer.createTabBar(this._document);return e.orientation="horizontal",this.parent&&this.attachWidget(e),e}_createHandle(){let e=this.renderer.createHandle(),t=e.style;return t.position="absolute",t.contain="strict",t.top="0",t.left="0",t.width="0",t.height="0",this.parent&&this.parent.node.appendChild(e),e}}!function(e){function t(e){let t=new $e;return t.sizeHint=e,t.size=e,t}e.GOLDEN_RATIO=.618,e.createSizer=t,e.normalizeAreaConfig=function e(t,i){let n;return n="tab-area"===t.type?function(e,t){if(0===e.widgets.length)return null;let i=[];for(const n of e.widgets)t.has(n)||(t.add(n),i.push(n));if(0===i.length)return null;let n=e.currentIndex;return-1!==n&&(n<0||n>=i.length)&&(n=0),{type:"tab-area",widgets:i,currentIndex:n}}(t,i):function(t,i){let n=t.orientation,s=[],r=[];for(let o=0,a=t.children.length;o<a;++o){let a=e(t.children[o],i);a&&("tab-area"===a.type||a.orientation!==n?(s.push(a),r.push(Math.abs(t.sizes[o]||0))):(s.push(...a.children),r.push(...a.sizes)))}return 0===s.length?null:1===s.length?s[0]:{type:"split-area",orientation:n,children:s,sizes:r}}(t,i),n},e.realizeAreaConfig=function s(r,o,a){let l;return l="tab-area"===r.type?function(t,n,s){let r=n.createTabBar(s);for(const i of t.widgets)i.hide(),r.addTab(i.title),e.addAria(i,r);return r.currentIndex=t.currentIndex,new i(r)}(r,o,a):function(e,i,r){let o=new n(e.orientation);return e.children.forEach(((n,a)=>{let l=s(n,i,r),d=t(e.sizes[a]),h=i.createHandle();o.children.push(l),o.handles.push(h),o.sizers.push(d),l.parent=o})),o.syncHandles(),o.normalizeSizes(),o}(r,o,a),l};class i{constructor(e){this.parent=null,this._top=0,this._left=0,this._width=0,this._height=0;let t=new $e,i=new $e;t.stretch=0,i.stretch=1,this.tabBar=e,this.sizers=[t,i]}get top(){return this._top}get left(){return this._left}get width(){return this._width}get height(){return this._height}*iterAllWidgets(){yield this.tabBar,yield*this.iterUserWidgets()}*iterUserWidgets(){for(const e of this.tabBar.titles)yield e.owner}*iterSelectedWidgets(){let e=this.tabBar.currentTitle;e&&(yield e.owner)}*iterTabBars(){yield this.tabBar}*iterHandles(){}findTabNode(e){return-1!==this.tabBar.titles.indexOf(e.title)?this:null}findSplitNode(e){return null}findFirstTabNode(){return this}hitTestTabNodes(e,t){return e<this._left||e>=this._left+this._width||t<this._top||t>=this._top+this._height?null:this}createConfig(){return{type:"tab-area",widgets:this.tabBar.titles.map((e=>e.owner)),currentIndex:this.tabBar.currentIndex}}holdAllSizes(){}fit(e,t){let i=0,n=0,s=t.get(this.tabBar),r=this.tabBar.currentTitle,o=r?t.get(r.owner):void 0,[a,l]=this.sizers;return s&&s.fit(),o&&o.fit(),s&&!s.isHidden?(i=Math.max(i,s.minWidth),n+=s.minHeight,a.minSize=s.minHeight,a.maxSize=s.maxHeight):(a.minSize=0,a.maxSize=0),o&&!o.isHidden?(i=Math.max(i,o.minWidth),n+=o.minHeight,l.minSize=o.minHeight,l.maxSize=1/0):(l.minSize=0,l.maxSize=1/0),{minWidth:i,minHeight:n,maxWidth:1/0,maxHeight:1/0}}update(e,t,i,n,s,r){this._top=t,this._left=e,this._width=i,this._height=n;let o=r.get(this.tabBar),a=this.tabBar.currentTitle,l=a?r.get(a.owner):void 0;if(Be.calc(this.sizers,n),o&&!o.isHidden){let n=this.sizers[0].size;o.update(e,t,i,n),t+=n}if(l&&!l.isHidden){let n=this.sizers[1].size;l.update(e,t,i,n)}}}e.TabLayoutNode=i;class n{constructor(e){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=e}*iterAllWidgets(){for(const e of this.children)yield*e.iterAllWidgets()}*iterUserWidgets(){for(const e of this.children)yield*e.iterUserWidgets()}*iterSelectedWidgets(){for(const e of this.children)yield*e.iterSelectedWidgets()}*iterTabBars(){for(const e of this.children)yield*e.iterTabBars()}*iterHandles(){yield*this.handles;for(const e of this.children)yield*e.iterHandles()}findTabNode(e){for(let t=0,i=this.children.length;t<i;++t){let i=this.children[t].findTabNode(e);if(i)return i}return null}findSplitNode(e){let t=this.handles.indexOf(e);if(-1!==t)return{index:t,node:this};for(let t=0,i=this.children.length;t<i;++t){let i=this.children[t].findSplitNode(e);if(i)return i}return null}findFirstTabNode(){return 0===this.children.length?null:this.children[0].findFirstTabNode()}hitTestTabNodes(e,t){for(let i=0,n=this.children.length;i<n;++i){let n=this.children[i].hitTestTabNodes(e,t);if(n)return n}return null}createConfig(){let e=this.orientation,t=this.createNormalizedSizes();return{type:"split-area",orientation:e,children:this.children.map((e=>e.createConfig())),sizes:t}}syncHandles(){this.handles.forEach(((e,t)=>{e.setAttribute("data-orientation",this.orientation),t===this.handles.length-1?e.classList.add("lm-mod-hidden"):e.classList.remove("lm-mod-hidden")}))}holdSizes(){for(const e of this.sizers)e.sizeHint=e.size}holdAllSizes(){for(const e of this.children)e.holdAllSizes();this.holdSizes()}normalizeSizes(){let e=this.sizers.length;if(0===e)return;this.holdSizes();let t=this.sizers.reduce(((e,t)=>e+t.sizeHint),0);if(0===t)for(const t of this.sizers)t.size=t.sizeHint=1/e;else for(const e of this.sizers)e.size=e.sizeHint/=t;this.normalized=!0}createNormalizedSizes(){let e=this.sizers.length;if(0===e)return[];let t=this.sizers.map((e=>e.size)),i=t.reduce(((e,t)=>e+t),0);if(0===i)for(let i=t.length-1;i>-1;i--)t[i]=1/e;else for(let e=t.length-1;e>-1;e--)t[e]/=i;return t}fit(e,t){let i="horizontal"===this.orientation,n=Math.max(0,this.children.length-1)*e,s=i?n:0,r=i?0:n;for(let n=0,o=this.children.length;n<o;++n){let o=this.children[n].fit(e,t);i?(r=Math.max(r,o.minHeight),s+=o.minWidth,this.sizers[n].minSize=o.minWidth):(s=Math.max(s,o.minWidth),r+=o.minHeight,this.sizers[n].minSize=o.minHeight)}return{minWidth:s,minHeight:r,maxWidth:1/0,maxHeight:1/0}}update(e,t,i,n,s,r){let o="horizontal"===this.orientation,a=Math.max(0,this.children.length-1)*s,l=Math.max(0,(o?i:n)-a);if(this.normalized){for(const e of this.sizers)e.sizeHint*=l;this.normalized=!1}Be.calc(this.sizers,l);for(let a=0,l=this.children.length;a<l;++a){let l=this.children[a],d=this.sizers[a].size,h=this.handles[a].style;o?(l.update(e,t,d,n,s,r),e+=d,h.top=`${t}px`,h.left=`${e}px`,h.width=`${s}px`,h.height=`${n}px`,e+=s):(l.update(e,t,i,d,s,r),t+=d,h.top=`${t}px`,h.left=`${e}px`,h.width=`${i}px`,h.height=`${s}px`,t+=s)}}}e.SplitLayoutNode=n,e.addAria=function(e,t){e.node.setAttribute("role","tabpanel");let i=t.renderer;if(i instanceof _t.Renderer){let t=i.createTabKey({title:e.title,current:!1,zIndex:0});e.node.setAttribute("aria-labelledby",t)}},e.removeAria=function(e){e.node.removeAttribute("role"),e.node.removeAttribute("aria-labelledby")}}(yt||(yt={}));class Et extends Ke{constructor(e={}){super(),this._drag=null,this._tabsMovable=!0,this._tabsConstrained=!1,this._addButtonEnabled=!1,this._pressData=null,this._layoutModified=new Se(this),this._addRequested=new Se(this),this.addClass("lm-DockPanel"),this._document=e.document||document,this._mode=e.mode||"multiple-document",this._renderer=e.renderer||Et.defaultRenderer,this._edges=e.edges||xt.DEFAULT_EDGES,void 0!==e.tabsMovable&&(this._tabsMovable=e.tabsMovable),void 0!==e.tabsConstrained&&(this._tabsConstrained=e.tabsConstrained),void 0!==e.addButtonEnabled&&(this._addButtonEnabled=e.addButtonEnabled),this.dataset.mode=this._mode;let t={createTabBar:()=>this._createTabBar(),createHandle:()=>this._createHandle()};this.layout=new Tt({document:this._document,renderer:t,spacing:e.spacing,hiddenMode:e.hiddenMode}),this.overlay=e.overlay||new Et.Overlay,this.node.appendChild(this.overlay.node)}dispose(){this._releaseMouse(),this.overlay.hide(0),this._drag&&this._drag.dispose(),super.dispose()}get hiddenMode(){return this.layout.hiddenMode}set hiddenMode(e){this.layout.hiddenMode=e}get layoutModified(){return this._layoutModified}get addRequested(){return this._addRequested}get renderer(){return this.layout.renderer}get spacing(){return this.layout.spacing}set spacing(e){this.layout.spacing=e}get mode(){return this._mode}set mode(e){if(this._mode===e)return;this._mode=e,this.dataset.mode=e;let t=this.layout;switch(e){case"multiple-document":for(const e of t.tabBars())e.show();break;case"single-document":t.restoreLayout(xt.createSingleDocumentConfig(this));break;default:throw"unreachable"}he.postMessage(this,xt.LayoutModified)}get tabsMovable(){return this._tabsMovable}set tabsMovable(e){this._tabsMovable=e;for(const t of this.tabBars())t.tabsMovable=e}get tabsConstrained(){return this._tabsConstrained}set tabsConstrained(e){this._tabsConstrained=e}get addButtonEnabled(){return this._addButtonEnabled}set addButtonEnabled(e){this._addButtonEnabled=e;for(const t of this.tabBars())t.addButtonEnabled=e}get isEmpty(){return this.layout.isEmpty}*widgets(){yield*this.layout.widgets()}*selectedWidgets(){yield*this.layout.selectedWidgets()}*tabBars(){yield*this.layout.tabBars()}*handles(){yield*this.layout.handles()}selectWidget(e){let t=ne(this.tabBars(),(t=>-1!==t.titles.indexOf(e.title)));if(!t)throw new Error("Widget is not contained in the dock panel.");t.currentTitle=e.title}activateWidget(e){this.selectWidget(e),e.activate()}saveLayout(){return this.layout.saveLayout()}restoreLayout(e){this._mode="multiple-document",this.layout.restoreLayout(e),(oe.IS_EDGE||oe.IS_IE)&&he.flush(),he.postMessage(this,xt.LayoutModified)}addWidget(e,t={}){"single-document"===this._mode?this.layout.addWidget(e):this.layout.addWidget(e,t),he.postMessage(this,xt.LayoutModified)}processMessage(e){"layout-modified"===e.type?this._layoutModified.emit(void 0):super.processMessage(e)}handleEvent(e){switch(e.type){case"lm-dragenter":this._evtDragEnter(e);break;case"lm-dragleave":this._evtDragLeave(e);break;case"lm-dragover":this._evtDragOver(e);break;case"lm-drop":this._evtDrop(e);break;case"pointerdown":this._evtPointerDown(e);break;case"pointermove":this._evtPointerMove(e);break;case"pointerup":this._evtPointerUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("lm-dragenter",this),this.node.addEventListener("lm-dragleave",this),this.node.addEventListener("lm-dragover",this),this.node.addEventListener("lm-drop",this),this.node.addEventListener("pointerdown",this)}onAfterDetach(e){this.node.removeEventListener("lm-dragenter",this),this.node.removeEventListener("lm-dragleave",this),this.node.removeEventListener("lm-dragover",this),this.node.removeEventListener("lm-drop",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()}onChildAdded(e){xt.isGeneratedTabBarProperty.get(e.child)||e.child.addClass("lm-DockPanel-widget")}onChildRemoved(e){xt.isGeneratedTabBarProperty.get(e.child)||(e.child.removeClass("lm-DockPanel-widget"),he.postMessage(this,xt.LayoutModified))}_evtDragEnter(e){e.mimeData.hasData("application/vnd.lumino.widget-factory")&&(e.preventDefault(),e.stopPropagation())}_evtDragLeave(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||(e.stopPropagation(),this.overlay.hide(1))}_evtDragOver(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||"invalid"===this._showOverlay(e.clientX,e.clientY)?e.dropAction="none":(e.stopPropagation(),e.dropAction=e.proposedAction)}_evtDrop(e){if(e.preventDefault(),this.overlay.hide(0),"none"===e.proposedAction)return void(e.dropAction="none");let{clientX:t,clientY:i}=e,{zone:n,target:s}=xt.findDropTarget(this,t,i,this._edges);if(this._tabsConstrained&&e.source!==this||"invalid"===n)return void(e.dropAction="none");let r=e.mimeData.getData("application/vnd.lumino.widget-factory");if("function"!=typeof r)return void(e.dropAction="none");let o=r();if(!(o instanceof Ke))return void(e.dropAction="none");if(o.contains(this))return void(e.dropAction="none");let a=s?xt.getDropRef(s.tabBar):null;switch(n){case"root-all":this.addWidget(o);break;case"root-top":this.addWidget(o,{mode:"split-top"});break;case"root-left":this.addWidget(o,{mode:"split-left"});break;case"root-right":this.addWidget(o,{mode:"split-right"});break;case"root-bottom":this.addWidget(o,{mode:"split-bottom"});break;case"widget-all":case"widget-tab":this.addWidget(o,{mode:"tab-after",ref:a});break;case"widget-top":this.addWidget(o,{mode:"split-top",ref:a});break;case"widget-left":this.addWidget(o,{mode:"split-left",ref:a});break;case"widget-right":this.addWidget(o,{mode:"split-right",ref:a});break;case"widget-bottom":this.addWidget(o,{mode:"split-bottom",ref:a});break;default:throw"unreachable"}e.dropAction=e.proposedAction,e.stopPropagation(),this.activateWidget(o)}_evtKeyDown(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&(this._releaseMouse(),he.postMessage(this,xt.LayoutModified))}_evtPointerDown(e){if(0!==e.button)return;let t=this.layout,i=e.target,n=ne(t.handles(),(e=>e.contains(i)));if(!n)return;e.preventDefault(),e.stopPropagation(),this._document.addEventListener("keydown",this,!0),this._document.addEventListener("pointerup",this,!0),this._document.addEventListener("pointermove",this,!0),this._document.addEventListener("contextmenu",this,!0);let s=n.getBoundingClientRect(),r=e.clientX-s.left,o=e.clientY-s.top,a=window.getComputedStyle(n),l=Ae.overrideCursor(a.cursor,this._document);this._pressData={handle:n,deltaX:r,deltaY:o,override:l}}_evtPointerMove(e){if(!this._pressData)return;e.preventDefault(),e.stopPropagation();let t=this.node.getBoundingClientRect(),i=e.clientX-t.left-this._pressData.deltaX,n=e.clientY-t.top-this._pressData.deltaY;this.layout.moveHandle(this._pressData.handle,i,n)}_evtPointerUp(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse(),he.postMessage(this,xt.LayoutModified))}_releaseMouse(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._document.removeEventListener("keydown",this,!0),this._document.removeEventListener("pointerup",this,!0),this._document.removeEventListener("pointermove",this,!0),this._document.removeEventListener("contextmenu",this,!0))}_showOverlay(e,t){let i,n,s,r,{zone:o,target:a}=xt.findDropTarget(this,e,t,this._edges);if("invalid"===o)return this.overlay.hide(100),o;let l=re.boxSizing(this.node),d=this.node.getBoundingClientRect();switch(o){case"root-all":i=l.paddingTop,n=l.paddingLeft,s=l.paddingRight,r=l.paddingBottom;break;case"root-top":i=l.paddingTop,n=l.paddingLeft,s=l.paddingRight,r=d.height*xt.GOLDEN_RATIO;break;case"root-left":i=l.paddingTop,n=l.paddingLeft,s=d.width*xt.GOLDEN_RATIO,r=l.paddingBottom;break;case"root-right":i=l.paddingTop,n=d.width*xt.GOLDEN_RATIO,s=l.paddingRight,r=l.paddingBottom;break;case"root-bottom":i=d.height*xt.GOLDEN_RATIO,n=l.paddingLeft,s=l.paddingRight,r=l.paddingBottom;break;case"widget-all":i=a.top,n=a.left,s=a.right,r=a.bottom;break;case"widget-top":i=a.top,n=a.left,s=a.right,r=a.bottom+a.height/2;break;case"widget-left":i=a.top,n=a.left,s=a.right+a.width/2,r=a.bottom;break;case"widget-right":i=a.top,n=a.left+a.width/2,s=a.right,r=a.bottom;break;case"widget-bottom":i=a.top+a.height/2,n=a.left,s=a.right,r=a.bottom;break;case"widget-tab":{const e=a.tabBar.node.getBoundingClientRect().height;i=a.top,n=a.left,s=a.right,r=a.bottom+a.height-e;break}default:throw"unreachable"}return this.overlay.show({top:i,left:n,right:s,bottom:r}),o}_createTabBar(){let e=this._renderer.createTabBar(this._document);return xt.isGeneratedTabBarProperty.set(e,!0),"single-document"===this._mode&&e.hide(),e.tabsMovable=this._tabsMovable,e.allowDeselect=!1,e.addButtonEnabled=this._addButtonEnabled,e.removeBehavior="select-previous-tab",e.insertBehavior="select-tab-if-needed",e.tabMoved.connect(this._onTabMoved,this),e.currentChanged.connect(this._onCurrentChanged,this),e.tabCloseRequested.connect(this._onTabCloseRequested,this),e.tabDetachRequested.connect(this._onTabDetachRequested,this),e.tabActivateRequested.connect(this._onTabActivateRequested,this),e.addRequested.connect(this._onTabAddRequested,this),e}_createHandle(){return this._renderer.createHandle()}_onTabMoved(){he.postMessage(this,xt.LayoutModified)}_onCurrentChanged(e,t){let{previousTitle:i,currentTitle:n}=t;i&&i.owner.hide(),n&&n.owner.show(),(oe.IS_EDGE||oe.IS_IE)&&he.flush(),he.postMessage(this,xt.LayoutModified)}_onTabAddRequested(e){this._addRequested.emit(e)}_onTabActivateRequested(e,t){t.title.owner.activate()}_onTabCloseRequested(e,t){t.title.owner.close()}_onTabDetachRequested(e,t){if(this._drag)return;e.releaseMouse();let{title:i,tab:n,clientX:s,clientY:r,offset:o}=t,a=new ye.MimeData;a.setData("application/vnd.lumino.widget-factory",(()=>i.owner));let l=n.cloneNode(!0);o&&(l.style.top=`-${o.y}px`,l.style.left=`-${o.x}px`),this._drag=new Ae({document:this._document,mimeData:a,dragImage:l,proposedAction:"move",supportedActions:"move",source:this}),n.classList.add("lm-mod-hidden"),this._drag.start(s,r).then((()=>{this._drag=null,n.classList.remove("lm-mod-hidden")}))}}!function(e){e.Overlay=class{constructor(){this._timer=-1,this._hidden=!0,this.node=document.createElement("div"),this.node.classList.add("lm-DockPanel-overlay"),this.node.classList.add("lm-mod-hidden"),this.node.style.position="absolute",this.node.style.contain="strict"}show(e){let t=this.node.style;t.top=`${e.top}px`,t.left=`${e.left}px`,t.right=`${e.right}px`,t.bottom=`${e.bottom}px`,clearTimeout(this._timer),this._timer=-1,this._hidden&&(this._hidden=!1,this.node.classList.remove("lm-mod-hidden"))}hide(e){if(!this._hidden)return e<=0?(clearTimeout(this._timer),this._timer=-1,this._hidden=!0,void this.node.classList.add("lm-mod-hidden")):void(-1===this._timer&&(this._timer=window.setTimeout((()=>{this._timer=-1,this._hidden=!0,this.node.classList.add("lm-mod-hidden")}),e)))}};class t{createTabBar(e){let t=new _t({document:e});return t.addClass("lm-DockPanel-tabBar"),t}createHandle(){let e=document.createElement("div");return e.className="lm-DockPanel-handle",e}}e.Renderer=t,e.defaultRenderer=new t}(Et||(Et={})),function(e){e.GOLDEN_RATIO=.618,e.DEFAULT_EDGES={top:12,right:40,bottom:40,left:40},e.LayoutModified=new Me("layout-modified"),e.isGeneratedTabBarProperty=new Ce({name:"isGeneratedTabBar",create:()=>!1}),e.createSingleDocumentConfig=function(e){if(e.isEmpty)return{main:null};let t=Array.from(e.widgets()),i=e.selectedWidgets().next().value,n=i?t.indexOf(i):-1;return{main:{type:"tab-area",widgets:t,currentIndex:n}}},e.findDropTarget=function(e,t,i,n){if(!re.hitTest(e.node,t,i))return{zone:"invalid",target:null};let s=e.layout;if(s.isEmpty)return{zone:"root-all",target:null};if("multiple-document"===e.mode){let s=e.node.getBoundingClientRect(),r=t-s.left+1,o=i-s.top+1,a=s.right-t,l=s.bottom-i;switch(Math.min(o,a,l,r)){case o:if(o<n.top)return{zone:"root-top",target:null};break;case a:if(a<n.right)return{zone:"root-right",target:null};break;case l:if(l<n.bottom)return{zone:"root-bottom",target:null};break;case r:if(r<n.left)return{zone:"root-left",target:null};break;default:throw"unreachable"}}let r=s.hitTestTabAreas(t,i);if(!r)return{zone:"invalid",target:null};if("single-document"===e.mode)return{zone:"widget-all",target:r};let o=r.x-r.left+1,a=r.y-r.top+1,l=r.left+r.width-r.x,d=r.top+r.height-r.y;if(a<r.tabBar.node.getBoundingClientRect().height)return{zone:"widget-tab",target:r};let h,u=Math.round(r.width/3),c=Math.round(r.height/3);if(o>u&&l>u&&a>c&&d>c)return{zone:"widget-all",target:r};switch(o/=u,a/=c,l/=u,d/=c,Math.min(o,a,l,d)){case o:h="widget-left";break;case a:h="widget-top";break;case l:h="widget-right";break;case d:h="widget-bottom";break;default:throw"unreachable"}return{zone:h,target:r}},e.getDropRef=function(e){return 0===e.titles.length?null:e.currentTitle?e.currentTitle.owner:e.titles[e.titles.length-1].owner}}(xt||(xt={}));class At extends Xe{constructor(e={}){super(e),this._dirty=!1,this._rowSpacing=4,this._columnSpacing=4,this._items=[],this._rowStarts=[],this._columnStarts=[],this._rowSizers=[new $e],this._columnSizers=[new $e],this._box=null,void 0!==e.rowCount&&wt.reallocSizers(this._rowSizers,e.rowCount),void 0!==e.columnCount&&wt.reallocSizers(this._columnSizers,e.columnCount),void 0!==e.rowSpacing&&(this._rowSpacing=wt.clampValue(e.rowSpacing)),void 0!==e.columnSpacing&&(this._columnSpacing=wt.clampValue(e.columnSpacing))}dispose(){for(const e of this._items){let t=e.widget;e.dispose(),t.dispose()}this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,super.dispose()}get rowCount(){return this._rowSizers.length}set rowCount(e){e!==this.rowCount&&(wt.reallocSizers(this._rowSizers,e),this.parent&&this.parent.fit())}get columnCount(){return this._columnSizers.length}set columnCount(e){e!==this.columnCount&&(wt.reallocSizers(this._columnSizers,e),this.parent&&this.parent.fit())}get rowSpacing(){return this._rowSpacing}set rowSpacing(e){e=wt.clampValue(e),this._rowSpacing!==e&&(this._rowSpacing=e,this.parent&&this.parent.fit())}get columnSpacing(){return this._columnSpacing}set columnSpacing(e){e=wt.clampValue(e),this._columnSpacing!==e&&(this._columnSpacing=e,this.parent&&this.parent.fit())}rowStretch(e){let t=this._rowSizers[e];return t?t.stretch:-1}setRowStretch(e,t){let i=this._rowSizers[e];i&&(t=wt.clampValue(t),i.stretch!==t&&(i.stretch=t,this.parent&&this.parent.update()))}columnStretch(e){let t=this._columnSizers[e];return t?t.stretch:-1}setColumnStretch(e,t){let i=this._columnSizers[e];i&&(t=wt.clampValue(t),i.stretch!==t&&(i.stretch=t,this.parent&&this.parent.update()))}*[Symbol.iterator](){for(const e of this._items)yield e.widget}addWidget(e){-1===Q.findFirstIndex(this._items,(t=>t.widget===e))&&(this._items.push(new Ye(e)),this.parent&&this.attachWidget(e))}removeWidget(e){let t=Q.findFirstIndex(this._items,(t=>t.widget===e));if(-1===t)return;let i=Q.removeAt(this._items,t);this.parent&&this.detachWidget(e),i.dispose()}init(){super.init();for(const e of this)this.attachWidget(e)}attachWidget(e){this.parent.isAttached&&he.sendMessage(e,Ke.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&he.sendMessage(e,Ke.Msg.AfterAttach),this.parent.fit()}detachWidget(e){this.parent.isAttached&&he.sendMessage(e,Ke.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&he.sendMessage(e,Ke.Msg.AfterDetach),this.parent.fit()}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}_fit(){for(let e=0,t=this.rowCount;e<t;++e)this._rowSizers[e].minSize=0;for(let e=0,t=this.columnCount;e<t;++e)this._columnSizers[e].minSize=0;let e=this._items.filter((e=>!e.isHidden));for(let t=0,i=e.length;t<i;++t)e[t].fit();let t=this.rowCount-1,i=this.columnCount-1;e.sort(wt.rowSpanCmp);for(let i=0,n=e.length;i<n;++i){let n=e[i],s=At.getCellConfig(n.widget),r=Math.min(s.row,t),o=Math.min(s.row+s.rowSpan-1,t);wt.distributeMin(this._rowSizers,r,o,n.minHeight)}e.sort(wt.columnSpanCmp);for(let t=0,n=e.length;t<n;++t){let n=e[t],s=At.getCellConfig(n.widget),r=Math.min(s.column,i),o=Math.min(s.column+s.columnSpan-1,i);wt.distributeMin(this._columnSizers,r,o,n.minWidth)}if("set-no-constraint"===this.fitPolicy)return void he.sendMessage(this.parent,Ke.Msg.UpdateRequest);let n=t*this._rowSpacing,s=i*this._columnSpacing;for(let e=0,t=this.rowCount;e<t;++e)n+=this._rowSizers[e].minSize;for(let e=0,t=this.columnCount;e<t;++e)s+=this._columnSizers[e].minSize;let r=this._box=re.boxSizing(this.parent.node);s+=r.horizontalSum,n+=r.verticalSum;let o=this.parent.node.style;o.minWidth=`${s}px`,o.minHeight=`${n}px`,this._dirty=!0,this.parent.parent&&he.sendMessage(this.parent.parent,Ke.Msg.FitRequest),this._dirty&&he.sendMessage(this.parent,Ke.Msg.UpdateRequest)}_update(e,t){this._dirty=!1,e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=re.boxSizing(this.parent.node));let i=this._box.paddingTop,n=this._box.paddingLeft,s=e-this._box.horizontalSum,r=t-this._box.verticalSum,o=this.rowCount-1,a=this.columnCount-1,l=o*this._rowSpacing,d=a*this._columnSpacing;Be.calc(this._rowSizers,Math.max(0,r-l)),Be.calc(this._columnSizers,Math.max(0,s-d));for(let e=0,t=i,n=this.rowCount;e<n;++e)this._rowStarts[e]=t,t+=this._rowSizers[e].size+this._rowSpacing;for(let e=0,t=n,i=this.columnCount;e<i;++e)this._columnStarts[e]=t,t+=this._columnSizers[e].size+this._columnSpacing;for(let e=0,t=this._items.length;e<t;++e){let t=this._items[e];if(t.isHidden)continue;let i=At.getCellConfig(t.widget),n=Math.min(i.row,o),s=Math.min(i.column,a),r=Math.min(i.row+i.rowSpan-1,o),l=Math.min(i.column+i.columnSpan-1,a),d=this._columnStarts[s],h=this._rowStarts[n],u=this._columnStarts[l]+this._columnSizers[l].size-d,c=this._rowStarts[r]+this._rowSizers[r].size-h;t.update(d,h,u,c)}}}!function(e){e.getCellConfig=function(e){return wt.cellConfigProperty.get(e)},e.setCellConfig=function(e,t){wt.cellConfigProperty.set(e,wt.normalizeConfig(t))}}(At||(At={})),function(e){e.cellConfigProperty=new Ce({name:"cellConfig",create:()=>({row:0,column:0,rowSpan:1,columnSpan:1}),changed:function(e){e.parent&&e.parent.layout instanceof At&&e.parent.fit()}}),e.normalizeConfig=function(e){return{row:Math.max(0,Math.floor(e.row||0)),column:Math.max(0,Math.floor(e.column||0)),rowSpan:Math.max(1,Math.floor(e.rowSpan||0)),columnSpan:Math.max(1,Math.floor(e.columnSpan||0))}},e.clampValue=function(e){return Math.max(0,Math.floor(e))},e.rowSpanCmp=function(t,i){let n=e.cellConfigProperty.get(t.widget),s=e.cellConfigProperty.get(i.widget);return n.rowSpan-s.rowSpan},e.columnSpanCmp=function(t,i){let n=e.cellConfigProperty.get(t.widget),s=e.cellConfigProperty.get(i.widget);return n.columnSpan-s.columnSpan},e.reallocSizers=function(e,t){for(t=Math.max(1,Math.floor(t));e.length<t;)e.push(new $e);e.length>t&&(e.length=t)},e.distributeMin=function(e,t,i,n){if(i<t)return;if(t===i){let i=e[t];return void(i.minSize=Math.max(i.minSize,n))}let s=0;for(let n=t;n<=i;++n)s+=e[n].minSize;if(s>=n)return;let r=(n-s)/(i-t+1);for(let n=t;n<=i;++n)e[n].minSize+=r}}(wt||(wt={}));class Lt extends Ke{constructor(e={}){super({node:Mt.createNode()}),this._activeIndex=-1,this._tabFocusIndex=0,this._menus=[],this._childMenu=null,this._overflowMenu=null,this._menuItemSizes=[],this._overflowIndex=-1,this.addClass("lm-MenuBar"),this.setFlag(Ke.Flag.DisallowLayout),this.renderer=e.renderer||Lt.defaultRenderer,this._forceItemsPosition=e.forceItemsPosition||{forceX:!0,forceY:!0},this._overflowMenuOptions=e.overflowMenuOptions||{isVisible:!0}}dispose(){this._closeChildMenu(),this._menus.length=0,super.dispose()}get childMenu(){return this._childMenu}get overflowIndex(){return this._overflowIndex}get overflowMenu(){return this._overflowMenu}get contentNode(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]}get activeMenu(){return this._menus[this._activeIndex]||null}set activeMenu(e){this.activeIndex=e?this._menus.indexOf(e):-1}get activeIndex(){return this._activeIndex}set activeIndex(e){(e<0||e>=this._menus.length)&&(e=-1),e>-1&&0===this._menus[e].items.length&&(e=-1),this._activeIndex!==e&&(this._activeIndex=e,this.update())}get menus(){return this._menus}openActiveMenu(){-1!==this._activeIndex&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))}addMenu(e,t=!0){this.insertMenu(this._menus.length,e,t)}insertMenu(e,t,i=!0){this._closeChildMenu();let n=this._menus.indexOf(t),s=Math.max(0,Math.min(e,this._menus.length));if(-1===n)return Q.insert(this._menus,s,t),t.addClass("lm-MenuBar-menu"),t.aboutToClose.connect(this._onMenuAboutToClose,this),t.menuRequested.connect(this._onMenuMenuRequested,this),t.title.changed.connect(this._onTitleChanged,this),void(i&&this.update());s===this._menus.length&&s--,n!==s&&(Q.move(this._menus,n,s),i&&this.update())}removeMenu(e,t=!0){this.removeMenuAt(this._menus.indexOf(e),t)}removeMenuAt(e,t=!0){this._closeChildMenu();let i=Q.removeAt(this._menus,e);i&&(i.aboutToClose.disconnect(this._onMenuAboutToClose,this),i.menuRequested.disconnect(this._onMenuMenuRequested,this),i.title.changed.disconnect(this._onTitleChanged,this),i.removeClass("lm-MenuBar-menu"),t&&this.update())}clearMenus(){if(0!==this._menus.length){this._closeChildMenu();for(let e of this._menus)e.aboutToClose.disconnect(this._onMenuAboutToClose,this),e.menuRequested.disconnect(this._onMenuMenuRequested,this),e.title.changed.disconnect(this._onTitleChanged,this),e.removeClass("lm-MenuBar-menu");this._menus.length=0,this.update()}}handleEvent(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"focusout":this._evtFocusOut(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("focusout",this),this.node.addEventListener("contextmenu",this)}onAfterDetach(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("focusout",this),this.node.removeEventListener("contextmenu",this),this._closeChildMenu()}onActivateRequest(e){this.isAttached&&this._focusItemAt(0)}onResize(e){this.update(),super.onResize(e)}onUpdateRequest(e){var t;let i=this._menus,n=this.renderer,s=this._activeIndex,r=this._tabFocusIndex>=0&&this._tabFocusIndex<i.length?this._tabFocusIndex:0,o=this._overflowIndex>-1?this._overflowIndex:i.length,a=0,l=!1;o=null!==this._overflowMenu?o-1:o;let d=new Array(o);for(let e=0;e<o;++e)d[e]=n.renderItem({title:i[e].title,active:e===s,tabbable:e===r,disabled:0===i[e].items.length,onfocus:()=>{this._tabFocusIndex=e,this.activeIndex=e}}),a+=this._menuItemSizes[e],i[e].title.label===this._overflowMenuOptions.title&&(l=!0,o--);if(this._overflowMenuOptions.isVisible)if(this._overflowIndex>-1&&!l){if(null===this._overflowMenu){const e=null!==(t=this._overflowMenuOptions.title)&&void 0!==t?t:"...";this._overflowMenu=new gt({commands:new We}),this._overflowMenu.title.label=e,this._overflowMenu.title.mnemonic=0,this.addMenu(this._overflowMenu,!1)}for(let e=i.length-2;e>=o;e--){const t=this.menus[e];t.title.mnemonic=0,this._overflowMenu.insertItem(0,{type:"submenu",submenu:t}),this.removeMenu(t,!1)}d[o]=n.renderItem({title:this._overflowMenu.title,active:o===s&&0!==i[o].items.length,tabbable:o===r,disabled:0===i[o].items.length,onfocus:()=>{this._tabFocusIndex=o,this.activeIndex=o}}),o++}else if(null!==this._overflowMenu){let e=this._overflowMenu.items,t=this.node.offsetWidth,s=this._overflowMenu.items.length;for(let l=0;l<s;++l){let s=i.length-1-l;if(t-a>this._menuItemSizes[s]){let t=e[0].submenu;this._overflowMenu.removeItemAt(0),this.insertMenu(o,t,!1),d[o]=n.renderItem({title:t.title,active:!1,tabbable:o===r,disabled:0===i[o].items.length,onfocus:()=>{this._tabFocusIndex=o,this.activeIndex=o}}),o++}}0===this._overflowMenu.items.length&&(this.removeMenu(this._overflowMenu,!1),d.pop(),this._overflowMenu=null,this._overflowIndex=-1)}Ne.render(d,this.contentNode),this._updateOverflowIndex()}_updateOverflowIndex(){if(!this._overflowMenuOptions.isVisible)return;const e=this.contentNode.childNodes;let t=this.node.offsetWidth,i=0,n=-1,s=e.length;if(0==this._menuItemSizes.length)for(let r=0;r<s;r++){let s=e[r];i+=s.offsetWidth,this._menuItemSizes.push(s.offsetWidth),i>t&&-1===n&&(n=r)}else for(let e=0;e<this._menuItemSizes.length;e++)if(i+=this._menuItemSizes[e],i>t){n=e;break}this._overflowIndex=n}_evtKeyDown(e){let t=e.keyCode;if(9===t)return void(this.activeIndex=-1);if(e.preventDefault(),e.stopPropagation(),13===t||32===t||38===t||40===t){if(this.activeIndex=this._tabFocusIndex,this.activeIndex!==this._tabFocusIndex)return;return void this.openActiveMenu()}if(27===t)return this._closeChildMenu(),void this._focusItemAt(this.activeIndex);if(37===t||39===t){let e=37===t?-1:1,i=this._tabFocusIndex+e,n=this._menus.length;for(let t=0;t<n;t++){let s=(n+i+e*t)%n;if(this._menus[s].items.length)return void this._focusItemAt(s)}return}let i=Le().keyForKeydownEvent(e);if(!i)return;let n=this._activeIndex+1,s=Mt.findMnemonic(this._menus,i,n);-1===s.index||s.multiple?-1!==s.index?(this.activeIndex=s.index,this._focusItemAt(this.activeIndex)):-1!==s.auto&&(this.activeIndex=s.auto,this._focusItemAt(this.activeIndex)):(this.activeIndex=s.index,this.openActiveMenu())}_evtMouseDown(e){if(!re.hitTest(this.node,e.clientX,e.clientY))return;e.stopPropagation(),e.stopImmediatePropagation();let t=Q.findFirstIndex(this.contentNode.children,(t=>re.hitTest(t,e.clientX,e.clientY)));if(-1!==t){if(0===e.button)if(this._childMenu)this._closeChildMenu(),this.activeIndex=t;else{e.preventDefault();const i=this._positionForMenu(t);gt.saveWindowData(),this.activeIndex=t,this._openChildMenu(i)}}else this._closeChildMenu()}_evtMouseMove(e){let t=Q.findFirstIndex(this.contentNode.children,(t=>re.hitTest(t,e.clientX,e.clientY)));if(t===this._activeIndex)return;if(-1===t&&this._childMenu)return;const i=t>=0&&this._childMenu?this._positionForMenu(t):null;gt.saveWindowData(),this.activeIndex=t,i&&this._openChildMenu(i)}_positionForMenu(e){let t=this.contentNode.children[e],{left:i,bottom:n}=t.getBoundingClientRect();return{top:n,left:i}}_evtFocusOut(e){this._childMenu||this.node.contains(e.relatedTarget)||(this.activeIndex=-1)}_focusItemAt(e){const t=this.contentNode.childNodes[e];t&&t.focus()}_openChildMenu(e={}){let t=this.activeMenu;if(!t)return void this._closeChildMenu();let i=this._childMenu;if(i===t)return;this._childMenu=t,i?i.close():document.addEventListener("mousedown",this,!0),this._tabFocusIndex=this.activeIndex,he.sendMessage(this,Ke.Msg.UpdateRequest);let{left:n,top:s}=e;void 0!==n&&void 0!==s||({left:n,top:s}=this._positionForMenu(this._activeIndex)),i||this.addClass("lm-mod-active"),t.items.length>0&&t.open(n,s,this._forceItemsPosition)}_closeChildMenu(){if(!this._childMenu)return;this.removeClass("lm-mod-active"),document.removeEventListener("mousedown",this,!0);let e=this._childMenu;this._childMenu=null,e.close(),this.activeIndex=-1}_onMenuAboutToClose(e){e===this._childMenu&&(this.removeClass("lm-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)}_onMenuMenuRequested(e,t){if(e!==this._childMenu)return;let i=this._activeIndex,n=this._menus.length;switch(t){case"next":this.activeIndex=i===n-1?0:i+1;break;case"previous":this.activeIndex=0===i?n-1:i-1}this.openActiveMenu()}_onTitleChanged(){this.update()}}!function(e){class t{renderItem(e){let t=this.createItemClass(e),i=this.createItemDataset(e),n=this.createItemARIA(e);return qe.li({className:t,dataset:i,...e.disabled?{}:{tabindex:e.tabbable?"0":"-1"},onfocus:e.onfocus,...n},this.renderIcon(e),this.renderLabel(e))}renderIcon(e){let t=this.createIconClass(e);return qe.div({className:t},e.title.icon,e.title.iconLabel)}renderLabel(e){let t=this.formatLabel(e);return qe.div({className:"lm-MenuBar-itemLabel"},t)}createItemClass(e){let t="lm-MenuBar-item";return e.title.className&&(t+=` ${e.title.className}`),e.active&&!e.disabled&&(t+=" lm-mod-active"),t}createItemDataset(e){return e.title.dataset}createItemARIA(e){return{role:"menuitem","aria-haspopup":"true","aria-disabled":e.disabled?"true":"false"}}createIconClass(e){let t="lm-MenuBar-itemIcon",i=e.title.iconClass;return i?`${t} ${i}`:t}formatLabel(e){let{label:t,mnemonic:i}=e.title;if(i<0||i>=t.length)return t;let n=t.slice(0,i),s=t.slice(i+1),r=t[i];return[n,qe.span({className:"lm-MenuBar-itemMnemonic"},r),s]}}e.Renderer=t,e.defaultRenderer=new t}(Lt||(Lt={})),function(e){e.createNode=function(){let e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-MenuBar-content",e.appendChild(t),t.setAttribute("role","menubar"),e},e.findMnemonic=function(e,t,i){let n=-1,s=-1,r=!1,o=t.toUpperCase();for(let t=0,a=e.length;t<a;++t){let l=(t+i)%a,d=e[l].title;if(0===d.label.length)continue;let h=d.mnemonic;h>=0&&h<d.label.length?d.label[h].toUpperCase()===o&&(-1===n?n=l:r=!0):-1===s&&d.label[0].toUpperCase()===o&&(s=l)}return{index:n,multiple:r,auto:s}}}(Mt||(Mt={})),function(e){e.createNode=function(){let e=document.createElement("div"),t=document.createElement("div"),i=document.createElement("div"),n=document.createElement("div"),s=document.createElement("div");return t.className="lm-ScrollBar-button",i.className="lm-ScrollBar-button",t.dataset.action="decrement",i.dataset.action="increment",n.className="lm-ScrollBar-track",s.className="lm-ScrollBar-thumb",n.appendChild(s),e.appendChild(t),e.appendChild(n),e.appendChild(i),e},e.findPart=function(e,t){return e.thumbNode.contains(t)?"thumb":e.trackNode.contains(t)?"track":e.decrementNode.contains(t)?"decrement":e.incrementNode.contains(t)?"increment":null}}(Ct||(Ct={})),Symbol.iterator;class It extends Ge{constructor(e={}){super(e),this._dirty=!1,this._items=[],this._box=null,this._hiddenMode=void 0!==e.hiddenMode?e.hiddenMode:Ke.HiddenMode.Display}get hiddenMode(){return this._hiddenMode}set hiddenMode(e){this._hiddenMode!==e&&(this._hiddenMode=e,this.widgets.length>1&&this.widgets.forEach((e=>{e.hiddenMode=this._hiddenMode})))}dispose(){for(const e of this._items)e.dispose();this._box=null,this._items.length=0,super.dispose()}attachWidget(e,t){this._hiddenMode===Ke.HiddenMode.Scale&&this._items.length>0?(1===this._items.length&&(this.widgets[0].hiddenMode=Ke.HiddenMode.Scale),t.hiddenMode=Ke.HiddenMode.Scale):t.hiddenMode=Ke.HiddenMode.Display,Q.insert(this._items,e,new Ye(t)),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.AfterAttach),this.parent.fit()}moveWidget(e,t,i){Q.move(this._items,e,t),this.parent.update()}detachWidget(e,t){let i=Q.removeAt(this._items,e);this.parent.isAttached&&he.sendMessage(t,Ke.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&he.sendMessage(t,Ke.Msg.AfterDetach),i.widget.node.style.zIndex="",this._hiddenMode===Ke.HiddenMode.Scale&&(t.hiddenMode=Ke.HiddenMode.Display,1===this._items.length&&(this._items[0].widget.hiddenMode=Ke.HiddenMode.Display)),i.dispose(),this.parent.fit()}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}_fit(){let e=0,t=0;for(let i=0,n=this._items.length;i<n;++i){let n=this._items[i];n.isHidden||(n.fit(),e=Math.max(e,n.minWidth),t=Math.max(t,n.minHeight))}let i=this._box=re.boxSizing(this.parent.node);e+=i.horizontalSum,t+=i.verticalSum;let n=this.parent.node.style;n.minWidth=`${e}px`,n.minHeight=`${t}px`,this._dirty=!0,this.parent.parent&&he.sendMessage(this.parent.parent,Ke.Msg.FitRequest),this._dirty&&he.sendMessage(this.parent,Ke.Msg.UpdateRequest)}_update(e,t){this._dirty=!1;let i=0;for(let e=0,t=this._items.length;e<t;++e)i+=+!this._items[e].isHidden;if(0===i)return;e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=re.boxSizing(this.parent.node));let n=this._box.paddingTop,s=this._box.paddingLeft,r=e-this._box.horizontalSum,o=t-this._box.verticalSum;for(let e=0,t=this._items.length;e<t;++e){let t=this._items[e];t.isHidden||(t.widget.node.style.zIndex=`${e}`,t.update(s,n,r,o))}}}!function(e){e.createLayout=function(e){return e.layout||new It}}(St||(St={})),function(e){e.orientationFromPlacement=function(e){return t[e]},e.directionFromPlacement=function(e){return i[e]};const t={top:"horizontal",left:"vertical",right:"vertical",bottom:"horizontal"},i={top:"top-to-bottom",left:"left-to-right",right:"right-to-left",bottom:"bottom-to-top"}}(kt||(kt={}));var zt=s(651),Dt=s.n(zt);class Ot extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"BoxView",_model_name:"BoxModel",children:[],box_style:""})}}Ot.serializers=Object.assign(Object.assign({},p.serializers),{children:{deserialize:e.unpack_models}});class Nt extends Ot{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"HBoxView",_model_name:"HBoxModel"})}}class jt extends Ot{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"VBoxView",_model_name:"VBoxModel"})}}class Bt extends e.DOMWidgetView{_createElement(t){return this.luminoWidget=new e.JupyterLuminoPanelWidget({view:this}),this.luminoWidget.node}_setElement(e){if(this.el||e!==this.luminoWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.luminoWidget.node,this.$el=Dt()(this.luminoWidget.node)}initialize(t){super.initialize(t),this.children_views=new e.ViewList(this.add_child_model,null,this),this.listenTo(this.model,"change:children",this.update_children),this.listenTo(this.model,"change:box_style",this.update_box_style),this.luminoWidget.addClass("jupyter-widgets"),this.luminoWidget.addClass("widget-container"),this.luminoWidget.addClass("widget-box")}render(){super.render(),this.update_children(),this.set_box_style()}update_children(){var e;null===(e=this.children_views)||void 0===e||e.update(this.model.get("children")).then((e=>{e.forEach((e=>{J.postMessage(e.luminoWidget,Ke.ResizeMessage.UnknownSize)}))}))}update_box_style(){this.update_mapped_classes(Bt.class_map,"box_style")}set_box_style(){this.set_mapped_classes(Bt.class_map,"box_style")}add_child_model(t){const i=new Ke;return this.luminoWidget.addWidget(i),this.create_child_view(t).then((e=>{const t=A.firstIndexOf(this.luminoWidget.widgets,i);return this.luminoWidget.insertWidget(t,e.luminoWidget),i.dispose(),e})).catch((0,e.reject)("Could not add child view to box",!0))}remove(){this.children_views=null,super.remove()}}Bt.class_map={success:["alert","alert-success"],info:["alert","alert-info"],warning:["alert","alert-warning"],danger:["alert","alert-danger"]};class Pt extends Bt{initialize(e){super.initialize(e),this.luminoWidget.addClass("widget-hbox")}}class Rt extends Bt{initialize(e){super.initialize(e),this.luminoWidget.addClass("widget-vbox")}}class Ht extends Bt{initialize(e){super.initialize(e),this.luminoWidget.addClass("widget-gridbox"),this.luminoWidget.removeClass("widget-box")}}class Wt extends Ot{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"GridBoxView",_model_name:"GridBoxModel"})}}class Vt extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ImageModel",_view_name:"ImageView",format:"png",width:"",height:"",value:new DataView(new ArrayBuffer(0))})}}Vt.serializers=Object.assign(Object.assign({},p.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class Ft extends e.DOMWidgetView{render(){super.render(),this.luminoWidget.addClass("jupyter-widgets"),this.luminoWidget.addClass("widget-image"),this.update()}update(){let e;const t=this.model.get("format"),i=this.model.get("value");if("url"!==t){const t=new Blob([i],{type:`image/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(i.buffer);const n=this.el.src;this.el.src=e,n&&URL.revokeObjectURL(n);const s=this.model.get("width");void 0!==s&&s.length>0?this.el.setAttribute("width",s):this.el.removeAttribute("width");const r=this.model.get("height");return void 0!==r&&r.length>0?this.el.setAttribute("height",r):this.el.removeAttribute("height"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}preinitialize(){this.tagName="img"}}class qt extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"VideoModel",_view_name:"VideoView",format:"mp4",width:"",height:"",autoplay:!0,loop:!0,controls:!0,value:new DataView(new ArrayBuffer(0))})}}qt.serializers=Object.assign(Object.assign({},p.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class $t extends e.DOMWidgetView{render(){super.render(),this.luminoWidget.addClass("jupyter-widgets"),this.luminoWidget.addClass("widget-image"),this.update()}update(){let e;const t=this.model.get("format"),i=this.model.get("value");if("url"!==t){const t=new Blob([i],{type:`video/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(i.buffer);const n=this.el.src;this.el.src=e,n&&URL.revokeObjectURL(n);const s=this.model.get("width");void 0!==s&&s.length>0?this.el.setAttribute("width",s):this.el.removeAttribute("width");const r=this.model.get("height");return void 0!==r&&r.length>0?this.el.setAttribute("height",r):this.el.removeAttribute("height"),this.el.loop=this.model.get("loop"),this.el.autoplay=this.model.get("autoplay"),this.el.controls=this.model.get("controls"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}preinitialize(){this.tagName="video"}}class Ut extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"AudioModel",_view_name:"AudioView",format:"mp3",autoplay:!0,loop:!0,controls:!0,value:new DataView(new ArrayBuffer(0))})}}Ut.serializers=Object.assign(Object.assign({},p.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class Kt extends e.DOMWidgetView{render(){super.render(),this.luminoWidget.addClass("jupyter-widgets"),this.update()}update(){let e;const t=this.model.get("format"),i=this.model.get("value");if("url"!==t){const t=new Blob([i],{type:`audio/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(i.buffer);const n=this.el.src;return this.el.src=e,n&&URL.revokeObjectURL(n),this.el.loop=this.model.get("loop"),this.el.autoplay=this.model.get("autoplay"),this.el.controls=this.model.get("controls"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}preinitialize(){this.tagName="audio"}}const Xt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgreen:"#90ee90",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};class Yt extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{value:"black",concise:!1,_model_name:"ColorPickerModel",_view_name:"ColorPickerView"})}}class Gt extends d{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-colorpicker"),this._color_container=document.createElement("div"),this._color_container.className="widget-inline-hbox widget-colorpicker-input",this.el.appendChild(this._color_container),this._textbox=document.createElement("input"),this._textbox.setAttribute("type","text"),this._textbox.id=this.label.htmlFor=(0,e.uuid)(),this._color_container.appendChild(this._textbox),this._textbox.value=this.model.get("value"),this._colorpicker=document.createElement("input"),this._colorpicker.setAttribute("type","color"),this._color_container.appendChild(this._colorpicker),this.listenTo(this.model,"change:value",this._update_value),this.listenTo(this.model,"change:concise",this._update_concise),this._update_concise(),this._update_value(),this.update()}update(e){if(void 0===e||e.updated_view!=this){const e=this.model.get("disabled");this._textbox.disabled=e,this._colorpicker.disabled=e}return super.update()}events(){return this._picker_change,this._text_change,{'change [type="color"]':"_picker_change",'change [type="text"]':"_text_change"}}_update_value(){const e=this.model.get("value");var t,i;this._colorpicker.value=Xt[(t=e).toLowerCase()]||(7===(i=t).length?i:"#"+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)+i.charAt(3)+i.charAt(3)),this._textbox.value=e}_update_concise(){this.model.get("concise")?(this.el.classList.add("concise"),this._textbox.style.display="none"):(this.el.classList.remove("concise"),this._textbox.style.display="")}_picker_change(){this.model.set("value",this._colorpicker.value),this.touch()}_text_change(){const e=this._validate_color(this._textbox.value,this.model.get("value"));this.model.set("value",e),this.touch()}_validate_color(e,t){return e.match(/#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$/)||Xt[e.toLowerCase()]?e:t}}function Jt(e){return null===e?null:{year:e.getUTCFullYear(),month:e.getUTCMonth(),date:e.getUTCDate()}}function Qt(e){if(null===e)return null;{const t=new Date;return t.setUTCFullYear(e.year,e.month,e.date),t.setUTCHours(0,0,0,0),t}}class Zt extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{value:null,_model_name:"DatePickerModel",_view_name:"DatePickerView"})}}Zt.serializers=Object.assign(Object.assign({},f.serializers),{value:{serialize:Jt,deserialize:Qt}});class ei extends d{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-datepicker"),this._datepicker=document.createElement("input"),this._datepicker.setAttribute("type","date"),this._datepicker.id=this.label.htmlFor=(0,e.uuid)(),this.el.appendChild(this._datepicker),this.listenTo(this.model,"change:value",this._update_value),this._update_value(),this.update()}update(e){return void 0!==e&&e.updated_view===this||(this._datepicker.disabled=this.model.get("disabled")),super.update()}events(){return this._picker_change,this._picker_focusout,{'change [type="date"]':"_picker_change",'focusout [type="date"]':"_picker_focusout"}}_update_value(){const e=this.model.get("value");this._datepicker.valueAsDate=e}_picker_change(){this._datepicker.validity.badInput||(this.model.set("value",this._datepicker.valueAsDate),this.touch())}_picker_focusout(){this._datepicker.validity.badInput&&(this.model.set("value",null),this.touch())}}const ti=/(\d\d):(\d\d)(:(\d\d)(.(\d{1,3})\d*)?)?/;function ii(e){if(null===e)return null;{const t=ti.exec(e);return null===t?null:{hours:Math.min(23,parseInt(t[1],10)),minutes:Math.min(59,parseInt(t[2],10)),seconds:t[4]?Math.min(59,parseInt(t[4],10)):0,milliseconds:t[6]?parseInt(t[6],10):0}}}function ni(e){if(null===e)return null;{const t=[`${e.hours.toString().padStart(2,"0")}:${e.minutes.toString().padStart(2,"0")}`];return(e.seconds>0||e.milliseconds>0)&&(t.push(`:${e.seconds.toString().padStart(2,"0")}`),e.milliseconds>0&&t.push(`.${e.milliseconds.toString().padStart(3,"0")}`)),t.join("")}}const si={serialize:ii,deserialize:ni};class ri extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:ri.model_name,_view_name:ri.view_name,value:null,disabled:!1,min:null,max:null,step:60})}}ri.serializers=Object.assign(Object.assign({},f.serializers),{value:si,min:si,max:si}),ri.model_name="TimeModel",ri.view_name="TimeView";class oi extends d{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-timepicker"),this._timepicker=document.createElement("input"),this._timepicker.setAttribute("type","time"),this._timepicker.id=this.label.htmlFor=(0,e.uuid)(),this.el.appendChild(this._timepicker),this.listenTo(this.model,"change:value",this._update_value),this.listenTo(this.model,"change",this.update2),this._update_value(),this.update2()}update2(e,t){return void 0!==t&&t.updated_view===this||(this._timepicker.disabled=this.model.get("disabled"),this._timepicker.min=this.model.get("min"),this._timepicker.max=this.model.get("max"),this._timepicker.step=this.model.get("step")),super.update()}events(){return this._picker_change,this._picker_focusout,{'change [type="time"]':"_picker_change",'focusout [type="time"]':"_picker_focusout"}}_update_value(e,t,i){void 0!==i&&i.updated_view===this||(this._timepicker.value=this.model.get("value"))}_picker_change(){this._timepicker.validity.badInput||(this.model.set("value",this._timepicker.value,{updated_view:this}),this.touch())}_picker_focusout(){this._timepicker.validity.badInput&&(this.model.set("value",null,{updated_view:this}),this.touch())}}function ai(e){return null===e?null:{year:e.getUTCFullYear(),month:e.getUTCMonth(),date:e.getUTCDate(),hours:e.getUTCHours(),minutes:e.getUTCMinutes(),seconds:e.getUTCSeconds(),milliseconds:e.getUTCMilliseconds()}}function li(e){if(null===e)return null;{const t=new Date;return t.setUTCFullYear(e.year,e.month,e.date),t.setUTCHours(e.hours,e.minutes,e.seconds,e.milliseconds),t}}const di={serialize:ai,deserialize:li};class hi extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DatetimeModel",_view_name:"DatetimeView",value:null,disabled:!1,min:null,max:null})}}hi.serializers=Object.assign(Object.assign({},f.serializers),{value:di,min:di,max:di});class ui extends d{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-datetimepicker");const t=document.createElement("input");t.type="datetime-local","text"===t.type?(this._datepicker=document.createElement("input"),this._datepicker.setAttribute("type","date"),this._datepicker.id=this.label.htmlFor=(0,e.uuid)(),this._timepicker=document.createElement("input"),this._timepicker.setAttribute("type","time"),this._timepicker.id=(0,e.uuid)(),this.el.appendChild(this._datepicker),this.el.appendChild(this._timepicker)):(this._datetimepicker=t,this._datetimepicker.id=this.label.htmlFor=(0,e.uuid)(),this.el.appendChild(this._datetimepicker)),this.listenTo(this.model,"change:value",this._update_value),this.listenTo(this.model,"change",this.update2),this._update_value(),this.update2()}update2(e,t){if(void 0===t||t.updated_view!==this){const e=this.model.get("min"),t=this.model.get("max");this._datetimepicker?(this._datetimepicker.disabled=this.model.get("disabled"),this._datetimepicker.min=ci.dt_as_dt_string(e),this._datetimepicker.max=ci.dt_as_dt_string(t)):(this._datepicker.disabled=this.model.get("disabled"),this._datepicker.min=ci.dt_as_date_string(e),this._datepicker.max=ci.dt_as_date_string(t),this._timepicker.disabled=this.model.get("disabled"))}}events(){return this._picker_change,this._picker_focusout,{'change [type="date"]':"_picker_change",'change [type="time"]':"_picker_change",'change [type="datetime-local"]':"_picker_change",'focusout [type="date"]':"_picker_focusout",'focusout [type="datetime-local"]':"_picker_focusout",'focusout [type="time"]':"_picker_focusout"}}_update_value(e,t,i){if(void 0===i||i.updated_view!==this){const e=this.model.get("value");this._datetimepicker?this._datetimepicker.value=ci.dt_as_dt_string(e):(this._datepicker.valueAsDate=e,this._timepicker.value=ci.dt_as_time_string(e))}}_picker_change(){if(this._datetimepicker){if(!this._datetimepicker.validity.badInput){const e=this._datetimepicker.value;let t=e?new Date(e):null;t&&isNaN(t.valueOf())&&(t=null),this.model.set("value",t,{updated_view:this}),this.touch()}}else if(!this._datepicker.validity.badInput&&!this._timepicker.validity.badInput){const e=this._datepicker.valueAsDate,t=ii(this._timepicker.value);null!==e&&null!==t&&e.setHours(t.hours,t.minutes,t.seconds,t.milliseconds),this.model.set("value",null!==t&&e,{updated_view:this}),this.touch()}}_picker_focusout(){[this._datetimepicker,this._datepicker,this._timepicker].some((e=>e&&e.validity.badInput))&&(this.model.set("value",null),this.touch())}}var ci;function pi(e){return null===e?null:{year:e.getFullYear(),month:e.getMonth(),date:e.getDate(),hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),milliseconds:e.getMilliseconds()}}function fi(e){if(null===e)return null;{const t=new Date;return t.setFullYear(e.year,e.month,e.date),t.setHours(e.hours,e.minutes,e.seconds,e.milliseconds),t}}!function(e){function t(e){if(null===e)return"";const t=[];return t.push(`${e.getFullYear().toString().padStart(4,"0")}`),t.push(`-${(e.getMonth()+1).toString().padStart(2,"0")}`),t.push(`-${e.getDate().toString().padStart(2,"0")}`),t.push(`T${e.getHours().toString().padStart(2,"0")}`),t.push(`:${e.getMinutes().toString().padStart(2,"0")}`),(e.getSeconds()>0||e.getMilliseconds()>0)&&(t.push(`:${e.getSeconds().toString().padStart(2,"0")}`),e.getMilliseconds()>0&&t.push(`.${e.getMilliseconds().toString().padStart(3,"0")}`)),t.join("")}e.dt_as_dt_string=t,e.dt_as_date_string=function(e){return e?t(e).split("T",2)[0]:""},e.dt_as_time_string=function(e){return e?t(e).split("T",2)[1]:""}}(ci||(ci={}));const mi={serialize:pi,deserialize:fi};class gi extends hi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"NaiveDatetimeModel"})}}function vi(e,t){if((i=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var i,n=e.slice(0,i);return[n.length>1?n[0]+n.slice(2):n,+e.slice(i+1)]}gi.serializers=Object.assign(Object.assign({},f.serializers),{value:mi,min:mi,max:mi});var _i,bi=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yi(e){if(!(t=bi.exec(e)))throw new Error("invalid format: "+e);var t;return new xi({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function xi(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function wi(e,t){var i=vi(e,t);if(!i)return e+"";var n=i[0],s=i[1];return s<0?"0."+new Array(-s).join("0")+n:n.length>s+1?n.slice(0,s+1)+"."+n.slice(s+1):n+new Array(s-n.length+2).join("0")}yi.prototype=xi.prototype,xi.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Mi={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>wi(100*e,t),r:wi,s:function(e,t){var i=vi(e,t);if(!i)return e+"";var n=i[0],s=i[1],r=s-(_i=3*Math.max(-8,Math.min(8,Math.floor(s/3))))+1,o=n.length;return r===o?n:r>o?n+new Array(r-o+1).join("0"):r>0?n.slice(0,r)+"."+n.slice(r):"0."+new Array(1-r).join("0")+vi(e,Math.max(0,t+r-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ci(e){return e}var Si,ki,Ti=Array.prototype.map,Ei=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];Si=function(e){var t,i,n=void 0===e.grouping||void 0===e.thousands?Ci:(t=Ti.call(e.grouping,Number),i=e.thousands+"",function(e,n){for(var s=e.length,r=[],o=0,a=t[0],l=0;s>0&&a>0&&(l+a+1>n&&(a=Math.max(1,n-l)),r.push(e.substring(s-=a,s+a)),!((l+=a+1)>n));)a=t[o=(o+1)%t.length];return r.reverse().join(i)}),s=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",a=void 0===e.numerals?Ci:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Ti.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",d=void 0===e.minus?"−":e.minus+"",h=void 0===e.nan?"NaN":e.nan+"";function u(e){var t=(e=yi(e)).fill,i=e.align,u=e.sign,c=e.symbol,p=e.zero,f=e.width,m=e.comma,g=e.precision,v=e.trim,_=e.type;"n"===_?(m=!0,_="g"):Mi[_]||(void 0===g&&(g=12),v=!0,_="g"),(p||"0"===t&&"="===i)&&(p=!0,t="0",i="=");var b="$"===c?s:"#"===c&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",y="$"===c?r:/[%p]/.test(_)?l:"",x=Mi[_],w=/[defgprs%]/.test(_);function M(e){var s,r,l,c=b,M=y;if("c"===_)M=x(e)+M,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?h:x(Math.abs(e),g),v&&(e=function(e){e:for(var t,i=e.length,n=1,s=-1;n<i;++n)switch(e[n]){case".":s=t=n;break;case"0":0===s&&(s=n),t=n;break;default:if(!+e[n])break e;s>0&&(s=0)}return s>0?e.slice(0,s)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==u&&(C=!1),c=(C?"("===u?u:d:"-"===u||"("===u?"":u)+c,M=("s"===_?Ei[8+_i/3]:"")+M+(C&&"("===u?")":""),w)for(s=-1,r=e.length;++s<r;)if(48>(l=e.charCodeAt(s))||l>57){M=(46===l?o+e.slice(s+1):e.slice(s))+M,e=e.slice(0,s);break}}m&&!p&&(e=n(e,1/0));var S=c.length+e.length+M.length,k=S<f?new Array(f-S+1).join(t):"";switch(m&&p&&(e=n(k+e,k.length?f-M.length:1/0),k=""),i){case"<":e=c+e+M+k;break;case"=":e=c+k+e+M;break;case"^":e=k.slice(0,S=k.length>>1)+c+e+M+k.slice(S);break;default:e=k+c+e+M}return a(e)}return g=void 0===g?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return e+""},M}return{format:u,formatPrefix:function(e,t){var i,n=u(((e=yi(e)).type="f",e)),s=3*Math.max(-8,Math.min(8,Math.floor((i=t,((i=vi(Math.abs(i)))?i[1]:NaN)/3)))),r=Math.pow(10,-s),o=Ei[8+s/3];return function(e){return n(r*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),ki=Si.format,Si.formatPrefix;var Ai,Li,Ii,zi,Di,Oi=s(715),Ni=s.n(Oi);class ji extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"IntModel",value:0})}}class Bi extends ji{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"BoundedIntModel",max:100,min:0})}}class Pi extends o{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SliderStyleModel"})}}Pi.styleProperties=Object.assign(Object.assign({},o.styleProperties),{handle_color:{selector:".noUi-handle",attribute:"background-color",default:null}});class Ri extends Bi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"IntSliderModel",_view_name:"IntSliderView",step:1,orientation:"horizontal",readout:!0,readout_format:"d",continuous_update:!0,style:null,disabled:!1})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=ki(this.get("readout_format"))}}class Hi extends Ri{}class Wi extends d{constructor(){super(...arguments),this._parse_value=parseInt}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-slider"),this.el.classList.add("widget-hslider"),this.$slider=document.createElement("div"),this.$slider.classList.add("slider"),this.slider_container=document.createElement("div"),this.slider_container.classList.add("slider-container"),this.slider_container.appendChild(this.$slider),this.el.appendChild(this.slider_container),this.readout=document.createElement("div"),this.el.appendChild(this.readout),this.readout.classList.add("widget-readout"),this.readout.contentEditable="true",this.readout.style.display="none",this.createSlider(),this.model.on("change:orientation",this.regenSlider,this),this.model.on("change:max",this.updateSliderOptions,this),this.model.on("change:min",this.updateSliderOptions,this),this.model.on("change:step",this.updateSliderOptions,this),this.model.on("change:value",this.updateSliderValue,this),this.update()}update(e){return void 0!==e&&e.updated_view===this||(this.model.get("disabled")?(this.readout.contentEditable="false",this.$slider.setAttribute("disabled",!0)):(this.readout.contentEditable="true",this.$slider.removeAttribute("disabled")),"vertical"===this.model.get("orientation")?(this.el.classList.remove("widget-hslider"),this.el.classList.add("widget-vslider"),this.el.classList.remove("widget-inline-hbox"),this.el.classList.add("widget-inline-vbox")):(this.el.classList.remove("widget-vslider"),this.el.classList.add("widget-hslider"),this.el.classList.remove("widget-inline-vbox"),this.el.classList.add("widget-inline-hbox")),this.model.get("readout")?(this.readout.style.display="",this.displayed.then((()=>{this.readout_overflow()?this.readout.classList.add("overflow"):this.readout.classList.remove("overflow")}))):this.readout.style.display="none"),super.update()}readout_overflow(){return this.readout.scrollWidth>this.readout.clientWidth}events(){return{"blur [contentEditable=true]":"handleTextChange","keydown [contentEditable=true]":"handleKeyDown"}}handleKeyDown(e){13===e.keyCode&&(e.preventDefault(),this.handleTextChange())}createSlider(){const e=this.model.get("orientation"),t=this.model.get("behavior");Ni().create(this.$slider,{start:this.model.get("value"),connect:!0,behaviour:t,range:{min:this.model.get("min"),max:this.model.get("max")},step:this.model.get("step"),animate:!1,orientation:e,direction:"horizontal"===e?"ltr":"rtl",format:{from:e=>Number(e),to:e=>this._validate_slide_value(e)}}),this.$slider.noUiSlider.on("update",((e,t)=>{this.handleSliderUpdateEvent(e,t)})),this.$slider.noUiSlider.on("change",((e,t)=>{this.handleSliderChangeEvent(e,t)}))}regenSlider(e){this.$slider.noUiSlider.destroy(),this.createSlider()}_validate_slide_value(e){return Math.round(e)}}class Vi extends Wi{constructor(){super(...arguments),this._range_regex=/^\s*([+-]?\d+)\s*[-:–]\s*([+-]?\d+)/}update(e){super.update(e);const t=this.model.get("value");this.readout.textContent=this.valueToString(t),this.model.get("value")!==t&&(this.model.set("value",t,{updated_view:this}),this.touch())}valueToString(e){const t=this.model.readout_formatter;return e.map((function(e){return t(e)})).join(" – ")}stringToValue(e){if(null===e)return null;const t=this._range_regex.exec(e);return t?[this._parse_value(t[1]),this._parse_value(t[2])]:null}handleTextChange(){let e=this.stringToValue(this.readout.textContent);const t=this.model.get("min"),i=this.model.get("max");null===e||isNaN(e[0])||isNaN(e[1])||e[0]>e[1]?this.readout.textContent=this.valueToString(this.model.get("value")):(e=[Math.max(Math.min(e[0],i),t),Math.max(Math.min(e[1],i),t)],e[0]!==this.model.get("value")[0]||e[1]!==this.model.get("value")[1]?(this.readout.textContent=this.valueToString(e),this.model.set("value",e),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderChangeEvent(e,t){const i=e.map(this._validate_slide_value);this.readout.textContent=this.valueToString(i),this.handleSliderChanged(e,t)}handleSliderUpdateEvent(e,t){const i=e.map(this._validate_slide_value);this.readout.textContent=this.valueToString(i),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){const i=e.map(this._validate_slide_value);this.model.set("value",i,{updated_view:this}),this.touch()}updateSliderOptions(e){this.$slider.noUiSlider.updateOptions({start:this.model.get("value"),range:{min:this.model.get("min"),max:this.model.get("max")},step:this.model.get("step")})}updateSliderValue(e,t,i){if(i.updated_view===this)return;const n=this.$slider.noUiSlider.get(),s=this.model.get("value");n[0]===s[0]&&n[1]===s[1]||this.$slider.noUiSlider.set(s)}}class Fi extends Wi{update(e){super.update(e);const t=this.model.get("min"),i=this.model.get("max");let n=this.model.get("value");n>i?n=i:n<t&&(n=t),this.readout.textContent=this.valueToString(n),this.model.get("value")!==n&&(this.model.set("value",n,{updated_view:this}),this.touch())}valueToString(e){return(0,this.model.readout_formatter)(e)}stringToValue(e){return this._parse_value(e)}handleTextChange(){var e;let t=this.stringToValue(null!==(e=this.readout.textContent)&&void 0!==e?e:"");const i=this.model.get("min"),n=this.model.get("max");isNaN(t)?this.readout.textContent=this.valueToString(this.model.get("value")):(t=Math.max(Math.min(t,n),i),t!==this.model.get("value")?(this.readout.textContent=this.valueToString(t),this.model.set("value",t),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderChangeEvent(e,t){const i=e.map(this._validate_slide_value);this.readout.textContent=this.valueToString(i),this.handleSliderChanged(e,t)}handleSliderUpdateEvent(e,t){const i=e.map(this._validate_slide_value);this.readout.textContent=this.valueToString(i),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){const i=this._validate_slide_value(e[t]),n=this.model.get("value");parseFloat(n)!==i&&(this.model.set("value",i,{updated_view:this}),this.touch())}updateSliderOptions(e){this.$slider.noUiSlider.updateOptions({start:this.model.get("value"),range:{min:this.model.get("min"),max:this.model.get("max")},step:this.model.get("step")})}updateSliderValue(e,t,i){if(i.updated_view===this)return;const n=this.$slider.noUiSlider.get(),s=this.model.get("value");n!==s&&this.$slider.noUiSlider.set(s)}}class qi extends ji{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"IntTextModel",_view_name:"IntTextView",disabled:!1,continuous_update:!1})}}class $i extends Bi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"BoundedIntTextModel",_view_name:"IntTextView",disabled:!1,continuous_update:!1,step:1})}}class Ui extends d{constructor(){super(...arguments),this._parse_value=parseInt,this._default_step="1"}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-text"),this.textbox=document.createElement("input"),this.textbox.type="number",this.textbox.required=!0,this.textbox.id=this.label.htmlFor=(0,e.uuid)(),this.el.appendChild(this.textbox),this.update()}update(e){if(void 0===e||e.updated_view!==this){const e=this.model.get("value");this._parse_value(this.textbox.value)!==e&&(this.textbox.value=e.toString()),void 0!==this.model.get("min")&&(this.textbox.min=this.model.get("min")),void 0!==this.model.get("max")&&(this.textbox.max=this.model.get("max")),void 0!==this.model.get("step")&&null!==this.model.get("step")?this.textbox.step=this.model.get("step"):this.textbox.step=this._default_step,this.textbox.disabled=this.model.get("disabled")}return super.update()}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","keyup input":"handleKeyUp","input input":"handleChanging","change input":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){/[e,. ]/.test(String.fromCharCode(e.keyCode))&&e.preventDefault()}handleKeyUp(e){if(e.altKey||e.ctrlKey)return;const t=e.target;let i=t.value;if(i=i.replace(/[e,.\s]/g,""),i.length>=1){const e=i.substr(1);i=i[0]+e.replace(/[+-]/g,"")}t.value!==i&&(e.preventDefault(),t.value=i)}handleChanging(e){const t=e.target.value.trim();""===t||["-","-.",".","+.","+"].indexOf(t)>=0||this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){const t=e.target;let i=this._parse_value(t.value);if(isNaN(i))t.value=this.model.get("value");else{let e=i;void 0!==this.model.get("max")&&(e=Math.min(this.model.get("max"),e)),void 0!==this.model.get("min")&&(e=Math.max(this.model.get("min"),e)),e!==i&&(t.value=e,i=e),i!==this.model.get("value")&&(this.model.set("value",i,{updated_view:this}),this.touch())}}}class Ki extends o{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ProgressStyleModel"})}}Ki.styleProperties=Object.assign(Object.assign({},o.styleProperties),{bar_color:{selector:".progress-bar",attribute:"background-color",default:null}});class Xi extends Bi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"IntProgressModel",_view_name:"ProgressView",orientation:"horizontal",bar_style:"",style:null})}}class Yi extends d{initialize(e){super.initialize(e),this.listenTo(this.model,"change:bar_style",this.update_bar_style),this.luminoWidget.addClass("jupyter-widgets")}render(){super.render();const e="horizontal"===this.model.get("orientation")?"widget-hprogress":"widget-vprogress";this.el.classList.add(e),this.progress=document.createElement("div"),this.progress.classList.add("progress"),this.progress.style.position="relative",this.el.appendChild(this.progress),this.bar=document.createElement("div"),this.bar.classList.add("progress-bar"),this.bar.style.position="absolute",this.bar.style.bottom="0px",this.bar.style.left="0px",this.progress.appendChild(this.bar),this.update(),this.set_bar_style()}update(){const e=this.model.get("value"),t=this.model.get("max"),i=this.model.get("min"),n=100*(e-i)/(t-i);return"horizontal"===this.model.get("orientation")?(this.el.classList.remove("widget-inline-vbox"),this.el.classList.remove("widget-vprogress"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-hprogress"),this.bar.style.width=n+"%",this.bar.style.height="100%"):(this.el.classList.remove("widget-inline-hbox"),this.el.classList.remove("widget-hprogress"),this.el.classList.add("widget-inline-vbox"),this.el.classList.add("widget-vprogress"),this.bar.style.width="100%",this.bar.style.height=n+"%"),super.update()}update_bar_style(){this.update_mapped_classes(Yi.class_map,"bar_style",this.bar)}set_bar_style(){this.set_mapped_classes(Yi.class_map,"bar_style",this.bar)}}Yi.class_map={success:["progress-bar-success"],info:["progress-bar-info"],warning:["progress-bar-warning"],danger:["progress-bar-danger"]};class Gi extends Bi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"PlayModel",_view_name:"PlayView",repeat:!1,playing:!1,show_repeat:!0,interval:100,step:1,disabled:!1})}initialize(e,t){super.initialize(e,t)}loop(){if(!this.get("playing"))return;const e=this.get("value")+this.get("step");e<=this.get("max")?(this.set("value",e),this.schedule_next()):this.get("repeat")?(this.set("value",this.get("min")),this.schedule_next()):this.pause(),this.save_changes()}schedule_next(){this._timerId=window.setTimeout(this.loop.bind(this),this.get("interval"))}stop(){this.pause(),this.set("value",this.get("min")),this.save_changes()}pause(){window.clearTimeout(this._timerId),this._timerId=void 0,this.set("playing",!1),this.save_changes()}animate(){void 0===this._timerId&&(this.get("value")===this.get("max")?(this.set("value",this.get("min")),this.schedule_next(),this.save_changes()):this.loop(),this.save_changes())}play(){this.set("playing",!this.get("playing")),this.save_changes()}repeat(){this.set("repeat",!this.get("repeat")),this.save_changes()}}class Ji extends e.DOMWidgetView{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-play"),this.playPauseButton=document.createElement("button"),this.stopButton=document.createElement("button"),this.repeatButton=document.createElement("button"),this.playPauseButton.className="jupyter-button",this.stopButton.className="jupyter-button",this.repeatButton.className="jupyter-button",this.el.appendChild(this.playPauseButton),this.el.appendChild(this.stopButton),this.el.appendChild(this.repeatButton);const e=document.createElement("i");e.className="fa fa-play",this.playPauseButton.appendChild(e);const t=document.createElement("i");t.className="fa fa-stop",this.stopButton.appendChild(t);const i=document.createElement("i");i.className="fa fa-retweet",this.repeatButton.appendChild(i),this.playPauseButton.onclick=this.model.play.bind(this.model),this.stopButton.onclick=this.model.stop.bind(this.model),this.repeatButton.onclick=this.model.repeat.bind(this.model),this.listenTo(this.model,"change:playing",this.onPlayingChanged),this.listenTo(this.model,"change:repeat",this.updateRepeat),this.listenTo(this.model,"change:show_repeat",this.updateRepeat),this.updatePlaying(),this.updateRepeat(),this.update()}update(){const e=this.model.get("disabled");this.playPauseButton.disabled=e,this.stopButton.disabled=e,this.repeatButton.disabled=e,this.updatePlaying()}onPlayingChanged(){this.updatePlaying();const e=this.model.previous("playing"),t=this.model.get("playing");!e&&t?this.model.animate():this.model.pause()}updatePlaying(){const e=this.model.get("playing");this.playPauseButton.getElementsByTagName("i")[0].className=e?"fa fa-pause":"fa fa-play"}updateRepeat(){const e=this.model.get("repeat");this.repeatButton.style.display=this.model.get("show_repeat")?this.playPauseButton.style.display:"none",e?this.repeatButton.classList.add("mod-active"):this.repeatButton.classList.remove("mod-active")}}class Qi extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"FloatModel",value:0})}}class Zi extends Qi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"BoundedFloatModel",max:100,min:0})}}class en extends Zi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"FloatSliderModel",_view_name:"FloatSliderView",step:1,orientation:"horizontal",_range:!1,readout:!0,readout_format:".2f",slider_color:null,continuous_update:!0,disabled:!1})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=ki(this.get("readout_format"))}}class tn extends Zi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"FloatLogSliderModel",_view_name:"FloatLogSliderView",step:.1,orientation:"horizontal",_range:!1,readout:!0,readout_format:".3g",slider_color:null,continuous_update:!0,disabled:!1,base:10,value:1,min:0,max:4})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=ki(this.get("readout_format"))}}class nn extends en{}class sn extends Fi{constructor(){super(...arguments),this._parse_value=parseFloat}_validate_slide_value(e){return e}}class rn extends Wi{constructor(){super(...arguments),this._parse_value=parseFloat}update(e){super.update(e);const t=this.model.get("value");this.readout.textContent=this.valueToString(t)}logCalc(e){const t=this.model.get("min"),i=this.model.get("max"),n=this.model.get("base");let s=Math.log(e)/Math.log(n);return s>i?s=i:s<t&&(s=t),s}createSlider(){var e;const t=this.model.get("orientation"),i=this.model.get("behavior");Ni().create(this.$slider,{start:this.logCalc(this.model.get("value")),behaviour:i,range:{min:this.model.get("min"),max:this.model.get("max")},step:null!==(e=this.model.get("step"))&&void 0!==e?e:void 0,animate:!1,orientation:t,direction:"horizontal"===t?"ltr":"rtl",format:{from:e=>Number(e),to:e=>e}}),this.$slider.noUiSlider.on("update",((e,t)=>{this.handleSliderUpdateEvent(e,t)})),this.$slider.noUiSlider.on("change",((e,t)=>{this.handleSliderChangeEvent(e,t)}))}valueToString(e){return(0,this.model.readout_formatter)(e)}stringToValue(e){return null===e?NaN:this._parse_value(e)}handleTextChange(){let e=this.stringToValue(this.readout.textContent);const t=this.model.get("min"),i=this.model.get("max"),n=this.model.get("base");isNaN(e)?this.readout.textContent=this.valueToString(this.model.get("value")):(e=Math.max(Math.min(e,Math.pow(n,i)),Math.pow(n,t)),e!==this.model.get("value")?(this.readout.textContent=this.valueToString(e),this.model.set("value",e),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderUpdateEvent(e,t){const i=this.model.get("base"),n=Math.pow(i,this._validate_slide_value(e[0]));this.readout.textContent=this.valueToString(n),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChangeEvent(e,t){const i=this.model.get("base"),n=Math.pow(i,this._validate_slide_value(e[0]));this.readout.textContent=this.valueToString(n),this.handleSliderChanged(e,t)}handleSliderChanged(e,t){if(this._updating_slider)return;const i=this.model.get("base"),n=Math.pow(i,this._validate_slide_value(e[0]));this.model.set("value",n,{updated_view:this}),this.touch()}updateSliderValue(e,t,i){if(i.updated_view===this)return;const n=this.logCalc(this.model.get("value"));this.$slider.noUiSlider.set(n)}updateSliderOptions(e){this.$slider.noUiSlider.updateOptions({start:this.logCalc(this.model.get("value")),range:{min:this.model.get("min"),max:this.model.get("max")},step:this.model.get("step")})}_validate_slide_value(e){return e}}class on extends Vi{constructor(){super(...arguments),this._parse_value=parseFloat,this._range_regex=/^\s*([+-]?(?:\d*\.?\d+|\d+\.)(?:[eE][-:]?\d+)?)\s*[-:–]\s*([+-]?(?:\d*\.?\d+|\d+\.)(?:[eE][+-]?\d+)?)/}_validate_slide_value(e){return e}}class an extends Qi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"FloatTextModel",_view_name:"FloatTextView",disabled:!1,continuous_update:!1})}}class ln extends Zi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"BoundedFloatTextModel",_view_name:"FloatTextView",disabled:!1,continuous_update:!1,step:.1})}}class dn extends Ui{constructor(){super(...arguments),this._parse_value=parseFloat,this._default_step="any"}handleKeypress(e){e.stopPropagation()}handleKeyUp(e){}}class hn extends Zi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"FloatProgressModel",_view_name:"ProgressView",orientation:"horizontal",bar_style:"",style:null})}}class un extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ControllerButtonModel",_view_name:"ControllerButtonView",value:0,pressed:!1})}}class cn extends e.DOMWidgetView{render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller-button"),this.el.style.width="fit-content",this.support=document.createElement("div"),this.support.style.position="relative",this.support.style.margin="1px",this.support.style.width="16px",this.support.style.height="16px",this.support.style.border="1px solid black",this.support.style.background="lightgray",this.el.appendChild(this.support),this.bar=document.createElement("div"),this.bar.style.position="absolute",this.bar.style.width="100%",this.bar.style.bottom="0px",this.bar.style.background="gray",this.support.appendChild(this.bar),this.update(),this.label=document.createElement("div"),this.label.textContent=this.model.get("description"),this.label.style.textAlign="center",this.el.appendChild(this.label)}update(){this.bar.style.height=100*this.model.get("value")+"%"}}class pn extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ControllerAxisModel",_view_name:"ControllerAxisView",value:0})}}class fn extends e.DOMWidgetView{render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller-axis"),this.el.style.width="16px",this.el.style.padding="4px",this.support=document.createElement("div"),this.support.style.position="relative",this.support.style.margin="1px",this.support.style.width="4px",this.support.style.height="64px",this.support.style.border="1px solid black",this.support.style.background="lightgray",this.bullet=document.createElement("div"),this.bullet.style.position="absolute",this.bullet.style.margin="-3px",this.bullet.style.boxSizing="unset",this.bullet.style.width="10px",this.bullet.style.height="10px",this.bullet.style.background="gray",this.label=document.createElement("div"),this.label.textContent=this.model.get("description"),this.label.style.textAlign="center",this.support.appendChild(this.bullet),this.el.appendChild(this.support),this.el.appendChild(this.label),this.update()}update(){this.bullet.style.top=50*(this.model.get("value")+1)+"%"}}class mn extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ControllerModel",_view_name:"ControllerView",index:0,name:"",mapping:"",connected:!1,timestamp:0,buttons:[],axes:[]})}initialize(e,t){super.initialize(e,t),void 0===navigator.getGamepads?(this.readout="This browser does not support gamepads.",console.error(this.readout)):(this.readout="Connect gamepad and press any button.",this.get("connected")?this.update_loop():this.wait_loop())}wait_loop(){const e=this.get("index"),t=navigator.getGamepads()[e];t?this.setup(t).then((e=>{this.set(e),this.save_changes(),window.requestAnimationFrame(this.update_loop.bind(this))})):window.requestAnimationFrame(this.wait_loop.bind(this))}setup(t){return this.set({name:t.id,mapping:t.mapping,connected:t.connected,timestamp:t.timestamp}),e.resolvePromisesDict({buttons:Promise.all(t.buttons.map(((e,t)=>this._create_button_model(t)))),axes:Promise.all(t.axes.map(((e,t)=>this._create_axis_model(t))))})}update_loop(){const e=this.get("index"),t=this.get("name"),i=navigator.getGamepads()[e];i&&e===i.index&&t===i.id?(this.set({timestamp:i.timestamp,connected:i.connected}),this.save_changes(),this.get("buttons").forEach((function(e,t){e.set({value:i.buttons[t].value,pressed:i.buttons[t].pressed}),e.save_changes()})),this.get("axes").forEach((function(e,t){e.set("value",i.axes[t]),e.save_changes()})),window.requestAnimationFrame(this.update_loop.bind(this))):this.reset_gamepad()}reset_gamepad(){this.get("buttons").forEach((function(e){e.close()})),this.get("axes").forEach((function(e){e.close()})),this.set({name:"",mapping:"",connected:!1,timestamp:0,buttons:[],axes:[]}),this.save_changes(),window.requestAnimationFrame(this.wait_loop.bind(this))}_create_button_model(e){return this.widget_manager.new_widget({model_name:"ControllerButtonModel",model_module:"@jupyter-widgets/controls",model_module_version:this.get("_model_module_version"),view_name:"ControllerButtonView",view_module:"@jupyter-widgets/controls",view_module_version:this.get("_view_module_version")}).then((function(t){return t.set("description",e),t}))}_create_axis_model(e){return this.widget_manager.new_widget({model_name:"ControllerAxisModel",model_module:"@jupyter-widgets/controls",model_module_version:this.get("_model_module_version"),view_name:"ControllerAxisView",view_module:"@jupyter-widgets/controls",view_module_version:this.get("_view_module_version")}).then((function(t){return t.set("description",e),t}))}}mn.serializers=Object.assign(Object.assign({},p.serializers),{buttons:{deserialize:e.unpack_models},axes:{deserialize:e.unpack_models}});class gn extends e.DOMWidgetView{_createElement(t){return this.luminoWidget=new e.JupyterLuminoPanelWidget({view:this}),this.luminoWidget.node}_setElement(e){if(this.el||e!==this.luminoWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.luminoWidget.node,this.$el=Dt()(this.luminoWidget.node)}initialize(t){super.initialize(t),this.button_views=new e.ViewList(this.add_button,null,this),this.listenTo(this.model,"change:buttons",((e,t)=>{this.button_views.update(t)})),this.axis_views=new e.ViewList(this.add_axis,null,this),this.listenTo(this.model,"change:axes",((e,t)=>{this.axis_views.update(t)})),this.listenTo(this.model,"change:name",this.update_label)}render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller"),this.label=document.createElement("div"),this.el.appendChild(this.label),this.axis_box=new ht,this.axis_box.node.style.display="flex",this.luminoWidget.addWidget(this.axis_box),this.button_box=new ht,this.button_box.node.style.display="flex",this.luminoWidget.addWidget(this.button_box),this.button_views.update(this.model.get("buttons")),this.axis_views.update(this.model.get("axes")),this.update_label()}update_label(){this.label.textContent=this.model.get("name")||this.model.readout}add_button(t){const i=new Ke;return this.button_box.addWidget(i),this.create_child_view(t).then((e=>{const t=A.firstIndexOf(this.button_box.widgets,i);return this.button_box.insertWidget(t,e.luminoWidget),i.dispose(),e})).catch((0,e.reject)("Could not add child button view to controller",!0))}add_axis(t){const i=new Ke;return this.axis_box.addWidget(i),this.create_child_view(t).then((e=>{const t=A.firstIndexOf(this.axis_box.widgets,i);return this.axis_box.insertWidget(t,e.luminoWidget),i.dispose(),e})).catch((0,e.reject)("Could not add child axis view to controller",!0))}remove(){super.remove(),this.button_views.remove(),this.axis_views.remove()}}class vn extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionModel",index:"",_options_labels:[],disabled:!1})}}class _n extends d{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox")}update(){super.update(),this.listbox&&(this.listbox.disabled=this.model.get("disabled")),this.updateTabindex(),this.updateTooltip()}updateTabindex(){if(!this.listbox)return;const e=this.model.get("tabbable");!0===e?this.listbox.setAttribute("tabIndex","0"):!1===e?this.listbox.setAttribute("tabIndex","-1"):null===e&&this.listbox.removeAttribute("tabIndex")}updateTooltip(){if(!this.listbox)return;const e=this.model.get("tooltip");e?0===this.model.get("description").length&&this.listbox.setAttribute("title",e):this.listbox.removeAttribute("title")}}class bn extends vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DropdownModel",_view_name:"DropdownView",button_style:""})}}class yn extends _n{render(){super.render(),this.el.classList.add("widget-dropdown"),this.listbox=document.createElement("select"),this.listbox.id=this.label.htmlFor=(0,e.uuid)(),this.el.appendChild(this.listbox),this._updateOptions(),this.update()}update(e){(null==e?void 0:e.updated_view)!==this&&this.model.hasChanged("_options_labels")&&this._updateOptions();const t=this.model.get("index");return this.listbox.selectedIndex=null===t?-1:t,super.update()}_updateOptions(){this.listbox.textContent="";const e=this.model.get("_options_labels");for(let t=0;t<e.length;t++){const i=e[t],n=document.createElement("option");n.textContent=i.replace(/ /g," "),n.setAttribute("data-value",encodeURIComponent(i)),n.value=i,this.listbox.appendChild(n)}}events(){return{"change select":"_handle_change"}}_handle_change(){this.model.set("index",-1===this.listbox.selectedIndex?null:this.listbox.selectedIndex,{updated_view:this}),this.touch()}handle_message(e){"focus"===e.do?this.listbox.focus():"blur"===e.do&&this.listbox.blur()}}class xn extends vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectModel",_view_name:"SelectView",rows:5})}}class wn extends _n{initialize(e){super.initialize(e),this.listbox=document.createElement("select")}render(){super.render(),this.el.classList.add("widget-select"),this.listbox.id=this.label.htmlFor=(0,e.uuid)(),this.el.appendChild(this.listbox),this._updateOptions(),this.update(),this.updateSelection()}update(e){if((null==e?void 0:e.updated_view)!==this){const e=this.model.hasChanged("_options_labels"),t=this.model.hasChanged("index");if(e||t){const t=this.model.get("index");e&&this._updateOptions(),this.updateSelection(t)}}super.update();let t=this.model.get("rows");null===t&&(t=""),this.listbox.setAttribute("size",t)}updateSelection(e){e=e||this.model.get("index"),this.listbox.selectedIndex=null===e?-1:e}_updateOptions(){this.listbox.textContent="";const e=this.model.get("_options_labels");for(let t=0;t<e.length;t++){const i=e[t],n=document.createElement("option");n.textContent=i.replace(/ /g," "),n.setAttribute("data-value",encodeURIComponent(i)),n.value=i,this.listbox.appendChild(n)}}events(){return{"change select":"_handle_change"}}_handle_change(){this.model.set("index",this.listbox.selectedIndex,{updated_view:this}),this.touch()}handle_message(e){"focus"==e.do?this.listbox.focus():"blur"==e.do&&this.listbox.blur()}}class Mn extends vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"RadioButtonsModel",_view_name:"RadioButtonsView",tooltips:[],icons:[],button_style:"",orientation:"vertical"})}}class Cn extends d{render(){super.render(),this.el.classList.add("widget-radio"),this.container=document.createElement("div"),this.el.appendChild(this.container),this.container.classList.add("widget-radio-box"),this.update()}update(e){"vertical"===this.model.get("orientation")?(this.container.classList.remove("widget-radio-box-horizontal"),this.container.classList.add("widget-radio-box-vertical")):(this.container.classList.remove("widget-radio-box-vertical"),this.container.classList.add("widget-radio-box-horizontal"));const t=this.model.get("_options_labels"),i=Array.from(this.container.querySelectorAll('input[type="radio"]')).map((e=>e.value));let n=t.length!==i.length;if(!n)for(let e=0,s=t.length;e<s;++e)if(i[e]!==t[e]){n=!0;break}return!n||void 0!==e&&e.updated_view===this||(this.container.textContent="",t.forEach(((e,t)=>{const i=document.createElement("label");i.textContent=e,this.container.appendChild(i);const n=document.createElement("input");n.setAttribute("type","radio"),n.value=t.toString(),n.setAttribute("data-value",encodeURIComponent(e)),i.appendChild(n)}))),t.forEach(((e,t)=>{const i='input[data-value="'+encodeURIComponent(e)+'"]',n=this.container.querySelectorAll(i);if(n.length>0){const e=n[0];e.checked=this.model.get("index")===t,e.disabled=this.model.get("disabled")}})),setTimeout(this.adjustPadding,0,this),super.update(e)}adjustPadding(e){const t=window.getComputedStyle(e.el),i=parseInt(t.marginTop,10)+parseInt(t.marginBottom,10),n=e.label.offsetHeight+i,s=window.getComputedStyle(e.container),r=parseInt(s.marginBottom,10),o=(e.el.offsetHeight+i-r)%n,a=0===o?0:n-o;e.container.style.marginBottom=a+"px"}events(){return{'click input[type="radio"]':"_handle_click"}}_handle_click(e){const t=e.target;this.model.set("index",parseInt(t.value,10),{updated_view:this}),this.touch()}handle_message(e){if("focus"==e.do)this.container.firstElementChild.focus();else if("blur"==e.do)for(let e=0;e<this.container.children.length;e++)this.container.children[e].blur()}}class Sn extends o{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ToggleButtonsStyleModel"})}}Sn.styleProperties=Object.assign(Object.assign({},o.styleProperties),{button_width:{selector:".widget-toggle-button",attribute:"width",default:null},font_weight:{selector:".widget-toggle-button",attribute:"font-weight",default:""}});class kn extends vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ToggleButtonsModel",_view_name:"ToggleButtonsView"})}}class Tn extends d{initialize(e){this._css_state={},super.initialize(e),this.listenTo(this.model,"change:button_style",this.update_button_style)}render(){super.render(),this.el.classList.add("widget-toggle-buttons"),this.buttongroup=document.createElement("div"),this.el.appendChild(this.buttongroup),this.update(),this.set_button_style()}update(e){const t=this.model.get("_options_labels"),n=this.model.get("icons")||[],s=this.model.previous("icons")||[],r=Tn.classMap[this.model.previous("button_style")]||"",o=this.model.get("tooltips")||[],a=this.model.get("disabled"),l=this.buttongroup.querySelectorAll("button"),d=Array.from(l).map((e=>e.value));let h=!1;for(let e=0,i=t.length;e<i;++e)if(d[e]!==t[e]||n[e]!==s[e]){h=!0;break}return!h||void 0!==e&&e.updated_view===this||(this.buttongroup.textContent="",t.forEach(((e,t)=>{let s;s=0!==e.trim().length||n[t]&&0!==n[t].trim().length?i(e):" ";const l=document.createElement("i"),d=document.createElement("button");n[t]&&(l.className="fa fa-"+n[t]),d.setAttribute("type","button"),d.className="widget-toggle-button jupyter-button",r&&d.classList.add(r),d.innerHTML=s,d.setAttribute("data-value",encodeURIComponent(e)),d.setAttribute("value",t.toString()),d.appendChild(l),d.disabled=a,o[t]&&d.setAttribute("title",o[t]),this.update_style_traits(d),this.buttongroup.appendChild(d)}))),t.forEach(((e,t)=>{const i='[data-value="'+encodeURIComponent(e)+'"]',n=this.buttongroup.querySelector(i);this.model.get("index")===t?n.classList.add("mod-active"):n.classList.remove("mod-active")})),this.stylePromise.then((function(e){e&&e.style()})),super.update(e)}update_style_traits(e){for(const t in this._css_state)if(Object.prototype.hasOwnProperty.call(this._css_state,"name"))if("margin"===t)this.buttongroup.style[t]=this._css_state[t];else if("width"!==t)if(e)e.style[t]=this._css_state[t];else{const e=this.buttongroup.querySelectorAll("button");e.length&&(e[0].style[t]=this._css_state[t])}}update_button_style(){const e=this.buttongroup.querySelectorAll("button");for(let t=0;t<e.length;t++)this.update_mapped_classes(Tn.classMap,"button_style",e[t])}set_button_style(){const e=this.buttongroup.querySelectorAll("button");for(let t=0;t<e.length;t++)this.set_mapped_classes(Tn.classMap,"button_style",e[t])}events(){return{"click button":"_handle_click"}}_handle_click(e){const t=e.target;this.model.set("index",parseInt(t.value,10),{updated_view:this}),this.touch(),this.send({event:"click"})}}!function(e){e.classMap={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]}}(Tn||(Tn={}));class En extends vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionSliderModel",_view_name:"SelectionSliderView",orientation:"horizontal",readout:!0,continuous_update:!0})}}class An extends d{render(){super.render(),this.el.classList.add("widget-hslider"),this.el.classList.add("widget-slider"),this.$slider=document.createElement("div"),this.$slider.classList.add("slider"),this.slider_container=document.createElement("div"),this.slider_container.classList.add("slider-container"),this.slider_container.appendChild(this.$slider),this.el.appendChild(this.slider_container),this.readout=document.createElement("div"),this.el.appendChild(this.readout),this.readout.classList.add("widget-readout"),this.readout.style.display="none",this.createSlider(),this.model.on("change:orientation",this.regenSlider,this),this.model.on("change:index",this.updateSliderValue,this),this.update()}update(e){if((null==e?void 0:e.updated_view)!==this){this.updateSliderOptions(this.model);const e=this.model.get("orientation");this.model.get("disabled")?(this.readout.contentEditable="false",this.$slider.setAttribute("disabled",!0)):(this.readout.contentEditable="true",this.$slider.removeAttribute("disabled")),"vertical"===e?(this.el.classList.remove("widget-hslider"),this.el.classList.remove("widget-inline-hbox"),this.el.classList.add("widget-vslider"),this.el.classList.add("widget-inline-vbox")):(this.el.classList.remove("widget-vslider"),this.el.classList.remove("widget-inline-vbox"),this.el.classList.add("widget-hslider"),this.el.classList.add("widget-inline-hbox"));const t=this.model.get("readout");this.readout.style.display=t?"":"none",this.updateSelection()}return super.update(e)}regenSlider(e){this.$slider.noUiSlider.destroy(),this.createSlider()}createSlider(){const e=this.model.get("_options_labels").length-1,t=this.model.get("orientation"),i=this.model.get("behavior");Ni().create(this.$slider,{start:this.model.get("index"),connect:!0,behaviour:i,range:{min:0,max:e},step:1,animate:!1,orientation:t,direction:"horizontal"===t?"ltr":"rtl",format:{from:e=>Number(e),to:e=>Math.round(e)}}),this.$slider.noUiSlider.on("update",((e,t)=>{this.handleSliderUpdateEvent(e,t)})),this.$slider.noUiSlider.on("change",((e,t)=>{this.handleSliderChangeEvent(e,t)}))}events(){return{slide:"handleSliderChange",slidestop:"handleSliderChanged"}}updateSelection(){const e=this.model.get("index");this.updateReadout(e)}updateReadout(e){const t=this.model.get("_options_labels")[e];this.readout.textContent=t}handleSliderUpdateEvent(e,t){const i=e[0];this.updateReadout(i),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChangeEvent(e,t){const i=e[0];this.updateReadout(i),this.handleSliderChanged(e,t)}handleSliderChanged(e,t){const i=e[0];this.updateReadout(i),this.model.set("index",i,{updated_view:this}),this.touch()}updateSliderOptions(e){const t=this.model.get("_options_labels").length-1;this.$slider.noUiSlider.updateOptions({start:this.model.get("index"),range:{min:0,max:t},step:1})}updateSliderValue(e,t,i){if(i.updated_view===this)return;const n=this.$slider.noUiSlider.get(),s=this.model.get("index");n!==s&&this.$slider.noUiSlider.set(s)}}class Ln extends vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"MultipleSelectionModel"})}}class In extends Ln{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectMultipleModel",_view_name:"SelectMultipleView",rows:null})}}class zn extends wn{initialize(e){super.initialize(e),this.listbox.multiple=!0}render(){super.render(),this.el.classList.add("widget-select-multiple")}updateSelection(){const e=this.model.get("index")||[],t=this.listbox.options;this.listbox.selectedIndex=-1,e.forEach((e=>{t[e].selected=!0}))}_handle_change(){const e=Array.prototype.map.call(this.listbox.selectedOptions||[],(function(e){return e.index}));this.model.set("index",e,{updated_view:this}),this.touch()}}class Dn extends Ln{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionSliderModel",_view_name:"SelectionSliderView",orientation:"horizontal",readout:!0,continuous_update:!0})}}class On extends An{render(){super.render()}updateSelection(e){e=e||this.model.get("index"),this.updateReadout(e)}updateReadout(e){const t=this.model.get("_options_labels"),i=t[e[0]],n=t[e[1]];this.readout.textContent=`${i}-${n}`}handleSliderUpdateEvent(e,t){const i=e.map(Math.trunc);this.updateReadout(i),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){const i=e.map(Math.round);this.updateReadout(i),this.model.set("index",i.slice(),{updated_view:this}),this.touch()}updateSliderValue(e,t,i){if(i.updated_view===this)return;const n=this.$slider.noUiSlider.get().map(Math.round),s=this.model.get("index").map(Math.round);n[0]===s[0]&&n[1]===s[1]||this.$slider.noUiSlider.set(s)}}!function(e){e.copyText=function(e){var t=document.body,i=function(n){n.preventDefault(),n.stopPropagation(),n.clipboardData.setData("text",e),t.removeEventListener("copy",i,!0)};t.addEventListener("copy",i,!0),document.execCommand("copy")}}(Ai||(Ai={})),function(e){e.boxSizing=function(e){var t=window.getComputedStyle(e),i=parseFloat(t.borderTopWidth)||0,n=parseFloat(t.borderLeftWidth)||0,s=parseFloat(t.borderRightWidth)||0,r=parseFloat(t.borderBottomWidth)||0,o=parseFloat(t.paddingTop)||0,a=parseFloat(t.paddingLeft)||0,l=parseFloat(t.paddingRight)||0,d=parseFloat(t.paddingBottom)||0;return{borderTop:i,borderLeft:n,borderRight:s,borderBottom:r,paddingTop:o,paddingLeft:a,paddingRight:l,paddingBottom:d,horizontalSum:n+a+l+s,verticalSum:i+o+d+r}},e.sizeLimits=function(e){var t=window.getComputedStyle(e),i=parseFloat(t.minWidth)||0,n=parseFloat(t.minHeight)||0,s=parseFloat(t.maxWidth)||1/0,r=parseFloat(t.maxHeight)||1/0;return{minWidth:i,minHeight:n,maxWidth:s=Math.max(i,s),maxHeight:r=Math.max(n,r)}},e.hitTest=function(e,t,i){var n=e.getBoundingClientRect();return t>=n.left&&t<n.right&&i>=n.top&&i<n.bottom},e.scrollIntoViewIfNeeded=function(e,t){var i=e.getBoundingClientRect(),n=t.getBoundingClientRect();n.top<=i.top&&n.bottom>=i.bottom||(n.top<i.top&&n.height<=i.height||n.bottom>i.bottom&&n.height>=i.height?e.scrollTop-=i.top-n.top:(n.top<i.top&&n.height>i.height||n.bottom>i.bottom&&n.height<i.height)&&(e.scrollTop-=i.bottom-n.bottom))}}(Li||(Li={})),function(e){e.IS_MAC=!!navigator.platform.match(/Mac/i),e.IS_WIN=!!navigator.platform.match(/Win/i),e.IS_IE=/Trident/.test(navigator.userAgent),e.IS_EDGE=/Edge/.test(navigator.userAgent),e.accelKey=function(t){return e.IS_MAC?t.metaKey:t.ctrlKey}}(Ii||(Ii={})),function(e){e.calculateSpecificity=function(e){if(e in Di.specificityCache)return Di.specificityCache[e];var t=Di.calculateSingle(e);return Di.specificityCache[e]=t},e.isValid=function(e){if(e in Di.validityCache)return Di.validityCache[e];var t=!0;try{Di.testElem.querySelector(e)}catch(e){t=!1}return Di.validityCache[e]=t},e.matches=function(e,t){return Di.protoMatchFunc.call(e,t)}}(zi||(zi={})),function(e){var t;e.specificityCache=Object.create(null),e.validityCache=Object.create(null),e.testElem=document.createElement("div"),e.protoMatchFunc=(t=Element.prototype).matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector||function(e){var t=this,i=t.ownerDocument?t.ownerDocument.querySelectorAll(e):[];return-1!==Array.prototype.indexOf.call(i,t)},e.calculateSingle=function(e){var t=0,h=0,u=0;function c(t){var i=e.match(t);return null!==i&&(e=e.slice(i[0].length),!0)}for(e=(e=e.split(",",1)[0]).replace(d," $1 ");e.length>0;)if(c(i))t++;else if(c(n))h++;else if(c(s))h++;else if(c(o))u++;else if(c(a))h++;else if(c(r))u++;else if(!c(l))return 0;return(t=Math.min(t,255))<<16|(h=Math.min(h,255))<<8|Math.min(u,255)};var i=/^#[^\s\+>~#\.\[:]+/,n=/^\.[^\s\+>~#\.\[:]+/,s=/^\[[^\]]+\]/,r=/^[^\s\+>~#\.\[:]+/,o=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,a=/^:[^\s\+>~#\.\[:]+/,l=/^[\s\+>~\*]+/,d=/:not\(([^\)]+)\)/g}(Di||(Di={}));class Nn extends ht{constructor(){super(...arguments),this._widgetRemoved=new Se(this)}get widgetRemoved(){return this._widgetRemoved}onChildRemoved(e){this._widgetRemoved.emit(e.child)}}class jn extends Ke{constructor(e={}){super(),this._currentChanged=new Se(this),this.addClass("jupyter-widget-TabPanel"),this.tabBar=new _t(e),this.tabBar.addClass("jupyter-widget-TabPanel-tabBar"),this.tabContents=new Nn,this.tabContents.addClass("jupyter-widget-TabPanel-tabContents"),this.tabBar.tabMoved.connect(this._onTabMoved,this),this.tabBar.currentChanged.connect(this._onCurrentChanged,this),this.tabBar.tabCloseRequested.connect(this._onTabCloseRequested,this),this.tabBar.tabActivateRequested.connect(this._onTabActivateRequested,this),this.tabContents.widgetRemoved.connect(this._onWidgetRemoved,this);const t=new Ge;t.addWidget(this.tabBar),t.addWidget(this.tabContents),this.layout=t}get currentChanged(){return this._currentChanged}get currentIndex(){const e=this.tabBar.currentIndex;return-1===e?null:e}set currentIndex(e){this.tabBar.currentIndex=null===e?-1:e}get currentWidget(){const e=this.tabBar.currentTitle;return e?e.owner:null}set currentWidget(e){this.tabBar.currentTitle=e?e.title:null}get tabsMovable(){return this.tabBar.tabsMovable}set tabsMovable(e){this.tabBar.tabsMovable=e}get widgets(){return this.tabContents.widgets}addWidget(e){this.insertWidget(this.widgets.length,e)}insertWidget(e,t){t!==this.currentWidget&&t.hide(),this.tabContents.insertWidget(e,t),this.tabBar.insertTab(e,t.title)}_onCurrentChanged(e,t){const{previousIndex:i,previousTitle:n,currentIndex:s,currentTitle:r}=t,o=n?n.owner:null,a=r?r.owner:null;o&&o.hide(),a&&a.show(),this._currentChanged.emit({previousIndex:i,previousWidget:o,currentIndex:s,currentWidget:a}),(Ii.IS_EDGE||Ii.IS_IE)&&J.flush()}_onTabActivateRequested(e,t){t.title.owner.activate()}_onTabCloseRequested(e,t){t.title.owner.close()}_onTabMoved(e,t){this.tabContents.insertWidget(t.toIndex,t.title.owner)}_onWidgetRemoved(e,t){this.tabBar.removeTab(t.title)}}class Bn{constructor(e,t={}){this._array=null,this._value=null,this._previousValue=null,this._selectionChanged=new Se(this),this._array=e,this._insertBehavior=t.insertBehavior||"select-item-if-needed",this._removeBehavior=t.removeBehavior||"select-item-after"}get selectionChanged(){return this._selectionChanged}adjustSelectionForSet(e){const t=this.index,i=this.value;if(e!==t)return;this._updateSelectedValue();const n=this.value;this._previousValue=null,i!==n&&this._selectionChanged.emit({previousIndex:t,previousValue:i,currentIndex:t,currentValue:n})}get value(){return this._value}set value(e){null===e||null===this._array?this.index=null:this.index=A.firstIndexOf(this._array,e)}get index(){return this._index}set index(e){let t;if(null!==e&&null!==this._array?(t=Math.floor(e),(t<0||t>=this._array.length)&&(t=null)):t=null,this._index===t)return;const i=this._index,n=this._value;this._index=t,this._updateSelectedValue(),this._previousValue=n,this._selectionChanged.emit({previousIndex:i,previousValue:n,currentIndex:t,currentValue:this._value})}get insertBehavior(){return this._insertBehavior}set insertBehavior(e){this._insertBehavior=e}get removeBehavior(){return this._removeBehavior}set removeBehavior(e){this._removeBehavior=e}adjustSelectionForInsert(e,t){const i=this._value,n=this._index,s=this._insertBehavior;if("select-item"===s||"select-item-if-needed"===s&&null===n)return this._index=e,this._value=t,this._previousValue=i,void this._selectionChanged.emit({previousIndex:n,previousValue:i,currentIndex:e,currentValue:t});null!==n&&n>=e&&this._index++}clearSelection(){const e=this._index,t=this._value;this._index=null,this._value=null,this._previousValue=null,null!==e&&this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value})}adjustSelectionForRemove(e,t){if(null===this._index)return;const i=this._index,n=this._removeBehavior;if(i===e){if(!this._array||0===this._array.length)return this._index=null,this._value=null,this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-item-after"===n)return this._index=Math.min(e,this._array.length-1),this._updateSelectedValue(),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-item-before"===n)return this._index=Math.max(0,e-1),this._updateSelectedValue(),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-previous-item"===n)return this._previousValue?this.value=this._previousValue:(this._index=Math.min(e,this._array.length-1),this._updateSelectedValue()),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this.value});this._index=null,this._value=null,this._previousValue=null,this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value})}else i>e&&this._index--}_updateSelectedValue(){const e=this._index;this._value=null!==e&&this._array?this._array[e]:null}}const Pn="jupyter-widget-Collapse-open";class Rn extends Ke{constructor(e){super(e),this._collapseChanged=new Se(this),this.addClass("jupyter-widget-Collapse"),this._header=new Ke,this._header.addClass("jupyter-widget-Collapse-header"),this._header.node.addEventListener("click",this);const t=document.createElement("i");t.classList.add("fa","fa-fw","fa-caret-right"),this._header.node.appendChild(t),this._header.node.appendChild(document.createElement("span")),this._content=new ht,this._content.addClass("jupyter-widget-Collapse-contents");const i=new Ge;this.layout=i,i.addWidget(this._header),i.addWidget(this._content),e.widget&&(this.widget=e.widget),this.collapsed=!1}dispose(){this.isDisposed||(super.dispose(),this._header=null,this._widget=null,this._content=null)}get widget(){return this._widget}set widget(e){const t=this._widget;t&&(t.disposed.disconnect(this._onChildDisposed,this),t.title.changed.disconnect(this._onTitleChanged,this),t.parent=null),this._widget=e,e.disposed.connect(this._onChildDisposed,this),e.title.changed.connect(this._onTitleChanged,this),this._onTitleChanged(e.title),this._content.addWidget(e)}get collapsed(){return this._collapsed}set collapsed(e){e!==this._collapsed&&(e?this._collapse():this._uncollapse())}toggle(){this.collapsed=!this.collapsed}get collapseChanged(){return this._collapseChanged}_collapse(){this._collapsed=!0,this._content&&this._content.hide(),this.removeClass(Pn),this._header.node.children[0].classList.add("fa-caret-right"),this._header.node.children[0].classList.remove("fa-caret-down"),this._collapseChanged.emit(void 0)}_uncollapse(){this._collapsed=!1,this._content&&this._content.show(),this.addClass(Pn),this._header.node.children[0].classList.add("fa-caret-down"),this._header.node.children[0].classList.remove("fa-caret-right"),this._collapseChanged.emit(void 0)}handleEvent(e){"click"===e.type&&this._evtClick(e)}_evtClick(e){this.toggle()}_onTitleChanged(e){this._header.node.children[1].textContent=this._widget.title.label}_onChildDisposed(e){this.dispose()}}const Hn="jupyter-widget-Accordion-child-active";class Wn extends ht{constructor(e){super(e),this._selection=new Bn(this.widgets),this._selection.selectionChanged.connect(this._onSelectionChanged,this),this.addClass("jupyter-widget-Accordion")}get collapseWidgets(){return this.layout.widgets}get selection(){return this._selection}indexOf(e){return A.findFirstIndex(this.collapseWidgets,(t=>t.widget===e))}addWidget(e){const t=this._wrapWidget(e);return t.collapsed=!0,super.addWidget(t),this._selection.adjustSelectionForInsert(this.widgets.length-1,t),t}insertWidget(e,t){const i=this._wrapWidget(t);i.collapsed=!0,super.insertWidget(e,i),this._selection.adjustSelectionForInsert(e,i)}removeWidget(e){const t=this.indexOf(e);if(t>=0){const i=this.collapseWidgets[t];e.parent=null,i.dispose(),this._selection.adjustSelectionForRemove(t,null)}}_wrapWidget(e){const t=new Rn({widget:e});return t.addClass("jupyter-widget-Accordion-child"),t.collapseChanged.connect(this._onCollapseChange,this),t}_onCollapseChange(e){e.collapsed?this._selection.value===e&&e.collapsed&&(this._selection.value=null):this._selection.value=e}_onSelectionChanged(e,t){const i=t.previousValue,n=t.currentValue;i&&(i.collapsed=!0,i.removeClass(Hn)),n&&(n.collapsed=!1,n.addClass(Hn))}}class Vn extends Ot{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionContainerModel",selected_index:null,titles:[]})}}class Fn extends Vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"AccordionModel",_view_name:"AccordionView"})}}class qn extends Wn{constructor(e){const t=e.view;delete e.view,super(e),this._view=t}processMessage(e){var t;super.processMessage(e),null===(t=this._view)||void 0===t||t.processLuminoMessage(e)}dispose(){this.isDisposed||(super.dispose(),this._view.remove(),this._view=null)}}class $n extends e.DOMWidgetView{_createElement(e){return this.luminoWidget=new qn({view:this}),this.luminoWidget.node}_setElement(e){if(this.el||e!==this.luminoWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.luminoWidget.node,this.$el=Dt()(this.luminoWidget.node)}initialize(t){super.initialize(t),this.children_views=new e.ViewList(this.add_child_view,this.remove_child_view,this),this.listenTo(this.model,"change:children",(()=>this.updateChildren())),this.listenTo(this.model,"change:selected_index",(()=>this.update_selected_index())),this.listenTo(this.model,"change:titles",(()=>this.update_titles()))}render(){var e;super.render();const t=this.luminoWidget;t.addClass("jupyter-widgets"),t.addClass("widget-accordion"),t.addClass("widget-container"),t.selection.selectionChanged.connect((e=>{this.updatingChildren||(this.model.set("selected_index",t.selection.index),this.touch())})),null===(e=this.children_views)||void 0===e||e.update(this.model.get("children")),this.update_titles(),this.update_selected_index()}updateChildren(){var e;this.updatingChildren=!0,this.luminoWidget.selection.index=null,null===(e=this.children_views)||void 0===e||e.update(this.model.get("children")),this.update_selected_index(),this.updatingChildren=!1}update_titles(){const e=this.luminoWidget.collapseWidgets,t=this.model.get("titles");for(let i=0;i<e.length;i++)void 0!==t[i]&&(e[i].widget.title.label=t[i])}update_selected_index(){this.luminoWidget.selection.index=this.model.get("selected_index")}remove_child_view(e){this.luminoWidget.removeWidget(e.luminoWidget),e.remove()}add_child_view(t,i){const n=this.luminoWidget,s=new Ke;return s.title.label=this.model.get("titles")[i]||"",n.addWidget(s),this.create_child_view(t).then((e=>{const t=e.luminoWidget;return t.title.label=s.title.label,n.collapseWidgets[n.indexOf(s)].widget=t,s.dispose(),e})).catch((0,e.reject)("Could not add child view to box",!0))}remove(){this.children_views=null,super.remove()}}class Un extends Vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"TabModel",_view_name:"TabView"})}}class Kn extends jn{constructor(e){const t=e.view;delete e.view,super(e),this._view=t,J.installMessageHook(this.tabContents,((e,t)=>(this._view.processLuminoMessage(t),!0)))}dispose(){this.isDisposed||(super.dispose(),this._view.remove(),this._view=null)}}class Xn extends e.DOMWidgetView{constructor(){super(...arguments),this.updatingTabs=!1}_createElement(e){return this.luminoWidget=new Kn({view:this}),this.luminoWidget.node}_setElement(e){if(this.el||e!==this.luminoWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.luminoWidget.node,this.$el=Dt()(this.luminoWidget.node)}initialize(t){super.initialize(t),this.childrenViews=new e.ViewList(this.addChildView,(e=>{e.remove()}),this),this.listenTo(this.model,"change:children",(()=>this.updateTabs())),this.listenTo(this.model,"change:titles",(()=>this.updateTitles()))}render(){super.render();const e=this.luminoWidget;e.addClass("jupyter-widgets"),e.addClass("widget-container"),e.addClass("jupyter-widget-tab"),e.addClass("widget-tab"),e.tabsMovable=!0,e.tabBar.insertBehavior="none",e.tabBar.currentChanged.connect(this._onTabChanged,this),e.tabBar.tabMoved.connect(this._onTabMoved,this),e.tabBar.addClass("widget-tab-bar"),e.tabContents.addClass("widget-tab-contents"),e.tabBar.tabsMovable=!1,this.updateTabs(),this.update()}updateTabs(){var e;this.updatingTabs=!0,this.luminoWidget.currentIndex=null,null===(e=this.childrenViews)||void 0===e||e.update(this.model.get("children")),this.luminoWidget.currentIndex=this.model.get("selected_index"),this.updatingTabs=!1}addChildView(t,i){const n=this.model.get("titles")[i]||"",s=this.luminoWidget,r=new Ke;return r.title.label=n,s.addWidget(r),this.create_child_view(t).then((e=>{const t=e.luminoWidget;t.title.label=r.title.label,t.title.closable=!1;const i=A.firstIndexOf(s.widgets,r);return s.insertWidget(i+1,t),r.dispose(),e})).catch((0,e.reject)("Could not add child view to box",!0))}update(){return this.updateSelectedIndex(),super.update()}updateTitles(){const e=this.model.get("titles")||[];L(this.luminoWidget.widgets,((t,i)=>{t.title.label=e[i]||""}))}updateSelectedIndex(){this.luminoWidget.currentIndex=this.model.get("selected_index")}remove(){this.childrenViews=null,super.remove()}_onTabChanged(e,t){if(!this.updatingTabs){const e=t.currentIndex;this.model.set("selected_index",-1===e?null:e),this.touch()}}_onTabMoved(e,t){const i=this.model.get("children").slice();A.move(i,t.fromIndex,t.toIndex),this.model.set("children",i),this.touch()}}class Yn extends Vn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"StackModel",_view_name:"StackView"})}}class Gn extends Bt{initialize(e){super.initialize(e),this.listenTo(this.model,"change:selected_index",this.update_children)}update_children(){var e;let t;t=null===this.model.get("selected_index")?[]:[this.model.get("children")[this.model.get("selected_index")]],null===(e=this.children_views)||void 0===e||e.update(t).then((e=>{e.forEach((e=>{J.postMessage(e.luminoWidget,Ke.ResizeMessage.UnknownSize)}))}))}}function Jn(e,t,i){e.prototype=t.prototype=i,i.constructor=e}function Qn(e,t){var i=Object.create(e.prototype);for(var n in t)i[n]=t[n];return i}function Zn(){}var es=.7,ts=1/es,is="\\s*([+-]?\\d+)\\s*",ns="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ss="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",rs=/^#([0-9a-f]{3,8})$/,os=new RegExp(`^rgb\\(${is},${is},${is}\\)$`),as=new RegExp(`^rgb\\(${ss},${ss},${ss}\\)$`),ls=new RegExp(`^rgba\\(${is},${is},${is},${ns}\\)$`),ds=new RegExp(`^rgba\\(${ss},${ss},${ss},${ns}\\)$`),hs=new RegExp(`^hsl\\(${ns},${ss},${ss}\\)$`),us=new RegExp(`^hsla\\(${ns},${ss},${ss},${ns}\\)$`),cs={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ps(){return this.rgb().formatHex()}function fs(){return this.rgb().formatRgb()}function ms(e){var t,i;return e=(e+"").trim().toLowerCase(),(t=rs.exec(e))?(i=t[1].length,t=parseInt(t[1],16),6===i?gs(t):3===i?new _s(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===i?vs(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===i?vs(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=os.exec(e))?new _s(t[1],t[2],t[3],1):(t=as.exec(e))?new _s(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ls.exec(e))?vs(t[1],t[2],t[3],t[4]):(t=ds.exec(e))?vs(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=hs.exec(e))?Cs(t[1],t[2]/100,t[3]/100,1):(t=us.exec(e))?Cs(t[1],t[2]/100,t[3]/100,t[4]):cs.hasOwnProperty(e)?gs(cs[e]):"transparent"===e?new _s(NaN,NaN,NaN,0):null}function gs(e){return new _s(e>>16&255,e>>8&255,255&e,1)}function vs(e,t,i,n){return n<=0&&(e=t=i=NaN),new _s(e,t,i,n)}function _s(e,t,i,n){this.r=+e,this.g=+t,this.b=+i,this.opacity=+n}function bs(){return`#${Ms(this.r)}${Ms(this.g)}${Ms(this.b)}`}function ys(){const e=xs(this.opacity);return`${1===e?"rgb(":"rgba("}${ws(this.r)}, ${ws(this.g)}, ${ws(this.b)}${1===e?")":`, ${e})`}`}function xs(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ws(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ms(e){return((e=ws(e))<16?"0":"")+e.toString(16)}function Cs(e,t,i,n){return n<=0?e=t=i=NaN:i<=0||i>=1?e=t=NaN:t<=0&&(e=NaN),new ks(e,t,i,n)}function Ss(e){if(e instanceof ks)return new ks(e.h,e.s,e.l,e.opacity);if(e instanceof Zn||(e=ms(e)),!e)return new ks;if(e instanceof ks)return e;var t=(e=e.rgb()).r/255,i=e.g/255,n=e.b/255,s=Math.min(t,i,n),r=Math.max(t,i,n),o=NaN,a=r-s,l=(r+s)/2;return a?(o=t===r?(i-n)/a+6*(i<n):i===r?(n-t)/a+2:(t-i)/a+4,a/=l<.5?r+s:2-r-s,o*=60):a=l>0&&l<1?0:o,new ks(o,a,l,e.opacity)}function ks(e,t,i,n){this.h=+e,this.s=+t,this.l=+i,this.opacity=+n}function Ts(e){return(e=(e||0)%360)<0?e+360:e}function Es(e){return Math.max(0,Math.min(1,e||0))}function As(e,t,i){return 255*(e<60?t+(i-t)*e/60:e<180?i:e<240?t+(i-t)*(240-e)/60:t)}function Ls(e){for(;e.firstChild;)e.removeChild(e.firstChild)}Jn(Zn,ms,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ps,formatHex:ps,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ss(this).formatHsl()},formatRgb:fs,toString:fs}),Jn(_s,(function(e,t,i,n){return 1===arguments.length?((s=e)instanceof Zn||(s=ms(s)),s?new _s((s=s.rgb()).r,s.g,s.b,s.opacity):new _s):new _s(e,t,i,null==n?1:n);var s}),Qn(Zn,{brighter(e){return e=null==e?ts:Math.pow(ts,e),new _s(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?es:Math.pow(es,e),new _s(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new _s(ws(this.r),ws(this.g),ws(this.b),xs(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:bs,formatHex:bs,formatHex8:function(){return`#${Ms(this.r)}${Ms(this.g)}${Ms(this.b)}${Ms(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:ys,toString:ys})),Jn(ks,(function(e,t,i,n){return 1===arguments.length?Ss(e):new ks(e,t,i,null==n?1:n)}),Qn(Zn,{brighter(e){return e=null==e?ts:Math.pow(ts,e),new ks(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?es:Math.pow(es,e),new ks(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,i=this.l,n=i+(i<.5?i:1-i)*t,s=2*i-n;return new _s(As(e>=240?e-240:e+120,s,n),As(e,s,n),As(e<120?e+240:e-120,s,n),this.opacity)},clamp(){return new ks(Ts(this.h),Es(this.s),Es(this.l),xs(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=xs(this.opacity);return`${1===e?"hsl(":"hsla("}${Ts(this.h)}, ${100*Es(this.s)}%, ${100*Es(this.l)}%${1===e?")":`, ${e})`}`}}));class Is{constructor(e,t,i){this.start=e,this.dx=t,this.max=i}isSelected(e){let t,i;return this.dx>=0?(t=this.start,i=this.start+this.dx):(t=this.start+this.dx,i=this.start),t<=e&&e<i}updateSelection(e){this.dx+=e,this.start+this.dx>this.max&&(this.dx=this.max-this.start),this.start+this.dx<0&&(this.dx=-this.start)}}class zs extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{value:[],placeholder:"",allowed_tags:null,allow_duplicates:!0})}}class Ds extends e.DOMWidgetView{constructor(){super(...arguments),this.hoveredTag=null,this.hoveredTagIndex=null}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("jupyter-widget-tagsinput"),this.taginputWrapper=document.createElement("div"),this.model.get("value").length?this.taginputWrapper.style.display="none":this.taginputWrapper.style.display="inline-block",this.datalistID=(0,e.uuid)(),this.taginput=document.createElement("input"),this.taginput.classList.add("jupyter-widget-tag"),this.taginput.classList.add("jupyter-widget-taginput"),this.taginput.setAttribute("list",this.datalistID),this.taginput.setAttribute("type","text"),this.autocompleteList=document.createElement("datalist"),this.autocompleteList.id=this.datalistID,this.updateAutocomplete(),this.model.on("change:allowed_tags",this.updateAutocomplete.bind(this)),this.updatePlaceholder(),this.model.on("change:placeholder",this.updatePlaceholder.bind(this)),this.taginputWrapper.classList.add("widget-text"),this.taginputWrapper.appendChild(this.taginput),this.taginputWrapper.appendChild(this.autocompleteList),this.el.onclick=this.focus.bind(this),this.el.ondrop=e=>{const t=null==this.hoveredTagIndex?this.tags.length:this.hoveredTagIndex;return this.ondrop(e,t)},this.el.ondragover=this.ondragover.bind(this),this.taginput.onchange=this.handleValueAdded.bind(this),this.taginput.oninput=this.resizeInput.bind(this),this.taginput.onkeydown=this.handleKeyEvent.bind(this),this.taginput.onblur=this.loseFocus.bind(this),this.resizeInput(),this.inputIndex=this.model.get("value").length,this.selection=null,this.preventLoosingFocus=!1,this.update()}update(){this.preventLoosingFocus=!0,Ls(this.el),this.tags=[];const e=this.model.get("value");this.inputIndex=e.length;for(const t in e){const i=parseInt(t),n=this.createTag(e[i],i,null!=this.selection&&this.selection.isSelected(i));n.draggable=!0,n.ondragstart=((e,t)=>i=>{this.ondragstart(i,e,t,this.model.model_id)})(i,e[i]),n.ondrop=(e=>t=>{this.ondrop(t,e)})(i),n.ondragover=this.ondragover.bind(this),n.ondragenter=(e=>t=>{this.ondragenter(t,e)})(i),n.ondragend=this.ondragend.bind(this),this.tags.push(n),this.el.appendChild(n)}return this.el.insertBefore(this.taginputWrapper,this.el.children[this.inputIndex]),this.model.get("value").length?this.taginputWrapper.style.display="none":this.taginputWrapper.style.display="inline-block",this.preventLoosingFocus=!1,super.update()}updateAutocomplete(){Ls(this.autocompleteList);const e=this.model.get("allowed_tags");for(const t of e){const e=document.createElement("option");e.value=t,this.autocompleteList.appendChild(e)}}updatePlaceholder(){this.taginput.placeholder=this.model.get("placeholder"),this.resizeInput()}updateTags(){const e=this.model.get("value");for(const t in this.tags){const i=parseInt(t);this.updateTag(this.tags[i],e[i],i,null!=this.selection&&this.selection.isSelected(i))}}handleValueAdded(e){const t=this.taginput.value.replace(/^\s+|\s+$/g,""),i=this.inputIndex;""!=t&&(this.inputIndex++,this.addTag(i,t)&&(this.taginput.value="",this.resizeInput(),this.focus()))}addTag(e,t){const i=this.model.get("value");let n;try{n=this.validateValue(t)}catch(e){return!1}const s=this.model.get("allowed_tags");if(s.length&&!s.includes(n))return!1;if(!this.model.get("allow_duplicates")&&i.includes(n))return!1;this.selection=null;const r=[...i];return r.splice(e,0,n),this.model.set("value",r),this.model.save_changes(),!0}resizeInput(){let e;e=0!=this.taginput.value.length?this.taginput.value:this.model.get("placeholder");const t=e.length+1;this.taginput.setAttribute("size",String(t))}handleKeyEvent(e){const t=this.model.get("value").length;if(this.taginput.value.length)return;const i=this.inputIndex;switch(e.key){case"ArrowLeft":e.ctrlKey&&e.shiftKey&&this.select(i,-i),!e.ctrlKey&&e.shiftKey&&this.select(i,-1),e.ctrlKey?this.inputIndex=0:this.inputIndex--;break;case"ArrowRight":e.ctrlKey&&e.shiftKey&&this.select(i,t-i),!e.ctrlKey&&e.shiftKey&&this.select(i,1),e.ctrlKey?this.inputIndex=t:this.inputIndex++;break;case"Backspace":this.selection?this.removeSelectedTags():this.removeTag(this.inputIndex-1);break;case"Delete":this.selection?this.removeSelectedTags():this.removeTag(this.inputIndex);break;default:return}var n,s;e.shiftKey||(this.selection=null),this.inputIndex=(n=this.inputIndex,s=t,Math.min(Math.max(n,0),s)),this.update(),this.focus()}ondragstart(e,t,i,n){null!=e.dataTransfer&&(e.dataTransfer.setData("index",String(t)),e.dataTransfer.setData("tagValue",String(i)),e.dataTransfer.setData("origin",n))}ondrop(e,t){if(null==e.dataTransfer)return;e.preventDefault(),e.stopPropagation();const i=e.dataTransfer.getData("tagValue"),n=parseInt(e.dataTransfer.getData("index")),s=e.dataTransfer.getData("origin")==this.model.model_id;if(!isNaN(n)){if(s){const e=[...this.model.get("value")];return n<t&&t--,e.splice(n,1),e.splice(t,0,i),this.model.set("value",e),void this.model.save_changes()}this.addTag(t,i)}}ondragover(e){e.preventDefault()}ondragenter(e,t){null!=this.hoveredTag&&this.hoveredTag!=this.tags[t]&&(this.hoveredTag.style.marginLeft="1px"),this.hoveredTag=this.tags[t],this.hoveredTagIndex=t,this.hoveredTag.style.marginLeft="30px"}ondragend(){null!=this.hoveredTag&&(this.hoveredTag.style.marginLeft="1px"),this.hoveredTag=null,this.hoveredTagIndex=null}select(e,t){const i=this.model.get("value").length;this.selection?this.selection.updateSelection(t):this.selection=new Is(e,t,i)}removeSelectedTags(){const e=[...this.model.get("value")];for(let t=e.length-1;t>=0;t--)null!=this.selection&&this.selection.isSelected(t)&&(e.splice(t,1),t<this.inputIndex&&this.inputIndex--);this.model.set("value",e),this.model.save_changes()}removeTag(e){const t=[...this.model.get("value")];t.splice(e,1),e<this.inputIndex&&this.inputIndex--,this.model.set("value",t),this.model.save_changes()}focus(){this.taginputWrapper.style.display="inline-block",this.taginput.focus()}loseFocus(){this.preventLoosingFocus||(this.model.get("value").length&&(this.taginputWrapper.style.display="none"),this.selection=null,this.updateTags())}preinitialize(){this.tagName="div"}validateValue(e){return e}}class Os extends zs{defaults(){return Object.assign(Object.assign({},super.defaults()),{value:[],tag_style:"",_view_name:"TagsInputView",_model_name:"TagsInputModel"})}}class Ns extends Ds{createTag(e,t,i){const n=document.createElement("div"),s=this.model.get("tag_style");n.classList.add("jupyter-widget-tag"),n.classList.add(Ns.class_map[s]),i&&n.classList.add("mod-active"),n.appendChild(document.createTextNode(this.getTagText(e)));const r=document.createElement("i");return r.classList.add("fa"),r.classList.add("fa-times"),r.classList.add("jupyter-widget-tag-close"),n.appendChild(r),r.onmousedown=(e=>()=>{this.removeTag(e),this.loseFocus()})(t),n}getTagText(e){return e}updateTag(e,t,i,n){n?e.classList.add("mod-active"):e.classList.remove("mod-active")}}Ns.class_map={primary:"mod-primary",success:"mod-success",info:"mod-info",warning:"mod-warning",danger:"mod-danger"};class js extends zs{defaults(){return Object.assign(Object.assign({},super.defaults()),{value:[],_view_name:"ColorsInputView",_model_name:"ColorsInputModel"})}}class Bs extends Ds{createTag(e,t,i){const n=document.createElement("div"),s=e,r=ms(e).darker().toString();n.classList.add("jupyter-widget-tag"),n.classList.add("jupyter-widget-colortag"),i?(n.classList.add("mod-active"),n.style.backgroundColor=r):n.style.backgroundColor=s;const o=document.createElement("i");return o.classList.add("fa"),o.classList.add("fa-times"),o.classList.add("jupyter-widget-tag-close"),n.appendChild(o),o.onmousedown=(e=>()=>{this.removeTag(e),this.loseFocus()})(t),n}updateTag(e,t,i,n){const s=t,r=ms(t).darker().toString();n?(e.classList.add("mod-active"),e.style.backgroundColor=r):(e.classList.remove("mod-active"),e.style.backgroundColor=s)}validateValue(e){if(null==ms(e))throw e+" is not a valid Color";return e}}class Ps extends Os{defaults(){return Object.assign(Object.assign({},super.defaults()),{min:null,max:null})}}class Rs extends Ns{render(){this.model.on("change:format",(()=>{this.formatter=ki(this.model.get("format")),this.update()})),this.formatter=ki(this.model.get("format")),super.render()}getTagText(e){return this.formatter(this.parseNumber(e))}validateValue(e){const t=this.parseNumber(e),i=this.model.get("min"),n=this.model.get("max");if(isNaN(t)||null!=i&&t<i||null!=n&&t>n)throw e+" is not a valid number, it should be in the range ["+i+", "+n+"]";return t}}class Hs extends Ps{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"FloatsInputView",_model_name:"FloatsInputModel",format:".1f"})}}class Ws extends Rs{parseNumber(e){return parseFloat(e)}}class Vs extends Ps{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"IntsInputView",_model_name:"IntsInputModel",format:"d"})}}class Fs extends Rs{parseNumber(e){const t=parseInt(e);if(t!=parseFloat(e))throw e+" should be an integer";return t}}class qs extends o{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"StringStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:r})}}qs.styleProperties=Object.assign(Object.assign({},o.styleProperties),{background:{selector:"",attribute:"background",default:null},font_size:{selector:"",attribute:"font-size",default:""},text_color:{selector:"",attribute:"color",default:""}});class $s extends qs{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"HTMLStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:r})}}$s.styleProperties=Object.assign({},qs.styleProperties);class Us extends qs{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"HTMLMathStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:r})}}Us.styleProperties=Object.assign({},qs.styleProperties);class Ks extends qs{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"LabelStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:r})}}Ks.styleProperties=Object.assign(Object.assign({},qs.styleProperties),{font_family:{selector:"",attribute:"font-family",default:""},font_style:{selector:"",attribute:"font-style",default:""},font_variant:{selector:"",attribute:"font-variant",default:""},font_weight:{selector:"",attribute:"font-weight",default:""},text_decoration:{selector:"",attribute:"text-decoration",default:""}});class Xs extends o{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"TextStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:r})}}Xs.styleProperties=Object.assign(Object.assign({},o.styleProperties),{background:{selector:".widget-input",attribute:"background",default:null},font_size:{selector:".widget-input",attribute:"font-size",default:""},text_color:{selector:".widget-input",attribute:"color",default:""}});class Ys extends f{defaults(){return Object.assign(Object.assign({},super.defaults()),{value:"",disabled:!1,placeholder:"",_model_name:"StringModel"})}}class Gs extends d{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox")}}class Js extends Ys{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"HTMLView",_model_name:"HTMLModel"})}}class Qs extends Gs{render(){super.render(),this.el.classList.add("widget-html"),this.content=document.createElement("div"),this.content.classList.add("widget-html-content"),this.el.appendChild(this.content),this.update()}update(){return this.content.innerHTML=this.model.get("value"),super.update()}handle_message(e){"focus"===e.do?this.content.focus():"blur"===e.do&&this.content.blur()}}class Zs extends Ys{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"HTMLMathView",_model_name:"HTMLMathModel"})}}class er extends Gs{render(){super.render(),this.el.classList.add("widget-htmlmath"),this.content=document.createElement("div"),this.content.classList.add("widget-htmlmath-content"),this.el.appendChild(this.content),this.update()}update(){return this.content.innerHTML=this.model.get("value"),this.typeset(this.content),super.update()}handle_message(e){"focus"===e.do?this.content.focus():"blur"===e.do&&this.content.blur()}}class tr extends Ys{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"LabelView",_model_name:"LabelModel"})}}class ir extends Gs{render(){super.render(),this.el.classList.add("widget-label"),this.update()}update(){return this.typeset(this.el,this.model.get("value")),super.update()}}class nr extends Ys{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"TextareaView",_model_name:"TextareaModel",rows:null,continuous_update:!0})}}class sr extends Gs{render(){super.render(),this.el.classList.add("widget-textarea"),this.textbox=document.createElement("textarea"),this.textbox.setAttribute("rows","5"),this.textbox.id=this.label.htmlFor=(0,e.uuid)(),this.textbox.classList.add("widget-input"),this.el.appendChild(this.textbox),this.update(),this.listenTo(this.model,"change:placeholder",((e,t,i)=>{this.update_placeholder(t)})),this.update_placeholder(),this.updateTooltip()}update_placeholder(e){const t=e||this.model.get("placeholder");this.textbox.setAttribute("placeholder",t.toString())}update(e){if(void 0===e||e.updated_view!==this){this.textbox.value=this.model.get("value");let e=this.model.get("rows");null===e&&(e=""),this.textbox.setAttribute("rows",e),this.textbox.disabled=this.model.get("disabled")}return this.updateTabindex(),this.updateTooltip(),super.update()}updateTabindex(){if(!this.textbox)return;const e=this.model.get("tabbable");!0===e?this.textbox.setAttribute("tabIndex","0"):!1===e?this.textbox.setAttribute("tabIndex","-1"):null===e&&this.textbox.removeAttribute("tabIndex")}updateTooltip(){if(!this.textbox)return;const e=this.model.get("tooltip");e?0===this.model.get("description").length&&this.textbox.setAttribute("title",e):this.textbox.removeAttribute("title")}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","input textarea":"handleChanging","change textarea":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){e.stopPropagation()}handleChanging(e){this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){const t=e.target;this.model.set("value",t.value,{updated_view:this}),this.touch()}handle_message(e){"focus"===e.do?this.textbox.focus():"blur"===e.do&&this.textbox.blur()}}class rr extends Ys{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"TextView",_model_name:"TextModel",continuous_update:!0})}}class or extends Gs{constructor(){super(...arguments),this.inputType="text"}render(){super.render(),this.el.classList.add("widget-text"),this.textbox=document.createElement("input"),this.textbox.setAttribute("type",this.inputType),this.textbox.id=this.label.htmlFor=(0,e.uuid)(),this.textbox.classList.add("widget-input"),this.el.appendChild(this.textbox),this.update(),this.listenTo(this.model,"change:placeholder",((e,t,i)=>{this.update_placeholder(t)})),this.update_placeholder(),this.updateTabindex(),this.updateTooltip()}update_placeholder(e){this.textbox.setAttribute("placeholder",e||this.model.get("placeholder"))}updateTabindex(){if(!this.textbox)return;const e=this.model.get("tabbable");!0===e?this.textbox.setAttribute("tabIndex","0"):!1===e?this.textbox.setAttribute("tabIndex","-1"):null===e&&this.textbox.removeAttribute("tabIndex")}updateTooltip(){if(!this.textbox)return;const e=this.model.get("tooltip");e?0===this.model.get("description").length&&this.textbox.setAttribute("title",e):this.textbox.removeAttribute("title")}update(e){return void 0!==e&&e.updated_view===this||(this.textbox.value!==this.model.get("value")&&(this.textbox.value=this.model.get("value")),this.textbox.disabled=this.model.get("disabled")),super.update()}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","input input":"handleChanging","change input":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){e.stopPropagation(),13===e.keyCode&&this.send({event:"submit"})}handleChanging(e){this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){const t=e.target;this.model.set("value",t.value,{updated_view:this}),this.touch()}handle_message(e){"focus"===e.do?this.textbox.focus():"blur"===e.do&&this.textbox.blur()}}class ar extends rr{defaults(){return Object.assign(Object.assign({},super.defaults()),{_view_name:"PasswordView",_model_name:"PasswordModel"})}}class lr extends or{constructor(){super(...arguments),this.inputType="password"}}class dr extends rr{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ComboboxModel",_view_name:"ComboboxView",options:[],ensure_options:!1})}}class hr extends or{constructor(){super(...arguments),this.isInitialRender=!0}render(){this.datalist=document.createElement("datalist"),this.datalist.id=(0,e.uuid)(),super.render(),this.textbox.setAttribute("list",this.datalist.id),this.el.appendChild(this.datalist),this.updateTooltip()}update(e){if(super.update(e),!this.datalist)return;const t=this.isValid(this.model.get("value"));if(this.highlightValidState(t),void 0!==e&&e.updated_view||!this.model.hasChanged("options")&&!this.isInitialRender)return;this.isInitialRender=!1;const i=this.model.get("options"),n=document.createDocumentFragment();for(const e of i){const t=document.createElement("option");t.value=e,n.appendChild(t)}this.datalist.replaceChildren(...n.children)}isValid(e){return!0!==this.model.get("ensure_option")||-1!==this.model.get("options").indexOf(e)}handleChanging(e){const t=e.target,i=this.isValid(t.value);this.highlightValidState(i),i&&super.handleChanging(e)}handleChanged(e){const t=e.target,i=this.isValid(t.value);this.highlightValidState(i),i&&super.handleChanged(e)}handle_message(e){"focus"===e.do?this.textbox.focus():"blur"===e.do&&this.textbox.blur()}highlightValidState(e){this.textbox.classList.toggle("jpwidgets-invalidComboValue",!e)}}class ur extends p{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"FileUploadModel",_view_name:"FileUploadView",accept:"",description:"Upload",disabled:!1,icon:"upload",button_style:"",multiple:!1,value:[],error:"",style:null})}}ur.serializers=Object.assign(Object.assign({},p.serializers),{value:{serialize:e=>e}});class cr extends e.DOMWidgetView{preinitialize(){this.tagName="button"}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-upload"),this.el.classList.add("jupyter-button"),this.fileInput=document.createElement("input"),this.fileInput.type="file",this.fileInput.style.display="none",this.el.addEventListener("click",(()=>{this.fileInput.click()})),this.fileInput.addEventListener("click",(()=>{this.fileInput.value=""})),this.fileInput.addEventListener("change",(()=>{var e;const t=[];Array.from(null!==(e=this.fileInput.files)&&void 0!==e?e:[]).forEach((e=>{t.push(new Promise(((t,i)=>{const n=new FileReader;n.onload=()=>{const i=n.result;t({content:i,name:e.name,type:e.type,size:e.size,last_modified:e.lastModified})},n.onerror=()=>{i()},n.onabort=n.onerror,n.readAsArrayBuffer(e)})))})),Promise.all(t).then((e=>{this.model.set({value:e,error:""}),this.touch()})).catch((e=>{console.error("error in file upload: %o",e),this.model.set({error:e}),this.touch()}))})),this.listenTo(this.model,"change:button_style",this.update_button_style),this.set_button_style(),this.update()}update(){this.el.disabled=this.model.get("disabled"),this.el.setAttribute("title",this.model.get("tooltip"));const e=this.model.get("value"),t=`${this.model.get("description")} (${e.length})`,i=this.model.get("icon");if(t.length||i.length){if(this.el.textContent="",i.length){const e=document.createElement("i");e.classList.add("fa"),e.classList.add("fa-"+i),0===t.length&&e.classList.add("center"),this.el.appendChild(e)}this.el.appendChild(document.createTextNode(t))}return this.fileInput.accept=this.model.get("accept"),this.fileInput.multiple=this.model.get("multiple"),super.update()}update_button_style(){this.update_mapped_classes(cr.class_map,"button_style",this.el)}set_button_style(){this.set_mapped_classes(cr.class_map,"button_style",this.el)}}cr.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]};const pr=s(135).rE})(),a})())); |
| 7 |
//# sourceMappingURL=controls.js.map; |
| 8 |
|
| 9 |
/*! For license information please see base7.js.LICENSE.txt */ |
| 10 |
define("@jupyter-widgets/base7",["module"],(t=>(()=>{var e={8960:function(t,e){!function(t){"use strict";t.JSONExt=void 0,function(t){function e(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t}function n(t){return Array.isArray(t)}function i(t,r){if(t===r)return!0;if(e(t)||e(r))return!1;var o=n(t),s=n(r);return o===s&&(o&&s?function(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(var n=0,r=t.length;n<r;++n)if(!i(t[n],e[n]))return!1;return!0}(t,r):function(t,e){if(t===e)return!0;for(var n in t)if(void 0!==t[n]&&!(n in e))return!1;for(var n in e)if(void 0!==e[n]&&!(n in t))return!1;for(var n in t){var r=t[n],o=e[n];if(void 0!==r||void 0!==o){if(void 0===r||void 0===o)return!1;if(!i(r,o))return!1}}return!0}(t,r))}function r(t){return e(t)?t:n(t)?function(t){for(var e=new Array(t.length),n=0,i=t.length;n<i;++n)e[n]=r(t[n]);return e}(t):function(t){var e={};for(var n in t){var i=t[n];void 0!==i&&(e[n]=r(i))}return e}(t)}t.emptyObject=Object.freeze({}),t.emptyArray=Object.freeze([]),t.isPrimitive=e,t.isArray=n,t.isObject=function(t){return!e(t)&&!n(t)},t.deepEqual=i,t.deepCopy=r}(t.JSONExt||(t.JSONExt={}));var e,n=function(){function t(){this._types=[],this._values=[]}return t.prototype.types=function(){return this._types.slice()},t.prototype.hasData=function(t){return-1!==this._types.indexOf(t)},t.prototype.getData=function(t){var e=this._types.indexOf(t);return-1!==e?this._values[e]:void 0},t.prototype.setData=function(t,e){this.clearData(t),this._types.push(t),this._values.push(e)},t.prototype.clearData=function(t){var e=this._types.indexOf(t);-1!==e&&(this._types.splice(e,1),this._values.splice(e,1))},t.prototype.clear=function(){this._types.length=0,this._values.length=0},t}(),i=function(){function t(){var t=this;this.promise=new Promise((function(e,n){t._resolve=e,t._reject=n}))}return t.prototype.resolve=function(t){(0,this._resolve)(t)},t.prototype.reject=function(t){(0,this._reject)(t)},t}(),r=function(t){this.name=t,this._tokenStructuralPropertyT=null};t.Random=void 0,(t.Random||(t.Random={})).getRandomValues=(e="undefined"!=typeof window&&(window.crypto||window.msCrypto)||null)&&"function"==typeof e.getRandomValues?function(t){return e.getRandomValues(t)}:function(t){for(var e=0,n=0,i=t.length;n<i;++n)n%4==0&&(e=4294967295*Math.random()>>>0),t[n]=255&e,e>>>=8},t.UUID=void 0,(t.UUID||(t.UUID={})).uuid4=function(t){for(var e=new Uint8Array(16),n=new Array(256),i=0;i<16;++i)n[i]="0"+i.toString(16);for(i=16;i<256;++i)n[i]=i.toString(16);return function(){return t(e),e[6]=64|15&e[6],e[8]=128|63&e[8],n[e[0]]+n[e[1]]+n[e[2]]+n[e[3]]+"-"+n[e[4]]+n[e[5]]+"-"+n[e[6]]+n[e[7]]+"-"+n[e[8]]+n[e[9]]+"-"+n[e[10]]+n[e[11]]+n[e[12]]+n[e[13]]+n[e[14]]+n[e[15]]}}(t.Random.getRandomValues),t.MimeData=n,t.PromiseDelegate=i,t.Token=r,Object.defineProperty(t,"__esModule",{value:!0})}(e)},7646:(t,e,n)=>{var i,r,o;o="object"==typeof self&&self.self==self&&self||"object"==typeof n.g&&n.g.global==n.g&&n.g,i=[n(2562),n(4651),e],r=function(t,e,n){o.Backbone=function(t,e,n,i){var r=t.Backbone,o=Array.prototype.slice;e.VERSION="1.2.3",e.$=i,e.noConflict=function(){return t.Backbone=r,this},e.emulateHTTP=!1,e.emulateJSON=!1;var s=function(t,e,i){n.each(e,(function(e,r){n[r]&&(t.prototype[r]=function(t,e,i){switch(t){case 1:return function(){return n[e](this[i])};case 2:return function(t){return n[e](this[i],t)};case 3:return function(t,r){return n[e](this[i],a(t,this),r)};case 4:return function(t,r,o){return n[e](this[i],a(t,this),r,o)};default:return function(){var t=o.call(arguments);return t.unshift(this[i]),n[e].apply(n,t)}}}(e,r,i))}))},a=function(t,e){return n.isFunction(t)?t:n.isObject(t)&&!e._isModel(t)?c(t):n.isString(t)?function(e){return e.get(t)}:t},c=function(t){var e=n.matches(t);return function(t){return e(t.attributes)}},u=e.Events={},l=/\s+/,h=function(t,e,i,r,o){var s,a=0;if(i&&"object"==typeof i){void 0!==r&&"context"in o&&void 0===o.context&&(o.context=r);for(s=n.keys(i);a<s.length;a++)e=h(t,e,s[a],i[s[a]],o)}else if(i&&l.test(i))for(s=i.split(l);a<s.length;a++)e=t(e,s[a],r,o);else e=t(e,i,r,o);return e};u.on=function(t,e,n){return d(this,t,e,n)};var d=function(t,e,n,i,r){return t._events=h(p,t._events||{},e,n,{context:i,ctx:t,listening:r}),r&&((t._listeners||(t._listeners={}))[r.id]=r),t};u.listenTo=function(t,e,i){if(!t)return this;var r=t._listenId||(t._listenId=n.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),s=o[r];if(!s){var a=this._listenId||(this._listenId=n.uniqueId("l"));s=o[r]={obj:t,objId:r,id:a,listeningTo:o,count:0}}return d(t,e,i,this,s),this};var p=function(t,e,n,i){if(n){var r=t[e]||(t[e]=[]),o=i.context,s=i.ctx,a=i.listening;a&&a.count++,r.push({callback:n,context:o,ctx:o||s,listening:a})}return t};u.off=function(t,e,n){return this._events?(this._events=h(f,this._events,t,e,{context:n,listeners:this._listeners}),this):this},u.stopListening=function(t,e,i){var r=this._listeningTo;if(!r)return this;for(var o=t?[t._listenId]:n.keys(r),s=0;s<o.length;s++){var a=r[o[s]];if(!a)break;a.obj.off(e,i,this)}return n.isEmpty(r)&&(this._listeningTo=void 0),this};var f=function(t,e,i,r){if(t){var o,s=0,a=r.context,c=r.listeners;if(e||i||a){for(var u=e?[e]:n.keys(t);s<u.length;s++){var l=t[e=u[s]];if(!l)break;for(var h=[],d=0;d<l.length;d++){var p=l[d];i&&i!==p.callback&&i!==p.callback._callback||a&&a!==p.context?h.push(p):(o=p.listening)&&0==--o.count&&(delete c[o.id],delete o.listeningTo[o.objId])}h.length?t[e]=h:delete t[e]}return n.size(t)?t:void 0}for(var f=n.keys(c);s<f.length;s++)delete c[(o=c[f[s]]).id],delete o.listeningTo[o.objId]}};u.once=function(t,e,i){var r=h(m,{},t,e,n.bind(this.off,this));return this.on(r,void 0,i)},u.listenToOnce=function(t,e,i){var r=h(m,{},e,i,n.bind(this.stopListening,this,t));return this.listenTo(t,r)};var m=function(t,e,i,r){if(i){var o=t[e]=n.once((function(){r(e,o),i.apply(this,arguments)}));o._callback=i}return t};u.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),n=Array(e),i=0;i<e;i++)n[i]=arguments[i+1];return h(v,this._events,t,void 0,n),this};var v=function(t,e,n,i){if(t){var r=t[e],o=t.all;r&&o&&(o=o.slice()),r&&g(r,i),o&&g(o,[e].concat(i))}return t},g=function(t,e){var n,i=-1,r=t.length,o=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++i<r;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o);return;case 2:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,s);return;case 3:for(;++i<r;)(n=t[i]).callback.call(n.ctx,o,s,a);return;default:for(;++i<r;)(n=t[i]).callback.apply(n.ctx,e);return}};u.bind=u.on,u.unbind=u.off,n.extend(e,u);var y=e.Model=function(t,e){var i=t||{};e||(e={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{}),i=n.defaults({},i,n.result(this,"defaults")),this.set(i,e),this.changed={},this.initialize.apply(this,arguments)};n.extend(y.prototype,u,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(t){return n.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return n.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!n.iteratee(t,this)(this.attributes)},set:function(t,e,i){if(null==t)return this;var r;if("object"==typeof t?(r=t,i=e):(r={})[t]=e,i||(i={}),!this._validate(r,i))return!1;var o=i.unset,s=i.silent,a=[],c=this._changing;this._changing=!0,c||(this._previousAttributes=n.clone(this.attributes),this.changed={});var u=this.attributes,l=this.changed,h=this._previousAttributes;for(var d in r)e=r[d],n.isEqual(u[d],e)||a.push(d),n.isEqual(h[d],e)?delete l[d]:l[d]=e,o?delete u[d]:u[d]=e;if(this.id=this.get(this.idAttribute),!s){a.length&&(this._pending=i);for(var p=0;p<a.length;p++)this.trigger("change:"+a[p],this,u[a[p]],i)}if(c)return this;if(!s)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,n.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,n.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!n.isEmpty(this.changed):n.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&n.clone(this.changed);var e=this._changing?this._previousAttributes:this.attributes,i={};for(var r in t){var o=t[r];n.isEqual(e[r],o)||(i[r]=o)}return!!n.size(i)&&i},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(t){t=n.extend({parse:!0},t);var e=this,i=t.success;return t.success=function(n){var r=t.parse?e.parse(n,t):n;if(!e.set(r,t))return!1;i&&i.call(t.context,e,n,t),e.trigger("sync",e,n,t)},B(this,t),this.sync("read",this,t)},save:function(t,e,i){var r;null==t||"object"==typeof t?(r=t,i=e):(r={})[t]=e;var o=(i=n.extend({validate:!0,parse:!0},i)).wait;if(r&&!o){if(!this.set(r,i))return!1}else if(!this._validate(r,i))return!1;var s=this,a=i.success,c=this.attributes;i.success=function(t){s.attributes=c;var e=i.parse?s.parse(t,i):t;if(o&&(e=n.extend({},r,e)),e&&!s.set(e,i))return!1;a&&a.call(i.context,s,t,i),s.trigger("sync",s,t,i)},B(this,i),r&&o&&(this.attributes=n.extend({},c,r));var u=this.isNew()?"create":i.patch?"patch":"update";"patch"!==u||i.attrs||(i.attrs=r);var l=this.sync(u,this,i);return this.attributes=c,l},destroy:function(t){t=t?n.clone(t):{};var e=this,i=t.success,r=t.wait,o=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(n){r&&o(),i&&i.call(t.context,e,n,t),e.isNew()||e.trigger("sync",e,n,t)};var s=!1;return this.isNew()?n.defer(t.success):(B(this,t),s=this.sync("delete",this,t)),r||o(),s},url:function(){var t=n.result(this,"urlRoot")||n.result(this.collection,"url")||z();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},n.defaults({validate:!0},t))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=n.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;return!i||(this.trigger("invalid",this,i,n.extend(e,{validationError:i})),!1)}}),s(y,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var _=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,n.extend({silent:!0},e))},b={add:!0,remove:!0,merge:!0},x={add:!0,remove:!1},w=function(t,e,n){n=Math.min(Math.max(n,0),t.length);for(var i=Array(t.length-n),r=e.length,o=0;o<i.length;o++)i[o]=t[o+n];for(o=0;o<r;o++)t[o+n]=e[o];for(o=0;o<i.length;o++)t[o+r+n]=i[o]};n.extend(_.prototype,u,{model:y,initialize:function(){},toJSON:function(t){return this.map((function(e){return e.toJSON(t)}))},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,n.extend({merge:!1},e,x))},remove:function(t,e){e=n.extend({},e);var i=!n.isArray(t);t=i?[t]:n.clone(t);var r=this._removeModels(t,e);return!e.silent&&r&&this.trigger("update",this,e),i?r[0]:r},set:function(t,e){if(null!=t){(e=n.defaults({},e,b)).parse&&!this._isModel(t)&&(t=this.parse(t,e));var i=!n.isArray(t);t=i?[t]:t.slice();var r=e.at;null!=r&&(r=+r),r<0&&(r+=this.length+1);for(var o,s=[],a=[],c=[],u={},l=e.add,h=e.merge,d=e.remove,p=!1,f=this.comparator&&null==r&&!1!==e.sort,m=n.isString(this.comparator)?this.comparator:null,v=0;v<t.length;v++){o=t[v];var g=this.get(o);if(g){if(h&&o!==g){var y=this._isModel(o)?o.attributes:o;e.parse&&(y=g.parse(y,e)),g.set(y,e),f&&!p&&(p=g.hasChanged(m))}u[g.cid]||(u[g.cid]=!0,s.push(g)),t[v]=g}else l&&(o=t[v]=this._prepareModel(o,e))&&(a.push(o),this._addReference(o,e),u[o.cid]=!0,s.push(o))}if(d){for(v=0;v<this.length;v++)u[(o=this.models[v]).cid]||c.push(o);c.length&&this._removeModels(c,e)}var _=!1,x=!f&&l&&d;if(s.length&&x?(_=this.length!=s.length||n.some(this.models,(function(t,e){return t!==s[e]})),this.models.length=0,w(this.models,s,0),this.length=this.models.length):a.length&&(f&&(p=!0),w(this.models,a,null==r?this.length:r),this.length=this.models.length),p&&this.sort({silent:!0}),!e.silent){for(v=0;v<a.length;v++)null!=r&&(e.index=r+v),(o=a[v]).trigger("add",o,this,e);(p||_)&&this.trigger("sort",this,e),(a.length||c.length)&&this.trigger("update",this,e)}return i?t[0]:t}},reset:function(t,e){e=e?n.clone(e):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,n.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,n.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,n.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(null!=t){var e=this.modelId(this._isModel(t)?t.attributes:t);return this._byId[t]||this._byId[e]||this._byId[t.cid]}},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t||(t={});var i=e.length;return n.isFunction(e)&&(e=n.bind(e,this)),1===i||n.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return n.invoke(this.models,"get",t)},fetch:function(t){var e=(t=n.extend({parse:!0},t)).success,i=this;return t.success=function(n){var r=t.reset?"reset":"set";i[r](n,t),e&&e.call(t.context,i,n,t),i.trigger("sync",i,n,t)},B(this,t),this.sync("read",this,t)},create:function(t,e){var i=(e=e?n.clone(e):{}).wait;if(!(t=this._prepareModel(t,e)))return!1;i||this.add(t,e);var r=this,o=e.success;return e.success=function(t,e,n){i&&r.add(t,n),o&&o.call(n.context,t,e,n)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;(e=e?n.clone(e):{}).collection=this;var i=new this.model(t,e);return i.validationError?(this.trigger("invalid",this,i.validationError,e),!1):i},_removeModels:function(t,e){for(var n=[],i=0;i<t.length;i++){var r=this.get(t[i]);if(r){var o=this.indexOf(r);this.models.splice(o,1),this.length--,e.silent||(e.index=o,r.trigger("remove",r,this,e)),n.push(r),this._removeReference(r,e)}}return!!n.length&&n},_isModel:function(t){return t instanceof y},_addReference:function(t,e){this._byId[t.cid]=t;var n=this.modelId(t.attributes);null!=n&&(this._byId[n]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var n=this.modelId(t.attributes);null!=n&&delete this._byId[n],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,i){if("add"!==t&&"remove"!==t||n===this){if("destroy"===t&&this.remove(e,i),"change"===t){var r=this.modelId(e.previousAttributes()),o=this.modelId(e.attributes);r!==o&&(null!=r&&delete this._byId[r],null!=o&&(this._byId[o]=e))}this.trigger.apply(this,arguments)}}}),s(_,{forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3},"models");var M=e.View=function(t){this.cid=n.uniqueId("view"),n.extend(this,n.pick(t,E)),this._ensureElement(),this.initialize.apply(this,arguments)},C=/^(\S+)\s*(.*)$/,E=["model","collection","el","id","attributes","className","tagName","events"];n.extend(M.prototype,u,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=n.result(this,"events")),!t)return this;for(var e in this.undelegateEvents(),t){var i=t[e];if(n.isFunction(i)||(i=this[i]),i){var r=e.match(C);this.delegate(r[1],r[2],n.bind(i,this))}}return this},delegate:function(t,e,n){return this.$el.on(t+".delegateEvents"+this.cid,e,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,n){return this.$el.off(t+".delegateEvents"+this.cid,e,n),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var t=n.extend({},n.result(this,"attributes"));this.id&&(t.id=n.result(this,"id")),this.className&&(t.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}}),e.sync=function(t,i,r){var o=S[t];n.defaults(r||(r={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var s={type:o,dataType:"json"};if(r.url||(s.url=n.result(i,"url")||z()),null!=r.data||!i||"create"!==t&&"update"!==t&&"patch"!==t||(s.contentType="application/json",s.data=JSON.stringify(r.attrs||i.toJSON(r))),r.emulateJSON&&(s.contentType="application/x-www-form-urlencoded",s.data=s.data?{model:s.data}:{}),r.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){s.type="POST",r.emulateJSON&&(s.data._method=o);var a=r.beforeSend;r.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",o),a)return a.apply(this,arguments)}}"GET"===s.type||r.emulateJSON||(s.processData=!1);var c=r.error;r.error=function(t,e,n){r.textStatus=e,r.errorThrown=n,c&&c.call(r.context,t,e,n)};var u=r.xhr=e.ajax(n.extend(s,r));return i.trigger("request",i,u,r),u};var S={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var A=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,T=/(\(\?)?:\w+/g,O=/\*\w+/g,j=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(A.prototype,u,{initialize:function(){},route:function(t,i,r){n.isRegExp(t)||(t=this._routeToRegExp(t)),n.isFunction(i)&&(r=i,i=""),r||(r=this[i]);var o=this;return e.history.route(t,(function(n){var s=o._extractParameters(t,n);!1!==o.execute(r,s,i)&&(o.trigger.apply(o,["route:"+i].concat(s)),o.trigger("route",i,s),e.history.trigger("route",o,i,s))})),this},execute:function(t,e,n){t&&t.apply(this,e)},navigate:function(t,n){return e.history.navigate(t,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var t,e=n.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(j,"\\$&").replace(k,"(?:$1)?").replace(T,(function(t,e){return e?t:"([^/?]+)"})).replace(O,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return n.map(i,(function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null}))}});var I=e.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},P=/^[#\/]|\s+$/g,L=/^\/+|\/+$/g,D=/#.*$/;I.started=!1,n.extend(I.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(P,"")},start:function(t){if(I.started)throw new Error("Backbone.history has already been started");if(I.started=!0,this.options=n.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(L,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,r=i.insertBefore(this.iframe,i.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var o=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?o("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?o("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),n.some(this.handlers,(function(e){if(e.route.test(t))return e.callback(t),!0})))},navigate:function(t,e){if(!I.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var n=this.root;""!==t&&"?"!==t.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+t;if(t=this.decodeFragment(t.replace(D,"")),this.fragment!==t){if(this.fragment=t,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;e.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){var i=t.href.replace(/(javascript:|#).*$/,"");t.replace(i+"#"+e)}else t.hash="#"+e}}),e.history=new I;y.extend=_.extend=A.extend=M.extend=I.extend=function(t,e){var i,r=this;i=t&&n.has(t,"constructor")?t.constructor:function(){return r.apply(this,arguments)},n.extend(i,r,e);var o=function(){this.constructor=i};return o.prototype=r.prototype,i.prototype=new o,t&&n.extend(i.prototype,t),i.__super__=r.prototype,i};var z=function(){throw new Error('A "url" property or function must be specified')},B=function(t,e){var n=e.error;e.error=function(i){n&&n.call(e.context,t,i,e),t.trigger("error",t,i,e)}};return e}(o,n,t,e)}.apply(e,i),void 0===r||(t.exports=r)},7991:(t,e)=>{"use strict";e.bg=function(t){var e,n,o=function(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}(t),s=o[0],a=o[1],c=new r(function(t,e,n){return 3*(e+n)/4-n}(0,s,a)),u=0,l=a>0?s-4:s;for(n=0;n<l;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c},e.iI=function(t){for(var e,i=t.length,r=i%3,o=[],s=16383,c=0,u=i-r;c<u;c+=s)o.push(a(t,c,c+s>u?u:c+s));return 1===r?(e=t[i-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[i-2]<<8)+t[i-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=o[s],i[o.charCodeAt(s)]=s;function a(t,e,i){for(var r,o,s=[],a=e;a<i;a+=3)r=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),s.push(n[(o=r)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},4651:function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(i,r){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,c=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},u=o.push,l=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,f=p.toString,m=f.call(Object),v={},g=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},_=i.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function x(t,e,n){var i,r,o=(n=n||_).createElement("script");if(o.text=t,e)for(i in b)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[d.call(t)]||"object":typeof t}var M="3.7.1",C=/HTML$/i,E=function(t,e){return new E.fn.init(t,e)};function S(t){var e=!!t&&"length"in t&&t.length,n=w(t);return!g(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}E.fn=E.prototype={jquery:M,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:o.sort,splice:o.splice},E.extend=E.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||g(s)||(s={}),a===c&&(s=this,a--);a<c;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(u&&i&&(E.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[e],o=r&&!Array.isArray(n)?[]:r||E.isPlainObject(n)?n:{},r=!1,s[e]=E.extend(u,o,i)):void 0!==i&&(s[e]=i));return s},E.extend({expando:"jQuery"+(M+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==d.call(t)||(e=s(t))&&("function"!=typeof(n=p.call(e,"constructor")&&e.constructor)||f.call(n)!==m))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){x(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(S(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},text:function(t){var e,n="",i=0,r=t.nodeType;if(!r)for(;e=t[i++];)n+=E.text(e);return 1===r||11===r?t.textContent:9===r?t.documentElement.textContent:3===r||4===r?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(S(Object(t))?E.merge(n,"string"==typeof t?[t]:t):u.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:l.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!C.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,s=!n;r<o;r++)!e(t[r],r)!==s&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,s=[];if(S(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&s.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&s.push(r);return c(s)},guid:1,support:v}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=o[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){h["[object "+e+"]"]=e.toLowerCase()}));var k=o.pop,T=o.sort,O=o.splice,j="[\\x20\\t\\r\\n\\f]",I=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g");E.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var P=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function L(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}E.escapeSelector=function(t){return(t+"").replace(P,L)};var D=_,z=u;!function(){var t,e,n,r,s,c,u,h,d,f,m=z,g=E.expando,y=0,_=0,b=tt(),x=tt(),w=tt(),M=tt(),C=function(t,e){return t===e&&(s=!0),0},S="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",L="\\["+j+"*("+P+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+j+"*\\]",B=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",N=new RegExp(j+"+","g"),R=new RegExp("^"+j+"*,"+j+"*"),H=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),W=new RegExp(j+"|>"),F=new RegExp(B),q=new RegExp("^"+P+"$"),U={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),J=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},G=function(){ct()},Q=dt((function(t){return!0===t.disabled&&A(t,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(o=a.call(D.childNodes),D.childNodes),o[D.childNodes.length].nodeType}catch(t){m={apply:function(t,e){z.apply(t,a.call(e))},call:function(t){z.apply(t,a.call(arguments,1))}}}function Z(t,e,n,i){var r,o,s,a,u,l,p,f=e&&e.ownerDocument,y=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==y&&9!==y&&11!==y)return n;if(!i&&(ct(e),e=e||c,h)){if(11!==y&&(u=$.exec(t)))if(r=u[1]){if(9===y){if(!(s=e.getElementById(r)))return n;if(s.id===r)return m.call(n,s),n}else if(f&&(s=f.getElementById(r))&&Z.contains(e,s)&&s.id===r)return m.call(n,s),n}else{if(u[2])return m.apply(n,e.getElementsByTagName(t)),n;if((r=u[3])&&e.getElementsByClassName)return m.apply(n,e.getElementsByClassName(r)),n}if(!(M[t+" "]||d&&d.test(t))){if(p=t,f=e,1===y&&(W.test(t)||H.test(t))){for((f=X.test(t)&&at(e.parentNode)||e)==e&&v.scope||((a=e.getAttribute("id"))?a=E.escapeSelector(a):e.setAttribute("id",a=g)),o=(l=lt(t)).length;o--;)l[o]=(a?"#"+a:":scope")+" "+ht(l[o]);p=l.join(",")}try{return m.apply(n,f.querySelectorAll(p)),n}catch(e){M(t,!0)}finally{a===g&&e.removeAttribute("id")}}}return yt(t.replace(I,"$1"),e,n,i)}function tt(){var t=[];return function n(i,r){return t.push(i+" ")>e.cacheLength&&delete n[t.shift()],n[i+" "]=r}}function et(t){return t[g]=!0,t}function nt(t){var e=c.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function it(t){return function(e){return A(e,"input")&&e.type===t}}function rt(t){return function(e){return(A(e,"input")||A(e,"button"))&&e.type===t}}function ot(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Q(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function st(t){return et((function(e){return e=+e,et((function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function ct(t){var n,i=t?t.ownerDocument||t:D;return i!=c&&9===i.nodeType&&i.documentElement?(u=(c=i).documentElement,h=!E.isXMLDoc(c),f=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&D!=c&&(n=c.defaultView)&&n.top!==n&&n.addEventListener("unload",G),v.getById=nt((function(t){return u.appendChild(t).id=E.expando,!c.getElementsByName||!c.getElementsByName(E.expando).length})),v.disconnectedMatch=nt((function(t){return f.call(t,"*")})),v.scope=nt((function(){return c.querySelectorAll(":scope")})),v.cssHas=nt((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),v.getById?(e.filter.ID=function(t){var e=t.replace(Y,J);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&h){var n=e.getElementById(t);return n?[n]:[]}}):(e.filter.ID=function(t){var e=t.replace(Y,J);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&h){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&h)return e.getElementsByClassName(t)},d=[],nt((function(t){var e;u.appendChild(t).innerHTML="<a id='"+g+"' href='' disabled='disabled'></a><select id='"+g+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||d.push("\\["+j+"*(?:value|"+S+")"),t.querySelectorAll("[id~="+g+"-]").length||d.push("~="),t.querySelectorAll("a#"+g+"+*").length||d.push(".#.+[+~]"),t.querySelectorAll(":checked").length||d.push(":checked"),(e=c.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),u.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(e=c.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||d.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")")})),v.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),C=function(t,e){if(t===e)return s=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!v.sortDetached&&e.compareDocumentPosition(t)===n?t===c||t.ownerDocument==D&&Z.contains(D,t)?-1:e===c||e.ownerDocument==D&&Z.contains(D,e)?1:r?l.call(r,t)-l.call(r,e):0:4&n?-1:1)},c):c}for(t in Z.matches=function(t,e){return Z(t,null,null,e)},Z.matchesSelector=function(t,e){if(ct(t),h&&!M[e+" "]&&(!d||!d.test(e)))try{var n=f.call(t,e);if(n||v.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){M(e,!0)}return Z(e,c,null,[t]).length>0},Z.contains=function(t,e){return(t.ownerDocument||t)!=c&&ct(t),E.contains(t,e)},Z.attr=function(t,n){(t.ownerDocument||t)!=c&&ct(t);var i=e.attrHandle[n.toLowerCase()],r=i&&p.call(e.attrHandle,n.toLowerCase())?i(t,n,!h):void 0;return void 0!==r?r:t.getAttribute(n)},Z.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},E.uniqueSort=function(t){var e,n=[],i=0,o=0;if(s=!v.sortStable,r=!v.sortStable&&a.call(t,0),T.call(t,C),s){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)O.call(t,n[i],1)}return r=null,t},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(a.apply(this)))},e=E.expr={cacheLength:50,createPseudo:et,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Y,J),t[3]=(t[3]||t[4]||t[5]||"").replace(Y,J),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||Z.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&Z.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&F.test(n)&&(e=lt(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Y,J).toLowerCase();return"*"===t?function(){return!0}:function(t){return A(t,e)}},CLASS:function(t){var e=b[t+" "];return e||(e=new RegExp("(^|"+j+")"+t+"("+j+"|$)"))&&b(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var r=Z.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(N," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,c){var u,l,h,d,p,f=o!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),_=!c&&!a,b=!1;if(m){if(o){for(;f;){for(h=e;h=h[f];)if(a?A(h,v):1===h.nodeType)return!1;p=f="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&_){for(b=(d=(u=(l=m[g]||(m[g]={}))[t]||[])[0]===y&&u[1])&&u[2],h=d&&m.childNodes[d];h=++d&&h&&h[f]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){l[t]=[y,d,b];break}}else if(_&&(b=d=(u=(l=e[g]||(e[g]={}))[t]||[])[0]===y&&u[1]),!1===b)for(;(h=++d&&h&&h[f]||(b=d=0)||p.pop())&&(!(a?A(h,v):1===h.nodeType)||!++b||(_&&((l=h[g]||(h[g]={}))[t]=[y,b]),h!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,n){var i,r=e.pseudos[t]||e.setFilters[t.toLowerCase()]||Z.error("unsupported pseudo: "+t);return r[g]?r(n):r.length>1?(i=[t,t,"",n],e.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,e){for(var i,o=r(t,n),s=o.length;s--;)t[i=l.call(t,o[s])]=!(e[i]=o[s])})):function(t){return r(t,0,i)}):r}},pseudos:{not:et((function(t){var e=[],n=[],i=gt(t.replace(I,"$1"));return i[g]?et((function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))})):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}})),has:et((function(t){return function(e){return Z(t,e).length>0}})),contains:et((function(t){return t=t.replace(Y,J),function(e){return(e.textContent||E.text(e)).indexOf(t)>-1}})),lang:et((function(t){return q.test(t||"")||Z.error("unsupported lang: "+t),t=t.replace(Y,J).toLowerCase(),function(e){var n;do{if(n=h?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===u},focus:function(t){return t===function(){try{return c.activeElement}catch(t){}}()&&c.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ot(!1),disabled:ot(!0),checked:function(t){return A(t,"input")&&!!t.checked||A(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!e.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return V.test(t.nodeName)},button:function(t){return A(t,"input")&&"button"===t.type||A(t,"button")},text:function(t){var e;return A(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:st((function(){return[0]})),last:st((function(t,e){return[e-1]})),eq:st((function(t,e,n){return[n<0?n+e:n]})),even:st((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:st((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:st((function(t,e,n){var i;for(i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t})),gt:st((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}},e.pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=it(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=rt(t);function ut(){}function lt(t,n){var i,r,o,s,a,c,u,l=x[t+" "];if(l)return n?0:l.slice(0);for(a=t,c=[],u=e.preFilter;a;){for(s in i&&!(r=R.exec(a))||(r&&(a=a.slice(r[0].length)||a),c.push(o=[])),i=!1,(r=H.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(I," ")}),a=a.slice(i.length)),e.filter)!(r=U[s].exec(a))||u[s]&&!(r=u[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?Z.error(t):x(t,c).slice(0)}function ht(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function dt(t,e,n){var i=e.dir,r=e.next,o=r||i,s=n&&"parentNode"===o,a=_++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,r);return!1}:function(e,n,c){var u,l,h=[y,a];if(c){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,c))return!0}else for(;e=e[i];)if(1===e.nodeType||s)if(l=e[g]||(e[g]={}),r&&A(e,r))e=e[i]||e;else{if((u=l[o])&&u[0]===y&&u[1]===a)return h[2]=u[2];if(l[o]=h,h[2]=t(e,n,c))return!0}return!1}}function pt(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function ft(t,e,n,i,r){for(var o,s=[],a=0,c=t.length,u=null!=e;a<c;a++)(o=t[a])&&(n&&!n(o,i,r)||(s.push(o),u&&e.push(a)));return s}function mt(t,e,n,i,r,o){return i&&!i[g]&&(i=mt(i)),r&&!r[g]&&(r=mt(r,o)),et((function(o,s,a,c){var u,h,d,p,f=[],v=[],g=s.length,y=o||function(t,e,n){for(var i=0,r=e.length;i<r;i++)Z(t,e[i],n);return n}(e||"*",a.nodeType?[a]:a,[]),_=!t||!o&&e?y:ft(y,f,t,a,c);if(n?n(_,p=r||(o?t:g||i)?[]:s,a,c):p=_,i)for(u=ft(p,v),i(u,[],a,c),h=u.length;h--;)(d=u[h])&&(p[v[h]]=!(_[v[h]]=d));if(o){if(r||t){if(r){for(u=[],h=p.length;h--;)(d=p[h])&&u.push(_[h]=d);r(null,p=[],u,c)}for(h=p.length;h--;)(d=p[h])&&(u=r?l.call(o,d):f[h])>-1&&(o[u]=!(s[u]=d))}}else p=ft(p===s?p.splice(g,p.length):p),r?r(null,s,p,c):m.apply(s,p)}))}function vt(t){for(var i,r,o,s=t.length,a=e.relative[t[0].type],c=a||e.relative[" "],u=a?1:0,h=dt((function(t){return t===i}),c,!0),d=dt((function(t){return l.call(i,t)>-1}),c,!0),p=[function(t,e,r){var o=!a&&(r||e!=n)||((i=e).nodeType?h(t,e,r):d(t,e,r));return i=null,o}];u<s;u++)if(r=e.relative[t[u].type])p=[dt(pt(p),r)];else{if((r=e.filter[t[u].type].apply(null,t[u].matches))[g]){for(o=++u;o<s&&!e.relative[t[o].type];o++);return mt(u>1&&pt(p),u>1&&ht(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(I,"$1"),r,u<o&&vt(t.slice(u,o)),o<s&&vt(t=t.slice(o)),o<s&&ht(t))}p.push(r)}return pt(p)}function gt(t,i){var r,o=[],s=[],a=w[t+" "];if(!a){for(i||(i=lt(t)),r=i.length;r--;)(a=vt(i[r]))[g]?o.push(a):s.push(a);a=w(t,function(t,i){var r=i.length>0,o=t.length>0,s=function(s,a,u,l,d){var p,f,v,g=0,_="0",b=s&&[],x=[],w=n,M=s||o&&e.find.TAG("*",d),C=y+=null==w?1:Math.random()||.1,S=M.length;for(d&&(n=a==c||a||d);_!==S&&null!=(p=M[_]);_++){if(o&&p){for(f=0,a||p.ownerDocument==c||(ct(p),u=!h);v=t[f++];)if(v(p,a||c,u)){m.call(l,p);break}d&&(y=C)}r&&((p=!v&&p)&&g--,s&&b.push(p))}if(g+=_,r&&_!==g){for(f=0;v=i[f++];)v(b,x,a,u);if(s){if(g>0)for(;_--;)b[_]||x[_]||(x[_]=k.call(l));x=ft(x)}m.apply(l,x),d&&!s&&x.length>0&&g+i.length>1&&E.uniqueSort(l)}return d&&(y=C,n=w),b};return r?et(s):s}(s,o)),a.selector=t}return a}function yt(t,n,i,r){var o,s,a,c,u,l="function"==typeof t&&t,d=!r&<(t=l.selector||t);if(i=i||[],1===d.length){if((s=d[0]=d[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===n.nodeType&&h&&e.relative[s[1].type]){if(!(n=(e.find.ID(a.matches[0].replace(Y,J),n)||[])[0]))return i;l&&(n=n.parentNode),t=t.slice(s.shift().value.length)}for(o=U.needsContext.test(t)?0:s.length;o--&&(a=s[o],!e.relative[c=a.type]);)if((u=e.find[c])&&(r=u(a.matches[0].replace(Y,J),X.test(s[0].type)&&at(n.parentNode)||n))){if(s.splice(o,1),!(t=r.length&&ht(s)))return m.apply(i,r),i;break}}return(l||gt(t,d))(r,n,!h,i,!n||X.test(t)&&at(n.parentNode)||n),i}ut.prototype=e.filters=e.pseudos,e.setFilters=new ut,v.sortStable=g.split("").sort(C).join("")===g,ct(),v.sortDetached=nt((function(t){return 1&t.compareDocumentPosition(c.createElement("fieldset"))})),E.find=Z,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,Z.compile=gt,Z.select=yt,Z.setDocument=ct,Z.tokenize=lt,Z.escape=E.escapeSelector,Z.getText=E.text,Z.isXML=E.isXMLDoc,Z.selectors=E.expr,Z.support=E.support,Z.uniqueSort=E.uniqueSort}();var B=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&E(t).is(n))break;i.push(t)}return i},N=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},R=E.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function W(t,e,n){return g(e)?E.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?E.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?E.grep(t,(function(t){return l.call(e,t)>-1!==n})):E.filter(e,t,n)}E.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?E.find.matchesSelector(i,t)?[i]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e<i;e++)if(E.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<i;e++)E.find(t,r[e],n);return i>1?E.uniqueSort(n):n},filter:function(t){return this.pushStack(W(this,t||[],!1))},not:function(t){return this.pushStack(W(this,t||[],!0))},is:function(t){return!!W(this,"string"==typeof t&&R.test(t)?E(t):t||[],!1).length}});var F,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||F,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:q.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:_,!0)),H.test(i[1])&&E.isPlainObject(e))for(i in e)g(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=_.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):g(t)?void 0!==n.ready?n.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,F=E(_);var U=/^(?:parents|prev(?:Until|All))/,V={children:!0,contents:!0,next:!0,prev:!0};function K(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(E.contains(this,e[t]))return!0}))},closest:function(t,e){var n,i=0,r=this.length,o=[],s="string"!=typeof t&&E(t);if(!R.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?l.call(E(t),this[0]):l.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return B(t,"parentNode")},parentsUntil:function(t,e,n){return B(t,"parentNode",n)},next:function(t){return K(t,"nextSibling")},prev:function(t){return K(t,"previousSibling")},nextAll:function(t){return B(t,"nextSibling")},prevAll:function(t){return B(t,"previousSibling")},nextUntil:function(t,e,n){return B(t,"nextSibling",n)},prevUntil:function(t,e,n){return B(t,"previousSibling",n)},siblings:function(t){return N((t.parentNode||{}).firstChild,t)},children:function(t){return N(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(A(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(n,i){var r=E.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=E.filter(i,r)),this.length>1&&(V[t]||E.uniqueSort(r),U.test(t)&&r.reverse()),this.pushStack(r)}}));var $=/[^\x20\t\r\n\f]+/g;function X(t){return t}function Y(t){throw t}function J(t,e,n,i){var r;try{t&&g(r=t.promise)?r.call(t).done(e).fail(n):t&&g(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match($)||[],(function(t,n){e[n]=!0})),e}(t):E.extend({},t);var e,n,i,r,o=[],s=[],a=-1,c=function(){for(r=r||t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function e(n){E.each(n,(function(n,i){g(i)?t.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==w(i)&&e(i)}))}(arguments),n&&!e&&c()),this},remove:function(){return E.each(arguments,(function(t,e){for(var n;(n=E.inArray(e,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(t){return t?E.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(n){E.each(e,(function(e,i){var r=g(t[i[4]])&&t[i[4]];o[i[1]]((function(){var t=r&&r.apply(this,arguments);t&&g(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,r){var o=0;function s(t,e,n,r){return function(){var a=this,c=arguments,u=function(){var i,u;if(!(t<o)){if((i=n.apply(a,c))===e.promise())throw new TypeError("Thenable self-resolution");u=i&&("object"==typeof i||"function"==typeof i)&&i.then,g(u)?r?u.call(i,s(o,e,X,r),s(o,e,Y,r)):(o++,u.call(i,s(o,e,X,r),s(o,e,Y,r),s(o,e,X,e.notifyWith))):(n!==X&&(a=void 0,c=[i]),(r||e.resolveWith)(a,c))}},l=r?u:function(){try{u()}catch(i){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(i,l.error),t+1>=o&&(n!==Y&&(a=void 0,c=[i]),e.rejectWith(a,c))}};t?l():(E.Deferred.getErrorHook?l.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(l.error=E.Deferred.getStackHook()),i.setTimeout(l))}}return E.Deferred((function(i){e[0][3].add(s(0,i,g(r)?r:X,i.notifyWith)),e[1][3].add(s(0,i,g(t)?t:X)),e[2][3].add(s(0,i,g(n)?n:Y))})).promise()},promise:function(t){return null!=t?E.extend(t,r):r}},o={};return E.each(e,(function(t,i){var s=i[2],a=i[5];r[i[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),o[i[0]]=function(){return o[i[0]+"With"](this===o?void 0:this,arguments),this},o[i[0]+"With"]=s.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=a.call(arguments),o=E.Deferred(),s=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?a.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(J(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||g(r[n]&&r[n].then)))return o.then();for(;n--;)J(r[n],s(n),o.reject);return o.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&G.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){i.setTimeout((function(){throw t}))};var Q=E.Deferred();function Z(){_.removeEventListener("DOMContentLoaded",Z),i.removeEventListener("load",Z),E.ready()}E.fn.ready=function(t){return Q.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||Q.resolveWith(_,[E]))}}),E.ready.then=Q.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?i.setTimeout(E.ready):(_.addEventListener("DOMContentLoaded",Z),i.addEventListener("load",Z));var tt=function(t,e,n,i,r,o,s){var a=0,c=t.length,u=null==n;if("object"===w(n))for(a in r=!0,n)tt(t,e,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,g(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(E(t),n)})),e))for(;a<c;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:u?e.call(t):c?e(t[0],n):o},et=/^-ms-/,nt=/-([a-z])/g;function it(t,e){return e.toUpperCase()}function rt(t){return t.replace(et,"ms-").replace(nt,it)}var ot=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function st(){this.expando=E.expando+st.uid++}st.uid=1,st.prototype={cache:function(t){var e=t[this.expando];return e||(e={},ot(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[rt(e)]=n;else for(i in e)r[rt(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][rt(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(rt):(e=rt(e))in i?[e]:e.match($)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||E.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!E.isEmptyObject(e)}};var at=new st,ct=new st,ut=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,lt=/[A-Z]/g;function ht(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(lt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ut.test(t)?JSON.parse(t):t)}(n)}catch(t){}ct.set(t,e,n)}else n=void 0;return n}E.extend({hasData:function(t){return ct.hasData(t)||at.hasData(t)},data:function(t,e,n){return ct.access(t,e,n)},removeData:function(t,e){ct.remove(t,e)},_data:function(t,e,n){return at.access(t,e,n)},_removeData:function(t,e){at.remove(t,e)}}),E.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=ct.get(o),1===o.nodeType&&!at.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=rt(i.slice(5)),ht(o,i,r[i]));at.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each((function(){ct.set(this,t)})):tt(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=ct.get(o,t))||void 0!==(n=ht(o,t))?n:void 0;this.each((function(){ct.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){ct.remove(this,t)}))}}),E.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=at.get(t,e),n&&(!i||Array.isArray(n)?i=at.access(t,e,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=E.queue(t,e),i=n.length,r=n.shift(),o=E._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,(function(){E.dequeue(t,e)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return at.get(t,n)||at.access(t,n,{empty:E.Callbacks("once memory").add((function(){at.remove(t,[e+"queue",n])}))})}}),E.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?E.queue(this[0],t):void 0===e?this:this.each((function(){var n=E.queue(this,t,e);E._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&E.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){E.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=E.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=at.get(o[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var dt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pt=new RegExp("^(?:([+-])=|)("+dt+")([a-z%]*)$","i"),ft=["Top","Right","Bottom","Left"],mt=_.documentElement,vt=function(t){return E.contains(t.ownerDocument,t)},gt={composed:!0};mt.getRootNode&&(vt=function(t){return E.contains(t.ownerDocument,t)||t.getRootNode(gt)===t.ownerDocument});var yt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&vt(t)&&"none"===E.css(t,"display")};function _t(t,e,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return E.css(t,e,"")},c=a(),u=n&&n[3]||(E.cssNumber[e]?"":"px"),l=t.nodeType&&(E.cssNumber[e]||"px"!==u&&+c)&&pt.exec(E.css(t,e));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;s--;)E.style(t,e,l+u),(1-o)*(1-(o=a()/c||.5))<=0&&(s=0),l/=o;l*=2,E.style(t,e,l+u),n=n||[]}return n&&(l=+l||+c||0,r=n[1]?l+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=l,i.end=r)),r}var bt={};function xt(t){var e,n=t.ownerDocument,i=t.nodeName,r=bt[i];return r||(e=n.body.appendChild(n.createElement(i)),r=E.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),bt[i]=r,r)}function wt(t,e){for(var n,i,r=[],o=0,s=t.length;o<s;o++)(i=t[o]).style&&(n=i.style.display,e?("none"===n&&(r[o]=at.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&yt(i)&&(r[o]=xt(i))):"none"!==n&&(r[o]="none",at.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}E.fn.extend({show:function(){return wt(this,!0)},hide:function(){return wt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){yt(this)?E(this).show():E(this).hide()}))}});var Mt,Ct,Et=/^(?:checkbox|radio)$/i,St=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,At=/^$|^module$|\/(?:java|ecma)script/i;Mt=_.createDocumentFragment().appendChild(_.createElement("div")),(Ct=_.createElement("input")).setAttribute("type","radio"),Ct.setAttribute("checked","checked"),Ct.setAttribute("name","t"),Mt.appendChild(Ct),v.checkClone=Mt.cloneNode(!0).cloneNode(!0).lastChild.checked,Mt.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Mt.cloneNode(!0).lastChild.defaultValue,Mt.innerHTML="<option></option>",v.option=!!Mt.lastChild;var kt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Tt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&A(t,e)?E.merge([t],n):n}function Ot(t,e){for(var n=0,i=t.length;n<i;n++)at.set(t[n],"globalEval",!e||at.get(e[n],"globalEval"))}kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td,v.option||(kt.optgroup=kt.option=[1,"<select multiple='multiple'>","</select>"]);var jt=/<|&#?\w+;/;function It(t,e,n,i,r){for(var o,s,a,c,u,l,h=e.createDocumentFragment(),d=[],p=0,f=t.length;p<f;p++)if((o=t[p])||0===o)if("object"===w(o))E.merge(d,o.nodeType?[o]:o);else if(jt.test(o)){for(s=s||h.appendChild(e.createElement("div")),a=(St.exec(o)||["",""])[1].toLowerCase(),c=kt[a]||kt._default,s.innerHTML=c[1]+E.htmlPrefilter(o)+c[2],l=c[0];l--;)s=s.lastChild;E.merge(d,s.childNodes),(s=h.firstChild).textContent=""}else d.push(e.createTextNode(o));for(h.textContent="",p=0;o=d[p++];)if(i&&E.inArray(o,i)>-1)r&&r.push(o);else if(u=vt(o),s=Tt(h.appendChild(o),"script"),u&&Ot(s),n)for(l=0;o=s[l++];)At.test(o.type||"")&&n.push(o);return h}var Pt=/^([^.]*)(?:\.(.+)|)/;function Lt(){return!0}function Dt(){return!1}function zt(t,e,n,i,r,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)zt(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Dt;else if(!r)return t;return 1===o&&(s=r,r=function(t){return E().off(t),s.apply(this,arguments)},r.guid=s.guid||(s.guid=E.guid++)),t.each((function(){E.event.add(this,e,r,i,n)}))}function Bt(t,e,n){n?(at.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var n,i=at.get(this,e);if(1&t.isTrigger&&this[e]){if(i)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=a.call(arguments),at.set(this,e,i),this[e](),n=at.get(this,e),at.set(this,e,!1),i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else i&&(at.set(this,e,E.event.trigger(i[0],i.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Lt)}})):void 0===at.get(t,e)&&E.event.add(t,e,Lt)}E.event={global:{},add:function(t,e,n,i,r){var o,s,a,c,u,l,h,d,p,f,m,v=at.get(t);if(ot(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&E.find.matchesSelector(mt,r),n.guid||(n.guid=E.guid++),(c=v.events)||(c=v.events=Object.create(null)),(s=v.handle)||(s=v.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match($)||[""]).length;u--;)p=m=(a=Pt.exec(e[u])||[])[1],f=(a[2]||"").split(".").sort(),p&&(h=E.event.special[p]||{},p=(r?h.delegateType:h.bindType)||p,h=E.event.special[p]||{},l=E.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:f.join(".")},o),(d=c[p])||((d=c[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,i,f,s)||t.addEventListener&&t.addEventListener(p,s)),h.add&&(h.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,l):d.push(l),E.event.global[p]=!0)},remove:function(t,e,n,i,r){var o,s,a,c,u,l,h,d,p,f,m,v=at.hasData(t)&&at.get(t);if(v&&(c=v.events)){for(u=(e=(e||"").match($)||[""]).length;u--;)if(p=m=(a=Pt.exec(e[u])||[])[1],f=(a[2]||"").split(".").sort(),p){for(h=E.event.special[p]||{},d=c[p=(i?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)l=d[o],!r&&m!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||i&&i!==l.selector&&("**"!==i||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,h.remove&&h.remove.call(t,l));s&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,f,v.handle)||E.removeEvent(t,p,v.handle),delete c[p])}else for(p in c)E.event.remove(t,p+e[u],n,i,!0);E.isEmptyObject(c)&&at.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,s,a=new Array(arguments.length),c=E.event.fix(t),u=(at.get(this,"events")||Object.create(null))[c.type]||[],l=E.event.special[c.type]||{};for(a[0]=c,e=1;e<arguments.length;e++)a[e]=arguments[e];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(s=E.event.handlers.call(this,c,u),e=0;(r=s[e++])&&!c.isPropagationStopped();)for(c.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(i=((E.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(c.result=i)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(t,e){var n,i,r,o,s,a=[],c=e.delegateCount,u=t.target;if(c&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],s={},n=0;n<c;n++)void 0===s[r=(i=e[n]).selector+" "]&&(s[r]=i.needsContext?E(r,this).index(u)>-1:E.find(r,this,null,[u]).length),s[r]&&o.push(i);o.length&&a.push({elem:u,handlers:o})}return u=this,c<e.length&&a.push({elem:u,handlers:e.slice(c)}),a},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:g(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[E.expando]?t:new E.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Et.test(e.type)&&e.click&&A(e,"input")&&Bt(e,"click",!0),!1},trigger:function(t){var e=this||t;return Et.test(e.type)&&e.click&&A(e,"input")&&Bt(e,"click"),!0},_default:function(t){var e=t.target;return Et.test(e.type)&&e.click&&A(e,"input")&&at.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},E.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},E.Event=function(t,e){if(!(this instanceof E.Event))return new E.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Lt:Dt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&E.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Dt,isPropagationStopped:Dt,isImmediatePropagationStopped:Dt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Lt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Lt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Lt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(t,e){function n(t){if(_.documentMode){var n=at.get(this,"handle"),i=E.event.fix(t);i.type="focusin"===t.type?"focus":"blur",i.isSimulated=!0,n(t),i.target===i.currentTarget&&n(i)}else E.event.simulate(e,t.target,E.event.fix(t))}E.event.special[t]={setup:function(){var i;if(Bt(this,t,!0),!_.documentMode)return!1;(i=at.get(this,e))||this.addEventListener(e,n),at.set(this,e,(i||0)+1)},trigger:function(){return Bt(this,t),!0},teardown:function(){var t;if(!_.documentMode)return!1;(t=at.get(this,e)-1)?at.set(this,e,t):(this.removeEventListener(e,n),at.remove(this,e))},_default:function(e){return at.get(e.target,t)},delegateType:e},E.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=_.documentMode?this:i,o=at.get(r,e);o||(_.documentMode?this.addEventListener(e,n):i.addEventListener(t,n,!0)),at.set(r,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=_.documentMode?this:i,o=at.get(r,e)-1;o?at.set(r,e,o):(_.documentMode?this.removeEventListener(e,n):i.removeEventListener(t,n,!0),at.remove(r,e))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){E.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||E.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}})),E.fn.extend({on:function(t,e,n,i){return zt(this,t,e,n,i)},one:function(t,e,n,i){return zt(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,E(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Dt),this.each((function(){E.event.remove(this,t,n,e)}))}});var Nt=/<script|<style|<link/i,Rt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ht=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Wt(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Ft(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function qt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ut(t,e){var n,i,r,o,s,a;if(1===e.nodeType){if(at.hasData(t)&&(a=at.get(t).events))for(r in at.remove(e,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)E.event.add(e,r,a[r][n]);ct.hasData(t)&&(o=ct.access(t),s=E.extend({},o),ct.set(e,s))}}function Vt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Et.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Kt(t,e,n,i){e=c(e);var r,o,s,a,u,l,h=0,d=t.length,p=d-1,f=e[0],m=g(f);if(m||d>1&&"string"==typeof f&&!v.checkClone&&Rt.test(f))return t.each((function(r){var o=t.eq(r);m&&(e[0]=f.call(this,r,o.html())),Kt(o,e,n,i)}));if(d&&(o=(r=It(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=(s=E.map(Tt(r,"script"),Ft)).length;h<d;h++)u=r,h!==p&&(u=E.clone(u,!0,!0),a&&E.merge(s,Tt(u,"script"))),n.call(t[h],u,h);if(a)for(l=s[s.length-1].ownerDocument,E.map(s,qt),h=0;h<a;h++)u=s[h],At.test(u.type||"")&&!at.access(u,"globalEval")&&E.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?E._evalUrl&&!u.noModule&&E._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):x(u.textContent.replace(Ht,""),u,l))}return t}function $t(t,e,n){for(var i,r=e?E.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||E.cleanData(Tt(i)),i.parentNode&&(n&&vt(i)&&Ot(Tt(i,"script")),i.parentNode.removeChild(i));return t}E.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,s,a=t.cloneNode(!0),c=vt(t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(s=Tt(a),i=0,r=(o=Tt(t)).length;i<r;i++)Vt(o[i],s[i]);if(e)if(n)for(o=o||Tt(t),s=s||Tt(a),i=0,r=o.length;i<r;i++)Ut(o[i],s[i]);else Ut(t,a);return(s=Tt(a,"script")).length>0&&Ot(s,!c&&Tt(t,"script")),a},cleanData:function(t){for(var e,n,i,r=E.event.special,o=0;void 0!==(n=t[o]);o++)if(ot(n)){if(e=n[at.expando]){if(e.events)for(i in e.events)r[i]?E.event.remove(n,i):E.removeEvent(n,i,e.handle);n[at.expando]=void 0}n[ct.expando]&&(n[ct.expando]=void 0)}}}),E.fn.extend({detach:function(t){return $t(this,t,!0)},remove:function(t){return $t(this,t)},text:function(t){return tt(this,(function(t){return void 0===t?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Kt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Wt(this,t).appendChild(t)}))},prepend:function(){return Kt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Wt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Kt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Kt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(Tt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return tt(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!kt[(St.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(E.cleanData(Tt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Kt(this,arguments,(function(e){var n=this.parentNode;E.inArray(this,t)<0&&(E.cleanData(Tt(this)),n&&n.replaceChild(e,this))}),t)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){E.fn[t]=function(t){for(var n,i=[],r=E(t),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),E(r[s])[e](n),u.apply(i,n.get());return this.pushStack(i)}}));var Xt=new RegExp("^("+dt+")(?!px)[a-z%]+$","i"),Yt=/^--/,Jt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},Gt=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},Qt=new RegExp(ft.join("|"),"i");function Zt(t,e,n){var i,r,o,s,a=Yt.test(e),c=t.style;return(n=n||Jt(t))&&(s=n.getPropertyValue(e)||n[e],a&&s&&(s=s.replace(I,"$1")||void 0),""!==s||vt(t)||(s=E.style(t,e)),!v.pixelBoxStyles()&&Xt.test(s)&&Qt.test(e)&&(i=c.width,r=c.minWidth,o=c.maxWidth,c.minWidth=c.maxWidth=c.width=s,s=n.width,c.width=i,c.minWidth=r,c.maxWidth=o)),void 0!==s?s+"":s}function te(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",mt.appendChild(u).appendChild(l);var t=i.getComputedStyle(l);n="1%"!==t.top,c=12===e(t.marginLeft),l.style.right="60%",s=36===e(t.right),r=36===e(t.width),l.style.position="absolute",o=12===e(l.offsetWidth/3),mt.removeChild(u),l=null}}function e(t){return Math.round(parseFloat(t))}var n,r,o,s,a,c,u=_.createElement("div"),l=_.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,E.extend(v,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,n,r;return null==a&&(t=_.createElement("table"),e=_.createElement("tr"),n=_.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",mt.appendChild(t).appendChild(e).appendChild(n),r=i.getComputedStyle(e),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===e.offsetHeight,mt.removeChild(t)),a}}))}();var ee=["Webkit","Moz","ms"],ne=_.createElement("div").style,ie={};function re(t){return E.cssProps[t]||ie[t]||(t in ne?t:ie[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=ee.length;n--;)if((t=ee[n]+e)in ne)return t}(t)||t)}var oe=/^(none|table(?!-c[ea]).+)/,se={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function ce(t,e,n){var i=pt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function ue(t,e,n,i,r,o){var s="width"===e?1:0,a=0,c=0,u=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(u+=E.css(t,n+ft[s],!0,r)),i?("content"===n&&(c-=E.css(t,"padding"+ft[s],!0,r)),"margin"!==n&&(c-=E.css(t,"border"+ft[s]+"Width",!0,r))):(c+=E.css(t,"padding"+ft[s],!0,r),"padding"!==n?c+=E.css(t,"border"+ft[s]+"Width",!0,r):a+=E.css(t,"border"+ft[s]+"Width",!0,r));return!i&&o>=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-c-a-.5))||0),c+u}function le(t,e,n){var i=Jt(t),r=(!v.boxSizingReliable()||n)&&"border-box"===E.css(t,"boxSizing",!1,i),o=r,s=Zt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Xt.test(s)){if(!n)return s;s="auto"}return(!v.boxSizingReliable()&&r||!v.reliableTrDimensions()&&A(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===E.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===E.css(t,"boxSizing",!1,i),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+ue(t,e,n||(r?"border":"content"),o,i,s)+"px"}function he(t,e,n,i,r){return new he.prototype.init(t,e,n,i,r)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Zt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=rt(e),c=Yt.test(e),u=t.style;if(c||(e=re(a)),s=E.cssHooks[e]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:u[e];"string"==(o=typeof n)&&(r=pt.exec(n))&&r[1]&&(n=_t(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=r&&r[3]||(E.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(c?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var r,o,s,a=rt(e);return Yt.test(e)||(e=re(a)),(s=E.cssHooks[e]||E.cssHooks[a])&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=Zt(t,e,i)),"normal"===r&&e in ae&&(r=ae[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,n,i){if(n)return!oe.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?le(t,e,i):Gt(t,se,(function(){return le(t,e,i)}))},set:function(t,n,i){var r,o=Jt(t),s=!v.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===E.css(t,"boxSizing",!1,o),c=i?ue(t,e,i,a,o):0;return a&&s&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ue(t,e,"border",!1,o)-.5)),c&&(r=pt.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=E.css(t,e)),ce(0,n,c)}}})),E.cssHooks.marginLeft=te(v.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Zt(t,"marginLeft"))||t.getBoundingClientRect().left-Gt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+ft[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(E.cssHooks[t+e].set=ce)})),E.fn.extend({css:function(t,e){return tt(this,(function(t,e,n){var i,r,o={},s=0;if(Array.isArray(e)){for(i=Jt(t),r=e.length;s<r;s++)o[e[s]]=E.css(t,e[s],!1,i);return o}return void 0!==n?E.style(t,e,n):E.css(t,e)}),t,e,arguments.length>1)}}),E.Tween=he,he.prototype={constructor:he,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var t=he.propHooks[this.prop];return t&&t.get?t.get(this):he.propHooks._default.get(this)},run:function(t){var e,n=he.propHooks[this.prop];return this.options.duration?this.pos=e=E.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):he.propHooks._default.set(this),this}},he.prototype.init.prototype=he.prototype,he.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||!E.cssHooks[t.prop]&&null==t.elem.style[re(t.prop)]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}},he.propHooks.scrollTop=he.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=he.prototype.init,E.fx.step={};var de,pe,fe=/^(?:toggle|show|hide)$/,me=/queueHooks$/;function ve(){pe&&(!1===_.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ve):i.setTimeout(ve,E.fx.interval),E.fx.tick())}function ge(){return i.setTimeout((function(){de=void 0})),de=Date.now()}function ye(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=ft[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function _e(t,e,n){for(var i,r=(be.tweeners[e]||[]).concat(be.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,e,t))return i}function be(t,e,n){var i,r,o=0,s=be.prefilters.length,a=E.Deferred().always((function(){delete c.elem})),c=function(){if(r)return!1;for(var e=de||ge(),n=Math.max(0,u.startTime+u.duration-e),i=1-(n/u.duration||0),o=0,s=u.tweens.length;o<s;o++)u.tweens[o].run(i);return a.notifyWith(t,[u,i,n]),i<1&&s?n:(s||a.notifyWith(t,[u,1,0]),a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},n),originalProperties:e,originalOptions:n,startTime:de||ge(),duration:n.duration,tweens:[],createTween:function(e,n){var i=E.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?(a.notifyWith(t,[u,1,0]),a.resolveWith(t,[u,e])):a.rejectWith(t,[u,e]),this}}),l=u.props;for(function(t,e){var n,i,r,o,s;for(n in t)if(r=e[i=rt(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(s=E.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(l,u.opts.specialEasing);o<s;o++)if(i=be.prefilters[o].call(u,t,l,u.opts))return g(i.stop)&&(E._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return E.map(l,_e,u),g(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),E.fx.timer(E.extend(c,{elem:t,anim:u,queue:u.opts.queue})),u}E.Animation=E.extend(be,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return _t(n.elem,t,pt.exec(e),n),n}]},tweener:function(t,e){g(t)?(e=t,t=["*"]):t=t.match($);for(var n,i=0,r=t.length;i<r;i++)n=t[i],be.tweeners[n]=be.tweeners[n]||[],be.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,o,s,a,c,u,l,h="width"in e||"height"in e,d=this,p={},f=t.style,m=t.nodeType&&yt(t),v=at.get(t,"fxshow");for(i in n.queue||(null==(s=E._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always((function(){d.always((function(){s.unqueued--,E.queue(t,"fx").length||s.empty.fire()}))}))),e)if(r=e[i],fe.test(r)){if(delete e[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!v||void 0===v[i])continue;m=!0}p[i]=v&&v[i]||E.style(t,i)}if((c=!E.isEmptyObject(e))||!E.isEmptyObject(p))for(i in h&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=v&&v.display)&&(u=at.get(t,"display")),"none"===(l=E.css(t,"display"))&&(u?l=u:(wt([t],!0),u=t.style.display||u,l=E.css(t,"display"),wt([t]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===E.css(t,"float")&&(c||(d.done((function(){f.display=u})),null==u&&(l=f.display,u="none"===l?"":l)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),c=!1,p)c||(v?"hidden"in v&&(m=v.hidden):v=at.access(t,"fxshow",{display:u}),o&&(v.hidden=!m),m&&wt([t],!0),d.done((function(){for(i in m||wt([t]),at.remove(t,"fxshow"),p)E.style(t,i,p[i])}))),c=_e(m?v[i]:0,i,d),i in v||(v[i]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(t,e){e?be.prefilters.unshift(t):be.prefilters.push(t)}}),E.speed=function(t,e,n){var i=t&&"object"==typeof t?E.extend({},t):{complete:n||!n&&e||g(t)&&t,duration:t,easing:n&&e||e&&!g(e)&&e};return E.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in E.fx.speeds?i.duration=E.fx.speeds[i.duration]:i.duration=E.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){g(i.old)&&i.old.call(this),i.queue&&E.dequeue(this,i.queue)},i},E.fn.extend({fadeTo:function(t,e,n,i){return this.filter(yt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=E.isEmptyObject(t),o=E.speed(e,n,i),s=function(){var e=be(this,E.extend({},t),o);(r||at.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",o=E.timers,s=at.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&me.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||E.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=at.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=E.timers,s=i?i.length:0;for(n.finish=!0,E.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish}))}}),E.each(["toggle","show","hide"],(function(t,e){var n=E.fn[e];E.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ye(e,!0),t,i,r)}})),E.each({slideDown:ye("show"),slideUp:ye("hide"),slideToggle:ye("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){E.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}})),E.timers=[],E.fx.tick=function(){var t,e=0,n=E.timers;for(de=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||E.fx.stop(),de=void 0},E.fx.timer=function(t){E.timers.push(t),E.fx.start()},E.fx.interval=13,E.fx.start=function(){pe||(pe=!0,ve())},E.fx.stop=function(){pe=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(t,e){return t=E.fx&&E.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var r=i.setTimeout(e,t);n.stop=function(){i.clearTimeout(r)}}))},function(){var t=_.createElement("input"),e=_.createElement("select").appendChild(_.createElement("option"));t.type="checkbox",v.checkOn=""!==t.value,v.optSelected=e.selected,(t=_.createElement("input")).value="t",t.type="radio",v.radioValue="t"===t.value}();var xe,we=E.expr.attrHandle;E.fn.extend({attr:function(t,e){return tt(this,E.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?E.prop(t,e,n):(1===o&&E.isXMLDoc(t)||(r=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?xe:void 0)),void 0!==n?null===n?void E.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=E.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&A(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match($);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),xe={set:function(t,e,n){return!1===e?E.removeAttr(t,n):t.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=we[e]||E.find.attr;we[e]=function(t,e,i){var r,o,s=e.toLowerCase();return i||(o=we[s],we[s]=r,r=null!=n(t,e,i)?s:null,we[s]=o),r}}));var Me=/^(?:input|select|textarea|button)$/i,Ce=/^(?:a|area)$/i;function Ee(t){return(t.match($)||[]).join(" ")}function Se(t){return t.getAttribute&&t.getAttribute("class")||""}function Ae(t){return Array.isArray(t)?t:"string"==typeof t&&t.match($)||[]}E.fn.extend({prop:function(t,e){return tt(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}),E.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(t)||(e=E.propFix[e]||e,r=E.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):Me.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,n,i,r,o,s;return g(t)?this.each((function(e){E(this).addClass(t.call(this,e,Se(this)))})):(e=Ae(t)).length?this.each((function(){if(i=Se(this),n=1===this.nodeType&&" "+Ee(i)+" "){for(o=0;o<e.length;o++)r=e[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");s=Ee(n),i!==s&&this.setAttribute("class",s)}})):this},removeClass:function(t){var e,n,i,r,o,s;return g(t)?this.each((function(e){E(this).removeClass(t.call(this,e,Se(this)))})):arguments.length?(e=Ae(t)).length?this.each((function(){if(i=Se(this),n=1===this.nodeType&&" "+Ee(i)+" "){for(o=0;o<e.length;o++)for(r=e[o];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");s=Ee(n),i!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,i,r,o,s=typeof t,a="string"===s||Array.isArray(t);return g(t)?this.each((function(n){E(this).toggleClass(t.call(this,n,Se(this),e),e)})):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=Ae(t),this.each((function(){if(a)for(o=E(this),r=0;r<n.length;r++)i=n[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else void 0!==t&&"boolean"!==s||((i=Se(this))&&at.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":at.get(this,"__className__")||""))})))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+Ee(Se(n))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;E.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=g(t),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,E(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=E.map(r,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=E.valHooks[r.type]||E.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(ke,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:Ee(E.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],c=s?o+1:r.length;for(i=o<0?c:s?o:0;i<c;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(e=E(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=E.makeArray(e),s=r.length;s--;)((i=r[s]).selected=E.inArray(E.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},v.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var Te=i.location,Oe={guid:Date.now()},je=/\?/;E.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Ie=/^(?:focusinfocus|focusoutblur)$/,Pe=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,n,r){var o,s,a,c,u,l,h,d,f=[n||_],m=p.call(t,"type")?t.type:t,v=p.call(t,"namespace")?t.namespace.split("."):[];if(s=d=a=n=n||_,3!==n.nodeType&&8!==n.nodeType&&!Ie.test(m+E.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(t=t[E.expando]?t:new E.Event(m,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:E.makeArray(e,[t]),h=E.event.special[m]||{},r||!h.trigger||!1!==h.trigger.apply(n,e))){if(!r&&!h.noBubble&&!y(n)){for(c=h.delegateType||m,Ie.test(c+m)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(n.ownerDocument||_)&&f.push(a.defaultView||a.parentWindow||i)}for(o=0;(s=f[o++])&&!t.isPropagationStopped();)d=s,t.type=o>1?c:h.bindType||m,(l=(at.get(s,"events")||Object.create(null))[t.type]&&at.get(s,"handle"))&&l.apply(s,e),(l=u&&s[u])&&l.apply&&ot(s)&&(t.result=l.apply(s,e),!1===t.result&&t.preventDefault());return t.type=m,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),e)||!ot(n)||u&&g(n[m])&&!y(n)&&((a=n[u])&&(n[u]=null),E.event.triggered=m,t.isPropagationStopped()&&d.addEventListener(m,Pe),n[m](),t.isPropagationStopped()&&d.removeEventListener(m,Pe),E.event.triggered=void 0,a&&(n[u]=a)),t.result}},simulate:function(t,e,n){var i=E.extend(new E.Event,n,{type:t,isSimulated:!0});E.event.trigger(i,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return E.event.trigger(t,e,n,!0)}});var Le=/\[\]$/,De=/\r?\n/g,ze=/^(?:submit|button|image|reset|file)$/i,Be=/^(?:input|select|textarea|keygen)/i;function Ne(t,e,n,i){var r;if(Array.isArray(e))E.each(e,(function(e,r){n||Le.test(t)?i(t,r):Ne(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)}));else if(n||"object"!==w(e))i(t,e);else for(r in e)Ne(t+"["+r+"]",e[r],n,i)}E.param=function(t,e){var n,i=[],r=function(t,e){var n=g(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){r(this.name,this.value)}));else for(n in t)Ne(n,t[n],e,r);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&Be.test(this.nodeName)&&!ze.test(t)&&(this.checked||!Et.test(t))})).map((function(t,e){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(t){return{name:e.name,value:t.replace(De,"\r\n")}})):{name:e.name,value:n.replace(De,"\r\n")}})).get()}});var Re=/%20/g,He=/#.*$/,We=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)$/gm,qe=/^(?:GET|HEAD)$/,Ue=/^\/\//,Ve={},Ke={},$e="*/".concat("*"),Xe=_.createElement("a");function Ye(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match($)||[];if(g(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Je(t,e,n,i){var r={},o=t===Ke;function s(a){var c;return r[a]=!0,E.each(t[a]||[],(function(t,a){var u=a(e,n,i);return"string"!=typeof u||o||r[u]?o?!(c=u):void 0:(e.dataTypes.unshift(u),s(u),!1)})),c}return s(e.dataTypes[0])||!r["*"]&&s("*")}function Ge(t,e){var n,i,r=E.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&E.extend(!0,t,i),t}Xe.href=Te.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$e,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ge(Ge(t,E.ajaxSettings),e):Ge(E.ajaxSettings,t)},ajaxPrefilter:Ye(Ve),ajaxTransport:Ye(Ke),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r,o,s,a,c,u,l,h,d,p=E.ajaxSetup({},e),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?E(f):E.event,v=E.Deferred(),g=E.Callbacks("once memory"),y=p.statusCode||{},b={},x={},w="canceled",M={readyState:0,getResponseHeader:function(t){var e;if(u){if(!s)for(s={};e=Fe.exec(o);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(t,e){return null==u&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==u&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)M.always(t[M.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||w;return n&&n.abort(e),C(0,e),this}};if(v.promise(M),p.url=((t||p.url||Te.href)+"").replace(Ue,Te.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match($)||[""],null==p.crossDomain){c=_.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Xe.protocol+"//"+Xe.host!=c.protocol+"//"+c.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=E.param(p.data,p.traditional)),Je(Ve,p,e,M),u)return M;for(h in(l=E.event&&p.global)&&0==E.active++&&E.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!qe.test(p.type),r=p.url.replace(He,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Re,"+")):(d=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(je.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(We,"$1"),d=(je.test(r)?"&":"?")+"_="+Oe.guid+++d),p.url=r+d),p.ifModified&&(E.lastModified[r]&&M.setRequestHeader("If-Modified-Since",E.lastModified[r]),E.etag[r]&&M.setRequestHeader("If-None-Match",E.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&M.setRequestHeader("Content-Type",p.contentType),M.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+$e+"; q=0.01":""):p.accepts["*"]),p.headers)M.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(f,M,p)||u))return M.abort();if(w="abort",g.add(p.complete),M.done(p.success),M.fail(p.error),n=Je(Ke,p,e,M)){if(M.readyState=1,l&&m.trigger("ajaxSend",[M,p]),u)return M;p.async&&p.timeout>0&&(a=i.setTimeout((function(){M.abort("timeout")}),p.timeout));try{u=!1,n.send(b,C)}catch(t){if(u)throw t;C(-1,t)}}else C(-1,"No Transport");function C(t,e,s,c){var h,d,_,b,x,w=e;u||(u=!0,a&&i.clearTimeout(a),n=void 0,o=c||"",M.readyState=t>0?4:0,h=t>=200&&t<300||304===t,s&&(b=function(t,e,n){for(var i,r,o,s,a=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){c.unshift(r);break}if(c[0]in n)o=c[0];else{for(r in n){if(!c[0]||t.converters[r+" "+c[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==c[0]&&c.unshift(o),n[o]}(p,M,s)),!h&&E.inArray("script",p.dataTypes)>-1&&E.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(t,e,n,i){var r,o,s,a,c,u={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(s=u[c+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&&(s=u[c+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],l.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}(p,b,M,h),h?(p.ifModified&&((x=M.getResponseHeader("Last-Modified"))&&(E.lastModified[r]=x),(x=M.getResponseHeader("etag"))&&(E.etag[r]=x)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=b.state,d=b.data,h=!(_=b.error))):(_=w,!t&&w||(w="error",t<0&&(t=0))),M.status=t,M.statusText=(e||w)+"",h?v.resolveWith(f,[d,w,M]):v.rejectWith(f,[M,w,_]),M.statusCode(y),y=void 0,l&&m.trigger(h?"ajaxSuccess":"ajaxError",[M,p,h?d:_]),g.fireWith(f,[M,w]),l&&(m.trigger("ajaxComplete",[M,p]),--E.active||E.event.trigger("ajaxStop")))}return M},getJSON:function(t,e,n){return E.get(t,e,n,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],(function(t,e){E[e]=function(t,n,i,r){return g(n)&&(r=r||i,i=n,n=void 0),E.ajax(E.extend({url:t,type:e,dataType:r,data:n,success:i},E.isPlainObject(t)&&t))}})),E.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),E._evalUrl=function(t,e,n){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){E.globalEval(t,e,n)}})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(g(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return g(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=g(t);return this.each((function(n){E(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Qe={0:200,1223:204},Ze=E.ajaxSettings.xhr();v.cors=!!Ze&&"withCredentials"in Ze,v.ajax=Ze=!!Ze,E.ajaxTransport((function(t){var e,n;if(v.cors||Ze&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Qe[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),E.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return E.globalEval(t),t}}}),E.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),E.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=E("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),_.head.appendChild(e[0])},abort:function(){n&&n()}}}));var tn,en=[],nn=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||E.expando+"_"+Oe.guid++;return this[t]=!0,t}}),E.ajaxPrefilter("json jsonp",(function(t,e,n){var r,o,s,a=!1!==t.jsonp&&(nn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(nn,"$1"+r):!1!==t.jsonp&&(t.url+=(je.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||E.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments},n.always((function(){void 0===o?E(i).removeProp(r):i[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,en.push(r)),s&&g(o)&&o(s[0]),s=o=void 0})),"script"})),v.createHTMLDocument=((tn=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===tn.childNodes.length),E.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(v.createHTMLDocument?((i=(e=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,e.head.appendChild(i)):e=_),o=!n&&[],(r=H.exec(t))?[e.createElement(r[1])]:(r=It([t],e,o),o&&o.length&&E(o).remove(),E.merge([],r.childNodes)));var i,r,o},E.fn.load=function(t,e,n){var i,r,o,s=this,a=t.indexOf(" ");return a>-1&&(i=Ee(t.slice(a)),t=t.slice(0,a)),g(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&E.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){o=arguments,s.html(i?E("<div>").append(E.parseHTML(t)).find(i):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,(function(e){return t===e.elem})).length},E.offset={setOffset:function(t,e,n){var i,r,o,s,a,c,u=E.css(t,"position"),l=E(t),h={};"static"===u&&(t.style.position="relative"),a=l.offset(),o=E.css(t,"top"),c=E.css(t,"left"),("absolute"===u||"fixed"===u)&&(o+c).indexOf("auto")>-1?(s=(i=l.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(c)||0),g(e)&&(e=e.call(t,n,E.extend({},a))),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):l.css(h)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){E.offset.setOffset(this,t,e)}));var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===E.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===E.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),r.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-E.css(i,"marginTop",!0),left:e.left-r.left-E.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||mt}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;E.fn[t]=function(i){return tt(this,(function(t,i,r){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r}),t,i,arguments.length)}})),E.each(["top","left"],(function(t,e){E.cssHooks[e]=te(v.pixelPosition,(function(t,n){if(n)return n=Zt(t,e),Xt.test(n)?E(t).position()[e]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(t,e){E.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,i){E.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return tt(this,(function(e,n,r){var o;return y(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?E.css(e,n,a):E.style(e,n,r,a)}),e,s?r:void 0,s)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){E.fn[e]=function(t){return this.on(e,t)}})),E.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){E.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),g(t))return i=a.call(arguments,2),r=function(){return t.apply(e||this,i.concat(a.call(arguments)))},r.guid=t.guid=t.guid||E.guid++,r},E.holdReady=function(t){t?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=A,E.isFunction=g,E.isWindow=y,E.camelCase=rt,E.type=w,E.now=Date.now,E.isNumeric=function(t){var e=E.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},E.trim=function(t){return null==t?"":(t+"").replace(rn,"$1")},void 0===(n=function(){return E}.apply(e,[]))||(t.exports=n);var on=i.jQuery,sn=i.$;return E.noConflict=function(t){return i.$===E&&(i.$=sn),t&&i.jQuery===E&&(i.jQuery=on),E},void 0===r&&(i.jQuery=i.$=E),E}))},3103:(t,e,n)=>{var i=n(4715)(n(8942),"DataView");t.exports=i},5098:(t,e,n)=>{var i=n(3305),r=n(9361),o=n(1112),s=n(5276),a=n(5071);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,t.exports=c},1386:(t,e,n)=>{var i=n(2393),r=n(2049),o=n(7144),s=n(7452),a=n(3964);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,t.exports=c},9770:(t,e,n)=>{var i=n(4715)(n(8942),"Map");t.exports=i},8250:(t,e,n)=>{var i=n(9753),r=n(5681),o=n(88),s=n(4732),a=n(9068);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=r,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,t.exports=c},9413:(t,e,n)=>{var i=n(4715)(n(8942),"Promise");t.exports=i},4512:(t,e,n)=>{var i=n(4715)(n(8942),"Set");t.exports=i},3212:(t,e,n)=>{var i=n(8250),r=n(1877),o=n(8006);function s(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i;++e<n;)this.add(t[e])}s.prototype.add=s.prototype.push=r,s.prototype.has=o,t.exports=s},1340:(t,e,n)=>{var i=n(1386),r=n(4103),o=n(1779),s=n(4162),a=n(7462),c=n(6638);function u(t){var e=this.__data__=new i(t);this.size=e.size}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=s,u.prototype.has=a,u.prototype.set=c,t.exports=u},5650:(t,e,n)=>{var i=n(8942).Symbol;t.exports=i},1623:(t,e,n)=>{var i=n(8942).Uint8Array;t.exports=i},9270:(t,e,n)=>{var i=n(4715)(n(8942),"WeakMap");t.exports=i},9847:t=>{t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}},358:(t,e,n)=>{var i=n(6137),r=n(3283),o=n(3142),s=n(5853),a=n(9632),c=n(8666),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),l=!n&&r(t),h=!n&&!l&&s(t),d=!n&&!l&&!h&&c(t),p=n||l||h||d,f=p?i(t.length,String):[],m=f.length;for(var v in t)!e&&!u.call(t,v)||p&&("length"==v||h&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,m))||f.push(v);return f}},1129:t=>{t.exports=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},6465:t=>{t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}},7034:(t,e,n)=>{var i=n(6285);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},8244:(t,e,n)=>{var i=n(1129),r=n(3142);t.exports=function(t,e,n){var o=e(t);return r(t)?o:i(o,n(t))}},7379:(t,e,n)=>{var i=n(5650),r=n(8870),o=n(9005),s=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?r(t):o(t)}},6027:(t,e,n)=>{var i=n(7379),r=n(547);t.exports=function(t){return r(t)&&"[object Arguments]"==i(t)}},4687:(t,e,n)=>{var i=n(353),r=n(547);t.exports=function t(e,n,o,s,a){return e===n||(null==e||null==n||!r(e)&&!r(n)?e!=e&&n!=n:i(e,n,o,s,t,a))}},353:(t,e,n)=>{var i=n(1340),r=n(3934),o=n(8861),s=n(1182),a=n(8486),c=n(3142),u=n(5853),l=n(8666),h="[object Arguments]",d="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,m,v,g){var y=c(t),_=c(e),b=y?d:a(t),x=_?d:a(e),w=(b=b==h?p:b)==p,M=(x=x==h?p:x)==p,C=b==x;if(C&&u(t)){if(!u(e))return!1;y=!0,w=!1}if(C&&!w)return g||(g=new i),y||l(t)?r(t,e,n,m,v,g):o(t,e,b,n,m,v,g);if(!(1&n)){var E=w&&f.call(t,"__wrapped__"),S=M&&f.call(e,"__wrapped__");if(E||S){var A=E?t.value():t,k=S?e.value():e;return g||(g=new i),v(A,k,n,m,g)}}return!!C&&(g||(g=new i),s(t,e,n,m,v,g))}},9624:(t,e,n)=>{var i=n(3655),r=n(4759),o=n(1580),s=n(4066),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,h=u.hasOwnProperty,d=RegExp("^"+l.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||r(t))&&(i(t)?d:a).test(s(t))}},674:(t,e,n)=>{var i=n(7379),r=n(5387),o=n(547),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&r(t.length)&&!!s[i(t)]}},195:(t,e,n)=>{var i=n(4882),r=n(8121),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return r(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},6137:t=>{t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},9460:t=>{t.exports=function(t){return function(e){return t(e)}}},5568:t=>{t.exports=function(t,e){return t.has(e)}},1950:(t,e,n)=>{var i=n(8942)["__core-js_shared__"];t.exports=i},3934:(t,e,n)=>{var i=n(3212),r=n(6465),o=n(5568);t.exports=function(t,e,n,s,a,c){var u=1&n,l=t.length,h=e.length;if(l!=h&&!(u&&h>l))return!1;var d=c.get(t),p=c.get(e);if(d&&p)return d==e&&p==t;var f=-1,m=!0,v=2&n?new i:void 0;for(c.set(t,e),c.set(e,t);++f<l;){var g=t[f],y=e[f];if(s)var _=u?s(y,g,f,e,t,c):s(g,y,f,t,e,c);if(void 0!==_){if(_)continue;m=!1;break}if(v){if(!r(e,(function(t,e){if(!o(v,e)&&(g===t||a(g,t,n,s,c)))return v.push(e)}))){m=!1;break}}else if(g!==y&&!a(g,y,n,s,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},8861:(t,e,n)=>{var i=n(5650),r=n(1623),o=n(6285),s=n(3934),a=n(5894),c=n(9828),u=i?i.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,n,i,u,h,d){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!h(new r(t),new r(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=a;case"[object Set]":var f=1&i;if(p||(p=c),t.size!=e.size&&!f)return!1;var m=d.get(t);if(m)return m==e;i|=2,d.set(t,e);var v=s(p(t),p(e),i,u,h,d);return d.delete(t),v;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},1182:(t,e,n)=>{var i=n(393),r=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,s,a){var c=1&n,u=i(t),l=u.length;if(l!=i(e).length&&!c)return!1;for(var h=l;h--;){var d=u[h];if(!(c?d in e:r.call(e,d)))return!1}var p=a.get(t),f=a.get(e);if(p&&f)return p==e&&f==t;var m=!0;a.set(t,e),a.set(e,t);for(var v=c;++h<l;){var g=t[d=u[h]],y=e[d];if(o)var _=c?o(y,g,d,e,t,a):o(g,y,d,t,e,a);if(!(void 0===_?g===y||s(g,y,n,o,a):_)){m=!1;break}v||(v="constructor"==d)}if(m&&!v){var b=t.constructor,x=e.constructor;b==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(m=!1)}return a.delete(t),a.delete(e),m}},4967:(t,e,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},393:(t,e,n)=>{var i=n(8244),r=n(7979),o=n(1211);t.exports=function(t){return i(t,o,r)}},4700:(t,e,n)=>{var i=n(9067);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},4715:(t,e,n)=>{var i=n(9624),r=n(155);t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},4784:(t,e,n)=>{var i=n(3766)(Object.getPrototypeOf,Object);t.exports=i},8870:(t,e,n)=>{var i=n(5650),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=i?i.toStringTag:void 0;t.exports=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var i=!0}catch(t){}var r=s.call(t);return i&&(e?t[a]=n:delete t[a]),r}},7979:(t,e,n)=>{var i=n(9847),r=n(9306),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),i(s(t),(function(e){return o.call(t,e)})))}:r;t.exports=a},8486:(t,e,n)=>{var i=n(3103),r=n(9770),o=n(9413),s=n(4512),a=n(9270),c=n(7379),u=n(4066),l="[object Map]",h="[object Promise]",d="[object Set]",p="[object WeakMap]",f="[object DataView]",m=u(i),v=u(r),g=u(o),y=u(s),_=u(a),b=c;(i&&b(new i(new ArrayBuffer(1)))!=f||r&&b(new r)!=l||o&&b(o.resolve())!=h||s&&b(new s)!=d||a&&b(new a)!=p)&&(b=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,i=n?u(n):"";if(i)switch(i){case m:return f;case v:return l;case g:return h;case y:return d;case _:return p}return e}),t.exports=b},155:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},3305:(t,e,n)=>{var i=n(4497);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},9361:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},1112:(t,e,n)=>{var i=n(4497),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(e,t)?e[t]:void 0}},5276:(t,e,n)=>{var i=n(4497),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:r.call(e,t)}},5071:(t,e,n)=>{var i=n(4497);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},9632:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var i=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&e.test(t))&&t>-1&&t%1==0&&t<n}},9067:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},4759:(t,e,n)=>{var i,r=n(1950),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!o&&o in t}},4882:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},2393:t=>{t.exports=function(){this.__data__=[],this.size=0}},2049:(t,e,n)=>{var i=n(7034),r=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0||(n==e.length-1?e.pop():r.call(e,n,1),--this.size,0))}},7144:(t,e,n)=>{var i=n(7034);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},7452:(t,e,n)=>{var i=n(7034);t.exports=function(t){return i(this.__data__,t)>-1}},3964:(t,e,n)=>{var i=n(7034);t.exports=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}},9753:(t,e,n)=>{var i=n(5098),r=n(1386),o=n(9770);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},5681:(t,e,n)=>{var i=n(4700);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},88:(t,e,n)=>{var i=n(4700);t.exports=function(t){return i(this,t).get(t)}},4732:(t,e,n)=>{var i=n(4700);t.exports=function(t){return i(this,t).has(t)}},9068:(t,e,n)=>{var i=n(4700);t.exports=function(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}},5894:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}},4497:(t,e,n)=>{var i=n(4715)(Object,"create");t.exports=i},8121:(t,e,n)=>{var i=n(3766)(Object.keys,Object);t.exports=i},2306:(t,e,n)=>{t=n.nmd(t);var i=n(4967),r=e&&!e.nodeType&&e,o=r&&t&&!t.nodeType&&t,s=o&&o.exports===r&&i.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},9005:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3766:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},8942:(t,e,n)=>{var i=n(4967),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},1877:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},8006:t=>{t.exports=function(t){return this.__data__.has(t)}},9828:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},4103:(t,e,n)=>{var i=n(1386);t.exports=function(){this.__data__=new i,this.size=0}},1779:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},4162:t=>{t.exports=function(t){return this.__data__.get(t)}},7462:t=>{t.exports=function(t){return this.__data__.has(t)}},6638:(t,e,n)=>{var i=n(1386),r=n(9770),o=n(8250);t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!r||s.length<199)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(t,e),this.size=n.size,this}},4066:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},6285:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},3283:(t,e,n)=>{var i=n(6027),r=n(547),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(t){return r(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},3142:t=>{var e=Array.isArray;t.exports=e},6529:(t,e,n)=>{var i=n(3655),r=n(5387);t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},5853:(t,e,n)=>{t=n.nmd(t);var i=n(8942),r=n(4772),o=e&&!e.nodeType&&e,s=o&&t&&!t.nodeType&&t,a=s&&s.exports===o?i.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;t.exports=c},6343:(t,e,n)=>{var i=n(4687);t.exports=function(t,e){return i(t,e)}},3655:(t,e,n)=>{var i=n(7379),r=n(1580);t.exports=function(t){if(!r(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},5387:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},1580:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},547:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},8360:(t,e,n)=>{var i=n(7379),r=n(4784),o=n(547),s=Function.prototype,a=Object.prototype,c=s.toString,u=a.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=i(t))return!1;var e=r(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},8666:(t,e,n)=>{var i=n(674),r=n(9460),o=n(2306),s=o&&o.isTypedArray,a=s?r(s):i;t.exports=a},1211:(t,e,n)=>{var i=n(358),r=n(195),o=n(6529);t.exports=function(t){return o(t)?i(t):r(t)}},9306:t=>{t.exports=function(){return[]}},4772:t=>{t.exports=function(){return!1}},1308:e=>{"use strict";e.exports=t},2562:(t,e,n)=>{"use strict";n.r(e),n.d(e,{VERSION:()=>r,after:()=>Le,all:()=>tn,allKeys:()=>vt,any:()=>en,assign:()=>Lt,before:()=>De,bind:()=>we,bindAll:()=>Ee,chain:()=>ye,chunk:()=>Nn,clone:()=>Nt,collect:()=>Xe,compact:()=>An,compose:()=>Pe,constant:()=>Q,contains:()=>nn,countBy:()=>gn,create:()=>Bt,debounce:()=>Oe,default:()=>qn,defaults:()=>Dt,defer:()=>ke,delay:()=>Ae,detect:()=>Ve,difference:()=>Tn,drop:()=>En,each:()=>$e,escape:()=>se,every:()=>tn,extend:()=>Pt,extendOwn:()=>Lt,filter:()=>Qe,find:()=>Ve,findIndex:()=>Re,findKey:()=>Be,findLastIndex:()=>He,findWhere:()=>Ke,first:()=>Cn,flatten:()=>kn,foldl:()=>Je,foldr:()=>Ge,forEach:()=>$e,functions:()=>jt,get:()=>qt,groupBy:()=>mn,has:()=>Ut,head:()=>Cn,identity:()=>Vt,include:()=>nn,includes:()=>nn,indexBy:()=>vn,indexOf:()=>qe,initial:()=>Mn,inject:()=>Je,intersection:()=>Pn,invert:()=>Ot,invoke:()=>rn,isArguments:()=>Y,isArray:()=>K,isArrayBuffer:()=>B,isBoolean:()=>k,isDataView:()=>V,isDate:()=>P,isElement:()=>T,isEmpty:()=>ct,isEqual:()=>mt,isError:()=>D,isFinite:()=>J,isFunction:()=>H,isMap:()=>Ct,isMatch:()=>ut,isNaN:()=>G,isNull:()=>S,isNumber:()=>I,isObject:()=>E,isRegExp:()=>L,isSet:()=>St,isString:()=>j,isSymbol:()=>z,isTypedArray:()=>rt,isUndefined:()=>A,isWeakMap:()=>Et,isWeakSet:()=>At,iteratee:()=>Jt,keys:()=>at,last:()=>Sn,lastIndexOf:()=>Ue,map:()=>Xe,mapObject:()=>Qt,matcher:()=>Kt,matches:()=>Kt,max:()=>an,memoize:()=>Se,methods:()=>jt,min:()=>cn,mixin:()=>Hn,negate:()=>Ie,noop:()=>Zt,now:()=>ie,object:()=>zn,omit:()=>wn,once:()=>ze,pairs:()=>Tt,partial:()=>xe,partition:()=>yn,pick:()=>xn,pluck:()=>on,property:()=>$t,propertyOf:()=>te,random:()=>ne,range:()=>Bn,reduce:()=>Je,reduceRight:()=>Ge,reject:()=>Ze,rest:()=>En,restArguments:()=>C,result:()=>me,sample:()=>hn,select:()=>Qe,shuffle:()=>dn,size:()=>_n,some:()=>en,sortBy:()=>pn,sortedIndex:()=>We,tail:()=>En,take:()=>Cn,tap:()=>Rt,template:()=>fe,templateSettings:()=>ce,throttle:()=>Te,times:()=>ee,toArray:()=>ln,toPath:()=>Ht,transpose:()=>Ln,unescape:()=>ae,union:()=>In,uniq:()=>jn,unique:()=>jn,uniqueId:()=>ge,unzip:()=>Ln,values:()=>kt,where:()=>sn,without:()=>On,wrap:()=>je,zip:()=>Dn});var i={};n.r(i),n.d(i,{VERSION:()=>r,after:()=>Le,all:()=>tn,allKeys:()=>vt,any:()=>en,assign:()=>Lt,before:()=>De,bind:()=>we,bindAll:()=>Ee,chain:()=>ye,chunk:()=>Nn,clone:()=>Nt,collect:()=>Xe,compact:()=>An,compose:()=>Pe,constant:()=>Q,contains:()=>nn,countBy:()=>gn,create:()=>Bt,debounce:()=>Oe,default:()=>Wn,defaults:()=>Dt,defer:()=>ke,delay:()=>Ae,detect:()=>Ve,difference:()=>Tn,drop:()=>En,each:()=>$e,escape:()=>se,every:()=>tn,extend:()=>Pt,extendOwn:()=>Lt,filter:()=>Qe,find:()=>Ve,findIndex:()=>Re,findKey:()=>Be,findLastIndex:()=>He,findWhere:()=>Ke,first:()=>Cn,flatten:()=>kn,foldl:()=>Je,foldr:()=>Ge,forEach:()=>$e,functions:()=>jt,get:()=>qt,groupBy:()=>mn,has:()=>Ut,head:()=>Cn,identity:()=>Vt,include:()=>nn,includes:()=>nn,indexBy:()=>vn,indexOf:()=>qe,initial:()=>Mn,inject:()=>Je,intersection:()=>Pn,invert:()=>Ot,invoke:()=>rn,isArguments:()=>Y,isArray:()=>K,isArrayBuffer:()=>B,isBoolean:()=>k,isDataView:()=>V,isDate:()=>P,isElement:()=>T,isEmpty:()=>ct,isEqual:()=>mt,isError:()=>D,isFinite:()=>J,isFunction:()=>H,isMap:()=>Ct,isMatch:()=>ut,isNaN:()=>G,isNull:()=>S,isNumber:()=>I,isObject:()=>E,isRegExp:()=>L,isSet:()=>St,isString:()=>j,isSymbol:()=>z,isTypedArray:()=>rt,isUndefined:()=>A,isWeakMap:()=>Et,isWeakSet:()=>At,iteratee:()=>Jt,keys:()=>at,last:()=>Sn,lastIndexOf:()=>Ue,map:()=>Xe,mapObject:()=>Qt,matcher:()=>Kt,matches:()=>Kt,max:()=>an,memoize:()=>Se,methods:()=>jt,min:()=>cn,mixin:()=>Hn,negate:()=>Ie,noop:()=>Zt,now:()=>ie,object:()=>zn,omit:()=>wn,once:()=>ze,pairs:()=>Tt,partial:()=>xe,partition:()=>yn,pick:()=>xn,pluck:()=>on,property:()=>$t,propertyOf:()=>te,random:()=>ne,range:()=>Bn,reduce:()=>Je,reduceRight:()=>Ge,reject:()=>Ze,rest:()=>En,restArguments:()=>C,result:()=>me,sample:()=>hn,select:()=>Qe,shuffle:()=>dn,size:()=>_n,some:()=>en,sortBy:()=>pn,sortedIndex:()=>We,tail:()=>En,take:()=>Cn,tap:()=>Rt,template:()=>fe,templateSettings:()=>ce,throttle:()=>Te,times:()=>ee,toArray:()=>ln,toPath:()=>Ht,transpose:()=>Ln,unescape:()=>ae,union:()=>In,uniq:()=>jn,unique:()=>jn,uniqueId:()=>ge,unzip:()=>Ln,values:()=>kt,where:()=>sn,without:()=>On,wrap:()=>je,zip:()=>Dn});var r="1.13.7",o="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},s=Array.prototype,a=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,u=s.push,l=s.slice,h=a.toString,d=a.hasOwnProperty,p="undefined"!=typeof ArrayBuffer,f="undefined"!=typeof DataView,m=Array.isArray,v=Object.keys,g=Object.create,y=p&&ArrayBuffer.isView,_=isNaN,b=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],M=Math.pow(2,53)-1;function C(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),i=Array(n),r=0;r<n;r++)i[r]=arguments[r+e];switch(e){case 0:return t.call(this,i);case 1:return t.call(this,arguments[0],i);case 2:return t.call(this,arguments[0],arguments[1],i)}var o=Array(e+1);for(r=0;r<e;r++)o[r]=arguments[r];return o[e]=i,t.apply(this,o)}}function E(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function S(t){return null===t}function A(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===h.call(t)}function T(t){return!(!t||1!==t.nodeType)}function O(t){var e="[object "+t+"]";return function(t){return h.call(t)===e}}const j=O("String"),I=O("Number"),P=O("Date"),L=O("RegExp"),D=O("Error"),z=O("Symbol"),B=O("ArrayBuffer");var N=O("Function"),R=o.document&&o.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof R&&(N=function(t){return"function"==typeof t||!1});const H=N,W=O("Object");var F=f&&(!/\[native code\]/.test(String(DataView))||W(new DataView(new ArrayBuffer(8)))),q="undefined"!=typeof Map&&W(new Map),U=O("DataView");const V=F?function(t){return null!=t&&H(t.getInt8)&&B(t.buffer)}:U,K=m||O("Array");function $(t,e){return null!=t&&d.call(t,e)}var X=O("Arguments");!function(){X(arguments)||(X=function(t){return $(t,"callee")})}();const Y=X;function J(t){return!z(t)&&b(t)&&!isNaN(parseFloat(t))}function G(t){return I(t)&&_(t)}function Q(t){return function(){return t}}function Z(t){return function(e){var n=t(e);return"number"==typeof n&&n>=0&&n<=M}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),nt=Z(et);var it=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const rt=p?function(t){return y?y(t)&&!V(t):nt(t)&&it.test(h.call(t))}:Q(!1),ot=tt("length");function st(t,e){e=function(t){for(var e={},n=t.length,i=0;i<n;++i)e[t[i]]=!0;return{contains:function(t){return!0===e[t]},push:function(n){return e[n]=!0,t.push(n)}}}(e);var n=w.length,i=t.constructor,r=H(i)&&i.prototype||a,o="constructor";for($(t,o)&&!e.contains(o)&&e.push(o);n--;)(o=w[n])in t&&t[o]!==r[o]&&!e.contains(o)&&e.push(o)}function at(t){if(!E(t))return[];if(v)return v(t);var e=[];for(var n in t)$(t,n)&&e.push(n);return x&&st(t,e),e}function ct(t){if(null==t)return!0;var e=ot(t);return"number"==typeof e&&(K(t)||j(t)||Y(t))?0===e:0===ot(at(t))}function ut(t,e){var n=at(e),i=n.length;if(null==t)return!i;for(var r=Object(t),o=0;o<i;o++){var s=n[o];if(e[s]!==r[s]||!(s in r))return!1}return!0}function lt(t){return t instanceof lt?t:this instanceof lt?void(this._wrapped=t):new lt(t)}function ht(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}lt.VERSION=r,lt.prototype.value=function(){return this._wrapped},lt.prototype.valueOf=lt.prototype.toJSON=lt.prototype.value,lt.prototype.toString=function(){return String(this._wrapped)};var dt="[object DataView]";function pt(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var r=typeof t;return("function"===r||"object"===r||"object"==typeof e)&&ft(t,e,n,i)}function ft(t,e,n,i){t instanceof lt&&(t=t._wrapped),e instanceof lt&&(e=e._wrapped);var r=h.call(t);if(r!==h.call(e))return!1;if(F&&"[object Object]"==r&&V(t)){if(!V(e))return!1;r=dt}switch(r){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return c.valueOf.call(t)===c.valueOf.call(e);case"[object ArrayBuffer]":case dt:return ft(ht(t),ht(e),n,i)}var o="[object Array]"===r;if(!o&&rt(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var s=t.constructor,a=e.constructor;if(s!==a&&!(H(s)&&s instanceof s&&H(a)&&a instanceof a)&&"constructor"in t&&"constructor"in e)return!1}i=i||[];for(var u=(n=n||[]).length;u--;)if(n[u]===t)return i[u]===e;if(n.push(t),i.push(e),o){if((u=t.length)!==e.length)return!1;for(;u--;)if(!pt(t[u],e[u],n,i))return!1}else{var l,d=at(t);if(u=d.length,at(e).length!==u)return!1;for(;u--;)if(!$(e,l=d[u])||!pt(t[l],e[l],n,i))return!1}return n.pop(),i.pop(),!0}function mt(t,e){return pt(t,e)}function vt(t){if(!E(t))return[];var e=[];for(var n in t)e.push(n);return x&&st(t,e),e}function gt(t){var e=ot(t);return function(n){if(null==n)return!1;var i=vt(n);if(ot(i))return!1;for(var r=0;r<e;r++)if(!H(n[t[r]]))return!1;return t!==wt||!H(n[yt])}}var yt="forEach",_t=["clear","delete"],bt=["get","has","set"],xt=_t.concat(yt,bt),wt=_t.concat(bt),Mt=["add"].concat(_t,yt,"has");const Ct=q?gt(xt):O("Map"),Et=q?gt(wt):O("WeakMap"),St=q?gt(Mt):O("Set"),At=O("WeakSet");function kt(t){for(var e=at(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=t[e[r]];return i}function Tt(t){for(var e=at(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=[e[r],t[e[r]]];return i}function Ot(t){for(var e={},n=at(t),i=0,r=n.length;i<r;i++)e[t[n[i]]]=n[i];return e}function jt(t){var e=[];for(var n in t)H(t[n])&&e.push(n);return e.sort()}function It(t,e){return function(n){var i=arguments.length;if(e&&(n=Object(n)),i<2||null==n)return n;for(var r=1;r<i;r++)for(var o=arguments[r],s=t(o),a=s.length,c=0;c<a;c++){var u=s[c];e&&void 0!==n[u]||(n[u]=o[u])}return n}}const Pt=It(vt),Lt=It(at),Dt=It(vt,!0);function zt(t){if(!E(t))return{};if(g)return g(t);var e=function(){};e.prototype=t;var n=new e;return e.prototype=null,n}function Bt(t,e){var n=zt(t);return e&&Lt(n,e),n}function Nt(t){return E(t)?K(t)?t.slice():Pt({},t):t}function Rt(t,e){return e(t),t}function Ht(t){return K(t)?t:[t]}function Wt(t){return lt.toPath(t)}function Ft(t,e){for(var n=e.length,i=0;i<n;i++){if(null==t)return;t=t[e[i]]}return n?t:void 0}function qt(t,e,n){var i=Ft(t,Wt(e));return A(i)?n:i}function Ut(t,e){for(var n=(e=Wt(e)).length,i=0;i<n;i++){var r=e[i];if(!$(t,r))return!1;t=t[r]}return!!n}function Vt(t){return t}function Kt(t){return t=Lt({},t),function(e){return ut(e,t)}}function $t(t){return t=Wt(t),function(e){return Ft(e,t)}}function Xt(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,o){return t.call(e,n,i,r,o)}}return function(){return t.apply(e,arguments)}}function Yt(t,e,n){return null==t?Vt:H(t)?Xt(t,e,n):E(t)&&!K(t)?Kt(t):$t(t)}function Jt(t,e){return Yt(t,e,1/0)}function Gt(t,e,n){return lt.iteratee!==Jt?lt.iteratee(t,e):Yt(t,e,n)}function Qt(t,e,n){e=Gt(e,n);for(var i=at(t),r=i.length,o={},s=0;s<r;s++){var a=i[s];o[a]=e(t[a],a,t)}return o}function Zt(){}function te(t){return null==t?Zt:function(e){return qt(t,e)}}function ee(t,e,n){var i=Array(Math.max(0,t));e=Xt(e,n,1);for(var r=0;r<t;r++)i[r]=e(r);return i}function ne(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}lt.toPath=Ht,lt.iteratee=Jt;const ie=Date.now||function(){return(new Date).getTime()};function re(t){var e=function(e){return t[e]},n="(?:"+at(t).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(r,e):t}}const oe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},se=re(oe),ae=re(Ot(oe)),ce=lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ue=/(.)^/,le={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},he=/\\|'|\r|\n|\u2028|\u2029/g;function de(t){return"\\"+le[t]}var pe=/^\s*(\w|\$)+\s*$/;function fe(t,e,n){!e&&n&&(e=n),e=Dt({},e,lt.templateSettings);var i=RegExp([(e.escape||ue).source,(e.interpolate||ue).source,(e.evaluate||ue).source].join("|")+"|$","g"),r=0,o="__p+='";t.replace(i,(function(e,n,i,s,a){return o+=t.slice(r,a).replace(he,de),r=a+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e})),o+="';\n";var s,a=e.variable;if(a){if(!pe.test(a))throw new Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{s=new Function(a,"_",o)}catch(t){throw t.source=o,t}var c=function(t){return s.call(this,t,lt)};return c.source="function("+a+"){\n"+o+"}",c}function me(t,e,n){var i=(e=Wt(e)).length;if(!i)return H(n)?n.call(t):n;for(var r=0;r<i;r++){var o=null==t?void 0:t[e[r]];void 0===o&&(o=n,r=i),t=H(o)?o.call(t):o}return t}var ve=0;function ge(t){var e=++ve+"";return t?t+e:e}function ye(t){var e=lt(t);return e._chain=!0,e}function _e(t,e,n,i,r){if(!(i instanceof e))return t.apply(n,r);var o=zt(t.prototype),s=t.apply(o,r);return E(s)?s:o}var be=C((function(t,e){var n=be.placeholder,i=function(){for(var r=0,o=e.length,s=Array(o),a=0;a<o;a++)s[a]=e[a]===n?arguments[r++]:e[a];for(;r<arguments.length;)s.push(arguments[r++]);return _e(t,i,this,this,s)};return i}));be.placeholder=lt;const xe=be,we=C((function(t,e,n){if(!H(t))throw new TypeError("Bind must be called on a function");var i=C((function(r){return _e(t,i,e,this,n.concat(r))}));return i})),Me=Z(ot);function Ce(t,e,n,i){if(i=i||[],e||0===e){if(e<=0)return i.concat(t)}else e=1/0;for(var r=i.length,o=0,s=ot(t);o<s;o++){var a=t[o];if(Me(a)&&(K(a)||Y(a)))if(e>1)Ce(a,e-1,n,i),r=i.length;else for(var c=0,u=a.length;c<u;)i[r++]=a[c++];else n||(i[r++]=a)}return i}const Ee=C((function(t,e){var n=(e=Ce(e,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=e[n];t[i]=we(t[i],t)}return t}));function Se(t,e){var n=function(i){var r=n.cache,o=""+(e?e.apply(this,arguments):i);return $(r,o)||(r[o]=t.apply(this,arguments)),r[o]};return n.cache={},n}const Ae=C((function(t,e,n){return setTimeout((function(){return t.apply(null,n)}),e)})),ke=xe(Ae,lt,1);function Te(t,e,n){var i,r,o,s,a=0;n||(n={});var c=function(){a=!1===n.leading?0:ie(),i=null,s=t.apply(r,o),i||(r=o=null)},u=function(){var u=ie();a||!1!==n.leading||(a=u);var l=e-(u-a);return r=this,o=arguments,l<=0||l>e?(i&&(clearTimeout(i),i=null),a=u,s=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(c,l)),s};return u.cancel=function(){clearTimeout(i),a=0,i=r=o=null},u}function Oe(t,e,n){var i,r,o,s,a,c=function(){var u=ie()-r;e>u?i=setTimeout(c,e-u):(i=null,n||(s=t.apply(a,o)),i||(o=a=null))},u=C((function(u){return a=this,o=u,r=ie(),i||(i=setTimeout(c,e),n&&(s=t.apply(a,o))),s}));return u.cancel=function(){clearTimeout(i),i=o=a=null},u}function je(t,e){return xe(e,t)}function Ie(t){return function(){return!t.apply(this,arguments)}}function Pe(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}}function Le(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function De(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}const ze=xe(De,2);function Be(t,e,n){e=Gt(e,n);for(var i,r=at(t),o=0,s=r.length;o<s;o++)if(e(t[i=r[o]],i,t))return i}function Ne(t){return function(e,n,i){n=Gt(n,i);for(var r=ot(e),o=t>0?0:r-1;o>=0&&o<r;o+=t)if(n(e[o],o,e))return o;return-1}}const Re=Ne(1),He=Ne(-1);function We(t,e,n,i){for(var r=(n=Gt(n,i,1))(e),o=0,s=ot(t);o<s;){var a=Math.floor((o+s)/2);n(t[a])<r?o=a+1:s=a}return o}function Fe(t,e,n){return function(i,r,o){var s=0,a=ot(i);if("number"==typeof o)t>0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return i[o=n(i,r)]===r?o:-1;if(r!=r)return(o=e(l.call(i,s,a),G))>=0?o+s:-1;for(o=t>0?s:a-1;o>=0&&o<a;o+=t)if(i[o]===r)return o;return-1}}const qe=Fe(1,Re,We),Ue=Fe(-1,He);function Ve(t,e,n){var i=(Me(t)?Re:Be)(t,e,n);if(void 0!==i&&-1!==i)return t[i]}function Ke(t,e){return Ve(t,Kt(e))}function $e(t,e,n){var i,r;if(e=Xt(e,n),Me(t))for(i=0,r=t.length;i<r;i++)e(t[i],i,t);else{var o=at(t);for(i=0,r=o.length;i<r;i++)e(t[o[i]],o[i],t)}return t}function Xe(t,e,n){e=Gt(e,n);for(var i=!Me(t)&&at(t),r=(i||t).length,o=Array(r),s=0;s<r;s++){var a=i?i[s]:s;o[s]=e(t[a],a,t)}return o}function Ye(t){return function(e,n,i,r){var o=arguments.length>=3;return function(e,n,i,r){var o=!Me(e)&&at(e),s=(o||e).length,a=t>0?0:s-1;for(r||(i=e[o?o[a]:a],a+=t);a>=0&&a<s;a+=t){var c=o?o[a]:a;i=n(i,e[c],c,e)}return i}(e,Xt(n,r,4),i,o)}}const Je=Ye(1),Ge=Ye(-1);function Qe(t,e,n){var i=[];return e=Gt(e,n),$e(t,(function(t,n,r){e(t,n,r)&&i.push(t)})),i}function Ze(t,e,n){return Qe(t,Ie(Gt(e)),n)}function tn(t,e,n){e=Gt(e,n);for(var i=!Me(t)&&at(t),r=(i||t).length,o=0;o<r;o++){var s=i?i[o]:o;if(!e(t[s],s,t))return!1}return!0}function en(t,e,n){e=Gt(e,n);for(var i=!Me(t)&&at(t),r=(i||t).length,o=0;o<r;o++){var s=i?i[o]:o;if(e(t[s],s,t))return!0}return!1}function nn(t,e,n,i){return Me(t)||(t=kt(t)),("number"!=typeof n||i)&&(n=0),qe(t,e,n)>=0}const rn=C((function(t,e,n){var i,r;return H(e)?r=e:(e=Wt(e),i=e.slice(0,-1),e=e[e.length-1]),Xe(t,(function(t){var o=r;if(!o){if(i&&i.length&&(t=Ft(t,i)),null==t)return;o=t[e]}return null==o?o:o.apply(t,n)}))}));function on(t,e){return Xe(t,$t(e))}function sn(t,e){return Qe(t,Kt(e))}function an(t,e,n){var i,r,o=-1/0,s=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var a=0,c=(t=Me(t)?t:kt(t)).length;a<c;a++)null!=(i=t[a])&&i>o&&(o=i);else e=Gt(e,n),$e(t,(function(t,n,i){((r=e(t,n,i))>s||r===-1/0&&o===-1/0)&&(o=t,s=r)}));return o}function cn(t,e,n){var i,r,o=1/0,s=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var a=0,c=(t=Me(t)?t:kt(t)).length;a<c;a++)null!=(i=t[a])&&i<o&&(o=i);else e=Gt(e,n),$e(t,(function(t,n,i){((r=e(t,n,i))<s||r===1/0&&o===1/0)&&(o=t,s=r)}));return o}var un=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function ln(t){return t?K(t)?l.call(t):j(t)?t.match(un):Me(t)?Xe(t,Vt):kt(t):[]}function hn(t,e,n){if(null==e||n)return Me(t)||(t=kt(t)),t[ne(t.length-1)];var i=ln(t),r=ot(i);e=Math.max(Math.min(e,r),0);for(var o=r-1,s=0;s<e;s++){var a=ne(s,o),c=i[s];i[s]=i[a],i[a]=c}return i.slice(0,e)}function dn(t){return hn(t,1/0)}function pn(t,e,n){var i=0;return e=Gt(e,n),on(Xe(t,(function(t,n,r){return{value:t,index:i++,criteria:e(t,n,r)}})).sort((function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return t.index-e.index})),"value")}function fn(t,e){return function(n,i,r){var o=e?[[],[]]:{};return i=Gt(i,r),$e(n,(function(e,r){var s=i(e,r,n);t(o,e,s)})),o}}const mn=fn((function(t,e,n){$(t,n)?t[n].push(e):t[n]=[e]})),vn=fn((function(t,e,n){t[n]=e})),gn=fn((function(t,e,n){$(t,n)?t[n]++:t[n]=1})),yn=fn((function(t,e,n){t[n?0:1].push(e)}),!0);function _n(t){return null==t?0:Me(t)?t.length:at(t).length}function bn(t,e,n){return e in n}const xn=C((function(t,e){var n={},i=e[0];if(null==t)return n;H(i)?(e.length>1&&(i=Xt(i,e[1])),e=vt(t)):(i=bn,e=Ce(e,!1,!1),t=Object(t));for(var r=0,o=e.length;r<o;r++){var s=e[r],a=t[s];i(a,s,t)&&(n[s]=a)}return n})),wn=C((function(t,e){var n,i=e[0];return H(i)?(i=Ie(i),e.length>1&&(n=e[1])):(e=Xe(Ce(e,!1,!1),String),i=function(t,n){return!nn(e,n)}),xn(t,i,n)}));function Mn(t,e,n){return l.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))}function Cn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[0]:Mn(t,t.length-e)}function En(t,e,n){return l.call(t,null==e||n?1:e)}function Sn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[t.length-1]:En(t,Math.max(0,t.length-e))}function An(t){return Qe(t,Boolean)}function kn(t,e){return Ce(t,e,!1)}const Tn=C((function(t,e){return e=Ce(e,!0,!0),Qe(t,(function(t){return!nn(e,t)}))})),On=C((function(t,e){return Tn(t,e)}));function jn(t,e,n,i){k(e)||(i=n,n=e,e=!1),null!=n&&(n=Gt(n,i));for(var r=[],o=[],s=0,a=ot(t);s<a;s++){var c=t[s],u=n?n(c,s,t):c;e&&!n?(s&&o===u||r.push(c),o=u):n?nn(o,u)||(o.push(u),r.push(c)):nn(r,c)||r.push(c)}return r}const In=C((function(t){return jn(Ce(t,!0,!0))}));function Pn(t){for(var e=[],n=arguments.length,i=0,r=ot(t);i<r;i++){var o=t[i];if(!nn(e,o)){var s;for(s=1;s<n&&nn(arguments[s],o);s++);s===n&&e.push(o)}}return e}function Ln(t){for(var e=t&&an(t,ot).length||0,n=Array(e),i=0;i<e;i++)n[i]=on(t,i);return n}const Dn=C(Ln);function zn(t,e){for(var n={},i=0,r=ot(t);i<r;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n}function Bn(t,e,n){null==e&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var i=Math.max(Math.ceil((e-t)/n),0),r=Array(i),o=0;o<i;o++,t+=n)r[o]=t;return r}function Nn(t,e){if(null==e||e<1)return[];for(var n=[],i=0,r=t.length;i<r;)n.push(l.call(t,i,i+=e));return n}function Rn(t,e){return t._chain?lt(e).chain():e}function Hn(t){return $e(jt(t),(function(e){var n=lt[e]=t[e];lt.prototype[e]=function(){var t=[this._wrapped];return u.apply(t,arguments),Rn(this,n.apply(lt,t))}})),lt}$e(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=s[t];lt.prototype[t]=function(){var n=this._wrapped;return null!=n&&(e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Rn(this,n)}})),$e(["concat","join","slice"],(function(t){var e=s[t];lt.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Rn(this,t)}}));const Wn=lt;var Fn=Hn(i);Fn._=Fn;const qn=Fn}},n={};function i(t){var r=n[t];if(void 0!==r)return r.exports;var o=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),i.p="";var r,o,s={};return r=i(1308),(o=new URL(r.uri,document.location)).pathname=o.pathname.slice(0,o.pathname.lastIndexOf("/")+1),i.p=`${o.origin}${o.pathname}`,(()=>{"use strict";i.r(s),i.d(s,{CONTROL_COMM_PROTOCOL_VERSION:()=>S,CONTROL_COMM_TARGET:()=>E,CONTROL_COMM_TIMEOUT:()=>A,DOMWidgetModel:()=>Ye,DOMWidgetView:()=>Ze,IJupyterWidgetRegistry:()=>cn,JUPYTER_WIDGETS_VERSION:()=>w,JupyterPhosphorPanelWidget:()=>Qe,JupyterPhosphorWidget:()=>Ge,LayoutModel:()=>en,LayoutView:()=>nn,ManagerBase:()=>k,PROTOCOL_VERSION:()=>M,StyleModel:()=>rn,StyleView:()=>on,ViewList:()=>an,WidgetModel:()=>Xe,WidgetView:()=>Je,WrappedError:()=>d,assign:()=>l,base64ToBuffer:()=>x,bufferToBase64:()=>b,bufferToHex:()=>y,difference:()=>c,hexToBuffer:()=>_,isEqual:()=>u,pack_models:()=>$e,put_buffers:()=>m,reject:()=>f,remove_buffers:()=>v,resolvePromisesDict:()=>p,serialize_state:()=>T,shims:()=>sn,unpack_models:()=>Ke,uuid:()=>h});var t=i(7991),e=i(8960),n=i(6343),r=i.n(n),o=i(8360),a=i.n(o);function c(t,e){return t.filter((t=>-1===e.indexOf(t)))}function u(t,e){return r()(t,e)}let l=Object.assign||function(t){for(let e=1;e<arguments.length;e++){let n=arguments[e];for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t};function h(){return e.UUID.uuid4()}class d extends Error{constructor(t,e){super(t),console.warn("WrappedError has been deprecated!"),this.error_stack=e instanceof d?e.error_stack:[e],this.error_stack.push(this)}}function p(t){let e=Object.keys(t),n=[];return e.forEach((function(e){n.push(t[e])})),Promise.all(n).then((t=>{let n={};for(let i=0;i<e.length;i++)n[e[i]]=t[i];return n}))}function f(t,e){return function(n){throw e&&console.error(new Error(t)),n}}function m(t,e,n){for(let i=0;i<e.length;i++){let r=e[i],o=t;for(let t=0;t<r.length-1;t++)o=o[r[t]];o[r[r.length-1]]=n[i]}}function v(t){let e=[],n=[];return{state:function t(i,r){if(i.toJSON&&(i=i.toJSON()),Array.isArray(i)){let o=!1;for(let s=0;s<i.length;s++){let a=i[s];if(a)if(a instanceof ArrayBuffer||ArrayBuffer.isView(a))o||(i=i.slice(),o=!0),e.push(ArrayBuffer.isView(a)?a.buffer:a),n.push(r.concat([s])),i[s]=null;else{let e=t(a,r.concat([s]));e!==a&&(o||(i=i.slice(),o=!0),i[s]=e)}}}else if(a()(i))for(let o in i){let s=!1;if(i.hasOwnProperty(o)){let a=i[o];if(a)if(a instanceof ArrayBuffer||ArrayBuffer.isView(a))s||(i=Object.assign({},i),s=!0),e.push(ArrayBuffer.isView(a)?a.buffer:a),n.push(r.concat([o])),delete i[o];else{let e=t(a,r.concat([o]));e!==a&&(s||(i=Object.assign({},i),s=!0),i[o]=e)}}}return i}(t,[]),buffers:e,buffer_paths:n}}let g=["00","01","02","03","04","05","06","07","08","09","0A","0B","0C","0D","0E","0F","10","11","12","13","14","15","16","17","18","19","1A","1B","1C","1D","1E","1F","20","21","22","23","24","25","26","27","28","29","2A","2B","2C","2D","2E","2F","30","31","32","33","34","35","36","37","38","39","3A","3B","3C","3D","3E","3F","40","41","42","43","44","45","46","47","48","49","4A","4B","4C","4D","4E","4F","50","51","52","53","54","55","56","57","58","59","5A","5B","5C","5D","5E","5F","60","61","62","63","64","65","66","67","68","69","6A","6B","6C","6D","6E","6F","70","71","72","73","74","75","76","77","78","79","7A","7B","7C","7D","7E","7F","80","81","82","83","84","85","86","87","88","89","8A","8B","8C","8D","8E","8F","90","91","92","93","94","95","96","97","98","99","9A","9B","9C","9D","9E","9F","A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","AA","AB","AC","AD","AE","AF","B0","B1","B2","B3","B4","B5","B6","B7","B8","B9","BA","BB","BC","BD","BE","BF","C0","C1","C2","C3","C4","C5","C6","C7","C8","C9","CA","CB","CC","CD","CE","CF","D0","D1","D2","D3","D4","D5","D6","D7","D8","D9","DA","DB","DC","DD","DE","DF","E0","E1","E2","E3","E4","E5","E6","E7","E8","E9","EA","EB","EC","ED","EE","EF","F0","F1","F2","F3","F4","F5","F6","F7","F8","F9","FA","FB","FC","FD","FE","FF"];function y(t){let e=new Uint8Array(t),n=[];for(let t=0;t<e.length;t++)n.push(g[e[t]]);return n.join("")}function _(t){let e=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2)e[n/2]=parseInt(t.slice(n,n+2),16);return e.buffer}function b(e){return(0,t.iI)(new Uint8Array(e))}function x(e){return(0,t.bg)(e).buffer}const w="1.2.0",M="2.1.0",C=M.split(".",1)[0],E="jupyter.widget.control",S="1.0.0",A=4e3;class k{constructor(){this.comm_target_name="jupyter.widget",this._models=Object.create(null)}display_model(t,e,n={}){return this.create_view(e,n).then((e=>this.display_view(t,e,n))).catch(f("Could not create view",!0))}setViewOptions(t={}){return t}create_view(t,e={}){let n=t.state_change=t.state_change.then((()=>this.loadClass(t.get("_view_name"),t.get("_view_module"),t.get("_view_module_version")).then((n=>{let i=new n({model:t,options:this.setViewOptions(e)});return i.listenTo(t,"destroy",i.remove),Promise.resolve(i.render()).then((()=>i))})).catch(f("Could not create a view for model id "+t.model_id,!0)))),i=h();return t.views[i]=n,n.then((t=>{t.once("remove",(()=>{delete t.model.views[i]}),this)})),t.state_change}callbacks(t){return{}}get_model(t){return this._models[t]}has_model(t){return void 0!==this._models[t]}handle_comm_open(t,e){let n=(e.metadata||{}).version||"";if(n.split(".",1)[0]!==C){let t=`Wrong widget protocol version: received protocol version '${n}', but was expecting major version '${C}'`;return console.error(t),Promise.reject(t)}let i=e.content.data,r=i.buffer_paths||[],o=(e.buffers||[]).map((t=>t instanceof DataView?t:new DataView(t instanceof ArrayBuffer?t:t.buffer)));return m(i.state,r,o),this.new_model({model_name:i.state._model_name,model_module:i.state._model_module,model_module_version:i.state._model_module_version,comm:t},i.state).catch(f("Could not create a model.",!0))}new_widget(t,e={}){let n;if(void 0===t.view_name||void 0===t.view_module||void 0===t.view_module_version)return Promise.reject("new_widget(...) must be given view information in the options.");n=t.comm?Promise.resolve(t.comm):this._create_comm(this.comm_target_name,t.model_id,{state:{_model_module:t.model_module,_model_module_version:t.model_module_version,_model_name:t.model_name,_view_module:t.view_module,_view_module_version:t.view_module_version,_view_name:t.view_name}},{version:M});let i=Object.assign({},t);return n.then((t=>(i.comm=t,this.new_model(i,e).then((t=>(t.sync("create",t),t))))),(()=>(i.model_id||(i.model_id=h()),this.new_model(i,e))))}register_model(t,e){this._models[t]=e,e.then((e=>{e.once("comm:close",(()=>{delete this._models[t]}))}))}async new_model(t,e={}){let n;if(t.model_id)n=t.model_id;else{if(!t.comm)throw new Error("Neither comm nor model_id provided in options object. At least one must exist.");n=t.model_id=t.comm.comm_id}let i=this._make_model(t,e);return this.register_model(n,i),await i}async _make_model(t,e={}){let n,i=t.model_id,r=this.loadClass(t.model_name,t.model_module,t.model_module_version);try{n=await r}catch(t){throw console.error("Could not instantiate widget"),t}if(!n)throw new Error(`Cannot find model module ${t.model_module}@${t.model_module_version}, ${t.model_name}`);let o=await n._deserialize_state(e,this),s=new n(o,{widget_manager:this,model_id:i,comm:t.comm});return s.name=t.model_name,s.module=t.model_module,s}async _loadFromKernel(){let t,e;try{const n=await this._create_comm(E,h(),{},{version:S});await new Promise(((i,r)=>{n.on_msg((n=>{t=n.content.data,"update_states"===t.method?(e=(n.buffers||[]).map((t=>t instanceof DataView?t:new DataView(t instanceof ArrayBuffer?t:t.buffer))),i(null)):console.warn(`\n Unknown ${t.method} message on the Control channel\n `)})),n.on_close((()=>r("Control comm was closed too early"))),n.send({method:"request_states"},{}),setTimeout((()=>r("Control comm did not respond in time")),A)})),n.close()}catch(t){return console.warn('Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason:',t),this._loadFromKernelModels()}const n=t.states,i={},r={};for(let n=0;n<t.buffer_paths.length;n++){const[o,...s]=t.buffer_paths[n],a=e[n];i[o]||(i[o]=[],r[o]=[]),i[o].push(s),r[o].push(a)}let o=await Promise.all(Object.keys(n).map((async t=>({widget_id:t,comm:this.has_model(t)?void 0:await this._create_comm("jupyter.widget",t)}))));await Promise.all(o.map((async({widget_id:t,comm:e})=>{const o=n[t];t in i&&m(o,i[t],r[t]);try{if(e)await this.new_model({model_name:o.model_name,model_module:o.model_module,model_module_version:o.model_module_version,model_id:t,comm:e},o.state);else{const e=await this.get_model(t),n=await e.constructor._deserialize_state(o.state,this);e.set_state(n)}}catch(t){console.error(t)}})))}async _loadFromKernelModels(){const t=await this._get_comm_info(),n=await Promise.all(Object.keys(t).map((async t=>{if(this.has_model(t))return;const n=await this._create_comm(this.comm_target_name,t);let i="";const r=new e.PromiseDelegate;return n.on_msg((t=>{if(t.parent_header.msg_id===i&&"comm_msg"===t.header.msg_type&&"update"===t.content.data.method){const e=t.content.data,i=e.buffer_paths||[],o=t.buffers||[];m(e.state,i,o),r.resolve({comm:n,msg:t})}})),i=n.send({method:"request_state"},this.callbacks(void 0)),r.promise})));await Promise.all(n.map((async t=>{if(!t)return;const e=t.msg.content;await this.new_model({model_name:e.data.state._model_name,model_module:e.data.state._model_module,model_module_version:e.data.state._model_module_version,comm:t.comm},e.data.state)})))}clear_state(){return p(this._models).then((t=>{Object.keys(t).forEach((e=>t[e].close())),this._models=Object.create(null)}))}get_state(t={}){const e=Object.keys(this._models).map((t=>this._models[t]));return Promise.all(e).then((e=>T(e,t)))}set_state(t){if(!(t.version_major&&t.version_major<=2))throw"Unsupported widget state format";let e=t.state;return this._get_comm_info().then((t=>Promise.all(Object.keys(e).map((n=>{let i={base64:x,hex:_},r=e[n],o=r.state;if(r.buffers){let t=r.buffers.map((t=>t.path)),e=r.buffers.map((t=>new DataView(i[t.encoding](t.data))));m(r.state,t,e)}if(this.has_model(n))return this.get_model(n).then((t=>t.constructor._deserialize_state(o||{},this).then((e=>(t.set_state(e),t)))));let s={model_id:n,model_name:r.model_name,model_module:r.model_module,model_module_version:r.model_module_version};return t.hasOwnProperty(n)?this._create_comm(this.comm_target_name,n).then((t=>(s.comm=t,this.new_model(s)))):this.new_model(s,o)})))))}disconnect(){Object.keys(this._models).forEach((t=>{this._models[t].then((t=>{t.comm_live=!1}))}))}resolveUrl(t){return Promise.resolve(t)}filterExistingModelState(t){let e=t.state;return e=Object.keys(e).filter((t=>!this.has_model(t))).reduce(((t,n)=>(t[n]=e[n],t)),{}),Object.assign(Object.assign({},t),{state:e})}}function T(t,e={}){const n={};return t.forEach((t=>{const i=t.model_id,r=v(t.serialize(t.get_state(e.drop_defaults))),o=r.buffers.map(((t,e)=>({data:b(t),path:r.buffer_paths[e],encoding:"base64"})));n[i]={model_name:t.name,model_module:t.module,model_module_version:t.get("_model_module_version"),state:r.state},o.length>0&&(n[i].buffers=o)})),{version_major:2,version_minor:0,state:n}}function O(t,e,n){if(null==t)return this;let i;if("object"==typeof t?(i=t,n=e):(i={})[t]=e,n||(n={}),!this._validate(i,n))return!1;let r=n.unset,o=n.silent,s=[],a=this._changing;this._changing=!0;try{a||(this._previousAttributes=Object.assign({},this.attributes),this.changed={});let t=this.attributes,c=this.changed,l=this._previousAttributes;for(let n in i)e=i[n],u(t[n],e)||s.push(n),u(l[n],e)?delete c[n]:c[n]=e,r?delete t[n]:t[n]=e;if(this.id=this.get(this.idAttribute),!o){s.length&&(this._pending=n);for(let e=0;e<s.length;e++)this.trigger("change:"+s[e],this,t[s[e]],n)}if(a)return this;if(!o)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n)}finally{this._pending=!1,this._changing=!1}return this}var j=i(7646),I=i(4651),P=i.n(I);const L=Element.prototype;let D=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.msMatchesSelector||L.oMatchesSelector||function(t){let e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;for(;--n>=0&&e.item(n)!==this;);return n>-1};class z extends j.View{_removeElement(){this.undelegateEvents(),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}_setElement(t){this.el=t}_setAttributes(t){for(let e in t)e in this.el?this.el[e]=t[e]:this.el.setAttribute(e,t[e])}delegate(t,e,n){"string"!=typeof e&&(n=e,e=null),void 0===this._domEvents&&(this._domEvents=[]);let i=this.el,r=e?function(t){let r=t.target||t.srcElement;for(;r&&r!==i;r=r.parentNode)if(D.call(r,e))return t.delegateTarget=r,n.handleEvent?n.handleEvent(t):n(t)}:n;return this.el.addEventListener(t,r,!1),this._domEvents.push({eventName:t,handler:r,listener:n,selector:e}),r}undelegate(t,e,n){if("function"==typeof e&&(n=e,e=null),this.el&&this._domEvents){let i=this._domEvents.slice(),r=i.length;for(;r--;){let o=i[r];!(o.eventName!==t||n&&o.listener!==n||e&&o.selector!==e)&&(this.el.removeEventListener(o.eventName,o.handler,!1),this._domEvents.splice(r,1))}}return this}undelegateEvents(){if(this.el&&this._domEvents){let t=this._domEvents.length;for(let e=0;e<t;e++){let t=this._domEvents[e];this.el.removeEventListener(t.eventName,t.handler,!1)}this._domEvents.length=0}return this}}var B;function N(t){return"function"==typeof t.iter?t.iter():new H(t)}function R(t,e){for(var n,i=0,r=N(t);void 0!==(n=r.next());)if(!1===e(n,i++))return}!function(t){function e(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=t.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(t[a]===e)return a}return-1}function n(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=t.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(t[a]===e)return a}return-1}function i(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=t.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(e(t[a],a))return a}return-1}function r(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=t.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(e(t[a],a))return a}return-1}function o(t,e,n){void 0===e&&(e=0),void 0===n&&(n=-1);var i=t.length;if(!(i<=1))for(e=e<0?Math.max(0,e+i):Math.min(e,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);e<n;){var r=t[e],o=t[n];t[e++]=o,t[n--]=r}}function s(t,e){var n=t.length;if(e<0&&(e+=n),!(e<0||e>=n)){for(var i=t[e],r=e+1;r<n;++r)t[r-1]=t[r];return t.length=n-1,i}}t.firstIndexOf=e,t.lastIndexOf=n,t.findFirstIndex=i,t.findLastIndex=r,t.findFirstValue=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=i(t,e,n,r);return-1!==o?t[o]:void 0},t.findLastValue=function(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var o=r(t,e,n,i);return-1!==o?t[o]:void 0},t.lowerBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var c=a>>1,u=s+c;n(t[u],e)<0?(s=u+1,a-=c+1):a=c}return s},t.upperBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var c=a>>1,u=s+c;n(t[u],e)>0?a=c:(s=u+1,a-=c+1)}return s},t.shallowEqual=function(t,e,n){if(t===e)return!0;if(t.length!==e.length)return!1;for(var i=0,r=t.length;i<r;++i)if(n?!n(t[i],e[i]):t[i]!==e[i])return!1;return!0},t.slice=function(t,e){void 0===e&&(e={});var n=e.start,i=e.stop,r=e.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var o,s=t.length;void 0===n?n=r<0?s-1:0:n<0?n=Math.max(n+s,r<0?-1:0):n>=s&&(n=r<0?s-1:s),void 0===i?i=r<0?-1:s:i<0?i=Math.max(i+s,r<0?-1:0):i>=s&&(i=r<0?s-1:s),o=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],c=0;c<o;++c)a[c]=t[n+c*r];return a},t.move=function(t,e,n){var i=t.length;if(!(i<=1)&&(e=e<0?Math.max(0,e+i):Math.min(e,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=t[e],o=e<n?1:-1,s=e;s!==n;s+=o)t[s]=t[s+o];t[n]=r}},t.reverse=o,t.rotate=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var s=i-n+1;if(e>0?e%=s:e<0&&(e=(e%s+s)%s),0!==e){var a=n+e;o(t,n,a-1),o(t,a,i),o(t,n,i)}}},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0!==r){var o;n=n<0?Math.max(0,n+r):Math.min(n,r-1),o=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var s=0;s<o;++s)t[(n+s)%r]=e}},t.insert=function(t,e,n){var i=t.length;e=e<0?Math.max(0,e+i):Math.min(e,i);for(var r=i;r>e;--r)t[r]=t[r-1];t[e]=n},t.removeAt=s,t.removeFirstOf=function(t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e(t,n,i,r);return-1!==o&&s(t,o),o},t.removeLastOf=function(t,e,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var o=n(t,e,i,r);return-1!==o&&s(t,o),o},t.removeAllOf=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&t[s]===e||i<n&&(s<=i||s>=n)&&t[s]===e?o++:o>0&&(t[s-o]=t[s]);return o>0&&(t.length=r-o),o},t.removeFirstWhere=function(t,e,n,r){var o;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(t,e,n,r);return-1!==a&&(o=s(t,a)),{index:a,value:o}},t.removeLastWhere=function(t,e,n,i){var o;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(t,e,n,i);return-1!==a&&(o=s(t,a)),{index:a,value:o}},t.removeAllWhere=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&e(t[s],s)||i<n&&(s<=i||s>=n)&&e(t[s],s)?o++:o>0&&(t[s-o]=t[s]);return o>0&&(t.length=r-o),o}}(B||(B={}));var H=function(){function t(t){this._index=0,this._source=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},t}();function W(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new F(N(t.map(N)))}(function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?t:this.next()}}})(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?this._source[t]:this.next()}}}(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?[t,this._source[t]]:this.next()}}}(),function(){function t(t){this._fn=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},t.prototype.next=function(){return this._fn.call(void 0)}}();var F=function(){function t(t){this._cloned=!1,this._source=t,this._active=void 0}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone());return e._active=this._active&&this._active.clone(),e._cloned=!0,this._cloned=!0,e},t.prototype.next=function(){if(void 0===this._active){var t=this._source.next();if(void 0===t)return;this._active=this._cloned?t.clone():t}var e=this._active.next();return void 0!==e?e:(this._active=void 0,this.next())},t}();function q(){return new U}var U=function(){function t(){}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t},t.prototype.next=function(){},t}();!function(){function t(t,e){this._source=t,this._index=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._index)},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return[this._index++,t]}}();var V=function(){function t(t,e){this._index=0,this._source=t,this._fn=e}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){for(var t,e=this._fn,n=this._source;void 0!==(t=n.next());)if(e(t,this._index++))return t},t}();function K(t,e){for(var n,i=0,r=N(t);void 0!==(n=r.next());)if(e(n,i++))return n}function $(t,e){return new Y(N(t),e)}var X,Y=function(){function t(t,e){this._index=0,this._source=t,this._fn=e}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return this._fn.call(void 0,t,this._index++)},t}();function J(t,e,n){var i=0,r=N(t),o=r.next();if(void 0===o&&void 0===n)throw new TypeError("Reduce of empty iterable with no initial value.");if(void 0===o)return n;var s,a,c=r.next();if(void 0===c&&void 0===n)return o;if(void 0===c)return e(n,o,i++);for(s=e(void 0===n?o:e(n,o,i++),c,i++);void 0!==(a=r.next());)s=e(s,a,i++);return s}function G(t){return new ot(t,1)}!function(){function t(t,e,n){this._index=0,this._start=t,this._stop=e,this._step=n,this._length=X.rangeLength(t,e,n)}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._start,this._stop,this._step);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(t){t.rangeLength=function(t,e,n){return 0===n?1/0:t>e&&n>0||t<e&&n<0?0:Math.ceil((e-t)/n)}}(X||(X={}));var Q,Z,tt,et,nt,it,rt,ot=function(){function t(t,e){this._value=t,this._count=e}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._value,this._count)},t.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value},t}();function st(t){return"function"==typeof t.iter?t.iter():new ct(t)}!function(){function t(t){this._source=t,this._index=t.length-1}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function t(t,e){this._source=t,this._step=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._step)},t.prototype.next=function(){for(var t=this._source.next(),e=this._step-1;e>0;--e)this._source.next();return t}}(),function(t){function e(t,e,n){void 0===n&&(n=0);for(var i=new Array(e.length),r=0,o=n,s=e.length;r<s;++r,++o){if(-1===(o=t.indexOf(e[r],o)))return null;i[r]=o}return i}t.findIndices=e,t.matchSumOfSquares=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var o=0,s=0,a=r.length;s<a;++s){var c=r[s]-i;o+=c*c}return{score:o,indices:r}},t.matchSumOfDeltas=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var o=0,s=i-1,a=0,c=r.length;a<c;++a){var u=r[a];o+=u-s-1,s=u}return{score:o,indices:r}},t.highlight=function(t,e,n){for(var i=[],r=0,o=0,s=e.length;r<s;){for(var a=e[r],c=e[r];++r<s&&e[r]===c+1;)c++;o<a&&i.push(t.slice(o,a)),a<c+1&&i.push(n(t.slice(a,c+1))),o=c+1}return o<t.length&&i.push(t.slice(o)),i},t.cmp=function(t,e){return t<e?-1:t>e?1:0}}(Q||(Q={})),function(){function t(t,e){this._source=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._count)},t.prototype.next=function(){if(!(this._count<=0)){var t=this._source.next();if(void 0!==t)return this._count--,t}}}(),function(){function t(t){this._source=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.map((function(t){return t.clone()})))},t.prototype.next=function(){for(var t=new Array(this._source.length),e=0,n=this._source.length;e<n;++e){var i=this._source[e].next();if(void 0===i)return;t[e]=i}return t}}(),function(t){t.copyText=function(t){var e=document.body,n=function(i){i.preventDefault(),i.stopPropagation(),i.clipboardData.setData("text",t),e.removeEventListener("copy",n,!0)};e.addEventListener("copy",n,!0),document.execCommand("copy")}}(Z||(Z={})),function(t){t.boxSizing=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.borderTopWidth)||0,i=parseFloat(e.borderLeftWidth)||0,r=parseFloat(e.borderRightWidth)||0,o=parseFloat(e.borderBottomWidth)||0,s=parseFloat(e.paddingTop)||0,a=parseFloat(e.paddingLeft)||0,c=parseFloat(e.paddingRight)||0,u=parseFloat(e.paddingBottom)||0;return{borderTop:n,borderLeft:i,borderRight:r,borderBottom:o,paddingTop:s,paddingLeft:a,paddingRight:c,paddingBottom:u,horizontalSum:i+a+c+r,verticalSum:n+s+u+o}},t.sizeLimits=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.minWidth)||0,i=parseFloat(e.minHeight)||0,r=parseFloat(e.maxWidth)||1/0,o=parseFloat(e.maxHeight)||1/0;return{minWidth:n,minHeight:i,maxWidth:r=Math.max(n,r),maxHeight:o=Math.max(i,o)}},t.hitTest=function(t,e,n){var i=t.getBoundingClientRect();return e>=i.left&&e<i.right&&n>=i.top&&n<i.bottom},t.scrollIntoViewIfNeeded=function(t,e){var n=t.getBoundingClientRect(),i=e.getBoundingClientRect();i.top<=n.top&&i.bottom>=n.bottom||(i.top<n.top&&i.height<=n.height||i.bottom>n.bottom&&i.height>=n.height?t.scrollTop-=n.top-i.top:(i.top<n.top&&i.height>n.height||i.bottom>n.bottom&&i.height<n.height)&&(t.scrollTop-=n.bottom-i.bottom))}}(tt||(tt={})),function(t){t.IS_MAC=!!navigator.platform.match(/Mac/i),t.IS_WIN=!!navigator.platform.match(/Win/i),t.IS_IE=/Trident/.test(navigator.userAgent),t.IS_EDGE=/Edge/.test(navigator.userAgent),t.accelKey=function(e){return t.IS_MAC?e.metaKey:e.ctrlKey}}(et||(et={})),function(t){t.calculateSpecificity=function(t){if(t in it.specificityCache)return it.specificityCache[t];var e=it.calculateSingle(t);return it.specificityCache[t]=e},t.isValid=function(t){if(t in it.validityCache)return it.validityCache[t];var e=!0;try{it.testElem.querySelector(t)}catch(t){e=!1}return it.validityCache[t]=e},t.matches=function(t,e){return it.protoMatchFunc.call(t,e)}}(nt||(nt={})),function(t){var e;t.specificityCache=Object.create(null),t.validityCache=Object.create(null),t.testElem=document.createElement("div"),t.protoMatchFunc=(e=Element.prototype).matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(t){var e=this,n=e.ownerDocument?e.ownerDocument.querySelectorAll(t):[];return-1!==Array.prototype.indexOf.call(n,e)},t.calculateSingle=function(t){var e=0,l=0,h=0;function d(e){var n=t.match(e);return null!==n&&(t=t.slice(n[0].length),!0)}for(t=(t=t.split(",",1)[0]).replace(u," $1 ");t.length>0;)if(d(n))e++;else if(d(i))l++;else if(d(r))l++;else if(d(s))h++;else if(d(a))l++;else if(d(o))h++;else if(!d(c))return 0;return(e=Math.min(e,255))<<16|(l=Math.min(l,255))<<8|Math.min(h,255)};var n=/^#[^\s\+>~#\.\[:]+/,i=/^\.[^\s\+>~#\.\[:]+/,r=/^\[[^\]]+\]/,o=/^[^\s\+>~#\.\[:]+/,s=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,a=/^:[^\s\+>~#\.\[:]+/,c=/^[\s\+>~\*]+/,u=/:not\(([^\)]+)\)/g}(it||(it={})),function(t){function e(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=t.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(t[a]===e)return a}return-1}function n(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=t.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(t[a]===e)return a}return-1}function i(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=t.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(e(t[a],a))return a}return-1}function r(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=t.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(e(t[a],a))return a}return-1}function o(t,e,n){void 0===e&&(e=0),void 0===n&&(n=-1);var i=t.length;if(!(i<=1))for(e=e<0?Math.max(0,e+i):Math.min(e,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);e<n;){var r=t[e],o=t[n];t[e++]=o,t[n--]=r}}function s(t,e){var n=t.length;if(e<0&&(e+=n),!(e<0||e>=n)){for(var i=t[e],r=e+1;r<n;++r)t[r-1]=t[r];return t.length=n-1,i}}t.firstIndexOf=e,t.lastIndexOf=n,t.findFirstIndex=i,t.findLastIndex=r,t.findFirstValue=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=i(t,e,n,r);return-1!==o?t[o]:void 0},t.findLastValue=function(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var o=r(t,e,n,i);return-1!==o?t[o]:void 0},t.lowerBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var c=a>>1,u=s+c;n(t[u],e)<0?(s=u+1,a-=c+1):a=c}return s},t.upperBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var c=a>>1,u=s+c;n(t[u],e)>0?a=c:(s=u+1,a-=c+1)}return s},t.shallowEqual=function(t,e,n){if(t===e)return!0;if(t.length!==e.length)return!1;for(var i=0,r=t.length;i<r;++i)if(n?!n(t[i],e[i]):t[i]!==e[i])return!1;return!0},t.slice=function(t,e){void 0===e&&(e={});var n=e.start,i=e.stop,r=e.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var o,s=t.length;void 0===n?n=r<0?s-1:0:n<0?n=Math.max(n+s,r<0?-1:0):n>=s&&(n=r<0?s-1:s),void 0===i?i=r<0?-1:s:i<0?i=Math.max(i+s,r<0?-1:0):i>=s&&(i=r<0?s-1:s),o=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],c=0;c<o;++c)a[c]=t[n+c*r];return a},t.move=function(t,e,n){var i=t.length;if(!(i<=1)&&(e=e<0?Math.max(0,e+i):Math.min(e,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=t[e],o=e<n?1:-1,s=e;s!==n;s+=o)t[s]=t[s+o];t[n]=r}},t.reverse=o,t.rotate=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var s=i-n+1;if(e>0?e%=s:e<0&&(e=(e%s+s)%s),0!==e){var a=n+e;o(t,n,a-1),o(t,a,i),o(t,n,i)}}},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0!==r){var o;n=n<0?Math.max(0,n+r):Math.min(n,r-1),o=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var s=0;s<o;++s)t[(n+s)%r]=e}},t.insert=function(t,e,n){var i=t.length;e=e<0?Math.max(0,e+i):Math.min(e,i);for(var r=i;r>e;--r)t[r]=t[r-1];t[e]=n},t.removeAt=s,t.removeFirstOf=function(t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e(t,n,i,r);return-1!==o&&s(t,o),o},t.removeLastOf=function(t,e,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var o=n(t,e,i,r);return-1!==o&&s(t,o),o},t.removeAllOf=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&t[s]===e||i<n&&(s<=i||s>=n)&&t[s]===e?o++:o>0&&(t[s-o]=t[s]);return o>0&&(t.length=r-o),o},t.removeFirstWhere=function(t,e,n,r){var o;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(t,e,n,r);return-1!==a&&(o=s(t,a)),{index:a,value:o}},t.removeLastWhere=function(t,e,n,i){var o;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(t,e,n,i);return-1!==a&&(o=s(t,a)),{index:a,value:o}},t.removeAllWhere=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&e(t[s],s)||i<n&&(s<=i||s>=n)&&e(t[s],s)?o++:o>0&&(t[s-o]=t[s]);return o>0&&(t.length=r-o),o}}(rt||(rt={}));var at,ct=function(){function t(t){this._index=0,this._source=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},t}();(function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?t:this.next()}}})(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?this._source[t]:this.next()}}}(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?[t,this._source[t]]:this.next()}}}(),function(){function t(t){this._fn=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},t.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function t(t){this._cloned=!1,this._source=t,this._active=void 0}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone());return e._active=this._active&&this._active.clone(),e._cloned=!0,this._cloned=!0,e},t.prototype.next=function(){if(void 0===this._active){var t=this._source.next();if(void 0===t)return;this._active=this._cloned?t.clone():t}var e=this._active.next();return void 0!==e?e:(this._active=void 0,this.next())}}(),function(){function t(){}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t},t.prototype.next=function(){}}(),function(){function t(t,e){this._source=t,this._index=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._index)},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return[this._index++,t]}}(),function(){function t(t,e){this._index=0,this._source=t,this._fn=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){for(var t,e=this._fn,n=this._source;void 0!==(t=n.next());)if(e(t,this._index++))return t}}(),function(){function t(t,e){this._index=0,this._source=t,this._fn=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return this._fn.call(void 0,t,this._index++)}}(),function(){function t(t,e,n){this._index=0,this._start=t,this._stop=e,this._step=n,this._length=at.rangeLength(t,e,n)}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._start,this._stop,this._step);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(t){t.rangeLength=function(t,e,n){return 0===n?1/0:t>e&&n>0||t<e&&n<0?0:Math.ceil((e-t)/n)}}(at||(at={})),function(){function t(t,e){this._value=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._value,this._count)},t.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}();var ut,lt,ht=function(){function t(t){this._source=t,this._index=t.length-1}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]},t}();function dt(t,e){for(var n,i=0,r=function(t){return"function"==typeof t.iter?t.iter():new pt(t)}(t);void 0!==(n=r.next());)if(!1===e(n,i++))return}!function(){function t(t,e){this._source=t,this._step=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._step)},t.prototype.next=function(){for(var t=this._source.next(),e=this._step-1;e>0;--e)this._source.next();return t}}(),function(t){function e(t,e,n){void 0===n&&(n=0);for(var i=new Array(e.length),r=0,o=n,s=e.length;r<s;++r,++o){if(-1===(o=t.indexOf(e[r],o)))return null;i[r]=o}return i}t.findIndices=e,t.matchSumOfSquares=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var o=0,s=0,a=r.length;s<a;++s){var c=r[s]-i;o+=c*c}return{score:o,indices:r}},t.matchSumOfDeltas=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var o=0,s=i-1,a=0,c=r.length;a<c;++a){var u=r[a];o+=u-s-1,s=u}return{score:o,indices:r}},t.highlight=function(t,e,n){for(var i=[],r=0,o=0,s=e.length;r<s;){for(var a=e[r],c=e[r];++r<s&&e[r]===c+1;)c++;o<a&&i.push(t.slice(o,a)),a<c+1&&i.push(n(t.slice(a,c+1))),o=c+1}return o<t.length&&i.push(t.slice(o)),i},t.cmp=function(t,e){return t<e?-1:t>e?1:0}}(ut||(ut={})),function(){function t(t,e){this._source=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._count)},t.prototype.next=function(){if(!(this._count<=0)){var t=this._source.next();if(void 0!==t)return this._count--,t}}}(),function(){function t(t){this._source=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.map((function(t){return t.clone()})))},t.prototype.next=function(){for(var t=new Array(this._source.length),e=0,n=this._source.length;e<n;++e){var i=this._source[e].next();if(void 0===i)return;t[e]=i}return t}}(),function(t){function e(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=t.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(t[a]===e)return a}return-1}function n(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=t.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(t[a]===e)return a}return-1}function i(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=t.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(e(t[a],a))return a}return-1}function r(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=t.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(e(t[a],a))return a}return-1}function o(t,e,n){void 0===e&&(e=0),void 0===n&&(n=-1);var i=t.length;if(!(i<=1))for(e=e<0?Math.max(0,e+i):Math.min(e,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);e<n;){var r=t[e],o=t[n];t[e++]=o,t[n--]=r}}function s(t,e){var n=t.length;if(e<0&&(e+=n),!(e<0||e>=n)){for(var i=t[e],r=e+1;r<n;++r)t[r-1]=t[r];return t.length=n-1,i}}t.firstIndexOf=e,t.lastIndexOf=n,t.findFirstIndex=i,t.findLastIndex=r,t.findFirstValue=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=i(t,e,n,r);return-1!==o?t[o]:void 0},t.findLastValue=function(t,e,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var o=r(t,e,n,i);return-1!==o?t[o]:void 0},t.lowerBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var c=a>>1,u=s+c;n(t[u],e)<0?(s=u+1,a-=c+1):a=c}return s},t.upperBound=function(t,e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var c=a>>1,u=s+c;n(t[u],e)>0?a=c:(s=u+1,a-=c+1)}return s},t.shallowEqual=function(t,e,n){if(t===e)return!0;if(t.length!==e.length)return!1;for(var i=0,r=t.length;i<r;++i)if(n?!n(t[i],e[i]):t[i]!==e[i])return!1;return!0},t.slice=function(t,e){void 0===e&&(e={});var n=e.start,i=e.stop,r=e.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var o,s=t.length;void 0===n?n=r<0?s-1:0:n<0?n=Math.max(n+s,r<0?-1:0):n>=s&&(n=r<0?s-1:s),void 0===i?i=r<0?-1:s:i<0?i=Math.max(i+s,r<0?-1:0):i>=s&&(i=r<0?s-1:s),o=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],c=0;c<o;++c)a[c]=t[n+c*r];return a},t.move=function(t,e,n){var i=t.length;if(!(i<=1)&&(e=e<0?Math.max(0,e+i):Math.min(e,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=t[e],o=e<n?1:-1,s=e;s!==n;s+=o)t[s]=t[s+o];t[n]=r}},t.reverse=o,t.rotate=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var s=i-n+1;if(e>0?e%=s:e<0&&(e=(e%s+s)%s),0!==e){var a=n+e;o(t,n,a-1),o(t,a,i),o(t,n,i)}}},t.fill=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0!==r){var o;n=n<0?Math.max(0,n+r):Math.min(n,r-1),o=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var s=0;s<o;++s)t[(n+s)%r]=e}},t.insert=function(t,e,n){var i=t.length;e=e<0?Math.max(0,e+i):Math.min(e,i);for(var r=i;r>e;--r)t[r]=t[r-1];t[e]=n},t.removeAt=s,t.removeFirstOf=function(t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e(t,n,i,r);return-1!==o&&s(t,o),o},t.removeLastOf=function(t,e,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var o=n(t,e,i,r);return-1!==o&&s(t,o),o},t.removeAllOf=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&t[s]===e||i<n&&(s<=i||s>=n)&&t[s]===e?o++:o>0&&(t[s-o]=t[s]);return o>0&&(t.length=r-o),o},t.removeFirstWhere=function(t,e,n,r){var o;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(t,e,n,r);return-1!==a&&(o=s(t,a)),{index:a,value:o}},t.removeLastWhere=function(t,e,n,i){var o;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(t,e,n,i);return-1!==a&&(o=s(t,a)),{index:a,value:o}},t.removeAllWhere=function(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=t.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&e(t[s],s)||i<n&&(s<=i||s>=n)&&e(t[s],s)?o++:o>0&&(t[s-o]=t[s]);return o>0&&(t.length=r-o),o}}(lt||(lt={}));var pt=function(){function t(t){this._index=0,this._source=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},t}();function ft(){return new gt}(function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?t:this.next()}}})(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?this._source[t]:this.next()}}}(),function(){function t(t,e){void 0===e&&(e=Object.keys(t)),this._index=0,this._source=t,this._keys=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source,this._keys);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._keys.length)){var t=this._keys[this._index++];return t in this._source?[t,this._source[t]]:this.next()}}}(),function(){function t(t){this._fn=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},t.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function t(t){this._cloned=!1,this._source=t,this._active=void 0}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone());return e._active=this._active&&this._active.clone(),e._cloned=!0,this._cloned=!0,e},t.prototype.next=function(){if(void 0===this._active){var t=this._source.next();if(void 0===t)return;this._active=this._cloned?t.clone():t}var e=this._active.next();return void 0!==e?e:(this._active=void 0,this.next())}}();var mt,vt,gt=function(){function t(){}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t},t.prototype.next=function(){},t}();!function(){function t(t,e){this._source=t,this._index=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._index)},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return[this._index++,t]}}(),function(){function t(t,e){this._index=0,this._source=t,this._fn=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){for(var t,e=this._fn,n=this._source;void 0!==(t=n.next());)if(e(t,this._index++))return t}}(),function(){function t(t,e){this._index=0,this._source=t,this._fn=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source.clone(),this._fn);return e._index=this._index,e},t.prototype.next=function(){var t=this._source.next();if(void 0!==t)return this._fn.call(void 0,t,this._index++)}}(),function(){function t(t,e,n){this._index=0,this._start=t,this._stop=e,this._step=n,this._length=mt.rangeLength(t,e,n)}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._start,this._stop,this._step);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(t){t.rangeLength=function(t,e,n){return 0===n?1/0:t>e&&n>0||t<e&&n<0?0:Math.ceil((e-t)/n)}}(mt||(mt={})),function(){function t(t,e){this._value=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._value,this._count)},t.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}(),function(){function t(t){this._source=t,this._index=t.length-1}t.prototype.iter=function(){return this},t.prototype.clone=function(){var e=new t(this._source);return e._index=this._index,e},t.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function t(t,e){this._source=t,this._step=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._step)},t.prototype.next=function(){for(var t=this._source.next(),e=this._step-1;e>0;--e)this._source.next();return t}}(),function(t){function e(t,e,n){void 0===n&&(n=0);for(var i=new Array(e.length),r=0,o=n,s=e.length;r<s;++r,++o){if(-1===(o=t.indexOf(e[r],o)))return null;i[r]=o}return i}t.findIndices=e,t.matchSumOfSquares=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var o=0,s=0,a=r.length;s<a;++s){var c=r[s]-i;o+=c*c}return{score:o,indices:r}},t.matchSumOfDeltas=function(t,n,i){void 0===i&&(i=0);var r=e(t,n,i);if(!r)return null;for(var o=0,s=i-1,a=0,c=r.length;a<c;++a){var u=r[a];o+=u-s-1,s=u}return{score:o,indices:r}},t.highlight=function(t,e,n){for(var i=[],r=0,o=0,s=e.length;r<s;){for(var a=e[r],c=e[r];++r<s&&e[r]===c+1;)c++;o<a&&i.push(t.slice(o,a)),a<c+1&&i.push(n(t.slice(a,c+1))),o=c+1}return o<t.length&&i.push(t.slice(o)),i},t.cmp=function(t,e){return t<e?-1:t>e?1:0}}(vt||(vt={})),function(){function t(t,e){this._source=t,this._count=e}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.clone(),this._count)},t.prototype.next=function(){if(!(this._count<=0)){var t=this._source.next();if(void 0!==t)return this._count--,t}}}(),function(){function t(t){this._source=t}t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._source.map((function(t){return t.clone()})))},t.prototype.next=function(){for(var t=new Array(this._source.length),e=0,n=this._source.length;e<n;++e){var i=this._source[e].next();if(void 0===i)return;t[e]=i}return t}}();var yt,_t=function(){function t(t){this._root=new yt.LeafNode,this.cmp=t}return Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){var t=yt.firstLeaf(this._root);return t.size>0?t.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){var t=yt.lastLeaf(this._root);return t.size>0?t.items[t.size-1]:void 0},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return yt.iterItems(this._root)},t.prototype.retro=function(){return yt.retroItems(this._root)},t.prototype.slice=function(t,e){return yt.sliceItems(this._root,t,e)},t.prototype.retroSlice=function(t,e){return yt.retroSliceItems(this._root,t,e)},t.prototype.at=function(t){return yt.itemAt(this._root,t)},t.prototype.has=function(t,e){return yt.hasItem(this._root,t,e)},t.prototype.indexOf=function(t,e){return yt.indexOf(this._root,t,e)},t.prototype.get=function(t,e){return yt.getItem(this._root,t,e)},t.prototype.assign=function(t){this.clear(),this.update(t)},t.prototype.insert=function(t){var e=yt.insertItem(this._root,t,this.cmp);return this._root=yt.maybeSplitRoot(this._root),e},t.prototype.update=function(t){var e=this;dt(t,(function(t){e.insert(t)}))},t.prototype.delete=function(t,e){var n=yt.deleteItem(this._root,t,e);return this._root=yt.maybeExtractRoot(this._root),n},t.prototype.remove=function(t){var e=yt.removeItem(this._root,t);return this._root=yt.maybeExtractRoot(this._root),e},t.prototype.clear=function(){yt.clear(this._root),this._root=new yt.LeafNode},t}();!function(t){t.from=function(e,n){var i=new t(n);return i.assign(e),i}}(_t||(_t={})),function(t){var e=function(){function t(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(t.prototype,"type",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),t}();t.BranchNode=e;var n=function(){function t(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(t.prototype,"type",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),t}();function i(t){for(;0===t.type;)t=t.children[0];return t}function r(t){for(;0===t.type;)t=t.children[t.children.length-1];return t}function o(t){0===t.type?(dt(t.children,o),t.children.length=0,t.sizes.length=0,t.items.length=0):(t.items.length=0,t.next=null,t.prev=null)}t.LeafNode=n,t.firstLeaf=i,t.lastLeaf=r,t.iterItems=function(t){var e=i(t);return new c(e,0,-1)},t.retroItems=function(t){var e=r(t);return new u(e,e.size-1,-1)},t.sliceItems=function(t,e,n){e=void 0===e?0:e<0?Math.max(0,e+t.size):Math.min(e,t.size),n=void 0===n?t.size:n<0?Math.max(0,n+t.size):Math.min(n,t.size);var i=Math.max(0,n-e);if(0===i)return ft();for(;0===t.type;){var r=l(t.sizes,e);r>0&&(e-=t.sizes[r-1]),t=t.children[r]}return new c(t,e,i)},t.retroSliceItems=function(t,e,n){e=void 0===e?t.size-1:e<0?Math.max(-1,e+t.size):Math.min(e,t.size-1),n=void 0===n?-1:n<0?Math.max(-1,n+t.size):Math.min(n,t.size-1);var i=Math.max(0,e-n);if(0===i)return ft();for(;0===t.type;){var r=l(t.sizes,e);r>0&&(e-=t.sizes[r-1]),t=t.children[r]}return new u(t,e,i)},t.itemAt=function(t,e){if(e<0&&(e+=t.size),!(e<0||e>=t.size)){for(;0===t.type;){var n=l(t.sizes,e);n>0&&(e-=t.sizes[n-1]),t=t.children[n]}return t.items[e]}},t.hasItem=function(t,e,n){for(;0===t.type;){var i=h(t.items,e,n);t=t.children[i]}return d(t.items,e,n)>=0},t.indexOf=function(t,e,n){for(var i=0;0===t.type;){var r=h(t.items,e,n);r>0&&(i+=t.sizes[r-1]),t=t.children[r]}var o=d(t.items,e,n);return o>=0?i+o:-i+o},t.getItem=function(t,e,n){for(;0===t.type;){var i=h(t.items,e,n);t=t.children[i]}var r=d(t.items,e,n);return r>=0?t.items[r]:void 0},t.insertItem=function t(e,n,i){if(1===e.type){var r,o=d(e.items,n,i);return o>=0?(r=e.items[o],e.items[o]=n):(r=void 0,lt.insert(e.items,-o-1,n)),r}var a=h(e.items,n,i),c=e.children[a],u=c.size,l=t(c,n,i),m=c.size;if(e.items[a]=c.items[0],u===m)return l;if(c.width>s){var v=f(c);lt.insert(e.children,a+1,v),lt.insert(e.items,a+1,v.items[0])}return p(e,a),l},t.deleteItem=function t(e,n,i){if(1===e.type){var r=d(e.items,n,i);if(r<0)return;return lt.removeAt(e.items,r)}var o=h(e.items,n,i),s=e.children[o],c=s.size,u=t(s,n,i);return c===s.size||(e.items[o]=s.items[0],s.width<a&&(o=m(e,o)),p(e,o)),u},t.removeItem=function t(e,n){if(n<0&&(n+=e.size),!(n<0||n>=e.size)){if(1===e.type)return lt.removeAt(e.items,n);var i=l(e.sizes,n);i>0&&(n-=e.sizes[i]);var r=e.children[i],o=t(r,n);return e.items[i]=r.items[0],r.width<a&&(i=m(e,i)),p(e,i),o}},t.clear=o,t.maybeSplitRoot=function(t){if(t.width<=s)return t;var n=new e,i=f(t);return n.sizes[0]=t.size,n.sizes[1]=t.size+i.size,n.children[0]=t,n.children[1]=i,n.items[0]=t.items[0],n.items[1]=i.items[0],n},t.maybeExtractRoot=function(t){if(1===t.type)return t;if(t.children.length>1)return t;var e=t.children.pop();return o(t),e};var s=32,a=s>>1,c=function(){function t(t,e,n){this._node=t,this._index=e,this._count=n}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node,this._index,this._count)},t.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},t}(),u=function(){function t(t,e,n){this._node=t,this._index=e,this._count=n}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node,this._index,this._count)},t.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},t}();function l(t,e){for(var n=t.length,i=0;i<n;++i)if(t[i]>e)return i;return n-1}function h(t,e,n){for(var i=t.length,r=1;r<i;++r)if(n(t[r],e)>0)return r-1;return i-1}function d(t,e,n){for(var i=t.length,r=0;r<i;++r){var o=n(t[r],e);if(0===o)return r;if(o>0)return-r-1}return-i-1}function p(t,e){for(var n=t.sizes,i=t.children,r=e>0?n[e-1]:0,o=i.length;e<o;++e)r=n[e]=r+i[e].size;n.length=i.length}function f(t){if(1===t.type){for(var i=new n,r=t.items,o=i.items,s=a,c=r.length;s<c;++s)o.push(r[s]);return r.length=a,t.next&&(t.next.prev=i),i.next=t.next,i.prev=t,t.next=i,i}var u=new e,l=t.children,h=u.children;for(s=a,c=l.length;s<c;++s)h.push(l[s]);l.length=a;var d=t.items,f=u.items;for(s=a,c=d.length;s<c;++s)f.push(d[s]);return d.length=a,p(t,a),p(u,0),u}function m(t,e){var n,i,r,s,c,u,l=t.children[e],h=0===e?t.children[e+1]:t.children[e-1],d=0===e,f=1===l.type,m=h.width>a;if(f&&m&&d){var v=h;return(g=l).items.push(v.items.shift()),t.items[e+1]=v.items[0],e}if(f&&m&&!d)return v=h,(g=l).items.unshift(v.items.pop()),t.items[e]=g.items[0],e-1;if(f&&!m&&d){var g=l;return(n=(v=h).items).unshift.apply(n,g.items),lt.removeAt(t.children,e),lt.removeAt(t.items,e+1),g.prev&&(g.prev.next=v),v.prev=g.prev,o(g),e}if(f&&!m&&!d)return g=l,(i=(v=h).items).push.apply(i,g.items),lt.removeAt(t.children,e),lt.removeAt(t.items,e),g.next&&(g.next.prev=v),v.next=g.next,o(g),e-1;if(!f&&m&&d)return v=h,(g=l).children.push(v.children.shift()),g.items.push(v.items.shift()),t.items[e+1]=v.items[0],p(g,g.width-1),p(v,0),e;if(!f&&m&&!d)return v=h,(g=l).children.unshift(v.children.pop()),g.items.unshift(v.items.pop()),t.items[e]=g.items[0],p(g,0),p(v,v.width-1),e-1;if(!f&&!m&&d)return g=l,(r=(v=h).children).unshift.apply(r,g.children),(s=v.items).unshift.apply(s,g.items),lt.removeAt(t.children,e),lt.removeAt(t.items,e+1),p(v,0),g.children.length=0,o(g),e;if(!f&&!m&&!d)return g=l,(c=(v=h).children).push.apply(c,g.children),(u=v.items).push.apply(u,g.items),lt.removeAt(t.children,e),lt.removeAt(t.items,e),p(v,0),g.children.length=0,o(g),e-1;throw"unreachable"}}(yt||(yt={}));var bt,xt=function(){function t(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this._size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstNode",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastNode",{get:function(){return this._last},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return new t.ForwardValueIterator(this._first)},t.prototype.retro=function(){return new t.RetroValueIterator(this._last)},t.prototype.nodes=function(){return new t.ForwardNodeIterator(this._first)},t.prototype.retroNodes=function(){return new t.RetroNodeIterator(this._last)},t.prototype.assign=function(t){var e=this;this.clear(),dt(t,(function(t){e.addLast(t)}))},t.prototype.push=function(t){this.addLast(t)},t.prototype.pop=function(){return this.removeLast()},t.prototype.shift=function(t){this.addFirst(t)},t.prototype.unshift=function(){return this.removeFirst()},t.prototype.addFirst=function(t){var e=new bt.LinkedListNode(this,t);return this._first?(e.next=this._first,this._first.prev=e,this._first=e):(this._first=e,this._last=e),this._size++,e},t.prototype.addLast=function(t){var e=new bt.LinkedListNode(this,t);return this._last?(e.prev=this._last,this._last.next=e,this._last=e):(this._first=e,this._last=e),this._size++,e},t.prototype.insertBefore=function(t,e){if(!e||e===this._first)return this.addFirst(t);if(!(e instanceof bt.LinkedListNode)||e.list!==this)throw new Error("Reference node is not owned by the list.");var n=new bt.LinkedListNode(this,t),i=e,r=i.prev;return n.next=i,n.prev=r,i.prev=n,r.next=n,this._size++,n},t.prototype.insertAfter=function(t,e){if(!e||e===this._last)return this.addLast(t);if(!(e instanceof bt.LinkedListNode)||e.list!==this)throw new Error("Reference node is not owned by the list.");var n=new bt.LinkedListNode(this,t),i=e,r=i.next;return n.next=r,n.prev=i,i.next=n,r.prev=n,this._size++,n},t.prototype.removeFirst=function(){var t=this._first;if(t)return t===this._last?(this._first=null,this._last=null):(this._first=t.next,this._first.prev=null),t.list=null,t.next=null,t.prev=null,this._size--,t.value},t.prototype.removeLast=function(){var t=this._last;if(t)return t===this._first?(this._first=null,this._last=null):(this._last=t.prev,this._last.next=null),t.list=null,t.next=null,t.prev=null,this._size--,t.value},t.prototype.removeNode=function(t){if(!(t instanceof bt.LinkedListNode)||t.list!==this)throw new Error("Node is not owned by the list.");var e=t;e===this._first&&e===this._last?(this._first=null,this._last=null):e===this._first?(this._first=e.next,this._first.prev=null):e===this._last?(this._last=e.prev,this._last.next=null):(e.next.prev=e.prev,e.prev.next=e.next),e.list=null,e.next=null,e.prev=null,this._size--},t.prototype.clear=function(){for(var t=this._first;t;){var e=t.next;t.list=null,t.prev=null,t.next=null,t=e}this._first=null,this._last=null,this._size=0},t}();!function(t){t.from=function(e){var n=new t;return n.assign(e),n};var e=function(){function t(t){this._node=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node)},t.prototype.next=function(){if(this._node){var t=this._node;return this._node=t.next,t.value}},t}();t.ForwardValueIterator=e;var n=function(){function t(t){this._node=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node)},t.prototype.next=function(){if(this._node){var t=this._node;return this._node=t.prev,t.value}},t}();t.RetroValueIterator=n;var i=function(){function t(t){this._node=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node)},t.prototype.next=function(){if(this._node){var t=this._node;return this._node=t.next,t}},t}();t.ForwardNodeIterator=i;var r=function(){function t(t){this._node=t}return t.prototype.iter=function(){return this},t.prototype.clone=function(){return new t(this._node)},t.prototype.next=function(){if(this._node){var t=this._node;return this._node=t.prev,t}},t}();t.RetroNodeIterator=r}(xt||(xt={})),function(t){t.LinkedListNode=function(t,e){this.list=null,this.next=null,this.prev=null,this.list=t,this.value=e}}(bt||(bt={}));var wt,Mt=function(t,e){return Mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Mt(t,e)},Ct=function(){function t(t){this.type=t}return Object.defineProperty(t.prototype,"isConflatable",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.conflate=function(t){return!1},t}(),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Mt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),Object.defineProperty(e.prototype,"isConflatable",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.conflate=function(t){return!0},e}(Ct);!function(t){function e(t,e){var n=i.get(t);if(n&&0!==n.length){var r,s=function(n,i){for(var r,s=st(n);void 0!==(r=s.next());)if((a=r)&&!function(t,e,n){var i=!0;try{i="function"==typeof t?t(e,n):t.messageHook(e,n)}catch(t){o(t)}return i}(a,t,e))return!1;var a;return!0}("function"==typeof(r=n).retro?r.retro():new ht(r));s&&l(t,e)}else l(t,e)}t.sendMessage=e,t.postMessage=function(t,e){e.isConflatable&&function(n,i){for(var r,o=st(n);void 0!==(r=o.next());)if((s=r).handler===t&&s.msg&&s.msg.type===e.type&&s.msg.isConflatable&&s.msg.conflate(e))return!0;var s;return!1}(n)||function(t,e){n.addLast({handler:t,msg:e}),0===s&&(s=c(h))}(t,e)},t.installMessageHook=function(t,e){var n=i.get(t);n&&-1!==n.indexOf(e)||(n?n.push(e):i.set(t,[e]))},t.removeMessageHook=function(t,e){var n=i.get(t);if(n){var r=n.indexOf(e);-1!==r&&(n[r]=null,d(n))}},t.clearData=function(t){var e=i.get(t);e&&e.length>0&&(rt.fill(e,null),d(e)),function(t,e){for(var n,i=0,r=st(t);void 0!==(n=r.next());)if(!1===e(n,i++))return}(n,(function(e){e.handler===t&&(e.handler=null,e.msg=null)}))},t.flush=function(){a||0===s||(u(s),a=!0,h(),a=!1)},t.getExceptionHandler=function(){return o},t.setExceptionHandler=function(t){var e=o;return o=t,e};var n=new xt,i=new WeakMap,r=new Set,o=function(t){console.error(t)},s=0,a=!1,c="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate,u="function"==typeof cancelAnimationFrame?cancelAnimationFrame:clearImmediate;function l(t,e){try{t.processMessage(e)}catch(t){o(t)}}function h(){if(s=0,!n.isEmpty){var t={handler:null,msg:null};for(n.addLast(t);;){var i=n.removeFirst();if(i===t)return;i.handler&&i.msg&&e(i.handler,i.msg)}}}function d(t){0===r.size&&c(p),r.add(t)}function p(){r.forEach(f),r.clear()}function f(t){rt.removeAllWhere(t,m)}function m(t){return null===t}}(wt||(wt={}));var St,At=function(){function t(t){this._pid=St.nextPID(),this.name=t.name,this._create=t.create,this._coerce=t.coerce||null,this._compare=t.compare||null,this._changed=t.changed||null}return t.prototype.get=function(t){var e=St.ensureMap(t);return this._pid in e?e[this._pid]:e[this._pid]=this._createValue(t)},t.prototype.set=function(t,e){var n,i=St.ensureMap(t);n=this._pid in i?i[this._pid]:i[this._pid]=this._createValue(t);var r=this._coerceValue(t,e);this._maybeNotify(t,n,i[this._pid]=r)},t.prototype.coerce=function(t){var e,n=St.ensureMap(t);e=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(t);var i=this._coerceValue(t,e);this._maybeNotify(t,e,n[this._pid]=i)},t.prototype._createValue=function(t){return(0,this._create)(t)},t.prototype._coerceValue=function(t,e){var n=this._coerce;return n?n(t,e):e},t.prototype._compareValue=function(t,e){var n=this._compare;return n?n(t,e):t===e},t.prototype._maybeNotify=function(t,e,n){var i=this._changed;i&&!this._compareValue(e,n)&&i(t,e,n)},t}();!function(t){t.clearData=function(t){St.ownerData.delete(t)}}(At||(At={})),function(t){var e;t.ownerData=new WeakMap,t.nextPID=(e=0,function(){return"pid-"+(""+Math.random()).slice(2)+"-"+e++}),t.ensureMap=function(e){var n=t.ownerData.get(e);return n||(n=Object.create(null),t.ownerData.set(e,n),n)}}(St||(St={}));var kt,Tt=function(){function t(t){this._blockedCount=0,this.sender=t}return t.prototype.block=function(t){this._blockedCount++;try{t()}finally{this._blockedCount--}},t.prototype.connect=function(t,e){return kt.connect(this,t,e)},t.prototype.disconnect=function(t,e){return kt.disconnect(this,t,e)},t.prototype.emit=function(t){this._blockedCount||kt.emit(this,t)},t}();!function(t){t.blockAll=function(t,e){var n=kt.blockedProperty;n.set(t,n.get(t)+1);try{e()}finally{n.set(t,n.get(t)-1)}},t.disconnectBetween=function(t,e){kt.disconnectBetween(t,e)},t.disconnectSender=function(t){kt.disconnectSender(t)},t.disconnectReceiver=function(t){kt.disconnectReceiver(t)},t.disconnectAll=function(t){kt.disconnectAll(t)},t.clearData=function(t){kt.disconnectAll(t)},t.getExceptionHandler=function(){return kt.exceptionHandler},t.setExceptionHandler=function(t){var e=kt.exceptionHandler;return kt.exceptionHandler=t,e}}(Tt||(Tt={})),function(t){function e(t){var e=i.get(t);e&&0!==e.length&&(R(e,(function(t){if(t.signal){var e=t.thisArg||t.slot;t.signal=null,u(r.get(e))}})),u(e))}function n(t){var e=r.get(t);e&&0!==e.length&&(R(e,(function(t){if(t.signal){var e=t.signal.sender;t.signal=null,u(i.get(e))}})),u(e))}t.exceptionHandler=function(t){console.error(t)},t.connect=function(t,e,n){n=n||void 0;var o=i.get(t.sender);if(o||(o=[],i.set(t.sender,o)),a(o,t,e,n))return!1;var s=n||e,c=r.get(s);c||(c=[],r.set(s,c));var u={signal:t,slot:e,thisArg:n};return o.push(u),c.push(u),!0},t.disconnect=function(t,e,n){n=n||void 0;var o=i.get(t.sender);if(!o||0===o.length)return!1;var s=a(o,t,e,n);if(!s)return!1;var c=n||e,l=r.get(c);return s.signal=null,u(o),u(l),!0},t.disconnectBetween=function(t,e){var n=i.get(t);if(n&&0!==n.length){var o=r.get(e);o&&0!==o.length&&(R(o,(function(e){e.signal&&e.signal.sender===t&&(e.signal=null)})),u(n),u(o))}},t.disconnectSender=e,t.disconnectReceiver=n,t.disconnectAll=function(t){e(t),n(t)},t.emit=function(e,n){if(!(t.blockedProperty.get(e.sender)>0)){var r=i.get(e.sender);if(r&&0!==r.length)for(var o=0,s=r.length;o<s;++o){var a=r[o];a.signal===e&&c(a,n)}}};var i=new WeakMap,r=new WeakMap,o=new Set,s="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate;function a(t,e,n,i){return K(t,(function(t){return t.signal===e&&t.slot===n&&t.thisArg===i}))}function c(e,n){var i=e.signal,r=e.slot,o=e.thisArg;try{r.call(o,i.sender,n)}catch(e){t.exceptionHandler(e)}}function u(t){0===o.size&&s(l),o.add(t)}function l(){o.forEach(h),o.clear()}function h(t){B.removeAllWhere(t,d)}function d(t){return null===t.signal}t.blockedProperty=new At({name:"blocked",create:function(){return 0}})}(kt||(kt={}));var Ot=function(t,e){return Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Ot(t,e)};function jt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Ot(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var It=function(){function t(t){this._fn=t}return Object.defineProperty(t.prototype,"isDisposed",{get:function(){return!this._fn},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){if(this._fn){var t=this._fn;this._fn=null,t()}},t}(),Pt=(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._disposed=new Tt(e),e}jt(e,t),Object.defineProperty(e.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.isDisposed||(t.prototype.dispose.call(this),this._disposed.emit(void 0),Tt.clearData(this))}}(It),function(){function t(){this._isDisposed=!1,this._items=new Set}return Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._items.forEach((function(t){t.dispose()})),this._items.clear())},t.prototype.contains=function(t){return this._items.has(t)},t.prototype.add=function(t){this._items.add(t)},t.prototype.remove=function(t){this._items.delete(t)},t.prototype.clear=function(){this._items.clear()},t}());!function(t){t.from=function(e){var n=new t;return R(e,(function(t){n.add(t)})),n}}(Pt||(Pt={}));var Lt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._disposed=new Tt(e),e}return jt(e,t),Object.defineProperty(e.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.isDisposed||(t.prototype.dispose.call(this),this._disposed.emit(void 0),Tt.clearData(this))},e}(Pt);!function(t){t.from=function(e){var n=new t;return R(e,(function(t){n.add(t)})),n}}(Lt||(Lt={}));var Dt,zt=function(){function t(t){var e=this;this._onScrollFrame=function(){if(e._scrollTarget){var t=e._scrollTarget,n=t.element,i=t.edge,r=t.distance,o=Dt.SCROLL_EDGE_SIZE-r,s=Math.pow(o/Dt.SCROLL_EDGE_SIZE,2),a=Math.max(1,Math.round(s*Dt.SCROLL_EDGE_SIZE));switch(i){case"top":n.scrollTop-=a;break;case"left":n.scrollLeft-=a;break;case"right":n.scrollLeft+=a;break;case"bottom":n.scrollTop+=a}requestAnimationFrame(e._onScrollFrame)}},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=t.document||document,this.mimeData=t.mimeData,this.dragImage=t.dragImage||null,this.proposedAction=t.proposedAction||"copy",this.supportedActions=t.supportedActions||"all",this.source=t.source||null}return t.prototype.dispose=function(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){var t=Dt.createMouseEvent("pointerup",-1,-1);Dt.dispatchDragLeave(this,this._currentTarget,null,t)}this._finalize("none")}},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),t.prototype.start=function(t,e){var n=this;if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(t,e),this._promise=new Promise((function(t,e){n._resolve=t}));var i=Dt.createMouseEvent("pointermove",t,e);return document.dispatchEvent(i),this._promise},t.prototype.handleEvent=function(t){switch(t.type){case"mousemove":case"pointermove":this._evtMouseMove(t);break;case"mouseup":case"pointerup":this._evtMouseUp(t);break;case"keydown":this._evtKeyDown(t);break;default:t.preventDefault(),t.stopPropagation()}},t.prototype.moveDragImage=function(t,e){if(this.dragImage){var n=this.dragImage.style;n.top=e+"px",n.left=t+"px"}},t.prototype._evtMouseMove=function(t){t.preventDefault(),t.stopPropagation(),this._updateCurrentTarget(t),this._updateDragScroll(t),this.moveDragImage(t.clientX,t.clientY)},t.prototype._evtMouseUp=function(t){if(t.preventDefault(),t.stopPropagation(),0===t.button)if(this._updateCurrentTarget(t),this._currentTarget){if("none"===this._dropAction)return Dt.dispatchDragLeave(this,this._currentTarget,null,t),void this._finalize("none");var e=Dt.dispatchDrop(this,this._currentTarget,t);this._finalize(e)}else this._finalize("none")},t.prototype._evtKeyDown=function(t){t.preventDefault(),t.stopPropagation(),27===t.keyCode&&this.dispose()},t.prototype._addListeners=function(){document.addEventListener("mousedown",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("mouseenter",this,!0),document.addEventListener("mouseleave",this,!0),document.addEventListener("mouseover",this,!0),document.addEventListener("mouseout",this,!0),document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)},t.prototype._removeListeners=function(){document.removeEventListener("mousedown",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mouseenter",this,!0),document.removeEventListener("mouseleave",this,!0),document.removeEventListener("mouseover",this,!0),document.removeEventListener("mouseout",this,!0),document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)},t.prototype._updateDragScroll=function(t){var e=Dt.findScrollTarget(t);(this._scrollTarget||e)&&(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=e)},t.prototype._updateCurrentTarget=function(t){var e=this._currentTarget,n=this._currentTarget,i=this._currentElement,r=this.document.elementFromPoint(t.clientX,t.clientY);this._currentElement=r,r!==i&&r!==n&&Dt.dispatchDragExit(this,n,r,t),r!==i&&r!==n&&(n=Dt.dispatchDragEnter(this,r,n,t)),n!==e&&(this._currentTarget=n,Dt.dispatchDragLeave(this,e,n,t));var o=Dt.dispatchDragOver(this,n,t);this._setDropAction(o)},t.prototype._attachDragImage=function(t,e){if(this.dragImage){this.dragImage.classList.add("lm-mod-drag-image"),this.dragImage.classList.add("p-mod-drag-image");var n=this.dragImage.style;n.pointerEvents="none",n.position="fixed",n.top=e+"px",n.left=t+"px",(this.document instanceof Document?this.document.body:this.document.firstElementChild).appendChild(this.dragImage)}},t.prototype._detachDragImage=function(){if(this.dragImage){var t=this.dragImage.parentNode;t&&t.removeChild(this.dragImage)}},t.prototype._setDropAction=function(e){if(e=Dt.validateAction(e,this.supportedActions),!this._override||this._dropAction!==e)switch(e){case"none":this._dropAction=e,this._override=t.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=e,this._override=t.overrideCursor("copy",this.document);break;case"link":this._dropAction=e,this._override=t.overrideCursor("alias",this.document);break;case"move":this._dropAction=e,this._override=t.overrideCursor("move",this.document)}},t.prototype._finalize=function(t){var e=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,e&&e(t)},t}();function Bt(){return Rt.keyboardLayout}!function(t){t.overrideCursor=function(t,n){void 0===n&&(n=document);var i=++e,r=n instanceof Document?n.body:n.firstElementChild;return r.style.cursor=t,r.classList.add("lm-mod-override-cursor"),r.classList.add("p-mod-override-cursor"),new It((function(){i===e&&(r.style.cursor="",r.classList.remove("lm-mod-override-cursor"),r.classList.remove("p-mod-override-cursor"))}))};var e=0}(zt||(zt={})),function(t){t.SCROLL_EDGE_SIZE=20,t.validateAction=function(t,i){return e[t]&n[i]?t:"none"},t.createMouseEvent=function(t,e,n){var i=document.createEvent("MouseEvent");return i.initMouseEvent(t,!0,!0,window,0,0,0,e,n,!1,!1,!1,!1,0,null),i},t.findScrollTarget=function(e){for(var n=e.clientX,i=e.clientY,r=document.elementFromPoint(n,i);r;r=r.parentElement){var o=r.hasAttribute("data-lm-dragscroll");if(o=o||r.hasAttribute("data-p-dragscroll")){var s=0,a=0;r===document.body&&(s=window.pageXOffset,a=window.pageYOffset);var c=r.getBoundingClientRect(),u=c.top+a,l=c.left+s,h=l+c.width,d=u+c.height;if(!(n<l||n>=h||i<u||i>=d)){var p=n-l+1,f=i-u+1,m=h-n,v=d-i,g=Math.min(p,f,m,v);if(!(g>t.SCROLL_EDGE_SIZE)){var y=void 0;switch(g){case v:y="bottom";break;case f:y="top";break;case m:y="right";break;case p:y="left";break;default:throw"unreachable"}var _=r.scrollWidth-r.clientWidth,b=r.scrollHeight-r.clientHeight,x=void 0;switch(y){case"top":x=b>0&&r.scrollTop>0;break;case"left":x=_>0&&r.scrollLeft>0;break;case"right":x=_>0&&r.scrollLeft<_;break;case"bottom":x=b>0&&r.scrollTop<b;break;default:throw"unreachable"}if(x)return{element:r,edge:y,distance:g}}}}}return null},t.dispatchDragEnter=function(t,e,n,r){if(!e)return null;var o=i("lm-dragenter",t,r,n),s=!e.dispatchEvent(o);if(s)return e;if(o=i("p-dragenter",t,r,n),s=!e.dispatchEvent(o))return e;var a=t.document instanceof Document?t.document.body:t.document.firstElementChild;return e===a?n:(o=i("lm-dragenter",t,r,n),a.dispatchEvent(o),o=i("p-dragenter",t,r,n),a.dispatchEvent(o),a)},t.dispatchDragExit=function(t,e,n,r){if(e){var o=i("lm-dragexit",t,r,n);e.dispatchEvent(o),o=i("p-dragexit",t,r,n),e.dispatchEvent(o)}},t.dispatchDragLeave=function(t,e,n,r){if(e){var o=i("lm-dragleave",t,r,n);e.dispatchEvent(o),o=i("p-dragleave",t,r,n),e.dispatchEvent(o)}},t.dispatchDragOver=function(t,e,n){if(!e)return"none";var r=i("lm-dragover",t,n,null),o=!e.dispatchEvent(r);return o?r.dropAction:(r=i("p-dragover",t,n,null),(o=!e.dispatchEvent(r))?r.dropAction:"none")},t.dispatchDrop=function(t,e,n){if(!e)return"none";var r=i("lm-drop",t,n,null),o=!e.dispatchEvent(r);return o?r.dropAction:(r=i("p-drop",t,n,null),(o=!e.dispatchEvent(r))?r.dropAction:"none")};var e={none:0,copy:1,link:2,move:4},n={none:e.none,copy:e.copy,link:e.link,move:e.move,"copy-link":e.copy|e.link,"copy-move":e.copy|e.move,"link-move":e.link|e.move,all:e.copy|e.link|e.move};function i(t,e,n,i){var r=document.createEvent("MouseEvent");return r.initMouseEvent(t,!0,!0,window,0,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,i),r.dropAction="none",r.mimeData=e.mimeData,r.proposedAction=e.proposedAction,r.supportedActions=e.supportedActions,r.source=e.source,r}}(Dt||(Dt={}));var Nt=function(){function t(e,n,i){void 0===i&&(i=[]),this.name=e,this._codes=n,this._keys=t.extractKeys(n),this._modifierKeys=t.convertToKeySet(i)}return t.prototype.keys=function(){return Object.keys(this._keys)},t.prototype.isValidKey=function(t){return t in this._keys},t.prototype.isModifierKey=function(t){return t in this._modifierKeys},t.prototype.keyForKeydownEvent=function(t){return this._codes[t.keyCode]||""},t}();!function(t){t.extractKeys=function(t){var e=Object.create(null);for(var n in t)e[t[n]]=!0;return e},t.convertToKeySet=function(t){for(var e=Object(null),n=0,i=t.length;n<i;++n)e[t[n]]=!0;return e}}(Nt||(Nt={}));var Rt,Ht=new Nt("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);!function(t){t.keyboardLayout=Ht}(Rt||(Rt={}));var Wt,Ft=function(){return Ft=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Ft.apply(this,arguments)},qt=function(){function t(){this._timerID=0,this._replaying=!1,this._keystrokes=[],this._keydownEvents=[],this._keyBindings=[],this._exactKeyMatch=null,this._commands=Object.create(null),this._commandChanged=new Tt(this),this._commandExecuted=new Tt(this),this._keyBindingChanged=new Tt(this)}return Object.defineProperty(t.prototype,"commandChanged",{get:function(){return this._commandChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"commandExecuted",{get:function(){return this._commandExecuted},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyBindingChanged",{get:function(){return this._keyBindingChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyBindings",{get:function(){return this._keyBindings},enumerable:!0,configurable:!0}),t.prototype.listCommands=function(){return Object.keys(this._commands)},t.prototype.hasCommand=function(t){return t in this._commands},t.prototype.addCommand=function(t,e){var n=this;if(t in this._commands)throw new Error("Command '"+t+"' already registered.");return this._commands[t]=Wt.createCommand(e),this._commandChanged.emit({id:t,type:"added"}),new It((function(){delete n._commands[t],n._commandChanged.emit({id:t,type:"removed"})}))},t.prototype.notifyCommandChanged=function(t){if(void 0!==t&&!(t in this._commands))throw new Error("Command '"+t+"' is not registered.");this._commandChanged.emit({id:t,type:t?"changed":"many-changed"})},t.prototype.describedBy=function(t){var e=this._commands[t];return e&&e.describedBy||{args:null}},t.prototype.label=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.label.call(void 0,n):""},t.prototype.mnemonic=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.mnemonic.call(void 0,n):-1},t.prototype.icon=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.icon.call(void 0,n):""},t.prototype.iconClass=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.iconClass.call(void 0,n):""},t.prototype.iconLabel=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.iconLabel.call(void 0,n):""},t.prototype.caption=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.caption.call(void 0,n):""},t.prototype.usage=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.usage.call(void 0,n):""},t.prototype.className=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.className.call(void 0,n):""},t.prototype.dataset=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return i?i.dataset.call(void 0,n):{}},t.prototype.isEnabled=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return!!i&&i.isEnabled.call(void 0,n)},t.prototype.isToggled=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return!!i&&i.isToggled.call(void 0,n)},t.prototype.isToggleable=function(t,e){var n=this._commands[t];return!!n&&n.isToggleable},t.prototype.isVisible=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i=this._commands[t];return!!i&&i.isVisible.call(void 0,n)},t.prototype.execute=function(t,n){void 0===n&&(n=e.JSONExt.emptyObject);var i,r=this._commands[t];if(!r)return Promise.reject(new Error("Command '"+t+"' not registered."));try{i=r.execute.call(void 0,n)}catch(t){i=Promise.reject(t)}var o=Promise.resolve(i);return this._commandExecuted.emit({id:t,args:n,result:o}),o},t.prototype.addKeyBinding=function(t){var e=this,n=Wt.createKeyBinding(t);return this._keyBindings.push(n),this._keyBindingChanged.emit({binding:n,type:"added"}),new It((function(){B.removeFirstOf(e._keyBindings,n),e._keyBindingChanged.emit({binding:n,type:"removed"})}))},t.prototype.processKeydownEvent=function(e){if(!this._replaying&&!t.isModifierKeyPressed(e)){var n=t.keystrokeForKeydownEvent(e);if(!n)return this._replayKeydownEvents(),void this._clearPendingState();this._keystrokes.push(n);var i=Wt.matchKeyBinding(this._keyBindings,this._keystrokes,e),r=i.exact,o=i.partial;if(!r&&!o)return this._replayKeydownEvents(),void this._clearPendingState();if(e.preventDefault(),e.stopPropagation(),r&&!o)return this._executeKeyBinding(r),void this._clearPendingState();r&&(this._exactKeyMatch=r),this._keydownEvents.push(e),this._startTimer()}},t.prototype._startTimer=function(){var t=this;this._clearTimer(),this._timerID=window.setTimeout((function(){t._onPendingTimeout()}),Wt.CHORD_TIMEOUT)},t.prototype._clearTimer=function(){0!==this._timerID&&(clearTimeout(this._timerID),this._timerID=0)},t.prototype._replayKeydownEvents=function(){0!==this._keydownEvents.length&&(this._replaying=!0,this._keydownEvents.forEach(Wt.replayKeyEvent),this._replaying=!1)},t.prototype._executeKeyBinding=function(t){var e=t.command,n=t.args;if(this.hasCommand(e)&&this.isEnabled(e,n))this.execute(e,n);else{var i=this.hasCommand(e)?"enabled":"registered",r="Cannot execute key binding '"+t.keys.join(", ")+"':",o="command '"+e+"' is not "+i+".";console.warn(r+" "+o)}},t.prototype._clearPendingState=function(){this._clearTimer(),this._exactKeyMatch=null,this._keystrokes.length=0,this._keydownEvents.length=0},t.prototype._onPendingTimeout=function(){this._timerID=0,this._exactKeyMatch?this._executeKeyBinding(this._exactKeyMatch):this._replayKeydownEvents(),this._clearPendingState()},t}();!function(t){function e(t){for(var e="",n=!1,i=!1,r=!1,o=!1,s=0,a=t.split(/\s+/);s<a.length;s++){var c=a[s];"Accel"===c?et.IS_MAC?i=!0:r=!0:"Alt"===c?n=!0:"Cmd"===c?i=!0:"Ctrl"===c?r=!0:"Shift"===c?o=!0:c.length>0&&(e=c)}return{cmd:i,ctrl:r,alt:n,shift:o,key:e}}function n(t){var n="",i=e(t);return i.ctrl&&(n+="Ctrl "),i.alt&&(n+="Alt "),i.shift&&(n+="Shift "),i.cmd&&et.IS_MAC&&(n+="Cmd "),n+i.key}t.parseKeystroke=e,t.normalizeKeystroke=n,t.normalizeKeys=function(t){return(et.IS_WIN?t.winKeys||t.keys:et.IS_MAC?t.macKeys||t.keys:t.linuxKeys||t.keys).map(n)},t.formatKeystroke=function(t){return"string"==typeof t?n(t):t.map(n).join(", ");function n(t){var n=[],i=et.IS_MAC?" ":"+",r=e(t);return r.ctrl&&n.push("Ctrl"),r.alt&&n.push("Alt"),r.shift&&n.push("Shift"),et.IS_MAC&&r.cmd&&n.push("Cmd"),n.push(r.key),n.map(Wt.formatKey).join(i)}},t.isModifierKeyPressed=function(t){var e=Bt(),n=e.keyForKeydownEvent(t);return e.isModifierKey(n)},t.keystrokeForKeydownEvent=function(t){var e=Bt(),n=e.keyForKeydownEvent(t);if(!n||e.isModifierKey(n))return"";var i=[];return t.ctrlKey&&i.push("Ctrl"),t.altKey&&i.push("Alt"),t.shiftKey&&i.push("Shift"),t.metaKey&&et.IS_MAC&&i.push("Cmd"),i.push(n),i.join(" ")}}(qt||(qt={})),function(t){t.CHORD_TIMEOUT=1e3,t.createCommand=function(t){var e,n;return t.icon&&"string"!=typeof t.icon?(n=l(t.iconClass,r),e=l(t.icon,u)):e=n=l(t.iconClass||t.icon,r),{execute:t.execute,describedBy:Ft({args:null},t.describedBy),label:l(t.label,r),mnemonic:l(t.mnemonic,o),icon:e,iconClass:n,iconLabel:l(t.iconLabel,r),caption:l(t.caption,r),usage:l(t.usage,r),className:l(t.className,r),dataset:l(t.dataset,c),isEnabled:t.isEnabled||s,isToggled:t.isToggled||a,isToggleable:t.isToggleable||!!t.isToggled,isVisible:t.isVisible||s}},t.createKeyBinding=function(t){return{keys:qt.normalizeKeys(t),selector:h(t),command:t.command,args:t.args||e.JSONExt.emptyObject}},t.matchKeyBinding=function(t,e,n){for(var i=null,r=!1,o=1/0,s=0,a=0,c=t.length;a<c;++a){var u=t[a],l=d(u.keys,e);if(0!==l)if(2!==l){var h=p(u.selector,n);if(!(-1===h||h>o)){var f=nt.calculateSpecificity(u.selector);(!i||h<o||f>=s)&&(i=u,o=h,s=f)}}else r||-1===p(u.selector,n)||(r=!0)}return{exact:i,partial:r}},t.replayKeyEvent=function(t){t.target.dispatchEvent(function(t){var e=document.createEvent("Event"),n=t.bubbles||!0,i=t.cancelable||!0;return e.initEvent(t.type||"keydown",n,i),e.key=t.key||"",e.keyCode=t.keyCode||0,e.which=t.keyCode||0,e.ctrlKey=t.ctrlKey||!1,e.altKey=t.altKey||!1,e.shiftKey=t.shiftKey||!1,e.metaKey=t.metaKey||!1,e.view=t.view||window,e}(t))},t.formatKey=function(t){return et.IS_MAC?n.hasOwnProperty(t)?n[t]:t:i.hasOwnProperty(t)?i[t]:t};var n={Backspace:"⌫",Tab:"⇥",Enter:"↩",Shift:"⇧",Ctrl:"⌃",Alt:"⌥",Escape:"⎋",PageUp:"⇞",PageDown:"⇟",End:"↘",Home:"↖",ArrowLeft:"←",ArrowUp:"↑",ArrowRight:"→",ArrowDown:"↓",Delete:"⌦",Cmd:"⌘"},i={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},r=function(){return""},o=function(){return-1},s=function(){return!0},a=function(){return!1},c=function(){return{}},u=function(){};function l(t,e){return void 0===t?e:"function"==typeof t?t:function(){return t}}function h(t){if(-1!==t.selector.indexOf(","))throw new Error("Selector cannot contain commas: "+t.selector);if(!nt.isValid(t.selector))throw new Error("Invalid selector: "+t.selector);return t.selector}function d(t,e){if(t.length<e.length)return 0;for(var n=0,i=e.length;n<i;++n)if(t[n]!==e[n])return 0;return t.length>e.length?2:1}function p(t,e){for(var n=e.target,i=e.currentTarget,r=0;null!==n;n=n.parentElement,++r){if(n.hasAttribute("data-lm-suppress-shortcuts"))return-1;if(n.hasAttribute("data-p-suppress-shortcuts"))return-1;if(nt.matches(n,t))return r;if(n===i)return-1}return-1}}(Wt||(Wt={}));var Ut,Vt,Kt,$t=function(t,e){return $t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},$t(t,e)},Xt=function(t){this.type="text",this.content=t},Yt=function(t,e,n,i){this.type="element",this.tag=t,this.attrs=e,this.children=n,this.renderer=i};function Jt(t){for(var e,n={},i=[],r=1,o=arguments.length;r<o;++r){var s=arguments[r];"string"==typeof s?i.push(new Xt(s)):s instanceof Xt||s instanceof Yt?i.push(s):s instanceof Array?a(i,s):1!==r&&2!==r||!s||"object"!=typeof s||("render"in s?e=s:n=s)}return new Yt(t,n,i,e);function a(t,e){for(var n=0,i=e;n<i.length;n++){var r=i[n];"string"==typeof r?t.push(new Xt(r)):(r instanceof Xt||r instanceof Yt)&&t.push(r)}}}(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}$t(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})((function(t,e,n){return Kt.call(this,t,e,[],n||void 0)||this}),Kt=Yt),function(t){t.a=t.bind(void 0,"a"),t.abbr=t.bind(void 0,"abbr"),t.address=t.bind(void 0,"address"),t.area=t.bind(void 0,"area"),t.article=t.bind(void 0,"article"),t.aside=t.bind(void 0,"aside"),t.audio=t.bind(void 0,"audio"),t.b=t.bind(void 0,"b"),t.bdi=t.bind(void 0,"bdi"),t.bdo=t.bind(void 0,"bdo"),t.blockquote=t.bind(void 0,"blockquote"),t.br=t.bind(void 0,"br"),t.button=t.bind(void 0,"button"),t.canvas=t.bind(void 0,"canvas"),t.caption=t.bind(void 0,"caption"),t.cite=t.bind(void 0,"cite"),t.code=t.bind(void 0,"code"),t.col=t.bind(void 0,"col"),t.colgroup=t.bind(void 0,"colgroup"),t.data=t.bind(void 0,"data"),t.datalist=t.bind(void 0,"datalist"),t.dd=t.bind(void 0,"dd"),t.del=t.bind(void 0,"del"),t.dfn=t.bind(void 0,"dfn"),t.div=t.bind(void 0,"div"),t.dl=t.bind(void 0,"dl"),t.dt=t.bind(void 0,"dt"),t.em=t.bind(void 0,"em"),t.embed=t.bind(void 0,"embed"),t.fieldset=t.bind(void 0,"fieldset"),t.figcaption=t.bind(void 0,"figcaption"),t.figure=t.bind(void 0,"figure"),t.footer=t.bind(void 0,"footer"),t.form=t.bind(void 0,"form"),t.h1=t.bind(void 0,"h1"),t.h2=t.bind(void 0,"h2"),t.h3=t.bind(void 0,"h3"),t.h4=t.bind(void 0,"h4"),t.h5=t.bind(void 0,"h5"),t.h6=t.bind(void 0,"h6"),t.header=t.bind(void 0,"header"),t.hr=t.bind(void 0,"hr"),t.i=t.bind(void 0,"i"),t.iframe=t.bind(void 0,"iframe"),t.img=t.bind(void 0,"img"),t.input=t.bind(void 0,"input"),t.ins=t.bind(void 0,"ins"),t.kbd=t.bind(void 0,"kbd"),t.label=t.bind(void 0,"label"),t.legend=t.bind(void 0,"legend"),t.li=t.bind(void 0,"li"),t.main=t.bind(void 0,"main"),t.map=t.bind(void 0,"map"),t.mark=t.bind(void 0,"mark"),t.meter=t.bind(void 0,"meter"),t.nav=t.bind(void 0,"nav"),t.noscript=t.bind(void 0,"noscript"),t.object=t.bind(void 0,"object"),t.ol=t.bind(void 0,"ol"),t.optgroup=t.bind(void 0,"optgroup"),t.option=t.bind(void 0,"option"),t.output=t.bind(void 0,"output"),t.p=t.bind(void 0,"p"),t.param=t.bind(void 0,"param"),t.pre=t.bind(void 0,"pre"),t.progress=t.bind(void 0,"progress"),t.q=t.bind(void 0,"q"),t.rp=t.bind(void 0,"rp"),t.rt=t.bind(void 0,"rt"),t.ruby=t.bind(void 0,"ruby"),t.s=t.bind(void 0,"s"),t.samp=t.bind(void 0,"samp"),t.section=t.bind(void 0,"section"),t.select=t.bind(void 0,"select"),t.small=t.bind(void 0,"small"),t.source=t.bind(void 0,"source"),t.span=t.bind(void 0,"span"),t.strong=t.bind(void 0,"strong"),t.sub=t.bind(void 0,"sub"),t.summary=t.bind(void 0,"summary"),t.sup=t.bind(void 0,"sup"),t.table=t.bind(void 0,"table"),t.tbody=t.bind(void 0,"tbody"),t.td=t.bind(void 0,"td"),t.textarea=t.bind(void 0,"textarea"),t.tfoot=t.bind(void 0,"tfoot"),t.th=t.bind(void 0,"th"),t.thead=t.bind(void 0,"thead"),t.time=t.bind(void 0,"time"),t.title=t.bind(void 0,"title"),t.tr=t.bind(void 0,"tr"),t.track=t.bind(void 0,"track"),t.u=t.bind(void 0,"u"),t.ul=t.bind(void 0,"ul"),t.var_=t.bind(void 0,"var"),t.video=t.bind(void 0,"video"),t.wbr=t.bind(void 0,"wbr")}(Jt||(Jt={})),function(t){t.realize=function(t){return Vt.createDOMNode(t)},t.render=function(t,e){var n=Vt.hostMap.get(e)||[],i=Vt.asContentArray(t);Vt.hostMap.set(e,i),Vt.updateContent(e,n,i)}}(Ut||(Ut={})),function(t){function e(t){var n=arguments[1]||null,r=arguments[2]||null;if(n)n.insertBefore(e(t),r);else{if("text"===t.type)return document.createTextNode(t.content);if(function(t,e){for(var n in e)n in i||("on"===n.substr(0,2)?t[n]=e[n]:t.setAttribute(n,e[n]));void 0!==e.className&&t.setAttribute("class",e.className),void 0!==e.htmlFor&&t.setAttribute("for",e.htmlFor),e.dataset&&function(t,e){for(var n in e)t.setAttribute("data-"+n,e[n])}(t,e.dataset),e.style&&function(t,e){var n,i=t.style;for(n in e)i[n]=e[n]}(t,e.style)}(n=document.createElement(t.tag),t.attrs),t.renderer)return t.renderer.render(n,{attrs:t.attrs,children:t.children}),n;for(var o=0,s=t.children.length;o<s;++o)e(t.children[o],n)}return n}function n(t,e,i,r){for(var o=e.length-1;o>=i;--o){var s=e[o],a=r?t.lastChild:t.childNodes[o];"text"===s.type||(s.renderer&&s.renderer.unrender?s.renderer.unrender(a,{attrs:s.attrs,children:s.children}):n(a,s.children,0,!1)),r&&t.removeChild(a)}}t.hostMap=new WeakMap,t.asContentArray=function(t){return t?t instanceof Array?t:[t]:[]},t.createDOMNode=e,t.updateContent=function t(i,o,s){if(o!==s){for(var a=function(t,e){for(var n=t.firstChild,i=Object.create(null),r=0,o=e;r<o.length;r++){var s=o[r];"element"===s.type&&s.attrs.key&&(i[s.attrs.key]={vNode:s,element:n}),n=n.nextSibling}return i}(i,o),c=o.slice(),u=i.firstChild,l=s.length,h=0;h<l;++h)if(h>=c.length)e(s[h],i);else{var d=c[h],p=s[h];if(d!==p)if("text"!==d.type||"text"!==p.type)if("text"!==d.type&&"text"!==p.type)if(!d.renderer==!p.renderer){var f=p.attrs.key;if(f&&f in a){var m=a[f];m.vNode!==d&&(B.move(c,c.indexOf(m.vNode,h+1),h),i.insertBefore(m.element,u),d=m.vNode,u=m.element)}if(d!==p){var v=d.attrs.key;v&&v!==f?(B.insert(c,h,p),e(p,i,u)):d.tag===p.tag?(r(u,d.attrs,p.attrs),p.renderer?p.renderer.render(u,{attrs:p.attrs,children:p.children}):t(u,d.children,p.children),u=u.nextSibling):(B.insert(c,h,p),e(p,i,u))}else u=u.nextSibling}else B.insert(c,h,p),e(p,i,u);else B.insert(c,h,p),e(p,i,u);else u.textContent!==p.content&&(u.textContent=p.content),u=u.nextSibling;else u=u.nextSibling}n(i,c,l,!0)}};var i={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function r(t,e,n){if(e!==n){var r;for(r in e)r in i||r in n||("on"===r.substr(0,2)?t[r]=null:t.removeAttribute(r));for(r in n)r in i||e[r]===n[r]||("on"===r.substr(0,2)?t[r]=n[r]:t.setAttribute(r,n[r]));e.className!==n.className&&(void 0!==n.className?t.setAttribute("class",n.className):t.removeAttribute("class")),e.htmlFor!==n.htmlFor&&(void 0!==n.htmlFor?t.setAttribute("for",n.htmlFor):t.removeAttribute("for")),e.dataset!==n.dataset&&function(t,e,n){for(var i in e)i in n||t.removeAttribute("data-"+i);for(var r in n)e[r]!==n[r]&&t.setAttribute("data-"+r,n[r])}(t,e.dataset||{},n.dataset||{}),e.style!==n.style&&function(t,e,n){var i,r=t.style;for(i in e)i in n||(r[i]="");for(i in n)e[i]!==n[i]&&(r[i]=n[i])}(t,e.style||{},n.style||{})}}}(Vt||(Vt={}));var Gt=function(t,e){return Gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Gt(t,e)};function Qt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Gt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Zt,te=function(){return te=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},te.apply(this,arguments)},ee=function(){this.sizeHint=0,this.minSize=0,this.maxSize=1/0,this.stretch=1,this.size=0,this.done=!1};!function(t){t.calc=function(t,e){var n=t.length;if(0===n)return e;for(var i=0,r=0,o=0,s=0,a=0,c=0;c<n;++c){var u=(y=t[c]).minSize,l=y.maxSize,h=y.sizeHint;y.done=!1,y.size=Math.max(u,Math.min(h,l)),o+=y.size,i+=u,r+=l,y.stretch>0&&(s+=y.stretch,a++)}if(e===o)return 0;if(e<=i){for(c=0;c<n;++c)(y=t[c]).size=y.minSize;return e-i}if(e>=r){for(c=0;c<n;++c)(y=t[c]).size=y.maxSize;return e-r}var d=.01,p=n;if(e<o){for(var f=o-e;a>0&&f>d;){var m=f,v=s;for(c=0;c<n;++c)if(!(y=t[c]).done&&0!==y.stretch){var g=y.stretch*m/v;y.size-g<=y.minSize?(f-=y.size-y.minSize,s-=y.stretch,y.size=y.minSize,y.done=!0,p--,a--):(f-=g,y.size-=g)}}for(;p>0&&f>d;)for(g=f/p,c=0;c<n;++c)(y=t[c]).done||(y.size-g<=y.minSize?(f-=y.size-y.minSize,y.size=y.minSize,y.done=!0,p--):(f-=g,y.size-=g))}else{for(f=e-o;a>0&&f>d;)for(m=f,v=s,c=0;c<n;++c)(y=t[c]).done||0===y.stretch||(g=y.stretch*m/v,y.size+g>=y.maxSize?(f-=y.maxSize-y.size,s-=y.stretch,y.size=y.maxSize,y.done=!0,p--,a--):(f-=g,y.size+=g));for(;p>0&&f>d;)for(g=f/p,c=0;c<n;++c){var y;(y=t[c]).done||(y.size+g>=y.maxSize?(f-=y.maxSize-y.size,y.size=y.maxSize,y.done=!0,p--):(f-=g,y.size+=g))}}return 0},t.adjust=function(t,e,n){0!==t.length&&0!==n&&(n>0?function(t,e,n){for(var i=0,r=0;r<=e;++r)i+=(u=t[r]).maxSize-u.size;for(var o=0,s=(r=e+1,t.length);r<s;++r)o+=(u=t[r]).size-u.minSize;var a=n=Math.min(n,i,o);for(r=e;r>=0&&a>0;--r)(l=(u=t[r]).maxSize-u.size)>=a?(u.sizeHint=u.size+a,a=0):(u.sizeHint=u.size+l,a-=l);var c=n;for(r=e+1,s=t.length;r<s&&c>0;++r){var u,l;(l=(u=t[r]).size-u.minSize)>=c?(u.sizeHint=u.size-c,c=0):(u.sizeHint=u.size-l,c-=l)}}(t,e,n):function(t,e,n){for(var i=0,r=e+1,o=t.length;r<o;++r)i+=(u=t[r]).maxSize-u.size;var s=0;for(r=0;r<=e;++r)s+=(u=t[r]).size-u.minSize;var a=n=Math.min(n,i,s);for(r=e+1,o=t.length;r<o&&a>0;++r)(l=(u=t[r]).maxSize-u.size)>=a?(u.sizeHint=u.size+a,a=0):(u.sizeHint=u.size+l,a-=l);var c=n;for(r=e;r>=0&&c>0;--r){var u,l;(l=(u=t[r]).size-u.minSize)>=c?(u.sizeHint=u.size-c,c=0):(u.sizeHint=u.size-l,c-=l)}}(t,e,-n))}}(Zt||(Zt={}));var ne,ie=function(){function t(t){this._label="",this._caption="",this._mnemonic=-1,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new Tt(this),this._isDisposed=!1,this.owner=t.owner,void 0!==t.label&&(this._label=t.label),void 0!==t.mnemonic&&(this._mnemonic=t.mnemonic),void 0!==t.icon?"string"==typeof t.icon?(this._icon=null,this._iconClass=t.icon):this._icon=t.icon:this._icon=null,void 0!==t.iconClass&&(this._iconClass=t.iconClass),void 0!==t.iconLabel&&(this._iconLabel=t.iconLabel),void 0!==t.iconRenderer&&(this._icon=t.iconRenderer),void 0!==t.caption&&(this._caption=t.caption),void 0!==t.className&&(this._className=t.className),void 0!==t.closable&&(this._closable=t.closable),this._dataset=t.dataset||{}}return Object.defineProperty(t.prototype,"changed",{get:function(){return this._changed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this._label},set:function(t){this._label!==t&&(this._label=t,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mnemonic",{get:function(){return this._mnemonic},set:function(t){this._mnemonic!==t&&(this._mnemonic=t,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return null===this._icon?this.iconClass:this._icon},set:function(t){if("string"==typeof t)this._icon=null,this.iconClass=t;else{if(this._icon===t)return;this._icon=t,this._changed.emit(void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass",{get:function(){return this._iconClass},set:function(t){this._iconClass!==t&&(this._iconClass=t,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconLabel",{get:function(){return this._iconLabel},set:function(t){this._iconLabel!==t&&(this._iconLabel=t,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconRenderer",{get:function(){return this._icon||void 0},set:function(t){this.icon=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"caption",{get:function(){return this._caption},set:function(t){this._caption!==t&&(this._caption=t,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this._className},set:function(t){this._className!==t&&(this._className=t,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"closable",{get:function(){return this._closable},set:function(t){this._closable!==t&&(this._closable=t,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataset",{get:function(){return this._dataset},set:function(t){this._dataset!==t&&(this._dataset=t,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this._isDisposed=!0,Tt.clearData(this))},t}(),re=function(){function t(e){void 0===e&&(e={}),this._flags=0,this._layout=null,this._parent=null,this._disposed=new Tt(this),this._hiddenMode=t.HiddenMode.Display,this.node=ne.createNode(e),this.addClass("lm-Widget"),this.addClass("p-Widget")}return t.prototype.dispose=function(){this.isDisposed||(this.setFlag(t.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&t.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),Tt.clearData(this),wt.clearData(this),At.clearData(this))},Object.defineProperty(t.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this.testFlag(t.Flag.IsDisposed)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAttached",{get:function(){return this.testFlag(t.Flag.IsAttached)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isHidden",{get:function(){return this.testFlag(t.Flag.IsHidden)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.testFlag(t.Flag.IsVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return ne.titleProperty.get(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.node.id},set:function(t){this.node.id=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataset",{get:function(){return this.node.dataset},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(e){this._hiddenMode!==e&&(this.isHidden&&this._toggleHidden(!1),e==t.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=e,this.isHidden&&this._toggleHidden(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},set:function(e){if(this._parent!==e){if(e&&this.contains(e))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){var n=new t.ChildMessage("child-removed",this);wt.sendMessage(this._parent,n)}this._parent=e,this._parent&&!this._parent.isDisposed&&(n=new t.ChildMessage("child-added",this),wt.sendMessage(this._parent,n)),this.isDisposed||wt.sendMessage(this,t.Msg.ParentChanged)}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"layout",{get:function(){return this._layout},set:function(e){if(this._layout!==e){if(this.testFlag(t.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(e.parent)throw new Error("Cannot change layout parent.");this._layout=e,e.parent=this}},enumerable:!0,configurable:!0}),t.prototype.children=function(){return this._layout?this._layout.iter():q()},t.prototype.contains=function(t){for(var e=t;e;e=e._parent)if(e===this)return!0;return!1},t.prototype.hasClass=function(t){return this.node.classList.contains(t)},t.prototype.addClass=function(t){this.node.classList.add(t)},t.prototype.removeClass=function(t){this.node.classList.remove(t)},t.prototype.toggleClass=function(t,e){return!0===e?(this.node.classList.add(t),!0):!1===e?(this.node.classList.remove(t),!1):this.node.classList.toggle(t)},t.prototype.update=function(){wt.postMessage(this,t.Msg.UpdateRequest)},t.prototype.fit=function(){wt.postMessage(this,t.Msg.FitRequest)},t.prototype.activate=function(){wt.postMessage(this,t.Msg.ActivateRequest)},t.prototype.close=function(){wt.sendMessage(this,t.Msg.CloseRequest)},t.prototype.show=function(){if(this.testFlag(t.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||wt.sendMessage(this,t.Msg.BeforeShow),this.clearFlag(t.Flag.IsHidden),this.node.removeAttribute("aria-hidden"),this._toggleHidden(!1),!this.isAttached||this.parent&&!this.parent.isVisible||wt.sendMessage(this,t.Msg.AfterShow),this.parent)){var e=new t.ChildMessage("child-shown",this);wt.sendMessage(this.parent,e)}},t.prototype.hide=function(){if(!this.testFlag(t.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||wt.sendMessage(this,t.Msg.BeforeHide),this.setFlag(t.Flag.IsHidden),this.node.setAttribute("aria-hidden","true"),this._toggleHidden(!0),!this.isAttached||this.parent&&!this.parent.isVisible||wt.sendMessage(this,t.Msg.AfterHide),this.parent)){var e=new t.ChildMessage("child-hidden",this);wt.sendMessage(this.parent,e)}},t.prototype.setHidden=function(t){t?this.hide():this.show()},t.prototype.testFlag=function(t){return!!(this._flags&t)},t.prototype.setFlag=function(t){this._flags|=t},t.prototype.clearFlag=function(t){this._flags&=~t},t.prototype.processMessage=function(e){switch(e.type){case"resize":this.notifyLayout(e),this.onResize(e);break;case"update-request":this.notifyLayout(e),this.onUpdateRequest(e);break;case"fit-request":this.notifyLayout(e),this.onFitRequest(e);break;case"before-show":this.notifyLayout(e),this.onBeforeShow(e);break;case"after-show":this.setFlag(t.Flag.IsVisible),this.notifyLayout(e),this.onAfterShow(e);break;case"before-hide":this.notifyLayout(e),this.onBeforeHide(e);break;case"after-hide":this.clearFlag(t.Flag.IsVisible),this.notifyLayout(e),this.onAfterHide(e);break;case"before-attach":this.notifyLayout(e),this.onBeforeAttach(e);break;case"after-attach":this.isHidden||this.parent&&!this.parent.isVisible||this.setFlag(t.Flag.IsVisible),this.setFlag(t.Flag.IsAttached),this.notifyLayout(e),this.onAfterAttach(e);break;case"before-detach":this.notifyLayout(e),this.onBeforeDetach(e);break;case"after-detach":this.clearFlag(t.Flag.IsVisible),this.clearFlag(t.Flag.IsAttached),this.notifyLayout(e),this.onAfterDetach(e);break;case"activate-request":this.notifyLayout(e),this.onActivateRequest(e);break;case"close-request":this.notifyLayout(e),this.onCloseRequest(e);break;case"child-added":this.notifyLayout(e),this.onChildAdded(e);break;case"child-removed":this.notifyLayout(e),this.onChildRemoved(e);break;default:this.notifyLayout(e)}},t.prototype.notifyLayout=function(t){this._layout&&this._layout.processParentMessage(t)},t.prototype.onCloseRequest=function(e){this.parent?this.parent=null:this.isAttached&&t.detach(this)},t.prototype.onResize=function(t){},t.prototype.onUpdateRequest=function(t){},t.prototype.onFitRequest=function(t){},t.prototype.onActivateRequest=function(t){},t.prototype.onBeforeShow=function(t){},t.prototype.onAfterShow=function(t){},t.prototype.onBeforeHide=function(t){},t.prototype.onAfterHide=function(t){},t.prototype.onBeforeAttach=function(t){},t.prototype.onAfterAttach=function(t){},t.prototype.onBeforeDetach=function(t){},t.prototype.onAfterDetach=function(t){},t.prototype.onChildAdded=function(t){},t.prototype.onChildRemoved=function(t){},t.prototype._toggleHidden=function(e){if(e)switch(this._hiddenMode){case t.HiddenMode.Display:this.addClass("lm-mod-hidden"),this.addClass("p-mod-hidden");break;case t.HiddenMode.Scale:this.node.style.transform="scale(0)";break;case t.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1"}else switch(this._hiddenMode){case t.HiddenMode.Display:this.removeClass("lm-mod-hidden"),this.removeClass("p-mod-hidden");break;case t.HiddenMode.Scale:this.node.style.transform="";break;case t.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex=""}},t}();!function(t){var e,n,i;(e=t.HiddenMode||(t.HiddenMode={}))[e.Display=0]="Display",e[e.Scale=1]="Scale",e[e.ContentVisibility=2]="ContentVisibility",(n=t.Flag||(t.Flag={}))[n.IsDisposed=1]="IsDisposed",n[n.IsAttached=2]="IsAttached",n[n.IsHidden=4]="IsHidden",n[n.IsVisible=8]="IsVisible",n[n.DisallowLayout=16]="DisallowLayout",(i=t.Msg||(t.Msg={})).BeforeShow=new Ct("before-show"),i.AfterShow=new Ct("after-show"),i.BeforeHide=new Ct("before-hide"),i.AfterHide=new Ct("after-hide"),i.BeforeAttach=new Ct("before-attach"),i.AfterAttach=new Ct("after-attach"),i.BeforeDetach=new Ct("before-detach"),i.AfterDetach=new Ct("after-detach"),i.ParentChanged=new Ct("parent-changed"),i.UpdateRequest=new Et("update-request"),i.FitRequest=new Et("fit-request"),i.ActivateRequest=new Et("activate-request"),i.CloseRequest=new Et("close-request");var r=function(t){function e(e,n){var i=t.call(this,e)||this;return i.child=n,i}return Qt(e,t),e}(Ct);t.ChildMessage=r;var o=function(t){function e(e,n){var i=t.call(this,"resize")||this;return i.width=e,i.height=n,i}return Qt(e,t),e}(Ct);t.ResizeMessage=o,function(t){t.UnknownSize=new t(-1,-1)}(o=t.ResizeMessage||(t.ResizeMessage={})),t.attach=function(e,n,i){if(void 0===i&&(i=null),e.parent)throw new Error("Cannot attach a child widget.");if(e.isAttached||e.node.isConnected)throw new Error("Widget is already attached.");if(!n.isConnected)throw new Error("Host is not attached.");wt.sendMessage(e,t.Msg.BeforeAttach),n.insertBefore(e.node,i),wt.sendMessage(e,t.Msg.AfterAttach)},t.detach=function(e){if(e.parent)throw new Error("Cannot detach a child widget.");if(!e.isAttached||!e.node.isConnected)throw new Error("Widget is not attached.");wt.sendMessage(e,t.Msg.BeforeDetach),e.node.parentNode.removeChild(e.node),wt.sendMessage(e,t.Msg.AfterDetach)}}(re||(re={})),function(t){t.titleProperty=new At({name:"title",create:function(t){return new ie({owner:t})}}),t.createNode=function(t){return t.node||document.createElement(t.tag||"div")}}(ne||(ne={}));var oe=function(){function t(t){void 0===t&&(t={}),this._disposed=!1,this._parent=null,this._fitPolicy=t.fitPolicy||"set-min-size"}return t.prototype.dispose=function(){this._parent=null,this._disposed=!0,Tt.clearData(this),At.clearData(this)},Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},set:function(t){if(this._parent!==t){if(this._parent)throw new Error("Cannot change parent widget.");if(t.layout!==this)throw new Error("Invalid parent widget.");this._parent=t,this.init()}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fitPolicy",{get:function(){return this._fitPolicy},set:function(t){if(this._fitPolicy!==t&&(this._fitPolicy=t,this._parent)){var e=this._parent.node.style;e.minWidth="",e.minHeight="",e.maxWidth="",e.maxHeight="",this._parent.fit()}},enumerable:!0,configurable:!0}),t.prototype.processParentMessage=function(t){switch(t.type){case"resize":this.onResize(t);break;case"update-request":this.onUpdateRequest(t);break;case"fit-request":this.onFitRequest(t);break;case"before-show":this.onBeforeShow(t);break;case"after-show":this.onAfterShow(t);break;case"before-hide":this.onBeforeHide(t);break;case"after-hide":this.onAfterHide(t);break;case"before-attach":this.onBeforeAttach(t);break;case"after-attach":this.onAfterAttach(t);break;case"before-detach":this.onBeforeDetach(t);break;case"after-detach":this.onAfterDetach(t);break;case"child-removed":this.onChildRemoved(t);break;case"child-shown":this.onChildShown(t);break;case"child-hidden":this.onChildHidden(t)}},t.prototype.init=function(){var t=this;R(this,(function(e){e.parent=t.parent}))},t.prototype.onResize=function(t){R(this,(function(t){wt.sendMessage(t,re.ResizeMessage.UnknownSize)}))},t.prototype.onUpdateRequest=function(t){R(this,(function(t){wt.sendMessage(t,re.ResizeMessage.UnknownSize)}))},t.prototype.onBeforeAttach=function(t){R(this,(function(e){wt.sendMessage(e,t)}))},t.prototype.onAfterAttach=function(t){R(this,(function(e){wt.sendMessage(e,t)}))},t.prototype.onBeforeDetach=function(t){R(this,(function(e){wt.sendMessage(e,t)}))},t.prototype.onAfterDetach=function(t){R(this,(function(e){wt.sendMessage(e,t)}))},t.prototype.onBeforeShow=function(t){R(this,(function(e){e.isHidden||wt.sendMessage(e,t)}))},t.prototype.onAfterShow=function(t){R(this,(function(e){e.isHidden||wt.sendMessage(e,t)}))},t.prototype.onBeforeHide=function(t){R(this,(function(e){e.isHidden||wt.sendMessage(e,t)}))},t.prototype.onAfterHide=function(t){R(this,(function(e){e.isHidden||wt.sendMessage(e,t)}))},t.prototype.onChildRemoved=function(t){this.removeWidget(t.child)},t.prototype.onFitRequest=function(t){},t.prototype.onChildShown=function(t){},t.prototype.onChildHidden=function(t){},t}();!function(t){t.getHorizontalAlignment=function(t){return se.horizontalAlignmentProperty.get(t)},t.setHorizontalAlignment=function(t,e){se.horizontalAlignmentProperty.set(t,e)},t.getVerticalAlignment=function(t){return se.verticalAlignmentProperty.get(t)},t.setVerticalAlignment=function(t,e){se.verticalAlignmentProperty.set(t,e)}}(oe||(oe={}));var se,ae=function(){function t(t){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=t,this.widget.node.style.position="absolute"}return t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this.widget.node.style;t.position="",t.top="",t.left="",t.width="",t.height=""}},Object.defineProperty(t.prototype,"minWidth",{get:function(){return this._minWidth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minHeight",{get:function(){return this._minHeight},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxWidth",{get:function(){return this._maxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxHeight",{get:function(){return this._maxHeight},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isHidden",{get:function(){return this.widget.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.widget.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAttached",{get:function(){return this.widget.isAttached},enumerable:!0,configurable:!0}),t.prototype.fit=function(){var t=tt.sizeLimits(this.widget.node);this._minWidth=t.minWidth,this._minHeight=t.minHeight,this._maxWidth=t.maxWidth,this._maxHeight=t.maxHeight},t.prototype.update=function(t,e,n,i){var r=Math.max(this._minWidth,Math.min(n,this._maxWidth)),o=Math.max(this._minHeight,Math.min(i,this._maxHeight));if(r<n)switch(oe.getHorizontalAlignment(this.widget)){case"left":break;case"center":t+=(n-r)/2;break;case"right":t+=n-r;break;default:throw"unreachable"}if(o<i)switch(oe.getVerticalAlignment(this.widget)){case"top":break;case"center":e+=(i-o)/2;break;case"bottom":e+=i-o;break;default:throw"unreachable"}var s=!1,a=this.widget.node.style;if(this._top!==e&&(this._top=e,a.top=e+"px"),this._left!==t&&(this._left=t,a.left=t+"px"),this._width!==r&&(s=!0,this._width=r,a.width=r+"px"),this._height!==o&&(s=!0,this._height=o,a.height=o+"px"),s){var c=new re.ResizeMessage(r,o);wt.sendMessage(this.widget,c)}},t}();!function(t){function e(t){t.parent&&t.parent.layout&&t.parent.update()}t.horizontalAlignmentProperty=new At({name:"horizontalAlignment",create:function(){return"center"},changed:e}),t.verticalAlignmentProperty=new At({name:"verticalAlignment",create:function(){return"top"},changed:e})}(se||(se={}));var ce,ue=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._widgets=[],e}return Qt(e,t),e.prototype.dispose=function(){for(;this._widgets.length>0;)this._widgets.pop().dispose();t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return N(this._widgets)},e.prototype.addWidget=function(t){this.insertWidget(this._widgets.length,t)},e.prototype.insertWidget=function(t,e){e.parent=this.parent;var n=this._widgets.indexOf(e),i=Math.max(0,Math.min(t,this._widgets.length));if(-1===n)return B.insert(this._widgets,i,e),void(this.parent&&this.attachWidget(i,e));i===this._widgets.length&&i--,n!==i&&(B.move(this._widgets,n,i),this.parent&&this.moveWidget(n,i,e))},e.prototype.removeWidget=function(t){this.removeWidgetAt(this._widgets.indexOf(t))},e.prototype.removeWidgetAt=function(t){var e=B.removeAt(this._widgets,t);e&&this.parent&&this.detachWidget(t,e)},e.prototype.init=function(){var e=this;t.prototype.init.call(this),R(this,(function(t,n){e.attachWidget(n,t)}))},e.prototype.attachWidget=function(t,e){var n=this.parent.node.children[t];this.parent.isAttached&&wt.sendMessage(e,re.Msg.BeforeAttach),this.parent.node.insertBefore(e.node,n),this.parent.isAttached&&wt.sendMessage(e,re.Msg.AfterAttach)},e.prototype.moveWidget=function(t,e,n){this.parent.isAttached&&wt.sendMessage(n,re.Msg.BeforeDetach),this.parent.node.removeChild(n.node),this.parent.isAttached&&wt.sendMessage(n,re.Msg.AfterDetach);var i=this.parent.node.children[e];this.parent.isAttached&&wt.sendMessage(n,re.Msg.BeforeAttach),this.parent.node.insertBefore(n.node,i),this.parent.isAttached&&wt.sendMessage(n,re.Msg.AfterAttach)},e.prototype.detachWidget=function(t,e){this.parent.isAttached&&wt.sendMessage(e,re.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&wt.sendMessage(e,re.Msg.AfterDetach)},e}(oe);!function(t){t.clampDimension=function(t){return Math.max(0,Math.floor(t))}}(ce||(ce={}));var le,he=ce,de=function(t){function e(e){var n=t.call(this)||this;return n.widgetOffset=0,n._fixed=0,n._spacing=4,n._dirty=!1,n._hasNormedSizes=!1,n._sizers=[],n._items=[],n._handles=[],n._box=null,n._alignment="start",n._orientation="horizontal",n.renderer=e.renderer,void 0!==e.orientation&&(n._orientation=e.orientation),void 0!==e.alignment&&(n._alignment=e.alignment),void 0!==e.spacing&&(n._spacing=ce.clampDimension(e.spacing)),n}return Qt(e,t),e.prototype.dispose=function(){R(this._items,(function(t){t.dispose()})),this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this._orientation},set:function(t){this._orientation!==t&&(this._orientation=t,this.parent&&(this.parent.dataset.orientation=t,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignment",{get:function(){return this._alignment},set:function(t){this._alignment!==t&&(this._alignment=t,this.parent&&(this.parent.dataset.alignment=t,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){return this._spacing},set:function(t){t=ce.clampDimension(t),this._spacing!==t&&(this._spacing=t,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"handles",{get:function(){return this._handles},enumerable:!0,configurable:!0}),e.prototype.absoluteSizes=function(){return this._sizers.map((function(t){return t.size}))},e.prototype.relativeSizes=function(){return le.normalize(this._sizers.map((function(t){return t.size})))},e.prototype.setRelativeSizes=function(t,e){void 0===e&&(e=!0);for(var n=this._sizers.length,i=t.slice(0,n);i.length<n;)i.push(0);for(var r=le.normalize(i),o=0;o<n;++o){var s=this._sizers[o];s.sizeHint=r[o],s.size=r[o]}this._hasNormedSizes=!0,e&&this.parent&&this.parent.update()},e.prototype.moveHandle=function(t,e){var n,i=this._handles[t];if(i&&!i.classList.contains("lm-mod-hidden")&&0!=(n="horizontal"===this._orientation?e-i.offsetLeft:e-i.offsetTop)){for(var r=0,o=this._sizers;r<o.length;r++){var s=o[r];s.size>0&&(s.sizeHint=s.size)}Zt.adjust(this._sizers,t,n),this.parent&&this.parent.update()}},e.prototype.init=function(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,t.prototype.init.call(this)},e.prototype.attachWidget=function(t,e){var n=new ae(e),i=le.createHandle(this.renderer),r=le.averageSize(this._sizers),o=le.createSizer(r);B.insert(this._items,t,n),B.insert(this._sizers,t,o),B.insert(this._handles,t,i),this.parent.isAttached&&wt.sendMessage(e,re.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.node.appendChild(i),this.parent.isAttached&&wt.sendMessage(e,re.Msg.AfterAttach),this.parent.fit()},e.prototype.moveWidget=function(t,e,n){B.move(this._items,t,e),B.move(this._sizers,t,e),B.move(this._handles,t,e),this.parent.fit()},e.prototype.detachWidget=function(t,e){var n=B.removeAt(this._items,t),i=B.removeAt(this._handles,t);B.removeAt(this._sizers,t),this.parent.isAttached&&wt.sendMessage(e,re.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.node.removeChild(i),this.parent.isAttached&&wt.sendMessage(e,re.Msg.AfterDetach),n.dispose(),this.parent.fit()},e.prototype.onBeforeShow=function(e){t.prototype.onBeforeShow.call(this,e),this.parent.update()},e.prototype.onBeforeAttach=function(e){t.prototype.onBeforeAttach.call(this,e),this.parent.fit()},e.prototype.onChildShown=function(t){this.parent.fit()},e.prototype.onChildHidden=function(t){this.parent.fit()},e.prototype.onResize=function(t){this.parent.isVisible&&this._update(t.width,t.height)},e.prototype.onUpdateRequest=function(t){this.parent.isVisible&&this._update(-1,-1)},e.prototype.onFitRequest=function(t){this.parent.isAttached&&this._fit()},e.prototype.updateItemPosition=function(t,e,n,i,r,o,s){var a=this._items[t];if(!a.isHidden){var c=this._handles[t].style;e?(n+=this.widgetOffset,a.update(n,i,s,r),n+=s,c.top=i+"px",c.left=n+"px",c.width=this._spacing+"px",c.height=r+"px"):(i+=this.widgetOffset,a.update(n,i,o,s),i+=s,c.top=i+"px",c.left=n+"px",c.width=o+"px",c.height=this._spacing+"px")}},e.prototype._fit=function(){for(var t=0,n=-1,i=0,r=this._items.length;i<r;++i)this._items[i].isHidden?(this._handles[i].classList.add("lm-mod-hidden"),this._handles[i].classList.add("p-mod-hidden")):(this._handles[i].classList.remove("lm-mod-hidden"),this._handles[i].classList.remove("p-mod-hidden"),n=i,t++);-1!==n&&(this._handles[n].classList.add("lm-mod-hidden"),this._handles[n].classList.add("p-mod-hidden")),this._fixed=this._spacing*Math.max(0,t-1)+this.widgetOffset*this._items.length;var o="horizontal"===this._orientation,s=o?this._fixed:0,a=o?0:this._fixed;for(i=0,r=this._items.length;i<r;++i){var c=this._items[i],u=this._sizers[i];u.size>0&&(u.sizeHint=u.size),c.isHidden?(u.minSize=0,u.maxSize=0):(c.fit(),u.stretch=e.getStretch(c.widget),o?(u.minSize=c.minWidth,u.maxSize=c.maxWidth,s+=c.minWidth,a=Math.max(a,c.minHeight)):(u.minSize=c.minHeight,u.maxSize=c.maxHeight,a+=c.minHeight,s=Math.max(s,c.minWidth)))}var l=this._box=tt.boxSizing(this.parent.node);s+=l.horizontalSum,a+=l.verticalSum;var h=this.parent.node.style;h.minWidth=s+"px",h.minHeight=a+"px",this._dirty=!0,this.parent.parent&&wt.sendMessage(this.parent.parent,re.Msg.FitRequest),this._dirty&&wt.sendMessage(this.parent,re.Msg.UpdateRequest)},e.prototype._update=function(t,e){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n||0!==this.widgetOffset){t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=tt.boxSizing(this.parent.node));var o=this._box.paddingTop,s=this._box.paddingLeft,a=t-this._box.horizontalSum,c=e-this._box.verticalSum,u=0,l=0,h="horizontal"===this._orientation;if(n>0){var d;if(d=h?Math.max(0,a-this._fixed):Math.max(0,c-this._fixed),this._hasNormedSizes){for(var p=0,f=this._sizers;p<f.length;p++)f[p].sizeHint*=d;this._hasNormedSizes=!1}var m=Zt.calc(this._sizers,d);if(m>0)switch(this._alignment){case"start":break;case"center":u=0,l=m/2;break;case"end":u=0,l=m;break;case"justify":u=m/n,l=0;break;default:throw"unreachable"}}for(i=0,r=this._items.length;i<r;++i){var v=this._items[i].isHidden?0:this._sizers[i].size+u;this.updateItemPosition(i,h,h?s+l:s,h?o:o+l,c,a,v);var g=this.widgetOffset+(this._handles[i].classList.contains("lm-mod-hidden")?0:this._spacing);h?s+=v+g:o+=v+g}}},e}(ue);!function(t){t.getStretch=function(t){return le.stretchProperty.get(t)},t.setStretch=function(t,e){le.stretchProperty.set(t,e)}}(de||(de={})),function(t){t.stretchProperty=new At({name:"stretch",create:function(){return 0},coerce:function(t,e){return Math.max(0,Math.floor(e))},changed:function(t){t.parent&&t.parent.layout instanceof de&&t.parent.fit()}}),t.createSizer=function(t){var e=new ee;return e.sizeHint=Math.floor(t),e},t.createHandle=function(t){var e=t.createHandle();return e.style.position="absolute",e},t.averageSize=function(t){return t.reduce((function(t,e){return t+e.size}),0)/t.length||0},t.normalize=function(t){var e=t.length;if(0===e)return[];var n=t.reduce((function(t,e){return t+Math.abs(e)}),0);return 0===n?t.map((function(t){return 1/e})):t.map((function(t){return t/n}))}}(le||(le={}));var pe,fe=function(t){function e(e){var n=t.call(this,te(te({},e),{orientation:e.orientation||"vertical"}))||this;return n._titles=[],n.titleSpace=e.titleSpace||22,n}return Qt(e,t),Object.defineProperty(e.prototype,"titleSpace",{get:function(){return this.widgetOffset},set:function(t){t=he.clampDimension(t),this.widgetOffset!==t&&(this.widgetOffset=t,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.isDisposed||(this._titles.length=0,t.prototype.dispose.call(this))},e.prototype.updateTitle=function(t,e){var n=this._titles[t],i=n.classList.contains("lm-mod-expanded"),r=pe.createTitle(this.renderer,e.title,i);this._titles[t]=r,this.parent.node.replaceChild(r,n)},e.prototype.attachWidget=function(e,n){var i=pe.createTitle(this.renderer,n.title);B.insert(this._titles,e,i),this.parent.node.appendChild(i),n.node.setAttribute("role","region"),n.node.setAttribute("aria-labelledby",i.id),t.prototype.attachWidget.call(this,e,n)},e.prototype.moveWidget=function(e,n,i){B.move(this._titles,e,n),t.prototype.moveWidget.call(this,e,n,i)},e.prototype.detachWidget=function(e,n){var i=B.removeAt(this._titles,e);this.parent.node.removeChild(i),t.prototype.detachWidget.call(this,e,n)},e.prototype.updateItemPosition=function(e,n,i,r,o,s,a){var c=this._titles[e].style;c.top=r+"px",c.left=i+"px",c.height=this.widgetOffset+"px",c.width=n?o+"px":s+"px",t.prototype.updateItemPosition.call(this,e,n,i,r,o,s,a)},e}(de);!function(t){t.createTitle=function(t,e,n){void 0===n&&(n=!0);var i=t.createSectionTitle(e);return i.style.position="absolute",i.setAttribute("aria-label",e.label+" Section"),i.setAttribute("aria-expanded",n?"true":"false"),i.setAttribute("aria-controls",e.owner.id),n&&i.classList.add("lm-mod-expanded"),i}}(pe||(pe={}));var me,ve=function(t){function e(e){void 0===e&&(e={});var n=t.call(this)||this;return n.addClass("lm-Panel"),n.addClass("p-Panel"),n.layout=me.createLayout(e),n}return Qt(e,t),Object.defineProperty(e.prototype,"widgets",{get:function(){return this.layout.widgets},enumerable:!0,configurable:!0}),e.prototype.addWidget=function(t){this.layout.addWidget(t)},e.prototype.insertWidget=function(t,e){this.layout.insertWidget(t,e)},e}(re);!function(t){t.createLayout=function(t){return t.layout||new ue}}(me||(me={}));var ge,ye=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,{layout:ge.createLayout(e)})||this;return n._handleMoved=new Tt(n),n._pressData=null,n.addClass("lm-SplitPanel"),n.addClass("p-SplitPanel"),n}return Qt(e,t),e.prototype.dispose=function(){this._releaseMouse(),t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.layout.orientation},set:function(t){this.layout.orientation=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignment",{get:function(){return this.layout.alignment},set:function(t){this.layout.alignment=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(t){this.layout.spacing=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"handleMoved",{get:function(){return this._handleMoved},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"handles",{get:function(){return this.layout.handles},enumerable:!0,configurable:!0}),e.prototype.relativeSizes=function(){return this.layout.relativeSizes()},e.prototype.setRelativeSizes=function(t,e){void 0===e&&(e=!0),this.layout.setRelativeSizes(t,e)},e.prototype.handleEvent=function(t){switch(t.type){case"mousedown":case"pointerdown":this._evtMouseDown(t);break;case"mousemove":case"pointermove":this._evtMouseMove(t);break;case"mouseup":case"pointerup":this._evtMouseUp(t);break;case"keydown":this._evtKeyDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}},e.prototype.onBeforeAttach=function(t){this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this)},e.prototype.onAfterDetach=function(t){this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()},e.prototype.onChildAdded=function(t){t.child.addClass("lm-SplitPanel-child"),t.child.addClass("p-SplitPanel-child"),this._releaseMouse()},e.prototype.onChildRemoved=function(t){t.child.removeClass("lm-SplitPanel-child"),t.child.removeClass("p-SplitPanel-child"),this._releaseMouse()},e.prototype._evtKeyDown=function(t){this._pressData&&(t.preventDefault(),t.stopPropagation()),27===t.keyCode&&this._releaseMouse()},e.prototype._evtMouseDown=function(t){if(0===t.button){var e=this.layout,n=B.findFirstIndex(e.handles,(function(e){return e.contains(t.target)}));if(-1!==n){var i;t.preventDefault(),t.stopPropagation(),document.addEventListener("mouseup",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0);var r=e.handles[n],o=r.getBoundingClientRect();i="horizontal"===e.orientation?t.clientX-o.left:t.clientY-o.top;var s=window.getComputedStyle(r),a=zt.overrideCursor(s.cursor);this._pressData={index:n,delta:i,override:a}}}},e.prototype._evtMouseMove=function(t){var e;t.preventDefault(),t.stopPropagation();var n=this.layout,i=this.node.getBoundingClientRect();e="horizontal"===n.orientation?t.clientX-i.left-this._pressData.delta:t.clientY-i.top-this._pressData.delta,n.moveHandle(this._pressData.index,e)},e.prototype._evtMouseUp=function(t){0===t.button&&(t.preventDefault(),t.stopPropagation(),this._releaseMouse())},e.prototype._releaseMouse=function(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._handleMoved.emit(),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("contextmenu",this,!0))},e}(ve);!function(t){var e=function(){function t(){}return t.prototype.createHandle=function(){var t=document.createElement("div");return t.className="lm-SplitPanel-handle",t.classList.add("p-SplitPanel-handle"),t},t}();t.Renderer=e,t.defaultRenderer=new e,t.getStretch=function(t){return de.getStretch(t)},t.setStretch=function(t,e){de.setStretch(t,e)}}(ye||(ye={})),function(t){t.createLayout=function(t){return t.layout||new de({renderer:t.renderer||ye.defaultRenderer,orientation:t.orientation,alignment:t.alignment,spacing:t.spacing})}}(ge||(ge={}));var _e,be=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,te(te({},e),{layout:_e.createLayout(e)}))||this;return n._widgetSizesCache=new WeakMap,n.addClass("lm-AccordionPanel"),n}return Qt(e,t),Object.defineProperty(e.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleSpace",{get:function(){return this.layout.titleSpace},set:function(t){this.layout.titleSpace=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titles",{get:function(){return this.layout.titles},enumerable:!0,configurable:!0}),e.prototype.addWidget=function(e){t.prototype.addWidget.call(this,e),e.title.changed.connect(this._onTitleChanged,this)},e.prototype.collapse=function(t){var e=this.layout.widgets[t];e&&!e.isHidden&&this._toggleExpansion(t)},e.prototype.expand=function(t){var e=this.layout.widgets[t];e&&e.isHidden&&this._toggleExpansion(t)},e.prototype.insertWidget=function(e,n){t.prototype.insertWidget.call(this,e,n),n.title.changed.connect(this._onTitleChanged,this)},e.prototype.handleEvent=function(e){switch(t.prototype.handleEvent.call(this,e),e.type){case"click":this._evtClick(e);break;case"keydown":this._eventKeyDown(e)}},e.prototype.onBeforeAttach=function(e){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),t.prototype.onBeforeAttach.call(this,e)},e.prototype.onAfterDetach=function(e){t.prototype.onAfterDetach.call(this,e),this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this)},e.prototype._onTitleChanged=function(t){var e=B.findFirstIndex(this.widgets,(function(e){return e.contains(t.owner)}));e>=0&&(this.layout.updateTitle(e,t.owner),this.update())},e.prototype._computeWidgetSize=function(t){var e=this.layout,n=e.widgets[t];if(n){var i=n.isHidden,r=e.absoluteSizes(),o=(i?-1:1)*this.spacing,s=r.reduce((function(t,e){return t+e})),a=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}(r);if(i){var c=this._widgetSizesCache.get(n);if(!c)return;a[t]+=c,-1===(u=a.map((function(t){return t-c>0})).lastIndexOf(!0))?a.forEach((function(e,n){n!==t&&(a[n]-=r[n]/s*(c-o))})):a[u]-=c-o}else{var u,l=r[t];if(this._widgetSizesCache.set(n,l),a[t]=0,-1===(u=a.map((function(t){return t>0})).lastIndexOf(!0)))return;a[u]=r[u]+l+o}return a.map((function(t){return t/(s+o)}))}},e.prototype._evtClick=function(t){var e=t.target;if(e){var n=B.findFirstIndex(this.titles,(function(t){return t.contains(e)}));n>=0&&(t.preventDefault(),t.stopPropagation(),this._toggleExpansion(n))}},e.prototype._eventKeyDown=function(t){if(!t.defaultPrevented){var e=t.target,n=!1;if(e){var i=B.findFirstIndex(this.titles,(function(t){return t.contains(e)}));if(i>=0){var r=t.keyCode.toString();if(t.key.match(/Space|Enter/)||r.match(/13|32/))e.click(),n=!0;else if("horizontal"===this.orientation?t.key.match(/ArrowLeft|ArrowRight/)||r.match(/37|39/):t.key.match(/ArrowUp|ArrowDown/)||r.match(/38|40/)){var o=t.key.match(/ArrowLeft|ArrowUp/)||r.match(/37|38/)?-1:1,s=this.titles.length,a=(i+s+o)%s;this.titles[a].focus(),n=!0}else"End"===t.key||"35"===r?(this.titles[this.titles.length-1].focus(),n=!0):"Home"!==t.key&&"36"!==r||(this.titles[0].focus(),n=!0)}n&&t.preventDefault()}}},e.prototype._toggleExpansion=function(t){var e=this.titles[t],n=this.layout.widgets[t],i=this._computeWidgetSize(t);i&&this.setRelativeSizes(i,!1),n.isHidden?(e.classList.add("lm-mod-expanded"),e.setAttribute("aria-expanded","true"),n.show()):(e.classList.remove("lm-mod-expanded"),e.setAttribute("aria-expanded","false"),n.hide())},e}(ye);!function(t){var e=function(t){function e(){var n=t.call(this)||this;return n.titleClassName="lm-AccordionPanel-title",n._titleID=0,n._titleKeys=new WeakMap,n._uuid=++e._nInstance,n}return Qt(e,t),e.prototype.createCollapseIcon=function(t){return document.createElement("span")},e.prototype.createSectionTitle=function(t){var e=document.createElement("h3");for(var n in e.setAttribute("role","button"),e.setAttribute("tabindex","0"),e.id=this.createTitleKey(t),e.className=this.titleClassName,t.dataset)e.dataset[n]=t.dataset[n];e.appendChild(this.createCollapseIcon(t)).className="lm-AccordionPanel-titleCollapser";var i=e.appendChild(document.createElement("span"));return i.className="lm-AccordionPanel-titleLabel",i.textContent=t.label,i.title=t.caption||t.label,e},e.prototype.createTitleKey=function(t){var e=this._titleKeys.get(t);return void 0===e&&(e="title-key-"+this._uuid+"-"+this._titleID++,this._titleKeys.set(t,e)),e},e._nInstance=0,e}(ye.Renderer);t.Renderer=e,t.defaultRenderer=new e}(be||(be={})),function(t){t.createLayout=function(t){return t.layout||new fe({renderer:t.renderer||be.defaultRenderer,orientation:t.orientation,alignment:t.alignment,spacing:t.spacing,titleSpace:t.titleSpace})}}(_e||(_e={}));var xe,we=function(t){function e(e){void 0===e&&(e={});var n=t.call(this)||this;return n._fixed=0,n._spacing=4,n._dirty=!1,n._sizers=[],n._items=[],n._box=null,n._alignment="start",n._direction="top-to-bottom",void 0!==e.direction&&(n._direction=e.direction),void 0!==e.alignment&&(n._alignment=e.alignment),void 0!==e.spacing&&(n._spacing=he.clampDimension(e.spacing)),n}return Qt(e,t),e.prototype.dispose=function(){R(this._items,(function(t){t.dispose()})),this._box=null,this._items.length=0,this._sizers.length=0,t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction!==t&&(this._direction=t,this.parent&&(this.parent.dataset.direction=t,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignment",{get:function(){return this._alignment},set:function(t){this._alignment!==t&&(this._alignment=t,this.parent&&(this.parent.dataset.alignment=t,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){return this._spacing},set:function(t){t=he.clampDimension(t),this._spacing!==t&&(this._spacing=t,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,t.prototype.init.call(this)},e.prototype.attachWidget=function(t,e){B.insert(this._items,t,new ae(e)),B.insert(this._sizers,t,new ee),this.parent.isAttached&&wt.sendMessage(e,re.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&wt.sendMessage(e,re.Msg.AfterAttach),this.parent.fit()},e.prototype.moveWidget=function(t,e,n){B.move(this._items,t,e),B.move(this._sizers,t,e),this.parent.update()},e.prototype.detachWidget=function(t,e){var n=B.removeAt(this._items,t);B.removeAt(this._sizers,t),this.parent.isAttached&&wt.sendMessage(e,re.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&wt.sendMessage(e,re.Msg.AfterDetach),n.dispose(),this.parent.fit()},e.prototype.onBeforeShow=function(e){t.prototype.onBeforeShow.call(this,e),this.parent.update()},e.prototype.onBeforeAttach=function(e){t.prototype.onBeforeAttach.call(this,e),this.parent.fit()},e.prototype.onChildShown=function(t){this.parent.fit()},e.prototype.onChildHidden=function(t){this.parent.fit()},e.prototype.onResize=function(t){this.parent.isVisible&&this._update(t.width,t.height)},e.prototype.onUpdateRequest=function(t){this.parent.isVisible&&this._update(-1,-1)},e.prototype.onFitRequest=function(t){this.parent.isAttached&&this._fit()},e.prototype._fit=function(){for(var t=0,n=0,i=this._items.length;n<i;++n)t+=+!this._items[n].isHidden;this._fixed=this._spacing*Math.max(0,t-1);var r=xe.isHorizontal(this._direction),o=r?this._fixed:0,s=r?0:this._fixed;for(n=0,i=this._items.length;n<i;++n){var a=this._items[n],c=this._sizers[n];a.isHidden?(c.minSize=0,c.maxSize=0):(a.fit(),c.sizeHint=e.getSizeBasis(a.widget),c.stretch=e.getStretch(a.widget),r?(c.minSize=a.minWidth,c.maxSize=a.maxWidth,o+=a.minWidth,s=Math.max(s,a.minHeight)):(c.minSize=a.minHeight,c.maxSize=a.maxHeight,s+=a.minHeight,o=Math.max(o,a.minWidth)))}var u=this._box=tt.boxSizing(this.parent.node);o+=u.horizontalSum,s+=u.verticalSum;var l=this.parent.node.style;l.minWidth=o+"px",l.minHeight=s+"px",this._dirty=!0,this.parent.parent&&wt.sendMessage(this.parent.parent,re.Msg.FitRequest),this._dirty&&wt.sendMessage(this.parent,re.Msg.UpdateRequest)},e.prototype._update=function(t,e){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n){t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=tt.boxSizing(this.parent.node));var o,s=this._box.paddingTop,a=this._box.paddingLeft,c=t-this._box.horizontalSum,u=e-this._box.verticalSum;switch(this._direction){case"left-to-right":o=Zt.calc(this._sizers,Math.max(0,c-this._fixed));break;case"top-to-bottom":o=Zt.calc(this._sizers,Math.max(0,u-this._fixed));break;case"right-to-left":o=Zt.calc(this._sizers,Math.max(0,c-this._fixed)),a+=c;break;case"bottom-to-top":o=Zt.calc(this._sizers,Math.max(0,u-this._fixed)),s+=u;break;default:throw"unreachable"}var l=0,h=0;if(o>0)switch(this._alignment){case"start":break;case"center":l=0,h=o/2;break;case"end":l=0,h=o;break;case"justify":l=o/n,h=0;break;default:throw"unreachable"}for(i=0,r=this._items.length;i<r;++i){var d=this._items[i];if(!d.isHidden){var p=this._sizers[i].size;switch(this._direction){case"left-to-right":d.update(a+h,s,p+l,u),a+=p+l+this._spacing;break;case"top-to-bottom":d.update(a,s+h,c,p+l),s+=p+l+this._spacing;break;case"right-to-left":d.update(a-h-p-l,s,p+l,u),a-=p+l+this._spacing;break;case"bottom-to-top":d.update(a,s-h-p-l,c,p+l),s-=p+l+this._spacing;break;default:throw"unreachable"}}}}},e}(ue);!function(t){t.getStretch=function(t){return xe.stretchProperty.get(t)},t.setStretch=function(t,e){xe.stretchProperty.set(t,e)},t.getSizeBasis=function(t){return xe.sizeBasisProperty.get(t)},t.setSizeBasis=function(t,e){xe.sizeBasisProperty.set(t,e)}}(we||(we={})),function(t){function e(t){t.parent&&t.parent.layout instanceof we&&t.parent.fit()}t.stretchProperty=new At({name:"stretch",create:function(){return 0},coerce:function(t,e){return Math.max(0,Math.floor(e))},changed:e}),t.sizeBasisProperty=new At({name:"sizeBasis",create:function(){return 0},coerce:function(t,e){return Math.max(0,Math.floor(e))},changed:e}),t.isHorizontal=function(t){return"left-to-right"===t||"right-to-left"===t},t.clampSpacing=function(t){return Math.max(0,Math.floor(t))}}(xe||(xe={}));var Me,Ce=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,{layout:Me.createLayout(e)})||this;return n.addClass("lm-BoxPanel"),n.addClass("p-BoxPanel"),n}return Qt(e,t),Object.defineProperty(e.prototype,"direction",{get:function(){return this.layout.direction},set:function(t){this.layout.direction=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignment",{get:function(){return this.layout.alignment},set:function(t){this.layout.alignment=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(t){this.layout.spacing=t},enumerable:!0,configurable:!0}),e.prototype.onChildAdded=function(t){t.child.addClass("lm-BoxPanel-child"),t.child.addClass("p-BoxPanel-child")},e.prototype.onChildRemoved=function(t){t.child.removeClass("lm-BoxPanel-child"),t.child.removeClass("p-BoxPanel-child")},e}(ve);!function(t){t.getStretch=function(t){return we.getStretch(t)},t.setStretch=function(t,e){we.setStretch(t,e)},t.getSizeBasis=function(t){return we.getSizeBasis(t)},t.setSizeBasis=function(t,e){we.setSizeBasis(t,e)}}(Ce||(Ce={})),function(t){t.createLayout=function(t){return t.layout||new we(t)}}(Me||(Me={}));var Ee,Se=function(t){function e(n){var i=t.call(this,{node:Ee.createNode()})||this;return i._activeIndex=-1,i._items=[],i._results=null,i.addClass("lm-CommandPalette"),i.addClass("p-CommandPalette"),i.setFlag(re.Flag.DisallowLayout),i.commands=n.commands,i.renderer=n.renderer||e.defaultRenderer,i.commands.commandChanged.connect(i._onGenericChange,i),i.commands.keyBindingChanged.connect(i._onGenericChange,i),i}return Qt(e,t),e.prototype.dispose=function(){this._items.length=0,this._results=null,t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"searchNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-search")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-input")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),e.prototype.addItem=function(t){var e=Ee.createItem(this.commands,t);return this._items.push(e),this.refresh(),e},e.prototype.addItems=function(t){var e=this,n=t.map((function(t){return Ee.createItem(e.commands,t)}));return n.forEach((function(t){return e._items.push(t)})),this.refresh(),n},e.prototype.removeItem=function(t){this.removeItemAt(this._items.indexOf(t))},e.prototype.removeItemAt=function(t){B.removeAt(this._items,t)&&this.refresh()},e.prototype.clearItems=function(){0!==this._items.length&&(this._items.length=0,this.refresh())},e.prototype.refresh=function(){this._results=null,""!==this.inputNode.value?this.node.getElementsByClassName("lm-close-icon")[0].style.display="inherit":this.node.getElementsByClassName("lm-close-icon")[0].style.display="none",this.update()},e.prototype.handleEvent=function(t){switch(t.type){case"click":this._evtClick(t);break;case"keydown":this._evtKeyDown(t);break;case"input":this.refresh();break;case"focus":case"blur":this._toggleFocused()}},e.prototype.onBeforeAttach=function(t){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),this.node.addEventListener("input",this),this.node.addEventListener("focus",this,!0),this.node.addEventListener("blur",this,!0)},e.prototype.onAfterDetach=function(t){this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this),this.node.removeEventListener("input",this),this.node.removeEventListener("focus",this,!0),this.node.removeEventListener("blur",this,!0)},e.prototype.onActivateRequest=function(t){if(this.isAttached){var e=this.inputNode;e.focus(),e.select()}},e.prototype.onUpdateRequest=function(t){var e=this.inputNode.value,n=this.contentNode,i=this._results;if(i||(i=this._results=Ee.search(this._items,e),this._activeIndex=e?B.findFirstIndex(i,Ee.canActivate):-1),e||0!==i.length)if(e&&0===i.length){var r=this.renderer.renderEmptyMessage({query:e});Ut.render(r,n)}else{for(var o=this.renderer,s=this._activeIndex,a=new Array(i.length),c=0,u=i.length;c<u;++c){var l=i[c];if("header"===l.type){var h=l.indices,d=l.category;a[c]=o.renderHeader({category:d,indices:h})}else{var p=l.item,f=(h=l.indices,c===s);a[c]=o.renderItem({item:p,indices:h,active:f})}}if(Ut.render(a,n),s<0||s>=i.length)n.scrollTop=0;else{var m=n.children[s];tt.scrollIntoViewIfNeeded(n,m)}}else Ut.render(null,n)},e.prototype._evtClick=function(t){if(0===t.button){if(t.target.classList.contains("lm-close-icon"))return this.inputNode.value="",void this.refresh();var e=B.findFirstIndex(this.contentNode.children,(function(e){return e.contains(t.target)}));-1!==e&&(t.preventDefault(),t.stopPropagation(),this._execute(e))}},e.prototype._evtKeyDown=function(t){if(!(t.altKey||t.ctrlKey||t.metaKey||t.shiftKey))switch(t.keyCode){case 13:t.preventDefault(),t.stopPropagation(),this._execute(this._activeIndex);break;case 38:t.preventDefault(),t.stopPropagation(),this._activatePreviousItem();break;case 40:t.preventDefault(),t.stopPropagation(),this._activateNextItem()}},e.prototype._activateNextItem=function(){if(this._results&&0!==this._results.length){var t=this._activeIndex,e=this._results.length,n=t<e-1?t+1:0,i=0===n?e-1:n-1;this._activeIndex=B.findFirstIndex(this._results,Ee.canActivate,n,i),this.update()}},e.prototype._activatePreviousItem=function(){if(this._results&&0!==this._results.length){var t=this._activeIndex,e=this._results.length,n=t<=0?e-1:t-1,i=n===e-1?0:n+1;this._activeIndex=B.findLastIndex(this._results,Ee.canActivate,n,i),this.update()}},e.prototype._execute=function(t){if(this._results){var e=this._results[t];if(e){if("header"===e.type){var n=this.inputNode;return n.value=e.category.toLowerCase()+" ",n.focus(),void this.refresh()}e.item.isEnabled&&(this.commands.execute(e.item.command,e.item.args),this.inputNode.value="",this.refresh())}}},e.prototype._toggleFocused=function(){var t=document.activeElement===this.inputNode;this.toggleClass("lm-mod-focused",t),this.toggleClass("p-mod-focused",t)},e.prototype._onGenericChange=function(){this.refresh()},e}(re);!function(t){var e=function(){function t(){}return t.prototype.renderHeader=function(t){var e=this.formatHeader(t);return Jt.li({className:"lm-CommandPalette-header p-CommandPalette-header"},e)},t.prototype.renderItem=function(t){var e=this.createItemClass(t),n=this.createItemDataset(t);return t.item.isToggleable?Jt.li({className:e,dataset:n,role:"checkbox","aria-checked":""+t.item.isToggled},this.renderItemIcon(t),this.renderItemContent(t),this.renderItemShortcut(t)):Jt.li({className:e,dataset:n},this.renderItemIcon(t),this.renderItemContent(t),this.renderItemShortcut(t))},t.prototype.renderEmptyMessage=function(t){var e=this.formatEmptyMessage(t);return Jt.li({className:"lm-CommandPalette-emptyMessage p-CommandPalette-emptyMessage"},e)},t.prototype.renderItemIcon=function(t){var e=this.createIconClass(t);return"string"==typeof t.item.icon?Jt.div({className:e},t.item.iconLabel):Jt.div({className:e},t.item.icon,t.item.iconLabel)},t.prototype.renderItemContent=function(t){return Jt.div({className:"lm-CommandPalette-itemContent p-CommandPalette-itemContent"},this.renderItemLabel(t),this.renderItemCaption(t))},t.prototype.renderItemLabel=function(t){var e=this.formatItemLabel(t);return Jt.div({className:"lm-CommandPalette-itemLabel p-CommandPalette-itemLabel"},e)},t.prototype.renderItemCaption=function(t){var e=this.formatItemCaption(t);return Jt.div({className:"lm-CommandPalette-itemCaption p-CommandPalette-itemCaption"},e)},t.prototype.renderItemShortcut=function(t){var e=this.formatItemShortcut(t);return Jt.div({className:"lm-CommandPalette-itemShortcut p-CommandPalette-itemShortcut"},e)},t.prototype.createItemClass=function(t){var e="lm-CommandPalette-item";e+=" p-CommandPalette-item",t.item.isEnabled||(e+=" lm-mod-disabled",e+=" p-mod-disabled"),t.item.isToggled&&(e+=" lm-mod-toggled",e+=" p-mod-toggled"),t.active&&(e+=" lm-mod-active",e+=" p-mod-active");var n=t.item.className;return n&&(e+=" "+n),e},t.prototype.createItemDataset=function(t){return te(te({},t.item.dataset),{command:t.item.command})},t.prototype.createIconClass=function(t){var e="lm-CommandPalette-itemIcon";e+=" p-CommandPalette-itemIcon";var n=t.item.iconClass;return n?e+" "+n:e},t.prototype.formatHeader=function(t){return t.indices&&0!==t.indices.length?Q.highlight(t.category,t.indices,Jt.mark):t.category},t.prototype.formatEmptyMessage=function(t){return"No commands found that match '"+t.query+"'"},t.prototype.formatItemShortcut=function(t){var e=t.item.keyBinding;return e?qt.formatKeystroke(e.keys):null},t.prototype.formatItemLabel=function(t){return t.indices&&0!==t.indices.length?Q.highlight(t.item.label,t.indices,Jt.mark):t.item.label},t.prototype.formatItemCaption=function(t){return t.item.caption},t}();t.Renderer=e,t.defaultRenderer=new e}(Se||(Se={})),function(t){function n(t,e){for(var n=t.category.toLowerCase(),i=n+" "+t.label.toLowerCase(),r=1/0,o=null,s=/\b\w/g;;){var a=s.exec(i);if(!a)break;var c=Q.matchSumOfDeltas(i,e,a.index);if(!c)break;c&&c.score<=r&&(r=c.score,o=c.indices)}if(!o||r===1/0)return null;for(var u=n.length+1,l=B.lowerBound(o,u,(function(t,e){return t-e})),h=o.slice(0,l),d=o.slice(l),p=0,f=d.length;p<f;++p)d[p]-=u;return 0===h.length?{matchType:0,categoryIndices:null,labelIndices:d,score:r,item:t}:0===d.length?{matchType:1,categoryIndices:h,labelIndices:null,score:r,item:t}:{matchType:2,categoryIndices:h,labelIndices:d,score:r,item:t}}function i(t,e){var n=t.matchType-e.matchType;if(0!==n)return n;var i=t.score-e.score;if(0!==i)return i;var r=0,o=0;switch(t.matchType){case 0:r=t.labelIndices[0],o=e.labelIndices[0];break;case 1:case 2:r=t.categoryIndices[0],o=e.categoryIndices[0]}if(r!==o)return r-o;var s=t.item.category.localeCompare(e.item.category);if(0!==s)return s;var a=t.item.rank,c=e.item.rank;return a!==c?a<c?-1:1:t.item.label.localeCompare(e.item.label)}t.createNode=function(){var t=document.createElement("div"),e=document.createElement("div"),n=document.createElement("div"),i=document.createElement("input"),r=document.createElement("ul"),o=document.createElement("button");return e.className="lm-CommandPalette-search",n.className="lm-CommandPalette-wrapper",i.className="lm-CommandPalette-input",o.className="lm-close-icon",r.className="lm-CommandPalette-content",e.classList.add("p-CommandPalette-search"),n.classList.add("p-CommandPalette-wrapper"),i.classList.add("p-CommandPalette-input"),r.classList.add("p-CommandPalette-content"),i.spellcheck=!1,n.appendChild(i),n.appendChild(o),e.appendChild(n),t.appendChild(e),t.appendChild(r),t},t.createItem=function(t,e){return new r(t,e)},t.search=function(t,e){var r=function(t,e){e=e.replace(/\s+/g,"").toLowerCase();for(var i=[],r=0,o=t.length;r<o;++r){var s=t[r];if(s.isVisible)if(e){var a=n(s,e);a&&(s.isEnabled||(a.score+=1e3),i.push(a))}else i.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:s})}return i}(t,e);return r.sort(i),function(t){var e=new Array(t.length);B.fill(e,!1);for(var n=[],i=0,r=t.length;i<r;++i)if(!e[i]){var o=t[i],s=o.item,a=o.categoryIndices,c=s.category;n.push({type:"header",category:c,indices:a});for(var u=i;u<r;++u)if(!e[u]){var l=t[u],h=l.item,d=l.labelIndices;h.category===c&&(n.push({type:"item",item:h,indices:d}),e[u]=!0)}}return n}(r)},t.canActivate=function(t){return"item"===t.type&&t.item.isEnabled};var r=function(){function t(t,n){this._commands=t,this.category=n.category.trim().replace(/\s+/g," "),this.command=n.command,this.args=n.args||e.JSONExt.emptyObject,this.rank=void 0!==n.rank?n.rank:1/0}return Object.defineProperty(t.prototype,"label",{get:function(){return this._commands.label(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this._commands.icon(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass",{get:function(){return this._commands.iconClass(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconLabel",{get:function(){return this._commands.iconLabel(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"caption",{get:function(){return this._commands.caption(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this._commands.className(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataset",{get:function(){return this._commands.dataset(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._commands.isEnabled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isToggled",{get:function(){return this._commands.isToggled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isToggleable",{get:function(){return this._commands.isToggleable(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._commands.isVisible(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyBinding",{get:function(){var t=this.command,n=this.args;return B.findLastValue(this._commands.keyBindings,(function(i){return i.command===t&&e.JSONExt.deepEqual(i.args,n)}))||null},enumerable:!0,configurable:!0}),t}()}(Ee||(Ee={}));var Ae,ke,Te=function(t){function e(n){var i=t.call(this,{node:Ae.createNode()})||this;return i._childIndex=-1,i._activeIndex=-1,i._openTimerID=0,i._closeTimerID=0,i._items=[],i._childMenu=null,i._parentMenu=null,i._aboutToClose=new Tt(i),i._menuRequested=new Tt(i),i.addClass("lm-Menu"),i.addClass("p-Menu"),i.setFlag(re.Flag.DisallowLayout),i.commands=n.commands,i.renderer=n.renderer||e.defaultRenderer,i}return Qt(e,t),e.prototype.dispose=function(){this.close(),this._items.length=0,t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"aboutToClose",{get:function(){return this._aboutToClose},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menuRequested",{get:function(){return this._menuRequested},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentMenu",{get:function(){return this._parentMenu},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootMenu",{get:function(){for(var t=this;t._parentMenu;)t=t._parentMenu;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leafMenu",{get:function(){for(var t=this;t._childMenu;)t=t._childMenu;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-Menu-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this._items[this._activeIndex]||null},set:function(t){this.activeIndex=t?this._items.indexOf(t):-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(t){(t<0||t>=this._items.length)&&(t=-1),-1===t||Ae.canActivate(this._items[t])||(t=-1),this._activeIndex!==t&&(this._activeIndex=t,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),e.prototype.activateNextItem=function(){var t=this._items.length,e=this._activeIndex,n=e<t-1?e+1:0,i=0===n?t-1:n-1;this.activeIndex=B.findFirstIndex(this._items,Ae.canActivate,n,i)},e.prototype.activatePreviousItem=function(){var t=this._items.length,e=this._activeIndex,n=e<=0?t-1:e-1,i=n===t-1?0:n+1;this.activeIndex=B.findLastIndex(this._items,Ae.canActivate,n,i)},e.prototype.triggerActiveItem=function(){if(this.isAttached){var t=this.activeItem;if(t)if(this._cancelOpenTimer(),this._cancelCloseTimer(),"submenu"!==t.type){this.rootMenu.close();var e=t.command,n=t.args;this.commands.isEnabled(e,n)?this.commands.execute(e,n):console.log("Command '"+e+"' is disabled.")}else this._openChildMenu(!0)}},e.prototype.addItem=function(t){return this.insertItem(this._items.length,t)},e.prototype.insertItem=function(t,e){this.isAttached&&this.close(),this.activeIndex=-1;var n=Math.max(0,Math.min(t,this._items.length)),i=Ae.createItem(this,e);return B.insert(this._items,n,i),this.update(),i},e.prototype.removeItem=function(t){this.removeItemAt(this._items.indexOf(t))},e.prototype.removeItemAt=function(t){this.isAttached&&this.close(),this.activeIndex=-1,B.removeAt(this._items,t)&&this.update()},e.prototype.clearItems=function(){this.isAttached&&this.close(),this.activeIndex=-1,0!==this._items.length&&(this._items.length=0,this.update())},e.prototype.open=function(t,e,n){if(void 0===n&&(n={}),!this.isAttached){var i=n.forceX||!1,r=n.forceY||!1;Ae.openRootMenu(this,t,e,i,r),this.activate()}},e.prototype.handleEvent=function(t){switch(t.type){case"keydown":this._evtKeyDown(t);break;case"mouseup":this._evtMouseUp(t);break;case"mousemove":this._evtMouseMove(t);break;case"mouseenter":this._evtMouseEnter(t);break;case"mouseleave":this._evtMouseLeave(t);break;case"mousedown":this._evtMouseDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}},e.prototype.onBeforeAttach=function(t){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)},e.prototype.onAfterDetach=function(t){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)},e.prototype.onActivateRequest=function(t){this.isAttached&&this.node.focus()},e.prototype.onUpdateRequest=function(t){for(var e=this,n=this._items,i=this.renderer,r=this._activeIndex,o=Ae.computeCollapsed(n),s=new Array(n.length),a=function(t,a){var c=n[t],u=t===r,l=o[t];s[t]=i.renderItem({item:c,active:u,collapsed:l,onfocus:function(){e.activeIndex=t}})},c=0,u=n.length;c<u;++c)a(c);Ut.render(s,this.contentNode)},e.prototype.onCloseRequest=function(e){this._cancelOpenTimer(),this._cancelCloseTimer(),this.activeIndex=-1;var n=this._childMenu;n&&(this._childIndex=-1,this._childMenu=null,n._parentMenu=null,n.close());var i=this._parentMenu;i&&(this._parentMenu=null,i._childIndex=-1,i._childMenu=null,i.activate()),this.isAttached&&this._aboutToClose.emit(void 0),t.prototype.onCloseRequest.call(this,e)},e.prototype._evtKeyDown=function(t){t.preventDefault(),t.stopPropagation();var e=t.keyCode;if(13!==e)if(27!==e)if(37!==e)if(38!==e)if(39!==e)if(40!==e){var n=Bt().keyForKeydownEvent(t);if(n){var i=this._activeIndex+1,r=Ae.findMnemonic(this._items,n,i);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.triggerActiveItem())}}else this.activateNextItem();else{var o=this.activeItem;o&&"submenu"===o.type?this.triggerActiveItem():this.rootMenu._menuRequested.emit("next")}else this.activatePreviousItem();else this._parentMenu?this.close():this._menuRequested.emit("previous");else this.close();else this.triggerActiveItem()},e.prototype._evtMouseUp=function(t){0===t.button&&(t.preventDefault(),t.stopPropagation(),this.triggerActiveItem())},e.prototype._evtMouseMove=function(t){var e=B.findFirstIndex(this.contentNode.children,(function(e){return tt.hitTest(e,t.clientX,t.clientY)}));if(e!==this._activeIndex){if(this.activeIndex=e,(e=this.activeIndex)===this._childIndex)return this._cancelOpenTimer(),void this._cancelCloseTimer();-1!==this._childIndex&&this._startCloseTimer(),this._cancelOpenTimer();var n=this.activeItem;n&&"submenu"===n.type&&n.submenu&&this._startOpenTimer()}},e.prototype._evtMouseEnter=function(t){for(var e=this._parentMenu;e;e=e._parentMenu)e._cancelOpenTimer(),e._cancelCloseTimer(),e.activeIndex=e._childIndex},e.prototype._evtMouseLeave=function(t){if(this._cancelOpenTimer(),this._childMenu){var e=t.clientX,n=t.clientY;tt.hitTest(this._childMenu.node,e,n)?this._cancelCloseTimer():(this.activeIndex=-1,this._startCloseTimer())}else this.activeIndex=-1},e.prototype._evtMouseDown=function(t){this._parentMenu||(Ae.hitTestMenus(this,t.clientX,t.clientY)?(t.preventDefault(),t.stopPropagation()):this.close())},e.prototype._openChildMenu=function(t){void 0===t&&(t=!1);var n=this.activeItem;if(n&&"submenu"===n.type&&n.submenu){var i=n.submenu;if(i!==this._childMenu){e.saveWindowData(),this._closeChildMenu(),this._childMenu=i,this._childIndex=this._activeIndex,i._parentMenu=this,wt.sendMessage(this,re.Msg.UpdateRequest);var r=this.contentNode.children[this._activeIndex];Ae.openSubmenu(i,r),t&&(i.activeIndex=-1,i.activateNextItem()),i.activate()}}else this._closeChildMenu()},e.prototype._closeChildMenu=function(){this._childMenu&&this._childMenu.close()},e.prototype._startOpenTimer=function(){var t=this;0===this._openTimerID&&(this._openTimerID=window.setTimeout((function(){t._openTimerID=0,t._openChildMenu()}),Ae.TIMER_DELAY))},e.prototype._startCloseTimer=function(){var t=this;0===this._closeTimerID&&(this._closeTimerID=window.setTimeout((function(){t._closeTimerID=0,t._closeChildMenu()}),Ae.TIMER_DELAY))},e.prototype._cancelOpenTimer=function(){0!==this._openTimerID&&(clearTimeout(this._openTimerID),this._openTimerID=0)},e.prototype._cancelCloseTimer=function(){0!==this._closeTimerID&&(clearTimeout(this._closeTimerID),this._closeTimerID=0)},e.saveWindowData=function(){Ae.saveWindowData()},e}(re);!function(t){var e=function(){function t(){}return t.prototype.renderItem=function(t){var e=this.createItemClass(t),n=this.createItemDataset(t),i=this.createItemARIA(t);return Jt.li(te({className:e,dataset:n,tabindex:"0",onfocus:t.onfocus},i),this.renderIcon(t),this.renderLabel(t),this.renderShortcut(t),this.renderSubmenu(t))},t.prototype.renderIcon=function(t){var e=this.createIconClass(t);return"string"==typeof t.item.icon?Jt.div({className:e},t.item.iconLabel):Jt.div({className:e},t.item.icon,t.item.iconLabel)},t.prototype.renderLabel=function(t){var e=this.formatLabel(t);return Jt.div({className:"lm-Menu-itemLabel p-Menu-itemLabel"},e)},t.prototype.renderShortcut=function(t){var e=this.formatShortcut(t);return Jt.div({className:"lm-Menu-itemShortcut p-Menu-itemShortcut"},e)},t.prototype.renderSubmenu=function(t){return Jt.div({className:"lm-Menu-itemSubmenuIcon p-Menu-itemSubmenuIcon"})},t.prototype.createItemClass=function(t){var e="lm-Menu-item";e+=" p-Menu-item",t.item.isEnabled||(e+=" lm-mod-disabled",e+=" p-mod-disabled"),t.item.isToggled&&(e+=" lm-mod-toggled",e+=" p-mod-toggled"),t.item.isVisible||(e+=" lm-mod-hidden",e+=" p-mod-hidden"),t.active&&(e+=" lm-mod-active",e+=" p-mod-active"),t.collapsed&&(e+=" lm-mod-collapsed",e+=" p-mod-collapsed");var n=t.item.className;return n&&(e+=" "+n),e},t.prototype.createItemDataset=function(t){var e=t.item,n=e.type,i=e.command,r=e.dataset;return te(te({},r),"command"===n?{type:n,command:i}:{type:n})},t.prototype.createIconClass=function(t){var e="lm-Menu-itemIcon";e+=" p-Menu-itemIcon";var n=t.item.iconClass;return n?e+" "+n:e},t.prototype.createItemARIA=function(t){var e={};switch(t.item.type){case"separator":e.role="presentation";break;case"submenu":e["aria-haspopup"]="true",t.item.isEnabled||(e["aria-disabled"]="true");break;default:t.item.isEnabled||(e["aria-disabled"]="true"),e.role="menuitem"}return e},t.prototype.formatLabel=function(t){var e=t.item,n=e.label,i=e.mnemonic;if(i<0||i>=n.length)return n;var r=n.slice(0,i),o=n.slice(i+1),s=n[i];return[r,Jt.span({className:"lm-Menu-itemMnemonic p-Menu-itemMnemonic"},s),o]},t.prototype.formatShortcut=function(t){var e=t.item.keyBinding;return e?qt.formatKeystroke(e.keys):null},t}();t.Renderer=e,t.defaultRenderer=new e}(Te||(Te={})),function(t){t.TIMER_DELAY=300,t.SUBMENU_OVERLAP=3;var n=null,i=0;function r(){return i>0?(i--,n):s()}function o(t){return"separator"!==t.type&&t.isEnabled&&t.isVisible}function s(){return{pageXOffset:window.pageXOffset,pageYOffset:window.pageYOffset,clientWidth:document.documentElement.clientWidth,clientHeight:document.documentElement.clientHeight}}t.saveWindowData=function(){n=s(),i++},t.createNode=function(){var t=document.createElement("div"),e=document.createElement("ul");return e.className="lm-Menu-content",e.classList.add("p-Menu-content"),t.appendChild(e),e.setAttribute("role","menu"),t.tabIndex=0,t},t.canActivate=o,t.createItem=function(t,e){return new a(t.commands,e)},t.hitTestMenus=function(t,e,n){for(var i=t;i;i=i.childMenu)if(tt.hitTest(i.node,e,n))return!0;return!1},t.computeCollapsed=function(t){var e=new Array(t.length);B.fill(e,!1);for(var n=0,i=t.length;n<i;++n)if((s=t[n]).isVisible){if("separator"!==s.type)break;e[n]=!0}for(var r=i-1;r>=0;--r)if((s=t[r]).isVisible){if("separator"!==s.type)break;e[r]=!0}for(var o=!1;++n<r;){var s;(s=t[n]).isVisible&&("separator"!==s.type?o=!1:o?e[n]=!0:o=!0)}return e},t.openRootMenu=function(t,e,n,i,o){var s=r(),a=s.pageXOffset,c=s.pageYOffset,u=s.clientWidth,l=s.clientHeight;wt.sendMessage(t,re.Msg.UpdateRequest);var h=l-(o?n:0),d=t.node,p=d.style;p.opacity="0",p.maxHeight=h+"px",re.attach(t,document.body);var f=d.getBoundingClientRect(),m=f.width,v=f.height;!i&&e+m>a+u&&(e=a+u-m),!o&&n+v>c+l&&(n>c+l?n=c+l-v:n-=v),p.transform="translate("+Math.max(0,e)+"px, "+Math.max(0,n)+"px",p.opacity="1"},t.openSubmenu=function(e,n){var i=r(),o=i.pageXOffset,s=i.pageYOffset,a=i.clientWidth,c=i.clientHeight;wt.sendMessage(e,re.Msg.UpdateRequest);var u=c,l=e.node,h=l.style;h.opacity="0",h.maxHeight=u+"px",re.attach(e,document.body);var d=l.getBoundingClientRect(),p=d.width,f=d.height,m=tt.boxSizing(e.node),v=n.getBoundingClientRect(),g=v.right-t.SUBMENU_OVERLAP;g+p>o+a&&(g=v.left+t.SUBMENU_OVERLAP-p);var y=v.top-m.borderTop-m.paddingTop;y+f>s+c&&(y=v.bottom+m.borderBottom+m.paddingBottom-f),h.transform="translate("+Math.max(0,g)+"px, "+Math.max(0,y)+"px",h.opacity="1"},t.findMnemonic=function(t,e,n){for(var i=-1,r=-1,s=!1,a=e.toUpperCase(),c=0,u=t.length;c<u;++c){var l=(c+n)%u,h=t[l];if(o(h)){var d=h.label;if(0!==d.length){var p=h.mnemonic;p>=0&&p<d.length?d[p].toUpperCase()===a&&(-1===i?i=l:s=!0):-1===r&&d[0].toUpperCase()===a&&(r=l)}}}return{index:i,multiple:s,auto:r}};var a=function(){function t(t,n){this._commands=t,this.type=n.type||"command",this.command=n.command||"",this.args=n.args||e.JSONExt.emptyObject,this.submenu=n.submenu||null}return Object.defineProperty(t.prototype,"label",{get:function(){return"command"===this.type?this._commands.label(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.label:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mnemonic",{get:function(){return"command"===this.type?this._commands.mnemonic(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.mnemonic:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return"command"===this.type?this._commands.icon(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.icon:this.iconClass},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass",{get:function(){return"command"===this.type?this._commands.iconClass(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconClass:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconLabel",{get:function(){return"command"===this.type?this._commands.iconLabel(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconLabel:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"caption",{get:function(){return"command"===this.type?this._commands.caption(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.caption:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return"command"===this.type?this._commands.className(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.className:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataset",{get:function(){return"command"===this.type?this._commands.dataset(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.dataset:{}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return"command"===this.type?this._commands.isEnabled(this.command,this.args):"submenu"!==this.type||null!==this.submenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isToggled",{get:function(){return"command"===this.type&&this._commands.isToggled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return"command"===this.type?this._commands.isVisible(this.command,this.args):"submenu"!==this.type||null!==this.submenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyBinding",{get:function(){if("command"===this.type){var t=this.command,n=this.args;return B.findLastValue(this._commands.keyBindings,(function(i){return i.command===t&&e.JSONExt.deepEqual(i.args,n)}))||null}return null},enumerable:!0,configurable:!0}),t}()}(Ae||(Ae={})),function(){function t(t){this._groupByTarget=!0,this._idTick=0,this._items=[],this._sortBySelector=!0;var e=t.groupByTarget,n=t.sortBySelector,i=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}(t,["groupByTarget","sortBySelector"]);this.menu=new Te(i),this._groupByTarget=!1!==e,this._sortBySelector=!1!==n}t.prototype.addItem=function(t){var e=this,n=ke.createItem(t,this._idTick++);return this._items.push(n),new It((function(){B.removeFirstOf(e._items,n)}))},t.prototype.open=function(t){var e=this;if(Te.saveWindowData(),this.menu.clearItems(),0===this._items.length)return!1;var n=ke.matchItems(this._items,t,this._groupByTarget,this._sortBySelector);return!(!n||0===n.length||(R(n,(function(t){e.menu.addItem(t)})),this.menu.open(t.clientX,t.clientY),0))}}(),function(t){function e(t,e){var n=t.rank,i=e.rank;return n!==i?n<i?-1:1:t.id-e.id}function n(t,n){var i=nt.calculateSpecificity(t.selector),r=nt.calculateSpecificity(n.selector);return i!==r?r-i:e(t,n)}t.createItem=function(t,e){var n=function(t){if(-1!==t.indexOf(","))throw new Error("Selector cannot contain commas: "+t);if(!nt.isValid(t))throw new Error("Invalid selector: "+t);return t}(t.selector),i=void 0!==t.rank?t.rank:1/0;return te(te({},t),{selector:n,rank:i,id:e})},t.matchItems=function(t,i,r,o){var s=i.target;if(!s)return null;var a=i.currentTarget;if(!a)return null;if(!(a.contains(s)||(s=document.elementFromPoint(i.clientX,i.clientY))&&a.contains(s)))return null;for(var c=[],u=t.slice();null!==s;){for(var l=[],h=0,d=u.length;h<d;++h){var p=u[h];p&&nt.matches(s,p.selector)&&(l.push(p),u[h]=null)}if(0!==l.length&&(r&&l.sort(o?n:e),c.push.apply(c,l)),s===a)break;s=s.parentElement}return r||c.sort(o?n:e),c}}(ke||(ke={}));var Oe,je=function(t){function e(n){void 0===n&&(n={});var i=t.call(this,{node:Oe.createNode()})||this;return i._currentIndex=-1,i._titles=[],i._titlesEditable=!1,i._previousTitle=null,i._dragData=null,i._addButtonEnabled=!1,i._tabMoved=new Tt(i),i._currentChanged=new Tt(i),i._addRequested=new Tt(i),i._tabCloseRequested=new Tt(i),i._tabDetachRequested=new Tt(i),i._tabActivateRequested=new Tt(i),i.addClass("lm-TabBar"),i.addClass("p-TabBar"),i.contentNode.setAttribute("role","tablist"),i.setFlag(re.Flag.DisallowLayout),i._document=n.document||document,i.tabsMovable=n.tabsMovable||!1,i.titlesEditable=n.titlesEditable||!1,i.allowDeselect=n.allowDeselect||!1,i.addButtonEnabled=n.addButtonEnabled||!1,i.insertBehavior=n.insertBehavior||"select-tab-if-needed",i.name=n.name||"",i.orientation=n.orientation||"horizontal",i.removeBehavior=n.removeBehavior||"select-tab-after",i.renderer=n.renderer||e.defaultRenderer,i}return Qt(e,t),e.prototype.dispose=function(){this._releaseMouse(),this._titles.length=0,this._previousTitle=null,t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabMoved",{get:function(){return this._tabMoved},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabActivateRequested",{get:function(){return this._tabActivateRequested},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabCloseRequested",{get:function(){return this._tabCloseRequested},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabDetachRequested",{get:function(){return this._tabDetachRequested},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"document",{get:function(){return this._document},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titlesEditable",{get:function(){return this._titlesEditable},set:function(t){this._titlesEditable=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentTitle",{get:function(){return this._titles[this._currentIndex]||null},set:function(t){this.currentIndex=t?this._titles.indexOf(t):-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(t){if((t<0||t>=this._titles.length)&&(t=-1),this._currentIndex!==t){var e=this._currentIndex,n=this._titles[e]||null,i=t,r=this._titles[i]||null;this._currentIndex=i,this._previousTitle=n,this.update(),this._currentChanged.emit({previousIndex:e,previousTitle:n,currentIndex:i,currentTitle:r})}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,t?this.contentNode.setAttribute("aria-label",t):this.contentNode.removeAttribute("aria-label")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this._orientation},set:function(t){this._orientation!==t&&(this._releaseMouse(),this._orientation=t,this.dataset.orientation=t,this.contentNode.setAttribute("aria-orientation",t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(t){this._addButtonEnabled!==t&&(this._addButtonEnabled=t,t?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"addButtonNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]},enumerable:!0,configurable:!0}),e.prototype.addTab=function(t){return this.insertTab(this._titles.length,t)},e.prototype.insertTab=function(t,e){this._releaseMouse();var n=Oe.asTitle(e),i=this._titles.indexOf(n),r=Math.max(0,Math.min(t,this._titles.length));return-1===i?(B.insert(this._titles,r,n),n.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(r,n),n):(r===this._titles.length&&r--,i===r||(B.move(this._titles,i,r),this.update(),this._adjustCurrentForMove(i,r)),n)},e.prototype.removeTab=function(t){this.removeTabAt(this._titles.indexOf(t))},e.prototype.removeTabAt=function(t){this._releaseMouse();var e=B.removeAt(this._titles,t);e&&(e.changed.disconnect(this._onTitleChanged,this),e===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(t,e))},e.prototype.clearTabs=function(){if(0!==this._titles.length){this._releaseMouse();for(var t=0,e=this._titles;t<e.length;t++)e[t].changed.disconnect(this._onTitleChanged,this);var n=this.currentIndex,i=this.currentTitle;this._currentIndex=-1,this._previousTitle=null,this._titles.length=0,this.update(),-1!==n&&this._currentChanged.emit({previousIndex:n,previousTitle:i,currentIndex:-1,currentTitle:null})}},e.prototype.releaseMouse=function(){this._releaseMouse()},e.prototype.handleEvent=function(t){switch(t.type){case"mousedown":case"pointerdown":this._evtMouseDown(t);break;case"mousemove":case"pointermove":this._evtMouseMove(t);break;case"mouseup":case"pointerup":this._evtMouseUp(t);break;case"dblclick":this._evtDblClick(t);break;case"keydown":this._evtKeyDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}},e.prototype.onBeforeAttach=function(t){this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this),this.node.addEventListener("dblclick",this)},e.prototype.onAfterDetach=function(t){this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this.node.removeEventListener("dblclick",this),this._releaseMouse()},e.prototype.onUpdateRequest=function(t){for(var e=this._titles,n=this.renderer,i=this.currentTitle,r=new Array(e.length),o=0,s=e.length;o<s;++o){var a=e[o],c=a===i,u=c?s:s-o-1;r[o]=n.renderTab({title:a,current:c,zIndex:u})}Ut.render(r,this.contentNode)},e.prototype._evtDblClick=function(t){if(this.titlesEditable){var e=this.contentNode.children,n=B.findFirstIndex(e,(function(e){return tt.hitTest(e,t.clientX,t.clientY)}));if(-1!==n){var i=this.titles[n],r=e[n].querySelector(".lm-TabBar-tabLabel");if(r&&r.contains(t.target)){var o=i.label||"",s=r.innerHTML;r.innerHTML="";var a=document.createElement("input");a.classList.add("lm-TabBar-tabInput"),a.value=o,r.appendChild(a);var c=function(){a.removeEventListener("blur",c),r.innerHTML=s};a.addEventListener("dblclick",(function(t){return t.stopPropagation()})),a.addEventListener("blur",c),a.addEventListener("keydown",(function(t){"Enter"===t.key?(""!==a.value&&(i.label=i.caption=a.value),c()):"Escape"===t.key&&c()})),a.select(),a.focus(),r.children.length>0&&r.children[0].focus()}}}},e.prototype._evtKeyDown=function(t){t.preventDefault(),t.stopPropagation(),27===t.keyCode&&this._releaseMouse()},e.prototype._evtMouseDown=function(t){if((0===t.button||1===t.button)&&!this._dragData){var e=this.addButtonEnabled&&this.addButtonNode.contains(t.target),n=this.contentNode.children,i=B.findFirstIndex(n,(function(e){return tt.hitTest(e,t.clientX,t.clientY)}));if((-1!==i||e)&&(t.preventDefault(),t.stopPropagation(),this._dragData={tab:n[i],index:i,pressX:t.clientX,pressY:t.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("mouseup",this,!0),this.document.addEventListener("pointerup",this,!0),1!==t.button&&!e)){var r=n[i].querySelector(this.renderer.closeIconSelector);r&&r.contains(t.target)||(this.tabsMovable&&(this.document.addEventListener("mousemove",this,!0),this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===i?this.currentIndex=-1:this.currentIndex=i,-1!==this.currentIndex&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}}},e.prototype._evtMouseMove=function(t){var e=this._dragData;if(e){t.preventDefault(),t.stopPropagation();var n=this.contentNode.children;if(e.dragActive||Oe.dragExceeded(e,t)){if(!e.dragActive){var i=e.tab.getBoundingClientRect();"horizontal"===this._orientation?(e.tabPos=e.tab.offsetLeft,e.tabSize=i.width,e.tabPressPos=e.pressX-i.left):(e.tabPos=e.tab.offsetTop,e.tabSize=i.height,e.tabPressPos=e.pressY-i.top),e.tabLayout=Oe.snapTabLayout(n,this._orientation),e.contentRect=this.contentNode.getBoundingClientRect(),e.override=zt.overrideCursor("default"),e.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),e.tab.classList.add("p-mod-dragging"),this.addClass("p-mod-dragging"),e.dragActive=!0}if(!e.detachRequested&&Oe.detachExceeded(e,t)){e.detachRequested=!0;var r=e.index,o=t.clientX,s=t.clientY,a=n[r],c=this._titles[r];if(this._tabDetachRequested.emit({index:r,title:c,tab:a,clientX:o,clientY:s}),e.dragAborted)return}Oe.layoutTabs(n,e,t,this._orientation)}}},e.prototype._evtMouseUp=function(t){var e=this;if(0===t.button||1===t.button){var n=this._dragData;if(n){if(t.preventDefault(),t.stopPropagation(),this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!n.dragActive){if(this._dragData=null,this.addButtonEnabled&&this.addButtonNode.contains(t.target))return void this._addRequested.emit(void 0);var i=this.contentNode.children,r=B.findFirstIndex(i,(function(e){return tt.hitTest(e,t.clientX,t.clientY)}));if(r!==n.index)return;var o=this._titles[r];if(!o.closable)return;if(1===t.button)return void this._tabCloseRequested.emit({index:r,title:o});var s=i[r].querySelector(this.renderer.closeIconSelector);return s&&s.contains(t.target)?void this._tabCloseRequested.emit({index:r,title:o}):void 0}if(0===t.button){Oe.finalizeTabPosition(n,this._orientation),n.tab.classList.remove("lm-mod-dragging"),n.tab.classList.remove("p-mod-dragging");var a=Oe.parseTransitionDuration(n.tab);setTimeout((function(){if(!n.dragAborted){e._dragData=null,Oe.resetTabPositions(e.contentNode.children,e._orientation),n.override.dispose(),e.removeClass("lm-mod-dragging"),e.removeClass("p-mod-dragging");var t=n.index,i=n.targetIndex;-1!==i&&t!==i&&(B.move(e._titles,t,i),e._adjustCurrentForMove(t,i),e._tabMoved.emit({fromIndex:t,toIndex:i,title:e._titles[i]}),wt.sendMessage(e,re.Msg.UpdateRequest))}}),a)}}}},e.prototype._releaseMouse=function(){var t=this._dragData;t&&(this._dragData=null,this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),t.dragAborted=!0,t.dragActive&&(Oe.resetTabPositions(this.contentNode.children,this._orientation),t.override.dispose(),t.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging"),t.tab.classList.remove("p-mod-dragging"),this.removeClass("p-mod-dragging")))},e.prototype._adjustCurrentForInsert=function(t,e){var n=this.currentTitle,i=this._currentIndex,r=this.insertBehavior;if("select-tab"===r||"select-tab-if-needed"===r&&-1===i)return this._currentIndex=t,this._previousTitle=n,void this._currentChanged.emit({previousIndex:i,previousTitle:n,currentIndex:t,currentTitle:e});i>=t&&this._currentIndex++},e.prototype._adjustCurrentForMove=function(t,e){this._currentIndex===t?this._currentIndex=e:this._currentIndex<t&&this._currentIndex>=e?this._currentIndex++:this._currentIndex>t&&this._currentIndex<=e&&this._currentIndex--},e.prototype._adjustCurrentForRemove=function(t,e){var n=this._currentIndex,i=this.removeBehavior;if(n===t){if(0===this._titles.length)return this._currentIndex=-1,void this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:-1,currentTitle:null});if("select-tab-after"===i)return this._currentIndex=Math.min(t,this._titles.length-1),void this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-tab-before"===i)return this._currentIndex=Math.max(0,t-1),void this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-previous-tab"===i)return this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(t,this._titles.length-1),void this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:this._currentIndex,currentTitle:this.currentTitle});this._currentIndex=-1,this._currentChanged.emit({previousIndex:t,previousTitle:e,currentIndex:-1,currentTitle:null})}else n>t&&this._currentIndex--},e.prototype._onTitleChanged=function(t){this.update()},e}(re);!function(t){var e=function(){function t(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++t._nInstance}return t.prototype.renderTab=function(t){var e=t.title.caption,n=this.createTabKey(t),i=n,r=this.createTabStyle(t),o=this.createTabClass(t),s=this.createTabDataset(t),a=this.createTabARIA(t);return t.title.closable?Jt.li(te({id:i,key:n,className:o,title:e,style:r,dataset:s},a),this.renderIcon(t),this.renderLabel(t),this.renderCloseIcon(t)):Jt.li(te({id:i,key:n,className:o,title:e,style:r,dataset:s},a),this.renderIcon(t),this.renderLabel(t))},t.prototype.renderIcon=function(t){var e=t.title,n=this.createIconClass(t);return"string"==typeof e.icon?Jt.div({className:n},e.iconLabel):Jt.div({className:n},e.icon,e.iconLabel)},t.prototype.renderLabel=function(t){return Jt.div({className:"lm-TabBar-tabLabel p-TabBar-tabLabel"},t.title.label)},t.prototype.renderCloseIcon=function(t){return Jt.div({className:"lm-TabBar-tabCloseIcon p-TabBar-tabCloseIcon"})},t.prototype.createTabKey=function(t){var e=this._tabKeys.get(t.title);return void 0===e&&(e="tab-key-"+this._uuid+"-"+this._tabID++,this._tabKeys.set(t.title,e)),e},t.prototype.createTabStyle=function(t){return{zIndex:""+t.zIndex}},t.prototype.createTabClass=function(t){var e="lm-TabBar-tab";return e+=" p-TabBar-tab",t.title.className&&(e+=" "+t.title.className),t.title.closable&&(e+=" lm-mod-closable",e+=" p-mod-closable"),t.current&&(e+=" lm-mod-current",e+=" p-mod-current"),e},t.prototype.createTabDataset=function(t){return t.title.dataset},t.prototype.createTabARIA=function(t){return{role:"tab","aria-selected":t.current.toString()}},t.prototype.createIconClass=function(t){var e="lm-TabBar-tabIcon";e+=" p-TabBar-tabIcon";var n=t.title.iconClass;return n?e+" "+n:e},t._nInstance=0,t}();t.Renderer=e,t.defaultRenderer=new e,t.addButtonSelector=".lm-TabBar-addButton"}(je||(je={})),function(t){t.DRAG_THRESHOLD=5,t.DETACH_THRESHOLD=20,t.createNode=function(){var t=document.createElement("div"),e=document.createElement("ul");e.setAttribute("role","tablist"),e.className="lm-TabBar-content",e.classList.add("p-TabBar-content"),t.appendChild(e);var n=document.createElement("div");return n.className="lm-TabBar-addButton lm-mod-hidden",t.appendChild(n),t},t.asTitle=function(t){return t instanceof ie?t:new ie(t)},t.parseTransitionDuration=function(t){var e=window.getComputedStyle(t);return 1e3*(parseFloat(e.transitionDuration)||0)},t.snapTabLayout=function(t,e){for(var n=new Array(t.length),i=0,r=t.length;i<r;++i){var o=t[i],s=window.getComputedStyle(o);n[i]="horizontal"===e?{pos:o.offsetLeft,size:o.offsetWidth,margin:parseFloat(s.marginLeft)||0}:{pos:o.offsetTop,size:o.offsetHeight,margin:parseFloat(s.marginTop)||0}}return n},t.dragExceeded=function(e,n){var i=Math.abs(n.clientX-e.pressX),r=Math.abs(n.clientY-e.pressY);return i>=t.DRAG_THRESHOLD||r>=t.DRAG_THRESHOLD},t.detachExceeded=function(e,n){var i=e.contentRect;return n.clientX<i.left-t.DETACH_THRESHOLD||n.clientX>=i.right+t.DETACH_THRESHOLD||n.clientY<i.top-t.DETACH_THRESHOLD||n.clientY>=i.bottom+t.DETACH_THRESHOLD},t.layoutTabs=function(t,e,n,i){var r,o,s,a;"horizontal"===i?(r=e.pressX,o=n.clientX-e.contentRect.left,s=n.clientX,a=e.contentRect.width):(r=e.pressY,o=n.clientY-e.contentRect.top,s=n.clientY,a=e.contentRect.height);for(var c=e.index,u=o-e.tabPressPos,l=u+e.tabSize,h=0,d=t.length;h<d;++h){var p=void 0,f=e.tabLayout[h],m=f.pos+(f.size>>1);if(h<e.index&&u<m)p=e.tabSize+e.tabLayout[h+1].margin+"px",c=Math.min(c,h);else if(h>e.index&&l>m)p=-e.tabSize-f.margin+"px",c=Math.max(c,h);else if(h===e.index){var v=s-r,g=a-(e.tabPos+e.tabSize);p=Math.max(-e.tabPos,Math.min(v,g))+"px"}else p="";"horizontal"===i?t[h].style.left=p:t[h].style.top=p}e.targetIndex=c},t.finalizeTabPosition=function(t,e){var n,i;if(n="horizontal"===e?t.contentRect.width:t.contentRect.height,t.targetIndex===t.index)i=0;else if(t.targetIndex>t.index)i=(r=t.tabLayout[t.targetIndex]).pos+r.size-t.tabSize-t.tabPos;else{var r;i=(r=t.tabLayout[t.targetIndex]).pos-t.tabPos}var o=n-(t.tabPos+t.tabSize),s=Math.max(-t.tabPos,Math.min(i,o));"horizontal"===e?t.tab.style.left=s+"px":t.tab.style.top=s+"px"},t.resetTabPositions=function(t,e){R(t,(function(t){"horizontal"===e?t.style.left="":t.style.top=""}))}}(Oe||(Oe={}));var Ie,Pe=function(t){function e(e){var n=t.call(this)||this;return n._spacing=4,n._dirty=!1,n._root=null,n._box=null,n._items=new Map,n.renderer=e.renderer,void 0!==e.spacing&&(n._spacing=he.clampDimension(e.spacing)),n._document=e.document||document,n._hiddenMode=void 0!==e.hiddenMode?e.hiddenMode:re.HiddenMode.Display,n}return Qt(e,t),e.prototype.dispose=function(){var e=this.iter();this._items.forEach((function(t){t.dispose()})),this._box=null,this._root=null,this._items.clear(),R(e,(function(t){t.dispose()})),t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(t){var e=this;this._hiddenMode!==t&&(this._hiddenMode=t,R(this.tabBars(),(function(t){t.titles.length>1&&t.titles.forEach((function(t){t.owner.hiddenMode=e._hiddenMode}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){return this._spacing},set:function(t){t=he.clampDimension(t),this._spacing!==t&&(this._spacing=t,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return null===this._root},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return this._root?this._root.iterAllWidgets():q()},e.prototype.widgets=function(){return this._root?this._root.iterUserWidgets():q()},e.prototype.selectedWidgets=function(){return this._root?this._root.iterSelectedWidgets():q()},e.prototype.tabBars=function(){return this._root?this._root.iterTabBars():q()},e.prototype.handles=function(){return this._root?this._root.iterHandles():q()},e.prototype.moveHandle=function(t,e,n){var i=t.classList.contains("lm-mod-hidden");if(i=i||t.classList.contains("p-mod-hidden"),this._root&&!i){var r,o=this._root.findSplitNode(t);o&&0!=(r="horizontal"===o.node.orientation?e-t.offsetLeft:n-t.offsetTop)&&(o.node.holdSizes(),Zt.adjust(o.node.sizers,o.index,r),this.parent&&this.parent.update())}},e.prototype.saveLayout=function(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}},e.prototype.restoreLayout=function(t){var e,n=this,i=new Set;e=t.main?Ie.normalizeAreaConfig(t.main,i):null;var r=this.widgets(),o=this.tabBars(),s=this.handles();this._root=null,R(r,(function(t){i.has(t)||(t.parent=null)})),R(o,(function(t){t.dispose()})),R(s,(function(t){t.parentNode&&t.parentNode.removeChild(t)})),i.forEach((function(t){t.parent=n.parent})),this._root=e?Ie.realizeAreaConfig(e,{createTabBar:function(t){return n._createTabBar()},createHandle:function(){return n._createHandle()}},this._document):null,this.parent&&(i.forEach((function(t){n.attachWidget(t)})),this.parent.fit())},e.prototype.addWidget=function(t,e){void 0===e&&(e={});var n=e.ref||null,i=e.mode||"tab-after",r=null;if(this._root&&n&&(r=this._root.findTabNode(n)),n&&!r)throw new Error("Reference widget is not in the layout.");switch(t.parent=this.parent,i){case"tab-after":this._insertTab(t,n,r,!0);break;case"tab-before":this._insertTab(t,n,r,!1);break;case"split-top":this._insertSplit(t,n,r,"vertical",!1);break;case"split-left":this._insertSplit(t,n,r,"horizontal",!1);break;case"split-right":this._insertSplit(t,n,r,"horizontal",!0);break;case"split-bottom":this._insertSplit(t,n,r,"vertical",!0)}this.parent&&(this.attachWidget(t),this.parent.fit())},e.prototype.removeWidget=function(t){this._removeWidget(t),this.parent&&(this.detachWidget(t),this.parent.fit())},e.prototype.hitTestTabAreas=function(t,e){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=tt.boxSizing(this.parent.node));var n=this.parent.node.getBoundingClientRect(),i=t-n.left-this._box.borderLeft,r=e-n.top-this._box.borderTop,o=this._root.hitTestTabNodes(i,r);if(!o)return null;var s=o.tabBar,a=o.top,c=o.left,u=o.width,l=o.height,h=this._box.borderLeft+this._box.borderRight,d=this._box.borderTop+this._box.borderBottom;return{tabBar:s,x:i,y:r,top:a,left:c,right:n.width-h-(c+u),bottom:n.height-d-(a+l),width:u,height:l}},e.prototype.init=function(){var e=this;t.prototype.init.call(this),R(this,(function(t){e.attachWidget(t)})),R(this.handles(),(function(t){e.parent.node.appendChild(t)})),this.parent.fit()},e.prototype.attachWidget=function(t){this.parent.node!==t.node.parentNode&&(this._items.set(t,new ae(t)),this.parent.isAttached&&wt.sendMessage(t,re.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&wt.sendMessage(t,re.Msg.AfterAttach))},e.prototype.detachWidget=function(t){if(this.parent.node===t.node.parentNode){this.parent.isAttached&&wt.sendMessage(t,re.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&wt.sendMessage(t,re.Msg.AfterDetach);var e=this._items.get(t);e&&(this._items.delete(t),e.dispose())}},e.prototype.onBeforeShow=function(e){t.prototype.onBeforeShow.call(this,e),this.parent.update()},e.prototype.onBeforeAttach=function(e){t.prototype.onBeforeAttach.call(this,e),this.parent.fit()},e.prototype.onChildShown=function(t){this.parent.fit()},e.prototype.onChildHidden=function(t){this.parent.fit()},e.prototype.onResize=function(t){this.parent.isVisible&&this._update(t.width,t.height)},e.prototype.onUpdateRequest=function(t){this.parent.isVisible&&this._update(-1,-1)},e.prototype.onFitRequest=function(t){this.parent.isAttached&&this._fit()},e.prototype._removeWidget=function(t){if(this._root){var e=this._root.findTabNode(t);if(e)if(Ie.removeAria(t),e.tabBar.titles.length>1)e.tabBar.removeTab(t.title),this._hiddenMode===re.HiddenMode.Scale&&1==e.tabBar.titles.length&&(e.tabBar.titles[0].owner.hiddenMode=re.HiddenMode.Display);else if(e.tabBar.dispose(),this._root!==e){this._root.holdAllSizes();var n=e.parent;e.parent=null;var i=B.removeFirstOf(n.children,e),r=B.removeAt(n.handles,i);if(B.removeAt(n.sizers,i),r.parentNode&&r.parentNode.removeChild(r),n.children.length>1)n.syncHandles();else{var o=n.parent;n.parent=null;var s=n.children[0],a=n.handles[0];if(n.children.length=0,n.handles.length=0,n.sizers.length=0,a.parentNode&&a.parentNode.removeChild(a),this._root===n)return s.parent=null,void(this._root=s);var c=o,u=c.children.indexOf(n);if(s instanceof Ie.TabLayoutNode)return s.parent=c,void(c.children[u]=s);var l=B.removeAt(c.handles,u);B.removeAt(c.children,u),B.removeAt(c.sizers,u),l.parentNode&&l.parentNode.removeChild(l);for(var h=0,d=s.children.length;h<d;++h){var p=s.children[h],f=s.handles[h],m=s.sizers[h];B.insert(c.children,u+h,p),B.insert(c.handles,u+h,f),B.insert(c.sizers,u+h,m),p.parent=c}s.children.length=0,s.handles.length=0,s.sizers.length=0,s.parent=null,c.syncHandles()}}else this._root=null}},e.prototype._insertTab=function(t,e,n,i){if(t!==e){if(!this._root){var r=new Ie.TabLayoutNode(this._createTabBar());return r.tabBar.addTab(t.title),this._root=r,void Ie.addAria(t,r.tabBar)}var o;n||(n=this._root.findFirstTabNode()),-1===n.tabBar.titles.indexOf(t.title)&&(this._removeWidget(t),t.hide()),o=e?n.tabBar.titles.indexOf(e.title):n.tabBar.currentIndex,this._hiddenMode===re.HiddenMode.Scale?0===n.tabBar.titles.length?t.hiddenMode=re.HiddenMode.Display:1==n.tabBar.titles.length?n.tabBar.titles[0].owner.hiddenMode=re.HiddenMode.Scale:t.hiddenMode=re.HiddenMode.Scale:t.hiddenMode=this._hiddenMode,n.tabBar.insertTab(o+(i?1:0),t.title),Ie.addAria(t,n.tabBar)}},e.prototype._insertSplit=function(t,e,n,i,r){if(t!==e||!n||1!==n.tabBar.titles.length){this._removeWidget(t);var o=new Ie.TabLayoutNode(this._createTabBar());if(o.tabBar.addTab(t.title),Ie.addAria(t,o.tabBar),this._root){if(!n||!n.parent){var s=this._splitRoot(i),a=r?s.children.length:0;s.normalizeSizes();var c=Ie.createSizer(n?1:Ie.GOLDEN_RATIO);return B.insert(s.children,a,o),B.insert(s.sizers,a,c),B.insert(s.handles,a,this._createHandle()),o.parent=s,s.normalizeSizes(),void s.syncHandles()}var u=n.parent;if(u.orientation===i){var l=u.children.indexOf(n);u.normalizeSizes();var h=u.sizers[l].sizeHint/=2,d=l+(r?1:0);return B.insert(u.children,d,o),B.insert(u.sizers,d,Ie.createSizer(h)),B.insert(u.handles,d,this._createHandle()),o.parent=u,void u.syncHandles()}var p=B.removeFirstOf(u.children,n),f=new Ie.SplitLayoutNode(i);f.normalized=!0,f.children.push(n),f.sizers.push(Ie.createSizer(.5)),f.handles.push(this._createHandle()),n.parent=f;var m=r?1:0;B.insert(f.children,m,o),B.insert(f.sizers,m,Ie.createSizer(.5)),B.insert(f.handles,m,this._createHandle()),o.parent=f,f.syncHandles(),B.insert(u.children,p,f),f.parent=u}else this._root=o}},e.prototype._splitRoot=function(t){var e=this._root;if(e instanceof Ie.SplitLayoutNode&&e.orientation===t)return e;var n=this._root=new Ie.SplitLayoutNode(t);return e&&(n.children.push(e),n.sizers.push(Ie.createSizer(0)),n.handles.push(this._createHandle()),e.parent=n),n},e.prototype._fit=function(){var t=0,e=0;if(this._root){var n=this._root.fit(this._spacing,this._items);t=n.minWidth,e=n.minHeight}var i=this._box=tt.boxSizing(this.parent.node);t+=i.horizontalSum,e+=i.verticalSum;var r=this.parent.node.style;r.minWidth=t+"px",r.minHeight=e+"px",this._dirty=!0,this.parent.parent&&wt.sendMessage(this.parent.parent,re.Msg.FitRequest),this._dirty&&wt.sendMessage(this.parent,re.Msg.UpdateRequest)},e.prototype._update=function(t,e){if(this._dirty=!1,this._root){t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=tt.boxSizing(this.parent.node));var n=this._box.paddingTop,i=this._box.paddingLeft,r=t-this._box.horizontalSum,o=e-this._box.verticalSum;this._root.update(n,i,r,o,this._spacing,this._items)}},e.prototype._createTabBar=function(){var t=this.renderer.createTabBar(this._document);return t.orientation="horizontal",this.parent&&(t.parent=this.parent,this.attachWidget(t)),t},e.prototype._createHandle=function(){var t=this.renderer.createHandle(),e=t.style;return e.position="absolute",e.top="0",e.left="0",e.width="0",e.height="0",this.parent&&this.parent.node.appendChild(t),t},e}(oe);!function(t){function e(t){var e=new ee;return e.sizeHint=t,e.size=t,e}t.GOLDEN_RATIO=.618,t.createSizer=e,t.normalizeAreaConfig=function t(e,n){var i;return i="tab-area"===e.type?function(t,e){if(0===t.widgets.length)return null;var n=[];if(R(t.widgets,(function(t){e.has(t)||(e.add(t),n.push(t))})),0===n.length)return null;var i=t.currentIndex;return-1!==i&&(i<0||i>=n.length)&&(i=0),{type:"tab-area",widgets:n,currentIndex:i}}(e,n):function(e,n){for(var i=e.orientation,r=[],o=[],s=0,a=e.children.length;s<a;++s){var c=t(e.children[s],n);c&&("tab-area"===c.type||c.orientation!==i?(r.push(c),o.push(Math.abs(e.sizes[s]||0))):(r.push.apply(r,c.children),o.push.apply(o,c.sizes)))}return 0===r.length?null:1===r.length?r[0]:{type:"split-area",orientation:i,children:r,sizes:o}}(e,n),i},t.realizeAreaConfig=function r(o,s,a){var c;return c="tab-area"===o.type?function(e,i,r){var o=i.createTabBar(r);return R(e.widgets,(function(e){e.hide(),o.addTab(e.title),t.addAria(e,o)})),o.currentIndex=e.currentIndex,new n(o)}(o,s,a):function(t,n,o){var s=new i(t.orientation);return R(t.children,(function(i,a){var c=r(i,n,o),u=e(t.sizes[a]),l=n.createHandle();s.children.push(c),s.handles.push(l),s.sizers.push(u),c.parent=s})),s.syncHandles(),s.normalizeSizes(),s}(o,s,a),c};var n=function(){function t(t){this.parent=null,this._top=0,this._left=0,this._width=0,this._height=0;var e=new ee,n=new ee;e.stretch=0,n.stretch=1,this.tabBar=t,this.sizers=[e,n]}return Object.defineProperty(t.prototype,"top",{get:function(){return this._top},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this._left},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},enumerable:!0,configurable:!0}),t.prototype.iterAllWidgets=function(){return W(G(this.tabBar),this.iterUserWidgets())},t.prototype.iterUserWidgets=function(){return $(this.tabBar.titles,(function(t){return t.owner}))},t.prototype.iterSelectedWidgets=function(){var t=this.tabBar.currentTitle;return t?G(t.owner):q()},t.prototype.iterTabBars=function(){return G(this.tabBar)},t.prototype.iterHandles=function(){return q()},t.prototype.findTabNode=function(t){return-1!==this.tabBar.titles.indexOf(t.title)?this:null},t.prototype.findSplitNode=function(t){return null},t.prototype.findFirstTabNode=function(){return this},t.prototype.hitTestTabNodes=function(t,e){return t<this._left||t>=this._left+this._width||e<this._top||e>=this._top+this._height?null:this},t.prototype.createConfig=function(){return{type:"tab-area",widgets:this.tabBar.titles.map((function(t){return t.owner})),currentIndex:this.tabBar.currentIndex}},t.prototype.holdAllSizes=function(){},t.prototype.fit=function(t,e){var n=0,i=0,r=e.get(this.tabBar),o=this.tabBar.currentTitle,s=o?e.get(o.owner):void 0,a=this.sizers,c=a[0],u=a[1];return r&&r.fit(),s&&s.fit(),r&&!r.isHidden?(n=Math.max(n,r.minWidth),i+=r.minHeight,c.minSize=r.minHeight,c.maxSize=r.maxHeight):(c.minSize=0,c.maxSize=0),s&&!s.isHidden?(n=Math.max(n,s.minWidth),i+=s.minHeight,u.minSize=s.minHeight,u.maxSize=1/0):(u.minSize=0,u.maxSize=1/0),{minWidth:n,minHeight:i,maxWidth:1/0,maxHeight:1/0}},t.prototype.update=function(t,e,n,i,r,o){this._top=e,this._left=t,this._width=n,this._height=i;var s=o.get(this.tabBar),a=this.tabBar.currentTitle,c=a?o.get(a.owner):void 0;if(Zt.calc(this.sizers,i),s&&!s.isHidden){var u=this.sizers[0].size;s.update(t,e,n,u),e+=u}c&&!c.isHidden&&(u=this.sizers[1].size,c.update(t,e,n,u))},t}();t.TabLayoutNode=n;var i=function(){function t(t){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=t}return t.prototype.iterAllWidgets=function(){var t=$(this.children,(function(t){return t.iterAllWidgets()}));return new F(t)},t.prototype.iterUserWidgets=function(){var t=$(this.children,(function(t){return t.iterUserWidgets()}));return new F(t)},t.prototype.iterSelectedWidgets=function(){var t=$(this.children,(function(t){return t.iterSelectedWidgets()}));return new F(t)},t.prototype.iterTabBars=function(){var t=$(this.children,(function(t){return t.iterTabBars()}));return new F(t)},t.prototype.iterHandles=function(){var t=$(this.children,(function(t){return t.iterHandles()}));return W(this.handles,new F(t))},t.prototype.findTabNode=function(t){for(var e=0,n=this.children.length;e<n;++e){var i=this.children[e].findTabNode(t);if(i)return i}return null},t.prototype.findSplitNode=function(t){var e=this.handles.indexOf(t);if(-1!==e)return{index:e,node:this};for(var n=0,i=this.children.length;n<i;++n){var r=this.children[n].findSplitNode(t);if(r)return r}return null},t.prototype.findFirstTabNode=function(){return 0===this.children.length?null:this.children[0].findFirstTabNode()},t.prototype.hitTestTabNodes=function(t,e){for(var n=0,i=this.children.length;n<i;++n){var r=this.children[n].hitTestTabNodes(t,e);if(r)return r}return null},t.prototype.createConfig=function(){var t=this.orientation,e=this.createNormalizedSizes();return{type:"split-area",orientation:t,children:this.children.map((function(t){return t.createConfig()})),sizes:e}},t.prototype.syncHandles=function(){var t=this;R(this.handles,(function(e,n){e.setAttribute("data-orientation",t.orientation),n===t.handles.length-1?(e.classList.add("lm-mod-hidden"),e.classList.add("p-mod-hidden")):(e.classList.remove("lm-mod-hidden"),e.classList.remove("p-mod-hidden"))}))},t.prototype.holdSizes=function(){R(this.sizers,(function(t){t.sizeHint=t.size}))},t.prototype.holdAllSizes=function(){R(this.children,(function(t){return t.holdAllSizes()})),this.holdSizes()},t.prototype.normalizeSizes=function(){var t=this.sizers.length;if(0!==t){this.holdSizes();var e=J(this.sizers,(function(t,e){return t+e.sizeHint}),0);R(this.sizers,0===e?function(e){e.size=e.sizeHint=1/t}:function(t){t.size=t.sizeHint/=e}),this.normalized=!0}},t.prototype.createNormalizedSizes=function(){var t=this.sizers.length;if(0===t)return[];var e=this.sizers.map((function(t){return t.size})),n=J(e,(function(t,e){return t+e}),0);return R(e,0===n?function(n,i){e[i]=1/t}:function(t,i){e[i]=t/n}),e},t.prototype.fit=function(t,e){for(var n="horizontal"===this.orientation,i=Math.max(0,this.children.length-1)*t,r=n?i:0,o=n?0:i,s=0,a=this.children.length;s<a;++s){var c=this.children[s].fit(t,e);n?(o=Math.max(o,c.minHeight),r+=c.minWidth,this.sizers[s].minSize=c.minWidth):(r=Math.max(r,c.minWidth),o+=c.minHeight,this.sizers[s].minSize=c.minHeight)}return{minWidth:r,minHeight:o,maxWidth:1/0,maxHeight:1/0}},t.prototype.update=function(t,e,n,i,r,o){var s="horizontal"===this.orientation,a=Math.max(0,this.children.length-1)*r,c=Math.max(0,(s?n:i)-a);this.normalized&&(R(this.sizers,(function(t){t.sizeHint*=c})),this.normalized=!1),Zt.calc(this.sizers,c);for(var u=0,l=this.children.length;u<l;++u){var h=this.children[u],d=this.sizers[u].size,p=this.handles[u].style;s?(h.update(t,e,d,i,r,o),t+=d,p.top=e+"px",p.left=t+"px",p.width=r+"px",p.height=i+"px",t+=r):(h.update(t,e,n,d,r,o),e+=d,p.top=e+"px",p.left=t+"px",p.width=n+"px",p.height=r+"px",e+=r)}},t}();t.SplitLayoutNode=i,t.addAria=function(t,e){t.node.setAttribute("role","tabpanel");var n=e.renderer;if(n instanceof je.Renderer){var i=n.createTabKey({title:t.title,current:!1,zIndex:0});t.node.setAttribute("aria-labelledby",i)}},t.removeAria=function(t){t.node.removeAttribute("role"),t.node.removeAttribute("aria-labelledby")}}(Ie||(Ie={}));var Le,De=function(t){function n(e){void 0===e&&(e={});var i=t.call(this)||this;i._drag=null,i._tabsMovable=!0,i._tabsConstrained=!1,i._addButtonEnabled=!1,i._pressData=null,i._layoutModified=new Tt(i),i._addRequested=new Tt(i),i.addClass("lm-DockPanel"),i.addClass("p-DockPanel"),i._document=e.document||document,i._mode=e.mode||"multiple-document",i._renderer=e.renderer||n.defaultRenderer,i._edges=e.edges||Le.DEFAULT_EDGES,void 0!==e.tabsMovable&&(i._tabsMovable=e.tabsMovable),void 0!==e.tabsConstrained&&(i._tabsConstrained=e.tabsConstrained),void 0!==e.addButtonEnabled&&(i._addButtonEnabled=e.addButtonEnabled),i.dataset.mode=i._mode;var r={createTabBar:function(){return i._createTabBar()},createHandle:function(){return i._createHandle()}};return i.layout=new Pe({document:i._document,renderer:r,spacing:e.spacing,hiddenMode:e.hiddenMode}),i.overlay=e.overlay||new n.Overlay,i.node.appendChild(i.overlay.node),i}return Qt(n,t),n.prototype.dispose=function(){this._releaseMouse(),this.overlay.hide(0),this._drag&&this._drag.dispose(),t.prototype.dispose.call(this)},Object.defineProperty(n.prototype,"hiddenMode",{get:function(){return this.layout.hiddenMode},set:function(t){this.layout.hiddenMode=t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"layoutModified",{get:function(){return this._layoutModified},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(t){this.layout.spacing=t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mode",{get:function(){return this._mode},set:function(t){if(this._mode!==t){this._mode=t,this.dataset.mode=t;var e=this.layout;switch(t){case"multiple-document":R(e.tabBars(),(function(t){t.show()}));break;case"single-document":e.restoreLayout(Le.createSingleDocumentConfig(this));break;default:throw"unreachable"}wt.postMessage(this,Le.LayoutModified)}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tabsMovable",{get:function(){return this._tabsMovable},set:function(t){this._tabsMovable=t,R(this.tabBars(),(function(e){e.tabsMovable=t}))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tabsConstrained",{get:function(){return this._tabsConstrained},set:function(t){this._tabsConstrained=t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(t){this._addButtonEnabled=t,R(this.tabBars(),(function(e){e.addButtonEnabled=t}))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isEmpty",{get:function(){return this.layout.isEmpty},enumerable:!0,configurable:!0}),n.prototype.widgets=function(){return this.layout.widgets()},n.prototype.selectedWidgets=function(){return this.layout.selectedWidgets()},n.prototype.tabBars=function(){return this.layout.tabBars()},n.prototype.handles=function(){return this.layout.handles()},n.prototype.selectWidget=function(t){var e=K(this.tabBars(),(function(e){return-1!==e.titles.indexOf(t.title)}));if(!e)throw new Error("Widget is not contained in the dock panel.");e.currentTitle=t.title},n.prototype.activateWidget=function(t){this.selectWidget(t),t.activate()},n.prototype.saveLayout=function(){return this.layout.saveLayout()},n.prototype.restoreLayout=function(t){this._mode="multiple-document",this.layout.restoreLayout(t),(et.IS_EDGE||et.IS_IE)&&wt.flush(),wt.postMessage(this,Le.LayoutModified)},n.prototype.addWidget=function(t,e){void 0===e&&(e={}),"single-document"===this._mode?this.layout.addWidget(t):this.layout.addWidget(t,e),wt.postMessage(this,Le.LayoutModified)},n.prototype.processMessage=function(e){"layout-modified"===e.type?this._layoutModified.emit(void 0):t.prototype.processMessage.call(this,e)},n.prototype.handleEvent=function(t){switch(t.type){case"lm-dragenter":this._evtDragEnter(t);break;case"lm-dragleave":this._evtDragLeave(t);break;case"lm-dragover":this._evtDragOver(t);break;case"lm-drop":this._evtDrop(t);break;case"mousedown":case"pointerdown":this._evtMouseDown(t);break;case"mousemove":case"pointermove":this._evtMouseMove(t);break;case"mouseup":case"pointerup":this._evtMouseUp(t);break;case"keydown":this._evtKeyDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}},n.prototype.onBeforeAttach=function(t){this.node.addEventListener("lm-dragenter",this),this.node.addEventListener("lm-dragleave",this),this.node.addEventListener("lm-dragover",this),this.node.addEventListener("lm-drop",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this)},n.prototype.onAfterDetach=function(t){this.node.removeEventListener("lm-dragenter",this),this.node.removeEventListener("lm-dragleave",this),this.node.removeEventListener("lm-dragover",this),this.node.removeEventListener("lm-drop",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()},n.prototype.onChildAdded=function(t){Le.isGeneratedTabBarProperty.get(t.child)||(t.child.addClass("lm-DockPanel-widget"),t.child.addClass("p-DockPanel-widget"))},n.prototype.onChildRemoved=function(t){Le.isGeneratedTabBarProperty.get(t.child)||(t.child.removeClass("lm-DockPanel-widget"),t.child.removeClass("p-DockPanel-widget"),wt.postMessage(this,Le.LayoutModified))},n.prototype._evtDragEnter=function(t){t.mimeData.hasData("application/vnd.lumino.widget-factory")&&(t.preventDefault(),t.stopPropagation())},n.prototype._evtDragLeave=function(t){t.preventDefault(),this._tabsConstrained&&t.source!==this||(t.stopPropagation(),this.overlay.hide(1))},n.prototype._evtDragOver=function(t){t.preventDefault(),this._tabsConstrained&&t.source!==this||"invalid"===this._showOverlay(t.clientX,t.clientY)?t.dropAction="none":(t.stopPropagation(),t.dropAction=t.proposedAction)},n.prototype._evtDrop=function(t){if(t.preventDefault(),this.overlay.hide(0),"none"!==t.proposedAction){var e=t.clientX,n=t.clientY,i=Le.findDropTarget(this,e,n,this._edges),r=i.zone,o=i.target;if(this._tabsConstrained&&t.source!==this||"invalid"===r)t.dropAction="none";else{var s=t.mimeData.getData("application/vnd.lumino.widget-factory");if("function"==typeof s){var a=s();if(a instanceof re)if(a.contains(this))t.dropAction="none";else{var c=o?Le.getDropRef(o.tabBar):null;switch(r){case"root-all":this.addWidget(a);break;case"root-top":this.addWidget(a,{mode:"split-top"});break;case"root-left":this.addWidget(a,{mode:"split-left"});break;case"root-right":this.addWidget(a,{mode:"split-right"});break;case"root-bottom":this.addWidget(a,{mode:"split-bottom"});break;case"widget-all":case"widget-tab":this.addWidget(a,{mode:"tab-after",ref:c});break;case"widget-top":this.addWidget(a,{mode:"split-top",ref:c});break;case"widget-left":this.addWidget(a,{mode:"split-left",ref:c});break;case"widget-right":this.addWidget(a,{mode:"split-right",ref:c});break;case"widget-bottom":this.addWidget(a,{mode:"split-bottom",ref:c});break;default:throw"unreachable"}t.dropAction=t.proposedAction,t.stopPropagation(),this.activateWidget(a)}else t.dropAction="none"}else t.dropAction="none"}}else t.dropAction="none"},n.prototype._evtKeyDown=function(t){t.preventDefault(),t.stopPropagation(),27===t.keyCode&&(this._releaseMouse(),wt.postMessage(this,Le.LayoutModified))},n.prototype._evtMouseDown=function(t){if(0===t.button){var e=this.layout,n=t.target,i=K(e.handles(),(function(t){return t.contains(n)}));if(i){t.preventDefault(),t.stopPropagation(),this._document.addEventListener("keydown",this,!0),this._document.addEventListener("mouseup",this,!0),this._document.addEventListener("mousemove",this,!0),this._document.addEventListener("pointerup",this,!0),this._document.addEventListener("pointermove",this,!0),this._document.addEventListener("contextmenu",this,!0);var r=i.getBoundingClientRect(),o=t.clientX-r.left,s=t.clientY-r.top,a=window.getComputedStyle(i),c=zt.overrideCursor(a.cursor,this._document);this._pressData={handle:i,deltaX:o,deltaY:s,override:c}}}},n.prototype._evtMouseMove=function(t){if(this._pressData){t.preventDefault(),t.stopPropagation();var e=this.node.getBoundingClientRect(),n=t.clientX-e.left-this._pressData.deltaX,i=t.clientY-e.top-this._pressData.deltaY;this.layout.moveHandle(this._pressData.handle,n,i)}},n.prototype._evtMouseUp=function(t){0===t.button&&(t.preventDefault(),t.stopPropagation(),this._releaseMouse(),wt.postMessage(this,Le.LayoutModified))},n.prototype._releaseMouse=function(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._document.removeEventListener("keydown",this,!0),this._document.removeEventListener("mouseup",this,!0),this._document.removeEventListener("mousemove",this,!0),this._document.removeEventListener("pointerup",this,!0),this._document.removeEventListener("pointermove",this,!0),this._document.removeEventListener("contextmenu",this,!0))},n.prototype._showOverlay=function(t,e){var n,i,r,o,s=Le.findDropTarget(this,t,e,this._edges),a=s.zone,c=s.target;if("invalid"===a)return this.overlay.hide(100),a;var u=tt.boxSizing(this.node),l=this.node.getBoundingClientRect();switch(a){case"root-all":n=u.paddingTop,i=u.paddingLeft,r=u.paddingRight,o=u.paddingBottom;break;case"root-top":n=u.paddingTop,i=u.paddingLeft,r=u.paddingRight,o=l.height*Le.GOLDEN_RATIO;break;case"root-left":n=u.paddingTop,i=u.paddingLeft,r=l.width*Le.GOLDEN_RATIO,o=u.paddingBottom;break;case"root-right":n=u.paddingTop,i=l.width*Le.GOLDEN_RATIO,r=u.paddingRight,o=u.paddingBottom;break;case"root-bottom":n=l.height*Le.GOLDEN_RATIO,i=u.paddingLeft,r=u.paddingRight,o=u.paddingBottom;break;case"widget-all":n=c.top,i=c.left,r=c.right,o=c.bottom;break;case"widget-top":n=c.top,i=c.left,r=c.right,o=c.bottom+c.height/2;break;case"widget-left":n=c.top,i=c.left,r=c.right+c.width/2,o=c.bottom;break;case"widget-right":n=c.top,i=c.left+c.width/2,r=c.right,o=c.bottom;break;case"widget-bottom":n=c.top+c.height/2,i=c.left,r=c.right,o=c.bottom;break;case"widget-tab":var h=c.tabBar.node.getBoundingClientRect().height;n=c.top,i=c.left,r=c.right,o=c.bottom+c.height-h;break;default:throw"unreachable"}return this.overlay.show({top:n,left:i,right:r,bottom:o}),a},n.prototype._createTabBar=function(){var t=this._renderer.createTabBar(this._document);return Le.isGeneratedTabBarProperty.set(t,!0),"single-document"===this._mode&&t.hide(),t.tabsMovable=this._tabsMovable,t.allowDeselect=!1,t.addButtonEnabled=this._addButtonEnabled,t.removeBehavior="select-previous-tab",t.insertBehavior="select-tab-if-needed",t.tabMoved.connect(this._onTabMoved,this),t.currentChanged.connect(this._onCurrentChanged,this),t.tabCloseRequested.connect(this._onTabCloseRequested,this),t.tabDetachRequested.connect(this._onTabDetachRequested,this),t.tabActivateRequested.connect(this._onTabActivateRequested,this),t.addRequested.connect(this._onTabAddRequested,this),t},n.prototype._createHandle=function(){return this._renderer.createHandle()},n.prototype._onTabMoved=function(){wt.postMessage(this,Le.LayoutModified)},n.prototype._onCurrentChanged=function(t,e){var n=e.previousTitle,i=e.currentTitle;n&&n.owner.hide(),i&&i.owner.show(),(et.IS_EDGE||et.IS_IE)&&wt.flush(),wt.postMessage(this,Le.LayoutModified)},n.prototype._onTabAddRequested=function(t){this._addRequested.emit(t)},n.prototype._onTabActivateRequested=function(t,e){e.title.owner.activate()},n.prototype._onTabCloseRequested=function(t,e){e.title.owner.close()},n.prototype._onTabDetachRequested=function(t,n){var i=this;if(!this._drag){t.releaseMouse();var r=n.title,o=n.tab,s=n.clientX,a=n.clientY,c=new e.MimeData;c.setData("application/vnd.lumino.widget-factory",(function(){return r.owner}));var u=o.cloneNode(!0);this._drag=new zt({document:this._document,mimeData:c,dragImage:u,proposedAction:"move",supportedActions:"move",source:this}),o.classList.add("lm-mod-hidden"),o.classList.add("p-mod-hidden"),this._drag.start(s,a).then((function(){i._drag=null,o.classList.remove("lm-mod-hidden"),o.classList.remove("p-mod-hidden")}))}},n}(re);!function(t){var e=function(){function t(){this._timer=-1,this._hidden=!0,this.node=document.createElement("div"),this.node.classList.add("lm-DockPanel-overlay"),this.node.classList.add("lm-mod-hidden"),this.node.classList.add("p-DockPanel-overlay"),this.node.classList.add("p-mod-hidden"),this.node.style.position="absolute"}return t.prototype.show=function(t){var e=this.node.style;e.top=t.top+"px",e.left=t.left+"px",e.right=t.right+"px",e.bottom=t.bottom+"px",clearTimeout(this._timer),this._timer=-1,this._hidden&&(this._hidden=!1,this.node.classList.remove("lm-mod-hidden"),this.node.classList.remove("p-mod-hidden"))},t.prototype.hide=function(t){var e=this;if(!this._hidden)return t<=0?(clearTimeout(this._timer),this._timer=-1,this._hidden=!0,this.node.classList.add("lm-mod-hidden"),void this.node.classList.add("p-mod-hidden")):void(-1===this._timer&&(this._timer=window.setTimeout((function(){e._timer=-1,e._hidden=!0,e.node.classList.add("lm-mod-hidden"),e.node.classList.add("p-mod-hidden")}),t)))},t}();t.Overlay=e;var n=function(){function t(){}return t.prototype.createTabBar=function(t){var e=new je({document:t});return e.addClass("lm-DockPanel-tabBar"),e.addClass("p-DockPanel-tabBar"),e},t.prototype.createHandle=function(){var t=document.createElement("div");return t.className="lm-DockPanel-handle",t.classList.add("p-DockPanel-handle"),t},t}();t.Renderer=n,t.defaultRenderer=new n}(De||(De={})),function(t){t.GOLDEN_RATIO=.618,t.DEFAULT_EDGES={top:12,right:40,bottom:40,left:40},t.LayoutModified=new Et("layout-modified"),t.isGeneratedTabBarProperty=new At({name:"isGeneratedTabBar",create:function(){return!1}}),t.createSingleDocumentConfig=function(t){if(t.isEmpty)return{main:null};var e=function(t){for(var e,n=0,i=[],r=N(t);void 0!==(e=r.next());)i[n++]=e;return i}(t.widgets()),n=t.selectedWidgets().next(),i=n?e.indexOf(n):-1;return{main:{type:"tab-area",widgets:e,currentIndex:i}}},t.findDropTarget=function(t,e,n,i){if(!tt.hitTest(t.node,e,n))return{zone:"invalid",target:null};var r=t.layout;if(r.isEmpty)return{zone:"root-all",target:null};if("multiple-document"===t.mode){var o=t.node.getBoundingClientRect(),s=e-o.left+1,a=n-o.top+1,c=o.right-e,u=o.bottom-n;switch(Math.min(a,c,u,s)){case a:if(a<i.top)return{zone:"root-top",target:null};break;case c:if(c<i.right)return{zone:"root-right",target:null};break;case u:if(u<i.bottom)return{zone:"root-bottom",target:null};break;case s:if(s<i.left)return{zone:"root-left",target:null};break;default:throw"unreachable"}}var l=r.hitTestTabAreas(e,n);if(!l)return{zone:"invalid",target:null};if("single-document"===t.mode)return{zone:"widget-all",target:l};var h=l.x-l.left+1,d=l.y-l.top+1,p=l.left+l.width-l.x,f=l.top+l.height-l.y;if(d<l.tabBar.node.getBoundingClientRect().height)return{zone:"widget-tab",target:l};var m,v=Math.round(l.width/3),g=Math.round(l.height/3);if(h>v&&p>v&&d>g&&f>g)return{zone:"widget-all",target:l};switch(h/=v,d/=g,p/=v,f/=g,Math.min(h,d,p,f)){case h:m="widget-left";break;case d:m="widget-top";break;case p:m="widget-right";break;case f:m="widget-bottom";break;default:throw"unreachable"}return{zone:m,target:l}},t.getDropRef=function(t){return 0===t.titles.length?null:t.currentTitle?t.currentTitle.owner:t.titles[t.titles.length-1].owner}}(Le||(Le={})),function(){function t(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new Tt(this),this._currentChanged=new Tt(this)}t.prototype.dispose=function(){var t=this;this._counter<0||(this._counter=-1,Tt.clearData(this),R(this._widgets,(function(e){e.node.removeEventListener("focus",t,!0),e.node.removeEventListener("blur",t,!0)})),this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0)},Object.defineProperty(t.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeChanged",{get:function(){return this._activeChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisposed",{get:function(){return this._counter<0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentWidget",{get:function(){return this._currentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeWidget",{get:function(){return this._activeWidget},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),t.prototype.focusNumber=function(t){var e=this._numbers.get(t);return void 0===e?-1:e},t.prototype.has=function(t){return this._numbers.has(t)},t.prototype.add=function(t){if(!this._numbers.has(t)){var e=t.node.contains(document.activeElement),n=e?this._counter++:-1;this._widgets.push(t),this._numbers.set(t,n),this._nodes.set(t.node,t),t.node.addEventListener("focus",this,!0),t.node.addEventListener("blur",this,!0),t.disposed.connect(this._onWidgetDisposed,this),e&&this._setWidgets(t,t)}},t.prototype.remove=function(t){var e=this;if(this._numbers.has(t)&&(t.disposed.disconnect(this._onWidgetDisposed,this),t.node.removeEventListener("focus",this,!0),t.node.removeEventListener("blur",this,!0),B.removeFirstOf(this._widgets,t),this._nodes.delete(t.node),this._numbers.delete(t),this._currentWidget===t)){var n,i,r=function(t,n){var i,r,o=N(t),s=o.next();if(void 0!==s){for(var a=s;void 0!==(s=o.next());)i=s,r=a,e._numbers.get(i)-e._numbers.get(r)>0&&(a=s);return a}}((n=this._widgets,i=function(t){return-1!==e._numbers.get(t)},new V(N(n),i)))||null;this._setWidgets(r,null)}},t.prototype.handleEvent=function(t){switch(t.type){case"focus":this._evtFocus(t);break;case"blur":this._evtBlur(t)}},t.prototype._setWidgets=function(t,e){var n=this._currentWidget;this._currentWidget=t;var i=this._activeWidget;this._activeWidget=e,n!==t&&this._currentChanged.emit({oldValue:n,newValue:t}),i!==e&&this._activeChanged.emit({oldValue:i,newValue:e})},t.prototype._evtFocus=function(t){var e=this._nodes.get(t.currentTarget);e!==this._currentWidget&&this._numbers.set(e,this._counter++),this._setWidgets(e,e)},t.prototype._evtBlur=function(t){var e=this._nodes.get(t.currentTarget),n=t.relatedTarget;n&&(e.node.contains(n)||K(this._widgets,(function(t){return t.node.contains(n)})))||this._setWidgets(this._currentWidget,null)},t.prototype._onWidgetDisposed=function(t){this.remove(t)}}();var ze,Be=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n._dirty=!1,n._rowSpacing=4,n._columnSpacing=4,n._items=[],n._rowStarts=[],n._columnStarts=[],n._rowSizers=[new ee],n._columnSizers=[new ee],n._box=null,void 0!==e.rowCount&&ze.reallocSizers(n._rowSizers,e.rowCount),void 0!==e.columnCount&&ze.reallocSizers(n._columnSizers,e.columnCount),void 0!==e.rowSpacing&&(n._rowSpacing=ze.clampValue(e.rowSpacing)),void 0!==e.columnSpacing&&(n._columnSpacing=ze.clampValue(e.columnSpacing)),n}return Qt(e,t),e.prototype.dispose=function(){R(this._items,(function(t){var e=t.widget;t.dispose(),e.dispose()})),this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"rowCount",{get:function(){return this._rowSizers.length},set:function(t){t!==this.rowCount&&(ze.reallocSizers(this._rowSizers,t),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnCount",{get:function(){return this._columnSizers.length},set:function(t){t!==this.columnCount&&(ze.reallocSizers(this._columnSizers,t),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rowSpacing",{get:function(){return this._rowSpacing},set:function(t){t=ze.clampValue(t),this._rowSpacing!==t&&(this._rowSpacing=t,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnSpacing",{get:function(){return this._columnSpacing},set:function(t){t=ze.clampValue(t),this._columnSpacing!==t&&(this._columnSpacing=t,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),e.prototype.rowStretch=function(t){var e=this._rowSizers[t];return e?e.stretch:-1},e.prototype.setRowStretch=function(t,e){var n=this._rowSizers[t];n&&(e=ze.clampValue(e),n.stretch!==e&&(n.stretch=e,this.parent&&this.parent.update()))},e.prototype.columnStretch=function(t){var e=this._columnSizers[t];return e?e.stretch:-1},e.prototype.setColumnStretch=function(t,e){var n=this._columnSizers[t];n&&(e=ze.clampValue(e),n.stretch!==e&&(n.stretch=e,this.parent&&this.parent.update()))},e.prototype.iter=function(){return $(this._items,(function(t){return t.widget}))},e.prototype.addWidget=function(t){-1===B.findFirstIndex(this._items,(function(e){return e.widget===t}))&&(this._items.push(new ae(t)),this.parent&&this.attachWidget(t))},e.prototype.removeWidget=function(t){var e=B.findFirstIndex(this._items,(function(e){return e.widget===t}));if(-1!==e){var n=B.removeAt(this._items,e);this.parent&&this.detachWidget(t),n.dispose()}},e.prototype.init=function(){var e=this;t.prototype.init.call(this),R(this,(function(t){e.attachWidget(t)}))},e.prototype.attachWidget=function(t){this.parent.isAttached&&wt.sendMessage(t,re.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&wt.sendMessage(t,re.Msg.AfterAttach),this.parent.fit()},e.prototype.detachWidget=function(t){this.parent.isAttached&&wt.sendMessage(t,re.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&wt.sendMessage(t,re.Msg.AfterDetach),this.parent.fit()},e.prototype.onBeforeShow=function(e){t.prototype.onBeforeShow.call(this,e),this.parent.update()},e.prototype.onBeforeAttach=function(e){t.prototype.onBeforeAttach.call(this,e),this.parent.fit()},e.prototype.onChildShown=function(t){this.parent.fit()},e.prototype.onChildHidden=function(t){this.parent.fit()},e.prototype.onResize=function(t){this.parent.isVisible&&this._update(t.width,t.height)},e.prototype.onUpdateRequest=function(t){this.parent.isVisible&&this._update(-1,-1)},e.prototype.onFitRequest=function(t){this.parent.isAttached&&this._fit()},e.prototype._fit=function(){for(var t=0,n=this.rowCount;t<n;++t)this._rowSizers[t].minSize=0;for(t=0,n=this.columnCount;t<n;++t)this._columnSizers[t].minSize=0;var i=this._items.filter((function(t){return!t.isHidden}));for(t=0,n=i.length;t<n;++t)i[t].fit();var r=this.rowCount-1,o=this.columnCount-1;for(i.sort(ze.rowSpanCmp),t=0,n=i.length;t<n;++t){var s=i[t],a=e.getCellConfig(s.widget),c=Math.min(a.row,r),u=Math.min(a.row+a.rowSpan-1,r);ze.distributeMin(this._rowSizers,c,u,s.minHeight)}for(i.sort(ze.columnSpanCmp),t=0,n=i.length;t<n;++t){s=i[t],a=e.getCellConfig(s.widget);var l=Math.min(a.column,o),h=Math.min(a.column+a.columnSpan-1,o);ze.distributeMin(this._columnSizers,l,h,s.minWidth)}if("set-no-constraint"!==this.fitPolicy){var d=r*this._rowSpacing,p=o*this._columnSpacing;for(t=0,n=this.rowCount;t<n;++t)d+=this._rowSizers[t].minSize;for(t=0,n=this.columnCount;t<n;++t)p+=this._columnSizers[t].minSize;var f=this._box=tt.boxSizing(this.parent.node);p+=f.horizontalSum,d+=f.verticalSum;var m=this.parent.node.style;m.minWidth=p+"px",m.minHeight=d+"px",this._dirty=!0,this.parent.parent&&wt.sendMessage(this.parent.parent,re.Msg.FitRequest),this._dirty&&wt.sendMessage(this.parent,re.Msg.UpdateRequest)}else wt.sendMessage(this.parent,re.Msg.UpdateRequest)},e.prototype._update=function(t,n){this._dirty=!1,t<0&&(t=this.parent.node.offsetWidth),n<0&&(n=this.parent.node.offsetHeight),this._box||(this._box=tt.boxSizing(this.parent.node));var i=this._box.paddingTop,r=this._box.paddingLeft,o=t-this._box.horizontalSum,s=n-this._box.verticalSum,a=this.rowCount-1,c=this.columnCount-1,u=a*this._rowSpacing,l=c*this._columnSpacing;Zt.calc(this._rowSizers,Math.max(0,s-u)),Zt.calc(this._columnSizers,Math.max(0,o-l));for(var h=0,d=i,p=this.rowCount;h<p;++h)this._rowStarts[h]=d,d+=this._rowSizers[h].size+this._rowSpacing;for(h=0,d=r,p=this.columnCount;h<p;++h)this._columnStarts[h]=d,d+=this._columnSizers[h].size+this._columnSpacing;for(h=0,p=this._items.length;h<p;++h){var f=this._items[h];if(!f.isHidden){var m=e.getCellConfig(f.widget),v=Math.min(m.row,a),g=Math.min(m.column,c),y=Math.min(m.row+m.rowSpan-1,a),_=Math.min(m.column+m.columnSpan-1,c),b=this._columnStarts[g],x=this._rowStarts[v],w=this._columnStarts[_]+this._columnSizers[_].size-b,M=this._rowStarts[y]+this._rowSizers[y].size-x;f.update(b,x,w,M)}}},e}(oe);!function(t){t.getCellConfig=function(t){return ze.cellConfigProperty.get(t)},t.setCellConfig=function(t,e){ze.cellConfigProperty.set(t,ze.normalizeConfig(e))}}(Be||(Be={})),function(t){t.cellConfigProperty=new At({name:"cellConfig",create:function(){return{row:0,column:0,rowSpan:1,columnSpan:1}},changed:function(t){t.parent&&t.parent.layout instanceof Be&&t.parent.fit()}}),t.normalizeConfig=function(t){return{row:Math.max(0,Math.floor(t.row||0)),column:Math.max(0,Math.floor(t.column||0)),rowSpan:Math.max(1,Math.floor(t.rowSpan||0)),columnSpan:Math.max(1,Math.floor(t.columnSpan||0))}},t.clampValue=function(t){return Math.max(0,Math.floor(t))},t.rowSpanCmp=function(e,n){var i=t.cellConfigProperty.get(e.widget),r=t.cellConfigProperty.get(n.widget);return i.rowSpan-r.rowSpan},t.columnSpanCmp=function(e,n){var i=t.cellConfigProperty.get(e.widget),r=t.cellConfigProperty.get(n.widget);return i.columnSpan-r.columnSpan},t.reallocSizers=function(t,e){for(e=Math.max(1,Math.floor(e));t.length<e;)t.push(new ee);t.length>e&&(t.length=e)},t.distributeMin=function(t,e,n,i){if(!(n<e))if(e!==n){for(var r=0,o=e;o<=n;++o)r+=t[o].minSize;if(!(r>=i)){var s=(i-r)/(n-e+1);for(o=e;o<=n;++o)t[o].minSize+=s}}else{var a=t[e];a.minSize=Math.max(a.minSize,i)}}}(ze||(ze={}));var Ne,Re,He=function(t){function e(n){void 0===n&&(n={});var i=t.call(this,{node:Ne.createNode()})||this;return i._activeIndex=-1,i._tabFocusIndex=0,i._menus=[],i._childMenu=null,i.addClass("lm-MenuBar"),i.addClass("p-MenuBar"),i.setFlag(re.Flag.DisallowLayout),i.renderer=n.renderer||e.defaultRenderer,i._forceItemsPosition=n.forceItemsPosition||{forceX:!0,forceY:!0},i}return Qt(e,t),e.prototype.dispose=function(){this._closeChildMenu(),this._menus.length=0,t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeMenu",{get:function(){return this._menus[this._activeIndex]||null},set:function(t){this.activeIndex=t?this._menus.indexOf(t):-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(t){(t<0||t>=this._menus.length)&&(t=-1),this._activeIndex!==t&&(this._activeIndex=t,-1!==t&&(this._tabFocusIndex=t),this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menus",{get:function(){return this._menus},enumerable:!0,configurable:!0}),e.prototype.openActiveMenu=function(){-1!==this._activeIndex&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))},e.prototype.addMenu=function(t){this.insertMenu(this._menus.length,t)},e.prototype.insertMenu=function(t,e){this._closeChildMenu();var n=this._menus.indexOf(e),i=Math.max(0,Math.min(t,this._menus.length));if(-1===n)return B.insert(this._menus,i,e),e.addClass("lm-MenuBar-menu"),e.addClass("p-MenuBar-menu"),e.aboutToClose.connect(this._onMenuAboutToClose,this),e.menuRequested.connect(this._onMenuMenuRequested,this),e.title.changed.connect(this._onTitleChanged,this),void this.update();i===this._menus.length&&i--,n!==i&&(B.move(this._menus,n,i),this.update())},e.prototype.removeMenu=function(t){this.removeMenuAt(this._menus.indexOf(t))},e.prototype.removeMenuAt=function(t){this._closeChildMenu();var e=B.removeAt(this._menus,t);e&&(e.aboutToClose.disconnect(this._onMenuAboutToClose,this),e.menuRequested.disconnect(this._onMenuMenuRequested,this),e.title.changed.disconnect(this._onTitleChanged,this),e.removeClass("lm-MenuBar-menu"),e.removeClass("p-MenuBar-menu"),this.update())},e.prototype.clearMenus=function(){if(0!==this._menus.length){this._closeChildMenu();for(var t=0,e=this._menus;t<e.length;t++){var n=e[t];n.aboutToClose.disconnect(this._onMenuAboutToClose,this),n.menuRequested.disconnect(this._onMenuMenuRequested,this),n.title.changed.disconnect(this._onTitleChanged,this),n.removeClass("lm-MenuBar-menu"),n.removeClass("p-MenuBar-menu")}this._menus.length=0,this.update()}},e.prototype.handleEvent=function(t){switch(t.type){case"keydown":this._evtKeyDown(t);break;case"mousedown":this._evtMouseDown(t);break;case"mousemove":this._evtMouseMove(t);break;case"mouseleave":this._evtMouseLeave(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}},e.prototype.onBeforeAttach=function(t){this.node.addEventListener("keydown",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this)},e.prototype.onAfterDetach=function(t){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),this._closeChildMenu()},e.prototype.onActivateRequest=function(t){this.isAttached&&(this.activeIndex=0)},e.prototype.onUpdateRequest=function(t){for(var e=this,n=this._menus,i=this.renderer,r=this._activeIndex,o=this._tabFocusIndex>=0&&this._tabFocusIndex<n.length?this._tabFocusIndex:0,s=new Array(n.length),a=function(t,a){var c=n[t].title,u=t===r;u&&0==n[t].items.length&&(u=!1),s[t]=i.renderItem({title:c,active:u,tabbable:t===o,onfocus:function(){e.activeIndex=t}})},c=0,u=n.length;c<u;++c)a(c);Ut.render(s,this.contentNode)},e.prototype._evtKeyDown=function(t){var e=t.keyCode;if(9!==e)if(t.preventDefault(),t.stopPropagation(),13!==e&&32!==e&&38!==e&&40!==e){if(27===e)return this._closeChildMenu(),this.activeIndex=-1,void this.node.blur();if(37!==e)if(39!==e){var n=Bt().keyForKeydownEvent(t);if(n){var i=this._activeIndex+1,r=Ne.findMnemonic(this._menus,n,i);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.openActiveMenu())}}else o=this._activeIndex,s=this._menus.length,this.activeIndex=o===s-1?0:o+1;else{var o=this._activeIndex,s=this._menus.length;this.activeIndex=0===o?s-1:o-1}}else this.openActiveMenu();else this.activeIndex=-1},e.prototype._evtMouseDown=function(t){if(tt.hitTest(this.node,t.clientX,t.clientY)){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=B.findFirstIndex(this.contentNode.children,(function(e){return tt.hitTest(e,t.clientX,t.clientY)}));if(-1!==e){if(0===t.button)if(this._childMenu)this._closeChildMenu(),this.activeIndex=e;else{var n=this._positionForMenu(e);Te.saveWindowData(),this.activeIndex=e,this._openChildMenu(n)}}else this._closeChildMenu()}},e.prototype._evtMouseMove=function(t){var e=B.findFirstIndex(this.contentNode.children,(function(e){return tt.hitTest(e,t.clientX,t.clientY)}));if(e!==this._activeIndex&&(-1!==e||!this._childMenu)){var n=this._positionForMenu(e);Te.saveWindowData(),this.activeIndex=e,this._childMenu&&this._openChildMenu(n)}},e.prototype._positionForMenu=function(t){var e=this.contentNode.children[t].getBoundingClientRect(),n=e.left;return{top:e.bottom,left:n}},e.prototype._evtMouseLeave=function(t){this._childMenu||(this.activeIndex=-1)},e.prototype._openChildMenu=function(t){var e;void 0===t&&(t={});var n=this.activeMenu;if(n){var i=this._childMenu;if(i!==n){this._childMenu=n,i?i.close():document.addEventListener("mousedown",this,!0),wt.sendMessage(this,re.Msg.UpdateRequest);var r=t.left,o=t.top;void 0!==r&&void 0!==o||(r=(e=this._positionForMenu(this._activeIndex)).left,o=e.top),i||(this.addClass("lm-mod-active"),this.addClass("p-mod-active")),n.items.length>0&&n.open(r,o,this._forceItemsPosition)}}else this._closeChildMenu()},e.prototype._closeChildMenu=function(){if(this._childMenu){this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0);var t=this._childMenu;this._childMenu=null,t.close(),this.activeIndex=-1}},e.prototype._onMenuAboutToClose=function(t){t===this._childMenu&&(this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)},e.prototype._onMenuMenuRequested=function(t,e){if(t===this._childMenu){var n=this._activeIndex,i=this._menus.length;switch(e){case"next":this.activeIndex=n===i-1?0:n+1;break;case"previous":this.activeIndex=0===n?i-1:n-1}this.openActiveMenu()}},e.prototype._onTitleChanged=function(){this.update()},e}(re);!function(t){var e=function(){function t(){}return t.prototype.renderItem=function(t){var e=this.createItemClass(t),n=this.createItemDataset(t),i=this.createItemARIA(t);return Jt.li(te({className:e,dataset:n,tabindex:t.tabbable?"0":"-1",onfocus:t.onfocus},i),this.renderIcon(t),this.renderLabel(t))},t.prototype.renderIcon=function(t){var e=this.createIconClass(t);return"string"==typeof t.title.icon?Jt.div({className:e},t.title.iconLabel):Jt.div({className:e},t.title.icon,t.title.iconLabel)},t.prototype.renderLabel=function(t){var e=this.formatLabel(t);return Jt.div({className:"lm-MenuBar-itemLabel p-MenuBar-itemLabel"},e)},t.prototype.createItemClass=function(t){var e="lm-MenuBar-item";return e+=" p-MenuBar-item",t.title.className&&(e+=" "+t.title.className),t.active&&(e+=" lm-mod-active",e+=" p-mod-active"),e},t.prototype.createItemDataset=function(t){return t.title.dataset},t.prototype.createItemARIA=function(t){return{role:"menuitem","aria-haspopup":"true"}},t.prototype.createIconClass=function(t){var e="lm-MenuBar-itemIcon";e+=" p-MenuBar-itemIcon";var n=t.title.iconClass;return n?e+" "+n:e},t.prototype.formatLabel=function(t){var e=t.title,n=e.label,i=e.mnemonic;if(i<0||i>=n.length)return n;var r=n.slice(0,i),o=n.slice(i+1),s=n[i];return[r,Jt.span({className:"lm-MenuBar-itemMnemonic p-MenuBar-itemMnemonic"},s),o]},t}();t.Renderer=e,t.defaultRenderer=new e}(He||(He={})),function(t){t.createNode=function(){var t=document.createElement("div"),e=document.createElement("ul");return e.className="lm-MenuBar-content",e.classList.add("p-MenuBar-content"),t.appendChild(e),e.setAttribute("role","menubar"),t},t.findMnemonic=function(t,e,n){for(var i=-1,r=-1,o=!1,s=e.toUpperCase(),a=0,c=t.length;a<c;++a){var u=(a+n)%c,l=t[u].title;if(0!==l.label.length){var h=l.mnemonic;h>=0&&h<l.label.length?l.label[h].toUpperCase()===s&&(-1===i?i=u:o=!0):-1===r&&l.label[0].toUpperCase()===s&&(r=u)}}return{index:i,multiple:o,auto:r}}}(Ne||(Ne={})),function(t){function e(e){void 0===e&&(e={});var n=t.call(this,{node:Re.createNode()})||this;return n._onRepeat=function(){if(n._repeatTimer=-1,n._pressData){var t=n._pressData.part;if("thumb"!==t){n._repeatTimer=window.setTimeout(n._onRepeat,20);var e=n._pressData.mouseX,i=n._pressData.mouseY;if("decrement"!==t)if("increment"!==t){if("track"===t){if(!tt.hitTest(n.trackNode,e,i))return;var r=n.thumbNode;if(tt.hitTest(r,e,i))return;var o,s=r.getBoundingClientRect();return o="horizontal"===n._orientation?e<s.left?"decrement":"increment":i<s.top?"decrement":"increment",void n._pageRequested.emit(o)}}else{if(!tt.hitTest(n.incrementNode,e,i))return;n._stepRequested.emit("increment")}else{if(!tt.hitTest(n.decrementNode,e,i))return;n._stepRequested.emit("decrement")}}}},n._value=0,n._page=10,n._maximum=100,n._repeatTimer=-1,n._pressData=null,n._thumbMoved=new Tt(n),n._stepRequested=new Tt(n),n._pageRequested=new Tt(n),n.addClass("lm-ScrollBar"),n.addClass("p-ScrollBar"),n.setFlag(re.Flag.DisallowLayout),n._orientation=e.orientation||"vertical",n.dataset.orientation=n._orientation,void 0!==e.maximum&&(n._maximum=Math.max(0,e.maximum)),void 0!==e.page&&(n._page=Math.max(0,e.page)),void 0!==e.value&&(n._value=Math.max(0,Math.min(e.value,n._maximum))),n}Qt(e,t),Object.defineProperty(e.prototype,"thumbMoved",{get:function(){return this._thumbMoved},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stepRequested",{get:function(){return this._stepRequested},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageRequested",{get:function(){return this._pageRequested},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this._orientation},set:function(t){this._orientation!==t&&(this._releaseMouse(),this._orientation=t,this.dataset.orientation=t,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t=Math.max(0,Math.min(t,this._maximum)),this._value!==t&&(this._value=t,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"page",{get:function(){return this._page},set:function(t){t=Math.max(0,t),this._page!==t&&(this._page=t,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maximum",{get:function(){return this._maximum},set:function(t){t=Math.max(0,t),this._maximum!==t&&(this._maximum=t,this._value=Math.min(this._value,t),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"decrementNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-button")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incrementNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-button")[1]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-track")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"thumbNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-thumb")[0]},enumerable:!0,configurable:!0}),e.prototype.handleEvent=function(t){switch(t.type){case"mousedown":this._evtMouseDown(t);break;case"mousemove":this._evtMouseMove(t);break;case"mouseup":this._evtMouseUp(t);break;case"keydown":this._evtKeyDown(t);break;case"contextmenu":t.preventDefault(),t.stopPropagation()}},e.prototype.onBeforeAttach=function(t){this.node.addEventListener("mousedown",this),this.update()},e.prototype.onAfterDetach=function(t){this.node.removeEventListener("mousedown",this),this._releaseMouse()},e.prototype.onUpdateRequest=function(t){var e=100*this._value/this._maximum,n=100*this._page/(this._page+this._maximum);e=Math.max(0,Math.min(e,100)),n=Math.max(0,Math.min(n,100));var i=this.thumbNode.style;"horizontal"===this._orientation?(i.top="",i.height="",i.left=e+"%",i.width=n+"%",i.transform="translate("+-e+"%, 0%)"):(i.left="",i.width="",i.top=e+"%",i.height=n+"%",i.transform="translate(0%, "+-e+"%)")},e.prototype._evtKeyDown=function(t){if(t.preventDefault(),t.stopPropagation(),27===t.keyCode){var e=this._pressData?this._pressData.value:-1;this._releaseMouse(),-1!==e&&this._moveThumb(e)}},e.prototype._evtMouseDown=function(t){if(0===t.button&&(this.activate(),!this._pressData)){var e=Re.findPart(this,t.target);if(e){t.preventDefault(),t.stopPropagation();var n=zt.overrideCursor("default");if(this._pressData={part:e,override:n,delta:-1,value:-1,mouseX:t.clientX,mouseY:t.clientY},document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0),"thumb"===e){var i=this.thumbNode,r=i.getBoundingClientRect();return"horizontal"===this._orientation?this._pressData.delta=t.clientX-r.left:this._pressData.delta=t.clientY-r.top,i.classList.add("lm-mod-active"),i.classList.add("p-mod-active"),void(this._pressData.value=this._value)}if("track"===e){r=this.thumbNode.getBoundingClientRect();var o;return o="horizontal"===this._orientation?t.clientX<r.left?"decrement":"increment":t.clientY<r.top?"decrement":"increment",this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._pageRequested.emit(o)}return"decrement"===e?(this.decrementNode.classList.add("lm-mod-active"),this.decrementNode.classList.add("p-mod-active"),this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._stepRequested.emit("decrement")):"increment"===e?(this.incrementNode.classList.add("lm-mod-active"),this.incrementNode.classList.add("p-mod-active"),this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._stepRequested.emit("increment")):void 0}}},e.prototype._evtMouseMove=function(t){if(this._pressData&&(t.preventDefault(),t.stopPropagation(),this._pressData.mouseX=t.clientX,this._pressData.mouseY=t.clientY,"thumb"===this._pressData.part)){var e,n,i=this.thumbNode.getBoundingClientRect(),r=this.trackNode.getBoundingClientRect();"horizontal"===this._orientation?(e=t.clientX-r.left-this._pressData.delta,n=r.width-i.width):(e=t.clientY-r.top-this._pressData.delta,n=r.height-i.height);var o=0===n?0:e*this._maximum/n;this._moveThumb(o)}},e.prototype._evtMouseUp=function(t){0===t.button&&(t.preventDefault(),t.stopPropagation(),this._releaseMouse())},e.prototype._releaseMouse=function(){this._pressData&&(clearTimeout(this._repeatTimer),this._repeatTimer=-1,this._pressData.override.dispose(),this._pressData=null,document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("contextmenu",this,!0),this.thumbNode.classList.remove("lm-mod-active"),this.decrementNode.classList.remove("lm-mod-active"),this.incrementNode.classList.remove("lm-mod-active"),this.thumbNode.classList.remove("p-mod-active"),this.decrementNode.classList.remove("p-mod-active"),this.incrementNode.classList.remove("p-mod-active"))},e.prototype._moveThumb=function(t){t=Math.max(0,Math.min(t,this._maximum)),this._value!==t&&(this._value=t,this.update(),this._thumbMoved.emit(t))}}(re),function(t){t.createNode=function(){var t=document.createElement("div"),e=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),r=document.createElement("div");return e.className="lm-ScrollBar-button",n.className="lm-ScrollBar-button",e.dataset.action="decrement",n.dataset.action="increment",i.className="lm-ScrollBar-track",r.className="lm-ScrollBar-thumb",e.classList.add("p-ScrollBar-button"),n.classList.add("p-ScrollBar-button"),i.classList.add("p-ScrollBar-track"),r.classList.add("p-ScrollBar-thumb"),i.appendChild(r),t.appendChild(e),t.appendChild(i),t.appendChild(n),t},t.findPart=function(t,e){return t.thumbNode.contains(e)?"thumb":t.trackNode.contains(e)?"track":t.decrementNode.contains(e)?"decrement":t.incrementNode.contains(e)?"increment":null}}(Re||(Re={})),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._widget=null,e}Qt(e,t),e.prototype.dispose=function(){if(this._widget){var e=this._widget;this._widget=null,e.dispose()}t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"widget",{get:function(){return this._widget},set:function(t){t&&(t.parent=this.parent),this._widget!==t&&(this._widget&&this._widget.dispose(),this._widget=t,this.parent&&t&&this.attachWidget(t))},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return this._widget?G(this._widget):q()},e.prototype.removeWidget=function(t){this._widget===t&&(this._widget=null,this.parent&&this.detachWidget(t))},e.prototype.init=function(){var e=this;t.prototype.init.call(this),R(this,(function(t){e.attachWidget(t)}))},e.prototype.attachWidget=function(t){this.parent.isAttached&&wt.sendMessage(t,re.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&wt.sendMessage(t,re.Msg.AfterAttach)},e.prototype.detachWidget=function(t){this.parent.isAttached&&wt.sendMessage(t,re.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&wt.sendMessage(t,re.Msg.AfterDetach)}}(oe);var We,Fe,qe=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n._dirty=!1,n._items=[],n._box=null,n._hiddenMode=void 0!==e.hiddenMode?e.hiddenMode:re.HiddenMode.Display,n}return Qt(e,t),Object.defineProperty(e.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(t){var e=this;this._hiddenMode!==t&&(this._hiddenMode=t,this.widgets.length>1&&this.widgets.forEach((function(t){t.hiddenMode=e._hiddenMode})))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){R(this._items,(function(t){t.dispose()})),this._box=null,this._items.length=0,t.prototype.dispose.call(this)},e.prototype.attachWidget=function(t,e){this._hiddenMode===re.HiddenMode.Scale&&this._items.length>0?(1===this._items.length&&(this.widgets[0].hiddenMode=re.HiddenMode.Scale),e.hiddenMode=re.HiddenMode.Scale):e.hiddenMode=re.HiddenMode.Display,B.insert(this._items,t,new ae(e)),this.parent.isAttached&&wt.sendMessage(e,re.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&wt.sendMessage(e,re.Msg.AfterAttach),this.parent.fit()},e.prototype.moveWidget=function(t,e,n){B.move(this._items,t,e),this.parent.update()},e.prototype.detachWidget=function(t,e){var n=B.removeAt(this._items,t);this.parent.isAttached&&wt.sendMessage(e,re.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&wt.sendMessage(e,re.Msg.AfterDetach),n.widget.node.style.zIndex="",this._hiddenMode===re.HiddenMode.Scale&&(e.hiddenMode=re.HiddenMode.Display,1===this._items.length&&(this._items[0].widget.hiddenMode=re.HiddenMode.Display)),n.dispose(),this.parent.fit()},e.prototype.onBeforeShow=function(e){t.prototype.onBeforeShow.call(this,e),this.parent.update()},e.prototype.onBeforeAttach=function(e){t.prototype.onBeforeAttach.call(this,e),this.parent.fit()},e.prototype.onChildShown=function(t){this.parent.fit()},e.prototype.onChildHidden=function(t){this.parent.fit()},e.prototype.onResize=function(t){this.parent.isVisible&&this._update(t.width,t.height)},e.prototype.onUpdateRequest=function(t){this.parent.isVisible&&this._update(-1,-1)},e.prototype.onFitRequest=function(t){this.parent.isAttached&&this._fit()},e.prototype._fit=function(){for(var t=0,e=0,n=0,i=this._items.length;n<i;++n){var r=this._items[n];r.isHidden||(r.fit(),t=Math.max(t,r.minWidth),e=Math.max(e,r.minHeight))}var o=this._box=tt.boxSizing(this.parent.node);t+=o.horizontalSum,e+=o.verticalSum;var s=this.parent.node.style;s.minWidth=t+"px",s.minHeight=e+"px",this._dirty=!0,this.parent.parent&&wt.sendMessage(this.parent.parent,re.Msg.FitRequest),this._dirty&&wt.sendMessage(this.parent,re.Msg.UpdateRequest)},e.prototype._update=function(t,e){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n){t<0&&(t=this.parent.node.offsetWidth),e<0&&(e=this.parent.node.offsetHeight),this._box||(this._box=tt.boxSizing(this.parent.node));var o=this._box.paddingTop,s=this._box.paddingLeft,a=t-this._box.horizontalSum,c=e-this._box.verticalSum;for(i=0,r=this._items.length;i<r;++i){var u=this._items[i];u.isHidden||(u.widget.node.style.zIndex=""+i,u.update(s,o,a,c))}}},e}(ue),Ue=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,{layout:We.createLayout(e)})||this;return n._widgetRemoved=new Tt(n),n.addClass("lm-StackedPanel"),n.addClass("p-StackedPanel"),n}return Qt(e,t),Object.defineProperty(e.prototype,"hiddenMode",{get:function(){return this.layout.hiddenMode},set:function(t){this.layout.hiddenMode=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgetRemoved",{get:function(){return this._widgetRemoved},enumerable:!0,configurable:!0}),e.prototype.onChildAdded=function(t){t.child.addClass("lm-StackedPanel-child"),t.child.addClass("p-StackedPanel-child")},e.prototype.onChildRemoved=function(t){t.child.removeClass("lm-StackedPanel-child"),t.child.removeClass("p-StackedPanel-child"),this._widgetRemoved.emit(t.child)},e}(ve);!function(t){t.createLayout=function(t){return t.layout||new qe}}(We||(We={})),function(t){function e(e){void 0===e&&(e={});var n=t.call(this)||this;n._currentChanged=new Tt(n),n._addRequested=new Tt(n),n.addClass("lm-TabPanel"),n.addClass("p-TabPanel"),n.tabBar=new je(e),n.tabBar.addClass("lm-TabPanel-tabBar"),n.stackedPanel=new Ue,n.stackedPanel.addClass("lm-TabPanel-stackedPanel"),n.tabBar.addClass("p-TabPanel-tabBar"),n.stackedPanel.addClass("p-TabPanel-stackedPanel"),n.tabBar.tabMoved.connect(n._onTabMoved,n),n.tabBar.currentChanged.connect(n._onCurrentChanged,n),n.tabBar.tabCloseRequested.connect(n._onTabCloseRequested,n),n.tabBar.tabActivateRequested.connect(n._onTabActivateRequested,n),n.tabBar.addRequested.connect(n._onTabAddRequested,n),n.stackedPanel.widgetRemoved.connect(n._onWidgetRemoved,n),n._tabPlacement=e.tabPlacement||"top";var i=Fe.directionFromPlacement(n._tabPlacement),r=Fe.orientationFromPlacement(n._tabPlacement);n.tabBar.orientation=r,n.tabBar.dataset.placement=n._tabPlacement;var o=new we({direction:i,spacing:0});return we.setStretch(n.tabBar,0),we.setStretch(n.stackedPanel,1),o.addWidget(n.tabBar),o.addWidget(n.stackedPanel),n.layout=o,n}Qt(e,t),Object.defineProperty(e.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentIndex",{get:function(){return this.tabBar.currentIndex},set:function(t){this.tabBar.currentIndex=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentWidget",{get:function(){var t=this.tabBar.currentTitle;return t?t.owner:null},set:function(t){this.tabBar.currentTitle=t?t.title:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabsMovable",{get:function(){return this.tabBar.tabsMovable},set:function(t){this.tabBar.tabsMovable=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"addButtonEnabled",{get:function(){return this.tabBar.addButtonEnabled},set:function(t){this.tabBar.addButtonEnabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabPlacement",{get:function(){return this._tabPlacement},set:function(t){if(this._tabPlacement!==t){this._tabPlacement=t;var e=Fe.directionFromPlacement(t),n=Fe.orientationFromPlacement(t);this.tabBar.orientation=n,this.tabBar.dataset.placement=t,this.layout.direction=e}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgets",{get:function(){return this.stackedPanel.widgets},enumerable:!0,configurable:!0}),e.prototype.addWidget=function(t){this.insertWidget(this.widgets.length,t)},e.prototype.insertWidget=function(t,e){e!==this.currentWidget&&e.hide(),this.stackedPanel.insertWidget(t,e),this.tabBar.insertTab(t,e.title),e.node.setAttribute("role","tabpanel");var n=this.tabBar.renderer;if(n instanceof je.Renderer){var i=n.createTabKey({title:e.title,current:!1,zIndex:0});e.node.setAttribute("aria-labelledby",i)}},e.prototype._onCurrentChanged=function(t,e){var n=e.previousIndex,i=e.previousTitle,r=e.currentIndex,o=e.currentTitle,s=i?i.owner:null,a=o?o.owner:null;s&&s.hide(),a&&a.show(),this._currentChanged.emit({previousIndex:n,previousWidget:s,currentIndex:r,currentWidget:a}),(et.IS_EDGE||et.IS_IE)&&wt.flush()},e.prototype._onTabAddRequested=function(t,e){this._addRequested.emit(t)},e.prototype._onTabActivateRequested=function(t,e){e.title.owner.activate()},e.prototype._onTabCloseRequested=function(t,e){e.title.owner.close()},e.prototype._onTabMoved=function(t,e){this.stackedPanel.insertWidget(e.toIndex,e.title.owner)},e.prototype._onWidgetRemoved=function(t,e){e.node.removeAttribute("role"),e.node.removeAttribute("aria-labelledby"),this.tabBar.removeTab(e.title)}}(re),function(t){t.orientationFromPlacement=function(t){return e[t]},t.directionFromPlacement=function(t){return n[t]};var e={top:"horizontal",left:"vertical",right:"vertical",bottom:"horizontal"},n={top:"top-to-bottom",left:"left-to-right",right:"right-to-left",bottom:"bottom-to-top"}}(Fe||(Fe={}));const Ve="IPY_MODEL_";function Ke(t,e){if(Array.isArray(t)){const n=[];return t.forEach(((t,i)=>{n.push(Ke(t,e))})),Promise.all(n)}if(t instanceof Object){const n={};return Object.keys(t).forEach((i=>{n[i]=Ke(t[i],e)})),p(n)}return"string"==typeof t&&"IPY_MODEL_"===t.slice(0,10)?e.get_model(t.slice(10,t.length)):Promise.resolve(t)}function $e(t,e){if(Array.isArray(t)){const n=[];for(const i of t)n.push($e(i,e));return n}if(t instanceof Xe)return`${Ve}${t.model_id}`;if(!(t instanceof Object&&"string"!=typeof t))return t;{const n={};Object.keys(t).forEach((i=>{n[i]=$e(t[i],e)}))}}class Xe extends j.Model{defaults(){return{_model_module:"@jupyter-widgets/base",_model_name:"WidgetModel",_model_module_version:w,_view_module:"@jupyter-widgets/base",_view_name:null,_view_module_version:w,_view_count:null}}isNew(){return!1}initialize(t,e){this._expectedEchoMsgIds={},this._attrsToUpdate={},super.initialize(t,e),this.widget_manager=e.widget_manager,this.model_id=e.model_id;let n=e.comm;this.views=Object.create(null),this.state_change=Promise.resolve(),this._closed=!1,this._state_lock=null,this._msg_buffer=null,this._msg_buffer_callbacks=null,this._pending_msgs=0,this._buffered_state_diff={},n?(this.comm=n,n.on_close(this._handle_comm_closed.bind(this)),n.on_msg(this._handle_comm_msg.bind(this)),this.comm_live=!0):this.comm_live=!1}get comm_live(){return this._comm_live}set comm_live(t){this._comm_live=t,this.trigger("comm_live_update")}send(t,e,n){if(void 0!==this.comm){let i={method:"custom",content:t};this.comm.send(i,e,{},n)}}close(t=!1){if(this._closed)return;this._closed=!0,this.comm&&!t&&this.comm.close(),this.stopListening(),this.trigger("destroy",this),this.comm&&delete this.comm;let e=Object.keys(this.views).map((t=>this.views[t].then((t=>t.remove()))));return delete this.views,Promise.all(e).then((()=>{}))}_handle_comm_closed(t){this.trigger("comm:close"),this.close(!0)}_handle_comm_msg(t){const e=t.content.data;let n=e.method;switch(n){case"update":case"echo_update":return this.state_change=this.state_change.then((()=>{var i,r,o;let s=e.state,a=null!=(i=e.buffer_paths)?i:[],c=(o=null===(r=t.buffers)||void 0===r?void 0:r.slice(0,a.length),null!=o?o:[]).map((t=>t instanceof DataView?t:new DataView(t instanceof ArrayBuffer?t:t.buffer)));if(m(s,a,c),t.parent_header&&"echo_update"===n){const e=t.parent_header.msg_id;Object.keys(s).filter((t=>this._expectedEchoMsgIds.hasOwnProperty(t))).forEach((t=>{this._expectedEchoMsgIds[t]!==e?delete s[t]:(delete this._expectedEchoMsgIds[t],null!==this._msg_buffer&&Object.prototype.hasOwnProperty.call(this._msg_buffer,t)&&delete s[t])}))}return this.constructor._deserialize_state(s,this.widget_manager)})).then((t=>{this.set_state(t)})).catch(f(`Could not process update msg for model id: ${this.model_id}`,!0)),this.state_change;case"custom":return this.trigger("msg:custom",e.content,t.buffers),Promise.resolve()}}set_state(t){this._state_lock=t;try{this.set(t)}catch(t){console.error(`Error setting state: ${t.message}`)}finally{this._state_lock=null}}get_state(t){let e=this.attributes;if(t){let t=this.defaults,n="function"==typeof t?t.call(this):t,i={};return Object.keys(e).forEach((t=>{u(e[t],n[t])||(i[t]=e[t])})),i}return Object.assign({},e)}_handle_status(t){if(void 0!==this.comm&&"idle"===t.content.execution_state&&(this._pending_msgs--,this._pending_msgs<0&&(console.error(`Jupyter Widgets message throttle: Pending messages < 0 (=${this._pending_msgs}), which is unexpected. Resetting to 0 to continue.`),this._pending_msgs=0),null!==this._msg_buffer&&this._pending_msgs<1)){const t=this.send_sync_message(this._msg_buffer,this._msg_buffer_callbacks);this.rememberLastUpdateFor(t),this._msg_buffer=null,this._msg_buffer_callbacks=null}}callbacks(t){return this.widget_manager.callbacks(t)}set(t,e,n){let i=O.call(this,t,e,n);if(void 0!==this._buffered_state_diff){let t=this.changedAttributes()||{};if(this._state_lock)for(const e of Object.keys(this._state_lock))t[e]===this._state_lock[e]&&delete t[e];this._buffered_state_diff=l(this._buffered_state_diff,t)}return i}sync(t,e,n={}){if(void 0===this.comm)throw"Syncing error: no comm channel defined";let i="patch"===t?n.attrs:e.get_state(n.drop_defaults);if(this._state_lock)for(const t of Object.keys(this._state_lock))i[t]===this._state_lock[t]&&delete i[t];Object.keys(i).forEach((t=>{this._attrsToUpdate[t]=!0}));let r=this.serialize(i);if(Object.keys(r).length>0){let e=n.callbacks||this.callbacks();if(this._pending_msgs>=1){switch(t){case"patch":this._msg_buffer=l(this._msg_buffer||{},r);break;case"update":case"create":this._msg_buffer=r;break;default:throw"unrecognized syncing method"}this._msg_buffer_callbacks=e}else{const t=this.send_sync_message(i,e);this.rememberLastUpdateFor(t)}}}rememberLastUpdateFor(t){Object.keys(this._attrsToUpdate).forEach((e=>{this._expectedEchoMsgIds[e]=t})),this._attrsToUpdate={}}serialize(t){const e=this.constructor.serializers||{};for(const n of Object.keys(t))try{e[n]&&e[n].serialize?t[n]=e[n].serialize(t[n],this):t[n]=JSON.parse(JSON.stringify(t[n])),t[n]&&t[n].toJSON&&(t[n]=t[n].toJSON())}catch(t){throw console.error("Error serializing widget state attribute: ",n),t}return t}send_sync_message(t,e={}){if(!this.comm)return"";try{const n=(e={shell:Object.assign({},e.shell),iopub:Object.assign({},e.iopub),input:e.input}).iopub.status;e.iopub.status=t=>{this._handle_status(t),n&&n(t)};let i=v(t);const r=this.comm.send({method:"update",state:i.state,buffer_paths:i.buffer_paths},e,{},i.buffers);return this._pending_msgs++,r}catch(t){console.error("Could not send widget sync message",t)}return""}save_changes(t){if(this.comm_live){let e={patch:!0};t&&(e.callbacks=t),this.save(this._buffered_state_diff,e),this._buffered_state_diff={}}}on_some_change(t,e,n){const i=this;this.on("change",(function(){t.some(i.hasChanged,i)&&e.apply(n,arguments)}),this)}toJSON(t){return`IPY_MODEL_${this.model_id}`}static _deserialize_state(t,e){let n,i=this.serializers;if(i){n={};for(let r in t)i[r]&&i[r].deserialize?n[r]=i[r].deserialize(t[r],e):n[r]=t[r]}else n=t;return p(n)}}class Ye extends Xe{defaults(){return l(super.defaults(),{_dom_classes:[]})}}Ye.serializers=Object.assign(Object.assign({},Xe.serializers),{layout:{deserialize:Ke},style:{deserialize:Ke}});class Je extends z{constructor(t){super(t)}initialize(t){this.listenTo(this.model,"change",(()=>{let t=Object.keys(this.model.changedAttributes()||{});"_view_count"===t[0]&&1===t.length||this.update()})),this.options=t.options,this.once("remove",(()=>{"number"==typeof this.model.get("_view_count")&&(this.model.set("_view_count",this.model.get("_view_count")-1),this.model.save_changes())})),this.once("displayed",(()=>{"number"==typeof this.model.get("_view_count")&&(this.model.set("_view_count",this.model.get("_view_count")+1),this.model.save_changes())})),this.displayed=new Promise(((t,e)=>{this.once("displayed",t)}))}update(t){}render(){}create_child_view(t,e={}){return e=Object.assign({parent:this},e),this.model.widget_manager.create_view(t,e).catch(f("Could not create child view",!0))}callbacks(){return this.model.callbacks(this)}send(t,e){this.model.send(t,this.callbacks(),e)}touch(){this.model.save_changes(this.callbacks())}remove(){return super.remove(),this.trigger("remove"),this}}class Ge extends re{constructor(t){let e=t.view;delete t.view,super(t),this._view=e}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}processMessage(t){super.processMessage(t),this._view.processPhosphorMessage(t)}}class Qe extends ve{constructor(t){let e=t.view;delete t.view,super(t),this._view=e}processMessage(t){super.processMessage(t),this._view.processPhosphorMessage(t)}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}}class Ze extends Je{initialize(t){super.initialize(t),this.listenTo(this.model,"change:_dom_classes",((t,e)=>{let n=t.previous("_dom_classes");this.update_classes(n,e)})),this.layoutPromise=Promise.resolve(),this.listenTo(this.model,"change:layout",((t,e)=>{this.setLayout(e,t.previous("layout"))})),this.stylePromise=Promise.resolve(),this.listenTo(this.model,"change:style",((t,e)=>{this.setStyle(e,t.previous("style"))})),this.displayed.then((()=>{this.update_classes([],this.model.get("_dom_classes")),this.setLayout(this.model.get("layout")),this.setStyle(this.model.get("style"))})),this._comm_live_update(),this.listenTo(this.model,"comm_live_update",(()=>{this._comm_live_update()}))}setLayout(t,e){t&&(this.layoutPromise=this.layoutPromise.then((e=>(e&&(e.unlayout(),this.stopListening(e.model),e.remove()),this.create_child_view(t).then((t=>this.displayed.then((()=>(t.trigger("displayed"),this.listenTo(t.model,"change",(()=>{wt.postMessage(this.pWidget,re.ResizeMessage.UnknownSize)})),wt.postMessage(this.pWidget,re.ResizeMessage.UnknownSize),t))))).catch(f("Could not add LayoutView to DOMWidgetView",!0))))))}setStyle(t,e){t&&(this.stylePromise=this.stylePromise.then((e=>(e&&(e.unstyle(),this.stopListening(e.model),e.remove()),this.create_child_view(t).then((t=>this.displayed.then((()=>(t.trigger("displayed"),t))))).catch(f("Could not add styleView to DOMWidgetView",!0))))))}update_classes(t,e,n){void 0===n&&(n=this.el),c(t,e).map((function(t){n.classList?n.classList.remove(t):n.setAttribute("class",n.getAttribute("class").replace(t,""))})),c(e,t).map((function(t){n.classList?n.classList.add(t):n.setAttribute("class",n.getAttribute("class").concat(" ",t))}))}update_mapped_classes(t,e,n){let i=this.model.previous(e),r=t[i]?t[i]:[];i=this.model.get(e);let o=t[i]?t[i]:[];this.update_classes(r,o,n||this.el)}set_mapped_classes(t,e,n){let i=this.model.get(e),r=t[i]?t[i]:[];this.update_classes([],r,n||this.el)}_setElement(t){this.pWidget&&this.pWidget.dispose(),this.$el=t instanceof P()?t:P()(t),this.el=this.$el[0],this.pWidget=new Ge({node:t,view:this})}remove(){return this.pWidget&&this.pWidget.dispose(),super.remove()}processPhosphorMessage(t){"after-attach"===t.type&&this.trigger("displayed")}_comm_live_update(){this.model.comm_live?this.pWidget.removeClass("jupyter-widgets-disconnected"):this.pWidget.addClass("jupyter-widgets-disconnected")}}let tn={align_content:null,align_items:null,align_self:null,border:null,bottom:null,display:null,flex:null,flex_flow:null,height:null,justify_content:null,justify_items:null,left:null,margin:null,max_height:null,max_width:null,min_height:null,min_width:null,overflow:null,overflow_x:null,overflow_y:null,order:null,padding:null,right:null,top:null,visibility:null,width:null,object_fit:null,object_position:null,grid_auto_columns:null,grid_auto_flow:null,grid_auto_rows:null,grid_gap:null,grid_template_rows:null,grid_template_columns:null,grid_template_areas:null,grid_row:null,grid_column:null,grid_area:null};class en extends Xe{defaults(){return l(super.defaults(),{_model_name:"LayoutModel",_view_name:"LayoutView"},tn)}}class nn extends Je{initialize(t){this._traitNames=[],super.initialize(t);for(let t of Object.keys(tn))this.registerTrait(t)}registerTrait(t){if(this._traitNames.push(t),"overflow_x"===t||"overflow_y"===t)return this.listenTo(this.model,"change:"+t,((e,n)=>{this.handleOverflowChange(t,n)})),void this.handleOverflowChange(t,this.model.get(t));this.listenTo(this.model,"change:"+t,((e,n)=>{this.handleChange(t,n)})),this.handleChange(t,this.model.get(t))}css_name(t){return t.replace(/_/g,"-")}handleChange(t,e){let n=this.options.parent;n?null===e?n.el.style.removeProperty(this.css_name(t)):n.el.style[this.css_name(t)]=e:console.warn("Style not applied because a parent view does not exist")}handleOverflowChange(t,e){let n=this.options.parent;n?null===e?null===this.model.get("overflow")&&n.el.style.removeProperty(this.css_name(t)):n.el.style[this.css_name(t)]=e:console.warn("Style not applied because a parent view does not exist")}unlayout(){let t=this.options.parent;this._traitNames.forEach((e=>{t?t.el.style.removeProperty(this.css_name(e)):console.warn("Style not removed because a parent view does not exist")}),this)}}class rn extends Xe{defaults(){let t=this.constructor;return l(super.defaults(),{_model_name:"StyleModel",_view_name:"StyleView"},Object.keys(t.styleProperties).reduce(((e,n)=>(e[n]=t.styleProperties[n].default,e)),{}))}}rn.styleProperties={};class on extends Je{initialize(t){this._traitNames=[],super.initialize(t);let e=this.model.constructor;for(let t of Object.keys(e.styleProperties))this.registerTrait(t);this.style()}registerTrait(t){this._traitNames.push(t),this.listenTo(this.model,"change:"+t,((e,n)=>{this.handleChange(t,n)}))}handleChange(t,e){let n=this.options.parent;if(n){let i=this.model.constructor.styleProperties,r=i[t].attribute,o=i[t].selector,s=o?n.el.querySelectorAll(o):[n.el];if(null===e)for(let t=0;t!==s.length;++t)s[t].style.removeProperty(r);else for(let t=0;t!==s.length;++t)s[t].style[r]=e}else console.warn("Style not applied because a parent view does not exist")}style(){for(let t of this._traitNames)this.handleChange(t,this.model.get(t))}unstyle(){let t=this.options.parent,e=this.model.constructor.styleProperties;this._traitNames.forEach((n=>{if(t){let i=e[n].attribute,r=e[n].selector,o=r?t.el.querySelectorAll(r):[t.el];for(let t=0;t!==o.length;++t)o[t].style.removeProperty(i)}else console.warn("Style not removed because a parent view does not exist")}),this)}}var sn;!function(t){let e;!function(t){t.CommManager=class{constructor(t){this.targets=Object.create(null),this.comms=Object.create(null),this.kernel=null,this.jsServicesKernel=null,this.init_kernel(t)}init_kernel(t){this.kernel=t,this.jsServicesKernel=t}async new_comm(t,n,i,r,o,s){let a=this.jsServicesKernel.createComm(t,o),c=new e(a);return this.register_comm(c),c.open(n,i,r,s),c}register_target(t,n){let i=this.jsServicesKernel.registerCommTarget(t,((t,i)=>{let r=new e(t);this.register_comm(r);try{return n(r,i)}catch(t){r.close(),console.error(t),console.error(new Error("Exception opening new comm"))}}));this.targets[t]=i}unregister_target(t,e){this.targets[t].dispose(),delete this.targets[t]}register_comm(t){return this.comms[t.comm_id]=Promise.resolve(t),t.kernel=this.kernel,t.comm_id}};class e{constructor(t){this.jsServicesComm=null,this.kernel=null,this.jsServicesComm=t}get comm_id(){return this.jsServicesComm.commId}get target_name(){return this.jsServicesComm.targetName}open(t,e,n,i){let r=this.jsServicesComm.open(t,n,i);return this._hookupCallbacks(r,e),r.msg.header.msg_id}send(t,e,n,i){let r=this.jsServicesComm.send(t,n,i);return this._hookupCallbacks(r,e),r.msg.header.msg_id}close(t,e,n,i){let r=this.jsServicesComm.close(t,n,i);return this._hookupCallbacks(r,e),r.msg.header.msg_id}on_msg(t){this.jsServicesComm.onMsg=t.bind(this)}on_close(t){this.jsServicesComm.onClose=t.bind(this)}_hookupCallbacks(t,e){e&&(t.onReply=function(t){e.shell&&e.shell.reply&&e.shell.reply(t)},t.onStdin=function(t){e.input&&e.input(t)},t.onIOPub=function(t){if(e.iopub)if(e.iopub.status&&"status"===t.header.msg_type)e.iopub.status(t);else if(e.iopub.clear_output&&"clear_output"===t.header.msg_type)e.iopub.clear_output(t);else if(e.iopub.output)switch(t.header.msg_type){case"display_data":case"execute_result":case"stream":case"error":e.iopub.output(t)}})}}t.Comm=e}(e=t.services||(t.services={}))}(sn||(sn={}));class an{constructor(t,e,n){this.initialize(t,e,n)}initialize(t,e,n){this._handler_context=n||this,this._models=[],this.views=[],this._create_view=t,this._remove_view=e||function(t){t.remove()}}update(t,e,n,i){let r=n||this._remove_view,o=e||this._create_view;i=i||this._handler_context;let s=0;for(;s<t.length&&!(s>=this._models.length||t[s]!==this._models[s]);s++);let a=s,c=this.views.splice(a,this.views.length-a);for(let t=0;t<c.length;t++)c[t].then((function(t){r.call(i,t)}));for(;s<t.length;s++)this.views.push(Promise.resolve(o.call(i,t[s],s)));return this._models=t.slice(),Promise.all(this.views)}remove(){return Promise.all(this.views).then((t=>{t.forEach((t=>this._remove_view.call(this._handler_context,t))),this.views=[],this._models=[]}))}dispose(){this.views=null,this._models=null}}const cn=new e.Token("jupyter.extensions.jupyterWidgetRegistry")})(),s})())); |
| 11 |
//# sourceMappingURL=base7.js.map; |
| 12 |
|
| 13 |
/*! For license information please see controls7.js.LICENSE.txt */ |
| 14 |
define("@jupyter-widgets/controls7",["module"],(e=>(()=>{var t={6605:function(e,t){!function(e){"use strict";e.JSONExt=void 0,function(e){function t(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e}function i(e){return Array.isArray(e)}function n(e,r){if(e===r)return!0;if(t(e)||t(r))return!1;var s=i(e),o=i(r);return s===o&&(s&&o?function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var i=0,r=e.length;i<r;++i)if(!n(e[i],t[i]))return!1;return!0}(e,r):function(e,t){if(e===t)return!0;for(var i in e)if(void 0!==e[i]&&!(i in t))return!1;for(var i in t)if(void 0!==t[i]&&!(i in e))return!1;for(var i in e){var r=e[i],s=t[i];if(void 0!==r||void 0!==s){if(void 0===r||void 0===s)return!1;if(!n(r,s))return!1}}return!0}(e,r))}function r(e){return t(e)?e:i(e)?function(e){for(var t=new Array(e.length),i=0,n=e.length;i<n;++i)t[i]=r(e[i]);return t}(e):function(e){var t={};for(var i in e){var n=e[i];void 0!==n&&(t[i]=r(n))}return t}(e)}e.emptyObject=Object.freeze({}),e.emptyArray=Object.freeze([]),e.isPrimitive=t,e.isArray=i,e.isObject=function(e){return!t(e)&&!i(e)},e.deepEqual=n,e.deepCopy=r}(e.JSONExt||(e.JSONExt={}));var t,i=function(){function e(){this._types=[],this._values=[]}return e.prototype.types=function(){return this._types.slice()},e.prototype.hasData=function(e){return-1!==this._types.indexOf(e)},e.prototype.getData=function(e){var t=this._types.indexOf(e);return-1!==t?this._values[t]:void 0},e.prototype.setData=function(e,t){this.clearData(e),this._types.push(e),this._values.push(t)},e.prototype.clearData=function(e){var t=this._types.indexOf(e);-1!==t&&(this._types.splice(t,1),this._values.splice(t,1))},e.prototype.clear=function(){this._types.length=0,this._values.length=0},e}(),n=function(){function e(){var e=this;this.promise=new Promise((function(t,i){e._resolve=t,e._reject=i}))}return e.prototype.resolve=function(e){(0,this._resolve)(e)},e.prototype.reject=function(e){(0,this._reject)(e)},e}(),r=function(e){this.name=e,this._tokenStructuralPropertyT=null};e.Random=void 0,(e.Random||(e.Random={})).getRandomValues=(t="undefined"!=typeof window&&(window.crypto||window.msCrypto)||null)&&"function"==typeof t.getRandomValues?function(e){return t.getRandomValues(e)}:function(e){for(var t=0,i=0,n=e.length;i<n;++i)i%4==0&&(t=4294967295*Math.random()>>>0),e[i]=255&t,t>>>=8},e.UUID=void 0,(e.UUID||(e.UUID={})).uuid4=function(e){for(var t=new Uint8Array(16),i=new Array(256),n=0;n<16;++n)i[n]="0"+n.toString(16);for(n=16;n<256;++n)i[n]=n.toString(16);return function(){return e(t),t[6]=64|15&t[6],t[8]=128|63&t[8],i[t[0]]+i[t[1]]+i[t[2]]+i[t[3]]+"-"+i[t[4]]+i[t[5]]+"-"+i[t[6]]+i[t[7]]+"-"+i[t[8]]+i[t[9]]+"-"+i[t[10]]+i[t[11]]+i[t[12]]+i[t[13]]+i[t[14]]+i[t[15]]}}(e.Random.getRandomValues),e.MimeData=i,e.PromiseDelegate=n,e.Token=r,Object.defineProperty(e,"__esModule",{value:!0})}(t)},6613:(e,t,i)=>{var n,r,s;s="object"==typeof self&&self.self==self&&self||"object"==typeof i.g&&i.g.global==i.g&&i.g,n=[i(2562),i(4651),t],r=function(e,t,i){s.Backbone=function(e,t,i,n){var r=e.Backbone,s=Array.prototype.slice;t.VERSION="1.2.3",t.$=n,t.noConflict=function(){return e.Backbone=r,this},t.emulateHTTP=!1,t.emulateJSON=!1;var o=function(e,t,n){i.each(t,(function(t,r){i[r]&&(e.prototype[r]=function(e,t,n){switch(e){case 1:return function(){return i[t](this[n])};case 2:return function(e){return i[t](this[n],e)};case 3:return function(e,r){return i[t](this[n],a(e,this),r)};case 4:return function(e,r,s){return i[t](this[n],a(e,this),r,s)};default:return function(){var e=s.call(arguments);return e.unshift(this[n]),i[t].apply(i,e)}}}(t,r,n))}))},a=function(e,t){return i.isFunction(e)?e:i.isObject(e)&&!t._isModel(e)?l(e):i.isString(e)?function(t){return t.get(e)}:e},l=function(e){var t=i.matches(e);return function(e){return t(e.attributes)}},u=t.Events={},d=/\s+/,c=function(e,t,n,r,s){var o,a=0;if(n&&"object"==typeof n){void 0!==r&&"context"in s&&void 0===s.context&&(s.context=r);for(o=i.keys(n);a<o.length;a++)t=c(e,t,o[a],n[o[a]],s)}else if(n&&d.test(n))for(o=n.split(d);a<o.length;a++)t=e(t,o[a],r,s);else t=e(t,n,r,s);return t};u.on=function(e,t,i){return h(this,e,t,i)};var h=function(e,t,i,n,r){return e._events=c(p,e._events||{},t,i,{context:n,ctx:e,listening:r}),r&&((e._listeners||(e._listeners={}))[r.id]=r),e};u.listenTo=function(e,t,n){if(!e)return this;var r=e._listenId||(e._listenId=i.uniqueId("l")),s=this._listeningTo||(this._listeningTo={}),o=s[r];if(!o){var a=this._listenId||(this._listenId=i.uniqueId("l"));o=s[r]={obj:e,objId:r,id:a,listeningTo:s,count:0}}return h(e,t,n,this,o),this};var p=function(e,t,i,n){if(i){var r=e[t]||(e[t]=[]),s=n.context,o=n.ctx,a=n.listening;a&&a.count++,r.push({callback:i,context:s,ctx:s||o,listening:a})}return e};u.off=function(e,t,i){return this._events?(this._events=c(f,this._events,e,t,{context:i,listeners:this._listeners}),this):this},u.stopListening=function(e,t,n){var r=this._listeningTo;if(!r)return this;for(var s=e?[e._listenId]:i.keys(r),o=0;o<s.length;o++){var a=r[s[o]];if(!a)break;a.obj.off(t,n,this)}return i.isEmpty(r)&&(this._listeningTo=void 0),this};var f=function(e,t,n,r){if(e){var s,o=0,a=r.context,l=r.listeners;if(t||n||a){for(var u=t?[t]:i.keys(e);o<u.length;o++){var d=e[t=u[o]];if(!d)break;for(var c=[],h=0;h<d.length;h++){var p=d[h];n&&n!==p.callback&&n!==p.callback._callback||a&&a!==p.context?c.push(p):(s=p.listening)&&0==--s.count&&(delete l[s.id],delete s.listeningTo[s.objId])}c.length?e[t]=c:delete e[t]}return i.size(e)?e:void 0}for(var f=i.keys(l);o<f.length;o++)delete l[(s=l[f[o]]).id],delete s.listeningTo[s.objId]}};u.once=function(e,t,n){var r=c(m,{},e,t,i.bind(this.off,this));return this.on(r,void 0,n)},u.listenToOnce=function(e,t,n){var r=c(m,{},t,n,i.bind(this.stopListening,this,e));return this.listenTo(e,r)};var m=function(e,t,n,r){if(n){var s=e[t]=i.once((function(){r(t,s),n.apply(this,arguments)}));s._callback=n}return e};u.trigger=function(e){if(!this._events)return this;for(var t=Math.max(0,arguments.length-1),i=Array(t),n=0;n<t;n++)i[n]=arguments[n+1];return c(g,this._events,e,void 0,i),this};var g=function(e,t,i,n){if(e){var r=e[t],s=e.all;r&&s&&(s=s.slice()),r&&v(r,n),s&&v(s,[t].concat(n))}return e},v=function(e,t){var i,n=-1,r=e.length,s=t[0],o=t[1],a=t[2];switch(t.length){case 0:for(;++n<r;)(i=e[n]).callback.call(i.ctx);return;case 1:for(;++n<r;)(i=e[n]).callback.call(i.ctx,s);return;case 2:for(;++n<r;)(i=e[n]).callback.call(i.ctx,s,o);return;case 3:for(;++n<r;)(i=e[n]).callback.call(i.ctx,s,o,a);return;default:for(;++n<r;)(i=e[n]).callback.apply(i.ctx,t);return}};u.bind=u.on,u.unbind=u.off,i.extend(t,u);var _=t.Model=function(e,t){var n=e||{};t||(t={}),this.cid=i.uniqueId(this.cidPrefix),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(n=this.parse(n,t)||{}),n=i.defaults({},n,i.result(this,"defaults")),this.set(n,t),this.changed={},this.initialize.apply(this,arguments)};i.extend(_.prototype,u,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(e){return i.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return i.escape(this.get(e))},has:function(e){return null!=this.get(e)},matches:function(e){return!!i.iteratee(e,this)(this.attributes)},set:function(e,t,n){if(null==e)return this;var r;if("object"==typeof e?(r=e,n=t):(r={})[e]=t,n||(n={}),!this._validate(r,n))return!1;var s=n.unset,o=n.silent,a=[],l=this._changing;this._changing=!0,l||(this._previousAttributes=i.clone(this.attributes),this.changed={});var u=this.attributes,d=this.changed,c=this._previousAttributes;for(var h in r)t=r[h],i.isEqual(u[h],t)||a.push(h),i.isEqual(c[h],t)?delete d[h]:d[h]=t,s?delete u[h]:u[h]=t;if(this.id=this.get(this.idAttribute),!o){a.length&&(this._pending=n);for(var p=0;p<a.length;p++)this.trigger("change:"+a[p],this,u[a[p]],n)}if(l)return this;if(!o)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,i.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var n in this.attributes)t[n]=void 0;return this.set(t,i.extend({},e,{unset:!0}))},hasChanged:function(e){return null==e?!i.isEmpty(this.changed):i.has(this.changed,e)},changedAttributes:function(e){if(!e)return!!this.hasChanged()&&i.clone(this.changed);var t=this._changing?this._previousAttributes:this.attributes,n={};for(var r in e){var s=e[r];i.isEqual(t[r],s)||(n[r]=s)}return!!i.size(n)&&n},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(e){e=i.extend({parse:!0},e);var t=this,n=e.success;return e.success=function(i){var r=e.parse?t.parse(i,e):i;if(!t.set(r,e))return!1;n&&n.call(e.context,t,i,e),t.trigger("sync",t,i,e)},B(this,e),this.sync("read",this,e)},save:function(e,t,n){var r;null==e||"object"==typeof e?(r=e,n=t):(r={})[e]=t;var s=(n=i.extend({validate:!0,parse:!0},n)).wait;if(r&&!s){if(!this.set(r,n))return!1}else if(!this._validate(r,n))return!1;var o=this,a=n.success,l=this.attributes;n.success=function(e){o.attributes=l;var t=n.parse?o.parse(e,n):e;if(s&&(t=i.extend({},r,t)),t&&!o.set(t,n))return!1;a&&a.call(n.context,o,e,n),o.trigger("sync",o,e,n)},B(this,n),r&&s&&(this.attributes=i.extend({},l,r));var u=this.isNew()?"create":n.patch?"patch":"update";"patch"!==u||n.attrs||(n.attrs=r);var d=this.sync(u,this,n);return this.attributes=l,d},destroy:function(e){e=e?i.clone(e):{};var t=this,n=e.success,r=e.wait,s=function(){t.stopListening(),t.trigger("destroy",t,t.collection,e)};e.success=function(i){r&&s(),n&&n.call(e.context,t,i,e),t.isNew()||t.trigger("sync",t,i,e)};var o=!1;return this.isNew()?i.defer(e.success):(B(this,e),o=this.sync("delete",this,e)),r||s(),o},url:function(){var e=i.result(this,"urlRoot")||i.result(this.collection,"url")||z();if(this.isNew())return e;var t=this.get(this.idAttribute);return e.replace(/[^\/]$/,"$&/")+encodeURIComponent(t)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},i.defaults({validate:!0},e))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=i.extend({},this.attributes,e);var n=this.validationError=this.validate(e,t)||null;return!n||(this.trigger("invalid",this,n,i.extend(t,{validationError:n})),!1)}}),o(_,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var y=t.Collection=function(e,t){t||(t={}),t.model&&(this.model=t.model),void 0!==t.comparator&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,i.extend({silent:!0},t))},b={add:!0,remove:!0,merge:!0},x={add:!0,remove:!1},w=function(e,t,i){i=Math.min(Math.max(i,0),e.length);for(var n=Array(e.length-i),r=t.length,s=0;s<n.length;s++)n[s]=e[s+i];for(s=0;s<r;s++)e[s+i]=t[s];for(s=0;s<n.length;s++)e[s+r+i]=n[s]};i.extend(y.prototype,u,{model:_,initialize:function(){},toJSON:function(e){return this.map((function(t){return t.toJSON(e)}))},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,i.extend({merge:!1},t,x))},remove:function(e,t){t=i.extend({},t);var n=!i.isArray(e);e=n?[e]:i.clone(e);var r=this._removeModels(e,t);return!t.silent&&r&&this.trigger("update",this,t),n?r[0]:r},set:function(e,t){if(null!=e){(t=i.defaults({},t,b)).parse&&!this._isModel(e)&&(e=this.parse(e,t));var n=!i.isArray(e);e=n?[e]:e.slice();var r=t.at;null!=r&&(r=+r),r<0&&(r+=this.length+1);for(var s,o=[],a=[],l=[],u={},d=t.add,c=t.merge,h=t.remove,p=!1,f=this.comparator&&null==r&&!1!==t.sort,m=i.isString(this.comparator)?this.comparator:null,g=0;g<e.length;g++){s=e[g];var v=this.get(s);if(v){if(c&&s!==v){var _=this._isModel(s)?s.attributes:s;t.parse&&(_=v.parse(_,t)),v.set(_,t),f&&!p&&(p=v.hasChanged(m))}u[v.cid]||(u[v.cid]=!0,o.push(v)),e[g]=v}else d&&(s=e[g]=this._prepareModel(s,t))&&(a.push(s),this._addReference(s,t),u[s.cid]=!0,o.push(s))}if(h){for(g=0;g<this.length;g++)u[(s=this.models[g]).cid]||l.push(s);l.length&&this._removeModels(l,t)}var y=!1,x=!f&&d&&h;if(o.length&&x?(y=this.length!=o.length||i.some(this.models,(function(e,t){return e!==o[t]})),this.models.length=0,w(this.models,o,0),this.length=this.models.length):a.length&&(f&&(p=!0),w(this.models,a,null==r?this.length:r),this.length=this.models.length),p&&this.sort({silent:!0}),!t.silent){for(g=0;g<a.length;g++)null!=r&&(t.index=r+g),(s=a[g]).trigger("add",s,this,t);(p||y)&&this.trigger("sort",this,t),(a.length||l.length)&&this.trigger("update",this,t)}return n?e[0]:e}},reset:function(e,t){t=t?i.clone(t):{};for(var n=0;n<this.models.length;n++)this._removeReference(this.models[n],t);return t.previousModels=this.models,this._reset(),e=this.add(e,i.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,i.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e)},unshift:function(e,t){return this.add(e,i.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e)},slice:function(){return s.apply(this.models,arguments)},get:function(e){if(null!=e){var t=this.modelId(this._isModel(e)?e.attributes:e);return this._byId[e]||this._byId[t]||this._byId[e.cid]}},at:function(e){return e<0&&(e+=this.length),this.models[e]},where:function(e,t){return this[t?"find":"filter"](e)},findWhere:function(e){return this.where(e,!0)},sort:function(e){var t=this.comparator;if(!t)throw new Error("Cannot sort a set without a comparator");e||(e={});var n=t.length;return i.isFunction(t)&&(t=i.bind(t,this)),1===n||i.isString(t)?this.models=this.sortBy(t):this.models.sort(t),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return i.invoke(this.models,"get",e)},fetch:function(e){var t=(e=i.extend({parse:!0},e)).success,n=this;return e.success=function(i){var r=e.reset?"reset":"set";n[r](i,e),t&&t.call(e.context,n,i,e),n.trigger("sync",n,i,e)},B(this,e),this.sync("read",this,e)},create:function(e,t){var n=(t=t?i.clone(t):{}).wait;if(!(e=this._prepareModel(e,t)))return!1;n||this.add(e,t);var r=this,s=t.success;return t.success=function(e,t,i){n&&r.add(e,i),s&&s.call(i.context,e,t,i)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(e){return e[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(this._isModel(e))return e.collection||(e.collection=this),e;(t=t?i.clone(t):{}).collection=this;var n=new this.model(e,t);return n.validationError?(this.trigger("invalid",this,n.validationError,t),!1):n},_removeModels:function(e,t){for(var i=[],n=0;n<e.length;n++){var r=this.get(e[n]);if(r){var s=this.indexOf(r);this.models.splice(s,1),this.length--,t.silent||(t.index=s,r.trigger("remove",r,this,t)),i.push(r),this._removeReference(r,t)}}return!!i.length&&i},_isModel:function(e){return e instanceof _},_addReference:function(e,t){this._byId[e.cid]=e;var i=this.modelId(e.attributes);null!=i&&(this._byId[i]=e),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){delete this._byId[e.cid];var i=this.modelId(e.attributes);null!=i&&delete this._byId[i],this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,i,n){if("add"!==e&&"remove"!==e||i===this){if("destroy"===e&&this.remove(t,n),"change"===e){var r=this.modelId(t.previousAttributes()),s=this.modelId(t.attributes);r!==s&&(null!=r&&delete this._byId[r],null!=s&&(this._byId[s]=t))}this.trigger.apply(this,arguments)}}}),o(y,{forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3},"models");var M=t.View=function(e){this.cid=i.uniqueId("view"),i.extend(this,i.pick(e,S)),this._ensureElement(),this.initialize.apply(this,arguments)},C=/^(\S+)\s*(.*)$/,S=["model","collection","el","id","attributes","className","tagName","events"];i.extend(M.prototype,u,{tagName:"div",$:function(e){return this.$el.find(e)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(e){return this.undelegateEvents(),this._setElement(e),this.delegateEvents(),this},_setElement:function(e){this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0]},delegateEvents:function(e){if(e||(e=i.result(this,"events")),!e)return this;for(var t in this.undelegateEvents(),e){var n=e[t];if(i.isFunction(n)||(n=this[n]),n){var r=t.match(C);this.delegate(r[1],r[2],i.bind(n,this))}}return this},delegate:function(e,t,i){return this.$el.on(e+".delegateEvents"+this.cid,t,i),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(e,t,i){return this.$el.off(e+".delegateEvents"+this.cid,t,i),this},_createElement:function(e){return document.createElement(e)},_ensureElement:function(){if(this.el)this.setElement(i.result(this,"el"));else{var e=i.extend({},i.result(this,"attributes"));this.id&&(e.id=i.result(this,"id")),this.className&&(e.class=i.result(this,"className")),this.setElement(this._createElement(i.result(this,"tagName"))),this._setAttributes(e)}},_setAttributes:function(e){this.$el.attr(e)}}),t.sync=function(e,n,r){var s=E[e];i.defaults(r||(r={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};if(r.url||(o.url=i.result(n,"url")||z()),null!=r.data||!n||"create"!==e&&"update"!==e&&"patch"!==e||(o.contentType="application/json",o.data=JSON.stringify(r.attrs||n.toJSON(r))),r.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{}),r.emulateHTTP&&("PUT"===s||"DELETE"===s||"PATCH"===s)){o.type="POST",r.emulateJSON&&(o.data._method=s);var a=r.beforeSend;r.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",s),a)return a.apply(this,arguments)}}"GET"===o.type||r.emulateJSON||(o.processData=!1);var l=r.error;r.error=function(e,t,i){r.textStatus=t,r.errorThrown=i,l&&l.call(r.context,e,t,i)};var u=r.xhr=t.ajax(i.extend(o,r));return n.trigger("request",n,u,r),u};var E={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var k=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},T=/\((.*?)\)/g,A=/(\(\?)?:\w+/g,L=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend(k.prototype,u,{initialize:function(){},route:function(e,n,r){i.isRegExp(e)||(e=this._routeToRegExp(e)),i.isFunction(n)&&(r=n,n=""),r||(r=this[n]);var s=this;return t.history.route(e,(function(i){var o=s._extractParameters(e,i);!1!==s.execute(r,o,n)&&(s.trigger.apply(s,["route:"+n].concat(o)),s.trigger("route",n,o),t.history.trigger("route",s,n,o))})),this},execute:function(e,t,i){e&&e.apply(this,t)},navigate:function(e,i){return t.history.navigate(e,i),this},_bindRoutes:function(){if(this.routes){this.routes=i.result(this,"routes");for(var e,t=i.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(T,"(?:$1)?").replace(A,(function(e,t){return t?e:"([^/?]+)"})).replace(L,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var n=e.exec(t).slice(1);return i.map(n,(function(e,t){return t===n.length-1?e||null:e?decodeURIComponent(e):null}))}});var I=t.History=function(){this.handlers=[],this.checkUrl=i.bind(this.checkUrl,this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},j=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/#.*$/;I.started=!1,i.extend(I.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(e){return decodeURI(e.replace(/%25/g,"%2525"))},getSearch:function(){var e=this.location.href.replace(/#.*/,"").match(/\?.+/);return e?e[0]:""},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getPath:function(){var e=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===e.charAt(0)?e.slice(1):e},getFragment:function(e){return null==e&&(e=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),e.replace(j,"")},start:function(e){if(I.started)throw new Error("Backbone.history has already been started");if(I.started=!0,this.options=i.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(D,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var n=document.body,r=n.insertBefore(this.iframe,n.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var s=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?s("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?s("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),i.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!I.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var i=this.root;""!==e&&"?"!==e.charAt(0)||(i=i.slice(0,-1)||"/");var n=i+e;if(e=this.decodeFragment(e.replace(P,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;t.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,i){if(i){var n=e.href.replace(/(javascript:|#).*$/,"");e.replace(n+"#"+t)}else e.hash="#"+t}}),t.history=new I;_.extend=y.extend=k.extend=M.extend=I.extend=function(e,t){var n,r=this;n=e&&i.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},i.extend(n,r,t);var s=function(){this.constructor=n};return s.prototype=r.prototype,n.prototype=new s,e&&i.extend(n.prototype,e),n.__super__=r.prototype,n};var z=function(){throw new Error('A "url" property or function must be specified')},B=function(e,t){var i=t.error;t.error=function(n){i&&i.call(t.context,e,n,t),e.trigger("error",e,n,t)}};return t}(s,i,e,t)}.apply(t,n),void 0===r||(e.exports=r)},7991:(e,t)=>{"use strict";for(var i=[],n=[],r=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),s=0;s<64;++s)i[s]=r[s],n[r.charCodeAt(s)]=s;n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8952:(e,t,i)=>{var n,r,s;!function(o){"use strict";r=[i(4651),i(2340)],void 0===(s="function"==typeof(n=function(e){return e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})?n.apply(t,r):n)||(e.exports=s)}()},5074:(e,t,i)=>{var n,r,s;!function(o){"use strict";r=[i(4651),i(2340)],void 0===(s="function"==typeof(n=function(e){return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?n.apply(t,r):n)||(e.exports=s)}()},2340:(e,t,i)=>{var n,r,s;!function(o){"use strict";r=[i(4651)],void 0===(s="function"==typeof(n=function(e){return e.ui=e.ui||{},e.ui.version="1.13.3"})?n.apply(t,r):n)||(e.exports=s)}()},8934:(e,t,i)=>{var n,r,s;!function(o){"use strict";r=[i(4651),i(2340)],n=function(e){var t,i=0,n=Array.prototype.hasOwnProperty,r=Array.prototype.slice;return e.cleanData=(t=e.cleanData,function(i){var n,r,s;for(s=0;null!=(r=i[s]);s++)(n=e._data(r,"events"))&&n.remove&&e(r).triggerHandler("remove");t(i)}),e.widget=function(t,i,n){var r,s,o,a={},l=t.split(".")[0],u=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),Array.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr.pseudos[u.toLowerCase()]=function(t){return!!e.data(t,u)},e[l]=e[l]||{},r=e[l][t],s=e[l][t]=function(e,t){if(!this||!this._createWidget)return new s(e,t);arguments.length&&this._createWidget(e,t)},e.extend(s,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(o=new i).options=e.widget.extend({},o.options),e.each(n,(function(e,t){a[e]="function"==typeof t?function(){function n(){return i.prototype[e].apply(this,arguments)}function r(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,s=this._superApply;return this._super=n,this._superApply=r,e=t.apply(this,arguments),this._super=i,this._superApply=s,e}}():t})),s.prototype=e.widget.extend(o,{widgetEventPrefix:r&&o.widgetEventPrefix||t},a,{constructor:s,namespace:l,widgetName:t,widgetFullName:u}),r?(e.each(r._childConstructors,(function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,s,i._proto)})),delete r._childConstructors):i._childConstructors.push(s),e.widget.bridge(t,s),s},e.widget.extend=function(t){for(var i,s,o=r.call(arguments,1),a=0,l=o.length;a<l;a++)for(i in o[a])s=o[a][i],n.call(o[a],i)&&void 0!==s&&(e.isPlainObject(s)?t[i]=e.isPlainObject(t[i])?e.widget.extend({},t[i],s):e.widget.extend({},s):t[i]=s);return t},e.widget.bridge=function(t,i){var n=i.prototype.widgetFullName||t;e.fn[t]=function(s){var o="string"==typeof s,a=r.call(arguments,1),l=this;return o?this.length||"instance"!==s?this.each((function(){var i,r=e.data(this,n);return"instance"===s?(l=r,!1):r?"function"!=typeof r[s]||"_"===s.charAt(0)?e.error("no such method '"+s+"' for "+t+" widget instance"):(i=r[s].apply(r,a))!==r&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+s+"'")})):l=void 0:(a.length&&(s=e.widget.extend.apply(null,[s].concat(a))),this.each((function(){var t=e.data(this,n);t?(t.option(s||{}),t._init&&t._init()):e.data(this,n,new i(s,this))}))),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,i){t._removeClass(i,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,r,s,o=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(o={},n=t.split("."),t=n.shift(),n.length){for(r=o[t]=e.widget.extend({},this.options[t]),s=0;s<n.length-1;s++)r[n[s]]=r[n[s]]||{},r=r[n[s]];if(t=n.pop(),1===arguments.length)return void 0===r[t]?null:r[t];r[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=i}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,n,r;for(i in t)r=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&r&&r.length&&(n=e(r.get()),this._removeClass(r,i),n.addClass(this._classes({element:n,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var i=[],n=this;function r(){var i=[];t.element.each((function(t,r){e.map(n.classesElementLookup,(function(e){return e})).some((function(e){return e.is(r)}))||i.push(r)})),n._on(e(i),{remove:"_untrackClassesElement"})}function s(s,o){var a,l;for(l=0;l<s.length;l++)a=n.classesElementLookup[s[l]]||e(),t.add?(r(),a=e(e.uniqueSort(a.get().concat(t.element.get())))):a=e(a.not(t.element).get()),n.classesElementLookup[s[l]]=a,i.push(s[l]),o&&t.classes[s[l]]&&i.push(t.classes[s[l]])}return(t=e.extend({element:this.element,classes:this.options.classes||{}},t)).keys&&s(t.keys.match(/\S+/g)||[],!0),t.extra&&s(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,(function(n,r){-1!==e.inArray(t.target,r)&&(i.classesElementLookup[n]=e(r.not(t.target).get()))})),this._off(e(t.target))},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){n="boolean"==typeof n?n:i;var r="string"==typeof e||null===e,s={extra:r?t:i,keys:r?e:t,element:r?this.element:e,add:n};return s.element.toggleClass(this._classes(s),n),this},_on:function(t,i,n){var r,s=this;"boolean"!=typeof t&&(n=i,i=t,t=!1),n?(i=r=e(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,r=this.widget()),e.each(n,(function(n,o){function a(){if(t||!0!==s.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof o?s[o]:o).apply(s,arguments)}"string"!=typeof o&&(a.guid=o.guid=o.guid||a.guid||e.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+s.eventNamespace,d=l[2];d?r.on(u,d,a):i.on(u,a)}))},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var i=this;return setTimeout((function(){return("string"==typeof e?i[e]:e).apply(i,arguments)}),t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,n){var r,s,o=this.options[t];if(n=n||{},(i=e.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],s=i.originalEvent)for(r in s)r in i||(i[r]=s[r]);return this.element.trigger(i,n),!("function"==typeof o&&!1===o.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,i){e.Widget.prototype["_"+t]=function(n,r,s){var o;"string"==typeof r&&(r={effect:r});var a=r?!0===r||"number"==typeof r?i:r.effect||i:t;"number"==typeof(r=r||{})?r={duration:r}:!0===r&&(r={}),o=!e.isEmptyObject(r),r.complete=s,r.delay&&n.delay(r.delay),o&&e.effects&&e.effects.effect[a]?n[t](r):a!==t&&n[a]?n[a](r.duration,r.easing,s):n.queue((function(i){e(this)[t](),s&&s.call(n[0]),i()}))}})),e.widget},void 0===(s=n.apply(t,r))||(e.exports=s)}()},8821:(e,t,i)=>{var n,r,s;!function(o){"use strict";r=[i(4651),i(8952),i(2340),i(8934)],void 0===(s="function"==typeof(n=function(e){var t=!1;return e(document).on("mouseup",(function(){t=!1})),e.widget("ui.mouse",{version:"1.13.3",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(i){if(!0===e.data(i.target,t.widgetName+".preventClickEvent"))return e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var n=this,r=1===i.which,s=!("string"!=typeof this.options.cancel||!i.target.nodeName)&&e(i.target).closest(this.options.cancel).length;return!(r&&!s&&this._mouseCapture(i)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){n.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=!1!==this._mouseStart(i),!this._mouseStarted)?(i.preventDefault(),0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return n._mouseMove(e)},this._mouseUpDelegate=function(e){return n._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,0)))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&e.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,i.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?n.apply(t,r):n)||(e.exports=s)}()},1449:(e,t,i)=>{var n,r,s;!function(o){"use strict";r=[i(4651),i(8821),i(5074),i(2340),i(8934)],n=function(e){return e.widget("ui.slider",e.ui.mouse,{version:"1.13.3",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,i,n=this.options,r=this.element.find(".ui-slider-handle"),s=[];for(i=n.values&&n.values.length||1,r.length>i&&(r.slice(i).remove(),r=r.slice(0,i)),t=r.length;t<i;t++)s.push("<span tabindex='0'></span>");this.handles=r.add(e(s.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each((function(t){e(this).data("ui-slider-handle-index",t).attr("tabIndex",0)}))},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:Array.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=e("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==t.range&&"max"!==t.range||this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var i,n,r,s,o,a,l,u=this,d=this.options;return!d.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:t.pageX,y:t.pageY},n=this._normValueFromMouse(i),r=this._valueMax()-this._valueMin()+1,this.handles.each((function(t){var i=Math.abs(n-u.values(t));(r>i||r===i&&(t===u._lastChangedValue||u.values(t)===d.min))&&(r=i,s=e(this),o=t)})),!1!==this._start(t,o)&&(this._mouseSliding=!0,this._handleIndex=o,this._addClass(s,null,"ui-state-active"),s.trigger("focus"),a=s.offset(),l=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,n),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,i,n,r,s;return"horizontal"===this.orientation?(t=this.elementSize.width,i=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,i=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(n=i/t)>1&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),r=this._valueMax()-this._valueMin(),s=this._valueMin()+n*r,this._trimAlignValue(s)},_uiHash:function(e,t,i){var n={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==t?t:this.values(e),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,i){var n,r=this.value(),s=this.values();this._hasMultipleValues()&&(n=this.values(t?0:1),r=this.values(t),2===this.options.values.length&&!0===this.options.range&&(i=0===t?Math.min(n,i):Math.max(n,i)),s[t]=i),i!==r&&!1!==this._trigger("slide",e,this._uiHash(t,i,s))&&(this._hasMultipleValues()?this.values(t,i):this.value(i))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var i,n,r;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!Array.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(i=this.options.values,n=arguments[0],r=0;r<i.length;r+=1)i[r]=this._trimAlignValue(n[r]),this._change(null,r);this._refreshValue()},_setOption:function(e,t){var i,n=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(n=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=n-1;i>=0;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,i,n;if(arguments.length)return t=this.options.values[e],this._trimAlignValue(t);if(this._hasMultipleValues()){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,i=(e-this._valueMin())%t,n=e-i;return 2*Math.abs(i)>=t&&(n+=i>0?t:-t),parseFloat(n.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step;(e=Math.round((e-t)/i)*i+t)>this.options.max&&(e-=i),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),i=t.indexOf(".");return-1===i?0:t.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,i,n,r,s,o=this.options.range,a=this.options,l=this,u=!this._animateOff&&a.animate,d={};this._hasMultipleValues()?this.handles.each((function(n){i=(l.values(n)-l._valueMin())/(l._valueMax()-l._valueMin())*100,d["horizontal"===l.orientation?"left":"bottom"]=i+"%",e(this).stop(1,1)[u?"animate":"css"](d,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===n&&l.range.stop(1,1)[u?"animate":"css"]({left:i+"%"},a.animate),1===n&&l.range[u?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:a.animate})):(0===n&&l.range.stop(1,1)[u?"animate":"css"]({bottom:i+"%"},a.animate),1===n&&l.range[u?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:a.animate}))),t=i})):(n=this.value(),r=this._valueMin(),s=this._valueMax(),i=s!==r?(n-r)/(s-r)*100:0,d["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[u?"animate":"css"](d,a.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({width:i+"%"},a.animate),"max"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({width:100-i+"%"},a.animate),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({height:i+"%"},a.animate),"max"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({height:100-i+"%"},a.animate))},_handleEvents:{keydown:function(t){var i,n,r,s=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(e(t.target),null,"ui-state-active"),!1===this._start(t,s)))return}switch(r=this.options.step,i=n=this._hasMultipleValues()?this.values(s):this.value(),t.keyCode){case e.ui.keyCode.HOME:n=this._valueMin();break;case e.ui.keyCode.END:n=this._valueMax();break;case e.ui.keyCode.PAGE_UP:n=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(i===this._valueMax())return;n=this._trimAlignValue(i+r);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(i===this._valueMin())return;n=this._trimAlignValue(i-r)}this._slide(t,s,n)},keyup:function(t){var i=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,i),this._removeClass(e(t.target),null,"ui-state-active"))}}})},void 0===(s=n.apply(t,r))||(e.exports=s)}()},4651:function(e,t){var i;!function(t,i){"use strict";"object"==typeof e.exports?e.exports=t.document?i(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(t)}("undefined"!=typeof window?window:this,(function(n,r){"use strict";var s=[],o=Object.getPrototypeOf,a=s.slice,l=s.flat?function(e){return s.flat.call(e)}:function(e){return s.concat.apply([],e)},u=s.push,d=s.indexOf,c={},h=c.toString,p=c.hasOwnProperty,f=p.toString,m=f.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},_=function(e){return null!=e&&e===e.window},y=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,i){var n,r,s=(i=i||y).createElement("script");if(s.text=e,t)for(n in b)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&s.setAttribute(n,r);i.head.appendChild(s).parentNode.removeChild(s)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[h.call(e)]||"object":typeof e}var M="3.7.1",C=/HTML$/i,S=function(e,t){return new S.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,i=w(e);return!v(e)&&!_(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}S.fn=S.prototype={jquery:M,constructor:S,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,i){return e.call(t,i,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:s.sort,splice:s.splice},S.extend=S.fn.extend=function(){var e,t,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||v(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(u&&n&&(S.isPlainObject(n)||(r=Array.isArray(n)))?(i=o[t],s=r&&!Array.isArray(i)?[]:r||S.isPlainObject(i)?i:{},r=!1,o[t]=S.extend(u,s,n)):void 0!==n&&(o[t]=n));return o},S.extend({expando:"jQuery"+(M+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==h.call(e)||(t=o(e))&&("function"!=typeof(i=p.call(t,"constructor")&&t.constructor)||f.call(i)!==m))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){x(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(E(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,i="",n=0,r=e.nodeType;if(!r)for(;t=e[n++];)i+=S.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:i},makeArray:function(e,t){var i=t||[];return null!=e&&(E(Object(e))?S.merge(i,"string"==typeof e?[e]:e):u.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:d.call(t,e,i)},isXMLDoc:function(e){var t=e&&e.namespaceURI,i=e&&(e.ownerDocument||e).documentElement;return!C.test(t||i&&i.nodeName||"HTML")},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;n<i;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,i){for(var n=[],r=0,s=e.length,o=!i;r<s;r++)!t(e[r],r)!==o&&n.push(e[r]);return n},map:function(e,t,i){var n,r,s=0,o=[];if(E(e))for(n=e.length;s<n;s++)null!=(r=t(e[s],s,i))&&o.push(r);else for(s in e)null!=(r=t(e[s],s,i))&&o.push(r);return l(o)},guid:1,support:g}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=s[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){c["[object "+t+"]"]=t.toLowerCase()}));var T=s.pop,A=s.sort,L=s.splice,O="[\\x20\\t\\r\\n\\f]",I=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g");S.contains=function(e,t){var i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(e.contains?e.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))};var j=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function D(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}S.escapeSelector=function(e){return(e+"").replace(j,D)};var P=y,z=u;!function(){var e,t,i,r,o,l,u,c,h,f,m=z,v=S.expando,_=0,y=0,b=ee(),x=ee(),w=ee(),M=ee(),C=function(e,t){return e===t&&(o=!0),0},E="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="(?:\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",D="\\["+O+"*("+j+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+O+"*\\]",B=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+D+")*)|.*)\\)|)",N=new RegExp(O+"+","g"),R=new RegExp("^"+O+"*,"+O+"*"),W=new RegExp("^"+O+"*([>+~]|"+O+")"+O+"*"),H=new RegExp(O+"|>"),F=new RegExp(B),V=new RegExp("^"+j+"$"),q={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),bool:new RegExp("^(?:"+E+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\([^\\r\\n\\f])","g"),G=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},J=function(){le()},Q=he((function(e){return!0===e.disabled&&k(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(s=a.call(P.childNodes),P.childNodes),s[P.childNodes.length].nodeType}catch(e){m={apply:function(e,t){z.apply(e,a.call(t))},call:function(e){z.apply(e,a.call(arguments,1))}}}function Z(e,t,i,n){var r,s,o,a,u,d,p,f=t&&t.ownerDocument,_=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return i;if(!n&&(le(t),t=t||l,c)){if(11!==_&&(u=$.exec(e)))if(r=u[1]){if(9===_){if(!(o=t.getElementById(r)))return i;if(o.id===r)return m.call(i,o),i}else if(f&&(o=f.getElementById(r))&&Z.contains(t,o)&&o.id===r)return m.call(i,o),i}else{if(u[2])return m.apply(i,t.getElementsByTagName(e)),i;if((r=u[3])&&t.getElementsByClassName)return m.apply(i,t.getElementsByClassName(r)),i}if(!(M[e+" "]||h&&h.test(e))){if(p=e,f=t,1===_&&(H.test(e)||W.test(e))){for((f=X.test(e)&&ae(t.parentNode)||t)==t&&g.scope||((a=t.getAttribute("id"))?a=S.escapeSelector(a):t.setAttribute("id",a=v)),s=(d=de(e)).length;s--;)d[s]=(a?"#"+a:":scope")+" "+ce(d[s]);p=d.join(",")}try{return m.apply(i,f.querySelectorAll(p)),i}catch(t){M(e,!0)}finally{a===v&&t.removeAttribute("id")}}}return _e(e.replace(I,"$1"),t,i,n)}function ee(){var e=[];return function i(n,r){return e.push(n+" ")>t.cacheLength&&delete i[e.shift()],i[n+" "]=r}}function te(e){return e[v]=!0,e}function ie(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return k(t,"input")&&t.type===e}}function re(e){return function(t){return(k(t,"input")||k(t,"button"))&&t.type===e}}function se(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function oe(e){return te((function(t){return t=+t,te((function(i,n){for(var r,s=e([],i.length,t),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))}))}))}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var i,n=e?e.ownerDocument||e:P;return n!=l&&9===n.nodeType&&n.documentElement?(u=(l=n).documentElement,c=!S.isXMLDoc(l),f=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&P!=l&&(i=l.defaultView)&&i.top!==i&&i.addEventListener("unload",J),g.getById=ie((function(e){return u.appendChild(e).id=S.expando,!l.getElementsByName||!l.getElementsByName(S.expando).length})),g.disconnectedMatch=ie((function(e){return f.call(e,"*")})),g.scope=ie((function(){return l.querySelectorAll(":scope")})),g.cssHas=ie((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(Y,G);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&c){var i=t.getElementById(e);return i?[i]:[]}}):(t.filter.ID=function(e){var t=e.replace(Y,G);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&c){var i,n,r,s=t.getElementById(e);if(s){if((i=s.getAttributeNode("id"))&&i.value===e)return[s];for(r=t.getElementsByName(e),n=0;s=r[n++];)if((i=s.getAttributeNode("id"))&&i.value===e)return[s]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&c)return t.getElementsByClassName(e)},h=[],ie((function(e){var t;u.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+O+"*(?:value|"+E+")"),e.querySelectorAll("[id~="+v+"-]").length||h.push("~="),e.querySelectorAll("a#"+v+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+O+"*name"+O+"*="+O+"*(?:''|\"\")")})),g.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),C=function(e,t){if(e===t)return o=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===i?e===l||e.ownerDocument==P&&Z.contains(P,e)?-1:t===l||t.ownerDocument==P&&Z.contains(P,t)?1:r?d.call(r,e)-d.call(r,t):0:4&i?-1:1)},l):l}for(e in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(le(e),c&&!M[t+" "]&&(!h||!h.test(t)))try{var i=f.call(e,t);if(i||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){M(t,!0)}return Z(t,l,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),S.contains(e,t)},Z.attr=function(e,i){(e.ownerDocument||e)!=l&&le(e);var n=t.attrHandle[i.toLowerCase()],r=n&&p.call(t.attrHandle,i.toLowerCase())?n(e,i,!c):void 0;return void 0!==r?r:e.getAttribute(i)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},S.uniqueSort=function(e){var t,i=[],n=0,s=0;if(o=!g.sortStable,r=!g.sortStable&&a.call(e,0),A.call(e,C),o){for(;t=e[s++];)t===e[s]&&(n=i.push(s));for(;n--;)L.call(e,i[n],1)}return r=null,e},S.fn.uniqueSort=function(){return this.pushStack(S.uniqueSort(a.apply(this)))},t=S.expr={cacheLength:50,createPseudo:te,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Y,G),e[3]=(e[3]||e[4]||e[5]||"").replace(Y,G),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&F.test(i)&&(t=de(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Y,G).toLowerCase();return"*"===e?function(){return!0}:function(e){return k(e,t)}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&b(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,i){return function(n){var r=Z.attr(n,e);return null==r?"!="===t:!t||(r+="","="===t?r===i:"!="===t?r!==i:"^="===t?i&&0===r.indexOf(i):"*="===t?i&&r.indexOf(i)>-1:"$="===t?i&&r.slice(-i.length)===i:"~="===t?(" "+r.replace(N," ")+" ").indexOf(i)>-1:"|="===t&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,n,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,i,l){var u,d,c,h,p,f=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(s){for(;f;){for(c=t;c=c[f];)if(a?k(c,g):1===c.nodeType)return!1;p=f="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?m.firstChild:m.lastChild],o&&y){for(b=(h=(u=(d=m[v]||(m[v]={}))[e]||[])[0]===_&&u[1])&&u[2],c=h&&m.childNodes[h];c=++h&&c&&c[f]||(b=h=0)||p.pop();)if(1===c.nodeType&&++b&&c===t){d[e]=[_,h,b];break}}else if(y&&(b=h=(u=(d=t[v]||(t[v]={}))[e]||[])[0]===_&&u[1]),!1===b)for(;(c=++h&&c&&c[f]||(b=h=0)||p.pop())&&(!(a?k(c,g):1===c.nodeType)||!++b||(y&&((d=c[v]||(c[v]={}))[e]=[_,b]),c!==t)););return(b-=r)===n||b%n==0&&b/n>=0}}},PSEUDO:function(e,i){var n,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return r[v]?r(i):r.length>1?(n=[e,e,"",i],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var n,s=r(e,i),o=s.length;o--;)e[n=d.call(e,s[o])]=!(t[n]=s[o])})):function(e){return r(e,0,n)}):r}},pseudos:{not:te((function(e){var t=[],i=[],n=ve(e.replace(I,"$1"));return n[v]?te((function(e,t,i,r){for(var s,o=n(e,null,r,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))})):function(e,r,s){return t[0]=e,n(t,null,s,i),t[0]=null,!i.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace(Y,G),function(t){return(t.textContent||S.text(t)).indexOf(e)>-1}})),lang:te((function(e){return V.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(Y,G).toLowerCase(),function(t){var i;do{if(i=c?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:se(!1),disabled:se(!0),checked:function(e){return k(e,"input")&&!!e.checked||k(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return U.test(e.nodeName)},button:function(e){return k(e,"input")&&"button"===e.type||k(e,"button")},text:function(e){var t;return k(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:oe((function(){return[0]})),last:oe((function(e,t){return[t-1]})),eq:oe((function(e,t,i){return[i<0?i+t:i]})),even:oe((function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e})),odd:oe((function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e})),lt:oe((function(e,t,i){var n;for(n=i<0?i+t:i>t?t:i;--n>=0;)e.push(n);return e})),gt:oe((function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ne(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=re(e);function ue(){}function de(e,i){var n,r,s,o,a,l,u,d=x[e+" "];if(d)return i?0:d.slice(0);for(a=e,l=[],u=t.preFilter;a;){for(o in n&&!(r=R.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=W.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(I," ")}),a=a.slice(n.length)),t.filter)!(r=q[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return i?a.length:a?Z.error(e):x(e,l).slice(0)}function ce(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function he(e,t,i){var n=t.dir,r=t.next,s=r||n,o=i&&"parentNode"===s,a=y++;return t.first?function(t,i,r){for(;t=t[n];)if(1===t.nodeType||o)return e(t,i,r);return!1}:function(t,i,l){var u,d,c=[_,a];if(l){for(;t=t[n];)if((1===t.nodeType||o)&&e(t,i,l))return!0}else for(;t=t[n];)if(1===t.nodeType||o)if(d=t[v]||(t[v]={}),r&&k(t,r))t=t[n]||t;else{if((u=d[s])&&u[0]===_&&u[1]===a)return c[2]=u[2];if(d[s]=c,c[2]=e(t,i,l))return!0}return!1}}function pe(e){return e.length>1?function(t,i,n){for(var r=e.length;r--;)if(!e[r](t,i,n))return!1;return!0}:e[0]}function fe(e,t,i,n,r){for(var s,o=[],a=0,l=e.length,u=null!=t;a<l;a++)(s=e[a])&&(i&&!i(s,n,r)||(o.push(s),u&&t.push(a)));return o}function me(e,t,i,n,r,s){return n&&!n[v]&&(n=me(n)),r&&!r[v]&&(r=me(r,s)),te((function(s,o,a,l){var u,c,h,p,f=[],g=[],v=o.length,_=s||function(e,t,i){for(var n=0,r=t.length;n<r;n++)Z(e,t[n],i);return i}(t||"*",a.nodeType?[a]:a,[]),y=!e||!s&&t?_:fe(_,f,e,a,l);if(i?i(y,p=r||(s?e:v||n)?[]:o,a,l):p=y,n)for(u=fe(p,g),n(u,[],a,l),c=u.length;c--;)(h=u[c])&&(p[g[c]]=!(y[g[c]]=h));if(s){if(r||e){if(r){for(u=[],c=p.length;c--;)(h=p[c])&&u.push(y[c]=h);r(null,p=[],u,l)}for(c=p.length;c--;)(h=p[c])&&(u=r?d.call(s,h):f[c])>-1&&(s[u]=!(o[u]=h))}}else p=fe(p===o?p.splice(v,p.length):p),r?r(null,o,p,l):m.apply(o,p)}))}function ge(e){for(var n,r,s,o=e.length,a=t.relative[e[0].type],l=a||t.relative[" "],u=a?1:0,c=he((function(e){return e===n}),l,!0),h=he((function(e){return d.call(n,e)>-1}),l,!0),p=[function(e,t,r){var s=!a&&(r||t!=i)||((n=t).nodeType?c(e,t,r):h(e,t,r));return n=null,s}];u<o;u++)if(r=t.relative[e[u].type])p=[he(pe(p),r)];else{if((r=t.filter[e[u].type].apply(null,e[u].matches))[v]){for(s=++u;s<o&&!t.relative[e[s].type];s++);return me(u>1&&pe(p),u>1&&ce(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(I,"$1"),r,u<s&&ge(e.slice(u,s)),s<o&&ge(e=e.slice(s)),s<o&&ce(e))}p.push(r)}return pe(p)}function ve(e,n){var r,s=[],o=[],a=w[e+" "];if(!a){for(n||(n=de(e)),r=n.length;r--;)(a=ge(n[r]))[v]?s.push(a):o.push(a);a=w(e,function(e,n){var r=n.length>0,s=e.length>0,o=function(o,a,u,d,h){var p,f,g,v=0,y="0",b=o&&[],x=[],w=i,M=o||s&&t.find.TAG("*",h),C=_+=null==w?1:Math.random()||.1,E=M.length;for(h&&(i=a==l||a||h);y!==E&&null!=(p=M[y]);y++){if(s&&p){for(f=0,a||p.ownerDocument==l||(le(p),u=!c);g=e[f++];)if(g(p,a||l,u)){m.call(d,p);break}h&&(_=C)}r&&((p=!g&&p)&&v--,o&&b.push(p))}if(v+=y,r&&y!==v){for(f=0;g=n[f++];)g(b,x,a,u);if(o){if(v>0)for(;y--;)b[y]||x[y]||(x[y]=T.call(d));x=fe(x)}m.apply(d,x),h&&!o&&x.length>0&&v+n.length>1&&S.uniqueSort(d)}return h&&(_=C,i=w),b};return r?te(o):o}(o,s)),a.selector=e}return a}function _e(e,i,n,r){var s,o,a,l,u,d="function"==typeof e&&e,h=!r&&de(e=d.selector||e);if(n=n||[],1===h.length){if((o=h[0]=h[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===i.nodeType&&c&&t.relative[o[1].type]){if(!(i=(t.find.ID(a.matches[0].replace(Y,G),i)||[])[0]))return n;d&&(i=i.parentNode),e=e.slice(o.shift().value.length)}for(s=q.needsContext.test(e)?0:o.length;s--&&(a=o[s],!t.relative[l=a.type]);)if((u=t.find[l])&&(r=u(a.matches[0].replace(Y,G),X.test(o[0].type)&&ae(i.parentNode)||i))){if(o.splice(s,1),!(e=r.length&&ce(o)))return m.apply(n,r),n;break}}return(d||ve(e,h))(r,i,!c,n,!i||X.test(e)&&ae(i.parentNode)||i),n}ue.prototype=t.filters=t.pseudos,t.setFilters=new ue,g.sortStable=v.split("").sort(C).join("")===v,le(),g.sortDetached=ie((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),S.find=Z,S.expr[":"]=S.expr.pseudos,S.unique=S.uniqueSort,Z.compile=ve,Z.select=_e,Z.setDocument=le,Z.tokenize=de,Z.escape=S.escapeSelector,Z.getText=S.text,Z.isXML=S.isXMLDoc,Z.selectors=S.expr,Z.support=S.support,Z.uniqueSort=S.uniqueSort}();var B=function(e,t,i){for(var n=[],r=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&S(e).is(i))break;n.push(e)}return n},N=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},R=S.expr.match.needsContext,W=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(e,t,i){return v(t)?S.grep(e,(function(e,n){return!!t.call(e,n,e)!==i})):t.nodeType?S.grep(e,(function(e){return e===t!==i})):"string"!=typeof t?S.grep(e,(function(e){return d.call(t,e)>-1!==i})):S.filter(t,e,i)}S.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?S.find.matchesSelector(n,e)?[n]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,i,n=this.length,r=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<n;t++)if(S.contains(r[t],this))return!0})));for(i=this.pushStack([]),t=0;t<n;t++)S.find(e,r[t],i);return n>1?S.uniqueSort(i):i},filter:function(e){return this.pushStack(H(this,e||[],!1))},not:function(e){return this.pushStack(H(this,e||[],!0))},is:function(e){return!!H(this,"string"==typeof e&&R.test(e)?S(e):e||[],!1).length}});var F,V=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,i){var n,r;if(!e)return this;if(i=i||F,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:V.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),W.test(n[1])&&S.isPlainObject(t))for(n in t)v(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=y.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==i.ready?i.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,F=S(y);var q=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function K(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),i=t.length;return this.filter((function(){for(var e=0;e<i;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var i,n=0,r=this.length,s=[],o="string"!=typeof e&&S(e);if(!R.test(e))for(;n<r;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&S.find.matchesSelector(i,e))){s.push(i);break}return this.pushStack(s.length>1?S.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?d.call(S(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return B(e,"parentNode")},parentsUntil:function(e,t,i){return B(e,"parentNode",i)},next:function(e){return K(e,"nextSibling")},prev:function(e){return K(e,"previousSibling")},nextAll:function(e){return B(e,"nextSibling")},prevAll:function(e){return B(e,"previousSibling")},nextUntil:function(e,t,i){return B(e,"nextSibling",i)},prevUntil:function(e,t,i){return B(e,"previousSibling",i)},siblings:function(e){return N((e.parentNode||{}).firstChild,e)},children:function(e){return N(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(i,n){var r=S.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=S.filter(n,r)),this.length>1&&(U[e]||S.uniqueSort(r),q.test(e)&&r.reverse()),this.pushStack(r)}}));var $=/[^\x20\t\r\n\f]+/g;function X(e){return e}function Y(e){throw e}function G(e,t,i,n){var r;try{e&&v(r=e.promise)?r.call(e).done(t).fail(i):e&&v(r=e.then)?r.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match($)||[],(function(e,i){t[i]=!0})),t}(e):S.extend({},e);var t,i,n,r,s=[],o=[],a=-1,l=function(){for(r=r||e.once,n=t=!0;o.length;a=-1)for(i=o.shift();++a<s.length;)!1===s[a].apply(i[0],i[1])&&e.stopOnFalse&&(a=s.length,i=!1);e.memory||(i=!1),t=!1,r&&(s=i?[]:"")},u={add:function(){return s&&(i&&!t&&(a=s.length-1,o.push(i)),function t(i){S.each(i,(function(i,n){v(n)?e.unique&&u.has(n)||s.push(n):n&&n.length&&"string"!==w(n)&&t(n)}))}(arguments),i&&!t&&l()),this},remove:function(){return S.each(arguments,(function(e,t){for(var i;(i=S.inArray(t,s,i))>-1;)s.splice(i,1),i<=a&&a--})),this},has:function(e){return e?S.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=i="",this},disabled:function(){return!s},lock:function(){return r=o=[],i||t||(s=i=""),this},locked:function(){return!!r},fireWith:function(e,i){return r||(i=[e,(i=i||[]).slice?i.slice():i],o.push(i),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(i){S.each(t,(function(t,n){var r=v(e[n[4]])&&e[n[4]];s[n[1]]((function(){var e=r&&r.apply(this,arguments);e&&v(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,i,r){var s=0;function o(e,t,i,r){return function(){var a=this,l=arguments,u=function(){var n,u;if(!(e<s)){if((n=i.apply(a,l))===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(u)?r?u.call(n,o(s,t,X,r),o(s,t,Y,r)):(s++,u.call(n,o(s,t,X,r),o(s,t,Y,r),o(s,t,X,t.notifyWith))):(i!==X&&(a=void 0,l=[n]),(r||t.resolveWith)(a,l))}},d=r?u:function(){try{u()}catch(n){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(n,d.error),e+1>=s&&(i!==Y&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?d():(S.Deferred.getErrorHook?d.error=S.Deferred.getErrorHook():S.Deferred.getStackHook&&(d.error=S.Deferred.getStackHook()),n.setTimeout(d))}}return S.Deferred((function(n){t[0][3].add(o(0,n,v(r)?r:X,n.notifyWith)),t[1][3].add(o(0,n,v(e)?e:X)),t[2][3].add(o(0,n,v(i)?i:Y))})).promise()},promise:function(e){return null!=e?S.extend(e,r):r}},s={};return S.each(t,(function(e,n){var o=n[2],a=n[5];r[n[1]]=o.add,a&&o.add((function(){i=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),s[n[0]]=function(){return s[n[0]+"With"](this===s?void 0:this,arguments),this},s[n[0]+"With"]=o.fireWith})),r.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,i=t,n=Array(i),r=a.call(arguments),s=S.Deferred(),o=function(e){return function(i){n[e]=this,r[e]=arguments.length>1?a.call(arguments):i,--t||s.resolveWith(n,r)}};if(t<=1&&(G(e,s.done(o(i)).resolve,s.reject,!t),"pending"===s.state()||v(r[i]&&r[i].then)))return s.then();for(;i--;)G(r[i],o(i),s.reject);return s.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&J.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){n.setTimeout((function(){throw e}))};var Q=S.Deferred();function Z(){y.removeEventListener("DOMContentLoaded",Z),n.removeEventListener("load",Z),S.ready()}S.fn.ready=function(e){return Q.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||Q.resolveWith(y,[S]))}}),S.ready.then=Q.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(S.ready):(y.addEventListener("DOMContentLoaded",Z),n.addEventListener("load",Z));var ee=function(e,t,i,n,r,s,o){var a=0,l=e.length,u=null==i;if("object"===w(i))for(a in r=!0,i)ee(e,t,a,i[a],!0,s,o);else if(void 0!==n&&(r=!0,v(n)||(o=!0),u&&(o?(t.call(e,n),t=null):(u=t,t=function(e,t,i){return u.call(S(e),i)})),t))for(;a<l;a++)t(e[a],i,o?n:n.call(e[a],a,t(e[a],i)));return r?e:u?t.call(e):l?t(e[0],i):s},te=/^-ms-/,ie=/-([a-z])/g;function ne(e,t){return t.toUpperCase()}function re(e){return e.replace(te,"ms-").replace(ie,ne)}var se=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function oe(){this.expando=S.expando+oe.uid++}oe.uid=1,oe.prototype={cache:function(e){var t=e[this.expando];return t||(t={},se(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,r=this.cache(e);if("string"==typeof t)r[re(t)]=i;else for(n in t)r[re(n)]=t[n];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][re(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(re):(t=re(t))in n?[t]:t.match($)||[]).length;for(;i--;)delete n[t[i]]}(void 0===t||S.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var ae=new oe,le=new oe,ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,de=/[A-Z]/g;function ce(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(de,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ue.test(e)?JSON.parse(e):e)}(i)}catch(e){}le.set(e,t,i)}else i=void 0;return i}S.extend({hasData:function(e){return le.hasData(e)||ae.hasData(e)},data:function(e,t,i){return le.access(e,t,i)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,i){return ae.access(e,t,i)},_removeData:function(e,t){ae.remove(e,t)}}),S.fn.extend({data:function(e,t){var i,n,r,s=this[0],o=s&&s.attributes;if(void 0===e){if(this.length&&(r=le.get(s),1===s.nodeType&&!ae.get(s,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&0===(n=o[i].name).indexOf("data-")&&(n=re(n.slice(5)),ce(s,n,r[n]));ae.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var i;if(s&&void 0===t)return void 0!==(i=le.get(s,e))||void 0!==(i=ce(s,e))?i:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),S.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=ae.get(e,t),i&&(!n||Array.isArray(i)?n=ae.access(e,t,S.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=S.queue(e,t),n=i.length,r=i.shift(),s=S._queueHooks(e,t);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete s.stop,r.call(e,(function(){S.dequeue(e,t)}),s)),!n&&s&&s.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return ae.get(e,i)||ae.access(e,i,{empty:S.Callbacks("once memory").add((function(){ae.remove(e,[t+"queue",i])}))})}}),S.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?S.queue(this[0],e):void 0===t?this:this.each((function(){var i=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,r=S.Deferred(),s=this,o=this.length,a=function(){--n||r.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(i=ae.get(s[o],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(t)}});var he=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+he+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=y.documentElement,ge=function(e){return S.contains(e.ownerDocument,e)},ve={composed:!0};me.getRootNode&&(ge=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument});var _e=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===S.css(e,"display")};function ye(e,t,i,n){var r,s,o=20,a=n?function(){return n.cur()}:function(){return S.css(e,t,"")},l=a(),u=i&&i[3]||(S.cssNumber[t]?"":"px"),d=e.nodeType&&(S.cssNumber[t]||"px"!==u&&+l)&&pe.exec(S.css(e,t));if(d&&d[3]!==u){for(l/=2,u=u||d[3],d=+l||1;o--;)S.style(e,t,d+u),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),d/=s;d*=2,S.style(e,t,d+u),i=i||[]}return i&&(d=+d||+l||0,r=i[1]?d+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=d,n.end=r)),r}var be={};function xe(e){var t,i=e.ownerDocument,n=e.nodeName,r=be[n];return r||(t=i.body.appendChild(i.createElement(n)),r=S.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),be[n]=r,r)}function we(e,t){for(var i,n,r=[],s=0,o=e.length;s<o;s++)(n=e[s]).style&&(i=n.style.display,t?("none"===i&&(r[s]=ae.get(n,"display")||null,r[s]||(n.style.display="")),""===n.style.display&&_e(n)&&(r[s]=xe(n))):"none"!==i&&(r[s]="none",ae.set(n,"display",i)));for(s=0;s<o;s++)null!=r[s]&&(e[s].style.display=r[s]);return e}S.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){_e(this)?S(this).show():S(this).hide()}))}});var Me,Ce,Se=/^(?:checkbox|radio)$/i,Ee=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ke=/^$|^module$|\/(?:java|ecma)script/i;Me=y.createDocumentFragment().appendChild(y.createElement("div")),(Ce=y.createElement("input")).setAttribute("type","radio"),Ce.setAttribute("checked","checked"),Ce.setAttribute("name","t"),Me.appendChild(Ce),g.checkClone=Me.cloneNode(!0).cloneNode(!0).lastChild.checked,Me.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Me.cloneNode(!0).lastChild.defaultValue,Me.innerHTML="<option></option>",g.option=!!Me.lastChild;var Te={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ae(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?S.merge([e],i):i}function Le(e,t){for(var i=0,n=e.length;i<n;i++)ae.set(e[i],"globalEval",!t||ae.get(t[i],"globalEval"))}Te.tbody=Te.tfoot=Te.colgroup=Te.caption=Te.thead,Te.th=Te.td,g.option||(Te.optgroup=Te.option=[1,"<select multiple='multiple'>","</select>"]);var Oe=/<|&#?\w+;/;function Ie(e,t,i,n,r){for(var s,o,a,l,u,d,c=t.createDocumentFragment(),h=[],p=0,f=e.length;p<f;p++)if((s=e[p])||0===s)if("object"===w(s))S.merge(h,s.nodeType?[s]:s);else if(Oe.test(s)){for(o=o||c.appendChild(t.createElement("div")),a=(Ee.exec(s)||["",""])[1].toLowerCase(),l=Te[a]||Te._default,o.innerHTML=l[1]+S.htmlPrefilter(s)+l[2],d=l[0];d--;)o=o.lastChild;S.merge(h,o.childNodes),(o=c.firstChild).textContent=""}else h.push(t.createTextNode(s));for(c.textContent="",p=0;s=h[p++];)if(n&&S.inArray(s,n)>-1)r&&r.push(s);else if(u=ge(s),o=Ae(c.appendChild(s),"script"),u&&Le(o),i)for(d=0;s=o[d++];)ke.test(s.type||"")&&i.push(s);return c}var je=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Pe(){return!1}function ze(e,t,i,n,r,s){var o,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)ze(e,a,i,n,t[a],s);return e}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=Pe;else if(!r)return e;return 1===s&&(o=r,r=function(e){return S().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=S.guid++)),e.each((function(){S.event.add(this,t,r,n,i)}))}function Be(e,t,i){i?(ae.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var i,n=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=a.call(arguments),ae.set(this,t,n),this[t](),i=ae.get(this,t),ae.set(this,t,!1),n!==i)return e.stopImmediatePropagation(),e.preventDefault(),i}else n&&(ae.set(this,t,S.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=De)}})):void 0===ae.get(e,t)&&S.event.add(e,t,De)}S.event={global:{},add:function(e,t,i,n,r){var s,o,a,l,u,d,c,h,p,f,m,g=ae.get(e);if(se(e))for(i.handler&&(i=(s=i).handler,r=s.selector),r&&S.find.matchesSelector(me,r),i.guid||(i.guid=S.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match($)||[""]).length;u--;)p=m=(a=je.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),p&&(c=S.event.special[p]||{},p=(r?c.delegateType:c.bindType)||p,c=S.event.special[p]||{},d=S.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:f.join(".")},s),(h=l[p])||((h=l[p]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,n,f,o)||e.addEventListener&&e.addEventListener(p,o)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=i.guid)),r?h.splice(h.delegateCount++,0,d):h.push(d),S.event.global[p]=!0)},remove:function(e,t,i,n,r){var s,o,a,l,u,d,c,h,p,f,m,g=ae.hasData(e)&&ae.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match($)||[""]).length;u--;)if(p=m=(a=je.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),p){for(c=S.event.special[p]||{},h=l[p=(n?c.delegateType:c.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=h.length;s--;)d=h[s],!r&&m!==d.origType||i&&i.guid!==d.guid||a&&!a.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(h.splice(s,1),d.selector&&h.delegateCount--,c.remove&&c.remove.call(e,d));o&&!h.length&&(c.teardown&&!1!==c.teardown.call(e,f,g.handle)||S.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)S.event.remove(e,p+t[u],i,n,!0);S.isEmptyObject(l)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,i,n,r,s,o,a=new Array(arguments.length),l=S.event.fix(e),u=(ae.get(this,"events")||Object.create(null))[l.type]||[],d=S.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(o=S.event.handlers.call(this,l,u),t=0;(r=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,i=0;(s=r.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(n=((S.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(e,t){var i,n,r,s,o,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(s=[],o={},i=0;i<l;i++)void 0===o[r=(n=t[i]).selector+" "]&&(o[r]=n.needsContext?S(r,this).index(u)>-1:S.find(r,this,null,[u]).length),o[r]&&s.push(n);s.length&&a.push({elem:u,handlers:s})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Se.test(t.type)&&t.click&&k(t,"input")&&Be(t,"click",!0),!1},trigger:function(e){var t=this||e;return Se.test(t.type)&&t.click&&k(t,"input")&&Be(t,"click"),!0},_default:function(e){var t=e.target;return Se.test(t.type)&&t.click&&k(t,"input")&&ae.get(t,"click")||k(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?De:Pe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Pe,isPropagationStopped:Pe,isImmediatePropagationStopped:Pe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(e,t){function i(e){if(y.documentMode){var i=ae.get(this,"handle"),n=S.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,i(e),n.target===n.currentTarget&&i(n)}else S.event.simulate(t,e.target,S.event.fix(e))}S.event.special[e]={setup:function(){var n;if(Be(this,e,!0),!y.documentMode)return!1;(n=ae.get(this,t))||this.addEventListener(t,i),ae.set(this,t,(n||0)+1)},trigger:function(){return Be(this,e),!0},teardown:function(){var e;if(!y.documentMode)return!1;(e=ae.get(this,t)-1)?ae.set(this,t,e):(this.removeEventListener(t,i),ae.remove(this,t))},_default:function(t){return ae.get(t.target,e)},delegateType:t},S.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,r=y.documentMode?this:n,s=ae.get(r,t);s||(y.documentMode?this.addEventListener(t,i):n.addEventListener(e,i,!0)),ae.set(r,t,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=y.documentMode?this:n,s=ae.get(r,t)-1;s?ae.set(r,t,s):(y.documentMode?this.removeEventListener(t,i):n.removeEventListener(e,i,!0),ae.remove(r,t))}}})),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,i=r.handler.apply(this,arguments),e.type=t),i}}})),S.fn.extend({on:function(e,t,i,n){return ze(this,e,t,i,n)},one:function(e,t,i,n){return ze(this,e,t,i,n,1)},off:function(e,t,i){var n,r;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,S(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=Pe),this.each((function(){S.event.remove(this,e,i,t)}))}});var Ne=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,We=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function He(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ve(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qe(e,t){var i,n,r,s,o,a;if(1===t.nodeType){if(ae.hasData(e)&&(a=ae.get(e).events))for(r in ae.remove(t,"handle events"),a)for(i=0,n=a[r].length;i<n;i++)S.event.add(t,r,a[r][i]);le.hasData(e)&&(s=le.access(e),o=S.extend({},s),le.set(t,o))}}function Ue(e,t){var i=t.nodeName.toLowerCase();"input"===i&&Se.test(e.type)?t.checked=e.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=e.defaultValue)}function Ke(e,t,i,n){t=l(t);var r,s,o,a,u,d,c=0,h=e.length,p=h-1,f=t[0],m=v(f);if(m||h>1&&"string"==typeof f&&!g.checkClone&&Re.test(f))return e.each((function(r){var s=e.eq(r);m&&(t[0]=f.call(this,r,s.html())),Ke(s,t,i,n)}));if(h&&(s=(r=Ie(t,e[0].ownerDocument,!1,e,n)).firstChild,1===r.childNodes.length&&(r=s),s||n)){for(a=(o=S.map(Ae(r,"script"),Fe)).length;c<h;c++)u=r,c!==p&&(u=S.clone(u,!0,!0),a&&S.merge(o,Ae(u,"script"))),i.call(e[c],u,c);if(a)for(d=o[o.length-1].ownerDocument,S.map(o,Ve),c=0;c<a;c++)u=o[c],ke.test(u.type||"")&&!ae.access(u,"globalEval")&&S.contains(d,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},d):x(u.textContent.replace(We,""),u,d))}return e}function $e(e,t,i){for(var n,r=t?S.filter(t,e):e,s=0;null!=(n=r[s]);s++)i||1!==n.nodeType||S.cleanData(Ae(n)),n.parentNode&&(i&&ge(n)&&Le(Ae(n,"script")),n.parentNode.removeChild(n));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,r,s,o,a=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(o=Ae(a),n=0,r=(s=Ae(e)).length;n<r;n++)Ue(s[n],o[n]);if(t)if(i)for(s=s||Ae(e),o=o||Ae(a),n=0,r=s.length;n<r;n++)qe(s[n],o[n]);else qe(e,a);return(o=Ae(a,"script")).length>0&&Le(o,!l&&Ae(e,"script")),a},cleanData:function(e){for(var t,i,n,r=S.event.special,s=0;void 0!==(i=e[s]);s++)if(se(i)){if(t=i[ae.expando]){if(t.events)for(n in t.events)r[n]?S.event.remove(i,n):S.removeEvent(i,n,t.handle);i[ae.expando]=void 0}i[le.expando]&&(i[le.expando]=void 0)}}}),S.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ke(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||He(this,e).appendChild(e)}))},prepend:function(){return Ke(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=He(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ke(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ke(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!Te[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(S.cleanData(Ae(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ke(this,arguments,(function(t){var i=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(Ae(this)),i&&i.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var i,n=[],r=S(e),s=r.length-1,o=0;o<=s;o++)i=o===s?this:this.clone(!0),S(r[o])[t](i),u.apply(n,i.get());return this.pushStack(n)}}));var Xe=new RegExp("^("+he+")(?!px)[a-z%]+$","i"),Ye=/^--/,Ge=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Je=function(e,t,i){var n,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];for(r in n=i.call(e),t)e.style[r]=s[r];return n},Qe=new RegExp(fe.join("|"),"i");function Ze(e,t,i){var n,r,s,o,a=Ye.test(t),l=e.style;return(i=i||Ge(e))&&(o=i.getPropertyValue(t)||i[t],a&&o&&(o=o.replace(I,"$1")||void 0),""!==o||ge(e)||(o=S.style(e,t)),!g.pixelBoxStyles()&&Xe.test(o)&&Qe.test(t)&&(n=l.width,r=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=i.width,l.width=n,l.minWidth=r,l.maxWidth=s)),void 0!==o?o+"":o}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(d){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(u).appendChild(d);var e=n.getComputedStyle(d);i="1%"!==e.top,l=12===t(e.marginLeft),d.style.right="60%",o=36===t(e.right),r=36===t(e.width),d.style.position="absolute",s=12===t(d.offsetWidth/3),me.removeChild(u),d=null}}function t(e){return Math.round(parseFloat(e))}var i,r,s,o,a,l,u=y.createElement("div"),d=y.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===d.style.backgroundClip,S.extend(g,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,t,i,r;return null==a&&(e=y.createElement("table"),t=y.createElement("tr"),i=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",me.appendChild(e).appendChild(t).appendChild(i),r=n.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),a}}))}();var tt=["Webkit","Moz","ms"],it=y.createElement("div").style,nt={};function rt(e){return S.cssProps[e]||nt[e]||(e in it?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=tt.length;i--;)if((e=tt[i]+t)in it)return e}(e)||e)}var st=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function lt(e,t,i){var n=pe.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function ut(e,t,i,n,r,s){var o="width"===t?1:0,a=0,l=0,u=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(u+=S.css(e,i+fe[o],!0,r)),n?("content"===i&&(l-=S.css(e,"padding"+fe[o],!0,r)),"margin"!==i&&(l-=S.css(e,"border"+fe[o]+"Width",!0,r))):(l+=S.css(e,"padding"+fe[o],!0,r),"padding"!==i?l+=S.css(e,"border"+fe[o]+"Width",!0,r):a+=S.css(e,"border"+fe[o]+"Width",!0,r));return!n&&s>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l+u}function dt(e,t,i){var n=Ge(e),r=(!g.boxSizingReliable()||i)&&"border-box"===S.css(e,"boxSizing",!1,n),s=r,o=Ze(e,t,n),a="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(o)){if(!i)return o;o="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&k(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===S.css(e,"display",!1,n))&&e.getClientRects().length&&(r="border-box"===S.css(e,"boxSizing",!1,n),(s=a in e)&&(o=e[a])),(o=parseFloat(o)||0)+ut(e,t,i||(r?"border":"content"),s,n,o)+"px"}function ct(e,t,i,n,r){return new ct.prototype.init(e,t,i,n,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=Ze(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,a=re(t),l=Ye.test(t),u=e.style;if(l||(t=rt(a)),o=S.cssHooks[t]||S.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(r=o.get(e,!1,n))?r:u[t];"string"==(s=typeof i)&&(r=pe.exec(i))&&r[1]&&(i=ye(e,t,r),s="number"),null!=i&&i==i&&("number"!==s||l||(i+=r&&r[3]||(S.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==i||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(i=o.set(e,i,n))||(l?u.setProperty(t,i):u[t]=i))}},css:function(e,t,i,n){var r,s,o,a=re(t);return Ye.test(t)||(t=rt(a)),(o=S.cssHooks[t]||S.cssHooks[a])&&"get"in o&&(r=o.get(e,!0,i)),void 0===r&&(r=Ze(e,t,n)),"normal"===r&&t in at&&(r=at[t]),""===i||i?(s=parseFloat(r),!0===i||isFinite(s)?s||0:r):r}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,i,n){if(i)return!st.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?dt(e,t,n):Je(e,ot,(function(){return dt(e,t,n)}))},set:function(e,i,n){var r,s=Ge(e),o=!g.scrollboxSize()&&"absolute"===s.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,s),l=n?ut(e,t,n,a,s):0;return a&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-ut(e,t,"border",!1,s)-.5)),l&&(r=pe.exec(i))&&"px"!==(r[3]||"px")&&(e.style[t]=i,i=S.css(e,t)),lt(0,i,l)}}})),S.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ze(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];n<4;n++)r[e+fe[n]+t]=s[n]||s[n-2]||s[0];return r}},"margin"!==e&&(S.cssHooks[e+t].set=lt)})),S.fn.extend({css:function(e,t){return ee(this,(function(e,t,i){var n,r,s={},o=0;if(Array.isArray(t)){for(n=Ge(e),r=t.length;o<r;o++)s[t[o]]=S.css(e,t[o],!1,n);return s}return void 0!==i?S.style(e,t,i):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=ct,ct.prototype={constructor:ct,init:function(e,t,i,n,r,s){this.elem=e,this.prop=i,this.easing=r||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=s||(S.cssNumber[i]?"":"px")},cur:function(){var e=ct.propHooks[this.prop];return e&&e.get?e.get(this):ct.propHooks._default.get(this)},run:function(e){var t,i=ct.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ct.propHooks._default.set(this),this}},ct.prototype.init.prototype=ct.prototype,ct.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},ct.propHooks.scrollTop=ct.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=ct.prototype.init,S.fx.step={};var ht,pt,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(gt):n.setTimeout(gt,S.fx.interval),S.fx.tick())}function vt(){return n.setTimeout((function(){ht=void 0})),ht=Date.now()}function _t(e,t){var i,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(i=fe[n])]=r["padding"+i]=e;return t&&(r.opacity=r.width=e),r}function yt(e,t,i){for(var n,r=(bt.tweeners[t]||[]).concat(bt.tweeners["*"]),s=0,o=r.length;s<o;s++)if(n=r[s].call(i,t,e))return n}function bt(e,t,i){var n,r,s=0,o=bt.prefilters.length,a=S.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=ht||vt(),i=Math.max(0,u.startTime+u.duration-t),n=1-(i/u.duration||0),s=0,o=u.tweens.length;s<o;s++)u.tweens[s].run(n);return a.notifyWith(e,[u,n,i]),n<1&&o?i:(o||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},i),originalProperties:t,originalOptions:i,startTime:ht||vt(),duration:i.duration,tweens:[],createTween:function(t,i){var n=S.Tween(e,u.opts,t,i,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var i=0,n=t?u.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)u.tweens[i].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),d=u.props;for(function(e,t){var i,n,r,s,o;for(i in e)if(r=t[n=re(i)],s=e[i],Array.isArray(s)&&(r=s[1],s=e[i]=s[0]),i!==n&&(e[n]=s,delete e[i]),(o=S.cssHooks[n])&&"expand"in o)for(i in s=o.expand(s),delete e[n],s)i in e||(e[i]=s[i],t[i]=r);else t[n]=r}(d,u.opts.specialEasing);s<o;s++)if(n=bt.prefilters[s].call(u,e,d,u.opts))return v(n.stop)&&(S._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return S.map(d,yt,u),v(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),S.fx.timer(S.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}S.Animation=S.extend(bt,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return ye(i.elem,e,pe.exec(t),i),i}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match($);for(var i,n=0,r=e.length;n<r;n++)i=e[n],bt.tweeners[i]=bt.tweeners[i]||[],bt.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,r,s,o,a,l,u,d,c="width"in t||"height"in t,h=this,p={},f=e.style,m=e.nodeType&&_e(e),g=ae.get(e,"fxshow");for(n in i.queue||(null==(o=S._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,h.always((function(){h.always((function(){o.unqueued--,S.queue(e,"fx").length||o.empty.fire()}))}))),t)if(r=t[n],ft.test(r)){if(delete t[n],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[n])continue;m=!0}p[n]=g&&g[n]||S.style(e,n)}if((l=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(n in c&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=g&&g.display)&&(u=ae.get(e,"display")),"none"===(d=S.css(e,"display"))&&(u?d=u:(we([e],!0),u=e.style.display||u,d=S.css(e,"display"),we([e]))),("inline"===d||"inline-block"===d&&null!=u)&&"none"===S.css(e,"float")&&(l||(h.done((function(){f.display=u})),null==u&&(d=f.display,u="none"===d?"":d)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",h.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=ae.access(e,"fxshow",{display:u}),s&&(g.hidden=!m),m&&we([e],!0),h.done((function(){for(n in m||we([e]),ae.remove(e,"fxshow"),p)S.style(e,n,p[n])}))),l=yt(m?g[n]:0,n,h),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?bt.prefilters.unshift(e):bt.prefilters.push(e)}}),S.speed=function(e,t,i){var n=e&&"object"==typeof e?S.extend({},e):{complete:i||!i&&t||v(e)&&e,duration:e,easing:i&&t||t&&!v(t)&&t};return S.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in S.fx.speeds?n.duration=S.fx.speeds[n.duration]:n.duration=S.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){v(n.old)&&n.old.call(this),n.queue&&S.dequeue(this,n.queue)},n},S.fn.extend({fadeTo:function(e,t,i,n){return this.filter(_e).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var r=S.isEmptyObject(e),s=S.speed(t,i,n),o=function(){var t=bt(this,S.extend({},e),s);(r||ae.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",s=S.timers,o=ae.get(this);if(r)o[r]&&o[r].stop&&n(o[r]);else for(r in o)o[r]&&o[r].stop&&mt.test(r)&&n(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=e&&s[r].queue!==e||(s[r].anim.stop(i),t=!1,s.splice(r,1));!t&&i||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,i=ae.get(this),n=i[e+"queue"],r=i[e+"queueHooks"],s=S.timers,o=n?n.length:0;for(i.finish=!0,S.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var i=S.fn[t];S.fn[t]=function(e,n,r){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(_t(t,!0),e,n,r)}})),S.each({slideDown:_t("show"),slideUp:_t("hide"),slideToggle:_t("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}})),S.timers=[],S.fx.tick=function(){var e,t=0,i=S.timers;for(ht=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||S.fx.stop(),ht=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){pt||(pt=!0,gt())},S.fx.stop=function(){pt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,i){var r=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(r)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var xt,wt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return ee(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,i){var n,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?S.prop(e,t,i):(1===s&&S.isXMLDoc(e)||(r=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?xt:void 0)),void 0!==i?null===i?void S.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:(e.setAttribute(t,i+""),i):r&&"get"in r&&null!==(n=r.get(e,t))?n:null==(n=S.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&k(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,r=t&&t.match($);if(r&&1===e.nodeType)for(;i=r[n++];)e.removeAttribute(i)}}),xt={set:function(e,t,i){return!1===t?S.removeAttr(e,i):e.setAttribute(i,i),i}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var i=wt[t]||S.find.attr;wt[t]=function(e,t,n){var r,s,o=t.toLowerCase();return n||(s=wt[o],wt[o]=r,r=null!=i(e,t,n)?o:null,wt[o]=s),r}}));var Mt=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;function St(e){return(e.match($)||[]).join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match($)||[]}S.fn.extend({prop:function(e,t){return ee(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,i){var n,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&S.isXMLDoc(e)||(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:e[t]=i:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):Mt.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,i,n,r,s,o;return v(e)?this.each((function(t){S(this).addClass(e.call(this,t,Et(this)))})):(t=kt(e)).length?this.each((function(){if(n=Et(this),i=1===this.nodeType&&" "+St(n)+" "){for(s=0;s<t.length;s++)r=t[s],i.indexOf(" "+r+" ")<0&&(i+=r+" ");o=St(i),n!==o&&this.setAttribute("class",o)}})):this},removeClass:function(e){var t,i,n,r,s,o;return v(e)?this.each((function(t){S(this).removeClass(e.call(this,t,Et(this)))})):arguments.length?(t=kt(e)).length?this.each((function(){if(n=Et(this),i=1===this.nodeType&&" "+St(n)+" "){for(s=0;s<t.length;s++)for(r=t[s];i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o=St(i),n!==o&&this.setAttribute("class",o)}})):this:this.attr("class","")},toggleClass:function(e,t){var i,n,r,s,o=typeof e,a="string"===o||Array.isArray(e);return v(e)?this.each((function(i){S(this).toggleClass(e.call(this,i,Et(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(i=kt(e),this.each((function(){if(a)for(s=S(this),r=0;r<i.length;r++)n=i[r],s.hasClass(n)?s.removeClass(n):s.addClass(n);else void 0!==e&&"boolean"!==o||((n=Et(this))&&ae.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":ae.get(this,"__className__")||""))})))},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&(" "+St(Et(i))+" ").indexOf(t)>-1)return!0;return!1}});var Tt=/\r/g;S.fn.extend({val:function(e){var t,i,n,r=this[0];return arguments.length?(n=v(e),this.each((function(i){var r;1===this.nodeType&&(null==(r=n?e.call(this,i,S(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=S.map(r,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=S.valHooks[r.type]||S.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(Tt,""):null==i?"":i:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:St(S.text(e))}},select:{get:function(e){var t,i,n,r=e.options,s=e.selectedIndex,o="select-one"===e.type,a=o?null:[],l=o?s+1:r.length;for(n=s<0?l:o?s:0;n<l;n++)if(((i=r[n]).selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!k(i.parentNode,"optgroup"))){if(t=S(i).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var i,n,r=e.options,s=S.makeArray(t),o=r.length;o--;)((n=r[o]).selected=S.inArray(S.valHooks.option.get(n),s)>-1)&&(i=!0);return i||(e.selectedIndex=-1),s}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var At=n.location,Lt={guid:Date.now()},Ot=/\?/;S.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||S.error("Invalid XML: "+(i?S.map(i.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var It=/^(?:focusinfocus|focusoutblur)$/,jt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,i,r){var s,o,a,l,u,d,c,h,f=[i||y],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(o=h=a=i=i||y,3!==i.nodeType&&8!==i.nodeType&&!It.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[m]||{},r||!c.trigger||!1!==c.trigger.apply(i,t))){if(!r&&!c.noBubble&&!_(i)){for(l=c.delegateType||m,It.test(l+m)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(i.ownerDocument||y)&&f.push(a.defaultView||a.parentWindow||n)}for(s=0;(o=f[s++])&&!e.isPropagationStopped();)h=o,e.type=s>1?l:c.bindType||m,(d=(ae.get(o,"events")||Object.create(null))[e.type]&&ae.get(o,"handle"))&&d.apply(o,t),(d=u&&o[u])&&d.apply&&se(o)&&(e.result=d.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),t)||!se(i)||u&&v(i[m])&&!_(i)&&((a=i[u])&&(i[u]=null),S.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,jt),i[m](),e.isPropagationStopped()&&h.removeEventListener(m,jt),S.event.triggered=void 0,a&&(i[u]=a)),e.result}},simulate:function(e,t,i){var n=S.extend(new S.Event,i,{type:e,isSimulated:!0});S.event.trigger(n,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var i=this[0];if(i)return S.event.trigger(e,t,i,!0)}});var Dt=/\[\]$/,Pt=/\r?\n/g,zt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,i,n){var r;if(Array.isArray(t))S.each(t,(function(t,r){i||Dt.test(e)?n(e,r):Nt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,i,n)}));else if(i||"object"!==w(t))n(e,t);else for(r in t)Nt(e+"["+r+"]",t[r],i,n)}S.param=function(e,t){var i,n=[],r=function(e,t){var i=v(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){r(this.name,this.value)}));else for(i in e)Nt(i,e[i],t,r);return n.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Bt.test(this.nodeName)&&!zt.test(e)&&(this.checked||!Se.test(e))})).map((function(e,t){var i=S(this).val();return null==i?null:Array.isArray(i)?S.map(i,(function(e){return{name:t.name,value:e.replace(Pt,"\r\n")}})):{name:t.name,value:i.replace(Pt,"\r\n")}})).get()}});var Rt=/%20/g,Wt=/#.*$/,Ht=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:GET|HEAD)$/,qt=/^\/\//,Ut={},Kt={},$t="*/".concat("*"),Xt=y.createElement("a");function Yt(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,r=0,s=t.toLowerCase().match($)||[];if(v(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function Gt(e,t,i,n){var r={},s=e===Kt;function o(a){var l;return r[a]=!0,S.each(e[a]||[],(function(e,a){var u=a(t,i,n);return"string"!=typeof u||s||r[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)})),l}return o(t.dataTypes[0])||!r["*"]&&o("*")}function Jt(e,t){var i,n,r=S.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&S.extend(!0,e,n),e}Xt.href=At.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,S.ajaxSettings),t):Jt(S.ajaxSettings,e)},ajaxPrefilter:Yt(Ut),ajaxTransport:Yt(Kt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,r,s,o,a,l,u,d,c,h,p=S.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?S(f):S.event,g=S.Deferred(),v=S.Callbacks("once memory"),_=p.statusCode||{},b={},x={},w="canceled",M={readyState:0,getResponseHeader:function(e){var t;if(u){if(!o)for(o={};t=Ft.exec(s);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(e,t){return null==u&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)M.always(e[M.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||w;return i&&i.abort(t),C(0,t),this}};if(g.promise(M),p.url=((e||p.url||At.href)+"").replace(qt,At.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match($)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Xt.protocol+"//"+Xt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Gt(Ut,p,t,M),u)return M;for(c in(d=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Vt.test(p.type),r=p.url.replace(Wt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Rt,"+")):(h=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Ot.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Ht,"$1"),h=(Ot.test(r)?"&":"?")+"_="+Lt.guid+++h),p.url=r+h),p.ifModified&&(S.lastModified[r]&&M.setRequestHeader("If-Modified-Since",S.lastModified[r]),S.etag[r]&&M.setRequestHeader("If-None-Match",S.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&M.setRequestHeader("Content-Type",p.contentType),M.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+$t+"; q=0.01":""):p.accepts["*"]),p.headers)M.setRequestHeader(c,p.headers[c]);if(p.beforeSend&&(!1===p.beforeSend.call(f,M,p)||u))return M.abort();if(w="abort",v.add(p.complete),M.done(p.success),M.fail(p.error),i=Gt(Kt,p,t,M)){if(M.readyState=1,d&&m.trigger("ajaxSend",[M,p]),u)return M;p.async&&p.timeout>0&&(a=n.setTimeout((function(){M.abort("timeout")}),p.timeout));try{u=!1,i.send(b,C)}catch(e){if(u)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,o,l){var c,h,y,b,x,w=t;u||(u=!0,a&&n.clearTimeout(a),i=void 0,s=l||"",M.readyState=e>0?4:0,c=e>=200&&e<300||304===e,o&&(b=function(e,t,i){for(var n,r,s,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),i[s]}(p,M,o)),!c&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(e,t,i,n){var r,s,o,a,l,u={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(s=d.shift();s;)if(e.responseFields[s]&&(i[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=d.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=u[l+" "+s]||u["* "+s]))for(r in u)if((a=r.split(" "))[1]===s&&(o=u[l+" "+a[0]]||u["* "+a[0]])){!0===o?o=u[r]:!0!==u[r]&&(s=a[0],d.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(p,b,M,c),c?(p.ifModified&&((x=M.getResponseHeader("Last-Modified"))&&(S.lastModified[r]=x),(x=M.getResponseHeader("etag"))&&(S.etag[r]=x)),204===e||"HEAD"===p.type?w="nocontent":304===e?w="notmodified":(w=b.state,h=b.data,c=!(y=b.error))):(y=w,!e&&w||(w="error",e<0&&(e=0))),M.status=e,M.statusText=(t||w)+"",c?g.resolveWith(f,[h,w,M]):g.rejectWith(f,[M,w,y]),M.statusCode(_),_=void 0,d&&m.trigger(c?"ajaxSuccess":"ajaxError",[M,p,c?h:y]),v.fireWith(f,[M,w]),d&&(m.trigger("ajaxComplete",[M,p]),--S.active||S.event.trigger("ajaxStop")))}return M},getJSON:function(e,t,i){return S.get(e,t,i,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,i,n,r){return v(i)&&(r=r||n,n=i,i=void 0),S.ajax(S.extend({url:e,type:t,dataType:r,data:i,success:n},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,i){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,i)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(i){S(this).wrapAll(t?e.call(this,i):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Zt=S.ajaxSettings.xhr();g.cors=!!Zt&&"withCredentials"in Zt,g.ajax=Zt=!!Zt,S.ajaxTransport((function(e){var t,i;if(g.cors||Zt&&!e.crossDomain)return{send:function(r,s){var o,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];for(o in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);t=function(e){return function(){t&&(t=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Qt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),i=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&i()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,i;if(e.crossDomain||e.scriptAttrs)return{send:function(n,r){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&r("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){i&&i()}}}));var ei,ti=[],ii=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ti.pop()||S.expando+"_"+Lt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,i){var r,s,o,a=!1!==e.jsonp&&(ii.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ii.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ii,"$1"+r):!1!==e.jsonp&&(e.url+=(Ot.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",s=n[r],n[r]=function(){o=arguments},i.always((function(){void 0===s?S(n).removeProp(r):n[r]=s,e[r]&&(e.jsonpCallback=t.jsonpCallback,ti.push(r)),o&&v(s)&&s(o[0]),o=s=void 0})),"script"})),g.createHTMLDocument=((ei=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ei.childNodes.length),S.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(g.createHTMLDocument?((n=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(n)):t=y),s=!i&&[],(r=W.exec(e))?[t.createElement(r[1])]:(r=Ie([e],t,s),s&&s.length&&S(s).remove(),S.merge([],r.childNodes)));var n,r,s},S.fn.load=function(e,t,i){var n,r,s,o=this,a=e.indexOf(" ");return a>-1&&(n=St(e.slice(a)),e=e.slice(0,a)),v(t)?(i=t,t=void 0):t&&"object"==typeof t&&(r="POST"),o.length>0&&S.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){s=arguments,o.html(n?S("<div>").append(S.parseHTML(e)).find(n):e)})).always(i&&function(e,t){o.each((function(){i.apply(this,s||[e.responseText,t,e])}))}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,i){var n,r,s,o,a,l,u=S.css(e,"position"),d=S(e),c={};"static"===u&&(e.style.position="relative"),a=d.offset(),s=S.css(e,"top"),l=S.css(e,"left"),("absolute"===u||"fixed"===u)&&(s+l).indexOf("auto")>-1?(o=(n=d.position()).top,r=n.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),v(t)&&(t=t.call(e,i,S.extend({},a))),null!=t.top&&(c.top=t.top-a.top+o),null!=t.left&&(c.left=t.left-a.left+r),"using"in t?t.using.call(e,c):d.css(c)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],r={top:0,left:0};if("fixed"===S.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((r=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),r.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-S.css(n,"marginTop",!0),left:t.left-r.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||me}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var i="pageYOffset"===t;S.fn[e]=function(n){return ee(this,(function(e,n,r){var s;if(_(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===r)return s?s[t]:e[n];s?s.scrollTo(i?s.pageXOffset:r,i?r:s.pageYOffset):e[n]=r}),e,n,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=et(g.pixelPosition,(function(e,i){if(i)return i=Ze(e,t),Xe.test(i)?S(e).position()[t]+"px":i}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(i,n){S.fn[n]=function(r,s){var o=arguments.length&&(i||"boolean"!=typeof r),a=i||(!0===r||!0===s?"margin":"border");return ee(this,(function(t,i,r){var s;return _(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===r?S.css(t,i,a):S.style(t,i,r,a)}),t,o?r:void 0,o)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}));var ni=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var i,n,r;if("string"==typeof t&&(i=e[t],t=e,e=i),v(e))return n=a.call(arguments,2),r=function(){return e.apply(t||this,n.concat(a.call(arguments)))},r.guid=e.guid=e.guid||S.guid++,r},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=k,S.isFunction=v,S.isWindow=_,S.camelCase=re,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(ni,"$1")},void 0===(i=function(){return S}.apply(t,[]))||(e.exports=i);var ri=n.jQuery,si=n.$;return S.noConflict=function(e){return n.$===S&&(n.$=si),e&&n.jQuery===S&&(n.jQuery=ri),S},void 0===r&&(n.jQuery=n.$=S),S}))},3103:(e,t,i)=>{var n=i(4715)(i(8942),"DataView");e.exports=n},5098:(e,t,i)=>{var n=i(3305),r=i(9361),s=i(1112),o=i(5276),a=i(5071);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},1386:(e,t,i)=>{var n=i(2393),r=i(2049),s=i(7144),o=i(7452),a=i(3964);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},9770:(e,t,i)=>{var n=i(4715)(i(8942),"Map");e.exports=n},8250:(e,t,i)=>{var n=i(9753),r=i(5681),s=i(88),o=i(4732),a=i(9068);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},9413:(e,t,i)=>{var n=i(4715)(i(8942),"Promise");e.exports=n},4512:(e,t,i)=>{var n=i(4715)(i(8942),"Set");e.exports=n},3212:(e,t,i)=>{var n=i(8250),r=i(1877),s=i(8006);function o(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new n;++t<i;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=s,e.exports=o},1340:(e,t,i)=>{var n=i(1386),r=i(4103),s=i(1779),o=i(4162),a=i(7462),l=i(6638);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=s,u.prototype.get=o,u.prototype.has=a,u.prototype.set=l,e.exports=u},5650:(e,t,i)=>{var n=i(8942).Symbol;e.exports=n},1623:(e,t,i)=>{var n=i(8942).Uint8Array;e.exports=n},9270:(e,t,i)=>{var n=i(4715)(i(8942),"WeakMap");e.exports=n},9847:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length,r=0,s=[];++i<n;){var o=e[i];t(o,i,e)&&(s[r++]=o)}return s}},358:(e,t,i)=>{var n=i(6137),r=i(3283),s=i(3142),o=i(5853),a=i(9632),l=i(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var i=s(e),d=!i&&r(e),c=!i&&!d&&o(e),h=!i&&!d&&!c&&l(e),p=i||d||c||h,f=p?n(e.length,String):[],m=f.length;for(var g in e)!t&&!u.call(e,g)||p&&("length"==g||c&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||f.push(g);return f}},1129:e=>{e.exports=function(e,t){for(var i=-1,n=t.length,r=e.length;++i<n;)e[r+i]=t[i];return e}},6465:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return!0;return!1}},7034:(e,t,i)=>{var n=i(6285);e.exports=function(e,t){for(var i=e.length;i--;)if(n(e[i][0],t))return i;return-1}},8244:(e,t,i)=>{var n=i(1129),r=i(3142);e.exports=function(e,t,i){var s=t(e);return r(e)?s:n(s,i(e))}},7379:(e,t,i)=>{var n=i(5650),r=i(8870),s=i(9005),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):s(e)}},6027:(e,t,i)=>{var n=i(7379),r=i(547);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},4687:(e,t,i)=>{var n=i(353),r=i(547);e.exports=function e(t,i,s,o,a){return t===i||(null==t||null==i||!r(t)&&!r(i)?t!=t&&i!=i:n(t,i,s,o,e,a))}},353:(e,t,i)=>{var n=i(1340),r=i(3934),s=i(8861),o=i(1182),a=i(8486),l=i(3142),u=i(5853),d=i(8666),c="[object Arguments]",h="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,i,m,g,v){var _=l(e),y=l(t),b=_?h:a(e),x=y?h:a(t),w=(b=b==c?p:b)==p,M=(x=x==c?p:x)==p,C=b==x;if(C&&u(e)){if(!u(t))return!1;_=!0,w=!1}if(C&&!w)return v||(v=new n),_||d(e)?r(e,t,i,m,g,v):s(e,t,b,i,m,g,v);if(!(1&i)){var S=w&&f.call(e,"__wrapped__"),E=M&&f.call(t,"__wrapped__");if(S||E){var k=S?e.value():e,T=E?t.value():t;return v||(v=new n),g(k,T,i,m,v)}}return!!C&&(v||(v=new n),o(e,t,i,m,g,v))}},9624:(e,t,i)=>{var n=i(3655),r=i(4759),s=i(1580),o=i(4066),a=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,c=u.hasOwnProperty,h=RegExp("^"+d.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!s(e)||r(e))&&(n(e)?h:a).test(o(e))}},674:(e,t,i)=>{var n=i(7379),r=i(5387),s=i(547),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return s(e)&&r(e.length)&&!!o[n(e)]}},195:(e,t,i)=>{var n=i(4882),r=i(8121),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var i in Object(e))s.call(e,i)&&"constructor"!=i&&t.push(i);return t}},6137:e=>{e.exports=function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n}},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,i)=>{var n=i(8942)["__core-js_shared__"];e.exports=n},3934:(e,t,i)=>{var n=i(3212),r=i(6465),s=i(5568);e.exports=function(e,t,i,o,a,l){var u=1&i,d=e.length,c=t.length;if(d!=c&&!(u&&c>d))return!1;var h=l.get(e),p=l.get(t);if(h&&p)return h==t&&p==e;var f=-1,m=!0,g=2&i?new n:void 0;for(l.set(e,t),l.set(t,e);++f<d;){var v=e[f],_=t[f];if(o)var y=u?o(_,v,f,t,e,l):o(v,_,f,e,t,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!r(t,(function(e,t){if(!s(g,t)&&(v===e||a(v,e,i,o,l)))return g.push(t)}))){m=!1;break}}else if(v!==_&&!a(v,_,i,o,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},8861:(e,t,i)=>{var n=i(5650),r=i(1623),s=i(6285),o=i(3934),a=i(5894),l=i(9828),u=n?n.prototype:void 0,d=u?u.valueOf:void 0;e.exports=function(e,t,i,n,u,c,h){switch(i){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!c(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=a;case"[object Set]":var f=1&n;if(p||(p=l),e.size!=t.size&&!f)return!1;var m=h.get(e);if(m)return m==t;n|=2,h.set(e,t);var g=o(p(e),p(t),n,u,c,h);return h.delete(e),g;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},1182:(e,t,i)=>{var n=i(393),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,i,s,o,a){var l=1&i,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var c=d;c--;){var h=u[c];if(!(l?h in t:r.call(t,h)))return!1}var p=a.get(e),f=a.get(t);if(p&&f)return p==t&&f==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=l;++c<d;){var v=e[h=u[c]],_=t[h];if(s)var y=l?s(_,v,h,t,e,a):s(v,_,h,e,t,a);if(!(void 0===y?v===_||o(v,_,i,s,a):y)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var b=e.constructor,x=t.constructor;b==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(m=!1)}return a.delete(e),a.delete(t),m}},4967:(e,t,i)=>{var n="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g;e.exports=n},393:(e,t,i)=>{var n=i(8244),r=i(7979),s=i(1211);e.exports=function(e){return n(e,s,r)}},4700:(e,t,i)=>{var n=i(9067);e.exports=function(e,t){var i=e.__data__;return n(t)?i["string"==typeof t?"string":"hash"]:i.map}},4715:(e,t,i)=>{var n=i(9624),r=i(155);e.exports=function(e,t){var i=r(e,t);return n(i)?i:void 0}},4784:(e,t,i)=>{var n=i(3766)(Object.getPrototypeOf,Object);e.exports=n},8870:(e,t,i)=>{var n=i(5650),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=s.call(e,a),i=e[a];try{e[a]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[a]=i:delete e[a]),r}},7979:(e,t,i)=>{var n=i(9847),r=i(9306),s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return s.call(e,t)})))}:r;e.exports=a},8486:(e,t,i)=>{var n=i(3103),r=i(9770),s=i(9413),o=i(4512),a=i(9270),l=i(7379),u=i(4066),d="[object Map]",c="[object Promise]",h="[object Set]",p="[object WeakMap]",f="[object DataView]",m=u(n),g=u(r),v=u(s),_=u(o),y=u(a),b=l;(n&&b(new n(new ArrayBuffer(1)))!=f||r&&b(new r)!=d||s&&b(s.resolve())!=c||o&&b(new o)!=h||a&&b(new a)!=p)&&(b=function(e){var t=l(e),i="[object Object]"==t?e.constructor:void 0,n=i?u(i):"";if(n)switch(n){case m:return f;case g:return d;case v:return c;case _:return h;case y:return p}return t}),e.exports=b},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,i)=>{var n=i(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,i)=>{var n=i(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return r.call(t,e)?t[e]:void 0}},5276:(e,t,i)=>{var n=i(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},5071:(e,t,i)=>{var n=i(4497);e.exports=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9632:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,i){var n=typeof e;return!!(i=null==i?9007199254740991:i)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<i}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,i)=>{var n,r=i(1950),s=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!s&&s in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var i=e&&e.constructor;return e===("function"==typeof i&&i.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,i)=>{var n=i(7034),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,i=n(t,e);return!(i<0||(i==t.length-1?t.pop():r.call(t,i,1),--this.size,0))}},7144:(e,t,i)=>{var n=i(7034);e.exports=function(e){var t=this.__data__,i=n(t,e);return i<0?void 0:t[i][1]}},7452:(e,t,i)=>{var n=i(7034);e.exports=function(e){return n(this.__data__,e)>-1}},3964:(e,t,i)=>{var n=i(7034);e.exports=function(e,t){var i=this.__data__,r=n(i,e);return r<0?(++this.size,i.push([e,t])):i[r][1]=t,this}},9753:(e,t,i)=>{var n=i(5098),r=i(1386),s=i(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(s||r),string:new n}}},5681:(e,t,i)=>{var n=i(4700);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},88:(e,t,i)=>{var n=i(4700);e.exports=function(e){return n(this,e).get(e)}},4732:(e,t,i)=>{var n=i(4700);e.exports=function(e){return n(this,e).has(e)}},9068:(e,t,i)=>{var n=i(4700);e.exports=function(e,t){var i=n(this,e),r=i.size;return i.set(e,t),this.size+=i.size==r?0:1,this}},5894:e=>{e.exports=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e,n){i[++t]=[n,e]})),i}},4497:(e,t,i)=>{var n=i(4715)(Object,"create");e.exports=n},8121:(e,t,i)=>{var n=i(3766)(Object.keys,Object);e.exports=n},2306:(e,t,i)=>{e=i.nmd(e);var n=i(4967),r=t&&!t.nodeType&&t,s=r&&e&&!e.nodeType&&e,o=s&&s.exports===r&&n.process,a=function(){try{return s&&s.require&&s.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(i){return e(t(i))}}},8942:(e,t,i)=>{var n=i(4967),r="object"==typeof self&&self&&self.Object===Object&&self,s=n||r||Function("return this")();e.exports=s},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},9828:e=>{e.exports=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i}},4103:(e,t,i)=>{var n=i(1386);e.exports=function(){this.__data__=new n,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,i)=>{var n=i(1386),r=i(9770),s=i(8250);e.exports=function(e,t){var i=this.__data__;if(i instanceof n){var o=i.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++i.size,this;i=this.__data__=new s(o)}return i.set(e,t),this.size=i.size,this}},4066:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,i)=>{var n=i(6027),r=i(547),s=Object.prototype,o=s.hasOwnProperty,a=s.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,i)=>{var n=i(3655),r=i(5387);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},5853:(e,t,i)=>{e=i.nmd(e);var n=i(8942),r=i(4772),s=t&&!t.nodeType&&t,o=s&&e&&!e.nodeType&&e,a=o&&o.exports===s?n.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l},6343:(e,t,i)=>{var n=i(4687);e.exports=function(e,t){return n(e,t)}},3655:(e,t,i)=>{var n=i(7379),r=i(1580);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8360:(e,t,i)=>{var n=i(7379),r=i(4784),s=i(547),o=Function.prototype,a=Object.prototype,l=o.toString,u=a.hasOwnProperty,d=l.call(Object);e.exports=function(e){if(!s(e)||"[object Object]"!=n(e))return!1;var t=r(e);if(null===t)return!0;var i=u.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&l.call(i)==d}},8666:(e,t,i)=>{var n=i(674),r=i(9460),s=i(2306),o=s&&s.isTypedArray,a=o?r(o):n;e.exports=a},1211:(e,t,i)=>{var n=i(358),r=i(195),s=i(6529);e.exports=function(e){return s(e)?n(e):r(e)}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},1308:t=>{"use strict";t.exports=e},2562:(e,t,i)=>{"use strict";i.r(t),i.d(t,{VERSION:()=>r,after:()=>Dt,all:()=>ei,allKeys:()=>ge,any:()=>ti,assign:()=>De,before:()=>Pt,bind:()=>wt,bindAll:()=>St,chain:()=>_t,chunk:()=>Bi,clone:()=>Ne,collect:()=>Xt,compact:()=>Ei,compose:()=>jt,constant:()=>Q,contains:()=>ii,countBy:()=>gi,create:()=>Be,debounce:()=>Lt,default:()=>Fi,defaults:()=>Pe,defer:()=>Tt,delay:()=>kt,detect:()=>Ut,difference:()=>Ti,drop:()=>Ci,each:()=>$t,escape:()=>ot,every:()=>ei,extend:()=>je,extendOwn:()=>De,filter:()=>Qt,find:()=>Ut,findIndex:()=>Rt,findKey:()=>Bt,findLastIndex:()=>Wt,findWhere:()=>Kt,first:()=>Mi,flatten:()=>ki,foldl:()=>Gt,foldr:()=>Jt,forEach:()=>$t,functions:()=>Oe,get:()=>Ve,groupBy:()=>fi,has:()=>qe,head:()=>Mi,identity:()=>Ue,include:()=>ii,includes:()=>ii,indexBy:()=>mi,indexOf:()=>Vt,initial:()=>wi,inject:()=>Gt,intersection:()=>Ii,invert:()=>Le,invoke:()=>ni,isArguments:()=>Y,isArray:()=>K,isArrayBuffer:()=>B,isBoolean:()=>T,isDataView:()=>U,isDate:()=>j,isElement:()=>A,isEmpty:()=>le,isEqual:()=>me,isError:()=>P,isFinite:()=>G,isFunction:()=>W,isMap:()=>Ce,isMatch:()=>ue,isNaN:()=>J,isNull:()=>E,isNumber:()=>I,isObject:()=>S,isRegExp:()=>D,isSet:()=>Ee,isString:()=>O,isSymbol:()=>z,isTypedArray:()=>re,isUndefined:()=>k,isWeakMap:()=>Se,isWeakSet:()=>ke,iteratee:()=>Ge,keys:()=>ae,last:()=>Si,lastIndexOf:()=>qt,map:()=>Xt,mapObject:()=>Qe,matcher:()=>Ke,matches:()=>Ke,max:()=>oi,memoize:()=>Et,methods:()=>Oe,min:()=>ai,mixin:()=>Ri,negate:()=>It,noop:()=>Ze,now:()=>nt,object:()=>Pi,omit:()=>xi,once:()=>zt,pairs:()=>Ae,partial:()=>xt,partition:()=>vi,pick:()=>bi,pluck:()=>ri,property:()=>$e,propertyOf:()=>et,random:()=>it,range:()=>zi,reduce:()=>Gt,reduceRight:()=>Jt,reject:()=>Zt,rest:()=>Ci,restArguments:()=>C,result:()=>mt,sample:()=>di,select:()=>Qt,shuffle:()=>ci,size:()=>_i,some:()=>ti,sortBy:()=>hi,sortedIndex:()=>Ht,tail:()=>Ci,take:()=>Mi,tap:()=>Re,template:()=>ft,templateSettings:()=>lt,throttle:()=>At,times:()=>tt,toArray:()=>ui,toPath:()=>We,transpose:()=>ji,unescape:()=>at,union:()=>Oi,uniq:()=>Li,unique:()=>Li,uniqueId:()=>vt,unzip:()=>ji,values:()=>Te,where:()=>si,without:()=>Ai,wrap:()=>Ot,zip:()=>Di});var n={};i.r(n),i.d(n,{VERSION:()=>r,after:()=>Dt,all:()=>ei,allKeys:()=>ge,any:()=>ti,assign:()=>De,before:()=>Pt,bind:()=>wt,bindAll:()=>St,chain:()=>_t,chunk:()=>Bi,clone:()=>Ne,collect:()=>Xt,compact:()=>Ei,compose:()=>jt,constant:()=>Q,contains:()=>ii,countBy:()=>gi,create:()=>Be,debounce:()=>Lt,default:()=>Wi,defaults:()=>Pe,defer:()=>Tt,delay:()=>kt,detect:()=>Ut,difference:()=>Ti,drop:()=>Ci,each:()=>$t,escape:()=>ot,every:()=>ei,extend:()=>je,extendOwn:()=>De,filter:()=>Qt,find:()=>Ut,findIndex:()=>Rt,findKey:()=>Bt,findLastIndex:()=>Wt,findWhere:()=>Kt,first:()=>Mi,flatten:()=>ki,foldl:()=>Gt,foldr:()=>Jt,forEach:()=>$t,functions:()=>Oe,get:()=>Ve,groupBy:()=>fi,has:()=>qe,head:()=>Mi,identity:()=>Ue,include:()=>ii,includes:()=>ii,indexBy:()=>mi,indexOf:()=>Vt,initial:()=>wi,inject:()=>Gt,intersection:()=>Ii,invert:()=>Le,invoke:()=>ni,isArguments:()=>Y,isArray:()=>K,isArrayBuffer:()=>B,isBoolean:()=>T,isDataView:()=>U,isDate:()=>j,isElement:()=>A,isEmpty:()=>le,isEqual:()=>me,isError:()=>P,isFinite:()=>G,isFunction:()=>W,isMap:()=>Ce,isMatch:()=>ue,isNaN:()=>J,isNull:()=>E,isNumber:()=>I,isObject:()=>S,isRegExp:()=>D,isSet:()=>Ee,isString:()=>O,isSymbol:()=>z,isTypedArray:()=>re,isUndefined:()=>k,isWeakMap:()=>Se,isWeakSet:()=>ke,iteratee:()=>Ge,keys:()=>ae,last:()=>Si,lastIndexOf:()=>qt,map:()=>Xt,mapObject:()=>Qe,matcher:()=>Ke,matches:()=>Ke,max:()=>oi,memoize:()=>Et,methods:()=>Oe,min:()=>ai,mixin:()=>Ri,negate:()=>It,noop:()=>Ze,now:()=>nt,object:()=>Pi,omit:()=>xi,once:()=>zt,pairs:()=>Ae,partial:()=>xt,partition:()=>vi,pick:()=>bi,pluck:()=>ri,property:()=>$e,propertyOf:()=>et,random:()=>it,range:()=>zi,reduce:()=>Gt,reduceRight:()=>Jt,reject:()=>Zt,rest:()=>Ci,restArguments:()=>C,result:()=>mt,sample:()=>di,select:()=>Qt,shuffle:()=>ci,size:()=>_i,some:()=>ti,sortBy:()=>hi,sortedIndex:()=>Ht,tail:()=>Ci,take:()=>Mi,tap:()=>Re,template:()=>ft,templateSettings:()=>lt,throttle:()=>At,times:()=>tt,toArray:()=>ui,toPath:()=>We,transpose:()=>ji,unescape:()=>at,union:()=>Oi,uniq:()=>Li,unique:()=>Li,uniqueId:()=>vt,unzip:()=>ji,values:()=>Te,where:()=>si,without:()=>Ai,wrap:()=>Ot,zip:()=>Di});var r="1.13.7",s="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},o=Array.prototype,a=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,u=o.push,d=o.slice,c=a.toString,h=a.hasOwnProperty,p="undefined"!=typeof ArrayBuffer,f="undefined"!=typeof DataView,m=Array.isArray,g=Object.keys,v=Object.create,_=p&&ArrayBuffer.isView,y=isNaN,b=isFinite,x=!{toString:null}.propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],M=Math.pow(2,53)-1;function C(e,t){return t=null==t?e.length-1:+t,function(){for(var i=Math.max(arguments.length-t,0),n=Array(i),r=0;r<i;r++)n[r]=arguments[r+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var s=Array(t+1);for(r=0;r<t;r++)s[r]=arguments[r];return s[t]=n,e.apply(this,s)}}function S(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function E(e){return null===e}function k(e){return void 0===e}function T(e){return!0===e||!1===e||"[object Boolean]"===c.call(e)}function A(e){return!(!e||1!==e.nodeType)}function L(e){var t="[object "+e+"]";return function(e){return c.call(e)===t}}const O=L("String"),I=L("Number"),j=L("Date"),D=L("RegExp"),P=L("Error"),z=L("Symbol"),B=L("ArrayBuffer");var N=L("Function"),R=s.document&&s.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof R&&(N=function(e){return"function"==typeof e||!1});const W=N,H=L("Object");var F=f&&(!/\[native code\]/.test(String(DataView))||H(new DataView(new ArrayBuffer(8)))),V="undefined"!=typeof Map&&H(new Map),q=L("DataView");const U=F?function(e){return null!=e&&W(e.getInt8)&&B(e.buffer)}:q,K=m||L("Array");function $(e,t){return null!=e&&h.call(e,t)}var X=L("Arguments");!function(){X(arguments)||(X=function(e){return $(e,"callee")})}();const Y=X;function G(e){return!z(e)&&b(e)&&!isNaN(parseFloat(e))}function J(e){return I(e)&&y(e)}function Q(e){return function(){return e}}function Z(e){return function(t){var i=e(t);return"number"==typeof i&&i>=0&&i<=M}}function ee(e){return function(t){return null==t?void 0:t[e]}}const te=ee("byteLength"),ie=Z(te);var ne=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const re=p?function(e){return _?_(e)&&!U(e):ie(e)&&ne.test(c.call(e))}:Q(!1),se=ee("length");function oe(e,t){t=function(e){for(var t={},i=e.length,n=0;n<i;++n)t[e[n]]=!0;return{contains:function(e){return!0===t[e]},push:function(i){return t[i]=!0,e.push(i)}}}(t);var i=w.length,n=e.constructor,r=W(n)&&n.prototype||a,s="constructor";for($(e,s)&&!t.contains(s)&&t.push(s);i--;)(s=w[i])in e&&e[s]!==r[s]&&!t.contains(s)&&t.push(s)}function ae(e){if(!S(e))return[];if(g)return g(e);var t=[];for(var i in e)$(e,i)&&t.push(i);return x&&oe(e,t),t}function le(e){if(null==e)return!0;var t=se(e);return"number"==typeof t&&(K(e)||O(e)||Y(e))?0===t:0===se(ae(e))}function ue(e,t){var i=ae(t),n=i.length;if(null==e)return!n;for(var r=Object(e),s=0;s<n;s++){var o=i[s];if(t[o]!==r[o]||!(o in r))return!1}return!0}function de(e){return e instanceof de?e:this instanceof de?void(this._wrapped=e):new de(e)}function ce(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,te(e))}de.VERSION=r,de.prototype.value=function(){return this._wrapped},de.prototype.valueOf=de.prototype.toJSON=de.prototype.value,de.prototype.toString=function(){return String(this._wrapped)};var he="[object DataView]";function pe(e,t,i,n){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var r=typeof e;return("function"===r||"object"===r||"object"==typeof t)&&fe(e,t,i,n)}function fe(e,t,i,n){e instanceof de&&(e=e._wrapped),t instanceof de&&(t=t._wrapped);var r=c.call(e);if(r!==c.call(t))return!1;if(F&&"[object Object]"==r&&U(e)){if(!U(t))return!1;r=he}switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return l.valueOf.call(e)===l.valueOf.call(t);case"[object ArrayBuffer]":case he:return fe(ce(e),ce(t),i,n)}var s="[object Array]"===r;if(!s&&re(e)){if(te(e)!==te(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;s=!0}if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var o=e.constructor,a=t.constructor;if(o!==a&&!(W(o)&&o instanceof o&&W(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}n=n||[];for(var u=(i=i||[]).length;u--;)if(i[u]===e)return n[u]===t;if(i.push(e),n.push(t),s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!pe(e[u],t[u],i,n))return!1}else{var d,h=ae(e);if(u=h.length,ae(t).length!==u)return!1;for(;u--;)if(!$(t,d=h[u])||!pe(e[d],t[d],i,n))return!1}return i.pop(),n.pop(),!0}function me(e,t){return pe(e,t)}function ge(e){if(!S(e))return[];var t=[];for(var i in e)t.push(i);return x&&oe(e,t),t}function ve(e){var t=se(e);return function(i){if(null==i)return!1;var n=ge(i);if(se(n))return!1;for(var r=0;r<t;r++)if(!W(i[e[r]]))return!1;return e!==we||!W(i[_e])}}var _e="forEach",ye=["clear","delete"],be=["get","has","set"],xe=ye.concat(_e,be),we=ye.concat(be),Me=["add"].concat(ye,_e,"has");const Ce=V?ve(xe):L("Map"),Se=V?ve(we):L("WeakMap"),Ee=V?ve(Me):L("Set"),ke=L("WeakSet");function Te(e){for(var t=ae(e),i=t.length,n=Array(i),r=0;r<i;r++)n[r]=e[t[r]];return n}function Ae(e){for(var t=ae(e),i=t.length,n=Array(i),r=0;r<i;r++)n[r]=[t[r],e[t[r]]];return n}function Le(e){for(var t={},i=ae(e),n=0,r=i.length;n<r;n++)t[e[i[n]]]=i[n];return t}function Oe(e){var t=[];for(var i in e)W(e[i])&&t.push(i);return t.sort()}function Ie(e,t){return function(i){var n=arguments.length;if(t&&(i=Object(i)),n<2||null==i)return i;for(var r=1;r<n;r++)for(var s=arguments[r],o=e(s),a=o.length,l=0;l<a;l++){var u=o[l];t&&void 0!==i[u]||(i[u]=s[u])}return i}}const je=Ie(ge),De=Ie(ae),Pe=Ie(ge,!0);function ze(e){if(!S(e))return{};if(v)return v(e);var t=function(){};t.prototype=e;var i=new t;return t.prototype=null,i}function Be(e,t){var i=ze(e);return t&&De(i,t),i}function Ne(e){return S(e)?K(e)?e.slice():je({},e):e}function Re(e,t){return t(e),e}function We(e){return K(e)?e:[e]}function He(e){return de.toPath(e)}function Fe(e,t){for(var i=t.length,n=0;n<i;n++){if(null==e)return;e=e[t[n]]}return i?e:void 0}function Ve(e,t,i){var n=Fe(e,He(t));return k(n)?i:n}function qe(e,t){for(var i=(t=He(t)).length,n=0;n<i;n++){var r=t[n];if(!$(e,r))return!1;e=e[r]}return!!i}function Ue(e){return e}function Ke(e){return e=De({},e),function(t){return ue(t,e)}}function $e(e){return e=He(e),function(t){return Fe(t,e)}}function Xe(e,t,i){if(void 0===t)return e;switch(null==i?3:i){case 1:return function(i){return e.call(t,i)};case 3:return function(i,n,r){return e.call(t,i,n,r)};case 4:return function(i,n,r,s){return e.call(t,i,n,r,s)}}return function(){return e.apply(t,arguments)}}function Ye(e,t,i){return null==e?Ue:W(e)?Xe(e,t,i):S(e)&&!K(e)?Ke(e):$e(e)}function Ge(e,t){return Ye(e,t,1/0)}function Je(e,t,i){return de.iteratee!==Ge?de.iteratee(e,t):Ye(e,t,i)}function Qe(e,t,i){t=Je(t,i);for(var n=ae(e),r=n.length,s={},o=0;o<r;o++){var a=n[o];s[a]=t(e[a],a,e)}return s}function Ze(){}function et(e){return null==e?Ze:function(t){return Ve(e,t)}}function tt(e,t,i){var n=Array(Math.max(0,e));t=Xe(t,i,1);for(var r=0;r<e;r++)n[r]=t(r);return n}function it(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}de.toPath=We,de.iteratee=Ge;const nt=Date.now||function(){return(new Date).getTime()};function rt(e){var t=function(t){return e[t]},i="(?:"+ae(e).join("|")+")",n=RegExp(i),r=RegExp(i,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(r,t):e}}const st={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ot=rt(st),at=rt(Le(st)),lt=de.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ut=/(.)^/,dt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ct=/\\|'|\r|\n|\u2028|\u2029/g;function ht(e){return"\\"+dt[e]}var pt=/^\s*(\w|\$)+\s*$/;function ft(e,t,i){!t&&i&&(t=i),t=Pe({},t,de.templateSettings);var n=RegExp([(t.escape||ut).source,(t.interpolate||ut).source,(t.evaluate||ut).source].join("|")+"|$","g"),r=0,s="__p+='";e.replace(n,(function(t,i,n,o,a){return s+=e.slice(r,a).replace(ct,ht),r=a+t.length,i?s+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":n?s+="'+\n((__t=("+n+"))==null?'':__t)+\n'":o&&(s+="';\n"+o+"\n__p+='"),t})),s+="';\n";var o,a=t.variable;if(a){if(!pt.test(a))throw new Error("variable is not a bare identifier: "+a)}else s="with(obj||{}){\n"+s+"}\n",a="obj";s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{o=new Function(a,"_",s)}catch(e){throw e.source=s,e}var l=function(e){return o.call(this,e,de)};return l.source="function("+a+"){\n"+s+"}",l}function mt(e,t,i){var n=(t=He(t)).length;if(!n)return W(i)?i.call(e):i;for(var r=0;r<n;r++){var s=null==e?void 0:e[t[r]];void 0===s&&(s=i,r=n),e=W(s)?s.call(e):s}return e}var gt=0;function vt(e){var t=++gt+"";return e?e+t:t}function _t(e){var t=de(e);return t._chain=!0,t}function yt(e,t,i,n,r){if(!(n instanceof t))return e.apply(i,r);var s=ze(e.prototype),o=e.apply(s,r);return S(o)?o:s}var bt=C((function(e,t){var i=bt.placeholder,n=function(){for(var r=0,s=t.length,o=Array(s),a=0;a<s;a++)o[a]=t[a]===i?arguments[r++]:t[a];for(;r<arguments.length;)o.push(arguments[r++]);return yt(e,n,this,this,o)};return n}));bt.placeholder=de;const xt=bt,wt=C((function(e,t,i){if(!W(e))throw new TypeError("Bind must be called on a function");var n=C((function(r){return yt(e,n,t,this,i.concat(r))}));return n})),Mt=Z(se);function Ct(e,t,i,n){if(n=n||[],t||0===t){if(t<=0)return n.concat(e)}else t=1/0;for(var r=n.length,s=0,o=se(e);s<o;s++){var a=e[s];if(Mt(a)&&(K(a)||Y(a)))if(t>1)Ct(a,t-1,i,n),r=n.length;else for(var l=0,u=a.length;l<u;)n[r++]=a[l++];else i||(n[r++]=a)}return n}const St=C((function(e,t){var i=(t=Ct(t,!1,!1)).length;if(i<1)throw new Error("bindAll must be passed function names");for(;i--;){var n=t[i];e[n]=wt(e[n],e)}return e}));function Et(e,t){var i=function(n){var r=i.cache,s=""+(t?t.apply(this,arguments):n);return $(r,s)||(r[s]=e.apply(this,arguments)),r[s]};return i.cache={},i}const kt=C((function(e,t,i){return setTimeout((function(){return e.apply(null,i)}),t)})),Tt=xt(kt,de,1);function At(e,t,i){var n,r,s,o,a=0;i||(i={});var l=function(){a=!1===i.leading?0:nt(),n=null,o=e.apply(r,s),n||(r=s=null)},u=function(){var u=nt();a||!1!==i.leading||(a=u);var d=t-(u-a);return r=this,s=arguments,d<=0||d>t?(n&&(clearTimeout(n),n=null),a=u,o=e.apply(r,s),n||(r=s=null)):n||!1===i.trailing||(n=setTimeout(l,d)),o};return u.cancel=function(){clearTimeout(n),a=0,n=r=s=null},u}function Lt(e,t,i){var n,r,s,o,a,l=function(){var u=nt()-r;t>u?n=setTimeout(l,t-u):(n=null,i||(o=e.apply(a,s)),n||(s=a=null))},u=C((function(u){return a=this,s=u,r=nt(),n||(n=setTimeout(l,t),i&&(o=e.apply(a,s))),o}));return u.cancel=function(){clearTimeout(n),n=s=a=null},u}function Ot(e,t){return xt(t,e)}function It(e){return function(){return!e.apply(this,arguments)}}function jt(){var e=arguments,t=e.length-1;return function(){for(var i=t,n=e[t].apply(this,arguments);i--;)n=e[i].call(this,n);return n}}function Dt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Pt(e,t){var i;return function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=null),i}}const zt=xt(Pt,2);function Bt(e,t,i){t=Je(t,i);for(var n,r=ae(e),s=0,o=r.length;s<o;s++)if(t(e[n=r[s]],n,e))return n}function Nt(e){return function(t,i,n){i=Je(i,n);for(var r=se(t),s=e>0?0:r-1;s>=0&&s<r;s+=e)if(i(t[s],s,t))return s;return-1}}const Rt=Nt(1),Wt=Nt(-1);function Ht(e,t,i,n){for(var r=(i=Je(i,n,1))(t),s=0,o=se(e);s<o;){var a=Math.floor((s+o)/2);i(e[a])<r?s=a+1:o=a}return s}function Ft(e,t,i){return function(n,r,s){var o=0,a=se(n);if("number"==typeof s)e>0?o=s>=0?s:Math.max(s+a,o):a=s>=0?Math.min(s+1,a):s+a+1;else if(i&&s&&a)return n[s=i(n,r)]===r?s:-1;if(r!=r)return(s=t(d.call(n,o,a),J))>=0?s+o:-1;for(s=e>0?o:a-1;s>=0&&s<a;s+=e)if(n[s]===r)return s;return-1}}const Vt=Ft(1,Rt,Ht),qt=Ft(-1,Wt);function Ut(e,t,i){var n=(Mt(e)?Rt:Bt)(e,t,i);if(void 0!==n&&-1!==n)return e[n]}function Kt(e,t){return Ut(e,Ke(t))}function $t(e,t,i){var n,r;if(t=Xe(t,i),Mt(e))for(n=0,r=e.length;n<r;n++)t(e[n],n,e);else{var s=ae(e);for(n=0,r=s.length;n<r;n++)t(e[s[n]],s[n],e)}return e}function Xt(e,t,i){t=Je(t,i);for(var n=!Mt(e)&&ae(e),r=(n||e).length,s=Array(r),o=0;o<r;o++){var a=n?n[o]:o;s[o]=t(e[a],a,e)}return s}function Yt(e){return function(t,i,n,r){var s=arguments.length>=3;return function(t,i,n,r){var s=!Mt(t)&&ae(t),o=(s||t).length,a=e>0?0:o-1;for(r||(n=t[s?s[a]:a],a+=e);a>=0&&a<o;a+=e){var l=s?s[a]:a;n=i(n,t[l],l,t)}return n}(t,Xe(i,r,4),n,s)}}const Gt=Yt(1),Jt=Yt(-1);function Qt(e,t,i){var n=[];return t=Je(t,i),$t(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}function Zt(e,t,i){return Qt(e,It(Je(t)),i)}function ei(e,t,i){t=Je(t,i);for(var n=!Mt(e)&&ae(e),r=(n||e).length,s=0;s<r;s++){var o=n?n[s]:s;if(!t(e[o],o,e))return!1}return!0}function ti(e,t,i){t=Je(t,i);for(var n=!Mt(e)&&ae(e),r=(n||e).length,s=0;s<r;s++){var o=n?n[s]:s;if(t(e[o],o,e))return!0}return!1}function ii(e,t,i,n){return Mt(e)||(e=Te(e)),("number"!=typeof i||n)&&(i=0),Vt(e,t,i)>=0}const ni=C((function(e,t,i){var n,r;return W(t)?r=t:(t=He(t),n=t.slice(0,-1),t=t[t.length-1]),Xt(e,(function(e){var s=r;if(!s){if(n&&n.length&&(e=Fe(e,n)),null==e)return;s=e[t]}return null==s?s:s.apply(e,i)}))}));function ri(e,t){return Xt(e,$e(t))}function si(e,t){return Qt(e,Ke(t))}function oi(e,t,i){var n,r,s=-1/0,o=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=Mt(e)?e:Te(e)).length;a<l;a++)null!=(n=e[a])&&n>s&&(s=n);else t=Je(t,i),$t(e,(function(e,i,n){((r=t(e,i,n))>o||r===-1/0&&s===-1/0)&&(s=e,o=r)}));return s}function ai(e,t,i){var n,r,s=1/0,o=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=Mt(e)?e:Te(e)).length;a<l;a++)null!=(n=e[a])&&n<s&&(s=n);else t=Je(t,i),$t(e,(function(e,i,n){((r=t(e,i,n))<o||r===1/0&&s===1/0)&&(s=e,o=r)}));return s}var li=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function ui(e){return e?K(e)?d.call(e):O(e)?e.match(li):Mt(e)?Xt(e,Ue):Te(e):[]}function di(e,t,i){if(null==t||i)return Mt(e)||(e=Te(e)),e[it(e.length-1)];var n=ui(e),r=se(n);t=Math.max(Math.min(t,r),0);for(var s=r-1,o=0;o<t;o++){var a=it(o,s),l=n[o];n[o]=n[a],n[a]=l}return n.slice(0,t)}function ci(e){return di(e,1/0)}function hi(e,t,i){var n=0;return t=Je(t,i),ri(Xt(e,(function(e,i,r){return{value:e,index:n++,criteria:t(e,i,r)}})).sort((function(e,t){var i=e.criteria,n=t.criteria;if(i!==n){if(i>n||void 0===i)return 1;if(i<n||void 0===n)return-1}return e.index-t.index})),"value")}function pi(e,t){return function(i,n,r){var s=t?[[],[]]:{};return n=Je(n,r),$t(i,(function(t,r){var o=n(t,r,i);e(s,t,o)})),s}}const fi=pi((function(e,t,i){$(e,i)?e[i].push(t):e[i]=[t]})),mi=pi((function(e,t,i){e[i]=t})),gi=pi((function(e,t,i){$(e,i)?e[i]++:e[i]=1})),vi=pi((function(e,t,i){e[i?0:1].push(t)}),!0);function _i(e){return null==e?0:Mt(e)?e.length:ae(e).length}function yi(e,t,i){return t in i}const bi=C((function(e,t){var i={},n=t[0];if(null==e)return i;W(n)?(t.length>1&&(n=Xe(n,t[1])),t=ge(e)):(n=yi,t=Ct(t,!1,!1),e=Object(e));for(var r=0,s=t.length;r<s;r++){var o=t[r],a=e[o];n(a,o,e)&&(i[o]=a)}return i})),xi=C((function(e,t){var i,n=t[0];return W(n)?(n=It(n),t.length>1&&(i=t[1])):(t=Xt(Ct(t,!1,!1),String),n=function(e,i){return!ii(t,i)}),bi(e,n,i)}));function wi(e,t,i){return d.call(e,0,Math.max(0,e.length-(null==t||i?1:t)))}function Mi(e,t,i){return null==e||e.length<1?null==t||i?void 0:[]:null==t||i?e[0]:wi(e,e.length-t)}function Ci(e,t,i){return d.call(e,null==t||i?1:t)}function Si(e,t,i){return null==e||e.length<1?null==t||i?void 0:[]:null==t||i?e[e.length-1]:Ci(e,Math.max(0,e.length-t))}function Ei(e){return Qt(e,Boolean)}function ki(e,t){return Ct(e,t,!1)}const Ti=C((function(e,t){return t=Ct(t,!0,!0),Qt(e,(function(e){return!ii(t,e)}))})),Ai=C((function(e,t){return Ti(e,t)}));function Li(e,t,i,n){T(t)||(n=i,i=t,t=!1),null!=i&&(i=Je(i,n));for(var r=[],s=[],o=0,a=se(e);o<a;o++){var l=e[o],u=i?i(l,o,e):l;t&&!i?(o&&s===u||r.push(l),s=u):i?ii(s,u)||(s.push(u),r.push(l)):ii(r,l)||r.push(l)}return r}const Oi=C((function(e){return Li(Ct(e,!0,!0))}));function Ii(e){for(var t=[],i=arguments.length,n=0,r=se(e);n<r;n++){var s=e[n];if(!ii(t,s)){var o;for(o=1;o<i&&ii(arguments[o],s);o++);o===i&&t.push(s)}}return t}function ji(e){for(var t=e&&oi(e,se).length||0,i=Array(t),n=0;n<t;n++)i[n]=ri(e,n);return i}const Di=C(ji);function Pi(e,t){for(var i={},n=0,r=se(e);n<r;n++)t?i[e[n]]=t[n]:i[e[n][0]]=e[n][1];return i}function zi(e,t,i){null==t&&(t=e||0,e=0),i||(i=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/i),0),r=Array(n),s=0;s<n;s++,e+=i)r[s]=e;return r}function Bi(e,t){if(null==t||t<1)return[];for(var i=[],n=0,r=e.length;n<r;)i.push(d.call(e,n,n+=t));return i}function Ni(e,t){return e._chain?de(t).chain():t}function Ri(e){return $t(Oe(e),(function(t){var i=de[t]=e[t];de.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),Ni(this,i.apply(de,e))}})),de}$t(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=o[e];de.prototype[e]=function(){var i=this._wrapped;return null!=i&&(t.apply(i,arguments),"shift"!==e&&"splice"!==e||0!==i.length||delete i[0]),Ni(this,i)}})),$t(["concat","join","slice"],(function(e){var t=o[e];de.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Ni(this,e)}}));const Wi=de;var Hi=Ri(n);Hi._=Hi;const Fi=Hi},9500:e=>{"use strict";e.exports={rE:"3.1.6"}}},i={};function n(e){var r=i[e];if(void 0!==r)return r.exports;var s=i[e]={id:e,loaded:!1,exports:{}};return t[e].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="";var r,s,o={};return r=n(1308),(s=new URL(r.uri,document.location)).pathname=s.pathname.slice(0,s.pathname.lastIndexOf("/")+1),n.p=`${s.origin}${s.pathname}`,(()=>{"use strict";n.r(o),n.d(o,{AccordionModel:()=>Gn,AccordionView:()=>Qn,AudioModel:()=>Mi,AudioView:()=>Ci,BaseIntSliderView:()=>Yi,BoolModel:()=>ti,BoundedFloatModel:()=>ln,BoundedFloatTextModel:()=>gn,BoundedIntModel:()=>Ui,BoundedIntTextModel:()=>Zi,BoxModel:()=>ci,BoxView:()=>fi,ButtonModel:()=>ui,ButtonStyleModel:()=>li,ButtonView:()=>di,CheckboxModel:()=>ii,CheckboxView:()=>ni,ColorPickerModel:()=>Si,ColorPickerView:()=>Ei,ComboboxModel:()=>mr,ComboboxView:()=>gr,ControllerAxisModel:()=>xn,ControllerAxisView:()=>wn,ControllerButtonModel:()=>yn,ControllerButtonView:()=>bn,ControllerModel:()=>Mn,ControllerView:()=>Cn,DatePickerModel:()=>Li,DatePickerView:()=>Oi,DescriptionModel:()=>Ut,DescriptionStyleModel:()=>qt,DescriptionView:()=>Kt,DirectionalLinkModel:()=>Zt,DropdownModel:()=>En,DropdownView:()=>kn,FileUploadModel:()=>vr,FileUploadView:()=>_r,FloatLogSliderModel:()=>dn,FloatLogSliderView:()=>pn,FloatModel:()=>an,FloatProgressModel:()=>_n,FloatRangeSliderModel:()=>cn,FloatRangeSliderView:()=>fn,FloatSliderModel:()=>un,FloatSliderView:()=>hn,FloatTextModel:()=>mn,FloatTextView:()=>vn,GridBoxModel:()=>_i,GridBoxView:()=>vi,HBoxModel:()=>hi,HBoxView:()=>mi,HTMLMathModel:()=>sr,HTMLMathView:()=>or,HTMLModel:()=>nr,HTMLView:()=>rr,ImageModel:()=>yi,ImageView:()=>bi,IntModel:()=>qi,IntProgressModel:()=>nn,IntRangeSliderModel:()=>Xi,IntRangeSliderView:()=>Gi,IntSliderModel:()=>$i,IntSliderView:()=>Ji,IntTextModel:()=>Qi,IntTextView:()=>en,JUPYTER_CONTROLS_VERSION:()=>Vt,JupyterPhosphorAccordionWidget:()=>Jn,JupyterPhosphorTabPanelWidget:()=>er,LabelModel:()=>ar,LabelView:()=>lr,LabeledDOMWidgetModel:()=>$t,LabeledDOMWidgetView:()=>Xt,LinkModel:()=>ei,MultipleSelectionModel:()=>Bn,PasswordModel:()=>pr,PasswordView:()=>fr,PlayModel:()=>sn,PlayView:()=>on,ProgressStyleModel:()=>tn,ProgressView:()=>rn,RadioButtonsModel:()=>Ln,RadioButtonsView:()=>On,SelectModel:()=>Tn,SelectMultipleModel:()=>Nn,SelectMultipleView:()=>Rn,SelectView:()=>An,SelectionContainerModel:()=>Yn,SelectionModel:()=>Sn,SelectionRangeSliderModel:()=>Wn,SelectionRangeSliderView:()=>Hn,SelectionSliderModel:()=>Pn,SelectionSliderView:()=>zn,SliderStyleModel:()=>Ki,StringModel:()=>ir,TabModel:()=>Zn,TabView:()=>tr,TextModel:()=>cr,TextView:()=>hr,TextareaModel:()=>ur,TextareaView:()=>dr,ToggleButtonModel:()=>ri,ToggleButtonView:()=>si,ToggleButtonsModel:()=>jn,ToggleButtonsStyleModel:()=>In,ToggleButtonsView:()=>Dn,VBoxModel:()=>pi,VBoxView:()=>gi,ValidModel:()=>oi,ValidView:()=>ai,VideoModel:()=>xi,VideoView:()=>wi,WrappedError:()=>c,deserialize_date:()=>Ai,escape_html:()=>Ft,reject:()=>Wt,resolvePromisesDict:()=>h,serialize_date:()=>Ti,typeset:()=>Ht,uuid:()=>d,version:()=>yr}),n(7991);var e=n(6605),t=n(6343),i=n.n(t),r=n(8360),s=n.n(r);function a(e,t){return e.filter((e=>-1===t.indexOf(e)))}function l(e,t){return i()(e,t)}let u=Object.assign||function(e){for(let t=1;t<arguments.length;t++){let i=arguments[t];for(let t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e};function d(){return e.UUID.uuid4()}class c extends Error{constructor(e,t){super(e),console.warn("WrappedError has been deprecated!"),this.error_stack=t instanceof c?t.error_stack:[t],this.error_stack.push(this)}}function h(e){let t=Object.keys(e),i=[];return t.forEach((function(t){i.push(e[t])})),Promise.all(i).then((e=>{let i={};for(let n=0;n<t.length;n++)i[t[n]]=e[n];return i}))}function p(e,t){return function(i){throw t&&console.error(new Error(e)),i}}const f="1.2.0";function m(e,t,i){if(null==e)return this;let n;if("object"==typeof e?(n=e,i=t):(n={})[e]=t,i||(i={}),!this._validate(n,i))return!1;let r=i.unset,s=i.silent,o=[],a=this._changing;this._changing=!0;try{a||(this._previousAttributes=Object.assign({},this.attributes),this.changed={});let e=this.attributes,u=this.changed,d=this._previousAttributes;for(let i in n)t=n[i],l(e[i],t)||o.push(i),l(d[i],t)?delete u[i]:u[i]=t,r?delete e[i]:e[i]=t;if(this.id=this.get(this.idAttribute),!s){o.length&&(this._pending=i);for(let t=0;t<o.length;t++)this.trigger("change:"+o[t],this,e[o[t]],i)}if(a)return this;if(!s)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i)}finally{this._pending=!1,this._changing=!1}return this}"2.1.0".split(".",1)[0];var g=n(6613),v=n(4651),_=n.n(v);const y=Element.prototype;let b=y.matches||y.webkitMatchesSelector||y.mozMatchesSelector||y.msMatchesSelector||y.oMatchesSelector||function(e){let t=(this.document||this.ownerDocument).querySelectorAll(e),i=t.length;for(;--i>=0&&t.item(i)!==this;);return i>-1};class x extends g.View{_removeElement(){this.undelegateEvents(),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}_setElement(e){this.el=e}_setAttributes(e){for(let t in e)t in this.el?this.el[t]=e[t]:this.el.setAttribute(t,e[t])}delegate(e,t,i){"string"!=typeof t&&(i=t,t=null),void 0===this._domEvents&&(this._domEvents=[]);let n=this.el,r=t?function(e){let r=e.target||e.srcElement;for(;r&&r!==n;r=r.parentNode)if(b.call(r,t))return e.delegateTarget=r,i.handleEvent?i.handleEvent(e):i(e)}:i;return this.el.addEventListener(e,r,!1),this._domEvents.push({eventName:e,handler:r,listener:i,selector:t}),r}undelegate(e,t,i){if("function"==typeof t&&(i=t,t=null),this.el&&this._domEvents){let n=this._domEvents.slice(),r=n.length;for(;r--;){let s=n[r];!(s.eventName!==e||i&&s.listener!==i||t&&s.selector!==t)&&(this.el.removeEventListener(s.eventName,s.handler,!1),this._domEvents.splice(r,1))}}return this}undelegateEvents(){if(this.el&&this._domEvents){let e=this._domEvents.length;for(let t=0;t<e;t++){let e=this._domEvents[t];this.el.removeEventListener(e.eventName,e.handler,!1)}this._domEvents.length=0}return this}}var w;function M(e){return"function"==typeof e.iter?e.iter():new S(e)}function C(e,t){for(var i,n=0,r=M(e);void 0!==(i=r.next());)if(!1===t(i,n++))return}!function(e){function t(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r,s=e.length;if(0===s)return-1;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(i+o)%s;if(e[a]===t)return a}return-1}function i(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r,s=e.length;if(0===s)return-1;r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<(n=n<0?Math.max(0,n+s):Math.min(n,s-1))?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(i-o+s)%s;if(e[a]===t)return a}return-1}function n(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r,s=e.length;if(0===s)return-1;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(i+o)%s;if(t(e[a],a))return a}return-1}function r(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r,s=e.length;if(0===s)return-1;r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<(n=n<0?Math.max(0,n+s):Math.min(n,s-1))?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(i-o+s)%s;if(t(e[a],a))return a}return-1}function s(e,t,i){void 0===t&&(t=0),void 0===i&&(i=-1);var n=e.length;if(!(n<=1))for(t=t<0?Math.max(0,t+n):Math.min(t,n-1),i=i<0?Math.max(0,i+n):Math.min(i,n-1);t<i;){var r=e[t],s=e[i];e[t++]=s,e[i--]=r}}function o(e,t){var i=e.length;if(t<0&&(t+=i),!(t<0||t>=i)){for(var n=e[t],r=t+1;r<i;++r)e[r-1]=e[r];return e.length=i-1,n}}e.firstIndexOf=t,e.lastIndexOf=i,e.findFirstIndex=n,e.findLastIndex=r,e.findFirstValue=function(e,t,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=n(e,t,i,r);return-1!==s?e[s]:void 0},e.findLastValue=function(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s=r(e,t,i,n);return-1!==s?e[s]:void 0},e.lowerBound=function(e,t,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=e.length;if(0===s)return 0;for(var o=n=n<0?Math.max(0,n+s):Math.min(n,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-n+1;a>0;){var l=a>>1,u=o+l;i(e[u],t)<0?(o=u+1,a-=l+1):a=l}return o},e.upperBound=function(e,t,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=e.length;if(0===s)return 0;for(var o=n=n<0?Math.max(0,n+s):Math.min(n,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-n+1;a>0;){var l=a>>1,u=o+l;i(e[u],t)>0?a=l:(o=u+1,a-=l+1)}return o},e.shallowEqual=function(e,t,i){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;++n)if(i?!i(e[n],t[n]):e[n]!==t[n])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var i=t.start,n=t.stop,r=t.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var s,o=e.length;void 0===i?i=r<0?o-1:0:i<0?i=Math.max(i+o,r<0?-1:0):i>=o&&(i=r<0?o-1:o),void 0===n?n=r<0?-1:o:n<0?n=Math.max(n+o,r<0?-1:0):n>=o&&(n=r<0?o-1:o),s=r<0&&n>=i||r>0&&i>=n?0:r<0?Math.floor((n-i+1)/r+1):Math.floor((n-i-1)/r+1);for(var a=[],l=0;l<s;++l)a[l]=e[i+l*r];return a},e.move=function(e,t,i){var n=e.length;if(!(n<=1)&&(t=t<0?Math.max(0,t+n):Math.min(t,n-1))!==(i=i<0?Math.max(0,i+n):Math.min(i,n-1))){for(var r=e[t],s=t<i?1:-1,o=t;o!==i;o+=s)e[o]=e[o+s];e[i]=r}},e.reverse=s,e.rotate=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(!(r<=1||(i=i<0?Math.max(0,i+r):Math.min(i,r-1))>=(n=n<0?Math.max(0,n+r):Math.min(n,r-1)))){var o=n-i+1;if(t>0?t%=o:t<0&&(t=(t%o+o)%o),0!==t){var a=i+t;s(e,i,a-1),s(e,a,n),s(e,i,n)}}},e.fill=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0!==r){var s;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o)e[(i+o)%r]=t}},e.insert=function(e,t,i){var n=e.length;t=t<0?Math.max(0,t+n):Math.min(t,n);for(var r=n;r>t;--r)e[r]=e[r-1];e[t]=i},e.removeAt=o,e.removeFirstOf=function(e,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=t(e,i,n,r);return-1!==s&&o(e,s),s},e.removeLastOf=function(e,t,n,r){void 0===n&&(n=-1),void 0===r&&(r=0);var s=i(e,t,n,r);return-1!==s&&o(e,s),s},e.removeAllOf=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0===r)return 0;i=i<0?Math.max(0,i+r):Math.min(i,r-1),n=n<0?Math.max(0,n+r):Math.min(n,r-1);for(var s=0,o=0;o<r;++o)i<=n&&o>=i&&o<=n&&e[o]===t||n<i&&(o<=n||o>=i)&&e[o]===t?s++:s>0&&(e[o-s]=e[o]);return s>0&&(e.length=r-s),s},e.removeFirstWhere=function(e,t,i,r){var s;void 0===i&&(i=0),void 0===r&&(r=-1);var a=n(e,t,i,r);return-1!==a&&(s=o(e,a)),{index:a,value:s}},e.removeLastWhere=function(e,t,i,n){var s;void 0===i&&(i=-1),void 0===n&&(n=0);var a=r(e,t,i,n);return-1!==a&&(s=o(e,a)),{index:a,value:s}},e.removeAllWhere=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0===r)return 0;i=i<0?Math.max(0,i+r):Math.min(i,r-1),n=n<0?Math.max(0,n+r):Math.min(n,r-1);for(var s=0,o=0;o<r;++o)i<=n&&o>=i&&o<=n&&t(e[o],o)||n<i&&(o<=n||o>=i)&&t(e[o],o)?s++:s>0&&(e[o-s]=e[o]);return s>0&&(e.length=r-s),s}}(w||(w={}));var S=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();function E(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new k(M(e.map(M)))}(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}();var k=function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())},e}();function T(){return new A}var A=function(){function e(){}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){},e}();!function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}();var L=function(){function e(e,t){this._index=0,this._source=e,this._fn=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,i=this._source;void 0!==(e=i.next());)if(t(e,this._index++))return e},e}();function O(e,t){for(var i,n=0,r=M(e);void 0!==(i=r.next());)if(t(i,n++))return i}function I(e,t){return new D(M(e),t)}var j,D=function(){function e(e,t){this._index=0,this._source=e,this._fn=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)},e}();function P(e,t,i){var n=0,r=M(e),s=r.next();if(void 0===s&&void 0===i)throw new TypeError("Reduce of empty iterable with no initial value.");if(void 0===s)return i;var o,a,l=r.next();if(void 0===l&&void 0===i)return s;if(void 0===l)return t(i,s,n++);for(o=t(void 0===i?s:t(i,s,n++),l,n++);void 0!==(a=r.next());)o=t(o,a,n++);return o}function z(e){return new q(e,1)}!function(){function e(e,t,i){this._index=0,this._start=e,this._stop=t,this._step=i,this._length=j.rangeLength(e,t,i)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,i){return 0===i?1/0:e>t&&i>0||e<t&&i<0?0:Math.ceil((t-e)/i)}}(j||(j={}));var B,N,R,W,H,F,V,q=function(){function e(e,t){this._value=e,this._count=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value},e}();function U(e){return"function"==typeof e.iter?e.iter():new $(e)}!function(){function e(e){this._source=e,this._index=e.length-1}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,i){void 0===i&&(i=0);for(var n=new Array(t.length),r=0,s=i,o=t.length;r<o;++r,++s){if(-1===(s=e.indexOf(t[r],s)))return null;n[r]=s}return n}e.findIndices=t,e.matchSumOfSquares=function(e,i,n){void 0===n&&(n=0);var r=t(e,i,n);if(!r)return null;for(var s=0,o=0,a=r.length;o<a;++o){var l=r[o]-n;s+=l*l}return{score:s,indices:r}},e.matchSumOfDeltas=function(e,i,n){void 0===n&&(n=0);var r=t(e,i,n);if(!r)return null;for(var s=0,o=n-1,a=0,l=r.length;a<l;++a){var u=r[a];s+=u-o-1,o=u}return{score:s,indices:r}},e.highlight=function(e,t,i){for(var n=[],r=0,s=0,o=t.length;r<o;){for(var a=t[r],l=t[r];++r<o&&t[r]===l+1;)l++;s<a&&n.push(e.slice(s,a)),a<l+1&&n.push(i(e.slice(a,l+1))),s=l+1}return s<e.length&&n.push(e.slice(s)),n},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(B||(B={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,i=this._source.length;t<i;++t){var n=this._source[t].next();if(void 0===n)return;e[t]=n}return e}}(),function(e){e.copyText=function(e){var t=document.body,i=function(n){n.preventDefault(),n.stopPropagation(),n.clipboardData.setData("text",e),t.removeEventListener("copy",i,!0)};t.addEventListener("copy",i,!0),document.execCommand("copy")}}(N||(N={})),function(e){e.boxSizing=function(e){var t=window.getComputedStyle(e),i=parseFloat(t.borderTopWidth)||0,n=parseFloat(t.borderLeftWidth)||0,r=parseFloat(t.borderRightWidth)||0,s=parseFloat(t.borderBottomWidth)||0,o=parseFloat(t.paddingTop)||0,a=parseFloat(t.paddingLeft)||0,l=parseFloat(t.paddingRight)||0,u=parseFloat(t.paddingBottom)||0;return{borderTop:i,borderLeft:n,borderRight:r,borderBottom:s,paddingTop:o,paddingLeft:a,paddingRight:l,paddingBottom:u,horizontalSum:n+a+l+r,verticalSum:i+o+u+s}},e.sizeLimits=function(e){var t=window.getComputedStyle(e),i=parseFloat(t.minWidth)||0,n=parseFloat(t.minHeight)||0,r=parseFloat(t.maxWidth)||1/0,s=parseFloat(t.maxHeight)||1/0;return{minWidth:i,minHeight:n,maxWidth:r=Math.max(i,r),maxHeight:s=Math.max(n,s)}},e.hitTest=function(e,t,i){var n=e.getBoundingClientRect();return t>=n.left&&t<n.right&&i>=n.top&&i<n.bottom},e.scrollIntoViewIfNeeded=function(e,t){var i=e.getBoundingClientRect(),n=t.getBoundingClientRect();n.top<=i.top&&n.bottom>=i.bottom||(n.top<i.top&&n.height<=i.height||n.bottom>i.bottom&&n.height>=i.height?e.scrollTop-=i.top-n.top:(n.top<i.top&&n.height>i.height||n.bottom>i.bottom&&n.height<i.height)&&(e.scrollTop-=i.bottom-n.bottom))}}(R||(R={})),function(e){e.IS_MAC=!!navigator.platform.match(/Mac/i),e.IS_WIN=!!navigator.platform.match(/Win/i),e.IS_IE=/Trident/.test(navigator.userAgent),e.IS_EDGE=/Edge/.test(navigator.userAgent),e.accelKey=function(t){return e.IS_MAC?t.metaKey:t.ctrlKey}}(W||(W={})),function(e){e.calculateSpecificity=function(e){if(e in F.specificityCache)return F.specificityCache[e];var t=F.calculateSingle(e);return F.specificityCache[e]=t},e.isValid=function(e){if(e in F.validityCache)return F.validityCache[e];var t=!0;try{F.testElem.querySelector(e)}catch(e){t=!1}return F.validityCache[e]=t},e.matches=function(e,t){return F.protoMatchFunc.call(e,t)}}(H||(H={})),function(e){var t;e.specificityCache=Object.create(null),e.validityCache=Object.create(null),e.testElem=document.createElement("div"),e.protoMatchFunc=(t=Element.prototype).matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector||function(e){var t=this,i=t.ownerDocument?t.ownerDocument.querySelectorAll(e):[];return-1!==Array.prototype.indexOf.call(i,t)},e.calculateSingle=function(e){var t=0,d=0,c=0;function h(t){var i=e.match(t);return null!==i&&(e=e.slice(i[0].length),!0)}for(e=(e=e.split(",",1)[0]).replace(u," $1 ");e.length>0;)if(h(i))t++;else if(h(n))d++;else if(h(r))d++;else if(h(o))c++;else if(h(a))d++;else if(h(s))c++;else if(!h(l))return 0;return(t=Math.min(t,255))<<16|(d=Math.min(d,255))<<8|Math.min(c,255)};var i=/^#[^\s\+>~#\.\[:]+/,n=/^\.[^\s\+>~#\.\[:]+/,r=/^\[[^\]]+\]/,s=/^[^\s\+>~#\.\[:]+/,o=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,a=/^:[^\s\+>~#\.\[:]+/,l=/^[\s\+>~\*]+/,u=/:not\(([^\)]+)\)/g}(F||(F={})),function(e){function t(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r,s=e.length;if(0===s)return-1;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(i+o)%s;if(e[a]===t)return a}return-1}function i(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r,s=e.length;if(0===s)return-1;r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<(n=n<0?Math.max(0,n+s):Math.min(n,s-1))?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(i-o+s)%s;if(e[a]===t)return a}return-1}function n(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r,s=e.length;if(0===s)return-1;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(i+o)%s;if(t(e[a],a))return a}return-1}function r(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r,s=e.length;if(0===s)return-1;r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<(n=n<0?Math.max(0,n+s):Math.min(n,s-1))?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(i-o+s)%s;if(t(e[a],a))return a}return-1}function s(e,t,i){void 0===t&&(t=0),void 0===i&&(i=-1);var n=e.length;if(!(n<=1))for(t=t<0?Math.max(0,t+n):Math.min(t,n-1),i=i<0?Math.max(0,i+n):Math.min(i,n-1);t<i;){var r=e[t],s=e[i];e[t++]=s,e[i--]=r}}function o(e,t){var i=e.length;if(t<0&&(t+=i),!(t<0||t>=i)){for(var n=e[t],r=t+1;r<i;++r)e[r-1]=e[r];return e.length=i-1,n}}e.firstIndexOf=t,e.lastIndexOf=i,e.findFirstIndex=n,e.findLastIndex=r,e.findFirstValue=function(e,t,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=n(e,t,i,r);return-1!==s?e[s]:void 0},e.findLastValue=function(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s=r(e,t,i,n);return-1!==s?e[s]:void 0},e.lowerBound=function(e,t,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=e.length;if(0===s)return 0;for(var o=n=n<0?Math.max(0,n+s):Math.min(n,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-n+1;a>0;){var l=a>>1,u=o+l;i(e[u],t)<0?(o=u+1,a-=l+1):a=l}return o},e.upperBound=function(e,t,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=e.length;if(0===s)return 0;for(var o=n=n<0?Math.max(0,n+s):Math.min(n,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-n+1;a>0;){var l=a>>1,u=o+l;i(e[u],t)>0?a=l:(o=u+1,a-=l+1)}return o},e.shallowEqual=function(e,t,i){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;++n)if(i?!i(e[n],t[n]):e[n]!==t[n])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var i=t.start,n=t.stop,r=t.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var s,o=e.length;void 0===i?i=r<0?o-1:0:i<0?i=Math.max(i+o,r<0?-1:0):i>=o&&(i=r<0?o-1:o),void 0===n?n=r<0?-1:o:n<0?n=Math.max(n+o,r<0?-1:0):n>=o&&(n=r<0?o-1:o),s=r<0&&n>=i||r>0&&i>=n?0:r<0?Math.floor((n-i+1)/r+1):Math.floor((n-i-1)/r+1);for(var a=[],l=0;l<s;++l)a[l]=e[i+l*r];return a},e.move=function(e,t,i){var n=e.length;if(!(n<=1)&&(t=t<0?Math.max(0,t+n):Math.min(t,n-1))!==(i=i<0?Math.max(0,i+n):Math.min(i,n-1))){for(var r=e[t],s=t<i?1:-1,o=t;o!==i;o+=s)e[o]=e[o+s];e[i]=r}},e.reverse=s,e.rotate=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(!(r<=1||(i=i<0?Math.max(0,i+r):Math.min(i,r-1))>=(n=n<0?Math.max(0,n+r):Math.min(n,r-1)))){var o=n-i+1;if(t>0?t%=o:t<0&&(t=(t%o+o)%o),0!==t){var a=i+t;s(e,i,a-1),s(e,a,n),s(e,i,n)}}},e.fill=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0!==r){var s;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o)e[(i+o)%r]=t}},e.insert=function(e,t,i){var n=e.length;t=t<0?Math.max(0,t+n):Math.min(t,n);for(var r=n;r>t;--r)e[r]=e[r-1];e[t]=i},e.removeAt=o,e.removeFirstOf=function(e,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=t(e,i,n,r);return-1!==s&&o(e,s),s},e.removeLastOf=function(e,t,n,r){void 0===n&&(n=-1),void 0===r&&(r=0);var s=i(e,t,n,r);return-1!==s&&o(e,s),s},e.removeAllOf=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0===r)return 0;i=i<0?Math.max(0,i+r):Math.min(i,r-1),n=n<0?Math.max(0,n+r):Math.min(n,r-1);for(var s=0,o=0;o<r;++o)i<=n&&o>=i&&o<=n&&e[o]===t||n<i&&(o<=n||o>=i)&&e[o]===t?s++:s>0&&(e[o-s]=e[o]);return s>0&&(e.length=r-s),s},e.removeFirstWhere=function(e,t,i,r){var s;void 0===i&&(i=0),void 0===r&&(r=-1);var a=n(e,t,i,r);return-1!==a&&(s=o(e,a)),{index:a,value:s}},e.removeLastWhere=function(e,t,i,n){var s;void 0===i&&(i=-1),void 0===n&&(n=0);var a=r(e,t,i,n);return-1!==a&&(s=o(e,a)),{index:a,value:s}},e.removeAllWhere=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0===r)return 0;i=i<0?Math.max(0,i+r):Math.min(i,r-1),n=n<0?Math.max(0,n+r):Math.min(n,r-1);for(var s=0,o=0;o<r;++o)i<=n&&o>=i&&o<=n&&t(e[o],o)||n<i&&(o<=n||o>=i)&&t(e[o],o)?s++:s>0&&(e[o-s]=e[o]);return s>0&&(e.length=r-s),s}}(V||(V={}));var K,$=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())}}(),function(){function e(){}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){}}(),function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,i=this._source;void 0!==(e=i.next());)if(t(e,this._index++))return e}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)}}(),function(){function e(e,t,i){this._index=0,this._start=e,this._stop=t,this._step=i,this._length=K.rangeLength(e,t,i)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,i){return 0===i?1/0:e>t&&i>0||e<t&&i<0?0:Math.ceil((t-e)/i)}}(K||(K={})),function(){function e(e,t){this._value=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}();var X,Y,G=function(){function e(e){this._source=e,this._index=e.length-1}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]},e}();function J(e,t){for(var i,n=0,r=function(e){return"function"==typeof e.iter?e.iter():new Q(e)}(e);void 0!==(i=r.next());)if(!1===t(i,n++))return}!function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,i){void 0===i&&(i=0);for(var n=new Array(t.length),r=0,s=i,o=t.length;r<o;++r,++s){if(-1===(s=e.indexOf(t[r],s)))return null;n[r]=s}return n}e.findIndices=t,e.matchSumOfSquares=function(e,i,n){void 0===n&&(n=0);var r=t(e,i,n);if(!r)return null;for(var s=0,o=0,a=r.length;o<a;++o){var l=r[o]-n;s+=l*l}return{score:s,indices:r}},e.matchSumOfDeltas=function(e,i,n){void 0===n&&(n=0);var r=t(e,i,n);if(!r)return null;for(var s=0,o=n-1,a=0,l=r.length;a<l;++a){var u=r[a];s+=u-o-1,o=u}return{score:s,indices:r}},e.highlight=function(e,t,i){for(var n=[],r=0,s=0,o=t.length;r<o;){for(var a=t[r],l=t[r];++r<o&&t[r]===l+1;)l++;s<a&&n.push(e.slice(s,a)),a<l+1&&n.push(i(e.slice(a,l+1))),s=l+1}return s<e.length&&n.push(e.slice(s)),n},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(X||(X={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,i=this._source.length;t<i;++t){var n=this._source[t].next();if(void 0===n)return;e[t]=n}return e}}(),function(e){function t(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r,s=e.length;if(0===s)return-1;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(i+o)%s;if(e[a]===t)return a}return-1}function i(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r,s=e.length;if(0===s)return-1;r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<(n=n<0?Math.max(0,n+s):Math.min(n,s-1))?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(i-o+s)%s;if(e[a]===t)return a}return-1}function n(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r,s=e.length;if(0===s)return-1;i=i<0?Math.max(0,i+s):Math.min(i,s-1),r=(n=n<0?Math.max(0,n+s):Math.min(n,s-1))<i?n+1+(s-i):n-i+1;for(var o=0;o<r;++o){var a=(i+o)%s;if(t(e[a],a))return a}return-1}function r(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var r,s=e.length;if(0===s)return-1;r=(i=i<0?Math.max(0,i+s):Math.min(i,s-1))<(n=n<0?Math.max(0,n+s):Math.min(n,s-1))?i+1+(s-n):i-n+1;for(var o=0;o<r;++o){var a=(i-o+s)%s;if(t(e[a],a))return a}return-1}function s(e,t,i){void 0===t&&(t=0),void 0===i&&(i=-1);var n=e.length;if(!(n<=1))for(t=t<0?Math.max(0,t+n):Math.min(t,n-1),i=i<0?Math.max(0,i+n):Math.min(i,n-1);t<i;){var r=e[t],s=e[i];e[t++]=s,e[i--]=r}}function o(e,t){var i=e.length;if(t<0&&(t+=i),!(t<0||t>=i)){for(var n=e[t],r=t+1;r<i;++r)e[r-1]=e[r];return e.length=i-1,n}}e.firstIndexOf=t,e.lastIndexOf=i,e.findFirstIndex=n,e.findLastIndex=r,e.findFirstValue=function(e,t,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var s=n(e,t,i,r);return-1!==s?e[s]:void 0},e.findLastValue=function(e,t,i,n){void 0===i&&(i=-1),void 0===n&&(n=0);var s=r(e,t,i,n);return-1!==s?e[s]:void 0},e.lowerBound=function(e,t,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=e.length;if(0===s)return 0;for(var o=n=n<0?Math.max(0,n+s):Math.min(n,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-n+1;a>0;){var l=a>>1,u=o+l;i(e[u],t)<0?(o=u+1,a-=l+1):a=l}return o},e.upperBound=function(e,t,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=e.length;if(0===s)return 0;for(var o=n=n<0?Math.max(0,n+s):Math.min(n,s-1),a=(r=r<0?Math.max(0,r+s):Math.min(r,s-1))-n+1;a>0;){var l=a>>1,u=o+l;i(e[u],t)>0?a=l:(o=u+1,a-=l+1)}return o},e.shallowEqual=function(e,t,i){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;++n)if(i?!i(e[n],t[n]):e[n]!==t[n])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var i=t.start,n=t.stop,r=t.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var s,o=e.length;void 0===i?i=r<0?o-1:0:i<0?i=Math.max(i+o,r<0?-1:0):i>=o&&(i=r<0?o-1:o),void 0===n?n=r<0?-1:o:n<0?n=Math.max(n+o,r<0?-1:0):n>=o&&(n=r<0?o-1:o),s=r<0&&n>=i||r>0&&i>=n?0:r<0?Math.floor((n-i+1)/r+1):Math.floor((n-i-1)/r+1);for(var a=[],l=0;l<s;++l)a[l]=e[i+l*r];return a},e.move=function(e,t,i){var n=e.length;if(!(n<=1)&&(t=t<0?Math.max(0,t+n):Math.min(t,n-1))!==(i=i<0?Math.max(0,i+n):Math.min(i,n-1))){for(var r=e[t],s=t<i?1:-1,o=t;o!==i;o+=s)e[o]=e[o+s];e[i]=r}},e.reverse=s,e.rotate=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(!(r<=1||(i=i<0?Math.max(0,i+r):Math.min(i,r-1))>=(n=n<0?Math.max(0,n+r):Math.min(n,r-1)))){var o=n-i+1;if(t>0?t%=o:t<0&&(t=(t%o+o)%o),0!==t){var a=i+t;s(e,i,a-1),s(e,a,n),s(e,i,n)}}},e.fill=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0!==r){var s;i=i<0?Math.max(0,i+r):Math.min(i,r-1),s=(n=n<0?Math.max(0,n+r):Math.min(n,r-1))<i?n+1+(r-i):n-i+1;for(var o=0;o<s;++o)e[(i+o)%r]=t}},e.insert=function(e,t,i){var n=e.length;t=t<0?Math.max(0,t+n):Math.min(t,n);for(var r=n;r>t;--r)e[r]=e[r-1];e[t]=i},e.removeAt=o,e.removeFirstOf=function(e,i,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var s=t(e,i,n,r);return-1!==s&&o(e,s),s},e.removeLastOf=function(e,t,n,r){void 0===n&&(n=-1),void 0===r&&(r=0);var s=i(e,t,n,r);return-1!==s&&o(e,s),s},e.removeAllOf=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0===r)return 0;i=i<0?Math.max(0,i+r):Math.min(i,r-1),n=n<0?Math.max(0,n+r):Math.min(n,r-1);for(var s=0,o=0;o<r;++o)i<=n&&o>=i&&o<=n&&e[o]===t||n<i&&(o<=n||o>=i)&&e[o]===t?s++:s>0&&(e[o-s]=e[o]);return s>0&&(e.length=r-s),s},e.removeFirstWhere=function(e,t,i,r){var s;void 0===i&&(i=0),void 0===r&&(r=-1);var a=n(e,t,i,r);return-1!==a&&(s=o(e,a)),{index:a,value:s}},e.removeLastWhere=function(e,t,i,n){var s;void 0===i&&(i=-1),void 0===n&&(n=0);var a=r(e,t,i,n);return-1!==a&&(s=o(e,a)),{index:a,value:s}},e.removeAllWhere=function(e,t,i,n){void 0===i&&(i=0),void 0===n&&(n=-1);var r=e.length;if(0===r)return 0;i=i<0?Math.max(0,i+r):Math.min(i,r-1),n=n<0?Math.max(0,n+r):Math.min(n,r-1);for(var s=0,o=0;o<r;++o)i<=n&&o>=i&&o<=n&&t(e[o],o)||n<i&&(o<=n||o>=i)&&t(e[o],o)?s++:s>0&&(e[o-s]=e[o]);return s>0&&(e.length=r-s),s}}(Y||(Y={}));var Q=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();function Z(){return new ie}(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())}}();var ee,te,ie=function(){function e(){}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){},e}();!function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,i=this._source;void 0!==(e=i.next());)if(t(e,this._index++))return e}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)}}(),function(){function e(e,t,i){this._index=0,this._start=e,this._stop=t,this._step=i,this._length=ee.rangeLength(e,t,i)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,i){return 0===i?1/0:e>t&&i>0||e<t&&i<0?0:Math.ceil((t-e)/i)}}(ee||(ee={})),function(){function e(e,t){this._value=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}(),function(){function e(e){this._source=e,this._index=e.length-1}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,i){void 0===i&&(i=0);for(var n=new Array(t.length),r=0,s=i,o=t.length;r<o;++r,++s){if(-1===(s=e.indexOf(t[r],s)))return null;n[r]=s}return n}e.findIndices=t,e.matchSumOfSquares=function(e,i,n){void 0===n&&(n=0);var r=t(e,i,n);if(!r)return null;for(var s=0,o=0,a=r.length;o<a;++o){var l=r[o]-n;s+=l*l}return{score:s,indices:r}},e.matchSumOfDeltas=function(e,i,n){void 0===n&&(n=0);var r=t(e,i,n);if(!r)return null;for(var s=0,o=n-1,a=0,l=r.length;a<l;++a){var u=r[a];s+=u-o-1,o=u}return{score:s,indices:r}},e.highlight=function(e,t,i){for(var n=[],r=0,s=0,o=t.length;r<o;){for(var a=t[r],l=t[r];++r<o&&t[r]===l+1;)l++;s<a&&n.push(e.slice(s,a)),a<l+1&&n.push(i(e.slice(a,l+1))),s=l+1}return s<e.length&&n.push(e.slice(s)),n},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(te||(te={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,i=this._source.length;t<i;++t){var n=this._source[t].next();if(void 0===n)return;e[t]=n}return e}}();var ne,re=function(){function e(e){this._root=new ne.LeafNode,this.cmp=e}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){var e=ne.firstLeaf(this._root);return e.size>0?e.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=ne.lastLeaf(this._root);return e.size>0?e.items[e.size-1]:void 0},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return ne.iterItems(this._root)},e.prototype.retro=function(){return ne.retroItems(this._root)},e.prototype.slice=function(e,t){return ne.sliceItems(this._root,e,t)},e.prototype.retroSlice=function(e,t){return ne.retroSliceItems(this._root,e,t)},e.prototype.at=function(e){return ne.itemAt(this._root,e)},e.prototype.has=function(e,t){return ne.hasItem(this._root,e,t)},e.prototype.indexOf=function(e,t){return ne.indexOf(this._root,e,t)},e.prototype.get=function(e,t){return ne.getItem(this._root,e,t)},e.prototype.assign=function(e){this.clear(),this.update(e)},e.prototype.insert=function(e){var t=ne.insertItem(this._root,e,this.cmp);return this._root=ne.maybeSplitRoot(this._root),t},e.prototype.update=function(e){var t=this;J(e,(function(e){t.insert(e)}))},e.prototype.delete=function(e,t){var i=ne.deleteItem(this._root,e,t);return this._root=ne.maybeExtractRoot(this._root),i},e.prototype.remove=function(e){var t=ne.removeItem(this._root,e);return this._root=ne.maybeExtractRoot(this._root),t},e.prototype.clear=function(){ne.clear(this._root),this._root=new ne.LeafNode},e}();!function(e){e.from=function(t,i){var n=new e(i);return n.assign(t),n}}(re||(re={})),function(e){var t=function(){function e(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(e.prototype,"type",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),e}();e.BranchNode=t;var i=function(){function e(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(e.prototype,"type",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),e}();function n(e){for(;0===e.type;)e=e.children[0];return e}function r(e){for(;0===e.type;)e=e.children[e.children.length-1];return e}function s(e){0===e.type?(J(e.children,s),e.children.length=0,e.sizes.length=0,e.items.length=0):(e.items.length=0,e.next=null,e.prev=null)}e.LeafNode=i,e.firstLeaf=n,e.lastLeaf=r,e.iterItems=function(e){var t=n(e);return new l(t,0,-1)},e.retroItems=function(e){var t=r(e);return new u(t,t.size-1,-1)},e.sliceItems=function(e,t,i){t=void 0===t?0:t<0?Math.max(0,t+e.size):Math.min(t,e.size),i=void 0===i?e.size:i<0?Math.max(0,i+e.size):Math.min(i,e.size);var n=Math.max(0,i-t);if(0===n)return Z();for(;0===e.type;){var r=d(e.sizes,t);r>0&&(t-=e.sizes[r-1]),e=e.children[r]}return new l(e,t,n)},e.retroSliceItems=function(e,t,i){t=void 0===t?e.size-1:t<0?Math.max(-1,t+e.size):Math.min(t,e.size-1),i=void 0===i?-1:i<0?Math.max(-1,i+e.size):Math.min(i,e.size-1);var n=Math.max(0,t-i);if(0===n)return Z();for(;0===e.type;){var r=d(e.sizes,t);r>0&&(t-=e.sizes[r-1]),e=e.children[r]}return new u(e,t,n)},e.itemAt=function(e,t){if(t<0&&(t+=e.size),!(t<0||t>=e.size)){for(;0===e.type;){var i=d(e.sizes,t);i>0&&(t-=e.sizes[i-1]),e=e.children[i]}return e.items[t]}},e.hasItem=function(e,t,i){for(;0===e.type;){var n=c(e.items,t,i);e=e.children[n]}return h(e.items,t,i)>=0},e.indexOf=function(e,t,i){for(var n=0;0===e.type;){var r=c(e.items,t,i);r>0&&(n+=e.sizes[r-1]),e=e.children[r]}var s=h(e.items,t,i);return s>=0?n+s:-n+s},e.getItem=function(e,t,i){for(;0===e.type;){var n=c(e.items,t,i);e=e.children[n]}var r=h(e.items,t,i);return r>=0?e.items[r]:void 0},e.insertItem=function e(t,i,n){if(1===t.type){var r,s=h(t.items,i,n);return s>=0?(r=t.items[s],t.items[s]=i):(r=void 0,Y.insert(t.items,-s-1,i)),r}var a=c(t.items,i,n),l=t.children[a],u=l.size,d=e(l,i,n),m=l.size;if(t.items[a]=l.items[0],u===m)return d;if(l.width>o){var g=f(l);Y.insert(t.children,a+1,g),Y.insert(t.items,a+1,g.items[0])}return p(t,a),d},e.deleteItem=function e(t,i,n){if(1===t.type){var r=h(t.items,i,n);if(r<0)return;return Y.removeAt(t.items,r)}var s=c(t.items,i,n),o=t.children[s],l=o.size,u=e(o,i,n);return l===o.size||(t.items[s]=o.items[0],o.width<a&&(s=m(t,s)),p(t,s)),u},e.removeItem=function e(t,i){if(i<0&&(i+=t.size),!(i<0||i>=t.size)){if(1===t.type)return Y.removeAt(t.items,i);var n=d(t.sizes,i);n>0&&(i-=t.sizes[n]);var r=t.children[n],s=e(r,i);return t.items[n]=r.items[0],r.width<a&&(n=m(t,n)),p(t,n),s}},e.clear=s,e.maybeSplitRoot=function(e){if(e.width<=o)return e;var i=new t,n=f(e);return i.sizes[0]=e.size,i.sizes[1]=e.size+n.size,i.children[0]=e,i.children[1]=n,i.items[0]=e.items[0],i.items[1]=n.items[0],i},e.maybeExtractRoot=function(e){if(1===e.type)return e;if(e.children.length>1)return e;var t=e.children.pop();return s(e),t};var o=32,a=o>>1,l=function(){function e(e,t,i){this._node=e,this._index=t,this._count=i}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node,this._index,this._count)},e.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},e}(),u=function(){function e(e,t,i){this._node=e,this._index=t,this._count=i}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node,this._index,this._count)},e.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},e}();function d(e,t){for(var i=e.length,n=0;n<i;++n)if(e[n]>t)return n;return i-1}function c(e,t,i){for(var n=e.length,r=1;r<n;++r)if(i(e[r],t)>0)return r-1;return n-1}function h(e,t,i){for(var n=e.length,r=0;r<n;++r){var s=i(e[r],t);if(0===s)return r;if(s>0)return-r-1}return-n-1}function p(e,t){for(var i=e.sizes,n=e.children,r=t>0?i[t-1]:0,s=n.length;t<s;++t)r=i[t]=r+n[t].size;i.length=n.length}function f(e){if(1===e.type){for(var n=new i,r=e.items,s=n.items,o=a,l=r.length;o<l;++o)s.push(r[o]);return r.length=a,e.next&&(e.next.prev=n),n.next=e.next,n.prev=e,e.next=n,n}var u=new t,d=e.children,c=u.children;for(o=a,l=d.length;o<l;++o)c.push(d[o]);d.length=a;var h=e.items,f=u.items;for(o=a,l=h.length;o<l;++o)f.push(h[o]);return h.length=a,p(e,a),p(u,0),u}function m(e,t){var i,n,r,o,l,u,d=e.children[t],c=0===t?e.children[t+1]:e.children[t-1],h=0===t,f=1===d.type,m=c.width>a;if(f&&m&&h){var g=c;return(v=d).items.push(g.items.shift()),e.items[t+1]=g.items[0],t}if(f&&m&&!h)return g=c,(v=d).items.unshift(g.items.pop()),e.items[t]=v.items[0],t-1;if(f&&!m&&h){var v=d;return(i=(g=c).items).unshift.apply(i,v.items),Y.removeAt(e.children,t),Y.removeAt(e.items,t+1),v.prev&&(v.prev.next=g),g.prev=v.prev,s(v),t}if(f&&!m&&!h)return v=d,(n=(g=c).items).push.apply(n,v.items),Y.removeAt(e.children,t),Y.removeAt(e.items,t),v.next&&(v.next.prev=g),g.next=v.next,s(v),t-1;if(!f&&m&&h)return g=c,(v=d).children.push(g.children.shift()),v.items.push(g.items.shift()),e.items[t+1]=g.items[0],p(v,v.width-1),p(g,0),t;if(!f&&m&&!h)return g=c,(v=d).children.unshift(g.children.pop()),v.items.unshift(g.items.pop()),e.items[t]=v.items[0],p(v,0),p(g,g.width-1),t-1;if(!f&&!m&&h)return v=d,(r=(g=c).children).unshift.apply(r,v.children),(o=g.items).unshift.apply(o,v.items),Y.removeAt(e.children,t),Y.removeAt(e.items,t+1),p(g,0),v.children.length=0,s(v),t;if(!f&&!m&&!h)return v=d,(l=(g=c).children).push.apply(l,v.children),(u=g.items).push.apply(u,v.items),Y.removeAt(e.children,t),Y.removeAt(e.items,t),p(g,0),v.children.length=0,s(v),t-1;throw"unreachable"}}(ne||(ne={}));var se,oe=function(){function e(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstNode",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastNode",{get:function(){return this._last},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return new e.ForwardValueIterator(this._first)},e.prototype.retro=function(){return new e.RetroValueIterator(this._last)},e.prototype.nodes=function(){return new e.ForwardNodeIterator(this._first)},e.prototype.retroNodes=function(){return new e.RetroNodeIterator(this._last)},e.prototype.assign=function(e){var t=this;this.clear(),J(e,(function(e){t.addLast(e)}))},e.prototype.push=function(e){this.addLast(e)},e.prototype.pop=function(){return this.removeLast()},e.prototype.shift=function(e){this.addFirst(e)},e.prototype.unshift=function(){return this.removeFirst()},e.prototype.addFirst=function(e){var t=new se.LinkedListNode(this,e);return this._first?(t.next=this._first,this._first.prev=t,this._first=t):(this._first=t,this._last=t),this._size++,t},e.prototype.addLast=function(e){var t=new se.LinkedListNode(this,e);return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._first=t,this._last=t),this._size++,t},e.prototype.insertBefore=function(e,t){if(!t||t===this._first)return this.addFirst(e);if(!(t instanceof se.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");var i=new se.LinkedListNode(this,e),n=t,r=n.prev;return i.next=n,i.prev=r,n.prev=i,r.next=i,this._size++,i},e.prototype.insertAfter=function(e,t){if(!t||t===this._last)return this.addLast(e);if(!(t instanceof se.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");var i=new se.LinkedListNode(this,e),n=t,r=n.next;return i.next=r,i.prev=n,n.next=i,r.prev=i,this._size++,i},e.prototype.removeFirst=function(){var e=this._first;if(e)return e===this._last?(this._first=null,this._last=null):(this._first=e.next,this._first.prev=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value},e.prototype.removeLast=function(){var e=this._last;if(e)return e===this._first?(this._first=null,this._last=null):(this._last=e.prev,this._last.next=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value},e.prototype.removeNode=function(e){if(!(e instanceof se.LinkedListNode)||e.list!==this)throw new Error("Node is not owned by the list.");var t=e;t===this._first&&t===this._last?(this._first=null,this._last=null):t===this._first?(this._first=t.next,this._first.prev=null):t===this._last?(this._last=t.prev,this._last.next=null):(t.next.prev=t.prev,t.prev.next=t.next),t.list=null,t.next=null,t.prev=null,this._size--},e.prototype.clear=function(){for(var e=this._first;e;){var t=e.next;e.list=null,e.prev=null,e.next=null,e=t}this._first=null,this._last=null,this._size=0},e}();!function(e){e.from=function(t){var i=new e;return i.assign(t),i};var t=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.next,e.value}},e}();e.ForwardValueIterator=t;var i=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.prev,e.value}},e}();e.RetroValueIterator=i;var n=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.next,e}},e}();e.ForwardNodeIterator=n;var r=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.prev,e}},e}();e.RetroNodeIterator=r}(oe||(oe={})),function(e){e.LinkedListNode=function(e,t){this.list=null,this.next=null,this.prev=null,this.list=e,this.value=t}}(se||(se={}));var ae,le=function(e,t){return le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},le(e,t)},ue=function(){function e(e){this.type=e}return Object.defineProperty(e.prototype,"isConflatable",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.conflate=function(e){return!1},e}(),de=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}le(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(t,e),Object.defineProperty(t.prototype,"isConflatable",{get:function(){return!0},enumerable:!0,configurable:!0}),t.prototype.conflate=function(e){return!0},t}(ue);!function(e){function t(e,t){var i=n.get(e);if(i&&0!==i.length){var r,o=function(i,n){for(var r,o=U(i);void 0!==(r=o.next());)if((a=r)&&!function(e,t,i){var n=!0;try{n="function"==typeof e?e(t,i):e.messageHook(t,i)}catch(e){s(e)}return n}(a,e,t))return!1;var a;return!0}("function"==typeof(r=i).retro?r.retro():new G(r));o&&d(e,t)}else d(e,t)}e.sendMessage=t,e.postMessage=function(e,t){t.isConflatable&&function(i,n){for(var r,s=U(i);void 0!==(r=s.next());)if((o=r).handler===e&&o.msg&&o.msg.type===t.type&&o.msg.isConflatable&&o.msg.conflate(t))return!0;var o;return!1}(i)||function(e,t){i.addLast({handler:e,msg:t}),0===o&&(o=l(c))}(e,t)},e.installMessageHook=function(e,t){var i=n.get(e);i&&-1!==i.indexOf(t)||(i?i.push(t):n.set(e,[t]))},e.removeMessageHook=function(e,t){var i=n.get(e);if(i){var r=i.indexOf(t);-1!==r&&(i[r]=null,h(i))}},e.clearData=function(e){var t=n.get(e);t&&t.length>0&&(V.fill(t,null),h(t)),function(e,t){for(var i,n=0,r=U(e);void 0!==(i=r.next());)if(!1===t(i,n++))return}(i,(function(t){t.handler===e&&(t.handler=null,t.msg=null)}))},e.flush=function(){a||0===o||(u(o),a=!0,c(),a=!1)},e.getExceptionHandler=function(){return s},e.setExceptionHandler=function(e){var t=s;return s=e,t};var i=new oe,n=new WeakMap,r=new Set,s=function(e){console.error(e)},o=0,a=!1,l="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate,u="function"==typeof cancelAnimationFrame?cancelAnimationFrame:clearImmediate;function d(e,t){try{e.processMessage(t)}catch(e){s(e)}}function c(){if(o=0,!i.isEmpty){var e={handler:null,msg:null};for(i.addLast(e);;){var n=i.removeFirst();if(n===e)return;n.handler&&n.msg&&t(n.handler,n.msg)}}}function h(e){0===r.size&&l(p),r.add(e)}function p(){r.forEach(f),r.clear()}function f(e){V.removeAllWhere(e,m)}function m(e){return null===e}}(ae||(ae={}));var ce,he=function(){function e(e){this._pid=ce.nextPID(),this.name=e.name,this._create=e.create,this._coerce=e.coerce||null,this._compare=e.compare||null,this._changed=e.changed||null}return e.prototype.get=function(e){var t=ce.ensureMap(e);return this._pid in t?t[this._pid]:t[this._pid]=this._createValue(e)},e.prototype.set=function(e,t){var i,n=ce.ensureMap(e);i=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(e);var r=this._coerceValue(e,t);this._maybeNotify(e,i,n[this._pid]=r)},e.prototype.coerce=function(e){var t,i=ce.ensureMap(e);t=this._pid in i?i[this._pid]:i[this._pid]=this._createValue(e);var n=this._coerceValue(e,t);this._maybeNotify(e,t,i[this._pid]=n)},e.prototype._createValue=function(e){return(0,this._create)(e)},e.prototype._coerceValue=function(e,t){var i=this._coerce;return i?i(e,t):t},e.prototype._compareValue=function(e,t){var i=this._compare;return i?i(e,t):e===t},e.prototype._maybeNotify=function(e,t,i){var n=this._changed;n&&!this._compareValue(t,i)&&n(e,t,i)},e}();!function(e){e.clearData=function(e){ce.ownerData.delete(e)}}(he||(he={})),function(e){var t;e.ownerData=new WeakMap,e.nextPID=(t=0,function(){return"pid-"+(""+Math.random()).slice(2)+"-"+t++}),e.ensureMap=function(t){var i=e.ownerData.get(t);return i||(i=Object.create(null),e.ownerData.set(t,i),i)}}(ce||(ce={}));var pe,fe=function(){function e(e){this._blockedCount=0,this.sender=e}return e.prototype.block=function(e){this._blockedCount++;try{e()}finally{this._blockedCount--}},e.prototype.connect=function(e,t){return pe.connect(this,e,t)},e.prototype.disconnect=function(e,t){return pe.disconnect(this,e,t)},e.prototype.emit=function(e){this._blockedCount||pe.emit(this,e)},e}();!function(e){e.blockAll=function(e,t){var i=pe.blockedProperty;i.set(e,i.get(e)+1);try{t()}finally{i.set(e,i.get(e)-1)}},e.disconnectBetween=function(e,t){pe.disconnectBetween(e,t)},e.disconnectSender=function(e){pe.disconnectSender(e)},e.disconnectReceiver=function(e){pe.disconnectReceiver(e)},e.disconnectAll=function(e){pe.disconnectAll(e)},e.clearData=function(e){pe.disconnectAll(e)},e.getExceptionHandler=function(){return pe.exceptionHandler},e.setExceptionHandler=function(e){var t=pe.exceptionHandler;return pe.exceptionHandler=e,t}}(fe||(fe={})),function(e){function t(e){var t=n.get(e);t&&0!==t.length&&(C(t,(function(e){if(e.signal){var t=e.thisArg||e.slot;e.signal=null,u(r.get(t))}})),u(t))}function i(e){var t=r.get(e);t&&0!==t.length&&(C(t,(function(e){if(e.signal){var t=e.signal.sender;e.signal=null,u(n.get(t))}})),u(t))}e.exceptionHandler=function(e){console.error(e)},e.connect=function(e,t,i){i=i||void 0;var s=n.get(e.sender);if(s||(s=[],n.set(e.sender,s)),a(s,e,t,i))return!1;var o=i||t,l=r.get(o);l||(l=[],r.set(o,l));var u={signal:e,slot:t,thisArg:i};return s.push(u),l.push(u),!0},e.disconnect=function(e,t,i){i=i||void 0;var s=n.get(e.sender);if(!s||0===s.length)return!1;var o=a(s,e,t,i);if(!o)return!1;var l=i||t,d=r.get(l);return o.signal=null,u(s),u(d),!0},e.disconnectBetween=function(e,t){var i=n.get(e);if(i&&0!==i.length){var s=r.get(t);s&&0!==s.length&&(C(s,(function(t){t.signal&&t.signal.sender===e&&(t.signal=null)})),u(i),u(s))}},e.disconnectSender=t,e.disconnectReceiver=i,e.disconnectAll=function(e){t(e),i(e)},e.emit=function(t,i){if(!(e.blockedProperty.get(t.sender)>0)){var r=n.get(t.sender);if(r&&0!==r.length)for(var s=0,o=r.length;s<o;++s){var a=r[s];a.signal===t&&l(a,i)}}};var n=new WeakMap,r=new WeakMap,s=new Set,o="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate;function a(e,t,i,n){return O(e,(function(e){return e.signal===t&&e.slot===i&&e.thisArg===n}))}function l(t,i){var n=t.signal,r=t.slot,s=t.thisArg;try{r.call(s,n.sender,i)}catch(t){e.exceptionHandler(t)}}function u(e){0===s.size&&o(d),s.add(e)}function d(){s.forEach(c),s.clear()}function c(e){w.removeAllWhere(e,h)}function h(e){return null===e.signal}e.blockedProperty=new he({name:"blocked",create:function(){return 0}})}(pe||(pe={}));var me=function(e,t){return me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},me(e,t)};function ge(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var ve=function(){function e(e){this._fn=e}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return!this._fn},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){if(this._fn){var e=this._fn;this._fn=null,e()}},e}(),_e=(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._disposed=new fe(t),t}ge(t,e),Object.defineProperty(t.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(e.prototype.dispose.call(this),this._disposed.emit(void 0),fe.clearData(this))}}(ve),function(){function e(){this._isDisposed=!1,this._items=new Set}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._items.forEach((function(e){e.dispose()})),this._items.clear())},e.prototype.contains=function(e){return this._items.has(e)},e.prototype.add=function(e){this._items.add(e)},e.prototype.remove=function(e){this._items.delete(e)},e.prototype.clear=function(){this._items.clear()},e}());!function(e){e.from=function(t){var i=new e;return C(t,(function(e){i.add(e)})),i}}(_e||(_e={}));var ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._disposed=new fe(t),t}return ge(t,e),Object.defineProperty(t.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(e.prototype.dispose.call(this),this._disposed.emit(void 0),fe.clearData(this))},t}(_e);!function(e){e.from=function(t){var i=new e;return C(t,(function(e){i.add(e)})),i}}(ye||(ye={}));var be,xe=function(){function e(e){var t=this;this._onScrollFrame=function(){if(t._scrollTarget){var e=t._scrollTarget,i=e.element,n=e.edge,r=e.distance,s=be.SCROLL_EDGE_SIZE-r,o=Math.pow(s/be.SCROLL_EDGE_SIZE,2),a=Math.max(1,Math.round(o*be.SCROLL_EDGE_SIZE));switch(n){case"top":i.scrollTop-=a;break;case"left":i.scrollLeft-=a;break;case"right":i.scrollLeft+=a;break;case"bottom":i.scrollTop+=a}requestAnimationFrame(t._onScrollFrame)}},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=e.document||document,this.mimeData=e.mimeData,this.dragImage=e.dragImage||null,this.proposedAction=e.proposedAction||"copy",this.supportedActions=e.supportedActions||"all",this.source=e.source||null}return e.prototype.dispose=function(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){var e=be.createMouseEvent("pointerup",-1,-1);be.dispatchDragLeave(this,this._currentTarget,null,e)}this._finalize("none")}},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),e.prototype.start=function(e,t){var i=this;if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(e,t),this._promise=new Promise((function(e,t){i._resolve=e}));var n=be.createMouseEvent("pointermove",e,t);return document.dispatchEvent(n),this._promise},e.prototype.handleEvent=function(e){switch(e.type){case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;default:e.preventDefault(),e.stopPropagation()}},e.prototype.moveDragImage=function(e,t){if(this.dragImage){var i=this.dragImage.style;i.top=t+"px",i.left=e+"px"}},e.prototype._evtMouseMove=function(e){e.preventDefault(),e.stopPropagation(),this._updateCurrentTarget(e),this._updateDragScroll(e),this.moveDragImage(e.clientX,e.clientY)},e.prototype._evtMouseUp=function(e){if(e.preventDefault(),e.stopPropagation(),0===e.button)if(this._updateCurrentTarget(e),this._currentTarget){if("none"===this._dropAction)return be.dispatchDragLeave(this,this._currentTarget,null,e),void this._finalize("none");var t=be.dispatchDrop(this,this._currentTarget,e);this._finalize(t)}else this._finalize("none")},e.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&this.dispose()},e.prototype._addListeners=function(){document.addEventListener("mousedown",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("mouseenter",this,!0),document.addEventListener("mouseleave",this,!0),document.addEventListener("mouseover",this,!0),document.addEventListener("mouseout",this,!0),document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)},e.prototype._removeListeners=function(){document.removeEventListener("mousedown",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mouseenter",this,!0),document.removeEventListener("mouseleave",this,!0),document.removeEventListener("mouseover",this,!0),document.removeEventListener("mouseout",this,!0),document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)},e.prototype._updateDragScroll=function(e){var t=be.findScrollTarget(e);(this._scrollTarget||t)&&(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=t)},e.prototype._updateCurrentTarget=function(e){var t=this._currentTarget,i=this._currentTarget,n=this._currentElement,r=this.document.elementFromPoint(e.clientX,e.clientY);this._currentElement=r,r!==n&&r!==i&&be.dispatchDragExit(this,i,r,e),r!==n&&r!==i&&(i=be.dispatchDragEnter(this,r,i,e)),i!==t&&(this._currentTarget=i,be.dispatchDragLeave(this,t,i,e));var s=be.dispatchDragOver(this,i,e);this._setDropAction(s)},e.prototype._attachDragImage=function(e,t){if(this.dragImage){this.dragImage.classList.add("lm-mod-drag-image"),this.dragImage.classList.add("p-mod-drag-image");var i=this.dragImage.style;i.pointerEvents="none",i.position="fixed",i.top=t+"px",i.left=e+"px",(this.document instanceof Document?this.document.body:this.document.firstElementChild).appendChild(this.dragImage)}},e.prototype._detachDragImage=function(){if(this.dragImage){var e=this.dragImage.parentNode;e&&e.removeChild(this.dragImage)}},e.prototype._setDropAction=function(t){if(t=be.validateAction(t,this.supportedActions),!this._override||this._dropAction!==t)switch(t){case"none":this._dropAction=t,this._override=e.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=t,this._override=e.overrideCursor("copy",this.document);break;case"link":this._dropAction=t,this._override=e.overrideCursor("alias",this.document);break;case"move":this._dropAction=t,this._override=e.overrideCursor("move",this.document)}},e.prototype._finalize=function(e){var t=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,t&&t(e)},e}();function we(){return Ce.keyboardLayout}!function(e){e.overrideCursor=function(e,i){void 0===i&&(i=document);var n=++t,r=i instanceof Document?i.body:i.firstElementChild;return r.style.cursor=e,r.classList.add("lm-mod-override-cursor"),r.classList.add("p-mod-override-cursor"),new ve((function(){n===t&&(r.style.cursor="",r.classList.remove("lm-mod-override-cursor"),r.classList.remove("p-mod-override-cursor"))}))};var t=0}(xe||(xe={})),function(e){e.SCROLL_EDGE_SIZE=20,e.validateAction=function(e,n){return t[e]&i[n]?e:"none"},e.createMouseEvent=function(e,t,i){var n=document.createEvent("MouseEvent");return n.initMouseEvent(e,!0,!0,window,0,0,0,t,i,!1,!1,!1,!1,0,null),n},e.findScrollTarget=function(t){for(var i=t.clientX,n=t.clientY,r=document.elementFromPoint(i,n);r;r=r.parentElement){var s=r.hasAttribute("data-lm-dragscroll");if(s=s||r.hasAttribute("data-p-dragscroll")){var o=0,a=0;r===document.body&&(o=window.pageXOffset,a=window.pageYOffset);var l=r.getBoundingClientRect(),u=l.top+a,d=l.left+o,c=d+l.width,h=u+l.height;if(!(i<d||i>=c||n<u||n>=h)){var p=i-d+1,f=n-u+1,m=c-i,g=h-n,v=Math.min(p,f,m,g);if(!(v>e.SCROLL_EDGE_SIZE)){var _=void 0;switch(v){case g:_="bottom";break;case f:_="top";break;case m:_="right";break;case p:_="left";break;default:throw"unreachable"}var y=r.scrollWidth-r.clientWidth,b=r.scrollHeight-r.clientHeight,x=void 0;switch(_){case"top":x=b>0&&r.scrollTop>0;break;case"left":x=y>0&&r.scrollLeft>0;break;case"right":x=y>0&&r.scrollLeft<y;break;case"bottom":x=b>0&&r.scrollTop<b;break;default:throw"unreachable"}if(x)return{element:r,edge:_,distance:v}}}}}return null},e.dispatchDragEnter=function(e,t,i,r){if(!t)return null;var s=n("lm-dragenter",e,r,i),o=!t.dispatchEvent(s);if(o)return t;if(s=n("p-dragenter",e,r,i),o=!t.dispatchEvent(s))return t;var a=e.document instanceof Document?e.document.body:e.document.firstElementChild;return t===a?i:(s=n("lm-dragenter",e,r,i),a.dispatchEvent(s),s=n("p-dragenter",e,r,i),a.dispatchEvent(s),a)},e.dispatchDragExit=function(e,t,i,r){if(t){var s=n("lm-dragexit",e,r,i);t.dispatchEvent(s),s=n("p-dragexit",e,r,i),t.dispatchEvent(s)}},e.dispatchDragLeave=function(e,t,i,r){if(t){var s=n("lm-dragleave",e,r,i);t.dispatchEvent(s),s=n("p-dragleave",e,r,i),t.dispatchEvent(s)}},e.dispatchDragOver=function(e,t,i){if(!t)return"none";var r=n("lm-dragover",e,i,null),s=!t.dispatchEvent(r);return s?r.dropAction:(r=n("p-dragover",e,i,null),(s=!t.dispatchEvent(r))?r.dropAction:"none")},e.dispatchDrop=function(e,t,i){if(!t)return"none";var r=n("lm-drop",e,i,null),s=!t.dispatchEvent(r);return s?r.dropAction:(r=n("p-drop",e,i,null),(s=!t.dispatchEvent(r))?r.dropAction:"none")};var t={none:0,copy:1,link:2,move:4},i={none:t.none,copy:t.copy,link:t.link,move:t.move,"copy-link":t.copy|t.link,"copy-move":t.copy|t.move,"link-move":t.link|t.move,all:t.copy|t.link|t.move};function n(e,t,i,n){var r=document.createEvent("MouseEvent");return r.initMouseEvent(e,!0,!0,window,0,i.screenX,i.screenY,i.clientX,i.clientY,i.ctrlKey,i.altKey,i.shiftKey,i.metaKey,i.button,n),r.dropAction="none",r.mimeData=t.mimeData,r.proposedAction=t.proposedAction,r.supportedActions=t.supportedActions,r.source=t.source,r}}(be||(be={}));var Me=function(){function e(t,i,n){void 0===n&&(n=[]),this.name=t,this._codes=i,this._keys=e.extractKeys(i),this._modifierKeys=e.convertToKeySet(n)}return e.prototype.keys=function(){return Object.keys(this._keys)},e.prototype.isValidKey=function(e){return e in this._keys},e.prototype.isModifierKey=function(e){return e in this._modifierKeys},e.prototype.keyForKeydownEvent=function(e){return this._codes[e.keyCode]||""},e}();!function(e){e.extractKeys=function(e){var t=Object.create(null);for(var i in e)t[e[i]]=!0;return t},e.convertToKeySet=function(e){for(var t=Object(null),i=0,n=e.length;i<n;++i)t[e[i]]=!0;return t}}(Me||(Me={}));var Ce,Se=new Me("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);!function(e){e.keyboardLayout=Se}(Ce||(Ce={}));var Ee,ke=function(){return ke=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ke.apply(this,arguments)},Te=function(){function t(){this._timerID=0,this._replaying=!1,this._keystrokes=[],this._keydownEvents=[],this._keyBindings=[],this._exactKeyMatch=null,this._commands=Object.create(null),this._commandChanged=new fe(this),this._commandExecuted=new fe(this),this._keyBindingChanged=new fe(this)}return Object.defineProperty(t.prototype,"commandChanged",{get:function(){return this._commandChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"commandExecuted",{get:function(){return this._commandExecuted},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyBindingChanged",{get:function(){return this._keyBindingChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyBindings",{get:function(){return this._keyBindings},enumerable:!0,configurable:!0}),t.prototype.listCommands=function(){return Object.keys(this._commands)},t.prototype.hasCommand=function(e){return e in this._commands},t.prototype.addCommand=function(e,t){var i=this;if(e in this._commands)throw new Error("Command '"+e+"' already registered.");return this._commands[e]=Ee.createCommand(t),this._commandChanged.emit({id:e,type:"added"}),new ve((function(){delete i._commands[e],i._commandChanged.emit({id:e,type:"removed"})}))},t.prototype.notifyCommandChanged=function(e){if(void 0!==e&&!(e in this._commands))throw new Error("Command '"+e+"' is not registered.");this._commandChanged.emit({id:e,type:e?"changed":"many-changed"})},t.prototype.describedBy=function(e){var t=this._commands[e];return t&&t.describedBy||{args:null}},t.prototype.label=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.label.call(void 0,i):""},t.prototype.mnemonic=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.mnemonic.call(void 0,i):-1},t.prototype.icon=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.icon.call(void 0,i):""},t.prototype.iconClass=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.iconClass.call(void 0,i):""},t.prototype.iconLabel=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.iconLabel.call(void 0,i):""},t.prototype.caption=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.caption.call(void 0,i):""},t.prototype.usage=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.usage.call(void 0,i):""},t.prototype.className=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.className.call(void 0,i):""},t.prototype.dataset=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return n?n.dataset.call(void 0,i):{}},t.prototype.isEnabled=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return!!n&&n.isEnabled.call(void 0,i)},t.prototype.isToggled=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return!!n&&n.isToggled.call(void 0,i)},t.prototype.isToggleable=function(e,t){var i=this._commands[e];return!!i&&i.isToggleable},t.prototype.isVisible=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n=this._commands[t];return!!n&&n.isVisible.call(void 0,i)},t.prototype.execute=function(t,i){void 0===i&&(i=e.JSONExt.emptyObject);var n,r=this._commands[t];if(!r)return Promise.reject(new Error("Command '"+t+"' not registered."));try{n=r.execute.call(void 0,i)}catch(e){n=Promise.reject(e)}var s=Promise.resolve(n);return this._commandExecuted.emit({id:t,args:i,result:s}),s},t.prototype.addKeyBinding=function(e){var t=this,i=Ee.createKeyBinding(e);return this._keyBindings.push(i),this._keyBindingChanged.emit({binding:i,type:"added"}),new ve((function(){w.removeFirstOf(t._keyBindings,i),t._keyBindingChanged.emit({binding:i,type:"removed"})}))},t.prototype.processKeydownEvent=function(e){if(!this._replaying&&!t.isModifierKeyPressed(e)){var i=t.keystrokeForKeydownEvent(e);if(!i)return this._replayKeydownEvents(),void this._clearPendingState();this._keystrokes.push(i);var n=Ee.matchKeyBinding(this._keyBindings,this._keystrokes,e),r=n.exact,s=n.partial;if(!r&&!s)return this._replayKeydownEvents(),void this._clearPendingState();if(e.preventDefault(),e.stopPropagation(),r&&!s)return this._executeKeyBinding(r),void this._clearPendingState();r&&(this._exactKeyMatch=r),this._keydownEvents.push(e),this._startTimer()}},t.prototype._startTimer=function(){var e=this;this._clearTimer(),this._timerID=window.setTimeout((function(){e._onPendingTimeout()}),Ee.CHORD_TIMEOUT)},t.prototype._clearTimer=function(){0!==this._timerID&&(clearTimeout(this._timerID),this._timerID=0)},t.prototype._replayKeydownEvents=function(){0!==this._keydownEvents.length&&(this._replaying=!0,this._keydownEvents.forEach(Ee.replayKeyEvent),this._replaying=!1)},t.prototype._executeKeyBinding=function(e){var t=e.command,i=e.args;if(this.hasCommand(t)&&this.isEnabled(t,i))this.execute(t,i);else{var n=this.hasCommand(t)?"enabled":"registered",r="Cannot execute key binding '"+e.keys.join(", ")+"':",s="command '"+t+"' is not "+n+".";console.warn(r+" "+s)}},t.prototype._clearPendingState=function(){this._clearTimer(),this._exactKeyMatch=null,this._keystrokes.length=0,this._keydownEvents.length=0},t.prototype._onPendingTimeout=function(){this._timerID=0,this._exactKeyMatch?this._executeKeyBinding(this._exactKeyMatch):this._replayKeydownEvents(),this._clearPendingState()},t}();!function(e){function t(e){for(var t="",i=!1,n=!1,r=!1,s=!1,o=0,a=e.split(/\s+/);o<a.length;o++){var l=a[o];"Accel"===l?W.IS_MAC?n=!0:r=!0:"Alt"===l?i=!0:"Cmd"===l?n=!0:"Ctrl"===l?r=!0:"Shift"===l?s=!0:l.length>0&&(t=l)}return{cmd:n,ctrl:r,alt:i,shift:s,key:t}}function i(e){var i="",n=t(e);return n.ctrl&&(i+="Ctrl "),n.alt&&(i+="Alt "),n.shift&&(i+="Shift "),n.cmd&&W.IS_MAC&&(i+="Cmd "),i+n.key}e.parseKeystroke=t,e.normalizeKeystroke=i,e.normalizeKeys=function(e){return(W.IS_WIN?e.winKeys||e.keys:W.IS_MAC?e.macKeys||e.keys:e.linuxKeys||e.keys).map(i)},e.formatKeystroke=function(e){return"string"==typeof e?i(e):e.map(i).join(", ");function i(e){var i=[],n=W.IS_MAC?" ":"+",r=t(e);return r.ctrl&&i.push("Ctrl"),r.alt&&i.push("Alt"),r.shift&&i.push("Shift"),W.IS_MAC&&r.cmd&&i.push("Cmd"),i.push(r.key),i.map(Ee.formatKey).join(n)}},e.isModifierKeyPressed=function(e){var t=we(),i=t.keyForKeydownEvent(e);return t.isModifierKey(i)},e.keystrokeForKeydownEvent=function(e){var t=we(),i=t.keyForKeydownEvent(e);if(!i||t.isModifierKey(i))return"";var n=[];return e.ctrlKey&&n.push("Ctrl"),e.altKey&&n.push("Alt"),e.shiftKey&&n.push("Shift"),e.metaKey&&W.IS_MAC&&n.push("Cmd"),n.push(i),n.join(" ")}}(Te||(Te={})),function(t){t.CHORD_TIMEOUT=1e3,t.createCommand=function(e){var t,i;return e.icon&&"string"!=typeof e.icon?(i=d(e.iconClass,r),t=d(e.icon,u)):t=i=d(e.iconClass||e.icon,r),{execute:e.execute,describedBy:ke({args:null},e.describedBy),label:d(e.label,r),mnemonic:d(e.mnemonic,s),icon:t,iconClass:i,iconLabel:d(e.iconLabel,r),caption:d(e.caption,r),usage:d(e.usage,r),className:d(e.className,r),dataset:d(e.dataset,l),isEnabled:e.isEnabled||o,isToggled:e.isToggled||a,isToggleable:e.isToggleable||!!e.isToggled,isVisible:e.isVisible||o}},t.createKeyBinding=function(t){return{keys:Te.normalizeKeys(t),selector:c(t),command:t.command,args:t.args||e.JSONExt.emptyObject}},t.matchKeyBinding=function(e,t,i){for(var n=null,r=!1,s=1/0,o=0,a=0,l=e.length;a<l;++a){var u=e[a],d=h(u.keys,t);if(0!==d)if(2!==d){var c=p(u.selector,i);if(!(-1===c||c>s)){var f=H.calculateSpecificity(u.selector);(!n||c<s||f>=o)&&(n=u,s=c,o=f)}}else r||-1===p(u.selector,i)||(r=!0)}return{exact:n,partial:r}},t.replayKeyEvent=function(e){e.target.dispatchEvent(function(e){var t=document.createEvent("Event"),i=e.bubbles||!0,n=e.cancelable||!0;return t.initEvent(e.type||"keydown",i,n),t.key=e.key||"",t.keyCode=e.keyCode||0,t.which=e.keyCode||0,t.ctrlKey=e.ctrlKey||!1,t.altKey=e.altKey||!1,t.shiftKey=e.shiftKey||!1,t.metaKey=e.metaKey||!1,t.view=e.view||window,t}(e))},t.formatKey=function(e){return W.IS_MAC?i.hasOwnProperty(e)?i[e]:e:n.hasOwnProperty(e)?n[e]:e};var i={Backspace:"⌫",Tab:"⇥",Enter:"↩",Shift:"⇧",Ctrl:"⌃",Alt:"⌥",Escape:"⎋",PageUp:"⇞",PageDown:"⇟",End:"↘",Home:"↖",ArrowLeft:"←",ArrowUp:"↑",ArrowRight:"→",ArrowDown:"↓",Delete:"⌦",Cmd:"⌘"},n={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},r=function(){return""},s=function(){return-1},o=function(){return!0},a=function(){return!1},l=function(){return{}},u=function(){};function d(e,t){return void 0===e?t:"function"==typeof e?e:function(){return e}}function c(e){if(-1!==e.selector.indexOf(","))throw new Error("Selector cannot contain commas: "+e.selector);if(!H.isValid(e.selector))throw new Error("Invalid selector: "+e.selector);return e.selector}function h(e,t){if(e.length<t.length)return 0;for(var i=0,n=t.length;i<n;++i)if(e[i]!==t[i])return 0;return e.length>t.length?2:1}function p(e,t){for(var i=t.target,n=t.currentTarget,r=0;null!==i;i=i.parentElement,++r){if(i.hasAttribute("data-lm-suppress-shortcuts"))return-1;if(i.hasAttribute("data-p-suppress-shortcuts"))return-1;if(H.matches(i,e))return r;if(i===n)return-1}return-1}}(Ee||(Ee={}));var Ae,Le,Oe,Ie=function(e,t){return Ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},Ie(e,t)},je=function(e){this.type="text",this.content=e},De=function(e,t,i,n){this.type="element",this.tag=e,this.attrs=t,this.children=i,this.renderer=n};function Pe(e){for(var t,i={},n=[],r=1,s=arguments.length;r<s;++r){var o=arguments[r];"string"==typeof o?n.push(new je(o)):o instanceof je||o instanceof De?n.push(o):o instanceof Array?a(n,o):1!==r&&2!==r||!o||"object"!=typeof o||("render"in o?t=o:i=o)}return new De(e,i,n,t);function a(e,t){for(var i=0,n=t;i<n.length;i++){var r=n[i];"string"==typeof r?e.push(new je(r)):(r instanceof je||r instanceof De)&&e.push(r)}}}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Ie(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)})((function(e,t,i){return Oe.call(this,e,t,[],i||void 0)||this}),Oe=De),function(e){e.a=e.bind(void 0,"a"),e.abbr=e.bind(void 0,"abbr"),e.address=e.bind(void 0,"address"),e.area=e.bind(void 0,"area"),e.article=e.bind(void 0,"article"),e.aside=e.bind(void 0,"aside"),e.audio=e.bind(void 0,"audio"),e.b=e.bind(void 0,"b"),e.bdi=e.bind(void 0,"bdi"),e.bdo=e.bind(void 0,"bdo"),e.blockquote=e.bind(void 0,"blockquote"),e.br=e.bind(void 0,"br"),e.button=e.bind(void 0,"button"),e.canvas=e.bind(void 0,"canvas"),e.caption=e.bind(void 0,"caption"),e.cite=e.bind(void 0,"cite"),e.code=e.bind(void 0,"code"),e.col=e.bind(void 0,"col"),e.colgroup=e.bind(void 0,"colgroup"),e.data=e.bind(void 0,"data"),e.datalist=e.bind(void 0,"datalist"),e.dd=e.bind(void 0,"dd"),e.del=e.bind(void 0,"del"),e.dfn=e.bind(void 0,"dfn"),e.div=e.bind(void 0,"div"),e.dl=e.bind(void 0,"dl"),e.dt=e.bind(void 0,"dt"),e.em=e.bind(void 0,"em"),e.embed=e.bind(void 0,"embed"),e.fieldset=e.bind(void 0,"fieldset"),e.figcaption=e.bind(void 0,"figcaption"),e.figure=e.bind(void 0,"figure"),e.footer=e.bind(void 0,"footer"),e.form=e.bind(void 0,"form"),e.h1=e.bind(void 0,"h1"),e.h2=e.bind(void 0,"h2"),e.h3=e.bind(void 0,"h3"),e.h4=e.bind(void 0,"h4"),e.h5=e.bind(void 0,"h5"),e.h6=e.bind(void 0,"h6"),e.header=e.bind(void 0,"header"),e.hr=e.bind(void 0,"hr"),e.i=e.bind(void 0,"i"),e.iframe=e.bind(void 0,"iframe"),e.img=e.bind(void 0,"img"),e.input=e.bind(void 0,"input"),e.ins=e.bind(void 0,"ins"),e.kbd=e.bind(void 0,"kbd"),e.label=e.bind(void 0,"label"),e.legend=e.bind(void 0,"legend"),e.li=e.bind(void 0,"li"),e.main=e.bind(void 0,"main"),e.map=e.bind(void 0,"map"),e.mark=e.bind(void 0,"mark"),e.meter=e.bind(void 0,"meter"),e.nav=e.bind(void 0,"nav"),e.noscript=e.bind(void 0,"noscript"),e.object=e.bind(void 0,"object"),e.ol=e.bind(void 0,"ol"),e.optgroup=e.bind(void 0,"optgroup"),e.option=e.bind(void 0,"option"),e.output=e.bind(void 0,"output"),e.p=e.bind(void 0,"p"),e.param=e.bind(void 0,"param"),e.pre=e.bind(void 0,"pre"),e.progress=e.bind(void 0,"progress"),e.q=e.bind(void 0,"q"),e.rp=e.bind(void 0,"rp"),e.rt=e.bind(void 0,"rt"),e.ruby=e.bind(void 0,"ruby"),e.s=e.bind(void 0,"s"),e.samp=e.bind(void 0,"samp"),e.section=e.bind(void 0,"section"),e.select=e.bind(void 0,"select"),e.small=e.bind(void 0,"small"),e.source=e.bind(void 0,"source"),e.span=e.bind(void 0,"span"),e.strong=e.bind(void 0,"strong"),e.sub=e.bind(void 0,"sub"),e.summary=e.bind(void 0,"summary"),e.sup=e.bind(void 0,"sup"),e.table=e.bind(void 0,"table"),e.tbody=e.bind(void 0,"tbody"),e.td=e.bind(void 0,"td"),e.textarea=e.bind(void 0,"textarea"),e.tfoot=e.bind(void 0,"tfoot"),e.th=e.bind(void 0,"th"),e.thead=e.bind(void 0,"thead"),e.time=e.bind(void 0,"time"),e.title=e.bind(void 0,"title"),e.tr=e.bind(void 0,"tr"),e.track=e.bind(void 0,"track"),e.u=e.bind(void 0,"u"),e.ul=e.bind(void 0,"ul"),e.var_=e.bind(void 0,"var"),e.video=e.bind(void 0,"video"),e.wbr=e.bind(void 0,"wbr")}(Pe||(Pe={})),function(e){e.realize=function(e){return Le.createDOMNode(e)},e.render=function(e,t){var i=Le.hostMap.get(t)||[],n=Le.asContentArray(e);Le.hostMap.set(t,n),Le.updateContent(t,i,n)}}(Ae||(Ae={})),function(e){function t(e){var i=arguments[1]||null,r=arguments[2]||null;if(i)i.insertBefore(t(e),r);else{if("text"===e.type)return document.createTextNode(e.content);if(function(e,t){for(var i in t)i in n||("on"===i.substr(0,2)?e[i]=t[i]:e.setAttribute(i,t[i]));void 0!==t.className&&e.setAttribute("class",t.className),void 0!==t.htmlFor&&e.setAttribute("for",t.htmlFor),t.dataset&&function(e,t){for(var i in t)e.setAttribute("data-"+i,t[i])}(e,t.dataset),t.style&&function(e,t){var i,n=e.style;for(i in t)n[i]=t[i]}(e,t.style)}(i=document.createElement(e.tag),e.attrs),e.renderer)return e.renderer.render(i,{attrs:e.attrs,children:e.children}),i;for(var s=0,o=e.children.length;s<o;++s)t(e.children[s],i)}return i}function i(e,t,n,r){for(var s=t.length-1;s>=n;--s){var o=t[s],a=r?e.lastChild:e.childNodes[s];"text"===o.type||(o.renderer&&o.renderer.unrender?o.renderer.unrender(a,{attrs:o.attrs,children:o.children}):i(a,o.children,0,!1)),r&&e.removeChild(a)}}e.hostMap=new WeakMap,e.asContentArray=function(e){return e?e instanceof Array?e:[e]:[]},e.createDOMNode=t,e.updateContent=function e(n,s,o){if(s!==o){for(var a=function(e,t){for(var i=e.firstChild,n=Object.create(null),r=0,s=t;r<s.length;r++){var o=s[r];"element"===o.type&&o.attrs.key&&(n[o.attrs.key]={vNode:o,element:i}),i=i.nextSibling}return n}(n,s),l=s.slice(),u=n.firstChild,d=o.length,c=0;c<d;++c)if(c>=l.length)t(o[c],n);else{var h=l[c],p=o[c];if(h!==p)if("text"!==h.type||"text"!==p.type)if("text"!==h.type&&"text"!==p.type)if(!h.renderer==!p.renderer){var f=p.attrs.key;if(f&&f in a){var m=a[f];m.vNode!==h&&(w.move(l,l.indexOf(m.vNode,c+1),c),n.insertBefore(m.element,u),h=m.vNode,u=m.element)}if(h!==p){var g=h.attrs.key;g&&g!==f?(w.insert(l,c,p),t(p,n,u)):h.tag===p.tag?(r(u,h.attrs,p.attrs),p.renderer?p.renderer.render(u,{attrs:p.attrs,children:p.children}):e(u,h.children,p.children),u=u.nextSibling):(w.insert(l,c,p),t(p,n,u))}else u=u.nextSibling}else w.insert(l,c,p),t(p,n,u);else w.insert(l,c,p),t(p,n,u);else u.textContent!==p.content&&(u.textContent=p.content),u=u.nextSibling;else u=u.nextSibling}i(n,l,d,!0)}};var n={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function r(e,t,i){if(t!==i){var r;for(r in t)r in n||r in i||("on"===r.substr(0,2)?e[r]=null:e.removeAttribute(r));for(r in i)r in n||t[r]===i[r]||("on"===r.substr(0,2)?e[r]=i[r]:e.setAttribute(r,i[r]));t.className!==i.className&&(void 0!==i.className?e.setAttribute("class",i.className):e.removeAttribute("class")),t.htmlFor!==i.htmlFor&&(void 0!==i.htmlFor?e.setAttribute("for",i.htmlFor):e.removeAttribute("for")),t.dataset!==i.dataset&&function(e,t,i){for(var n in t)n in i||e.removeAttribute("data-"+n);for(var r in i)t[r]!==i[r]&&e.setAttribute("data-"+r,i[r])}(e,t.dataset||{},i.dataset||{}),t.style!==i.style&&function(e,t,i){var n,r=e.style;for(n in t)n in i||(r[n]="");for(n in i)t[n]!==i[n]&&(r[n]=i[n])}(e,t.style||{},i.style||{})}}}(Le||(Le={}));var ze=function(e,t){return ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},ze(e,t)};function Be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}ze(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var Ne,Re=function(){return Re=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Re.apply(this,arguments)},We=function(){this.sizeHint=0,this.minSize=0,this.maxSize=1/0,this.stretch=1,this.size=0,this.done=!1};!function(e){e.calc=function(e,t){var i=e.length;if(0===i)return t;for(var n=0,r=0,s=0,o=0,a=0,l=0;l<i;++l){var u=(_=e[l]).minSize,d=_.maxSize,c=_.sizeHint;_.done=!1,_.size=Math.max(u,Math.min(c,d)),s+=_.size,n+=u,r+=d,_.stretch>0&&(o+=_.stretch,a++)}if(t===s)return 0;if(t<=n){for(l=0;l<i;++l)(_=e[l]).size=_.minSize;return t-n}if(t>=r){for(l=0;l<i;++l)(_=e[l]).size=_.maxSize;return t-r}var h=.01,p=i;if(t<s){for(var f=s-t;a>0&&f>h;){var m=f,g=o;for(l=0;l<i;++l)if(!(_=e[l]).done&&0!==_.stretch){var v=_.stretch*m/g;_.size-v<=_.minSize?(f-=_.size-_.minSize,o-=_.stretch,_.size=_.minSize,_.done=!0,p--,a--):(f-=v,_.size-=v)}}for(;p>0&&f>h;)for(v=f/p,l=0;l<i;++l)(_=e[l]).done||(_.size-v<=_.minSize?(f-=_.size-_.minSize,_.size=_.minSize,_.done=!0,p--):(f-=v,_.size-=v))}else{for(f=t-s;a>0&&f>h;)for(m=f,g=o,l=0;l<i;++l)(_=e[l]).done||0===_.stretch||(v=_.stretch*m/g,_.size+v>=_.maxSize?(f-=_.maxSize-_.size,o-=_.stretch,_.size=_.maxSize,_.done=!0,p--,a--):(f-=v,_.size+=v));for(;p>0&&f>h;)for(v=f/p,l=0;l<i;++l){var _;(_=e[l]).done||(_.size+v>=_.maxSize?(f-=_.maxSize-_.size,_.size=_.maxSize,_.done=!0,p--):(f-=v,_.size+=v))}}return 0},e.adjust=function(e,t,i){0!==e.length&&0!==i&&(i>0?function(e,t,i){for(var n=0,r=0;r<=t;++r)n+=(u=e[r]).maxSize-u.size;for(var s=0,o=(r=t+1,e.length);r<o;++r)s+=(u=e[r]).size-u.minSize;var a=i=Math.min(i,n,s);for(r=t;r>=0&&a>0;--r)(d=(u=e[r]).maxSize-u.size)>=a?(u.sizeHint=u.size+a,a=0):(u.sizeHint=u.size+d,a-=d);var l=i;for(r=t+1,o=e.length;r<o&&l>0;++r){var u,d;(d=(u=e[r]).size-u.minSize)>=l?(u.sizeHint=u.size-l,l=0):(u.sizeHint=u.size-d,l-=d)}}(e,t,i):function(e,t,i){for(var n=0,r=t+1,s=e.length;r<s;++r)n+=(u=e[r]).maxSize-u.size;var o=0;for(r=0;r<=t;++r)o+=(u=e[r]).size-u.minSize;var a=i=Math.min(i,n,o);for(r=t+1,s=e.length;r<s&&a>0;++r)(d=(u=e[r]).maxSize-u.size)>=a?(u.sizeHint=u.size+a,a=0):(u.sizeHint=u.size+d,a-=d);var l=i;for(r=t;r>=0&&l>0;--r){var u,d;(d=(u=e[r]).size-u.minSize)>=l?(u.sizeHint=u.size-l,l=0):(u.sizeHint=u.size-d,l-=d)}}(e,t,-i))}}(Ne||(Ne={}));var He,Fe=function(){function e(e){this._label="",this._caption="",this._mnemonic=-1,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new fe(this),this._isDisposed=!1,this.owner=e.owner,void 0!==e.label&&(this._label=e.label),void 0!==e.mnemonic&&(this._mnemonic=e.mnemonic),void 0!==e.icon?"string"==typeof e.icon?(this._icon=null,this._iconClass=e.icon):this._icon=e.icon:this._icon=null,void 0!==e.iconClass&&(this._iconClass=e.iconClass),void 0!==e.iconLabel&&(this._iconLabel=e.iconLabel),void 0!==e.iconRenderer&&(this._icon=e.iconRenderer),void 0!==e.caption&&(this._caption=e.caption),void 0!==e.className&&(this._className=e.className),void 0!==e.closable&&(this._closable=e.closable),this._dataset=e.dataset||{}}return Object.defineProperty(e.prototype,"changed",{get:function(){return this._changed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},set:function(e){this._label!==e&&(this._label=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mnemonic",{get:function(){return this._mnemonic},set:function(e){this._mnemonic!==e&&(this._mnemonic=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return null===this._icon?this.iconClass:this._icon},set:function(e){if("string"==typeof e)this._icon=null,this.iconClass=e;else{if(this._icon===e)return;this._icon=e,this._changed.emit(void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return this._iconClass},set:function(e){this._iconClass!==e&&(this._iconClass=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconLabel",{get:function(){return this._iconLabel},set:function(e){this._iconLabel!==e&&(this._iconLabel=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconRenderer",{get:function(){return this._icon||void 0},set:function(e){this.icon=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this._caption},set:function(e){this._caption!==e&&(this._caption=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},set:function(e){this._className!==e&&(this._className=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closable",{get:function(){return this._closable},set:function(e){this._closable!==e&&(this._closable=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return this._dataset},set:function(e){this._dataset!==e&&(this._dataset=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.isDisposed||(this._isDisposed=!0,fe.clearData(this))},e}(),Ve=function(){function e(t){void 0===t&&(t={}),this._flags=0,this._layout=null,this._parent=null,this._disposed=new fe(this),this._hiddenMode=e.HiddenMode.Display,this.node=He.createNode(t),this.addClass("lm-Widget"),this.addClass("p-Widget")}return e.prototype.dispose=function(){this.isDisposed||(this.setFlag(e.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&e.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),fe.clearData(this),ae.clearData(this),he.clearData(this))},Object.defineProperty(e.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this.testFlag(e.Flag.IsDisposed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAttached",{get:function(){return this.testFlag(e.Flag.IsAttached)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this.testFlag(e.Flag.IsHidden)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.testFlag(e.Flag.IsVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return He.titleProperty.get(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.node.id},set:function(e){this.node.id=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return this.node.dataset},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(t){this._hiddenMode!==t&&(this.isHidden&&this._toggleHidden(!1),t==e.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=t,this.isHidden&&this._toggleHidden(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(t){if(this._parent!==t){if(t&&this.contains(t))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){var i=new e.ChildMessage("child-removed",this);ae.sendMessage(this._parent,i)}this._parent=t,this._parent&&!this._parent.isDisposed&&(i=new e.ChildMessage("child-added",this),ae.sendMessage(this._parent,i)),this.isDisposed||ae.sendMessage(this,e.Msg.ParentChanged)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout},set:function(t){if(this._layout!==t){if(this.testFlag(e.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(t.parent)throw new Error("Cannot change layout parent.");this._layout=t,t.parent=this}},enumerable:!0,configurable:!0}),e.prototype.children=function(){return this._layout?this._layout.iter():T()},e.prototype.contains=function(e){for(var t=e;t;t=t._parent)if(t===this)return!0;return!1},e.prototype.hasClass=function(e){return this.node.classList.contains(e)},e.prototype.addClass=function(e){this.node.classList.add(e)},e.prototype.removeClass=function(e){this.node.classList.remove(e)},e.prototype.toggleClass=function(e,t){return!0===t?(this.node.classList.add(e),!0):!1===t?(this.node.classList.remove(e),!1):this.node.classList.toggle(e)},e.prototype.update=function(){ae.postMessage(this,e.Msg.UpdateRequest)},e.prototype.fit=function(){ae.postMessage(this,e.Msg.FitRequest)},e.prototype.activate=function(){ae.postMessage(this,e.Msg.ActivateRequest)},e.prototype.close=function(){ae.sendMessage(this,e.Msg.CloseRequest)},e.prototype.show=function(){if(this.testFlag(e.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||ae.sendMessage(this,e.Msg.BeforeShow),this.clearFlag(e.Flag.IsHidden),this.node.removeAttribute("aria-hidden"),this._toggleHidden(!1),!this.isAttached||this.parent&&!this.parent.isVisible||ae.sendMessage(this,e.Msg.AfterShow),this.parent)){var t=new e.ChildMessage("child-shown",this);ae.sendMessage(this.parent,t)}},e.prototype.hide=function(){if(!this.testFlag(e.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||ae.sendMessage(this,e.Msg.BeforeHide),this.setFlag(e.Flag.IsHidden),this.node.setAttribute("aria-hidden","true"),this._toggleHidden(!0),!this.isAttached||this.parent&&!this.parent.isVisible||ae.sendMessage(this,e.Msg.AfterHide),this.parent)){var t=new e.ChildMessage("child-hidden",this);ae.sendMessage(this.parent,t)}},e.prototype.setHidden=function(e){e?this.hide():this.show()},e.prototype.testFlag=function(e){return!!(this._flags&e)},e.prototype.setFlag=function(e){this._flags|=e},e.prototype.clearFlag=function(e){this._flags&=~e},e.prototype.processMessage=function(t){switch(t.type){case"resize":this.notifyLayout(t),this.onResize(t);break;case"update-request":this.notifyLayout(t),this.onUpdateRequest(t);break;case"fit-request":this.notifyLayout(t),this.onFitRequest(t);break;case"before-show":this.notifyLayout(t),this.onBeforeShow(t);break;case"after-show":this.setFlag(e.Flag.IsVisible),this.notifyLayout(t),this.onAfterShow(t);break;case"before-hide":this.notifyLayout(t),this.onBeforeHide(t);break;case"after-hide":this.clearFlag(e.Flag.IsVisible),this.notifyLayout(t),this.onAfterHide(t);break;case"before-attach":this.notifyLayout(t),this.onBeforeAttach(t);break;case"after-attach":this.isHidden||this.parent&&!this.parent.isVisible||this.setFlag(e.Flag.IsVisible),this.setFlag(e.Flag.IsAttached),this.notifyLayout(t),this.onAfterAttach(t);break;case"before-detach":this.notifyLayout(t),this.onBeforeDetach(t);break;case"after-detach":this.clearFlag(e.Flag.IsVisible),this.clearFlag(e.Flag.IsAttached),this.notifyLayout(t),this.onAfterDetach(t);break;case"activate-request":this.notifyLayout(t),this.onActivateRequest(t);break;case"close-request":this.notifyLayout(t),this.onCloseRequest(t);break;case"child-added":this.notifyLayout(t),this.onChildAdded(t);break;case"child-removed":this.notifyLayout(t),this.onChildRemoved(t);break;default:this.notifyLayout(t)}},e.prototype.notifyLayout=function(e){this._layout&&this._layout.processParentMessage(e)},e.prototype.onCloseRequest=function(t){this.parent?this.parent=null:this.isAttached&&e.detach(this)},e.prototype.onResize=function(e){},e.prototype.onUpdateRequest=function(e){},e.prototype.onFitRequest=function(e){},e.prototype.onActivateRequest=function(e){},e.prototype.onBeforeShow=function(e){},e.prototype.onAfterShow=function(e){},e.prototype.onBeforeHide=function(e){},e.prototype.onAfterHide=function(e){},e.prototype.onBeforeAttach=function(e){},e.prototype.onAfterAttach=function(e){},e.prototype.onBeforeDetach=function(e){},e.prototype.onAfterDetach=function(e){},e.prototype.onChildAdded=function(e){},e.prototype.onChildRemoved=function(e){},e.prototype._toggleHidden=function(t){if(t)switch(this._hiddenMode){case e.HiddenMode.Display:this.addClass("lm-mod-hidden"),this.addClass("p-mod-hidden");break;case e.HiddenMode.Scale:this.node.style.transform="scale(0)";break;case e.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1"}else switch(this._hiddenMode){case e.HiddenMode.Display:this.removeClass("lm-mod-hidden"),this.removeClass("p-mod-hidden");break;case e.HiddenMode.Scale:this.node.style.transform="";break;case e.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex=""}},e}();!function(e){var t,i,n;(t=e.HiddenMode||(e.HiddenMode={}))[t.Display=0]="Display",t[t.Scale=1]="Scale",t[t.ContentVisibility=2]="ContentVisibility",(i=e.Flag||(e.Flag={}))[i.IsDisposed=1]="IsDisposed",i[i.IsAttached=2]="IsAttached",i[i.IsHidden=4]="IsHidden",i[i.IsVisible=8]="IsVisible",i[i.DisallowLayout=16]="DisallowLayout",(n=e.Msg||(e.Msg={})).BeforeShow=new ue("before-show"),n.AfterShow=new ue("after-show"),n.BeforeHide=new ue("before-hide"),n.AfterHide=new ue("after-hide"),n.BeforeAttach=new ue("before-attach"),n.AfterAttach=new ue("after-attach"),n.BeforeDetach=new ue("before-detach"),n.AfterDetach=new ue("after-detach"),n.ParentChanged=new ue("parent-changed"),n.UpdateRequest=new de("update-request"),n.FitRequest=new de("fit-request"),n.ActivateRequest=new de("activate-request"),n.CloseRequest=new de("close-request");var r=function(e){function t(t,i){var n=e.call(this,t)||this;return n.child=i,n}return Be(t,e),t}(ue);e.ChildMessage=r;var s=function(e){function t(t,i){var n=e.call(this,"resize")||this;return n.width=t,n.height=i,n}return Be(t,e),t}(ue);e.ResizeMessage=s,function(e){e.UnknownSize=new e(-1,-1)}(s=e.ResizeMessage||(e.ResizeMessage={})),e.attach=function(t,i,n){if(void 0===n&&(n=null),t.parent)throw new Error("Cannot attach a child widget.");if(t.isAttached||t.node.isConnected)throw new Error("Widget is already attached.");if(!i.isConnected)throw new Error("Host is not attached.");ae.sendMessage(t,e.Msg.BeforeAttach),i.insertBefore(t.node,n),ae.sendMessage(t,e.Msg.AfterAttach)},e.detach=function(t){if(t.parent)throw new Error("Cannot detach a child widget.");if(!t.isAttached||!t.node.isConnected)throw new Error("Widget is not attached.");ae.sendMessage(t,e.Msg.BeforeDetach),t.node.parentNode.removeChild(t.node),ae.sendMessage(t,e.Msg.AfterDetach)}}(Ve||(Ve={})),function(e){e.titleProperty=new he({name:"title",create:function(e){return new Fe({owner:e})}}),e.createNode=function(e){return e.node||document.createElement(e.tag||"div")}}(He||(He={}));var qe=function(){function e(e){void 0===e&&(e={}),this._disposed=!1,this._parent=null,this._fitPolicy=e.fitPolicy||"set-min-size"}return e.prototype.dispose=function(){this._parent=null,this._disposed=!0,fe.clearData(this),he.clearData(this)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(e){if(this._parent!==e){if(this._parent)throw new Error("Cannot change parent widget.");if(e.layout!==this)throw new Error("Invalid parent widget.");this._parent=e,this.init()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fitPolicy",{get:function(){return this._fitPolicy},set:function(e){if(this._fitPolicy!==e&&(this._fitPolicy=e,this._parent)){var t=this._parent.node.style;t.minWidth="",t.minHeight="",t.maxWidth="",t.maxHeight="",this._parent.fit()}},enumerable:!0,configurable:!0}),e.prototype.processParentMessage=function(e){switch(e.type){case"resize":this.onResize(e);break;case"update-request":this.onUpdateRequest(e);break;case"fit-request":this.onFitRequest(e);break;case"before-show":this.onBeforeShow(e);break;case"after-show":this.onAfterShow(e);break;case"before-hide":this.onBeforeHide(e);break;case"after-hide":this.onAfterHide(e);break;case"before-attach":this.onBeforeAttach(e);break;case"after-attach":this.onAfterAttach(e);break;case"before-detach":this.onBeforeDetach(e);break;case"after-detach":this.onAfterDetach(e);break;case"child-removed":this.onChildRemoved(e);break;case"child-shown":this.onChildShown(e);break;case"child-hidden":this.onChildHidden(e)}},e.prototype.init=function(){var e=this;C(this,(function(t){t.parent=e.parent}))},e.prototype.onResize=function(e){C(this,(function(e){ae.sendMessage(e,Ve.ResizeMessage.UnknownSize)}))},e.prototype.onUpdateRequest=function(e){C(this,(function(e){ae.sendMessage(e,Ve.ResizeMessage.UnknownSize)}))},e.prototype.onBeforeAttach=function(e){C(this,(function(t){ae.sendMessage(t,e)}))},e.prototype.onAfterAttach=function(e){C(this,(function(t){ae.sendMessage(t,e)}))},e.prototype.onBeforeDetach=function(e){C(this,(function(t){ae.sendMessage(t,e)}))},e.prototype.onAfterDetach=function(e){C(this,(function(t){ae.sendMessage(t,e)}))},e.prototype.onBeforeShow=function(e){C(this,(function(t){t.isHidden||ae.sendMessage(t,e)}))},e.prototype.onAfterShow=function(e){C(this,(function(t){t.isHidden||ae.sendMessage(t,e)}))},e.prototype.onBeforeHide=function(e){C(this,(function(t){t.isHidden||ae.sendMessage(t,e)}))},e.prototype.onAfterHide=function(e){C(this,(function(t){t.isHidden||ae.sendMessage(t,e)}))},e.prototype.onChildRemoved=function(e){this.removeWidget(e.child)},e.prototype.onFitRequest=function(e){},e.prototype.onChildShown=function(e){},e.prototype.onChildHidden=function(e){},e}();!function(e){e.getHorizontalAlignment=function(e){return Ue.horizontalAlignmentProperty.get(e)},e.setHorizontalAlignment=function(e,t){Ue.horizontalAlignmentProperty.set(e,t)},e.getVerticalAlignment=function(e){return Ue.verticalAlignmentProperty.get(e)},e.setVerticalAlignment=function(e,t){Ue.verticalAlignmentProperty.set(e,t)}}(qe||(qe={}));var Ue,Ke=function(){function e(e){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=e,this.widget.node.style.position="absolute"}return e.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var e=this.widget.node.style;e.position="",e.top="",e.left="",e.width="",e.height=""}},Object.defineProperty(e.prototype,"minWidth",{get:function(){return this._minWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this._minHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this._maxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxHeight",{get:function(){return this._maxHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this.widget.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.widget.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAttached",{get:function(){return this.widget.isAttached},enumerable:!0,configurable:!0}),e.prototype.fit=function(){var e=R.sizeLimits(this.widget.node);this._minWidth=e.minWidth,this._minHeight=e.minHeight,this._maxWidth=e.maxWidth,this._maxHeight=e.maxHeight},e.prototype.update=function(e,t,i,n){var r=Math.max(this._minWidth,Math.min(i,this._maxWidth)),s=Math.max(this._minHeight,Math.min(n,this._maxHeight));if(r<i)switch(qe.getHorizontalAlignment(this.widget)){case"left":break;case"center":e+=(i-r)/2;break;case"right":e+=i-r;break;default:throw"unreachable"}if(s<n)switch(qe.getVerticalAlignment(this.widget)){case"top":break;case"center":t+=(n-s)/2;break;case"bottom":t+=n-s;break;default:throw"unreachable"}var o=!1,a=this.widget.node.style;if(this._top!==t&&(this._top=t,a.top=t+"px"),this._left!==e&&(this._left=e,a.left=e+"px"),this._width!==r&&(o=!0,this._width=r,a.width=r+"px"),this._height!==s&&(o=!0,this._height=s,a.height=s+"px"),o){var l=new Ve.ResizeMessage(r,s);ae.sendMessage(this.widget,l)}},e}();!function(e){function t(e){e.parent&&e.parent.layout&&e.parent.update()}e.horizontalAlignmentProperty=new he({name:"horizontalAlignment",create:function(){return"center"},changed:t}),e.verticalAlignmentProperty=new he({name:"verticalAlignment",create:function(){return"top"},changed:t})}(Ue||(Ue={}));var $e,Xe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._widgets=[],t}return Be(t,e),t.prototype.dispose=function(){for(;this._widgets.length>0;)this._widgets.pop().dispose();e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return M(this._widgets)},t.prototype.addWidget=function(e){this.insertWidget(this._widgets.length,e)},t.prototype.insertWidget=function(e,t){t.parent=this.parent;var i=this._widgets.indexOf(t),n=Math.max(0,Math.min(e,this._widgets.length));if(-1===i)return w.insert(this._widgets,n,t),void(this.parent&&this.attachWidget(n,t));n===this._widgets.length&&n--,i!==n&&(w.move(this._widgets,i,n),this.parent&&this.moveWidget(i,n,t))},t.prototype.removeWidget=function(e){this.removeWidgetAt(this._widgets.indexOf(e))},t.prototype.removeWidgetAt=function(e){var t=w.removeAt(this._widgets,e);t&&this.parent&&this.detachWidget(e,t)},t.prototype.init=function(){var t=this;e.prototype.init.call(this),C(this,(function(e,i){t.attachWidget(i,e)}))},t.prototype.attachWidget=function(e,t){var i=this.parent.node.children[e];this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.BeforeAttach),this.parent.node.insertBefore(t.node,i),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.AfterAttach)},t.prototype.moveWidget=function(e,t,i){this.parent.isAttached&&ae.sendMessage(i,Ve.Msg.BeforeDetach),this.parent.node.removeChild(i.node),this.parent.isAttached&&ae.sendMessage(i,Ve.Msg.AfterDetach);var n=this.parent.node.children[t];this.parent.isAttached&&ae.sendMessage(i,Ve.Msg.BeforeAttach),this.parent.node.insertBefore(i.node,n),this.parent.isAttached&&ae.sendMessage(i,Ve.Msg.AfterAttach)},t.prototype.detachWidget=function(e,t){this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.AfterDetach)},t}(qe);!function(e){e.clampDimension=function(e){return Math.max(0,Math.floor(e))}}($e||($e={}));var Ye,Ge=$e,Je=function(e){function t(t){var i=e.call(this)||this;return i.widgetOffset=0,i._fixed=0,i._spacing=4,i._dirty=!1,i._hasNormedSizes=!1,i._sizers=[],i._items=[],i._handles=[],i._box=null,i._alignment="start",i._orientation="horizontal",i.renderer=t.renderer,void 0!==t.orientation&&(i._orientation=t.orientation),void 0!==t.alignment&&(i._alignment=t.alignment),void 0!==t.spacing&&(i._spacing=$e.clampDimension(t.spacing)),i}return Be(t,e),t.prototype.dispose=function(){C(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this.parent&&(this.parent.dataset.orientation=e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this._alignment},set:function(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=$e.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handles",{get:function(){return this._handles},enumerable:!0,configurable:!0}),t.prototype.absoluteSizes=function(){return this._sizers.map((function(e){return e.size}))},t.prototype.relativeSizes=function(){return Ye.normalize(this._sizers.map((function(e){return e.size})))},t.prototype.setRelativeSizes=function(e,t){void 0===t&&(t=!0);for(var i=this._sizers.length,n=e.slice(0,i);n.length<i;)n.push(0);for(var r=Ye.normalize(n),s=0;s<i;++s){var o=this._sizers[s];o.sizeHint=r[s],o.size=r[s]}this._hasNormedSizes=!0,t&&this.parent&&this.parent.update()},t.prototype.moveHandle=function(e,t){var i,n=this._handles[e];if(n&&!n.classList.contains("lm-mod-hidden")&&0!=(i="horizontal"===this._orientation?t-n.offsetLeft:t-n.offsetTop)){for(var r=0,s=this._sizers;r<s.length;r++){var o=s[r];o.size>0&&(o.sizeHint=o.size)}Ne.adjust(this._sizers,e,i),this.parent&&this.parent.update()}},t.prototype.init=function(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,e.prototype.init.call(this)},t.prototype.attachWidget=function(e,t){var i=new Ke(t),n=Ye.createHandle(this.renderer),r=Ye.averageSize(this._sizers),s=Ye.createSizer(r);w.insert(this._items,e,i),w.insert(this._sizers,e,s),w.insert(this._handles,e,n),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.node.appendChild(n),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,i){w.move(this._items,e,t),w.move(this._sizers,e,t),w.move(this._handles,e,t),this.parent.fit()},t.prototype.detachWidget=function(e,t){var i=w.removeAt(this._items,e),n=w.removeAt(this._handles,e);w.removeAt(this._sizers,e),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.node.removeChild(n),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.AfterDetach),i.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype.updateItemPosition=function(e,t,i,n,r,s,o){var a=this._items[e];if(!a.isHidden){var l=this._handles[e].style;t?(i+=this.widgetOffset,a.update(i,n,o,r),i+=o,l.top=n+"px",l.left=i+"px",l.width=this._spacing+"px",l.height=r+"px"):(n+=this.widgetOffset,a.update(i,n,s,o),n+=o,l.top=n+"px",l.left=i+"px",l.width=s+"px",l.height=this._spacing+"px")}},t.prototype._fit=function(){for(var e=0,i=-1,n=0,r=this._items.length;n<r;++n)this._items[n].isHidden?(this._handles[n].classList.add("lm-mod-hidden"),this._handles[n].classList.add("p-mod-hidden")):(this._handles[n].classList.remove("lm-mod-hidden"),this._handles[n].classList.remove("p-mod-hidden"),i=n,e++);-1!==i&&(this._handles[i].classList.add("lm-mod-hidden"),this._handles[i].classList.add("p-mod-hidden")),this._fixed=this._spacing*Math.max(0,e-1)+this.widgetOffset*this._items.length;var s="horizontal"===this._orientation,o=s?this._fixed:0,a=s?0:this._fixed;for(n=0,r=this._items.length;n<r;++n){var l=this._items[n],u=this._sizers[n];u.size>0&&(u.sizeHint=u.size),l.isHidden?(u.minSize=0,u.maxSize=0):(l.fit(),u.stretch=t.getStretch(l.widget),s?(u.minSize=l.minWidth,u.maxSize=l.maxWidth,o+=l.minWidth,a=Math.max(a,l.minHeight)):(u.minSize=l.minHeight,u.maxSize=l.maxHeight,a+=l.minHeight,o=Math.max(o,l.minWidth)))}var d=this._box=R.boxSizing(this.parent.node);o+=d.horizontalSum,a+=d.verticalSum;var c=this.parent.node.style;c.minWidth=o+"px",c.minHeight=a+"px",this._dirty=!0,this.parent.parent&&ae.sendMessage(this.parent.parent,Ve.Msg.FitRequest),this._dirty&&ae.sendMessage(this.parent,Ve.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var i=0,n=0,r=this._items.length;n<r;++n)i+=+!this._items[n].isHidden;if(0!==i||0!==this.widgetOffset){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=R.boxSizing(this.parent.node));var s=this._box.paddingTop,o=this._box.paddingLeft,a=e-this._box.horizontalSum,l=t-this._box.verticalSum,u=0,d=0,c="horizontal"===this._orientation;if(i>0){var h;if(h=c?Math.max(0,a-this._fixed):Math.max(0,l-this._fixed),this._hasNormedSizes){for(var p=0,f=this._sizers;p<f.length;p++)f[p].sizeHint*=h;this._hasNormedSizes=!1}var m=Ne.calc(this._sizers,h);if(m>0)switch(this._alignment){case"start":break;case"center":u=0,d=m/2;break;case"end":u=0,d=m;break;case"justify":u=m/i,d=0;break;default:throw"unreachable"}}for(n=0,r=this._items.length;n<r;++n){var g=this._items[n].isHidden?0:this._sizers[n].size+u;this.updateItemPosition(n,c,c?o+d:o,c?s:s+d,l,a,g);var v=this.widgetOffset+(this._handles[n].classList.contains("lm-mod-hidden")?0:this._spacing);c?o+=g+v:s+=g+v}}},t}(Xe);!function(e){e.getStretch=function(e){return Ye.stretchProperty.get(e)},e.setStretch=function(e,t){Ye.stretchProperty.set(e,t)}}(Je||(Je={})),function(e){e.stretchProperty=new he({name:"stretch",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:function(e){e.parent&&e.parent.layout instanceof Je&&e.parent.fit()}}),e.createSizer=function(e){var t=new We;return t.sizeHint=Math.floor(e),t},e.createHandle=function(e){var t=e.createHandle();return t.style.position="absolute",t},e.averageSize=function(e){return e.reduce((function(e,t){return e+t.size}),0)/e.length||0},e.normalize=function(e){var t=e.length;if(0===t)return[];var i=e.reduce((function(e,t){return e+Math.abs(t)}),0);return 0===i?e.map((function(e){return 1/t})):e.map((function(e){return e/i}))}}(Ye||(Ye={}));var Qe,Ze=function(e){function t(t){var i=e.call(this,Re(Re({},t),{orientation:t.orientation||"vertical"}))||this;return i._titles=[],i.titleSpace=t.titleSpace||22,i}return Be(t,e),Object.defineProperty(t.prototype,"titleSpace",{get:function(){return this.widgetOffset},set:function(e){e=Ge.clampDimension(e),this.widgetOffset!==e&&(this.widgetOffset=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this._titles.length=0,e.prototype.dispose.call(this))},t.prototype.updateTitle=function(e,t){var i=this._titles[e],n=i.classList.contains("lm-mod-expanded"),r=Qe.createTitle(this.renderer,t.title,n);this._titles[e]=r,this.parent.node.replaceChild(r,i)},t.prototype.attachWidget=function(t,i){var n=Qe.createTitle(this.renderer,i.title);w.insert(this._titles,t,n),this.parent.node.appendChild(n),i.node.setAttribute("role","region"),i.node.setAttribute("aria-labelledby",n.id),e.prototype.attachWidget.call(this,t,i)},t.prototype.moveWidget=function(t,i,n){w.move(this._titles,t,i),e.prototype.moveWidget.call(this,t,i,n)},t.prototype.detachWidget=function(t,i){var n=w.removeAt(this._titles,t);this.parent.node.removeChild(n),e.prototype.detachWidget.call(this,t,i)},t.prototype.updateItemPosition=function(t,i,n,r,s,o,a){var l=this._titles[t].style;l.top=r+"px",l.left=n+"px",l.height=this.widgetOffset+"px",l.width=i?s+"px":o+"px",e.prototype.updateItemPosition.call(this,t,i,n,r,s,o,a)},t}(Je);!function(e){e.createTitle=function(e,t,i){void 0===i&&(i=!0);var n=e.createSectionTitle(t);return n.style.position="absolute",n.setAttribute("aria-label",t.label+" Section"),n.setAttribute("aria-expanded",i?"true":"false"),n.setAttribute("aria-controls",t.owner.id),i&&n.classList.add("lm-mod-expanded"),n}}(Qe||(Qe={}));var et,tt=function(e){function t(t){void 0===t&&(t={});var i=e.call(this)||this;return i.addClass("lm-Panel"),i.addClass("p-Panel"),i.layout=et.createLayout(t),i}return Be(t,e),Object.defineProperty(t.prototype,"widgets",{get:function(){return this.layout.widgets},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(e){this.layout.addWidget(e)},t.prototype.insertWidget=function(e,t){this.layout.insertWidget(e,t)},t}(Ve);!function(e){e.createLayout=function(e){return e.layout||new Xe}}(et||(et={}));var it,nt=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,{layout:it.createLayout(t)})||this;return i._handleMoved=new fe(i),i._pressData=null,i.addClass("lm-SplitPanel"),i.addClass("p-SplitPanel"),i}return Be(t,e),t.prototype.dispose=function(){this._releaseMouse(),e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"orientation",{get:function(){return this.layout.orientation},set:function(e){this.layout.orientation=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this.layout.alignment},set:function(e){this.layout.alignment=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handleMoved",{get:function(){return this._handleMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handles",{get:function(){return this.layout.handles},enumerable:!0,configurable:!0}),t.prototype.relativeSizes=function(){return this.layout.relativeSizes()},t.prototype.setRelativeSizes=function(e,t){void 0===t&&(t=!0),this.layout.setRelativeSizes(e,t)},t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()},t.prototype.onChildAdded=function(e){e.child.addClass("lm-SplitPanel-child"),e.child.addClass("p-SplitPanel-child"),this._releaseMouse()},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-SplitPanel-child"),e.child.removeClass("p-SplitPanel-child"),this._releaseMouse()},t.prototype._evtKeyDown=function(e){this._pressData&&(e.preventDefault(),e.stopPropagation()),27===e.keyCode&&this._releaseMouse()},t.prototype._evtMouseDown=function(e){if(0===e.button){var t=this.layout,i=w.findFirstIndex(t.handles,(function(t){return t.contains(e.target)}));if(-1!==i){var n;e.preventDefault(),e.stopPropagation(),document.addEventListener("mouseup",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0);var r=t.handles[i],s=r.getBoundingClientRect();n="horizontal"===t.orientation?e.clientX-s.left:e.clientY-s.top;var o=window.getComputedStyle(r),a=xe.overrideCursor(o.cursor);this._pressData={index:i,delta:n,override:a}}}},t.prototype._evtMouseMove=function(e){var t;e.preventDefault(),e.stopPropagation();var i=this.layout,n=this.node.getBoundingClientRect();t="horizontal"===i.orientation?e.clientX-n.left-this._pressData.delta:e.clientY-n.top-this._pressData.delta,i.moveHandle(this._pressData.index,t)},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse())},t.prototype._releaseMouse=function(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._handleMoved.emit(),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("contextmenu",this,!0))},t}(tt);!function(e){var t=function(){function e(){}return e.prototype.createHandle=function(){var e=document.createElement("div");return e.className="lm-SplitPanel-handle",e.classList.add("p-SplitPanel-handle"),e},e}();e.Renderer=t,e.defaultRenderer=new t,e.getStretch=function(e){return Je.getStretch(e)},e.setStretch=function(e,t){Je.setStretch(e,t)}}(nt||(nt={})),function(e){e.createLayout=function(e){return e.layout||new Je({renderer:e.renderer||nt.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing})}}(it||(it={}));var rt,st=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,Re(Re({},t),{layout:rt.createLayout(t)}))||this;return i._widgetSizesCache=new WeakMap,i.addClass("lm-AccordionPanel"),i}return Be(t,e),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titleSpace",{get:function(){return this.layout.titleSpace},set:function(e){this.layout.titleSpace=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this.layout.titles},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(t){e.prototype.addWidget.call(this,t),t.title.changed.connect(this._onTitleChanged,this)},t.prototype.collapse=function(e){var t=this.layout.widgets[e];t&&!t.isHidden&&this._toggleExpansion(e)},t.prototype.expand=function(e){var t=this.layout.widgets[e];t&&t.isHidden&&this._toggleExpansion(e)},t.prototype.insertWidget=function(t,i){e.prototype.insertWidget.call(this,t,i),i.title.changed.connect(this._onTitleChanged,this)},t.prototype.handleEvent=function(t){switch(e.prototype.handleEvent.call(this,t),t.type){case"click":this._evtClick(t);break;case"keydown":this._eventKeyDown(t)}},t.prototype.onBeforeAttach=function(t){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),e.prototype.onBeforeAttach.call(this,t)},t.prototype.onAfterDetach=function(t){e.prototype.onAfterDetach.call(this,t),this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this)},t.prototype._onTitleChanged=function(e){var t=w.findFirstIndex(this.widgets,(function(t){return t.contains(e.owner)}));t>=0&&(this.layout.updateTitle(t,e.owner),this.update())},t.prototype._computeWidgetSize=function(e){var t=this.layout,i=t.widgets[e];if(i){var n=i.isHidden,r=t.absoluteSizes(),s=(n?-1:1)*this.spacing,o=r.reduce((function(e,t){return e+t})),a=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,r++)n[r]=s[o];return n}(r);if(n){var l=this._widgetSizesCache.get(i);if(!l)return;a[e]+=l,-1===(u=a.map((function(e){return e-l>0})).lastIndexOf(!0))?a.forEach((function(t,i){i!==e&&(a[i]-=r[i]/o*(l-s))})):a[u]-=l-s}else{var u,d=r[e];if(this._widgetSizesCache.set(i,d),a[e]=0,-1===(u=a.map((function(e){return e>0})).lastIndexOf(!0)))return;a[u]=r[u]+d+s}return a.map((function(e){return e/(o+s)}))}},t.prototype._evtClick=function(e){var t=e.target;if(t){var i=w.findFirstIndex(this.titles,(function(e){return e.contains(t)}));i>=0&&(e.preventDefault(),e.stopPropagation(),this._toggleExpansion(i))}},t.prototype._eventKeyDown=function(e){if(!e.defaultPrevented){var t=e.target,i=!1;if(t){var n=w.findFirstIndex(this.titles,(function(e){return e.contains(t)}));if(n>=0){var r=e.keyCode.toString();if(e.key.match(/Space|Enter/)||r.match(/13|32/))t.click(),i=!0;else if("horizontal"===this.orientation?e.key.match(/ArrowLeft|ArrowRight/)||r.match(/37|39/):e.key.match(/ArrowUp|ArrowDown/)||r.match(/38|40/)){var s=e.key.match(/ArrowLeft|ArrowUp/)||r.match(/37|38/)?-1:1,o=this.titles.length,a=(n+o+s)%o;this.titles[a].focus(),i=!0}else"End"===e.key||"35"===r?(this.titles[this.titles.length-1].focus(),i=!0):"Home"!==e.key&&"36"!==r||(this.titles[0].focus(),i=!0)}i&&e.preventDefault()}}},t.prototype._toggleExpansion=function(e){var t=this.titles[e],i=this.layout.widgets[e],n=this._computeWidgetSize(e);n&&this.setRelativeSizes(n,!1),i.isHidden?(t.classList.add("lm-mod-expanded"),t.setAttribute("aria-expanded","true"),i.show()):(t.classList.remove("lm-mod-expanded"),t.setAttribute("aria-expanded","false"),i.hide())},t}(nt);!function(e){var t=function(e){function t(){var i=e.call(this)||this;return i.titleClassName="lm-AccordionPanel-title",i._titleID=0,i._titleKeys=new WeakMap,i._uuid=++t._nInstance,i}return Be(t,e),t.prototype.createCollapseIcon=function(e){return document.createElement("span")},t.prototype.createSectionTitle=function(e){var t=document.createElement("h3");for(var i in t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.id=this.createTitleKey(e),t.className=this.titleClassName,e.dataset)t.dataset[i]=e.dataset[i];t.appendChild(this.createCollapseIcon(e)).className="lm-AccordionPanel-titleCollapser";var n=t.appendChild(document.createElement("span"));return n.className="lm-AccordionPanel-titleLabel",n.textContent=e.label,n.title=e.caption||e.label,t},t.prototype.createTitleKey=function(e){var t=this._titleKeys.get(e);return void 0===t&&(t="title-key-"+this._uuid+"-"+this._titleID++,this._titleKeys.set(e,t)),t},t._nInstance=0,t}(nt.Renderer);e.Renderer=t,e.defaultRenderer=new t}(st||(st={})),function(e){e.createLayout=function(e){return e.layout||new Ze({renderer:e.renderer||st.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing,titleSpace:e.titleSpace})}}(rt||(rt={}));var ot,at=function(e){function t(t){void 0===t&&(t={});var i=e.call(this)||this;return i._fixed=0,i._spacing=4,i._dirty=!1,i._sizers=[],i._items=[],i._box=null,i._alignment="start",i._direction="top-to-bottom",void 0!==t.direction&&(i._direction=t.direction),void 0!==t.alignment&&(i._alignment=t.alignment),void 0!==t.spacing&&(i._spacing=Ge.clampDimension(t.spacing)),i}return Be(t,e),t.prototype.dispose=function(){C(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,this._sizers.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"direction",{get:function(){return this._direction},set:function(e){this._direction!==e&&(this._direction=e,this.parent&&(this.parent.dataset.direction=e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this._alignment},set:function(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=Ge.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),t.prototype.init=function(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,e.prototype.init.call(this)},t.prototype.attachWidget=function(e,t){w.insert(this._items,e,new Ke(t)),w.insert(this._sizers,e,new We),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,i){w.move(this._items,e,t),w.move(this._sizers,e,t),this.parent.update()},t.prototype.detachWidget=function(e,t){var i=w.removeAt(this._items,e);w.removeAt(this._sizers,e),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.AfterDetach),i.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,i=0,n=this._items.length;i<n;++i)e+=+!this._items[i].isHidden;this._fixed=this._spacing*Math.max(0,e-1);var r=ot.isHorizontal(this._direction),s=r?this._fixed:0,o=r?0:this._fixed;for(i=0,n=this._items.length;i<n;++i){var a=this._items[i],l=this._sizers[i];a.isHidden?(l.minSize=0,l.maxSize=0):(a.fit(),l.sizeHint=t.getSizeBasis(a.widget),l.stretch=t.getStretch(a.widget),r?(l.minSize=a.minWidth,l.maxSize=a.maxWidth,s+=a.minWidth,o=Math.max(o,a.minHeight)):(l.minSize=a.minHeight,l.maxSize=a.maxHeight,o+=a.minHeight,s=Math.max(s,a.minWidth)))}var u=this._box=R.boxSizing(this.parent.node);s+=u.horizontalSum,o+=u.verticalSum;var d=this.parent.node.style;d.minWidth=s+"px",d.minHeight=o+"px",this._dirty=!0,this.parent.parent&&ae.sendMessage(this.parent.parent,Ve.Msg.FitRequest),this._dirty&&ae.sendMessage(this.parent,Ve.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var i=0,n=0,r=this._items.length;n<r;++n)i+=+!this._items[n].isHidden;if(0!==i){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=R.boxSizing(this.parent.node));var s,o=this._box.paddingTop,a=this._box.paddingLeft,l=e-this._box.horizontalSum,u=t-this._box.verticalSum;switch(this._direction){case"left-to-right":s=Ne.calc(this._sizers,Math.max(0,l-this._fixed));break;case"top-to-bottom":s=Ne.calc(this._sizers,Math.max(0,u-this._fixed));break;case"right-to-left":s=Ne.calc(this._sizers,Math.max(0,l-this._fixed)),a+=l;break;case"bottom-to-top":s=Ne.calc(this._sizers,Math.max(0,u-this._fixed)),o+=u;break;default:throw"unreachable"}var d=0,c=0;if(s>0)switch(this._alignment){case"start":break;case"center":d=0,c=s/2;break;case"end":d=0,c=s;break;case"justify":d=s/i,c=0;break;default:throw"unreachable"}for(n=0,r=this._items.length;n<r;++n){var h=this._items[n];if(!h.isHidden){var p=this._sizers[n].size;switch(this._direction){case"left-to-right":h.update(a+c,o,p+d,u),a+=p+d+this._spacing;break;case"top-to-bottom":h.update(a,o+c,l,p+d),o+=p+d+this._spacing;break;case"right-to-left":h.update(a-c-p-d,o,p+d,u),a-=p+d+this._spacing;break;case"bottom-to-top":h.update(a,o-c-p-d,l,p+d),o-=p+d+this._spacing;break;default:throw"unreachable"}}}}},t}(Xe);!function(e){e.getStretch=function(e){return ot.stretchProperty.get(e)},e.setStretch=function(e,t){ot.stretchProperty.set(e,t)},e.getSizeBasis=function(e){return ot.sizeBasisProperty.get(e)},e.setSizeBasis=function(e,t){ot.sizeBasisProperty.set(e,t)}}(at||(at={})),function(e){function t(e){e.parent&&e.parent.layout instanceof at&&e.parent.fit()}e.stretchProperty=new he({name:"stretch",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:t}),e.sizeBasisProperty=new he({name:"sizeBasis",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:t}),e.isHorizontal=function(e){return"left-to-right"===e||"right-to-left"===e},e.clampSpacing=function(e){return Math.max(0,Math.floor(e))}}(ot||(ot={}));var lt,ut=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,{layout:lt.createLayout(t)})||this;return i.addClass("lm-BoxPanel"),i.addClass("p-BoxPanel"),i}return Be(t,e),Object.defineProperty(t.prototype,"direction",{get:function(){return this.layout.direction},set:function(e){this.layout.direction=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this.layout.alignment},set:function(e){this.layout.alignment=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),t.prototype.onChildAdded=function(e){e.child.addClass("lm-BoxPanel-child"),e.child.addClass("p-BoxPanel-child")},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-BoxPanel-child"),e.child.removeClass("p-BoxPanel-child")},t}(tt);!function(e){e.getStretch=function(e){return at.getStretch(e)},e.setStretch=function(e,t){at.setStretch(e,t)},e.getSizeBasis=function(e){return at.getSizeBasis(e)},e.setSizeBasis=function(e,t){at.setSizeBasis(e,t)}}(ut||(ut={})),function(e){e.createLayout=function(e){return e.layout||new at(e)}}(lt||(lt={}));var dt,ct=function(e){function t(i){var n=e.call(this,{node:dt.createNode()})||this;return n._activeIndex=-1,n._items=[],n._results=null,n.addClass("lm-CommandPalette"),n.addClass("p-CommandPalette"),n.setFlag(Ve.Flag.DisallowLayout),n.commands=i.commands,n.renderer=i.renderer||t.defaultRenderer,n.commands.commandChanged.connect(n._onGenericChange,n),n.commands.keyBindingChanged.connect(n._onGenericChange,n),n}return Be(t,e),t.prototype.dispose=function(){this._items.length=0,this._results=null,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"searchNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-search")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-input")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),t.prototype.addItem=function(e){var t=dt.createItem(this.commands,e);return this._items.push(t),this.refresh(),t},t.prototype.addItems=function(e){var t=this,i=e.map((function(e){return dt.createItem(t.commands,e)}));return i.forEach((function(e){return t._items.push(e)})),this.refresh(),i},t.prototype.removeItem=function(e){this.removeItemAt(this._items.indexOf(e))},t.prototype.removeItemAt=function(e){w.removeAt(this._items,e)&&this.refresh()},t.prototype.clearItems=function(){0!==this._items.length&&(this._items.length=0,this.refresh())},t.prototype.refresh=function(){this._results=null,""!==this.inputNode.value?this.node.getElementsByClassName("lm-close-icon")[0].style.display="inherit":this.node.getElementsByClassName("lm-close-icon")[0].style.display="none",this.update()},t.prototype.handleEvent=function(e){switch(e.type){case"click":this._evtClick(e);break;case"keydown":this._evtKeyDown(e);break;case"input":this.refresh();break;case"focus":case"blur":this._toggleFocused()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),this.node.addEventListener("input",this),this.node.addEventListener("focus",this,!0),this.node.addEventListener("blur",this,!0)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this),this.node.removeEventListener("input",this),this.node.removeEventListener("focus",this,!0),this.node.removeEventListener("blur",this,!0)},t.prototype.onActivateRequest=function(e){if(this.isAttached){var t=this.inputNode;t.focus(),t.select()}},t.prototype.onUpdateRequest=function(e){var t=this.inputNode.value,i=this.contentNode,n=this._results;if(n||(n=this._results=dt.search(this._items,t),this._activeIndex=t?w.findFirstIndex(n,dt.canActivate):-1),t||0!==n.length)if(t&&0===n.length){var r=this.renderer.renderEmptyMessage({query:t});Ae.render(r,i)}else{for(var s=this.renderer,o=this._activeIndex,a=new Array(n.length),l=0,u=n.length;l<u;++l){var d=n[l];if("header"===d.type){var c=d.indices,h=d.category;a[l]=s.renderHeader({category:h,indices:c})}else{var p=d.item,f=(c=d.indices,l===o);a[l]=s.renderItem({item:p,indices:c,active:f})}}if(Ae.render(a,i),o<0||o>=n.length)i.scrollTop=0;else{var m=i.children[o];R.scrollIntoViewIfNeeded(i,m)}}else Ae.render(null,i)},t.prototype._evtClick=function(e){if(0===e.button){if(e.target.classList.contains("lm-close-icon"))return this.inputNode.value="",void this.refresh();var t=w.findFirstIndex(this.contentNode.children,(function(t){return t.contains(e.target)}));-1!==t&&(e.preventDefault(),e.stopPropagation(),this._execute(t))}},t.prototype._evtKeyDown=function(e){if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey))switch(e.keyCode){case 13:e.preventDefault(),e.stopPropagation(),this._execute(this._activeIndex);break;case 38:e.preventDefault(),e.stopPropagation(),this._activatePreviousItem();break;case 40:e.preventDefault(),e.stopPropagation(),this._activateNextItem()}},t.prototype._activateNextItem=function(){if(this._results&&0!==this._results.length){var e=this._activeIndex,t=this._results.length,i=e<t-1?e+1:0,n=0===i?t-1:i-1;this._activeIndex=w.findFirstIndex(this._results,dt.canActivate,i,n),this.update()}},t.prototype._activatePreviousItem=function(){if(this._results&&0!==this._results.length){var e=this._activeIndex,t=this._results.length,i=e<=0?t-1:e-1,n=i===t-1?0:i+1;this._activeIndex=w.findLastIndex(this._results,dt.canActivate,i,n),this.update()}},t.prototype._execute=function(e){if(this._results){var t=this._results[e];if(t){if("header"===t.type){var i=this.inputNode;return i.value=t.category.toLowerCase()+" ",i.focus(),void this.refresh()}t.item.isEnabled&&(this.commands.execute(t.item.command,t.item.args),this.inputNode.value="",this.refresh())}}},t.prototype._toggleFocused=function(){var e=document.activeElement===this.inputNode;this.toggleClass("lm-mod-focused",e),this.toggleClass("p-mod-focused",e)},t.prototype._onGenericChange=function(){this.refresh()},t}(Ve);!function(e){var t=function(){function e(){}return e.prototype.renderHeader=function(e){var t=this.formatHeader(e);return Pe.li({className:"lm-CommandPalette-header p-CommandPalette-header"},t)},e.prototype.renderItem=function(e){var t=this.createItemClass(e),i=this.createItemDataset(e);return e.item.isToggleable?Pe.li({className:t,dataset:i,role:"checkbox","aria-checked":""+e.item.isToggled},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e)):Pe.li({className:t,dataset:i},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e))},e.prototype.renderEmptyMessage=function(e){var t=this.formatEmptyMessage(e);return Pe.li({className:"lm-CommandPalette-emptyMessage p-CommandPalette-emptyMessage"},t)},e.prototype.renderItemIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.item.icon?Pe.div({className:t},e.item.iconLabel):Pe.div({className:t},e.item.icon,e.item.iconLabel)},e.prototype.renderItemContent=function(e){return Pe.div({className:"lm-CommandPalette-itemContent p-CommandPalette-itemContent"},this.renderItemLabel(e),this.renderItemCaption(e))},e.prototype.renderItemLabel=function(e){var t=this.formatItemLabel(e);return Pe.div({className:"lm-CommandPalette-itemLabel p-CommandPalette-itemLabel"},t)},e.prototype.renderItemCaption=function(e){var t=this.formatItemCaption(e);return Pe.div({className:"lm-CommandPalette-itemCaption p-CommandPalette-itemCaption"},t)},e.prototype.renderItemShortcut=function(e){var t=this.formatItemShortcut(e);return Pe.div({className:"lm-CommandPalette-itemShortcut p-CommandPalette-itemShortcut"},t)},e.prototype.createItemClass=function(e){var t="lm-CommandPalette-item";t+=" p-CommandPalette-item",e.item.isEnabled||(t+=" lm-mod-disabled",t+=" p-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled",t+=" p-mod-toggled"),e.active&&(t+=" lm-mod-active",t+=" p-mod-active");var i=e.item.className;return i&&(t+=" "+i),t},e.prototype.createItemDataset=function(e){return Re(Re({},e.item.dataset),{command:e.item.command})},e.prototype.createIconClass=function(e){var t="lm-CommandPalette-itemIcon";t+=" p-CommandPalette-itemIcon";var i=e.item.iconClass;return i?t+" "+i:t},e.prototype.formatHeader=function(e){return e.indices&&0!==e.indices.length?B.highlight(e.category,e.indices,Pe.mark):e.category},e.prototype.formatEmptyMessage=function(e){return"No commands found that match '"+e.query+"'"},e.prototype.formatItemShortcut=function(e){var t=e.item.keyBinding;return t?Te.formatKeystroke(t.keys):null},e.prototype.formatItemLabel=function(e){return e.indices&&0!==e.indices.length?B.highlight(e.item.label,e.indices,Pe.mark):e.item.label},e.prototype.formatItemCaption=function(e){return e.item.caption},e}();e.Renderer=t,e.defaultRenderer=new t}(ct||(ct={})),function(t){function i(e,t){for(var i=e.category.toLowerCase(),n=i+" "+e.label.toLowerCase(),r=1/0,s=null,o=/\b\w/g;;){var a=o.exec(n);if(!a)break;var l=B.matchSumOfDeltas(n,t,a.index);if(!l)break;l&&l.score<=r&&(r=l.score,s=l.indices)}if(!s||r===1/0)return null;for(var u=i.length+1,d=w.lowerBound(s,u,(function(e,t){return e-t})),c=s.slice(0,d),h=s.slice(d),p=0,f=h.length;p<f;++p)h[p]-=u;return 0===c.length?{matchType:0,categoryIndices:null,labelIndices:h,score:r,item:e}:0===h.length?{matchType:1,categoryIndices:c,labelIndices:null,score:r,item:e}:{matchType:2,categoryIndices:c,labelIndices:h,score:r,item:e}}function n(e,t){var i=e.matchType-t.matchType;if(0!==i)return i;var n=e.score-t.score;if(0!==n)return n;var r=0,s=0;switch(e.matchType){case 0:r=e.labelIndices[0],s=t.labelIndices[0];break;case 1:case 2:r=e.categoryIndices[0],s=t.categoryIndices[0]}if(r!==s)return r-s;var o=e.item.category.localeCompare(t.item.category);if(0!==o)return o;var a=e.item.rank,l=t.item.rank;return a!==l?a<l?-1:1:e.item.label.localeCompare(t.item.label)}t.createNode=function(){var e=document.createElement("div"),t=document.createElement("div"),i=document.createElement("div"),n=document.createElement("input"),r=document.createElement("ul"),s=document.createElement("button");return t.className="lm-CommandPalette-search",i.className="lm-CommandPalette-wrapper",n.className="lm-CommandPalette-input",s.className="lm-close-icon",r.className="lm-CommandPalette-content",t.classList.add("p-CommandPalette-search"),i.classList.add("p-CommandPalette-wrapper"),n.classList.add("p-CommandPalette-input"),r.classList.add("p-CommandPalette-content"),n.spellcheck=!1,i.appendChild(n),i.appendChild(s),t.appendChild(i),e.appendChild(t),e.appendChild(r),e},t.createItem=function(e,t){return new r(e,t)},t.search=function(e,t){var r=function(e,t){t=t.replace(/\s+/g,"").toLowerCase();for(var n=[],r=0,s=e.length;r<s;++r){var o=e[r];if(o.isVisible)if(t){var a=i(o,t);a&&(o.isEnabled||(a.score+=1e3),n.push(a))}else n.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:o})}return n}(e,t);return r.sort(n),function(e){var t=new Array(e.length);w.fill(t,!1);for(var i=[],n=0,r=e.length;n<r;++n)if(!t[n]){var s=e[n],o=s.item,a=s.categoryIndices,l=o.category;i.push({type:"header",category:l,indices:a});for(var u=n;u<r;++u)if(!t[u]){var d=e[u],c=d.item,h=d.labelIndices;c.category===l&&(i.push({type:"item",item:c,indices:h}),t[u]=!0)}}return i}(r)},t.canActivate=function(e){return"item"===e.type&&e.item.isEnabled};var r=function(){function t(t,i){this._commands=t,this.category=i.category.trim().replace(/\s+/g," "),this.command=i.command,this.args=i.args||e.JSONExt.emptyObject,this.rank=void 0!==i.rank?i.rank:1/0}return Object.defineProperty(t.prototype,"label",{get:function(){return this._commands.label(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this._commands.icon(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass",{get:function(){return this._commands.iconClass(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconLabel",{get:function(){return this._commands.iconLabel(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"caption",{get:function(){return this._commands.caption(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this._commands.className(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataset",{get:function(){return this._commands.dataset(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._commands.isEnabled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isToggled",{get:function(){return this._commands.isToggled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isToggleable",{get:function(){return this._commands.isToggleable(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._commands.isVisible(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyBinding",{get:function(){var t=this.command,i=this.args;return w.findLastValue(this._commands.keyBindings,(function(n){return n.command===t&&e.JSONExt.deepEqual(n.args,i)}))||null},enumerable:!0,configurable:!0}),t}()}(dt||(dt={}));var ht,pt,ft=function(e){function t(i){var n=e.call(this,{node:ht.createNode()})||this;return n._childIndex=-1,n._activeIndex=-1,n._openTimerID=0,n._closeTimerID=0,n._items=[],n._childMenu=null,n._parentMenu=null,n._aboutToClose=new fe(n),n._menuRequested=new fe(n),n.addClass("lm-Menu"),n.addClass("p-Menu"),n.setFlag(Ve.Flag.DisallowLayout),n.commands=i.commands,n.renderer=i.renderer||t.defaultRenderer,n}return Be(t,e),t.prototype.dispose=function(){this.close(),this._items.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"aboutToClose",{get:function(){return this._aboutToClose},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menuRequested",{get:function(){return this._menuRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentMenu",{get:function(){return this._parentMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootMenu",{get:function(){for(var e=this;e._parentMenu;)e=e._parentMenu;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"leafMenu",{get:function(){for(var e=this;e._childMenu;)e=e._childMenu;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-Menu-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._items[this._activeIndex]||null},set:function(e){this.activeIndex=e?this._items.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(e){(e<0||e>=this._items.length)&&(e=-1),-1===e||ht.canActivate(this._items[e])||(e=-1),this._activeIndex!==e&&(this._activeIndex=e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),t.prototype.activateNextItem=function(){var e=this._items.length,t=this._activeIndex,i=t<e-1?t+1:0,n=0===i?e-1:i-1;this.activeIndex=w.findFirstIndex(this._items,ht.canActivate,i,n)},t.prototype.activatePreviousItem=function(){var e=this._items.length,t=this._activeIndex,i=t<=0?e-1:t-1,n=i===e-1?0:i+1;this.activeIndex=w.findLastIndex(this._items,ht.canActivate,i,n)},t.prototype.triggerActiveItem=function(){if(this.isAttached){var e=this.activeItem;if(e)if(this._cancelOpenTimer(),this._cancelCloseTimer(),"submenu"!==e.type){this.rootMenu.close();var t=e.command,i=e.args;this.commands.isEnabled(t,i)?this.commands.execute(t,i):console.log("Command '"+t+"' is disabled.")}else this._openChildMenu(!0)}},t.prototype.addItem=function(e){return this.insertItem(this._items.length,e)},t.prototype.insertItem=function(e,t){this.isAttached&&this.close(),this.activeIndex=-1;var i=Math.max(0,Math.min(e,this._items.length)),n=ht.createItem(this,t);return w.insert(this._items,i,n),this.update(),n},t.prototype.removeItem=function(e){this.removeItemAt(this._items.indexOf(e))},t.prototype.removeItemAt=function(e){this.isAttached&&this.close(),this.activeIndex=-1,w.removeAt(this._items,e)&&this.update()},t.prototype.clearItems=function(){this.isAttached&&this.close(),this.activeIndex=-1,0!==this._items.length&&(this._items.length=0,this.update())},t.prototype.open=function(e,t,i){if(void 0===i&&(i={}),!this.isAttached){var n=i.forceX||!1,r=i.forceY||!1;ht.openRootMenu(this,e,t,n,r),this.activate()}},t.prototype.handleEvent=function(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mouseup":this._evtMouseUp(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseenter":this._evtMouseEnter(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"mousedown":this._evtMouseDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)},t.prototype.onActivateRequest=function(e){this.isAttached&&this.node.focus()},t.prototype.onUpdateRequest=function(e){for(var t=this,i=this._items,n=this.renderer,r=this._activeIndex,s=ht.computeCollapsed(i),o=new Array(i.length),a=function(e,a){var l=i[e],u=e===r,d=s[e];o[e]=n.renderItem({item:l,active:u,collapsed:d,onfocus:function(){t.activeIndex=e}})},l=0,u=i.length;l<u;++l)a(l);Ae.render(o,this.contentNode)},t.prototype.onCloseRequest=function(t){this._cancelOpenTimer(),this._cancelCloseTimer(),this.activeIndex=-1;var i=this._childMenu;i&&(this._childIndex=-1,this._childMenu=null,i._parentMenu=null,i.close());var n=this._parentMenu;n&&(this._parentMenu=null,n._childIndex=-1,n._childMenu=null,n.activate()),this.isAttached&&this._aboutToClose.emit(void 0),e.prototype.onCloseRequest.call(this,t)},t.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation();var t=e.keyCode;if(13!==t)if(27!==t)if(37!==t)if(38!==t)if(39!==t)if(40!==t){var i=we().keyForKeydownEvent(e);if(i){var n=this._activeIndex+1,r=ht.findMnemonic(this._items,i,n);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.triggerActiveItem())}}else this.activateNextItem();else{var s=this.activeItem;s&&"submenu"===s.type?this.triggerActiveItem():this.rootMenu._menuRequested.emit("next")}else this.activatePreviousItem();else this._parentMenu?this.close():this._menuRequested.emit("previous");else this.close();else this.triggerActiveItem()},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this.triggerActiveItem())},t.prototype._evtMouseMove=function(e){var t=w.findFirstIndex(this.contentNode.children,(function(t){return R.hitTest(t,e.clientX,e.clientY)}));if(t!==this._activeIndex){if(this.activeIndex=t,(t=this.activeIndex)===this._childIndex)return this._cancelOpenTimer(),void this._cancelCloseTimer();-1!==this._childIndex&&this._startCloseTimer(),this._cancelOpenTimer();var i=this.activeItem;i&&"submenu"===i.type&&i.submenu&&this._startOpenTimer()}},t.prototype._evtMouseEnter=function(e){for(var t=this._parentMenu;t;t=t._parentMenu)t._cancelOpenTimer(),t._cancelCloseTimer(),t.activeIndex=t._childIndex},t.prototype._evtMouseLeave=function(e){if(this._cancelOpenTimer(),this._childMenu){var t=e.clientX,i=e.clientY;R.hitTest(this._childMenu.node,t,i)?this._cancelCloseTimer():(this.activeIndex=-1,this._startCloseTimer())}else this.activeIndex=-1},t.prototype._evtMouseDown=function(e){this._parentMenu||(ht.hitTestMenus(this,e.clientX,e.clientY)?(e.preventDefault(),e.stopPropagation()):this.close())},t.prototype._openChildMenu=function(e){void 0===e&&(e=!1);var i=this.activeItem;if(i&&"submenu"===i.type&&i.submenu){var n=i.submenu;if(n!==this._childMenu){t.saveWindowData(),this._closeChildMenu(),this._childMenu=n,this._childIndex=this._activeIndex,n._parentMenu=this,ae.sendMessage(this,Ve.Msg.UpdateRequest);var r=this.contentNode.children[this._activeIndex];ht.openSubmenu(n,r),e&&(n.activeIndex=-1,n.activateNextItem()),n.activate()}}else this._closeChildMenu()},t.prototype._closeChildMenu=function(){this._childMenu&&this._childMenu.close()},t.prototype._startOpenTimer=function(){var e=this;0===this._openTimerID&&(this._openTimerID=window.setTimeout((function(){e._openTimerID=0,e._openChildMenu()}),ht.TIMER_DELAY))},t.prototype._startCloseTimer=function(){var e=this;0===this._closeTimerID&&(this._closeTimerID=window.setTimeout((function(){e._closeTimerID=0,e._closeChildMenu()}),ht.TIMER_DELAY))},t.prototype._cancelOpenTimer=function(){0!==this._openTimerID&&(clearTimeout(this._openTimerID),this._openTimerID=0)},t.prototype._cancelCloseTimer=function(){0!==this._closeTimerID&&(clearTimeout(this._closeTimerID),this._closeTimerID=0)},t.saveWindowData=function(){ht.saveWindowData()},t}(Ve);!function(e){var t=function(){function e(){}return e.prototype.renderItem=function(e){var t=this.createItemClass(e),i=this.createItemDataset(e),n=this.createItemARIA(e);return Pe.li(Re({className:t,dataset:i,tabindex:"0",onfocus:e.onfocus},n),this.renderIcon(e),this.renderLabel(e),this.renderShortcut(e),this.renderSubmenu(e))},e.prototype.renderIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.item.icon?Pe.div({className:t},e.item.iconLabel):Pe.div({className:t},e.item.icon,e.item.iconLabel)},e.prototype.renderLabel=function(e){var t=this.formatLabel(e);return Pe.div({className:"lm-Menu-itemLabel p-Menu-itemLabel"},t)},e.prototype.renderShortcut=function(e){var t=this.formatShortcut(e);return Pe.div({className:"lm-Menu-itemShortcut p-Menu-itemShortcut"},t)},e.prototype.renderSubmenu=function(e){return Pe.div({className:"lm-Menu-itemSubmenuIcon p-Menu-itemSubmenuIcon"})},e.prototype.createItemClass=function(e){var t="lm-Menu-item";t+=" p-Menu-item",e.item.isEnabled||(t+=" lm-mod-disabled",t+=" p-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled",t+=" p-mod-toggled"),e.item.isVisible||(t+=" lm-mod-hidden",t+=" p-mod-hidden"),e.active&&(t+=" lm-mod-active",t+=" p-mod-active"),e.collapsed&&(t+=" lm-mod-collapsed",t+=" p-mod-collapsed");var i=e.item.className;return i&&(t+=" "+i),t},e.prototype.createItemDataset=function(e){var t=e.item,i=t.type,n=t.command,r=t.dataset;return Re(Re({},r),"command"===i?{type:i,command:n}:{type:i})},e.prototype.createIconClass=function(e){var t="lm-Menu-itemIcon";t+=" p-Menu-itemIcon";var i=e.item.iconClass;return i?t+" "+i:t},e.prototype.createItemARIA=function(e){var t={};switch(e.item.type){case"separator":t.role="presentation";break;case"submenu":t["aria-haspopup"]="true",e.item.isEnabled||(t["aria-disabled"]="true");break;default:e.item.isEnabled||(t["aria-disabled"]="true"),t.role="menuitem"}return t},e.prototype.formatLabel=function(e){var t=e.item,i=t.label,n=t.mnemonic;if(n<0||n>=i.length)return i;var r=i.slice(0,n),s=i.slice(n+1),o=i[n];return[r,Pe.span({className:"lm-Menu-itemMnemonic p-Menu-itemMnemonic"},o),s]},e.prototype.formatShortcut=function(e){var t=e.item.keyBinding;return t?Te.formatKeystroke(t.keys):null},e}();e.Renderer=t,e.defaultRenderer=new t}(ft||(ft={})),function(t){t.TIMER_DELAY=300,t.SUBMENU_OVERLAP=3;var i=null,n=0;function r(){return n>0?(n--,i):o()}function s(e){return"separator"!==e.type&&e.isEnabled&&e.isVisible}function o(){return{pageXOffset:window.pageXOffset,pageYOffset:window.pageYOffset,clientWidth:document.documentElement.clientWidth,clientHeight:document.documentElement.clientHeight}}t.saveWindowData=function(){i=o(),n++},t.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-Menu-content",t.classList.add("p-Menu-content"),e.appendChild(t),t.setAttribute("role","menu"),e.tabIndex=0,e},t.canActivate=s,t.createItem=function(e,t){return new a(e.commands,t)},t.hitTestMenus=function(e,t,i){for(var n=e;n;n=n.childMenu)if(R.hitTest(n.node,t,i))return!0;return!1},t.computeCollapsed=function(e){var t=new Array(e.length);w.fill(t,!1);for(var i=0,n=e.length;i<n;++i)if((o=e[i]).isVisible){if("separator"!==o.type)break;t[i]=!0}for(var r=n-1;r>=0;--r)if((o=e[r]).isVisible){if("separator"!==o.type)break;t[r]=!0}for(var s=!1;++i<r;){var o;(o=e[i]).isVisible&&("separator"!==o.type?s=!1:s?t[i]=!0:s=!0)}return t},t.openRootMenu=function(e,t,i,n,s){var o=r(),a=o.pageXOffset,l=o.pageYOffset,u=o.clientWidth,d=o.clientHeight;ae.sendMessage(e,Ve.Msg.UpdateRequest);var c=d-(s?i:0),h=e.node,p=h.style;p.opacity="0",p.maxHeight=c+"px",Ve.attach(e,document.body);var f=h.getBoundingClientRect(),m=f.width,g=f.height;!n&&t+m>a+u&&(t=a+u-m),!s&&i+g>l+d&&(i>l+d?i=l+d-g:i-=g),p.transform="translate("+Math.max(0,t)+"px, "+Math.max(0,i)+"px",p.opacity="1"},t.openSubmenu=function(e,i){var n=r(),s=n.pageXOffset,o=n.pageYOffset,a=n.clientWidth,l=n.clientHeight;ae.sendMessage(e,Ve.Msg.UpdateRequest);var u=l,d=e.node,c=d.style;c.opacity="0",c.maxHeight=u+"px",Ve.attach(e,document.body);var h=d.getBoundingClientRect(),p=h.width,f=h.height,m=R.boxSizing(e.node),g=i.getBoundingClientRect(),v=g.right-t.SUBMENU_OVERLAP;v+p>s+a&&(v=g.left+t.SUBMENU_OVERLAP-p);var _=g.top-m.borderTop-m.paddingTop;_+f>o+l&&(_=g.bottom+m.borderBottom+m.paddingBottom-f),c.transform="translate("+Math.max(0,v)+"px, "+Math.max(0,_)+"px",c.opacity="1"},t.findMnemonic=function(e,t,i){for(var n=-1,r=-1,o=!1,a=t.toUpperCase(),l=0,u=e.length;l<u;++l){var d=(l+i)%u,c=e[d];if(s(c)){var h=c.label;if(0!==h.length){var p=c.mnemonic;p>=0&&p<h.length?h[p].toUpperCase()===a&&(-1===n?n=d:o=!0):-1===r&&h[0].toUpperCase()===a&&(r=d)}}}return{index:n,multiple:o,auto:r}};var a=function(){function t(t,i){this._commands=t,this.type=i.type||"command",this.command=i.command||"",this.args=i.args||e.JSONExt.emptyObject,this.submenu=i.submenu||null}return Object.defineProperty(t.prototype,"label",{get:function(){return"command"===this.type?this._commands.label(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.label:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mnemonic",{get:function(){return"command"===this.type?this._commands.mnemonic(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.mnemonic:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return"command"===this.type?this._commands.icon(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.icon:this.iconClass},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass",{get:function(){return"command"===this.type?this._commands.iconClass(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconClass:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconLabel",{get:function(){return"command"===this.type?this._commands.iconLabel(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconLabel:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"caption",{get:function(){return"command"===this.type?this._commands.caption(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.caption:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return"command"===this.type?this._commands.className(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.className:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataset",{get:function(){return"command"===this.type?this._commands.dataset(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.dataset:{}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return"command"===this.type?this._commands.isEnabled(this.command,this.args):"submenu"!==this.type||null!==this.submenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isToggled",{get:function(){return"command"===this.type&&this._commands.isToggled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return"command"===this.type?this._commands.isVisible(this.command,this.args):"submenu"!==this.type||null!==this.submenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"keyBinding",{get:function(){if("command"===this.type){var t=this.command,i=this.args;return w.findLastValue(this._commands.keyBindings,(function(n){return n.command===t&&e.JSONExt.deepEqual(n.args,i)}))||null}return null},enumerable:!0,configurable:!0}),t}()}(ht||(ht={})),function(){function e(e){this._groupByTarget=!0,this._idTick=0,this._items=[],this._sortBySelector=!0;var t=e.groupByTarget,i=e.sortBySelector,n=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}(e,["groupByTarget","sortBySelector"]);this.menu=new ft(n),this._groupByTarget=!1!==t,this._sortBySelector=!1!==i}e.prototype.addItem=function(e){var t=this,i=pt.createItem(e,this._idTick++);return this._items.push(i),new ve((function(){w.removeFirstOf(t._items,i)}))},e.prototype.open=function(e){var t=this;if(ft.saveWindowData(),this.menu.clearItems(),0===this._items.length)return!1;var i=pt.matchItems(this._items,e,this._groupByTarget,this._sortBySelector);return!(!i||0===i.length||(C(i,(function(e){t.menu.addItem(e)})),this.menu.open(e.clientX,e.clientY),0))}}(),function(e){function t(e,t){var i=e.rank,n=t.rank;return i!==n?i<n?-1:1:e.id-t.id}function i(e,i){var n=H.calculateSpecificity(e.selector),r=H.calculateSpecificity(i.selector);return n!==r?r-n:t(e,i)}e.createItem=function(e,t){var i=function(e){if(-1!==e.indexOf(","))throw new Error("Selector cannot contain commas: "+e);if(!H.isValid(e))throw new Error("Invalid selector: "+e);return e}(e.selector),n=void 0!==e.rank?e.rank:1/0;return Re(Re({},e),{selector:i,rank:n,id:t})},e.matchItems=function(e,n,r,s){var o=n.target;if(!o)return null;var a=n.currentTarget;if(!a)return null;if(!(a.contains(o)||(o=document.elementFromPoint(n.clientX,n.clientY))&&a.contains(o)))return null;for(var l=[],u=e.slice();null!==o;){for(var d=[],c=0,h=u.length;c<h;++c){var p=u[c];p&&H.matches(o,p.selector)&&(d.push(p),u[c]=null)}if(0!==d.length&&(r&&d.sort(s?i:t),l.push.apply(l,d)),o===a)break;o=o.parentElement}return r||l.sort(s?i:t),l}}(pt||(pt={}));var mt,gt=function(e){function t(i){void 0===i&&(i={});var n=e.call(this,{node:mt.createNode()})||this;return n._currentIndex=-1,n._titles=[],n._titlesEditable=!1,n._previousTitle=null,n._dragData=null,n._addButtonEnabled=!1,n._tabMoved=new fe(n),n._currentChanged=new fe(n),n._addRequested=new fe(n),n._tabCloseRequested=new fe(n),n._tabDetachRequested=new fe(n),n._tabActivateRequested=new fe(n),n.addClass("lm-TabBar"),n.addClass("p-TabBar"),n.contentNode.setAttribute("role","tablist"),n.setFlag(Ve.Flag.DisallowLayout),n._document=i.document||document,n.tabsMovable=i.tabsMovable||!1,n.titlesEditable=i.titlesEditable||!1,n.allowDeselect=i.allowDeselect||!1,n.addButtonEnabled=i.addButtonEnabled||!1,n.insertBehavior=i.insertBehavior||"select-tab-if-needed",n.name=i.name||"",n.orientation=i.orientation||"horizontal",n.removeBehavior=i.removeBehavior||"select-tab-after",n.renderer=i.renderer||t.defaultRenderer,n}return Be(t,e),t.prototype.dispose=function(){this._releaseMouse(),this._titles.length=0,this._previousTitle=null,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabMoved",{get:function(){return this._tabMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabActivateRequested",{get:function(){return this._tabActivateRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabCloseRequested",{get:function(){return this._tabCloseRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabDetachRequested",{get:function(){return this._tabDetachRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"document",{get:function(){return this._document},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titlesEditable",{get:function(){return this._titlesEditable},set:function(e){this._titlesEditable=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTitle",{get:function(){return this._titles[this._currentIndex]||null},set:function(e){this.currentIndex=e?this._titles.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){if((e<0||e>=this._titles.length)&&(e=-1),this._currentIndex!==e){var t=this._currentIndex,i=this._titles[t]||null,n=e,r=this._titles[n]||null;this._currentIndex=n,this._previousTitle=i,this.update(),this._currentChanged.emit({previousIndex:t,previousTitle:i,currentIndex:n,currentTitle:r})}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e,e?this.contentNode.setAttribute("aria-label",e):this.contentNode.removeAttribute("aria-label")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._releaseMouse(),this._orientation=e,this.dataset.orientation=e,this.contentNode.setAttribute("aria-orientation",e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(e){this._addButtonEnabled!==e&&(this._addButtonEnabled=e,e?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]},enumerable:!0,configurable:!0}),t.prototype.addTab=function(e){return this.insertTab(this._titles.length,e)},t.prototype.insertTab=function(e,t){this._releaseMouse();var i=mt.asTitle(t),n=this._titles.indexOf(i),r=Math.max(0,Math.min(e,this._titles.length));return-1===n?(w.insert(this._titles,r,i),i.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(r,i),i):(r===this._titles.length&&r--,n===r||(w.move(this._titles,n,r),this.update(),this._adjustCurrentForMove(n,r)),i)},t.prototype.removeTab=function(e){this.removeTabAt(this._titles.indexOf(e))},t.prototype.removeTabAt=function(e){this._releaseMouse();var t=w.removeAt(this._titles,e);t&&(t.changed.disconnect(this._onTitleChanged,this),t===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(e,t))},t.prototype.clearTabs=function(){if(0!==this._titles.length){this._releaseMouse();for(var e=0,t=this._titles;e<t.length;e++)t[e].changed.disconnect(this._onTitleChanged,this);var i=this.currentIndex,n=this.currentTitle;this._currentIndex=-1,this._previousTitle=null,this._titles.length=0,this.update(),-1!==i&&this._currentChanged.emit({previousIndex:i,previousTitle:n,currentIndex:-1,currentTitle:null})}},t.prototype.releaseMouse=function(){this._releaseMouse()},t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"dblclick":this._evtDblClick(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this),this.node.addEventListener("dblclick",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this.node.removeEventListener("dblclick",this),this._releaseMouse()},t.prototype.onUpdateRequest=function(e){for(var t=this._titles,i=this.renderer,n=this.currentTitle,r=new Array(t.length),s=0,o=t.length;s<o;++s){var a=t[s],l=a===n,u=l?o:o-s-1;r[s]=i.renderTab({title:a,current:l,zIndex:u})}Ae.render(r,this.contentNode)},t.prototype._evtDblClick=function(e){if(this.titlesEditable){var t=this.contentNode.children,i=w.findFirstIndex(t,(function(t){return R.hitTest(t,e.clientX,e.clientY)}));if(-1!==i){var n=this.titles[i],r=t[i].querySelector(".lm-TabBar-tabLabel");if(r&&r.contains(e.target)){var s=n.label||"",o=r.innerHTML;r.innerHTML="";var a=document.createElement("input");a.classList.add("lm-TabBar-tabInput"),a.value=s,r.appendChild(a);var l=function(){a.removeEventListener("blur",l),r.innerHTML=o};a.addEventListener("dblclick",(function(e){return e.stopPropagation()})),a.addEventListener("blur",l),a.addEventListener("keydown",(function(e){"Enter"===e.key?(""!==a.value&&(n.label=n.caption=a.value),l()):"Escape"===e.key&&l()})),a.select(),a.focus(),r.children.length>0&&r.children[0].focus()}}}},t.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&this._releaseMouse()},t.prototype._evtMouseDown=function(e){if((0===e.button||1===e.button)&&!this._dragData){var t=this.addButtonEnabled&&this.addButtonNode.contains(e.target),i=this.contentNode.children,n=w.findFirstIndex(i,(function(t){return R.hitTest(t,e.clientX,e.clientY)}));if((-1!==n||t)&&(e.preventDefault(),e.stopPropagation(),this._dragData={tab:i[n],index:n,pressX:e.clientX,pressY:e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("mouseup",this,!0),this.document.addEventListener("pointerup",this,!0),1!==e.button&&!t)){var r=i[n].querySelector(this.renderer.closeIconSelector);r&&r.contains(e.target)||(this.tabsMovable&&(this.document.addEventListener("mousemove",this,!0),this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===n?this.currentIndex=-1:this.currentIndex=n,-1!==this.currentIndex&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}}},t.prototype._evtMouseMove=function(e){var t=this._dragData;if(t){e.preventDefault(),e.stopPropagation();var i=this.contentNode.children;if(t.dragActive||mt.dragExceeded(t,e)){if(!t.dragActive){var n=t.tab.getBoundingClientRect();"horizontal"===this._orientation?(t.tabPos=t.tab.offsetLeft,t.tabSize=n.width,t.tabPressPos=t.pressX-n.left):(t.tabPos=t.tab.offsetTop,t.tabSize=n.height,t.tabPressPos=t.pressY-n.top),t.tabLayout=mt.snapTabLayout(i,this._orientation),t.contentRect=this.contentNode.getBoundingClientRect(),t.override=xe.overrideCursor("default"),t.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),t.tab.classList.add("p-mod-dragging"),this.addClass("p-mod-dragging"),t.dragActive=!0}if(!t.detachRequested&&mt.detachExceeded(t,e)){t.detachRequested=!0;var r=t.index,s=e.clientX,o=e.clientY,a=i[r],l=this._titles[r];if(this._tabDetachRequested.emit({index:r,title:l,tab:a,clientX:s,clientY:o}),t.dragAborted)return}mt.layoutTabs(i,t,e,this._orientation)}}},t.prototype._evtMouseUp=function(e){var t=this;if(0===e.button||1===e.button){var i=this._dragData;if(i){if(e.preventDefault(),e.stopPropagation(),this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!i.dragActive){if(this._dragData=null,this.addButtonEnabled&&this.addButtonNode.contains(e.target))return void this._addRequested.emit(void 0);var n=this.contentNode.children,r=w.findFirstIndex(n,(function(t){return R.hitTest(t,e.clientX,e.clientY)}));if(r!==i.index)return;var s=this._titles[r];if(!s.closable)return;if(1===e.button)return void this._tabCloseRequested.emit({index:r,title:s});var o=n[r].querySelector(this.renderer.closeIconSelector);return o&&o.contains(e.target)?void this._tabCloseRequested.emit({index:r,title:s}):void 0}if(0===e.button){mt.finalizeTabPosition(i,this._orientation),i.tab.classList.remove("lm-mod-dragging"),i.tab.classList.remove("p-mod-dragging");var a=mt.parseTransitionDuration(i.tab);setTimeout((function(){if(!i.dragAborted){t._dragData=null,mt.resetTabPositions(t.contentNode.children,t._orientation),i.override.dispose(),t.removeClass("lm-mod-dragging"),t.removeClass("p-mod-dragging");var e=i.index,n=i.targetIndex;-1!==n&&e!==n&&(w.move(t._titles,e,n),t._adjustCurrentForMove(e,n),t._tabMoved.emit({fromIndex:e,toIndex:n,title:t._titles[n]}),ae.sendMessage(t,Ve.Msg.UpdateRequest))}}),a)}}}},t.prototype._releaseMouse=function(){var e=this._dragData;e&&(this._dragData=null,this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),e.dragAborted=!0,e.dragActive&&(mt.resetTabPositions(this.contentNode.children,this._orientation),e.override.dispose(),e.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging"),e.tab.classList.remove("p-mod-dragging"),this.removeClass("p-mod-dragging")))},t.prototype._adjustCurrentForInsert=function(e,t){var i=this.currentTitle,n=this._currentIndex,r=this.insertBehavior;if("select-tab"===r||"select-tab-if-needed"===r&&-1===n)return this._currentIndex=e,this._previousTitle=i,void this._currentChanged.emit({previousIndex:n,previousTitle:i,currentIndex:e,currentTitle:t});n>=e&&this._currentIndex++},t.prototype._adjustCurrentForMove=function(e,t){this._currentIndex===e?this._currentIndex=t:this._currentIndex<e&&this._currentIndex>=t?this._currentIndex++:this._currentIndex>e&&this._currentIndex<=t&&this._currentIndex--},t.prototype._adjustCurrentForRemove=function(e,t){var i=this._currentIndex,n=this.removeBehavior;if(i===e){if(0===this._titles.length)return this._currentIndex=-1,void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null});if("select-tab-after"===n)return this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-tab-before"===n)return this._currentIndex=Math.max(0,e-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-previous-tab"===n)return this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});this._currentIndex=-1,this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null})}else i>e&&this._currentIndex--},t.prototype._onTitleChanged=function(e){this.update()},t}(Ve);!function(e){var t=function(){function e(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++e._nInstance}return e.prototype.renderTab=function(e){var t=e.title.caption,i=this.createTabKey(e),n=i,r=this.createTabStyle(e),s=this.createTabClass(e),o=this.createTabDataset(e),a=this.createTabARIA(e);return e.title.closable?Pe.li(Re({id:n,key:i,className:s,title:t,style:r,dataset:o},a),this.renderIcon(e),this.renderLabel(e),this.renderCloseIcon(e)):Pe.li(Re({id:n,key:i,className:s,title:t,style:r,dataset:o},a),this.renderIcon(e),this.renderLabel(e))},e.prototype.renderIcon=function(e){var t=e.title,i=this.createIconClass(e);return"string"==typeof t.icon?Pe.div({className:i},t.iconLabel):Pe.div({className:i},t.icon,t.iconLabel)},e.prototype.renderLabel=function(e){return Pe.div({className:"lm-TabBar-tabLabel p-TabBar-tabLabel"},e.title.label)},e.prototype.renderCloseIcon=function(e){return Pe.div({className:"lm-TabBar-tabCloseIcon p-TabBar-tabCloseIcon"})},e.prototype.createTabKey=function(e){var t=this._tabKeys.get(e.title);return void 0===t&&(t="tab-key-"+this._uuid+"-"+this._tabID++,this._tabKeys.set(e.title,t)),t},e.prototype.createTabStyle=function(e){return{zIndex:""+e.zIndex}},e.prototype.createTabClass=function(e){var t="lm-TabBar-tab";return t+=" p-TabBar-tab",e.title.className&&(t+=" "+e.title.className),e.title.closable&&(t+=" lm-mod-closable",t+=" p-mod-closable"),e.current&&(t+=" lm-mod-current",t+=" p-mod-current"),t},e.prototype.createTabDataset=function(e){return e.title.dataset},e.prototype.createTabARIA=function(e){return{role:"tab","aria-selected":e.current.toString()}},e.prototype.createIconClass=function(e){var t="lm-TabBar-tabIcon";t+=" p-TabBar-tabIcon";var i=e.title.iconClass;return i?t+" "+i:t},e._nInstance=0,e}();e.Renderer=t,e.defaultRenderer=new t,e.addButtonSelector=".lm-TabBar-addButton"}(gt||(gt={})),function(e){e.DRAG_THRESHOLD=5,e.DETACH_THRESHOLD=20,e.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");t.setAttribute("role","tablist"),t.className="lm-TabBar-content",t.classList.add("p-TabBar-content"),e.appendChild(t);var i=document.createElement("div");return i.className="lm-TabBar-addButton lm-mod-hidden",e.appendChild(i),e},e.asTitle=function(e){return e instanceof Fe?e:new Fe(e)},e.parseTransitionDuration=function(e){var t=window.getComputedStyle(e);return 1e3*(parseFloat(t.transitionDuration)||0)},e.snapTabLayout=function(e,t){for(var i=new Array(e.length),n=0,r=e.length;n<r;++n){var s=e[n],o=window.getComputedStyle(s);i[n]="horizontal"===t?{pos:s.offsetLeft,size:s.offsetWidth,margin:parseFloat(o.marginLeft)||0}:{pos:s.offsetTop,size:s.offsetHeight,margin:parseFloat(o.marginTop)||0}}return i},e.dragExceeded=function(t,i){var n=Math.abs(i.clientX-t.pressX),r=Math.abs(i.clientY-t.pressY);return n>=e.DRAG_THRESHOLD||r>=e.DRAG_THRESHOLD},e.detachExceeded=function(t,i){var n=t.contentRect;return i.clientX<n.left-e.DETACH_THRESHOLD||i.clientX>=n.right+e.DETACH_THRESHOLD||i.clientY<n.top-e.DETACH_THRESHOLD||i.clientY>=n.bottom+e.DETACH_THRESHOLD},e.layoutTabs=function(e,t,i,n){var r,s,o,a;"horizontal"===n?(r=t.pressX,s=i.clientX-t.contentRect.left,o=i.clientX,a=t.contentRect.width):(r=t.pressY,s=i.clientY-t.contentRect.top,o=i.clientY,a=t.contentRect.height);for(var l=t.index,u=s-t.tabPressPos,d=u+t.tabSize,c=0,h=e.length;c<h;++c){var p=void 0,f=t.tabLayout[c],m=f.pos+(f.size>>1);if(c<t.index&&u<m)p=t.tabSize+t.tabLayout[c+1].margin+"px",l=Math.min(l,c);else if(c>t.index&&d>m)p=-t.tabSize-f.margin+"px",l=Math.max(l,c);else if(c===t.index){var g=o-r,v=a-(t.tabPos+t.tabSize);p=Math.max(-t.tabPos,Math.min(g,v))+"px"}else p="";"horizontal"===n?e[c].style.left=p:e[c].style.top=p}t.targetIndex=l},e.finalizeTabPosition=function(e,t){var i,n;if(i="horizontal"===t?e.contentRect.width:e.contentRect.height,e.targetIndex===e.index)n=0;else if(e.targetIndex>e.index)n=(r=e.tabLayout[e.targetIndex]).pos+r.size-e.tabSize-e.tabPos;else{var r;n=(r=e.tabLayout[e.targetIndex]).pos-e.tabPos}var s=i-(e.tabPos+e.tabSize),o=Math.max(-e.tabPos,Math.min(n,s));"horizontal"===t?e.tab.style.left=o+"px":e.tab.style.top=o+"px"},e.resetTabPositions=function(e,t){C(e,(function(e){"horizontal"===t?e.style.left="":e.style.top=""}))}}(mt||(mt={}));var vt,_t=function(e){function t(t){var i=e.call(this)||this;return i._spacing=4,i._dirty=!1,i._root=null,i._box=null,i._items=new Map,i.renderer=t.renderer,void 0!==t.spacing&&(i._spacing=Ge.clampDimension(t.spacing)),i._document=t.document||document,i._hiddenMode=void 0!==t.hiddenMode?t.hiddenMode:Ve.HiddenMode.Display,i}return Be(t,e),t.prototype.dispose=function(){var t=this.iter();this._items.forEach((function(e){e.dispose()})),this._box=null,this._root=null,this._items.clear(),C(t,(function(e){e.dispose()})),e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(e){var t=this;this._hiddenMode!==e&&(this._hiddenMode=e,C(this.tabBars(),(function(e){e.titles.length>1&&e.titles.forEach((function(e){e.owner.hiddenMode=t._hiddenMode}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=Ge.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return null===this._root},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return this._root?this._root.iterAllWidgets():T()},t.prototype.widgets=function(){return this._root?this._root.iterUserWidgets():T()},t.prototype.selectedWidgets=function(){return this._root?this._root.iterSelectedWidgets():T()},t.prototype.tabBars=function(){return this._root?this._root.iterTabBars():T()},t.prototype.handles=function(){return this._root?this._root.iterHandles():T()},t.prototype.moveHandle=function(e,t,i){var n=e.classList.contains("lm-mod-hidden");if(n=n||e.classList.contains("p-mod-hidden"),this._root&&!n){var r,s=this._root.findSplitNode(e);s&&0!=(r="horizontal"===s.node.orientation?t-e.offsetLeft:i-e.offsetTop)&&(s.node.holdSizes(),Ne.adjust(s.node.sizers,s.index,r),this.parent&&this.parent.update())}},t.prototype.saveLayout=function(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}},t.prototype.restoreLayout=function(e){var t,i=this,n=new Set;t=e.main?vt.normalizeAreaConfig(e.main,n):null;var r=this.widgets(),s=this.tabBars(),o=this.handles();this._root=null,C(r,(function(e){n.has(e)||(e.parent=null)})),C(s,(function(e){e.dispose()})),C(o,(function(e){e.parentNode&&e.parentNode.removeChild(e)})),n.forEach((function(e){e.parent=i.parent})),this._root=t?vt.realizeAreaConfig(t,{createTabBar:function(e){return i._createTabBar()},createHandle:function(){return i._createHandle()}},this._document):null,this.parent&&(n.forEach((function(e){i.attachWidget(e)})),this.parent.fit())},t.prototype.addWidget=function(e,t){void 0===t&&(t={});var i=t.ref||null,n=t.mode||"tab-after",r=null;if(this._root&&i&&(r=this._root.findTabNode(i)),i&&!r)throw new Error("Reference widget is not in the layout.");switch(e.parent=this.parent,n){case"tab-after":this._insertTab(e,i,r,!0);break;case"tab-before":this._insertTab(e,i,r,!1);break;case"split-top":this._insertSplit(e,i,r,"vertical",!1);break;case"split-left":this._insertSplit(e,i,r,"horizontal",!1);break;case"split-right":this._insertSplit(e,i,r,"horizontal",!0);break;case"split-bottom":this._insertSplit(e,i,r,"vertical",!0)}this.parent&&(this.attachWidget(e),this.parent.fit())},t.prototype.removeWidget=function(e){this._removeWidget(e),this.parent&&(this.detachWidget(e),this.parent.fit())},t.prototype.hitTestTabAreas=function(e,t){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=R.boxSizing(this.parent.node));var i=this.parent.node.getBoundingClientRect(),n=e-i.left-this._box.borderLeft,r=t-i.top-this._box.borderTop,s=this._root.hitTestTabNodes(n,r);if(!s)return null;var o=s.tabBar,a=s.top,l=s.left,u=s.width,d=s.height,c=this._box.borderLeft+this._box.borderRight,h=this._box.borderTop+this._box.borderBottom;return{tabBar:o,x:n,y:r,top:a,left:l,right:i.width-c-(l+u),bottom:i.height-h-(a+d),width:u,height:d}},t.prototype.init=function(){var t=this;e.prototype.init.call(this),C(this,(function(e){t.attachWidget(e)})),C(this.handles(),(function(e){t.parent.node.appendChild(e)})),this.parent.fit()},t.prototype.attachWidget=function(e){this.parent.node!==e.node.parentNode&&(this._items.set(e,new Ke(e)),this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.AfterAttach))},t.prototype.detachWidget=function(e){if(this.parent.node===e.node.parentNode){this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.AfterDetach);var t=this._items.get(e);t&&(this._items.delete(e),t.dispose())}},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._removeWidget=function(e){if(this._root){var t=this._root.findTabNode(e);if(t)if(vt.removeAria(e),t.tabBar.titles.length>1)t.tabBar.removeTab(e.title),this._hiddenMode===Ve.HiddenMode.Scale&&1==t.tabBar.titles.length&&(t.tabBar.titles[0].owner.hiddenMode=Ve.HiddenMode.Display);else if(t.tabBar.dispose(),this._root!==t){this._root.holdAllSizes();var i=t.parent;t.parent=null;var n=w.removeFirstOf(i.children,t),r=w.removeAt(i.handles,n);if(w.removeAt(i.sizers,n),r.parentNode&&r.parentNode.removeChild(r),i.children.length>1)i.syncHandles();else{var s=i.parent;i.parent=null;var o=i.children[0],a=i.handles[0];if(i.children.length=0,i.handles.length=0,i.sizers.length=0,a.parentNode&&a.parentNode.removeChild(a),this._root===i)return o.parent=null,void(this._root=o);var l=s,u=l.children.indexOf(i);if(o instanceof vt.TabLayoutNode)return o.parent=l,void(l.children[u]=o);var d=w.removeAt(l.handles,u);w.removeAt(l.children,u),w.removeAt(l.sizers,u),d.parentNode&&d.parentNode.removeChild(d);for(var c=0,h=o.children.length;c<h;++c){var p=o.children[c],f=o.handles[c],m=o.sizers[c];w.insert(l.children,u+c,p),w.insert(l.handles,u+c,f),w.insert(l.sizers,u+c,m),p.parent=l}o.children.length=0,o.handles.length=0,o.sizers.length=0,o.parent=null,l.syncHandles()}}else this._root=null}},t.prototype._insertTab=function(e,t,i,n){if(e!==t){if(!this._root){var r=new vt.TabLayoutNode(this._createTabBar());return r.tabBar.addTab(e.title),this._root=r,void vt.addAria(e,r.tabBar)}var s;i||(i=this._root.findFirstTabNode()),-1===i.tabBar.titles.indexOf(e.title)&&(this._removeWidget(e),e.hide()),s=t?i.tabBar.titles.indexOf(t.title):i.tabBar.currentIndex,this._hiddenMode===Ve.HiddenMode.Scale?0===i.tabBar.titles.length?e.hiddenMode=Ve.HiddenMode.Display:1==i.tabBar.titles.length?i.tabBar.titles[0].owner.hiddenMode=Ve.HiddenMode.Scale:e.hiddenMode=Ve.HiddenMode.Scale:e.hiddenMode=this._hiddenMode,i.tabBar.insertTab(s+(n?1:0),e.title),vt.addAria(e,i.tabBar)}},t.prototype._insertSplit=function(e,t,i,n,r){if(e!==t||!i||1!==i.tabBar.titles.length){this._removeWidget(e);var s=new vt.TabLayoutNode(this._createTabBar());if(s.tabBar.addTab(e.title),vt.addAria(e,s.tabBar),this._root){if(!i||!i.parent){var o=this._splitRoot(n),a=r?o.children.length:0;o.normalizeSizes();var l=vt.createSizer(i?1:vt.GOLDEN_RATIO);return w.insert(o.children,a,s),w.insert(o.sizers,a,l),w.insert(o.handles,a,this._createHandle()),s.parent=o,o.normalizeSizes(),void o.syncHandles()}var u=i.parent;if(u.orientation===n){var d=u.children.indexOf(i);u.normalizeSizes();var c=u.sizers[d].sizeHint/=2,h=d+(r?1:0);return w.insert(u.children,h,s),w.insert(u.sizers,h,vt.createSizer(c)),w.insert(u.handles,h,this._createHandle()),s.parent=u,void u.syncHandles()}var p=w.removeFirstOf(u.children,i),f=new vt.SplitLayoutNode(n);f.normalized=!0,f.children.push(i),f.sizers.push(vt.createSizer(.5)),f.handles.push(this._createHandle()),i.parent=f;var m=r?1:0;w.insert(f.children,m,s),w.insert(f.sizers,m,vt.createSizer(.5)),w.insert(f.handles,m,this._createHandle()),s.parent=f,f.syncHandles(),w.insert(u.children,p,f),f.parent=u}else this._root=s}},t.prototype._splitRoot=function(e){var t=this._root;if(t instanceof vt.SplitLayoutNode&&t.orientation===e)return t;var i=this._root=new vt.SplitLayoutNode(e);return t&&(i.children.push(t),i.sizers.push(vt.createSizer(0)),i.handles.push(this._createHandle()),t.parent=i),i},t.prototype._fit=function(){var e=0,t=0;if(this._root){var i=this._root.fit(this._spacing,this._items);e=i.minWidth,t=i.minHeight}var n=this._box=R.boxSizing(this.parent.node);e+=n.horizontalSum,t+=n.verticalSum;var r=this.parent.node.style;r.minWidth=e+"px",r.minHeight=t+"px",this._dirty=!0,this.parent.parent&&ae.sendMessage(this.parent.parent,Ve.Msg.FitRequest),this._dirty&&ae.sendMessage(this.parent,Ve.Msg.UpdateRequest)},t.prototype._update=function(e,t){if(this._dirty=!1,this._root){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=R.boxSizing(this.parent.node));var i=this._box.paddingTop,n=this._box.paddingLeft,r=e-this._box.horizontalSum,s=t-this._box.verticalSum;this._root.update(i,n,r,s,this._spacing,this._items)}},t.prototype._createTabBar=function(){var e=this.renderer.createTabBar(this._document);return e.orientation="horizontal",this.parent&&(e.parent=this.parent,this.attachWidget(e)),e},t.prototype._createHandle=function(){var e=this.renderer.createHandle(),t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="0",t.height="0",this.parent&&this.parent.node.appendChild(e),e},t}(qe);!function(e){function t(e){var t=new We;return t.sizeHint=e,t.size=e,t}e.GOLDEN_RATIO=.618,e.createSizer=t,e.normalizeAreaConfig=function e(t,i){var n;return n="tab-area"===t.type?function(e,t){if(0===e.widgets.length)return null;var i=[];if(C(e.widgets,(function(e){t.has(e)||(t.add(e),i.push(e))})),0===i.length)return null;var n=e.currentIndex;return-1!==n&&(n<0||n>=i.length)&&(n=0),{type:"tab-area",widgets:i,currentIndex:n}}(t,i):function(t,i){for(var n=t.orientation,r=[],s=[],o=0,a=t.children.length;o<a;++o){var l=e(t.children[o],i);l&&("tab-area"===l.type||l.orientation!==n?(r.push(l),s.push(Math.abs(t.sizes[o]||0))):(r.push.apply(r,l.children),s.push.apply(s,l.sizes)))}return 0===r.length?null:1===r.length?r[0]:{type:"split-area",orientation:n,children:r,sizes:s}}(t,i),n},e.realizeAreaConfig=function r(s,o,a){var l;return l="tab-area"===s.type?function(t,n,r){var s=n.createTabBar(r);return C(t.widgets,(function(t){t.hide(),s.addTab(t.title),e.addAria(t,s)})),s.currentIndex=t.currentIndex,new i(s)}(s,o,a):function(e,i,s){var o=new n(e.orientation);return C(e.children,(function(n,a){var l=r(n,i,s),u=t(e.sizes[a]),d=i.createHandle();o.children.push(l),o.handles.push(d),o.sizers.push(u),l.parent=o})),o.syncHandles(),o.normalizeSizes(),o}(s,o,a),l};var i=function(){function e(e){this.parent=null,this._top=0,this._left=0,this._width=0,this._height=0;var t=new We,i=new We;t.stretch=0,i.stretch=1,this.tabBar=e,this.sizers=[t,i]}return Object.defineProperty(e.prototype,"top",{get:function(){return this._top},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this._left},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},enumerable:!0,configurable:!0}),e.prototype.iterAllWidgets=function(){return E(z(this.tabBar),this.iterUserWidgets())},e.prototype.iterUserWidgets=function(){return I(this.tabBar.titles,(function(e){return e.owner}))},e.prototype.iterSelectedWidgets=function(){var e=this.tabBar.currentTitle;return e?z(e.owner):T()},e.prototype.iterTabBars=function(){return z(this.tabBar)},e.prototype.iterHandles=function(){return T()},e.prototype.findTabNode=function(e){return-1!==this.tabBar.titles.indexOf(e.title)?this:null},e.prototype.findSplitNode=function(e){return null},e.prototype.findFirstTabNode=function(){return this},e.prototype.hitTestTabNodes=function(e,t){return e<this._left||e>=this._left+this._width||t<this._top||t>=this._top+this._height?null:this},e.prototype.createConfig=function(){return{type:"tab-area",widgets:this.tabBar.titles.map((function(e){return e.owner})),currentIndex:this.tabBar.currentIndex}},e.prototype.holdAllSizes=function(){},e.prototype.fit=function(e,t){var i=0,n=0,r=t.get(this.tabBar),s=this.tabBar.currentTitle,o=s?t.get(s.owner):void 0,a=this.sizers,l=a[0],u=a[1];return r&&r.fit(),o&&o.fit(),r&&!r.isHidden?(i=Math.max(i,r.minWidth),n+=r.minHeight,l.minSize=r.minHeight,l.maxSize=r.maxHeight):(l.minSize=0,l.maxSize=0),o&&!o.isHidden?(i=Math.max(i,o.minWidth),n+=o.minHeight,u.minSize=o.minHeight,u.maxSize=1/0):(u.minSize=0,u.maxSize=1/0),{minWidth:i,minHeight:n,maxWidth:1/0,maxHeight:1/0}},e.prototype.update=function(e,t,i,n,r,s){this._top=t,this._left=e,this._width=i,this._height=n;var o=s.get(this.tabBar),a=this.tabBar.currentTitle,l=a?s.get(a.owner):void 0;if(Ne.calc(this.sizers,n),o&&!o.isHidden){var u=this.sizers[0].size;o.update(e,t,i,u),t+=u}l&&!l.isHidden&&(u=this.sizers[1].size,l.update(e,t,i,u))},e}();e.TabLayoutNode=i;var n=function(){function e(e){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=e}return e.prototype.iterAllWidgets=function(){var e=I(this.children,(function(e){return e.iterAllWidgets()}));return new k(e)},e.prototype.iterUserWidgets=function(){var e=I(this.children,(function(e){return e.iterUserWidgets()}));return new k(e)},e.prototype.iterSelectedWidgets=function(){var e=I(this.children,(function(e){return e.iterSelectedWidgets()}));return new k(e)},e.prototype.iterTabBars=function(){var e=I(this.children,(function(e){return e.iterTabBars()}));return new k(e)},e.prototype.iterHandles=function(){var e=I(this.children,(function(e){return e.iterHandles()}));return E(this.handles,new k(e))},e.prototype.findTabNode=function(e){for(var t=0,i=this.children.length;t<i;++t){var n=this.children[t].findTabNode(e);if(n)return n}return null},e.prototype.findSplitNode=function(e){var t=this.handles.indexOf(e);if(-1!==t)return{index:t,node:this};for(var i=0,n=this.children.length;i<n;++i){var r=this.children[i].findSplitNode(e);if(r)return r}return null},e.prototype.findFirstTabNode=function(){return 0===this.children.length?null:this.children[0].findFirstTabNode()},e.prototype.hitTestTabNodes=function(e,t){for(var i=0,n=this.children.length;i<n;++i){var r=this.children[i].hitTestTabNodes(e,t);if(r)return r}return null},e.prototype.createConfig=function(){var e=this.orientation,t=this.createNormalizedSizes();return{type:"split-area",orientation:e,children:this.children.map((function(e){return e.createConfig()})),sizes:t}},e.prototype.syncHandles=function(){var e=this;C(this.handles,(function(t,i){t.setAttribute("data-orientation",e.orientation),i===e.handles.length-1?(t.classList.add("lm-mod-hidden"),t.classList.add("p-mod-hidden")):(t.classList.remove("lm-mod-hidden"),t.classList.remove("p-mod-hidden"))}))},e.prototype.holdSizes=function(){C(this.sizers,(function(e){e.sizeHint=e.size}))},e.prototype.holdAllSizes=function(){C(this.children,(function(e){return e.holdAllSizes()})),this.holdSizes()},e.prototype.normalizeSizes=function(){var e=this.sizers.length;if(0!==e){this.holdSizes();var t=P(this.sizers,(function(e,t){return e+t.sizeHint}),0);C(this.sizers,0===t?function(t){t.size=t.sizeHint=1/e}:function(e){e.size=e.sizeHint/=t}),this.normalized=!0}},e.prototype.createNormalizedSizes=function(){var e=this.sizers.length;if(0===e)return[];var t=this.sizers.map((function(e){return e.size})),i=P(t,(function(e,t){return e+t}),0);return C(t,0===i?function(i,n){t[n]=1/e}:function(e,n){t[n]=e/i}),t},e.prototype.fit=function(e,t){for(var i="horizontal"===this.orientation,n=Math.max(0,this.children.length-1)*e,r=i?n:0,s=i?0:n,o=0,a=this.children.length;o<a;++o){var l=this.children[o].fit(e,t);i?(s=Math.max(s,l.minHeight),r+=l.minWidth,this.sizers[o].minSize=l.minWidth):(r=Math.max(r,l.minWidth),s+=l.minHeight,this.sizers[o].minSize=l.minHeight)}return{minWidth:r,minHeight:s,maxWidth:1/0,maxHeight:1/0}},e.prototype.update=function(e,t,i,n,r,s){var o="horizontal"===this.orientation,a=Math.max(0,this.children.length-1)*r,l=Math.max(0,(o?i:n)-a);this.normalized&&(C(this.sizers,(function(e){e.sizeHint*=l})),this.normalized=!1),Ne.calc(this.sizers,l);for(var u=0,d=this.children.length;u<d;++u){var c=this.children[u],h=this.sizers[u].size,p=this.handles[u].style;o?(c.update(e,t,h,n,r,s),e+=h,p.top=t+"px",p.left=e+"px",p.width=r+"px",p.height=n+"px",e+=r):(c.update(e,t,i,h,r,s),t+=h,p.top=t+"px",p.left=e+"px",p.width=i+"px",p.height=r+"px",t+=r)}},e}();e.SplitLayoutNode=n,e.addAria=function(e,t){e.node.setAttribute("role","tabpanel");var i=t.renderer;if(i instanceof gt.Renderer){var n=i.createTabKey({title:e.title,current:!1,zIndex:0});e.node.setAttribute("aria-labelledby",n)}},e.removeAria=function(e){e.node.removeAttribute("role"),e.node.removeAttribute("aria-labelledby")}}(vt||(vt={}));var yt,bt=function(t){function i(e){void 0===e&&(e={});var n=t.call(this)||this;n._drag=null,n._tabsMovable=!0,n._tabsConstrained=!1,n._addButtonEnabled=!1,n._pressData=null,n._layoutModified=new fe(n),n._addRequested=new fe(n),n.addClass("lm-DockPanel"),n.addClass("p-DockPanel"),n._document=e.document||document,n._mode=e.mode||"multiple-document",n._renderer=e.renderer||i.defaultRenderer,n._edges=e.edges||yt.DEFAULT_EDGES,void 0!==e.tabsMovable&&(n._tabsMovable=e.tabsMovable),void 0!==e.tabsConstrained&&(n._tabsConstrained=e.tabsConstrained),void 0!==e.addButtonEnabled&&(n._addButtonEnabled=e.addButtonEnabled),n.dataset.mode=n._mode;var r={createTabBar:function(){return n._createTabBar()},createHandle:function(){return n._createHandle()}};return n.layout=new _t({document:n._document,renderer:r,spacing:e.spacing,hiddenMode:e.hiddenMode}),n.overlay=e.overlay||new i.Overlay,n.node.appendChild(n.overlay.node),n}return Be(i,t),i.prototype.dispose=function(){this._releaseMouse(),this.overlay.hide(0),this._drag&&this._drag.dispose(),t.prototype.dispose.call(this)},Object.defineProperty(i.prototype,"hiddenMode",{get:function(){return this.layout.hiddenMode},set:function(e){this.layout.hiddenMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"layoutModified",{get:function(){return this._layoutModified},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mode",{get:function(){return this._mode},set:function(e){if(this._mode!==e){this._mode=e,this.dataset.mode=e;var t=this.layout;switch(e){case"multiple-document":C(t.tabBars(),(function(e){e.show()}));break;case"single-document":t.restoreLayout(yt.createSingleDocumentConfig(this));break;default:throw"unreachable"}ae.postMessage(this,yt.LayoutModified)}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tabsMovable",{get:function(){return this._tabsMovable},set:function(e){this._tabsMovable=e,C(this.tabBars(),(function(t){t.tabsMovable=e}))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tabsConstrained",{get:function(){return this._tabsConstrained},set:function(e){this._tabsConstrained=e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(e){this._addButtonEnabled=e,C(this.tabBars(),(function(t){t.addButtonEnabled=e}))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isEmpty",{get:function(){return this.layout.isEmpty},enumerable:!0,configurable:!0}),i.prototype.widgets=function(){return this.layout.widgets()},i.prototype.selectedWidgets=function(){return this.layout.selectedWidgets()},i.prototype.tabBars=function(){return this.layout.tabBars()},i.prototype.handles=function(){return this.layout.handles()},i.prototype.selectWidget=function(e){var t=O(this.tabBars(),(function(t){return-1!==t.titles.indexOf(e.title)}));if(!t)throw new Error("Widget is not contained in the dock panel.");t.currentTitle=e.title},i.prototype.activateWidget=function(e){this.selectWidget(e),e.activate()},i.prototype.saveLayout=function(){return this.layout.saveLayout()},i.prototype.restoreLayout=function(e){this._mode="multiple-document",this.layout.restoreLayout(e),(W.IS_EDGE||W.IS_IE)&&ae.flush(),ae.postMessage(this,yt.LayoutModified)},i.prototype.addWidget=function(e,t){void 0===t&&(t={}),"single-document"===this._mode?this.layout.addWidget(e):this.layout.addWidget(e,t),ae.postMessage(this,yt.LayoutModified)},i.prototype.processMessage=function(e){"layout-modified"===e.type?this._layoutModified.emit(void 0):t.prototype.processMessage.call(this,e)},i.prototype.handleEvent=function(e){switch(e.type){case"lm-dragenter":this._evtDragEnter(e);break;case"lm-dragleave":this._evtDragLeave(e);break;case"lm-dragover":this._evtDragOver(e);break;case"lm-drop":this._evtDrop(e);break;case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},i.prototype.onBeforeAttach=function(e){this.node.addEventListener("lm-dragenter",this),this.node.addEventListener("lm-dragleave",this),this.node.addEventListener("lm-dragover",this),this.node.addEventListener("lm-drop",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this)},i.prototype.onAfterDetach=function(e){this.node.removeEventListener("lm-dragenter",this),this.node.removeEventListener("lm-dragleave",this),this.node.removeEventListener("lm-dragover",this),this.node.removeEventListener("lm-drop",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()},i.prototype.onChildAdded=function(e){yt.isGeneratedTabBarProperty.get(e.child)||(e.child.addClass("lm-DockPanel-widget"),e.child.addClass("p-DockPanel-widget"))},i.prototype.onChildRemoved=function(e){yt.isGeneratedTabBarProperty.get(e.child)||(e.child.removeClass("lm-DockPanel-widget"),e.child.removeClass("p-DockPanel-widget"),ae.postMessage(this,yt.LayoutModified))},i.prototype._evtDragEnter=function(e){e.mimeData.hasData("application/vnd.lumino.widget-factory")&&(e.preventDefault(),e.stopPropagation())},i.prototype._evtDragLeave=function(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||(e.stopPropagation(),this.overlay.hide(1))},i.prototype._evtDragOver=function(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||"invalid"===this._showOverlay(e.clientX,e.clientY)?e.dropAction="none":(e.stopPropagation(),e.dropAction=e.proposedAction)},i.prototype._evtDrop=function(e){if(e.preventDefault(),this.overlay.hide(0),"none"!==e.proposedAction){var t=e.clientX,i=e.clientY,n=yt.findDropTarget(this,t,i,this._edges),r=n.zone,s=n.target;if(this._tabsConstrained&&e.source!==this||"invalid"===r)e.dropAction="none";else{var o=e.mimeData.getData("application/vnd.lumino.widget-factory");if("function"==typeof o){var a=o();if(a instanceof Ve)if(a.contains(this))e.dropAction="none";else{var l=s?yt.getDropRef(s.tabBar):null;switch(r){case"root-all":this.addWidget(a);break;case"root-top":this.addWidget(a,{mode:"split-top"});break;case"root-left":this.addWidget(a,{mode:"split-left"});break;case"root-right":this.addWidget(a,{mode:"split-right"});break;case"root-bottom":this.addWidget(a,{mode:"split-bottom"});break;case"widget-all":case"widget-tab":this.addWidget(a,{mode:"tab-after",ref:l});break;case"widget-top":this.addWidget(a,{mode:"split-top",ref:l});break;case"widget-left":this.addWidget(a,{mode:"split-left",ref:l});break;case"widget-right":this.addWidget(a,{mode:"split-right",ref:l});break;case"widget-bottom":this.addWidget(a,{mode:"split-bottom",ref:l});break;default:throw"unreachable"}e.dropAction=e.proposedAction,e.stopPropagation(),this.activateWidget(a)}else e.dropAction="none"}else e.dropAction="none"}}else e.dropAction="none"},i.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&(this._releaseMouse(),ae.postMessage(this,yt.LayoutModified))},i.prototype._evtMouseDown=function(e){if(0===e.button){var t=this.layout,i=e.target,n=O(t.handles(),(function(e){return e.contains(i)}));if(n){e.preventDefault(),e.stopPropagation(),this._document.addEventListener("keydown",this,!0),this._document.addEventListener("mouseup",this,!0),this._document.addEventListener("mousemove",this,!0),this._document.addEventListener("pointerup",this,!0),this._document.addEventListener("pointermove",this,!0),this._document.addEventListener("contextmenu",this,!0);var r=n.getBoundingClientRect(),s=e.clientX-r.left,o=e.clientY-r.top,a=window.getComputedStyle(n),l=xe.overrideCursor(a.cursor,this._document);this._pressData={handle:n,deltaX:s,deltaY:o,override:l}}}},i.prototype._evtMouseMove=function(e){if(this._pressData){e.preventDefault(),e.stopPropagation();var t=this.node.getBoundingClientRect(),i=e.clientX-t.left-this._pressData.deltaX,n=e.clientY-t.top-this._pressData.deltaY;this.layout.moveHandle(this._pressData.handle,i,n)}},i.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse(),ae.postMessage(this,yt.LayoutModified))},i.prototype._releaseMouse=function(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._document.removeEventListener("keydown",this,!0),this._document.removeEventListener("mouseup",this,!0),this._document.removeEventListener("mousemove",this,!0),this._document.removeEventListener("pointerup",this,!0),this._document.removeEventListener("pointermove",this,!0),this._document.removeEventListener("contextmenu",this,!0))},i.prototype._showOverlay=function(e,t){var i,n,r,s,o=yt.findDropTarget(this,e,t,this._edges),a=o.zone,l=o.target;if("invalid"===a)return this.overlay.hide(100),a;var u=R.boxSizing(this.node),d=this.node.getBoundingClientRect();switch(a){case"root-all":i=u.paddingTop,n=u.paddingLeft,r=u.paddingRight,s=u.paddingBottom;break;case"root-top":i=u.paddingTop,n=u.paddingLeft,r=u.paddingRight,s=d.height*yt.GOLDEN_RATIO;break;case"root-left":i=u.paddingTop,n=u.paddingLeft,r=d.width*yt.GOLDEN_RATIO,s=u.paddingBottom;break;case"root-right":i=u.paddingTop,n=d.width*yt.GOLDEN_RATIO,r=u.paddingRight,s=u.paddingBottom;break;case"root-bottom":i=d.height*yt.GOLDEN_RATIO,n=u.paddingLeft,r=u.paddingRight,s=u.paddingBottom;break;case"widget-all":i=l.top,n=l.left,r=l.right,s=l.bottom;break;case"widget-top":i=l.top,n=l.left,r=l.right,s=l.bottom+l.height/2;break;case"widget-left":i=l.top,n=l.left,r=l.right+l.width/2,s=l.bottom;break;case"widget-right":i=l.top,n=l.left+l.width/2,r=l.right,s=l.bottom;break;case"widget-bottom":i=l.top+l.height/2,n=l.left,r=l.right,s=l.bottom;break;case"widget-tab":var c=l.tabBar.node.getBoundingClientRect().height;i=l.top,n=l.left,r=l.right,s=l.bottom+l.height-c;break;default:throw"unreachable"}return this.overlay.show({top:i,left:n,right:r,bottom:s}),a},i.prototype._createTabBar=function(){var e=this._renderer.createTabBar(this._document);return yt.isGeneratedTabBarProperty.set(e,!0),"single-document"===this._mode&&e.hide(),e.tabsMovable=this._tabsMovable,e.allowDeselect=!1,e.addButtonEnabled=this._addButtonEnabled,e.removeBehavior="select-previous-tab",e.insertBehavior="select-tab-if-needed",e.tabMoved.connect(this._onTabMoved,this),e.currentChanged.connect(this._onCurrentChanged,this),e.tabCloseRequested.connect(this._onTabCloseRequested,this),e.tabDetachRequested.connect(this._onTabDetachRequested,this),e.tabActivateRequested.connect(this._onTabActivateRequested,this),e.addRequested.connect(this._onTabAddRequested,this),e},i.prototype._createHandle=function(){return this._renderer.createHandle()},i.prototype._onTabMoved=function(){ae.postMessage(this,yt.LayoutModified)},i.prototype._onCurrentChanged=function(e,t){var i=t.previousTitle,n=t.currentTitle;i&&i.owner.hide(),n&&n.owner.show(),(W.IS_EDGE||W.IS_IE)&&ae.flush(),ae.postMessage(this,yt.LayoutModified)},i.prototype._onTabAddRequested=function(e){this._addRequested.emit(e)},i.prototype._onTabActivateRequested=function(e,t){t.title.owner.activate()},i.prototype._onTabCloseRequested=function(e,t){t.title.owner.close()},i.prototype._onTabDetachRequested=function(t,i){var n=this;if(!this._drag){t.releaseMouse();var r=i.title,s=i.tab,o=i.clientX,a=i.clientY,l=new e.MimeData;l.setData("application/vnd.lumino.widget-factory",(function(){return r.owner}));var u=s.cloneNode(!0);this._drag=new xe({document:this._document,mimeData:l,dragImage:u,proposedAction:"move",supportedActions:"move",source:this}),s.classList.add("lm-mod-hidden"),s.classList.add("p-mod-hidden"),this._drag.start(o,a).then((function(){n._drag=null,s.classList.remove("lm-mod-hidden"),s.classList.remove("p-mod-hidden")}))}},i}(Ve);!function(e){var t=function(){function e(){this._timer=-1,this._hidden=!0,this.node=document.createElement("div"),this.node.classList.add("lm-DockPanel-overlay"),this.node.classList.add("lm-mod-hidden"),this.node.classList.add("p-DockPanel-overlay"),this.node.classList.add("p-mod-hidden"),this.node.style.position="absolute"}return e.prototype.show=function(e){var t=this.node.style;t.top=e.top+"px",t.left=e.left+"px",t.right=e.right+"px",t.bottom=e.bottom+"px",clearTimeout(this._timer),this._timer=-1,this._hidden&&(this._hidden=!1,this.node.classList.remove("lm-mod-hidden"),this.node.classList.remove("p-mod-hidden"))},e.prototype.hide=function(e){var t=this;if(!this._hidden)return e<=0?(clearTimeout(this._timer),this._timer=-1,this._hidden=!0,this.node.classList.add("lm-mod-hidden"),void this.node.classList.add("p-mod-hidden")):void(-1===this._timer&&(this._timer=window.setTimeout((function(){t._timer=-1,t._hidden=!0,t.node.classList.add("lm-mod-hidden"),t.node.classList.add("p-mod-hidden")}),e)))},e}();e.Overlay=t;var i=function(){function e(){}return e.prototype.createTabBar=function(e){var t=new gt({document:e});return t.addClass("lm-DockPanel-tabBar"),t.addClass("p-DockPanel-tabBar"),t},e.prototype.createHandle=function(){var e=document.createElement("div");return e.className="lm-DockPanel-handle",e.classList.add("p-DockPanel-handle"),e},e}();e.Renderer=i,e.defaultRenderer=new i}(bt||(bt={})),function(e){e.GOLDEN_RATIO=.618,e.DEFAULT_EDGES={top:12,right:40,bottom:40,left:40},e.LayoutModified=new de("layout-modified"),e.isGeneratedTabBarProperty=new he({name:"isGeneratedTabBar",create:function(){return!1}}),e.createSingleDocumentConfig=function(e){if(e.isEmpty)return{main:null};var t=function(e){for(var t,i=0,n=[],r=M(e);void 0!==(t=r.next());)n[i++]=t;return n}(e.widgets()),i=e.selectedWidgets().next(),n=i?t.indexOf(i):-1;return{main:{type:"tab-area",widgets:t,currentIndex:n}}},e.findDropTarget=function(e,t,i,n){if(!R.hitTest(e.node,t,i))return{zone:"invalid",target:null};var r=e.layout;if(r.isEmpty)return{zone:"root-all",target:null};if("multiple-document"===e.mode){var s=e.node.getBoundingClientRect(),o=t-s.left+1,a=i-s.top+1,l=s.right-t,u=s.bottom-i;switch(Math.min(a,l,u,o)){case a:if(a<n.top)return{zone:"root-top",target:null};break;case l:if(l<n.right)return{zone:"root-right",target:null};break;case u:if(u<n.bottom)return{zone:"root-bottom",target:null};break;case o:if(o<n.left)return{zone:"root-left",target:null};break;default:throw"unreachable"}}var d=r.hitTestTabAreas(t,i);if(!d)return{zone:"invalid",target:null};if("single-document"===e.mode)return{zone:"widget-all",target:d};var c=d.x-d.left+1,h=d.y-d.top+1,p=d.left+d.width-d.x,f=d.top+d.height-d.y;if(h<d.tabBar.node.getBoundingClientRect().height)return{zone:"widget-tab",target:d};var m,g=Math.round(d.width/3),v=Math.round(d.height/3);if(c>g&&p>g&&h>v&&f>v)return{zone:"widget-all",target:d};switch(c/=g,h/=v,p/=g,f/=v,Math.min(c,h,p,f)){case c:m="widget-left";break;case h:m="widget-top";break;case p:m="widget-right";break;case f:m="widget-bottom";break;default:throw"unreachable"}return{zone:m,target:d}},e.getDropRef=function(e){return 0===e.titles.length?null:e.currentTitle?e.currentTitle.owner:e.titles[e.titles.length-1].owner}}(yt||(yt={})),function(){function e(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new fe(this),this._currentChanged=new fe(this)}e.prototype.dispose=function(){var e=this;this._counter<0||(this._counter=-1,fe.clearData(this),C(this._widgets,(function(t){t.node.removeEventListener("focus",e,!0),t.node.removeEventListener("blur",e,!0)})),this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0)},Object.defineProperty(e.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeChanged",{get:function(){return this._activeChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._counter<0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentWidget",{get:function(){return this._currentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeWidget",{get:function(){return this._activeWidget},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),e.prototype.focusNumber=function(e){var t=this._numbers.get(e);return void 0===t?-1:t},e.prototype.has=function(e){return this._numbers.has(e)},e.prototype.add=function(e){if(!this._numbers.has(e)){var t=e.node.contains(document.activeElement),i=t?this._counter++:-1;this._widgets.push(e),this._numbers.set(e,i),this._nodes.set(e.node,e),e.node.addEventListener("focus",this,!0),e.node.addEventListener("blur",this,!0),e.disposed.connect(this._onWidgetDisposed,this),t&&this._setWidgets(e,e)}},e.prototype.remove=function(e){var t=this;if(this._numbers.has(e)&&(e.disposed.disconnect(this._onWidgetDisposed,this),e.node.removeEventListener("focus",this,!0),e.node.removeEventListener("blur",this,!0),w.removeFirstOf(this._widgets,e),this._nodes.delete(e.node),this._numbers.delete(e),this._currentWidget===e)){var i,n,r=function(e,i){var n,r,s=M(e),o=s.next();if(void 0!==o){for(var a=o;void 0!==(o=s.next());)n=o,r=a,t._numbers.get(n)-t._numbers.get(r)>0&&(a=o);return a}}((i=this._widgets,n=function(e){return-1!==t._numbers.get(e)},new L(M(i),n)))||null;this._setWidgets(r,null)}},e.prototype.handleEvent=function(e){switch(e.type){case"focus":this._evtFocus(e);break;case"blur":this._evtBlur(e)}},e.prototype._setWidgets=function(e,t){var i=this._currentWidget;this._currentWidget=e;var n=this._activeWidget;this._activeWidget=t,i!==e&&this._currentChanged.emit({oldValue:i,newValue:e}),n!==t&&this._activeChanged.emit({oldValue:n,newValue:t})},e.prototype._evtFocus=function(e){var t=this._nodes.get(e.currentTarget);t!==this._currentWidget&&this._numbers.set(t,this._counter++),this._setWidgets(t,t)},e.prototype._evtBlur=function(e){var t=this._nodes.get(e.currentTarget),i=e.relatedTarget;i&&(t.node.contains(i)||O(this._widgets,(function(e){return e.node.contains(i)})))||this._setWidgets(this._currentWidget,null)},e.prototype._onWidgetDisposed=function(e){this.remove(e)}}();var xt,wt=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,t)||this;return i._dirty=!1,i._rowSpacing=4,i._columnSpacing=4,i._items=[],i._rowStarts=[],i._columnStarts=[],i._rowSizers=[new We],i._columnSizers=[new We],i._box=null,void 0!==t.rowCount&&xt.reallocSizers(i._rowSizers,t.rowCount),void 0!==t.columnCount&&xt.reallocSizers(i._columnSizers,t.columnCount),void 0!==t.rowSpacing&&(i._rowSpacing=xt.clampValue(t.rowSpacing)),void 0!==t.columnSpacing&&(i._columnSpacing=xt.clampValue(t.columnSpacing)),i}return Be(t,e),t.prototype.dispose=function(){C(this._items,(function(e){var t=e.widget;e.dispose(),t.dispose()})),this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"rowCount",{get:function(){return this._rowSizers.length},set:function(e){e!==this.rowCount&&(xt.reallocSizers(this._rowSizers,e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnCount",{get:function(){return this._columnSizers.length},set:function(e){e!==this.columnCount&&(xt.reallocSizers(this._columnSizers,e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowSpacing",{get:function(){return this._rowSpacing},set:function(e){e=xt.clampValue(e),this._rowSpacing!==e&&(this._rowSpacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnSpacing",{get:function(){return this._columnSpacing},set:function(e){e=xt.clampValue(e),this._columnSpacing!==e&&(this._columnSpacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),t.prototype.rowStretch=function(e){var t=this._rowSizers[e];return t?t.stretch:-1},t.prototype.setRowStretch=function(e,t){var i=this._rowSizers[e];i&&(t=xt.clampValue(t),i.stretch!==t&&(i.stretch=t,this.parent&&this.parent.update()))},t.prototype.columnStretch=function(e){var t=this._columnSizers[e];return t?t.stretch:-1},t.prototype.setColumnStretch=function(e,t){var i=this._columnSizers[e];i&&(t=xt.clampValue(t),i.stretch!==t&&(i.stretch=t,this.parent&&this.parent.update()))},t.prototype.iter=function(){return I(this._items,(function(e){return e.widget}))},t.prototype.addWidget=function(e){-1===w.findFirstIndex(this._items,(function(t){return t.widget===e}))&&(this._items.push(new Ke(e)),this.parent&&this.attachWidget(e))},t.prototype.removeWidget=function(e){var t=w.findFirstIndex(this._items,(function(t){return t.widget===e}));if(-1!==t){var i=w.removeAt(this._items,t);this.parent&&this.detachWidget(e),i.dispose()}},t.prototype.init=function(){var t=this;e.prototype.init.call(this),C(this,(function(e){t.attachWidget(e)}))},t.prototype.attachWidget=function(e){this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.AfterAttach),this.parent.fit()},t.prototype.detachWidget=function(e){this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.AfterDetach),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,i=this.rowCount;e<i;++e)this._rowSizers[e].minSize=0;for(e=0,i=this.columnCount;e<i;++e)this._columnSizers[e].minSize=0;var n=this._items.filter((function(e){return!e.isHidden}));for(e=0,i=n.length;e<i;++e)n[e].fit();var r=this.rowCount-1,s=this.columnCount-1;for(n.sort(xt.rowSpanCmp),e=0,i=n.length;e<i;++e){var o=n[e],a=t.getCellConfig(o.widget),l=Math.min(a.row,r),u=Math.min(a.row+a.rowSpan-1,r);xt.distributeMin(this._rowSizers,l,u,o.minHeight)}for(n.sort(xt.columnSpanCmp),e=0,i=n.length;e<i;++e){o=n[e],a=t.getCellConfig(o.widget);var d=Math.min(a.column,s),c=Math.min(a.column+a.columnSpan-1,s);xt.distributeMin(this._columnSizers,d,c,o.minWidth)}if("set-no-constraint"!==this.fitPolicy){var h=r*this._rowSpacing,p=s*this._columnSpacing;for(e=0,i=this.rowCount;e<i;++e)h+=this._rowSizers[e].minSize;for(e=0,i=this.columnCount;e<i;++e)p+=this._columnSizers[e].minSize;var f=this._box=R.boxSizing(this.parent.node);p+=f.horizontalSum,h+=f.verticalSum;var m=this.parent.node.style;m.minWidth=p+"px",m.minHeight=h+"px",this._dirty=!0,this.parent.parent&&ae.sendMessage(this.parent.parent,Ve.Msg.FitRequest),this._dirty&&ae.sendMessage(this.parent,Ve.Msg.UpdateRequest)}else ae.sendMessage(this.parent,Ve.Msg.UpdateRequest)},t.prototype._update=function(e,i){this._dirty=!1,e<0&&(e=this.parent.node.offsetWidth),i<0&&(i=this.parent.node.offsetHeight),this._box||(this._box=R.boxSizing(this.parent.node));var n=this._box.paddingTop,r=this._box.paddingLeft,s=e-this._box.horizontalSum,o=i-this._box.verticalSum,a=this.rowCount-1,l=this.columnCount-1,u=a*this._rowSpacing,d=l*this._columnSpacing;Ne.calc(this._rowSizers,Math.max(0,o-u)),Ne.calc(this._columnSizers,Math.max(0,s-d));for(var c=0,h=n,p=this.rowCount;c<p;++c)this._rowStarts[c]=h,h+=this._rowSizers[c].size+this._rowSpacing;for(c=0,h=r,p=this.columnCount;c<p;++c)this._columnStarts[c]=h,h+=this._columnSizers[c].size+this._columnSpacing;for(c=0,p=this._items.length;c<p;++c){var f=this._items[c];if(!f.isHidden){var m=t.getCellConfig(f.widget),g=Math.min(m.row,a),v=Math.min(m.column,l),_=Math.min(m.row+m.rowSpan-1,a),y=Math.min(m.column+m.columnSpan-1,l),b=this._columnStarts[v],x=this._rowStarts[g],w=this._columnStarts[y]+this._columnSizers[y].size-b,M=this._rowStarts[_]+this._rowSizers[_].size-x;f.update(b,x,w,M)}}},t}(qe);!function(e){e.getCellConfig=function(e){return xt.cellConfigProperty.get(e)},e.setCellConfig=function(e,t){xt.cellConfigProperty.set(e,xt.normalizeConfig(t))}}(wt||(wt={})),function(e){e.cellConfigProperty=new he({name:"cellConfig",create:function(){return{row:0,column:0,rowSpan:1,columnSpan:1}},changed:function(e){e.parent&&e.parent.layout instanceof wt&&e.parent.fit()}}),e.normalizeConfig=function(e){return{row:Math.max(0,Math.floor(e.row||0)),column:Math.max(0,Math.floor(e.column||0)),rowSpan:Math.max(1,Math.floor(e.rowSpan||0)),columnSpan:Math.max(1,Math.floor(e.columnSpan||0))}},e.clampValue=function(e){return Math.max(0,Math.floor(e))},e.rowSpanCmp=function(t,i){var n=e.cellConfigProperty.get(t.widget),r=e.cellConfigProperty.get(i.widget);return n.rowSpan-r.rowSpan},e.columnSpanCmp=function(t,i){var n=e.cellConfigProperty.get(t.widget),r=e.cellConfigProperty.get(i.widget);return n.columnSpan-r.columnSpan},e.reallocSizers=function(e,t){for(t=Math.max(1,Math.floor(t));e.length<t;)e.push(new We);e.length>t&&(e.length=t)},e.distributeMin=function(e,t,i,n){if(!(i<t))if(t!==i){for(var r=0,s=t;s<=i;++s)r+=e[s].minSize;if(!(r>=n)){var o=(n-r)/(i-t+1);for(s=t;s<=i;++s)e[s].minSize+=o}}else{var a=e[t];a.minSize=Math.max(a.minSize,n)}}}(xt||(xt={}));var Mt,Ct,St=function(e){function t(i){void 0===i&&(i={});var n=e.call(this,{node:Mt.createNode()})||this;return n._activeIndex=-1,n._tabFocusIndex=0,n._menus=[],n._childMenu=null,n.addClass("lm-MenuBar"),n.addClass("p-MenuBar"),n.setFlag(Ve.Flag.DisallowLayout),n.renderer=i.renderer||t.defaultRenderer,n._forceItemsPosition=i.forceItemsPosition||{forceX:!0,forceY:!0},n}return Be(t,e),t.prototype.dispose=function(){this._closeChildMenu(),this._menus.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeMenu",{get:function(){return this._menus[this._activeIndex]||null},set:function(e){this.activeIndex=e?this._menus.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(e){(e<0||e>=this._menus.length)&&(e=-1),this._activeIndex!==e&&(this._activeIndex=e,-1!==e&&(this._tabFocusIndex=e),this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menus",{get:function(){return this._menus},enumerable:!0,configurable:!0}),t.prototype.openActiveMenu=function(){-1!==this._activeIndex&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))},t.prototype.addMenu=function(e){this.insertMenu(this._menus.length,e)},t.prototype.insertMenu=function(e,t){this._closeChildMenu();var i=this._menus.indexOf(t),n=Math.max(0,Math.min(e,this._menus.length));if(-1===i)return w.insert(this._menus,n,t),t.addClass("lm-MenuBar-menu"),t.addClass("p-MenuBar-menu"),t.aboutToClose.connect(this._onMenuAboutToClose,this),t.menuRequested.connect(this._onMenuMenuRequested,this),t.title.changed.connect(this._onTitleChanged,this),void this.update();n===this._menus.length&&n--,i!==n&&(w.move(this._menus,i,n),this.update())},t.prototype.removeMenu=function(e){this.removeMenuAt(this._menus.indexOf(e))},t.prototype.removeMenuAt=function(e){this._closeChildMenu();var t=w.removeAt(this._menus,e);t&&(t.aboutToClose.disconnect(this._onMenuAboutToClose,this),t.menuRequested.disconnect(this._onMenuMenuRequested,this),t.title.changed.disconnect(this._onTitleChanged,this),t.removeClass("lm-MenuBar-menu"),t.removeClass("p-MenuBar-menu"),this.update())},t.prototype.clearMenus=function(){if(0!==this._menus.length){this._closeChildMenu();for(var e=0,t=this._menus;e<t.length;e++){var i=t[e];i.aboutToClose.disconnect(this._onMenuAboutToClose,this),i.menuRequested.disconnect(this._onMenuMenuRequested,this),i.title.changed.disconnect(this._onTitleChanged,this),i.removeClass("lm-MenuBar-menu"),i.removeClass("p-MenuBar-menu")}this._menus.length=0,this.update()}},t.prototype.handleEvent=function(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),this._closeChildMenu()},t.prototype.onActivateRequest=function(e){this.isAttached&&(this.activeIndex=0)},t.prototype.onUpdateRequest=function(e){for(var t=this,i=this._menus,n=this.renderer,r=this._activeIndex,s=this._tabFocusIndex>=0&&this._tabFocusIndex<i.length?this._tabFocusIndex:0,o=new Array(i.length),a=function(e,a){var l=i[e].title,u=e===r;u&&0==i[e].items.length&&(u=!1),o[e]=n.renderItem({title:l,active:u,tabbable:e===s,onfocus:function(){t.activeIndex=e}})},l=0,u=i.length;l<u;++l)a(l);Ae.render(o,this.contentNode)},t.prototype._evtKeyDown=function(e){var t=e.keyCode;if(9!==t)if(e.preventDefault(),e.stopPropagation(),13!==t&&32!==t&&38!==t&&40!==t){if(27===t)return this._closeChildMenu(),this.activeIndex=-1,void this.node.blur();if(37!==t)if(39!==t){var i=we().keyForKeydownEvent(e);if(i){var n=this._activeIndex+1,r=Mt.findMnemonic(this._menus,i,n);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.openActiveMenu())}}else s=this._activeIndex,o=this._menus.length,this.activeIndex=s===o-1?0:s+1;else{var s=this._activeIndex,o=this._menus.length;this.activeIndex=0===s?o-1:s-1}}else this.openActiveMenu();else this.activeIndex=-1},t.prototype._evtMouseDown=function(e){if(R.hitTest(this.node,e.clientX,e.clientY)){e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation();var t=w.findFirstIndex(this.contentNode.children,(function(t){return R.hitTest(t,e.clientX,e.clientY)}));if(-1!==t){if(0===e.button)if(this._childMenu)this._closeChildMenu(),this.activeIndex=t;else{var i=this._positionForMenu(t);ft.saveWindowData(),this.activeIndex=t,this._openChildMenu(i)}}else this._closeChildMenu()}},t.prototype._evtMouseMove=function(e){var t=w.findFirstIndex(this.contentNode.children,(function(t){return R.hitTest(t,e.clientX,e.clientY)}));if(t!==this._activeIndex&&(-1!==t||!this._childMenu)){var i=this._positionForMenu(t);ft.saveWindowData(),this.activeIndex=t,this._childMenu&&this._openChildMenu(i)}},t.prototype._positionForMenu=function(e){var t=this.contentNode.children[e].getBoundingClientRect(),i=t.left;return{top:t.bottom,left:i}},t.prototype._evtMouseLeave=function(e){this._childMenu||(this.activeIndex=-1)},t.prototype._openChildMenu=function(e){var t;void 0===e&&(e={});var i=this.activeMenu;if(i){var n=this._childMenu;if(n!==i){this._childMenu=i,n?n.close():document.addEventListener("mousedown",this,!0),ae.sendMessage(this,Ve.Msg.UpdateRequest);var r=e.left,s=e.top;void 0!==r&&void 0!==s||(r=(t=this._positionForMenu(this._activeIndex)).left,s=t.top),n||(this.addClass("lm-mod-active"),this.addClass("p-mod-active")),i.items.length>0&&i.open(r,s,this._forceItemsPosition)}}else this._closeChildMenu()},t.prototype._closeChildMenu=function(){if(this._childMenu){this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0);var e=this._childMenu;this._childMenu=null,e.close(),this.activeIndex=-1}},t.prototype._onMenuAboutToClose=function(e){e===this._childMenu&&(this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)},t.prototype._onMenuMenuRequested=function(e,t){if(e===this._childMenu){var i=this._activeIndex,n=this._menus.length;switch(t){case"next":this.activeIndex=i===n-1?0:i+1;break;case"previous":this.activeIndex=0===i?n-1:i-1}this.openActiveMenu()}},t.prototype._onTitleChanged=function(){this.update()},t}(Ve);!function(e){var t=function(){function e(){}return e.prototype.renderItem=function(e){var t=this.createItemClass(e),i=this.createItemDataset(e),n=this.createItemARIA(e);return Pe.li(Re({className:t,dataset:i,tabindex:e.tabbable?"0":"-1",onfocus:e.onfocus},n),this.renderIcon(e),this.renderLabel(e))},e.prototype.renderIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.title.icon?Pe.div({className:t},e.title.iconLabel):Pe.div({className:t},e.title.icon,e.title.iconLabel)},e.prototype.renderLabel=function(e){var t=this.formatLabel(e);return Pe.div({className:"lm-MenuBar-itemLabel p-MenuBar-itemLabel"},t)},e.prototype.createItemClass=function(e){var t="lm-MenuBar-item";return t+=" p-MenuBar-item",e.title.className&&(t+=" "+e.title.className),e.active&&(t+=" lm-mod-active",t+=" p-mod-active"),t},e.prototype.createItemDataset=function(e){return e.title.dataset},e.prototype.createItemARIA=function(e){return{role:"menuitem","aria-haspopup":"true"}},e.prototype.createIconClass=function(e){var t="lm-MenuBar-itemIcon";t+=" p-MenuBar-itemIcon";var i=e.title.iconClass;return i?t+" "+i:t},e.prototype.formatLabel=function(e){var t=e.title,i=t.label,n=t.mnemonic;if(n<0||n>=i.length)return i;var r=i.slice(0,n),s=i.slice(n+1),o=i[n];return[r,Pe.span({className:"lm-MenuBar-itemMnemonic p-MenuBar-itemMnemonic"},o),s]},e}();e.Renderer=t,e.defaultRenderer=new t}(St||(St={})),function(e){e.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-MenuBar-content",t.classList.add("p-MenuBar-content"),e.appendChild(t),t.setAttribute("role","menubar"),e},e.findMnemonic=function(e,t,i){for(var n=-1,r=-1,s=!1,o=t.toUpperCase(),a=0,l=e.length;a<l;++a){var u=(a+i)%l,d=e[u].title;if(0!==d.label.length){var c=d.mnemonic;c>=0&&c<d.label.length?d.label[c].toUpperCase()===o&&(-1===n?n=u:s=!0):-1===r&&d.label[0].toUpperCase()===o&&(r=u)}}return{index:n,multiple:s,auto:r}}}(Mt||(Mt={})),function(e){function t(t){void 0===t&&(t={});var i=e.call(this,{node:Ct.createNode()})||this;return i._onRepeat=function(){if(i._repeatTimer=-1,i._pressData){var e=i._pressData.part;if("thumb"!==e){i._repeatTimer=window.setTimeout(i._onRepeat,20);var t=i._pressData.mouseX,n=i._pressData.mouseY;if("decrement"!==e)if("increment"!==e){if("track"===e){if(!R.hitTest(i.trackNode,t,n))return;var r=i.thumbNode;if(R.hitTest(r,t,n))return;var s,o=r.getBoundingClientRect();return s="horizontal"===i._orientation?t<o.left?"decrement":"increment":n<o.top?"decrement":"increment",void i._pageRequested.emit(s)}}else{if(!R.hitTest(i.incrementNode,t,n))return;i._stepRequested.emit("increment")}else{if(!R.hitTest(i.decrementNode,t,n))return;i._stepRequested.emit("decrement")}}}},i._value=0,i._page=10,i._maximum=100,i._repeatTimer=-1,i._pressData=null,i._thumbMoved=new fe(i),i._stepRequested=new fe(i),i._pageRequested=new fe(i),i.addClass("lm-ScrollBar"),i.addClass("p-ScrollBar"),i.setFlag(Ve.Flag.DisallowLayout),i._orientation=t.orientation||"vertical",i.dataset.orientation=i._orientation,void 0!==t.maximum&&(i._maximum=Math.max(0,t.maximum)),void 0!==t.page&&(i._page=Math.max(0,t.page)),void 0!==t.value&&(i._value=Math.max(0,Math.min(t.value,i._maximum))),i}Be(t,e),Object.defineProperty(t.prototype,"thumbMoved",{get:function(){return this._thumbMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stepRequested",{get:function(){return this._stepRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageRequested",{get:function(){return this._pageRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._releaseMouse(),this._orientation=e,this.dataset.orientation=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){e=Math.max(0,Math.min(e,this._maximum)),this._value!==e&&(this._value=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(e){e=Math.max(0,e),this._page!==e&&(this._page=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maximum",{get:function(){return this._maximum},set:function(e){e=Math.max(0,e),this._maximum!==e&&(this._maximum=e,this._value=Math.min(this._value,e),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decrementNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-button")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"incrementNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-button")[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trackNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-track")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"thumbNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-thumb")[0]},enumerable:!0,configurable:!0}),t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.update()},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this._releaseMouse()},t.prototype.onUpdateRequest=function(e){var t=100*this._value/this._maximum,i=100*this._page/(this._page+this._maximum);t=Math.max(0,Math.min(t,100)),i=Math.max(0,Math.min(i,100));var n=this.thumbNode.style;"horizontal"===this._orientation?(n.top="",n.height="",n.left=t+"%",n.width=i+"%",n.transform="translate("+-t+"%, 0%)"):(n.left="",n.width="",n.top=t+"%",n.height=i+"%",n.transform="translate(0%, "+-t+"%)")},t.prototype._evtKeyDown=function(e){if(e.preventDefault(),e.stopPropagation(),27===e.keyCode){var t=this._pressData?this._pressData.value:-1;this._releaseMouse(),-1!==t&&this._moveThumb(t)}},t.prototype._evtMouseDown=function(e){if(0===e.button&&(this.activate(),!this._pressData)){var t=Ct.findPart(this,e.target);if(t){e.preventDefault(),e.stopPropagation();var i=xe.overrideCursor("default");if(this._pressData={part:t,override:i,delta:-1,value:-1,mouseX:e.clientX,mouseY:e.clientY},document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0),"thumb"===t){var n=this.thumbNode,r=n.getBoundingClientRect();return"horizontal"===this._orientation?this._pressData.delta=e.clientX-r.left:this._pressData.delta=e.clientY-r.top,n.classList.add("lm-mod-active"),n.classList.add("p-mod-active"),void(this._pressData.value=this._value)}if("track"===t){r=this.thumbNode.getBoundingClientRect();var s;return s="horizontal"===this._orientation?e.clientX<r.left?"decrement":"increment":e.clientY<r.top?"decrement":"increment",this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._pageRequested.emit(s)}return"decrement"===t?(this.decrementNode.classList.add("lm-mod-active"),this.decrementNode.classList.add("p-mod-active"),this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._stepRequested.emit("decrement")):"increment"===t?(this.incrementNode.classList.add("lm-mod-active"),this.incrementNode.classList.add("p-mod-active"),this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._stepRequested.emit("increment")):void 0}}},t.prototype._evtMouseMove=function(e){if(this._pressData&&(e.preventDefault(),e.stopPropagation(),this._pressData.mouseX=e.clientX,this._pressData.mouseY=e.clientY,"thumb"===this._pressData.part)){var t,i,n=this.thumbNode.getBoundingClientRect(),r=this.trackNode.getBoundingClientRect();"horizontal"===this._orientation?(t=e.clientX-r.left-this._pressData.delta,i=r.width-n.width):(t=e.clientY-r.top-this._pressData.delta,i=r.height-n.height);var s=0===i?0:t*this._maximum/i;this._moveThumb(s)}},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse())},t.prototype._releaseMouse=function(){this._pressData&&(clearTimeout(this._repeatTimer),this._repeatTimer=-1,this._pressData.override.dispose(),this._pressData=null,document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("contextmenu",this,!0),this.thumbNode.classList.remove("lm-mod-active"),this.decrementNode.classList.remove("lm-mod-active"),this.incrementNode.classList.remove("lm-mod-active"),this.thumbNode.classList.remove("p-mod-active"),this.decrementNode.classList.remove("p-mod-active"),this.incrementNode.classList.remove("p-mod-active"))},t.prototype._moveThumb=function(e){e=Math.max(0,Math.min(e,this._maximum)),this._value!==e&&(this._value=e,this.update(),this._thumbMoved.emit(e))}}(Ve),function(e){e.createNode=function(){var e=document.createElement("div"),t=document.createElement("div"),i=document.createElement("div"),n=document.createElement("div"),r=document.createElement("div");return t.className="lm-ScrollBar-button",i.className="lm-ScrollBar-button",t.dataset.action="decrement",i.dataset.action="increment",n.className="lm-ScrollBar-track",r.className="lm-ScrollBar-thumb",t.classList.add("p-ScrollBar-button"),i.classList.add("p-ScrollBar-button"),n.classList.add("p-ScrollBar-track"),r.classList.add("p-ScrollBar-thumb"),n.appendChild(r),e.appendChild(t),e.appendChild(n),e.appendChild(i),e},e.findPart=function(e,t){return e.thumbNode.contains(t)?"thumb":e.trackNode.contains(t)?"track":e.decrementNode.contains(t)?"decrement":e.incrementNode.contains(t)?"increment":null}}(Ct||(Ct={})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._widget=null,t}Be(t,e),t.prototype.dispose=function(){if(this._widget){var t=this._widget;this._widget=null,t.dispose()}e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"widget",{get:function(){return this._widget},set:function(e){e&&(e.parent=this.parent),this._widget!==e&&(this._widget&&this._widget.dispose(),this._widget=e,this.parent&&e&&this.attachWidget(e))},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return this._widget?z(this._widget):T()},t.prototype.removeWidget=function(e){this._widget===e&&(this._widget=null,this.parent&&this.detachWidget(e))},t.prototype.init=function(){var t=this;e.prototype.init.call(this),C(this,(function(e){t.attachWidget(e)}))},t.prototype.attachWidget=function(e){this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.AfterAttach)},t.prototype.detachWidget=function(e){this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&ae.sendMessage(e,Ve.Msg.AfterDetach)}}(qe);var Et,kt,Tt,At=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,t)||this;return i._dirty=!1,i._items=[],i._box=null,i._hiddenMode=void 0!==t.hiddenMode?t.hiddenMode:Ve.HiddenMode.Display,i}return Be(t,e),Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(e){var t=this;this._hiddenMode!==e&&(this._hiddenMode=e,this.widgets.length>1&&this.widgets.forEach((function(e){e.hiddenMode=t._hiddenMode})))},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){C(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,e.prototype.dispose.call(this)},t.prototype.attachWidget=function(e,t){this._hiddenMode===Ve.HiddenMode.Scale&&this._items.length>0?(1===this._items.length&&(this.widgets[0].hiddenMode=Ve.HiddenMode.Scale),t.hiddenMode=Ve.HiddenMode.Scale):t.hiddenMode=Ve.HiddenMode.Display,w.insert(this._items,e,new Ke(t)),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,i){w.move(this._items,e,t),this.parent.update()},t.prototype.detachWidget=function(e,t){var i=w.removeAt(this._items,e);this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&ae.sendMessage(t,Ve.Msg.AfterDetach),i.widget.node.style.zIndex="",this._hiddenMode===Ve.HiddenMode.Scale&&(t.hiddenMode=Ve.HiddenMode.Display,1===this._items.length&&(this._items[0].widget.hiddenMode=Ve.HiddenMode.Display)),i.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,t=0,i=0,n=this._items.length;i<n;++i){var r=this._items[i];r.isHidden||(r.fit(),e=Math.max(e,r.minWidth),t=Math.max(t,r.minHeight))}var s=this._box=R.boxSizing(this.parent.node);e+=s.horizontalSum,t+=s.verticalSum;var o=this.parent.node.style;o.minWidth=e+"px",o.minHeight=t+"px",this._dirty=!0,this.parent.parent&&ae.sendMessage(this.parent.parent,Ve.Msg.FitRequest),this._dirty&&ae.sendMessage(this.parent,Ve.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var i=0,n=0,r=this._items.length;n<r;++n)i+=+!this._items[n].isHidden;if(0!==i){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=R.boxSizing(this.parent.node));var s=this._box.paddingTop,o=this._box.paddingLeft,a=e-this._box.horizontalSum,l=t-this._box.verticalSum;for(n=0,r=this._items.length;n<r;++n){var u=this._items[n];u.isHidden||(u.widget.node.style.zIndex=""+n,u.update(o,s,a,l))}}},t}(Xe),Lt=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,{layout:Et.createLayout(t)})||this;return i._widgetRemoved=new fe(i),i.addClass("lm-StackedPanel"),i.addClass("p-StackedPanel"),i}return Be(t,e),Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this.layout.hiddenMode},set:function(e){this.layout.hiddenMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgetRemoved",{get:function(){return this._widgetRemoved},enumerable:!0,configurable:!0}),t.prototype.onChildAdded=function(e){e.child.addClass("lm-StackedPanel-child"),e.child.addClass("p-StackedPanel-child")},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-StackedPanel-child"),e.child.removeClass("p-StackedPanel-child"),this._widgetRemoved.emit(e.child)},t}(tt);function Ot(e,t){if(Array.isArray(e)){const i=[];return e.forEach(((e,n)=>{i.push(Ot(e,t))})),Promise.all(i)}if(e instanceof Object){const i={};return Object.keys(e).forEach((n=>{i[n]=Ot(e[n],t)})),h(i)}return"string"==typeof e&&"IPY_MODEL_"===e.slice(0,10)?t.get_model(e.slice(10,e.length)):Promise.resolve(e)}!function(e){e.createLayout=function(e){return e.layout||new At}}(Et||(Et={})),function(e){function t(t){void 0===t&&(t={});var i=e.call(this)||this;i._currentChanged=new fe(i),i._addRequested=new fe(i),i.addClass("lm-TabPanel"),i.addClass("p-TabPanel"),i.tabBar=new gt(t),i.tabBar.addClass("lm-TabPanel-tabBar"),i.stackedPanel=new Lt,i.stackedPanel.addClass("lm-TabPanel-stackedPanel"),i.tabBar.addClass("p-TabPanel-tabBar"),i.stackedPanel.addClass("p-TabPanel-stackedPanel"),i.tabBar.tabMoved.connect(i._onTabMoved,i),i.tabBar.currentChanged.connect(i._onCurrentChanged,i),i.tabBar.tabCloseRequested.connect(i._onTabCloseRequested,i),i.tabBar.tabActivateRequested.connect(i._onTabActivateRequested,i),i.tabBar.addRequested.connect(i._onTabAddRequested,i),i.stackedPanel.widgetRemoved.connect(i._onWidgetRemoved,i),i._tabPlacement=t.tabPlacement||"top";var n=kt.directionFromPlacement(i._tabPlacement),r=kt.orientationFromPlacement(i._tabPlacement);i.tabBar.orientation=r,i.tabBar.dataset.placement=i._tabPlacement;var s=new at({direction:n,spacing:0});return at.setStretch(i.tabBar,0),at.setStretch(i.stackedPanel,1),s.addWidget(i.tabBar),s.addWidget(i.stackedPanel),i.layout=s,i}Be(t,e),Object.defineProperty(t.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this.tabBar.currentIndex},set:function(e){this.tabBar.currentIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentWidget",{get:function(){var e=this.tabBar.currentTitle;return e?e.owner:null},set:function(e){this.tabBar.currentTitle=e?e.title:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabsMovable",{get:function(){return this.tabBar.tabsMovable},set:function(e){this.tabBar.tabsMovable=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonEnabled",{get:function(){return this.tabBar.addButtonEnabled},set:function(e){this.tabBar.addButtonEnabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabPlacement",{get:function(){return this._tabPlacement},set:function(e){if(this._tabPlacement!==e){this._tabPlacement=e;var t=kt.directionFromPlacement(e),i=kt.orientationFromPlacement(e);this.tabBar.orientation=i,this.tabBar.dataset.placement=e,this.layout.direction=t}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgets",{get:function(){return this.stackedPanel.widgets},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(e){this.insertWidget(this.widgets.length,e)},t.prototype.insertWidget=function(e,t){t!==this.currentWidget&&t.hide(),this.stackedPanel.insertWidget(e,t),this.tabBar.insertTab(e,t.title),t.node.setAttribute("role","tabpanel");var i=this.tabBar.renderer;if(i instanceof gt.Renderer){var n=i.createTabKey({title:t.title,current:!1,zIndex:0});t.node.setAttribute("aria-labelledby",n)}},t.prototype._onCurrentChanged=function(e,t){var i=t.previousIndex,n=t.previousTitle,r=t.currentIndex,s=t.currentTitle,o=n?n.owner:null,a=s?s.owner:null;o&&o.hide(),a&&a.show(),this._currentChanged.emit({previousIndex:i,previousWidget:o,currentIndex:r,currentWidget:a}),(W.IS_EDGE||W.IS_IE)&&ae.flush()},t.prototype._onTabAddRequested=function(e,t){this._addRequested.emit(e)},t.prototype._onTabActivateRequested=function(e,t){t.title.owner.activate()},t.prototype._onTabCloseRequested=function(e,t){t.title.owner.close()},t.prototype._onTabMoved=function(e,t){this.stackedPanel.insertWidget(t.toIndex,t.title.owner)},t.prototype._onWidgetRemoved=function(e,t){t.node.removeAttribute("role"),t.node.removeAttribute("aria-labelledby"),this.tabBar.removeTab(t.title)}}(Ve),function(e){e.orientationFromPlacement=function(e){return t[e]},e.directionFromPlacement=function(e){return i[e]};var t={top:"horizontal",left:"vertical",right:"vertical",bottom:"horizontal"},i={top:"top-to-bottom",left:"left-to-right",right:"right-to-left",bottom:"bottom-to-top"}}(kt||(kt={}));class It extends g.Model{defaults(){return{_model_module:"@jupyter-widgets/base",_model_name:"WidgetModel",_model_module_version:f,_view_module:"@jupyter-widgets/base",_view_name:null,_view_module_version:f,_view_count:null}}isNew(){return!1}initialize(e,t){this._expectedEchoMsgIds={},this._attrsToUpdate={},super.initialize(e,t),this.widget_manager=t.widget_manager,this.model_id=t.model_id;let i=t.comm;this.views=Object.create(null),this.state_change=Promise.resolve(),this._closed=!1,this._state_lock=null,this._msg_buffer=null,this._msg_buffer_callbacks=null,this._pending_msgs=0,this._buffered_state_diff={},i?(this.comm=i,i.on_close(this._handle_comm_closed.bind(this)),i.on_msg(this._handle_comm_msg.bind(this)),this.comm_live=!0):this.comm_live=!1}get comm_live(){return this._comm_live}set comm_live(e){this._comm_live=e,this.trigger("comm_live_update")}send(e,t,i){if(void 0!==this.comm){let n={method:"custom",content:e};this.comm.send(n,t,{},i)}}close(e=!1){if(this._closed)return;this._closed=!0,this.comm&&!e&&this.comm.close(),this.stopListening(),this.trigger("destroy",this),this.comm&&delete this.comm;let t=Object.keys(this.views).map((e=>this.views[e].then((e=>e.remove()))));return delete this.views,Promise.all(t).then((()=>{}))}_handle_comm_closed(e){this.trigger("comm:close"),this.close(!0)}_handle_comm_msg(e){const t=e.content.data;let i=t.method;switch(i){case"update":case"echo_update":return this.state_change=this.state_change.then((()=>{var n,r,s;let o=t.state,a=null!=(n=t.buffer_paths)?n:[],l=(s=null===(r=e.buffers)||void 0===r?void 0:r.slice(0,a.length),null!=s?s:[]).map((e=>e instanceof DataView?e:new DataView(e instanceof ArrayBuffer?e:e.buffer)));if(function(e,t,i){for(let n=0;n<t.length;n++){let r=t[n],s=e;for(let e=0;e<r.length-1;e++)s=s[r[e]];s[r[r.length-1]]=i[n]}}(o,a,l),e.parent_header&&"echo_update"===i){const t=e.parent_header.msg_id;Object.keys(o).filter((e=>this._expectedEchoMsgIds.hasOwnProperty(e))).forEach((e=>{this._expectedEchoMsgIds[e]!==t?delete o[e]:(delete this._expectedEchoMsgIds[e],null!==this._msg_buffer&&Object.prototype.hasOwnProperty.call(this._msg_buffer,e)&&delete o[e])}))}return this.constructor._deserialize_state(o,this.widget_manager)})).then((e=>{this.set_state(e)})).catch(p(`Could not process update msg for model id: ${this.model_id}`,!0)),this.state_change;case"custom":return this.trigger("msg:custom",t.content,e.buffers),Promise.resolve()}}set_state(e){this._state_lock=e;try{this.set(e)}catch(e){console.error(`Error setting state: ${e.message}`)}finally{this._state_lock=null}}get_state(e){let t=this.attributes;if(e){let e=this.defaults,i="function"==typeof e?e.call(this):e,n={};return Object.keys(t).forEach((e=>{l(t[e],i[e])||(n[e]=t[e])})),n}return Object.assign({},t)}_handle_status(e){if(void 0!==this.comm&&"idle"===e.content.execution_state&&(this._pending_msgs--,this._pending_msgs<0&&(console.error(`Jupyter Widgets message throttle: Pending messages < 0 (=${this._pending_msgs}), which is unexpected. Resetting to 0 to continue.`),this._pending_msgs=0),null!==this._msg_buffer&&this._pending_msgs<1)){const e=this.send_sync_message(this._msg_buffer,this._msg_buffer_callbacks);this.rememberLastUpdateFor(e),this._msg_buffer=null,this._msg_buffer_callbacks=null}}callbacks(e){return this.widget_manager.callbacks(e)}set(e,t,i){let n=m.call(this,e,t,i);if(void 0!==this._buffered_state_diff){let e=this.changedAttributes()||{};if(this._state_lock)for(const t of Object.keys(this._state_lock))e[t]===this._state_lock[t]&&delete e[t];this._buffered_state_diff=u(this._buffered_state_diff,e)}return n}sync(e,t,i={}){if(void 0===this.comm)throw"Syncing error: no comm channel defined";let n="patch"===e?i.attrs:t.get_state(i.drop_defaults);if(this._state_lock)for(const e of Object.keys(this._state_lock))n[e]===this._state_lock[e]&&delete n[e];Object.keys(n).forEach((e=>{this._attrsToUpdate[e]=!0}));let r=this.serialize(n);if(Object.keys(r).length>0){let t=i.callbacks||this.callbacks();if(this._pending_msgs>=1){switch(e){case"patch":this._msg_buffer=u(this._msg_buffer||{},r);break;case"update":case"create":this._msg_buffer=r;break;default:throw"unrecognized syncing method"}this._msg_buffer_callbacks=t}else{const e=this.send_sync_message(n,t);this.rememberLastUpdateFor(e)}}}rememberLastUpdateFor(e){Object.keys(this._attrsToUpdate).forEach((t=>{this._expectedEchoMsgIds[t]=e})),this._attrsToUpdate={}}serialize(e){const t=this.constructor.serializers||{};for(const i of Object.keys(e))try{t[i]&&t[i].serialize?e[i]=t[i].serialize(e[i],this):e[i]=JSON.parse(JSON.stringify(e[i])),e[i]&&e[i].toJSON&&(e[i]=e[i].toJSON())}catch(e){throw console.error("Error serializing widget state attribute: ",i),e}return e}send_sync_message(e,t={}){if(!this.comm)return"";try{const i=(t={shell:Object.assign({},t.shell),iopub:Object.assign({},t.iopub),input:t.input}).iopub.status;t.iopub.status=e=>{this._handle_status(e),i&&i(e)};let n=function(e){let t=[],i=[];return{state:function e(n,r){if(n.toJSON&&(n=n.toJSON()),Array.isArray(n)){let s=!1;for(let o=0;o<n.length;o++){let a=n[o];if(a)if(a instanceof ArrayBuffer||ArrayBuffer.isView(a))s||(n=n.slice(),s=!0),t.push(ArrayBuffer.isView(a)?a.buffer:a),i.push(r.concat([o])),n[o]=null;else{let t=e(a,r.concat([o]));t!==a&&(s||(n=n.slice(),s=!0),n[o]=t)}}}else if(s()(n))for(let s in n){let o=!1;if(n.hasOwnProperty(s)){let a=n[s];if(a)if(a instanceof ArrayBuffer||ArrayBuffer.isView(a))o||(n=Object.assign({},n),o=!0),t.push(ArrayBuffer.isView(a)?a.buffer:a),i.push(r.concat([s])),delete n[s];else{let t=e(a,r.concat([s]));t!==a&&(o||(n=Object.assign({},n),o=!0),n[s]=t)}}}return n}(e,[]),buffers:t,buffer_paths:i}}(e);const r=this.comm.send({method:"update",state:n.state,buffer_paths:n.buffer_paths},t,{},n.buffers);return this._pending_msgs++,r}catch(e){console.error("Could not send widget sync message",e)}return""}save_changes(e){if(this.comm_live){let t={patch:!0};e&&(t.callbacks=e),this.save(this._buffered_state_diff,t),this._buffered_state_diff={}}}on_some_change(e,t,i){const n=this;this.on("change",(function(){e.some(n.hasChanged,n)&&t.apply(i,arguments)}),this)}toJSON(e){return`IPY_MODEL_${this.model_id}`}static _deserialize_state(e,t){let i,n=this.serializers;if(n){i={};for(let r in e)n[r]&&n[r].deserialize?i[r]=n[r].deserialize(e[r],t):i[r]=e[r]}else i=e;return h(i)}}class jt extends It{defaults(){return u(super.defaults(),{_dom_classes:[]})}}jt.serializers=Object.assign(Object.assign({},It.serializers),{layout:{deserialize:Ot},style:{deserialize:Ot}});class Dt extends x{constructor(e){super(e)}initialize(e){this.listenTo(this.model,"change",(()=>{let e=Object.keys(this.model.changedAttributes()||{});"_view_count"===e[0]&&1===e.length||this.update()})),this.options=e.options,this.once("remove",(()=>{"number"==typeof this.model.get("_view_count")&&(this.model.set("_view_count",this.model.get("_view_count")-1),this.model.save_changes())})),this.once("displayed",(()=>{"number"==typeof this.model.get("_view_count")&&(this.model.set("_view_count",this.model.get("_view_count")+1),this.model.save_changes())})),this.displayed=new Promise(((e,t)=>{this.once("displayed",e)}))}update(e){}render(){}create_child_view(e,t={}){return t=Object.assign({parent:this},t),this.model.widget_manager.create_view(e,t).catch(p("Could not create child view",!0))}callbacks(){return this.model.callbacks(this)}send(e,t){this.model.send(e,this.callbacks(),t)}touch(){this.model.save_changes(this.callbacks())}remove(){return super.remove(),this.trigger("remove"),this}}class Pt extends Ve{constructor(e){let t=e.view;delete e.view,super(e),this._view=t}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}processMessage(e){super.processMessage(e),this._view.processPhosphorMessage(e)}}class zt extends tt{constructor(e){let t=e.view;delete e.view,super(e),this._view=t}processMessage(e){super.processMessage(e),this._view.processPhosphorMessage(e)}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}}class Bt extends Dt{initialize(e){super.initialize(e),this.listenTo(this.model,"change:_dom_classes",((e,t)=>{let i=e.previous("_dom_classes");this.update_classes(i,t)})),this.layoutPromise=Promise.resolve(),this.listenTo(this.model,"change:layout",((e,t)=>{this.setLayout(t,e.previous("layout"))})),this.stylePromise=Promise.resolve(),this.listenTo(this.model,"change:style",((e,t)=>{this.setStyle(t,e.previous("style"))})),this.displayed.then((()=>{this.update_classes([],this.model.get("_dom_classes")),this.setLayout(this.model.get("layout")),this.setStyle(this.model.get("style"))})),this._comm_live_update(),this.listenTo(this.model,"comm_live_update",(()=>{this._comm_live_update()}))}setLayout(e,t){e&&(this.layoutPromise=this.layoutPromise.then((t=>(t&&(t.unlayout(),this.stopListening(t.model),t.remove()),this.create_child_view(e).then((e=>this.displayed.then((()=>(e.trigger("displayed"),this.listenTo(e.model,"change",(()=>{ae.postMessage(this.pWidget,Ve.ResizeMessage.UnknownSize)})),ae.postMessage(this.pWidget,Ve.ResizeMessage.UnknownSize),e))))).catch(p("Could not add LayoutView to DOMWidgetView",!0))))))}setStyle(e,t){e&&(this.stylePromise=this.stylePromise.then((t=>(t&&(t.unstyle(),this.stopListening(t.model),t.remove()),this.create_child_view(e).then((e=>this.displayed.then((()=>(e.trigger("displayed"),e))))).catch(p("Could not add styleView to DOMWidgetView",!0))))))}update_classes(e,t,i){void 0===i&&(i=this.el),a(e,t).map((function(e){i.classList?i.classList.remove(e):i.setAttribute("class",i.getAttribute("class").replace(e,""))})),a(t,e).map((function(e){i.classList?i.classList.add(e):i.setAttribute("class",i.getAttribute("class").concat(" ",e))}))}update_mapped_classes(e,t,i){let n=this.model.previous(t),r=e[n]?e[n]:[];n=this.model.get(t);let s=e[n]?e[n]:[];this.update_classes(r,s,i||this.el)}set_mapped_classes(e,t,i){let n=this.model.get(t),r=e[n]?e[n]:[];this.update_classes([],r,i||this.el)}_setElement(e){this.pWidget&&this.pWidget.dispose(),this.$el=e instanceof _()?e:_()(e),this.el=this.$el[0],this.pWidget=new Pt({node:e,view:this})}remove(){return this.pWidget&&this.pWidget.dispose(),super.remove()}processPhosphorMessage(e){"after-attach"===e.type&&this.trigger("displayed")}_comm_live_update(){this.model.comm_live?this.pWidget.removeClass("jupyter-widgets-disconnected"):this.pWidget.addClass("jupyter-widgets-disconnected")}}class Nt extends It{defaults(){let e=this.constructor;return u(super.defaults(),{_model_name:"StyleModel",_view_name:"StyleView"},Object.keys(e.styleProperties).reduce(((t,i)=>(t[i]=e.styleProperties[i].default,t)),{}))}}Nt.styleProperties={},function(e){let t;!function(e){e.CommManager=class{constructor(e){this.targets=Object.create(null),this.comms=Object.create(null),this.kernel=null,this.jsServicesKernel=null,this.init_kernel(e)}init_kernel(e){this.kernel=e,this.jsServicesKernel=e}async new_comm(e,i,n,r,s,o){let a=this.jsServicesKernel.createComm(e,s),l=new t(a);return this.register_comm(l),l.open(i,n,r,o),l}register_target(e,i){let n=this.jsServicesKernel.registerCommTarget(e,((e,n)=>{let r=new t(e);this.register_comm(r);try{return i(r,n)}catch(e){r.close(),console.error(e),console.error(new Error("Exception opening new comm"))}}));this.targets[e]=n}unregister_target(e,t){this.targets[e].dispose(),delete this.targets[e]}register_comm(e){return this.comms[e.comm_id]=Promise.resolve(e),e.kernel=this.kernel,e.comm_id}};class t{constructor(e){this.jsServicesComm=null,this.kernel=null,this.jsServicesComm=e}get comm_id(){return this.jsServicesComm.commId}get target_name(){return this.jsServicesComm.targetName}open(e,t,i,n){let r=this.jsServicesComm.open(e,i,n);return this._hookupCallbacks(r,t),r.msg.header.msg_id}send(e,t,i,n){let r=this.jsServicesComm.send(e,i,n);return this._hookupCallbacks(r,t),r.msg.header.msg_id}close(e,t,i,n){let r=this.jsServicesComm.close(e,i,n);return this._hookupCallbacks(r,t),r.msg.header.msg_id}on_msg(e){this.jsServicesComm.onMsg=e.bind(this)}on_close(e){this.jsServicesComm.onClose=e.bind(this)}_hookupCallbacks(e,t){t&&(e.onReply=function(e){t.shell&&t.shell.reply&&t.shell.reply(e)},e.onStdin=function(e){t.input&&t.input(e)},e.onIOPub=function(e){if(t.iopub)if(t.iopub.status&&"status"===e.header.msg_type)t.iopub.status(e);else if(t.iopub.clear_output&&"clear_output"===e.header.msg_type)t.iopub.clear_output(e);else if(t.iopub.output)switch(e.header.msg_type){case"display_data":case"execute_result":case"stream":case"error":t.iopub.output(e)}})}}e.Comm=t}(t=e.services||(e.services={}))}(Tt||(Tt={}));class Rt{constructor(e,t,i){this.initialize(e,t,i)}initialize(e,t,i){this._handler_context=i||this,this._models=[],this.views=[],this._create_view=e,this._remove_view=t||function(e){e.remove()}}update(e,t,i,n){let r=i||this._remove_view,s=t||this._create_view;n=n||this._handler_context;let o=0;for(;o<e.length&&!(o>=this._models.length||e[o]!==this._models[o]);o++);let a=o,l=this.views.splice(a,this.views.length-a);for(let e=0;e<l.length;e++)l[e].then((function(e){r.call(n,e)}));for(;o<e.length;o++)this.views.push(Promise.resolve(s.call(n,e[o],o)));return this._models=e.slice(),Promise.all(this.views)}remove(){return Promise.all(this.views).then((e=>{e.forEach((e=>this._remove_view.call(this._handler_context,e))),this.views=[],this._models=[]}))}dispose(){this.views=null,this._models=null}}function Wt(e,t){return function(i){let n=new c(e,i);return t&&console.error(n),Promise.reject(n)}}function Ht(e,t){void 0!==t&&(e.textContent=t),void 0!==window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,e])}function Ft(e){let t=document.createElement("div");return t.textContent=e,t.innerHTML}new e.Token("jupyter.extensions.jupyterWidgetRegistry");const Vt="1.5.0";class qt extends Nt{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DescriptionStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:Vt})}}qt.styleProperties={description_width:{selector:".widget-label",attribute:"width",default:null}};class Ut extends jt{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DescriptionModel",_view_name:"DescriptionView",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:Vt,_model_module_version:Vt,description:"",description_tooltip:null})}}class Kt extends Bt{render(){this.label=document.createElement("label"),this.el.appendChild(this.label),this.label.className="widget-label",this.label.style.display="none",this.listenTo(this.model,"change:description",this.updateDescription),this.listenTo(this.model,"change:description_tooltip",this.updateDescription),this.updateDescription()}typeset(e,t){this.displayed.then((()=>Ht(e,t)))}updateDescription(){let e=this.model.get("description"),t=this.model.get("description_tooltip");null===t&&(t=e),0===e.length?this.label.style.display="none":(this.label.innerHTML=e,this.typeset(this.label),this.label.style.display=""),this.label.title=t}}class $t extends Ut{}class Xt extends Kt{}var Yt=n(2562);class Gt extends It{defaults(){return Yt.extend(super.defaults(),{_model_name:"CoreWidgetModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:Vt,_model_module_version:Vt})}}class Jt extends jt{defaults(){return Yt.extend(super.defaults(),{_model_name:"CoreDOMWidgetModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:Vt,_model_module_version:Vt})}}class Qt extends Ut{defaults(){return Yt.extend(super.defaults(),{_model_name:"CoreDescriptionModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:Vt,_model_module_version:Vt})}}class Zt extends Gt{defaults(){return Yt.extend(super.defaults(),{target:void 0,source:void 0,_model_name:"DirectionalLinkModel"})}initialize(e,t){super.initialize(e,t),this.on("change",this.updateBindings,this),this.updateBindings()}updateValue(e,t,i,n){if(!this._updating){this._updating=!0;try{i&&(i.set(n,e.get(t)),i.save_changes())}finally{this._updating=!1}}}updateBindings(){this.cleanup(),[this.sourceModel,this.sourceAttr]=this.get("source")||[null,null],[this.targetModel,this.targetAttr]=this.get("target")||[null,null],this.sourceModel&&(this.listenTo(this.sourceModel,"change:"+this.sourceAttr,(()=>{this.updateValue(this.sourceModel,this.sourceAttr,this.targetModel,this.targetAttr)})),this.updateValue(this.sourceModel,this.sourceAttr,this.targetModel,this.targetAttr),this.listenToOnce(this.sourceModel,"destroy",this.cleanup)),this.targetModel&&this.listenToOnce(this.targetModel,"destroy",this.cleanup)}cleanup(){this.sourceModel&&(this.stopListening(this.sourceModel,"change:"+this.sourceAttr,null),this.stopListening(this.sourceModel,"destroy",null)),this.targetModel&&this.stopListening(this.targetModel,"destroy",null)}}Zt.serializers=Object.assign(Object.assign({},Gt.serializers),{target:{deserialize:Ot},source:{deserialize:Ot}});class ei extends Zt{defaults(){return Yt.extend(super.defaults(),{_model_name:"LinkModel"})}updateBindings(){super.updateBindings(),this.targetModel&&this.listenTo(this.targetModel,"change:"+this.targetAttr,(()=>{this.updateValue(this.targetModel,this.targetAttr,this.sourceModel,this.sourceAttr)}))}cleanup(){super.cleanup(),this.targetModel&&this.stopListening(this.targetModel,"change:"+this.targetAttr,null)}}class ti extends Qt{defaults(){return Yt.extend(super.defaults(),{value:!1,disabled:!1,_model_name:"BoolModel"})}}class ii extends Qt{defaults(){return Yt.extend(super.defaults(),{indent:!0,_view_name:"CheckboxView",_model_name:"CheckboxModel"})}}class ni extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-checkbox"),this.label.innerHTML="​",this.checkboxLabel=document.createElement("label"),this.checkboxLabel.classList.add("widget-label-basic"),this.el.appendChild(this.checkboxLabel),this.checkbox=document.createElement("input"),this.checkbox.setAttribute("type","checkbox"),this.checkboxLabel.appendChild(this.checkbox),this.descriptionSpan=document.createElement("span"),this.checkboxLabel.appendChild(this.descriptionSpan),this.listenTo(this.model,"change:indent",this.updateIndent),this.update(),this.updateDescription(),this.updateIndent()}updateDescription(){if(null==this.checkboxLabel)return;let e=this.model.get("description");this.descriptionSpan.innerHTML=e,this.typeset(this.descriptionSpan),this.descriptionSpan.title=e,this.checkbox.title=e}updateIndent(){let e=this.model.get("indent");this.label.style.display=e?"":"none"}events(){return{'click input[type="checkbox"]':"_handle_click"}}_handle_click(){let e=this.model.get("value");this.model.set("value",!e,{updated_view:this}),this.touch()}update(e){return this.checkbox.checked=this.model.get("value"),void 0!==e&&e.updated_view==this||(this.checkbox.disabled=this.model.get("disabled")),super.update()}}class ri extends ti{defaults(){return Yt.extend(super.defaults(),{_view_name:"ToggleButtonView",_model_name:"ToggleButtonModel",tooltip:"",icon:"",button_style:""})}}class si extends Bt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("jupyter-button"),this.el.classList.add("widget-toggle-button"),this.listenTo(this.model,"change:button_style",this.update_button_style),this.set_button_style(),this.update()}update_button_style(){this.update_mapped_classes(si.class_map,"button_style")}set_button_style(){this.set_mapped_classes(si.class_map,"button_style")}update(e){if(this.model.get("value")?this.el.classList.add("mod-active"):this.el.classList.remove("mod-active"),void 0===e||e.updated_view!==this){this.el.disabled=this.model.get("disabled"),this.el.setAttribute("title",this.model.get("tooltip"));let e=this.model.get("description"),t=this.model.get("icon");if(0===e.trim().length&&0===t.trim().length)this.el.innerHTML=" ";else{if(this.el.textContent="",t.trim().length){let e=document.createElement("i");this.el.appendChild(e),e.classList.add("fa"),e.classList.add("fa-"+t)}this.el.appendChild(document.createTextNode(e))}}return super.update()}events(){return{click:"_handle_click"}}_handle_click(e){e.preventDefault();let t=this.model.get("value");this.model.set("value",!t,{updated_view:this}),this.touch()}get tagName(){return"button"}}si.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]};class oi extends ti{defaults(){return Yt.extend(super.defaults(),{readout:"Invalid",_view_name:"ValidView",_model_name:"ValidModel"})}}class ai extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-valid"),this.el.classList.add("widget-inline-hbox"),this.icon=document.createElement("i"),this.icon.classList.add("fa","fa-fw"),this.el.appendChild(this.icon),this.readout=document.createElement("span"),this.readout.classList.add("widget-valid-readout"),this.readout.classList.add("widget-readout"),this.el.appendChild(this.readout),this.update()}update(){this.el.classList.remove("mod-valid"),this.el.classList.remove("mod-invalid"),this.icon.classList.remove("fa-check"),this.icon.classList.remove("fa-times"),this.readout.textContent=this.model.get("readout"),this.model.get("value")?(this.el.classList.add("mod-valid"),this.icon.classList.add("fa-check")):(this.el.classList.add("mod-invalid"),this.icon.classList.add("fa-times"))}}class li extends Nt{defaults(){return Yt.extend(super.defaults(),{_model_name:"ButtonStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:Vt})}}li.styleProperties={button_color:{selector:"",attribute:"background-color",default:null},font_weight:{selector:"",attribute:"font-weight",default:""}};class ui extends Jt{defaults(){return Yt.extend(super.defaults(),{description:"",tooltip:"",disabled:!1,icon:"",button_style:"",_view_name:"ButtonView",_model_name:"ButtonModel",style:null})}}class di extends Bt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("jupyter-button"),this.el.classList.add("widget-button"),this.listenTo(this.model,"change:button_style",this.update_button_style),this.set_button_style(),this.update()}update(){this.el.disabled=this.model.get("disabled"),this.el.setAttribute("title",this.model.get("tooltip"));let e=this.model.get("description"),t=this.model.get("icon");if(e.length||t.length){if(this.el.textContent="",t.length){let i=document.createElement("i");i.classList.add("fa"),i.classList.add("fa-"+t),0===e.length&&i.classList.add("center"),this.el.appendChild(i)}this.el.appendChild(document.createTextNode(e))}return super.update()}update_button_style(){this.update_mapped_classes(di.class_map,"button_style")}set_button_style(){this.set_mapped_classes(di.class_map,"button_style")}events(){return{click:"_handle_click"}}_handle_click(e){e.preventDefault(),this.send({event:"click"})}get tagName(){return"button"}}di.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]};class ci extends Jt{defaults(){return Yt.extend(super.defaults(),{_view_name:"BoxView",_model_name:"BoxModel",children:[],box_style:""})}}ci.serializers=Object.assign(Object.assign({},Jt.serializers),{children:{deserialize:Ot}});class hi extends ci{defaults(){return Yt.extend(super.defaults(),{_view_name:"HBoxView",_model_name:"HBoxModel"})}}class pi extends ci{defaults(){return Yt.extend(super.defaults(),{_view_name:"VBoxView",_model_name:"VBoxModel"})}}class fi extends Bt{_createElement(e){return this.pWidget=new zt({view:this}),this.pWidget.node}_setElement(e){if(this.el||e!==this.pWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.pWidget.node,this.$el=_()(this.pWidget.node)}initialize(e){super.initialize(e),this.children_views=new Rt(this.add_child_model,null,this),this.listenTo(this.model,"change:children",this.update_children),this.listenTo(this.model,"change:box_style",this.update_box_style),this.pWidget.addClass("jupyter-widgets"),this.pWidget.addClass("widget-container"),this.pWidget.addClass("widget-box")}render(){super.render(),this.update_children(),this.set_box_style()}update_children(){this.children_views.update(this.model.get("children")).then((e=>{e.forEach((e=>{ae.postMessage(e.pWidget,Ve.ResizeMessage.UnknownSize)}))}))}update_box_style(){this.update_mapped_classes(fi.class_map,"box_style")}set_box_style(){this.set_mapped_classes(fi.class_map,"box_style")}add_child_model(e){let t=new Ve;return this.pWidget.addWidget(t),this.create_child_view(e).then((e=>{let i=w.firstIndexOf(this.pWidget.widgets,t);return this.pWidget.insertWidget(i,e.pWidget),t.dispose(),e})).catch(Wt("Could not add child view to box",!0))}remove(){this.children_views=null,super.remove()}}fi.class_map={success:["alert","alert-success"],info:["alert","alert-info"],warning:["alert","alert-warning"],danger:["alert","alert-danger"]};class mi extends fi{initialize(e){super.initialize(e),this.pWidget.addClass("widget-hbox")}}class gi extends fi{initialize(e){super.initialize(e),this.pWidget.addClass("widget-vbox")}}class vi extends fi{initialize(e){super.initialize(e),this.pWidget.addClass("widget-gridbox"),this.pWidget.removeClass("widget-box")}}class _i extends ci{defaults(){return Yt.extend(super.defaults(),{_view_name:"GridBoxView",_model_name:"GridBoxModel"})}}class yi extends Jt{defaults(){return Yt.extend(super.defaults(),{_model_name:"ImageModel",_view_name:"ImageView",format:"png",width:"",height:"",value:new DataView(new ArrayBuffer(0))})}}yi.serializers=Object.assign(Object.assign({},Jt.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class bi extends Bt{render(){super.render(),this.pWidget.addClass("jupyter-widgets"),this.pWidget.addClass("widget-image"),this.update()}update(){let e,t=this.model.get("format"),i=this.model.get("value");if("url"!==t){let t=new Blob([i],{type:`image/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(i.buffer);let n=this.el.src;this.el.src=e,n&&"string"!=typeof n&&URL.revokeObjectURL(n);let r=this.model.get("width");void 0!==r&&r.length>0?this.el.setAttribute("width",r):this.el.removeAttribute("width");let s=this.model.get("height");return void 0!==s&&s.length>0?this.el.setAttribute("height",s):this.el.removeAttribute("height"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}get tagName(){return"img"}}class xi extends Jt{defaults(){return Yt.extend(super.defaults(),{_model_name:"VideoModel",_view_name:"VideoView",format:"mp4",width:"",height:"",autoplay:!0,loop:!0,controls:!0,value:new DataView(new ArrayBuffer(0))})}}xi.serializers=Object.assign(Object.assign({},Jt.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class wi extends Bt{render(){super.render(),this.pWidget.addClass("jupyter-widgets"),this.pWidget.addClass("widget-image"),this.update()}update(){let e,t=this.model.get("format"),i=this.model.get("value");if("url"!==t){let t=new Blob([i],{type:`video/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(i.buffer);let n=this.el.src;this.el.src=e,n&&"string"!=typeof n&&URL.revokeObjectURL(n);let r=this.model.get("width");void 0!==r&&r.length>0?this.el.setAttribute("width",r):this.el.removeAttribute("width");let s=this.model.get("height");return void 0!==s&&s.length>0?this.el.setAttribute("height",s):this.el.removeAttribute("height"),this.el.loop=this.model.get("loop"),this.el.autoplay=this.model.get("autoplay"),this.el.controls=this.model.get("controls"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}get tagName(){return"video"}}class Mi extends Jt{defaults(){return Yt.extend(super.defaults(),{_model_name:"AudioModel",_view_name:"AudioView",format:"mp3",autoplay:!0,loop:!0,controls:!0,value:new DataView(new ArrayBuffer(0))})}}Mi.serializers=Object.assign(Object.assign({},Jt.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class Ci extends Bt{render(){super.render(),this.pWidget.addClass("jupyter-widgets"),this.update()}update(){let e,t=this.model.get("format"),i=this.model.get("value");if("url"!==t){let t=new Blob([i],{type:`audio/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(i.buffer);let n=this.el.src;return this.el.src=e,n&&"string"!=typeof n&&URL.revokeObjectURL(n),this.el.loop=this.model.get("loop"),this.el.autoplay=this.model.get("autoplay"),this.el.controls=this.model.get("controls"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}get tagName(){return"audio"}}class Si extends Qt{defaults(){return Yt.extend(super.defaults(),{value:"black",concise:!1,_model_name:"ColorPickerModel",_view_name:"ColorPickerView"})}}class Ei extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-colorpicker"),this._color_container=document.createElement("div"),this._color_container.className="widget-inline-hbox widget-colorpicker-input",this.el.appendChild(this._color_container),this._textbox=document.createElement("input"),this._textbox.setAttribute("type","text"),this._textbox.id=this.label.htmlFor=d(),this._color_container.appendChild(this._textbox),this._textbox.value=this.model.get("value"),this._colorpicker=document.createElement("input"),this._colorpicker.setAttribute("type","color"),this._color_container.appendChild(this._colorpicker),this.listenTo(this.model,"change:value",this._update_value),this.listenTo(this.model,"change:concise",this._update_concise),this._update_concise(),this._update_value(),this.update()}update(e){if(void 0===e||e.updated_view!=this){let e=this.model.get("disabled");this._textbox.disabled=e,this._colorpicker.disabled=e}return super.update()}events(){return this._picker_change,this._text_change,{'change [type="color"]':"_picker_change",'change [type="text"]':"_text_change"}}_update_value(){let e=this.model.get("value");var t,i;this._colorpicker.value=ki[(t=e).toLowerCase()]||(7===(i=t).length?i:"#"+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)+i.charAt(3)+i.charAt(3)),this._textbox.value=e}_update_concise(){this.model.get("concise")?(this.el.classList.add("concise"),this._textbox.style.display="none"):(this.el.classList.remove("concise"),this._textbox.style.display="")}_picker_change(){this.model.set("value",this._colorpicker.value),this.touch()}_text_change(){let e=this._validate_color(this._textbox.value,this.model.get("value"));this.model.set("value",e),this.touch()}_validate_color(e,t){return e.match(/#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$/)||ki[e.toLowerCase()]?e:t}}let ki={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgreen:"#90ee90",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ti(e){return null===e?null:{year:e.getUTCFullYear(),month:e.getUTCMonth(),date:e.getUTCDate()}}function Ai(e){if(null===e)return null;{let t=new Date;return t.setUTCFullYear(e.year,e.month,e.date),t.setUTCHours(0,0,0,0),t}}class Li extends Qt{defaults(){return Yt.extend(super.defaults(),{value:null,_model_name:"DatePickerModel",_view_name:"DatePickerView"})}}Li.serializers=Object.assign(Object.assign({},Qt.serializers),{value:{serialize:Ti,deserialize:Ai}});class Oi extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-datepicker"),this._datepicker=document.createElement("input"),this._datepicker.setAttribute("type","date"),this._datepicker.id=this.label.htmlFor=d(),this.el.appendChild(this._datepicker),this.listenTo(this.model,"change:value",this._update_value),this._update_value(),this.update()}update(e){return void 0!==e&&e.updated_view===this||(this._datepicker.disabled=this.model.get("disabled")),super.update()}events(){return this._picker_change,this._picker_focusout,{'change [type="date"]':"_picker_change",'focusout [type="date"]':"_picker_focusout"}}_update_value(){const e=this.model.get("value");this._datepicker.valueAsDate=e}_picker_change(){this._datepicker.validity.badInput||(this.model.set("value",this._datepicker.valueAsDate),this.touch())}_picker_focusout(){this._datepicker.validity.badInput&&(this.model.set("value",null),this.touch())}}function Ii(e,t){if((i=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var i,n=e.slice(0,i);return[n.length>1?n[0]+n.slice(2):n,+e.slice(i+1)]}var ji,Di=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Pi(e){if(!(t=Di.exec(e)))throw new Error("invalid format: "+e);var t;return new zi({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function zi(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Bi(e,t){var i=Ii(e,t);if(!i)return e+"";var n=i[0],r=i[1];return r<0?"0."+new Array(-r).join("0")+n:n.length>r+1?n.slice(0,r+1)+"."+n.slice(r+1):n+new Array(r-n.length+2).join("0")}Pi.prototype=zi.prototype,zi.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Ni={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Bi(100*e,t)},r:Bi,s:function(e,t){var i=Ii(e,t);if(!i)return e+"";var n=i[0],r=i[1],s=r-(ji=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=n.length;return s===o?n:s>o?n+new Array(s-o+1).join("0"):s>0?n.slice(0,s)+"."+n.slice(s):"0."+new Array(1-s).join("0")+Ii(e,Math.max(0,t+s-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Ri(e){return e}var Wi,Hi,Fi=Array.prototype.map,Vi=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];Wi=function(e){var t,i,n=void 0===e.grouping||void 0===e.thousands?Ri:(t=Fi.call(e.grouping,Number),i=e.thousands+"",function(e,n){for(var r=e.length,s=[],o=0,a=t[0],l=0;r>0&&a>0&&(l+a+1>n&&(a=Math.max(1,n-l)),s.push(e.substring(r-=a,r+a)),!((l+=a+1)>n));)a=t[o=(o+1)%t.length];return s.reverse().join(i)}),r=void 0===e.currency?"":e.currency[0]+"",s=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",a=void 0===e.numerals?Ri:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Fi.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"-":e.minus+"",d=void 0===e.nan?"NaN":e.nan+"";function c(e){var t=(e=Pi(e)).fill,i=e.align,c=e.sign,h=e.symbol,p=e.zero,f=e.width,m=e.comma,g=e.precision,v=e.trim,_=e.type;"n"===_?(m=!0,_="g"):Ni[_]||(void 0===g&&(g=12),v=!0,_="g"),(p||"0"===t&&"="===i)&&(p=!0,t="0",i="=");var y="$"===h?r:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",b="$"===h?s:/[%p]/.test(_)?l:"",x=Ni[_],w=/[defgprs%]/.test(_);function M(e){var r,s,l,h=y,M=b;if("c"===_)M=x(e)+M,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?d:x(Math.abs(e),g),v&&(e=function(e){e:for(var t,i=e.length,n=1,r=-1;n<i;++n)switch(e[n]){case".":r=t=n;break;case"0":0===r&&(r=n),t=n;break;default:if(!+e[n])break e;r>0&&(r=0)}return r>0?e.slice(0,r)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==c&&(C=!1),h=(C?"("===c?c:u:"-"===c||"("===c?"":c)+h,M=("s"===_?Vi[8+ji/3]:"")+M+(C&&"("===c?")":""),w)for(r=-1,s=e.length;++r<s;)if(48>(l=e.charCodeAt(r))||l>57){M=(46===l?o+e.slice(r+1):e.slice(r))+M,e=e.slice(0,r);break}}m&&!p&&(e=n(e,1/0));var S=h.length+e.length+M.length,E=S<f?new Array(f-S+1).join(t):"";switch(m&&p&&(e=n(E+e,E.length?f-M.length:1/0),E=""),i){case"<":e=h+e+M+E;break;case"=":e=h+E+e+M;break;case"^":e=E.slice(0,S=E.length>>1)+h+e+M+E.slice(S);break;default:e=E+h+e+M}return a(e)}return g=void 0===g?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return e+""},M}return{format:c,formatPrefix:function(e,t){var i,n=c(((e=Pi(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor((i=t,((i=Ii(Math.abs(i)))?i[1]:NaN)/3)))),s=Math.pow(10,-r),o=Vi[8+r/3];return function(e){return n(s*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Hi=Wi.format,Wi.formatPrefix,n(1449);class qi extends Qt{defaults(){return Yt.extend(super.defaults(),{_model_name:"IntModel",value:0})}}class Ui extends qi{defaults(){return Yt.extend(super.defaults(),{_model_name:"BoundedIntModel",max:100,min:0})}}class Ki extends qt{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SliderStyleModel"})}}Ki.styleProperties=Object.assign(Object.assign({},qt.styleProperties),{handle_color:{selector:".ui-slider-handle",attribute:"background-color",default:null}});class $i extends Ui{defaults(){return Yt.extend(super.defaults(),{_model_name:"IntSliderModel",_view_name:"IntSliderView",step:1,orientation:"horizontal",readout:!0,readout_format:"d",continuous_update:!0,style:null,disabled:!1})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=Hi(this.get("readout_format"))}}class Xi extends $i{}class Yi extends Kt{constructor(){super(...arguments),this._parse_value=parseInt}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-slider"),this.el.classList.add("widget-hslider"),(this.$slider=_()("<div />")).slider({slide:this.handleSliderChange.bind(this),stop:this.handleSliderChanged.bind(this)}).addClass("slider"),this.slider_container=document.createElement("div"),this.slider_container.classList.add("slider-container"),this.slider_container.appendChild(this.$slider[0]),this.el.appendChild(this.slider_container),this.readout=document.createElement("div"),this.el.appendChild(this.readout),this.readout.classList.add("widget-readout"),this.readout.contentEditable="true",this.readout.style.display="none",this.update()}update(e){if(void 0===e||e.updated_view!==this){let e=["step","disabled"],t=this;t.$slider.slider({}),e.forEach((function(e){let i=t.model.get(e);void 0!==i&&t.$slider.slider("option",e,i)})),this.model.get("disabled")?this.readout.contentEditable="false":this.readout.contentEditable="true";let i=this.model.get("max"),n=this.model.get("min");n<=i&&(void 0!==i&&this.$slider.slider("option","max",i),void 0!==n&&this.$slider.slider("option","min",n));let r=this.model.get("orientation");this.$slider.slider("option","orientation",r),"vertical"===r?(this.el.classList.remove("widget-hslider"),this.el.classList.add("widget-vslider"),this.el.classList.remove("widget-inline-hbox"),this.el.classList.add("widget-inline-vbox")):(this.el.classList.remove("widget-vslider"),this.el.classList.add("widget-hslider"),this.el.classList.remove("widget-inline-vbox"),this.el.classList.add("widget-inline-hbox")),this.model.get("readout")?(this.readout.style.display="",this.displayed.then((function(){t.readout_overflow()?t.readout.classList.add("overflow"):t.readout.classList.remove("overflow")}))):this.readout.style.display="none"}return super.update()}readout_overflow(){return this.readout.scrollWidth>this.readout.clientWidth}events(){return{slide:"handleSliderChange",slidestop:"handleSliderChanged","blur [contentEditable=true]":"handleTextChange","keydown [contentEditable=true]":"handleKeyDown"}}handleKeyDown(e){13===e.keyCode&&(e.preventDefault(),this.handleTextChange())}_validate_slide_value(e){return Math.floor(e)}}class Gi extends Yi{constructor(){super(...arguments),this._range_regex=/^\s*([+-]?\d+)\s*[-:–]\s*([+-]?\d+)/}update(e){super.update(e),this.$slider.slider("option","range",!0);let t=this.model.get("value");this.$slider.slider("option","values",t.slice()),this.readout.textContent=this.valueToString(t),this.model.get("value")!==t&&(this.model.set("value",t,{updated_view:this}),this.touch())}valueToString(e){let t=this.model.readout_formatter;return e.map((function(e){return t(e)})).join(" – ")}stringToValue(e){let t=this._range_regex.exec(e);return t?[this._parse_value(t[1]),this._parse_value(t[2])]:null}handleTextChange(){let e=this.stringToValue(this.readout.textContent),t=this.model.get("min"),i=this.model.get("max");null===e||isNaN(e[0])||isNaN(e[1])||e[0]>e[1]?this.readout.textContent=this.valueToString(this.model.get("value")):(e=[Math.max(Math.min(e[0],i),t),Math.max(Math.min(e[1],i),t)],e[0]!==this.model.get("value")[0]||e[1]!==this.model.get("value")[1]?(this.readout.textContent=this.valueToString(e),this.model.set("value",e,{updated_view:this}),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderChange(e,t){let i=t.values.map(this._validate_slide_value);this.readout.textContent=this.valueToString(i),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){let i=t.values.map(this._validate_slide_value);this.model.set("value",i,{updated_view:this}),this.touch()}}class Ji extends Yi{update(e){super.update(e);let t=this.model.get("min"),i=this.model.get("max"),n=this.model.get("value");n>i?n=i:n<t&&(n=t),this.$slider.slider("option","value",n),this.readout.textContent=this.valueToString(n),this.model.get("value")!==n&&(this.model.set("value",n,{updated_view:this}),this.touch())}valueToString(e){return(0,this.model.readout_formatter)(e)}stringToValue(e){return this._parse_value(e)}handleTextChange(){let e=this.stringToValue(this.readout.textContent),t=this.model.get("min"),i=this.model.get("max");isNaN(e)?this.readout.textContent=this.valueToString(this.model.get("value")):(e=Math.max(Math.min(e,i),t),e!==this.model.get("value")?(this.readout.textContent=this.valueToString(e),this.model.set("value",e,{updated_view:this}),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderChange(e,t){let i=this._validate_slide_value(t.value);this.readout.textContent=this.valueToString(i),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){let i=this._validate_slide_value(t.value);this.model.set("value",i,{updated_view:this}),this.touch()}}class Qi extends qi{defaults(){return Yt.extend(super.defaults(),{_model_name:"IntTextModel",_view_name:"IntTextView",disabled:!1,continuous_update:!1})}}class Zi extends Ui{defaults(){return Yt.extend(super.defaults(),{_model_name:"BoundedIntTextModel",_view_name:"IntTextView",disabled:!1,continuous_update:!1,step:1})}}class en extends Kt{constructor(){super(...arguments),this._parse_value=parseInt,this._default_step="1"}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-text"),this.textbox=document.createElement("input"),this.textbox.type="number",this.textbox.required=!0,this.textbox.id=this.label.htmlFor=d(),this.el.appendChild(this.textbox),this.update()}update(e){if(void 0===e||e.updated_view!==this){let e=this.model.get("value");this._parse_value(this.textbox.value)!==e&&(this.textbox.value=e.toString()),void 0!==this.model.get("min")&&(this.textbox.min=this.model.get("min")),void 0!==this.model.get("max")&&(this.textbox.max=this.model.get("max")),void 0!==this.model.get("step")&&null!==this.model.get("step")?this.textbox.step=this.model.get("step"):this.textbox.step=this._default_step,this.textbox.disabled=this.model.get("disabled")}return super.update()}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","keyup input":"handleKeyUp","input input":"handleChanging","change input":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){/[e,. ]/.test(String.fromCharCode(e.keyCode))&&e.preventDefault()}handleKeyUp(e){if(e.altKey||e.ctrlKey)return;let t=e.target,i=t.value;if(i=i.replace(/[e,.\s]/g,""),i.length>=1){var n=i.substr(1);i=i[0]+n.replace(/[+-]/g,"")}t.value!=i&&(e.preventDefault(),t.value=i)}handleChanging(e){let t=e.target.value.trim();""===t||["-","-.",".","+.","+"].indexOf(t)>=0||this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){let t=e.target,i=this._parse_value(t.value);if(isNaN(i))t.value=this.model.get("value");else{let e=i;void 0!==this.model.get("max")&&(e=Math.min(this.model.get("max"),e)),void 0!==this.model.get("min")&&(e=Math.max(this.model.get("min"),e)),e!==i&&(t.value=e,i=e),i!==this.model.get("value")&&(this.model.set("value",i,{updated_view:this}),this.touch())}}}class tn extends qt{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ProgressStyleModel"})}}tn.styleProperties=Object.assign(Object.assign({},qt.styleProperties),{bar_color:{selector:".progress-bar",attribute:"background-color",default:null}});class nn extends Ui{defaults(){return Yt.extend(super.defaults(),{_model_name:"IntProgressModel",_view_name:"ProgressView",orientation:"horizontal",bar_style:"",style:null})}}class rn extends Kt{initialize(e){super.initialize(e),this.listenTo(this.model,"change:bar_style",this.update_bar_style),this.pWidget.addClass("jupyter-widgets")}render(){super.render();let e="horizontal"===this.model.get("orientation")?"widget-hprogress":"widget-vprogress";this.el.classList.add(e),this.progress=document.createElement("div"),this.progress.classList.add("progress"),this.progress.style.position="relative",this.el.appendChild(this.progress),this.bar=document.createElement("div"),this.bar.classList.add("progress-bar"),this.bar.style.position="absolute",this.bar.style.bottom="0px",this.bar.style.left="0px",this.progress.appendChild(this.bar),this.update(),this.set_bar_style()}update(){let e=this.model.get("value"),t=this.model.get("max"),i=this.model.get("min"),n=100*(e-i)/(t-i);return"horizontal"===this.model.get("orientation")?(this.el.classList.remove("widget-inline-vbox"),this.el.classList.remove("widget-vprogress"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-hprogress"),this.bar.style.width=n+"%",this.bar.style.height="100%"):(this.el.classList.remove("widget-inline-hbox"),this.el.classList.remove("widget-hprogress"),this.el.classList.add("widget-inline-vbox"),this.el.classList.add("widget-vprogress"),this.bar.style.width="100%",this.bar.style.height=n+"%"),super.update()}update_bar_style(){this.update_mapped_classes(rn.class_map,"bar_style",this.bar)}set_bar_style(){this.set_mapped_classes(rn.class_map,"bar_style",this.bar)}}rn.class_map={success:["progress-bar-success"],info:["progress-bar-info"],warning:["progress-bar-warning"],danger:["progress-bar-danger"]};class sn extends Ui{defaults(){return Yt.extend(super.defaults(),{_model_name:"PlayModel",_view_name:"PlayView",_playing:!1,_repeat:!1,show_repeat:!0,interval:100,step:1,disabled:!1})}initialize(e,t){super.initialize(e,t)}loop(){if(this.get("_playing")){let e=this.get("value")+this.get("step");e<=this.get("max")?(this.set("value",e),this.schedule_next()):this.get("_repeat")?(this.set("value",this.get("min")),this.schedule_next()):this.set("_playing",!1),this.save_changes()}}schedule_next(){window.setTimeout(this.loop.bind(this),this.get("interval"))}stop(){this.set("_playing",!1),this.set("value",this.get("min")),this.save_changes()}pause(){this.set("_playing",!1),this.save_changes()}play(){this.set("_playing",!0),this.get("value")==this.get("max")?(this.set("value",this.get("min")),this.schedule_next(),this.save_changes()):this.loop()}repeat(){this.set("_repeat",!this.get("_repeat")),this.save_changes()}}class on extends Bt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-play"),this.playButton=document.createElement("button"),this.pauseButton=document.createElement("button"),this.stopButton=document.createElement("button"),this.repeatButton=document.createElement("button"),this.playButton.className="jupyter-button",this.pauseButton.className="jupyter-button",this.stopButton.className="jupyter-button",this.repeatButton.className="jupyter-button",this.el.appendChild(this.playButton),this.el.appendChild(this.pauseButton),this.el.appendChild(this.stopButton),this.el.appendChild(this.repeatButton);let e=document.createElement("i");e.className="fa fa-play",this.playButton.appendChild(e);let t=document.createElement("i");t.className="fa fa-pause",this.pauseButton.appendChild(t);let i=document.createElement("i");i.className="fa fa-stop",this.stopButton.appendChild(i);let n=document.createElement("i");n.className="fa fa-retweet",this.repeatButton.appendChild(n),this.playButton.onclick=this.model.play.bind(this.model),this.pauseButton.onclick=this.model.pause.bind(this.model),this.stopButton.onclick=this.model.stop.bind(this.model),this.repeatButton.onclick=this.model.repeat.bind(this.model),this.listenTo(this.model,"change:_playing",this.update_playing),this.listenTo(this.model,"change:_repeat",this.update_repeat),this.listenTo(this.model,"change:show_repeat",this.update_repeat),this.update_playing(),this.update_repeat(),this.update()}update(){let e=this.model.get("disabled");this.playButton.disabled=e,this.pauseButton.disabled=e,this.stopButton.disabled=e,this.repeatButton.disabled=e,this.update_playing()}update_playing(){let e=this.model.get("_playing"),t=this.model.get("disabled");e?(t||(this.pauseButton.disabled=!1),this.playButton.classList.add("mod-active")):(t||(this.pauseButton.disabled=!0),this.playButton.classList.remove("mod-active"))}update_repeat(){let e=this.model.get("_repeat");this.repeatButton.style.display=this.model.get("show_repeat")?this.playButton.style.display:"none",e?this.repeatButton.classList.add("mod-active"):this.repeatButton.classList.remove("mod-active")}}class an extends Qt{defaults(){return Yt.extend(super.defaults(),{_model_name:"FloatModel",value:0})}}class ln extends an{defaults(){return Yt.extend(super.defaults(),{_model_name:"BoundedFloatModel",max:100,min:0})}}class un extends ln{defaults(){return Yt.extend(super.defaults(),{_model_name:"FloatSliderModel",_view_name:"FloatSliderView",step:1,orientation:"horizontal",_range:!1,readout:!0,readout_format:".2f",slider_color:null,continuous_update:!0,disabled:!1})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=Hi(this.get("readout_format"))}}class dn extends ln{defaults(){return Yt.extend(super.defaults(),{_model_name:"FloatLogSliderModel",_view_name:"FloatLogSliderView",step:.1,orientation:"horizontal",_range:!1,readout:!0,readout_format:".3g",slider_color:null,continuous_update:!0,disabled:!1,base:10,value:1,min:0,max:4})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=Hi(this.get("readout_format"))}}class cn extends un{}class hn extends Ji{constructor(){super(...arguments),this._parse_value=parseFloat}_validate_slide_value(e){return e}}class pn extends Yi{constructor(){super(...arguments),this._parse_value=parseFloat}update(e){super.update(e);let t=this.model.get("min"),i=this.model.get("max"),n=this.model.get("value"),r=this.model.get("base"),s=Math.log(n)/Math.log(r);s>i?s=i:s<t&&(s=t),this.$slider.slider("option","value",s),this.readout.textContent=this.valueToString(n),this.model.get("value")!==n&&(this.model.set("value",n,{updated_view:this}),this.touch())}valueToString(e){return(0,this.model.readout_formatter)(e)}stringToValue(e){return this._parse_value(e)}handleTextChange(){let e=this.stringToValue(this.readout.textContent),t=this.model.get("min"),i=this.model.get("max"),n=this.model.get("base");isNaN(e)?this.readout.textContent=this.valueToString(this.model.get("value")):(e=Math.max(Math.min(e,Math.pow(n,i)),Math.pow(n,t)),e!==this.model.get("value")?(this.readout.textContent=this.valueToString(e),this.model.set("value",e,{updated_view:this}),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderChange(e,t){let i=this.model.get("base"),n=Math.pow(i,this._validate_slide_value(t.value));this.readout.textContent=this.valueToString(n),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){let i=this.model.get("base"),n=Math.pow(i,this._validate_slide_value(t.value));this.model.set("value",n,{updated_view:this}),this.touch()}_validate_slide_value(e){return e}}class fn extends Gi{constructor(){super(...arguments),this._parse_value=parseFloat,this._range_regex=/^\s*([+-]?(?:\d*\.?\d+|\d+\.)(?:[eE][-:]?\d+)?)\s*[-:–]\s*([+-]?(?:\d*\.?\d+|\d+\.)(?:[eE][+-]?\d+)?)/}_validate_slide_value(e){return e}}class mn extends an{defaults(){return Yt.extend(super.defaults(),{_model_name:"FloatTextModel",_view_name:"FloatTextView",disabled:!1,continuous_update:!1})}}class gn extends ln{defaults(){return Yt.extend(super.defaults(),{_model_name:"BoundedFloatTextModel",_view_name:"FloatTextView",disabled:!1,continuous_update:!1,step:.1})}}class vn extends en{constructor(){super(...arguments),this._parse_value=parseFloat,this._default_step="any"}handleKeypress(e){e.stopPropagation()}handleKeyUp(e){}}class _n extends ln{defaults(){return Yt.extend(super.defaults(),{_model_name:"FloatProgressModel",_view_name:"ProgressView",orientation:"horizontal",bar_style:"",style:null})}}class yn extends Jt{defaults(){return Yt.extend(super.defaults(),{_model_name:"ControllerButtonModel",_view_name:"ControllerButtonView",value:0,pressed:!1})}}class bn extends Bt{render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller-button"),this.el.style.width="fit-content",this.support=document.createElement("div"),this.support.style.position="relative",this.support.style.margin="1px",this.support.style.width="16px",this.support.style.height="16px",this.support.style.border="1px solid black",this.support.style.background="lightgray",this.el.appendChild(this.support),this.bar=document.createElement("div"),this.bar.style.position="absolute",this.bar.style.width="100%",this.bar.style.bottom="0px",this.bar.style.background="gray",this.support.appendChild(this.bar),this.update(),this.label=document.createElement("div"),this.label.textContent=this.model.get("description"),this.label.style.textAlign="center",this.el.appendChild(this.label)}update(){this.bar.style.height=100*this.model.get("value")+"%"}}class xn extends Jt{defaults(){return Yt.extend(super.defaults(),{_model_name:"ControllerAxisModel",_view_name:"ControllerAxisView",value:0})}}class wn extends Bt{render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller-axis"),this.el.style.width="16px",this.el.style.padding="4px",this.support=document.createElement("div"),this.support.style.position="relative",this.support.style.margin="1px",this.support.style.width="4px",this.support.style.height="64px",this.support.style.border="1px solid black",this.support.style.background="lightgray",this.bullet=document.createElement("div"),this.bullet.style.position="absolute",this.bullet.style.margin="-3px",this.bullet.style.boxSizing="unset",this.bullet.style.width="10px",this.bullet.style.height="10px",this.bullet.style.background="gray",this.label=document.createElement("div"),this.label.textContent=this.model.get("description"),this.label.style.textAlign="center",this.support.appendChild(this.bullet),this.el.appendChild(this.support),this.el.appendChild(this.label),this.update()}update(){this.bullet.style.top=50*(this.model.get("value")+1)+"%"}}class Mn extends Jt{defaults(){return Yt.extend(super.defaults(),{_model_name:"ControllerModel",_view_name:"ControllerView",index:0,name:"",mapping:"",connected:!1,timestamp:0,buttons:[],axes:[]})}initialize(e,t){super.initialize(e,t),void 0===navigator.getGamepads?(this.readout="This browser does not support gamepads.",console.error(this.readout)):(this.readout="Connect gamepad and press any button.",this.get("connected")?this.update_loop():this.wait_loop())}wait_loop(){let e=this.get("index"),t=navigator.getGamepads()[e];if(t){let e=this;this.setup(t).then((function(t){e.set(t),e.save_changes(),window.requestAnimationFrame(e.update_loop.bind(e))}))}else window.requestAnimationFrame(this.wait_loop.bind(this))}setup(e){this.set({name:e.id,mapping:e.mapping,connected:e.connected,timestamp:e.timestamp});let t=this;return h({buttons:Promise.all(e.buttons.map((function(e,i){return t._create_button_model(i)}))),axes:Promise.all(e.axes.map((function(e,i){return t._create_axis_model(i)})))})}update_loop(){let e=this.get("index"),t=this.get("name"),i=navigator.getGamepads()[e];i&&e===i.index&&t===i.id?(this.set({timestamp:i.timestamp,connected:i.connected}),this.save_changes(),this.get("buttons").forEach((function(e,t){e.set({value:i.buttons[t].value,pressed:i.buttons[t].pressed}),e.save_changes()})),this.get("axes").forEach((function(e,t){e.set("value",i.axes[t]),e.save_changes()})),window.requestAnimationFrame(this.update_loop.bind(this))):this.reset_gamepad()}reset_gamepad(){this.get("buttons").forEach((function(e){e.close()})),this.get("axes").forEach((function(e){e.close()})),this.set({name:"",mapping:"",connected:!1,timestamp:0,buttons:[],axes:[]}),this.save_changes(),window.requestAnimationFrame(this.wait_loop.bind(this))}_create_button_model(e){return this.widget_manager.new_widget({model_name:"ControllerButtonModel",model_module:"@jupyter-widgets/controls",model_module_version:this.get("_model_module_version"),view_name:"ControllerButtonView",view_module:"@jupyter-widgets/controls",view_module_version:this.get("_view_module_version")}).then((function(t){return t.set("description",e),t}))}_create_axis_model(e){return this.widget_manager.new_widget({model_name:"ControllerAxisModel",model_module:"@jupyter-widgets/controls",model_module_version:this.get("_model_module_version"),view_name:"ControllerAxisView",view_module:"@jupyter-widgets/controls",view_module_version:this.get("_view_module_version")}).then((function(t){return t.set("description",e),t}))}}Mn.serializers=Object.assign(Object.assign({},Jt.serializers),{buttons:{deserialize:Ot},axes:{deserialize:Ot}});class Cn extends Bt{_createElement(e){return this.pWidget=new zt({view:this}),this.pWidget.node}_setElement(e){if(this.el||e!==this.pWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.pWidget.node,this.$el=_()(this.pWidget.node)}initialize(e){super.initialize(e),this.button_views=new Rt(this.add_button,null,this),this.listenTo(this.model,"change:buttons",(function(e,t){this.button_views.update(t)})),this.axis_views=new Rt(this.add_axis,null,this),this.listenTo(this.model,"change:axes",(function(e,t){this.axis_views.update(t)})),this.listenTo(this.model,"change:name",this.update_label)}render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller"),this.label=document.createElement("div"),this.el.appendChild(this.label),this.axis_box=new tt,this.axis_box.node.style.display="flex",this.pWidget.addWidget(this.axis_box),this.button_box=new tt,this.button_box.node.style.display="flex",this.pWidget.addWidget(this.button_box),this.button_views.update(this.model.get("buttons")),this.axis_views.update(this.model.get("axes")),this.update_label()}update_label(){this.label.textContent=this.model.get("name")||this.model.readout}add_button(e){let t=new Ve;return this.button_box.addWidget(t),this.create_child_view(e).then((e=>{let i=w.firstIndexOf(this.button_box.widgets,t);return this.button_box.insertWidget(i,e.pWidget),t.dispose(),e})).catch(Wt("Could not add child button view to controller",!0))}add_axis(e){let t=new Ve;return this.axis_box.addWidget(t),this.create_child_view(e).then((e=>{let i=w.firstIndexOf(this.axis_box.widgets,t);return this.axis_box.insertWidget(i,e.pWidget),t.dispose(),e})).catch(Wt("Could not add child axis view to controller",!0))}remove(){super.remove(),this.button_views.remove(),this.axis_views.remove()}}class Sn extends Qt{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionModel",index:"",_options_labels:[],disabled:!1})}}class En extends Sn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DropdownModel",_view_name:"DropdownView",button_style:""})}}class kn extends Kt{initialize(e){super.initialize(e),this.listenTo(this.model,"change:_options_labels",(()=>this._updateOptions()))}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-dropdown"),this.listbox=document.createElement("select"),this.listbox.id=this.label.htmlFor=d(),this.el.appendChild(this.listbox),this._updateOptions(),this.update()}update(){this.listbox.disabled=this.model.get("disabled");let e=this.model.get("index");return this.listbox.selectedIndex=null===e?-1:e,super.update()}_updateOptions(){this.listbox.textContent="";let e=this.model.get("_options_labels");for(let t=0;t<e.length;t++){let i=e[t],n=document.createElement("option");n.textContent=i.replace(/ /g," "),n.setAttribute("data-value",encodeURIComponent(i)),n.value=i,this.listbox.appendChild(n)}}events(){return{"change select":"_handle_change"}}_handle_change(){this.model.set("index",-1===this.listbox.selectedIndex?null:this.listbox.selectedIndex),this.touch()}}class Tn extends Sn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectModel",_view_name:"SelectView",rows:5})}}class An extends Kt{initialize(e){super.initialize(e),this.listenTo(this.model,"change:_options_labels",(()=>this._updateOptions())),this.listenTo(this.model,"change:index",((e,t,i)=>this.updateSelection(i))),this.listbox=document.createElement("select")}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-select"),this.listbox.id=this.label.htmlFor=d(),this.el.appendChild(this.listbox),this._updateOptions(),this.update(),this.updateSelection()}update(){super.update(),this.listbox.disabled=this.model.get("disabled");let e=this.model.get("rows");null===e&&(e=""),this.listbox.setAttribute("size",e)}updateSelection(e={}){if(e.updated_view===this)return;let t=this.model.get("index");this.listbox.selectedIndex=null===t?-1:t}_updateOptions(){this.listbox.textContent="";let e=this.model.get("_options_labels");for(let t=0;t<e.length;t++){let i=e[t],n=document.createElement("option");n.textContent=i.replace(/ /g," "),n.setAttribute("data-value",encodeURIComponent(i)),n.value=i,this.listbox.appendChild(n)}}events(){return{"change select":"_handle_change"}}_handle_change(){this.model.set("index",this.listbox.selectedIndex,{updated_view:this}),this.touch()}}class Ln extends Sn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"RadioButtonsModel",_view_name:"RadioButtonsView",tooltips:[],icons:[],button_style:""})}}class On extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-radio"),this.container=document.createElement("div"),this.el.appendChild(this.container),this.container.classList.add("widget-radio-box"),this.update()}update(e){let t=this,i=this.model.get("_options_labels"),n=Yt.pluck(this.container.querySelectorAll('input[type="radio"]'),"value"),r=i.length!=n.length;if(!r)for(let e=0,t=i.length;e<t;++e)if(n[e]!==i[e]){r=!0;break}return!r||void 0!==e&&e.updated_view===this||(this.container.textContent="",i.forEach((function(e,i){let n=document.createElement("label");n.textContent=e,t.container.appendChild(n);let r=document.createElement("input");r.setAttribute("type","radio"),r.value=i.toString(),r.setAttribute("data-value",encodeURIComponent(e)),n.appendChild(r)}))),i.forEach((function(e,i){let n='input[data-value="'+encodeURIComponent(e)+'"]',r=t.container.querySelectorAll(n);if(r.length>0){let e=r[0];e.checked=t.model.get("index")===i,e.disabled=t.model.get("disabled")}})),setTimeout(this.adjustPadding,0,this),super.update(e)}adjustPadding(e){let t=window.getComputedStyle(e.el),i=parseInt(t.marginTop,10)+parseInt(t.marginBottom,10),n=e.label.offsetHeight+i,r=window.getComputedStyle(e.container),s=parseInt(r.marginBottom),o=(e.el.offsetHeight+i-s)%n,a=0==o?0:n-o;e.container.style.marginBottom=a+"px"}events(){return{'click input[type="radio"]':"_handle_click"}}_handle_click(e){let t=e.target;this.model.set("index",parseInt(t.value),{updated_view:this}),this.touch()}}class In extends qt{defaults(){return Yt.extend(super.defaults(),{_model_name:"ToggleButtonsStyleModel"})}}In.styleProperties=Object.assign(Object.assign({},qt.styleProperties),{button_width:{selector:".widget-toggle-button",attribute:"width",default:null},font_weight:{selector:".widget-toggle-button",attribute:"font-weight",default:""}});class jn extends Sn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ToggleButtonsModel",_view_name:"ToggleButtonsView"})}}class Dn extends Kt{initialize(e){this._css_state={},super.initialize(e),this.listenTo(this.model,"change:button_style",this.update_button_style)}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-toggle-buttons"),this.buttongroup=document.createElement("div"),this.el.appendChild(this.buttongroup),this.update(),this.set_button_style()}update(e){let t=this,i=this.model.get("_options_labels"),n=this.model.get("icons")||[],r=this.model.previous("icons")||[],s=Dn.classMap[this.model.previous("button_style")]||"",o=t.model.get("tooltips")||[],a=this.model.get("disabled"),l=this.buttongroup.querySelectorAll("button"),u=Yt.pluck(l,"value"),d=!1;for(let e=0,t=i.length;e<t;++e)if(u[e]!==i[e]||n[e]!==r[e]){d=!0;break}return!d||void 0!==e&&e.updated_view===this||(this.buttongroup.textContent="",i.forEach(((e,i)=>{let r;r=0!==e.trim().length||n[i]&&0!==n[i].trim().length?Ft(e):" ";let l=document.createElement("i"),u=document.createElement("button");n[i]&&(l.className="fa fa-"+n[i]),u.setAttribute("type","button"),u.className="widget-toggle-button jupyter-button",s&&u.classList.add(s),u.innerHTML=r,u.setAttribute("data-value",encodeURIComponent(e)),u.setAttribute("value",i.toString()),u.appendChild(l),u.disabled=a,o[i]&&u.setAttribute("title",o[i]),t.update_style_traits(u),t.buttongroup.appendChild(u)}))),i.forEach((function(e,i){let n='[data-value="'+encodeURIComponent(e)+'"]',r=t.buttongroup.querySelector(n);t.model.get("index")===i?r.classList.add("mod-active"):r.classList.remove("mod-active")})),this.stylePromise.then((function(e){e&&e.style()})),super.update(e)}update_style_traits(e){for(let t in this._css_state)if(this._css_state.hasOwnProperty(t))if("margin"===t)this.buttongroup.style[t]=this._css_state[t];else if("width"!==t)if(e)e.style[t]=this._css_state[t];else{let e=this.buttongroup.querySelectorAll("button");e.length&&(e[0].style[t]=this._css_state[t])}}update_button_style(){let e=this.buttongroup.querySelectorAll("button");for(let t=0;t<e.length;t++)this.update_mapped_classes(Dn.classMap,"button_style",e[t])}set_button_style(){let e=this.buttongroup.querySelectorAll("button");for(let t=0;t<e.length;t++)this.set_mapped_classes(Dn.classMap,"button_style",e[t])}events(){return{"click button":"_handle_click"}}_handle_click(e){let t=e.target;this.model.set("index",parseInt(t.value,10),{updated_view:this}),this.touch(),this.send({event:"click"})}}!function(e){e.classMap={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]}}(Dn||(Dn={}));class Pn extends Sn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionSliderModel",_view_name:"SelectionSliderView",orientation:"horizontal",readout:!0,continuous_update:!0})}}class zn extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-hslider"),this.el.classList.add("widget-slider"),(this.$slider=_()("<div />")).slider({slide:this.handleSliderChange.bind(this),stop:this.handleSliderChanged.bind(this)}).addClass("slider"),this.slider_container=document.createElement("div"),this.slider_container.classList.add("slider-container"),this.slider_container.appendChild(this.$slider[0]),this.el.appendChild(this.slider_container),this.readout=document.createElement("div"),this.el.appendChild(this.readout),this.readout.classList.add("widget-readout"),this.readout.style.display="none",this.listenTo(this.model,"change:slider_color",((e,t)=>{this.$slider.find("a").css("background",t)})),this.$slider.find("a").css("background",this.model.get("slider_color")),this.update()}update(e){if(void 0===e||e.updated_view!==this){let e=this.model.get("_options_labels").length-1,t=0;this.$slider.slider("option","step",1),this.$slider.slider("option","max",e),this.$slider.slider("option","min",t);let i=this.model.get("orientation");this.$slider.slider("option","value",t),this.$slider.slider("option","orientation",i);let n=this.model.get("disabled");this.$slider.slider("option","disabled",n),this.readout.contentEditable=n?"false":"true","vertical"===i?(this.el.classList.remove("widget-hslider"),this.el.classList.remove("widget-inline-hbox"),this.el.classList.add("widget-vslider"),this.el.classList.add("widget-inline-vbox")):(this.el.classList.remove("widget-vslider"),this.el.classList.remove("widget-inline-vbox"),this.el.classList.add("widget-hslider"),this.el.classList.add("widget-inline-hbox"));let r=this.model.get("readout");this.readout.style.display=r?"":"none",this.updateSelection()}return super.update(e)}events(){return{slide:"handleSliderChange",slidestop:"handleSliderChanged"}}updateSelection(){let e=this.model.get("index");this.$slider.slider("option","value",e),this.updateReadout(e)}updateReadout(e){let t=this.model.get("_options_labels")[e];this.readout.textContent=t}handleSliderChange(e,t){this.updateReadout(t.value),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){this.updateReadout(t.value),this.model.set("index",t.value,{updated_view:this}),this.touch()}}class Bn extends Sn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"MultipleSelectionModel"})}}class Nn extends Bn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectMultipleModel",_view_name:"SelectMultipleView",rows:null})}}class Rn extends An{initialize(e){super.initialize(e),this.listbox.multiple=!0}render(){super.render(),this.el.classList.add("widget-select-multiple")}updateSelection(e={}){if(e.updated_view===this)return;let t=this.model.get("index")||[],i=this.listbox.options;this.listbox.selectedIndex=-1,t.forEach((e=>{i[e].selected=!0}))}_handle_change(){let e=Array.prototype.map.call(this.listbox.selectedOptions||[],(function(e){return e.index}));this.model.set("index",e,{updated_view:this}),this.touch()}}class Wn extends Bn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionSliderModel",_view_name:"SelectionSliderView",orientation:"horizontal",readout:!0,continuous_update:!0})}}class Hn extends zn{render(){super.render(),this.$slider.slider("option","range",!0)}updateSelection(){let e=this.model.get("index");this.$slider.slider("option","values",e.slice()),this.updateReadout(e)}updateReadout(e){let t=this.model.get("_options_labels"),i=t[e[0]],n=t[e[1]];this.readout.textContent=`${i}-${n}`}handleSliderChange(e,t){this.updateReadout(t.values),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){this.updateReadout(t.values),this.model.set("index",t.values.slice(),{updated_view:this}),this.touch()}}class Fn extends tt{constructor(){super(...arguments),this._widgetRemoved=new fe(this)}get widgetRemoved(){return this._widgetRemoved}onChildRemoved(e){this._widgetRemoved.emit(e.child)}}class Vn extends Ve{constructor(e={}){super(),this._currentChanged=new fe(this),this.addClass("p-TabPanel"),this.tabBar=new gt(e),this.tabBar.addClass("p-TabPanel-tabBar"),this.tabContents=new Fn,this.tabContents.addClass("p-TabPanel-tabContents"),this.tabBar.tabMoved.connect(this._onTabMoved,this),this.tabBar.currentChanged.connect(this._onCurrentChanged,this),this.tabBar.tabCloseRequested.connect(this._onTabCloseRequested,this),this.tabBar.tabActivateRequested.connect(this._onTabActivateRequested,this),this.tabContents.widgetRemoved.connect(this._onWidgetRemoved,this);let t=new Xe;t.addWidget(this.tabBar),t.addWidget(this.tabContents),this.layout=t}get currentChanged(){return this._currentChanged}get currentIndex(){const e=this.tabBar.currentIndex;return-1===e?null:e}set currentIndex(e){this.tabBar.currentIndex=null===e?-1:e}get currentWidget(){let e=this.tabBar.currentTitle;return e?e.owner:null}set currentWidget(e){this.tabBar.currentTitle=e?e.title:null}get tabsMovable(){return this.tabBar.tabsMovable}set tabsMovable(e){this.tabBar.tabsMovable=e}get widgets(){return this.tabContents.widgets}addWidget(e){this.insertWidget(this.widgets.length,e)}insertWidget(e,t){t!==this.currentWidget&&t.hide(),this.tabContents.insertWidget(e,t),this.tabBar.insertTab(e,t.title)}_onCurrentChanged(e,t){let{previousIndex:i,previousTitle:n,currentIndex:r,currentTitle:s}=t,o=n?n.owner:null,a=s?s.owner:null;o&&o.hide(),a&&a.show(),this._currentChanged.emit({previousIndex:i,previousWidget:o,currentIndex:r,currentWidget:a}),(W.IS_EDGE||W.IS_IE)&&ae.flush()}_onTabActivateRequested(e,t){t.title.owner.activate()}_onTabCloseRequested(e,t){t.title.owner.close()}_onTabMoved(e,t){this.tabContents.insertWidget(t.toIndex,t.title.owner)}_onWidgetRemoved(e,t){this.tabBar.removeTab(t.title)}}class qn{constructor(e,t={}){this._array=null,this._value=null,this._previousValue=null,this._selectionChanged=new fe(this),this._array=e,this._insertBehavior=t.insertBehavior||"select-item-if-needed",this._removeBehavior=t.removeBehavior||"select-item-after"}get selectionChanged(){return this._selectionChanged}adjustSelectionForSet(e){let t=this.index,i=this.value;if(e!==t)return;this._updateSelectedValue();let n=this.value;this._previousValue=null,i!==n&&this._selectionChanged.emit({previousIndex:t,previousValue:i,currentIndex:t,currentValue:n})}get value(){return this._value}set value(e){this.index=null===e?null:w.firstIndexOf(this._array,e)}get index(){return this._index}set index(e){let t;if(null!==e?(t=Math.floor(e),(t<0||t>=this._array.length)&&(t=null)):t=null,this._index===t)return;let i=this._index,n=this._value;this._index=t,this._updateSelectedValue(),this._previousValue=n,this._selectionChanged.emit({previousIndex:i,previousValue:n,currentIndex:t,currentValue:this._value})}get insertBehavior(){return this._insertBehavior}set insertBehavior(e){this._insertBehavior=e}get removeBehavior(){return this._removeBehavior}set removeBehavior(e){this._removeBehavior=e}adjustSelectionForInsert(e,t){let i=this._value,n=this._index,r=this._insertBehavior;if("select-item"===r||"select-item-if-needed"===r&&null===n)return this._index=e,this._value=t,this._previousValue=i,void this._selectionChanged.emit({previousIndex:n,previousValue:i,currentIndex:e,currentValue:t});n>=e&&this._index++}adjustSelectionForMove(e,t){this._index===e?this._index=t:this._index<e&&this._index>=t?this._index++:this._index>e&&this._index<=t&&this._index--}clearSelection(){let e=this._index,t=this._value;this._index=null,this._value=null,this._previousValue=null,null!==e&&this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value})}adjustSelectionForRemove(e,t){let i=this._index,n=this._removeBehavior;if(i===e){if(0===this._array.length)return this._index=null,this._value=null,this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-item-after"===n)return this._index=Math.min(e,this._array.length-1),this._updateSelectedValue(),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-item-before"===n)return this._index=Math.max(0,e-1),this._updateSelectedValue(),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-previous-item"===n)return this._previousValue?this.value=this._previousValue:(this._index=Math.min(e,this._array.length-1),this._updateSelectedValue()),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this.value});this._index=null,this._value=null,this._previousValue=null,this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value})}else i>e&&this._index--}_updateSelectedValue(){let e=this._index;this._value=null!==e?this._array[e]:null}}const Un="p-Collapse-open";class Kn extends Ve{constructor(e){super(e),this._collapseChanged=new fe(this),this.addClass("p-Collapse"),this._header=new Ve,this._header.addClass("p-Collapse-header"),this._header.node.addEventListener("click",this);const t=document.createElement("i");t.classList.add("fa","fa-fw","fa-caret-right"),this._header.node.appendChild(t),this._header.node.appendChild(document.createElement("span")),this._content=new tt,this._content.addClass("p-Collapse-contents");let i=new Xe;this.layout=i,i.addWidget(this._header),i.addWidget(this._content),e.widget&&(this.widget=e.widget),this.collapsed=!1}dispose(){this.isDisposed||(super.dispose(),this._header=null,this._widget=null,this._content=null)}get widget(){return this._widget}set widget(e){let t=this._widget;t&&(t.disposed.disconnect(this._onChildDisposed,this),t.title.changed.disconnect(this._onTitleChanged,this),t.parent=null),this._widget=e,e.disposed.connect(this._onChildDisposed,this),e.title.changed.connect(this._onTitleChanged,this),this._onTitleChanged(e.title),this._content.addWidget(e)}get collapsed(){return this._collapsed}set collapsed(e){e!==this._collapsed&&(e?this._collapse():this._uncollapse())}toggle(){this.collapsed=!this.collapsed}get collapseChanged(){return this._collapseChanged}_collapse(){this._collapsed=!0,this._content&&this._content.hide(),this.removeClass(Un),this._header.node.children[0].classList.add("fa-caret-right"),this._header.node.children[0].classList.remove("fa-caret-down"),this._collapseChanged.emit(void 0)}_uncollapse(){this._collapsed=!1,this._content&&this._content.show(),this.addClass(Un),this._header.node.children[0].classList.add("fa-caret-down"),this._header.node.children[0].classList.remove("fa-caret-right"),this._collapseChanged.emit(void 0)}handleEvent(e){"click"===e.type&&this._evtClick(e)}_evtClick(e){this.toggle()}_onTitleChanged(e){this._header.node.children[1].textContent=this._widget.title.label}_onChildDisposed(e){this.dispose()}}const $n="p-Accordion-child-active";class Xn extends tt{constructor(e){super(e),this._selection=new qn(this.widgets),this._selection.selectionChanged.connect(this._onSelectionChanged,this),this.addClass("p-Accordion")}get collapseWidgets(){return this.layout.widgets}get selection(){return this._selection}indexOf(e){return w.findFirstIndex(this.collapseWidgets,(t=>t.widget===e))}addWidget(e){let t=this._wrapWidget(e);return t.collapsed=!0,super.addWidget(t),this._selection.adjustSelectionForInsert(this.widgets.length-1,t),t}insertWidget(e,t){let i=this._wrapWidget(t);i.collapsed=!0,super.insertWidget(e,i),this._selection.adjustSelectionForInsert(e,i)}removeWidget(e){let t=this.indexOf(e);if(t>=0){let i=this.collapseWidgets[t];e.parent=null,i.dispose(),this._selection.adjustSelectionForRemove(t,null)}}_wrapWidget(e){let t=new Kn({widget:e});return t.addClass("p-Accordion-child"),t.collapseChanged.connect(this._onCollapseChange,this),t}_onCollapseChange(e){e.collapsed?this._selection.value===e&&e.collapsed&&(this._selection.value=null):this._selection.value=e}_onSelectionChanged(e,t){let i=t.previousValue,n=t.currentValue;i&&(i.collapsed=!0,i.removeClass($n)),n&&(n.collapsed=!1,n.addClass($n))}}class Yn extends ci{defaults(){return Yt.extend(super.defaults(),{_model_name:"SelectionContainerModel",selected_index:0,_titles:{}})}}class Gn extends Yn{defaults(){return Yt.extend(super.defaults(),{_model_name:"AccordionModel",_view_name:"AccordionView"})}}class Jn extends Xn{constructor(e){let t=e.view;delete e.view,super(e),this._view=t}processMessage(e){super.processMessage(e),this._view.processPhosphorMessage(e)}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}}class Qn extends Bt{_createElement(e){return this.pWidget=new Jn({view:this}),this.pWidget.node}_setElement(e){if(this.el||e!==this.pWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.pWidget.node,this.$el=_()(this.pWidget.node)}initialize(e){super.initialize(e),this.children_views=new Rt(this.add_child_view,this.remove_child_view,this),this.listenTo(this.model,"change:children",(()=>this.updateChildren())),this.listenTo(this.model,"change:selected_index",(()=>this.update_selected_index())),this.listenTo(this.model,"change:_titles",(()=>this.update_titles()))}render(){super.render();let e=this.pWidget;e.addClass("jupyter-widgets"),e.addClass("widget-accordion"),e.addClass("widget-container"),e.selection.selectionChanged.connect((t=>{this.updatingChildren||(this.model.set("selected_index",e.selection.index),this.touch())})),this.children_views.update(this.model.get("children")),this.update_titles(),this.update_selected_index()}updateChildren(){this.updatingChildren=!0,this.pWidget.selection.index=null,this.children_views.update(this.model.get("children")),this.update_selected_index(),this.updatingChildren=!1}update_titles(){let e=this.pWidget.collapseWidgets,t=this.model.get("_titles");for(let i=0;i<e.length;i++)void 0!==t[i]&&(e[i].widget.title.label=t[i])}update_selected_index(){this.pWidget.selection.index=this.model.get("selected_index")}remove_child_view(e){this.pWidget.removeWidget(e.pWidget),e.remove()}add_child_view(e,t){let i=this.pWidget,n=new Ve;return n.title.label=this.model.get("_titles")[t]||"",i.addWidget(n),this.create_child_view(e).then((e=>{let t=e.pWidget;return t.title.label=n.title.label,i.collapseWidgets[i.indexOf(n)].widget=t,n.dispose(),e})).catch(Wt("Could not add child view to box",!0))}remove(){this.children_views=null,super.remove()}}class Zn extends Yn{defaults(){return Yt.extend(super.defaults(),{_model_name:"TabModel",_view_name:"TabView"})}}class er extends Vn{constructor(e){let t=e.view;delete e.view,super(e),this._view=t,ae.installMessageHook(this.tabContents,((e,t)=>(this._view.processPhosphorMessage(t),!0)))}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}}class tr extends Bt{constructor(){super(...arguments),this.updatingTabs=!1}_createElement(e){return this.pWidget=new er({view:this}),this.pWidget.node}_setElement(e){if(this.el||e!==this.pWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.pWidget.node,this.$el=_()(this.pWidget.node)}initialize(e){super.initialize(e),this.childrenViews=new Rt(this.addChildView,(e=>{e.remove()}),this),this.listenTo(this.model,"change:children",(()=>this.updateTabs())),this.listenTo(this.model,"change:_titles",(()=>this.updateTitles()))}render(){super.render();let e=this.pWidget;e.addClass("jupyter-widgets"),e.addClass("widget-container"),e.addClass("widget-tab"),e.tabsMovable=!0,e.tabBar.insertBehavior="none",e.tabBar.currentChanged.connect(this._onTabChanged,this),e.tabBar.tabMoved.connect(this._onTabMoved,this),e.tabBar.addClass("widget-tab-bar"),e.tabContents.addClass("widget-tab-contents"),e.tabBar.tabsMovable=!1,this.updateTabs(),this.update()}updateTabs(){this.updatingTabs=!0,this.pWidget.currentIndex=null,this.childrenViews.update(this.model.get("children")),this.pWidget.currentIndex=this.model.get("selected_index"),this.updatingTabs=!1}addChildView(e,t){let i=this.model.get("_titles")[t]||"",n=this.pWidget,r=new Ve;return r.title.label=i,n.addWidget(r),this.create_child_view(e).then((e=>{let t=e.pWidget;t.title.label=r.title.label,t.title.closable=!1;let i=w.firstIndexOf(n.widgets,r);return n.insertWidget(i+1,t),r.dispose(),e})).catch(Wt("Could not add child view to box",!0))}update(){return this.updateSelectedIndex(),super.update()}updateTitles(){let e=this.model.get("_titles")||{};C(this.pWidget.widgets,((t,i)=>{t.title.label=e[i]||""}))}updateSelectedIndex(){this.pWidget.currentIndex=this.model.get("selected_index")}remove(){this.childrenViews=null,super.remove()}_onTabChanged(e,t){if(!this.updatingTabs){let e=t.currentIndex;this.model.set("selected_index",-1===e?null:e),this.touch()}}_onTabMoved(e,t){let i=this.model.get("children").slice();w.move(i,t.fromIndex,t.toIndex),this.model.set("children",i),this.touch()}}class ir extends Qt{defaults(){return Yt.extend(super.defaults(),{value:"",disabled:!1,placeholder:"",_model_name:"StringModel"})}}class nr extends ir{defaults(){return Yt.extend(super.defaults(),{_view_name:"HTMLView",_model_name:"HTMLModel"})}}class rr extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-html"),this.content=document.createElement("div"),this.content.classList.add("widget-html-content"),this.el.appendChild(this.content),this.update()}update(){return this.content.innerHTML=this.model.get("value"),super.update()}}class sr extends ir{defaults(){return Yt.extend(super.defaults(),{_view_name:"HTMLMathView",_model_name:"HTMLMathModel"})}}class or extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-htmlmath"),this.content=document.createElement("div"),this.content.classList.add("widget-htmlmath-content"),this.el.appendChild(this.content),this.update()}update(){return this.content.innerHTML=this.model.get("value"),this.typeset(this.content),super.update()}}class ar extends ir{defaults(){return Yt.extend(super.defaults(),{_view_name:"LabelView",_model_name:"LabelModel"})}}class lr extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-label"),this.update()}update(){return this.typeset(this.el,this.model.get("value")),super.update()}}class ur extends ir{defaults(){return Yt.extend(super.defaults(),{_view_name:"TextareaView",_model_name:"TextareaModel",rows:null,continuous_update:!0})}}class dr extends Kt{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-textarea"),this.textbox=document.createElement("textarea"),this.textbox.setAttribute("rows","5"),this.textbox.id=this.label.htmlFor=d(),this.el.appendChild(this.textbox),this.update(),this.listenTo(this.model,"change:placeholder",((e,t,i)=>{this.update_placeholder(t)})),this.update_placeholder()}update_placeholder(e){e=e||this.model.get("placeholder"),this.textbox.setAttribute("placeholder",e.toString())}update(e){if(void 0===e||e.updated_view!=this){this.textbox.value=this.model.get("value");let e=this.model.get("rows");null===e&&(e=""),this.textbox.setAttribute("rows",e),this.textbox.disabled=this.model.get("disabled")}return super.update()}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","input textarea":"handleChanging","change textarea":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){e.stopPropagation()}handleChanging(e){this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){let t=e.target;this.model.set("value",t.value,{updated_view:this}),this.touch()}}class cr extends ir{defaults(){return Yt.extend(super.defaults(),{_view_name:"TextView",_model_name:"TextModel",continuous_update:!0})}}class hr extends Kt{constructor(){super(...arguments),this.inputType="text"}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-text"),this.textbox=document.createElement("input"),this.textbox.setAttribute("type",this.inputType),this.textbox.id=this.label.htmlFor=d(),this.el.appendChild(this.textbox),this.update(),this.listenTo(this.model,"change:placeholder",((e,t,i)=>{this.update_placeholder(t)})),this.listenTo(this.model,"change:description_tooltip",this.update_title),this.listenTo(this.model,"change:description",this.update_title),this.update_placeholder(),this.update_title()}update_placeholder(e){this.textbox.setAttribute("placeholder",e||this.model.get("placeholder"))}update_title(){let e=this.model.get("description_tooltip");e?0===this.model.get("description").length&&this.textbox.setAttribute("title",e):this.textbox.removeAttribute("title")}update(e){return void 0!==e&&e.updated_view===this||(this.textbox.value!==this.model.get("value")&&(this.textbox.value=this.model.get("value")),this.textbox.disabled=this.model.get("disabled")),super.update()}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","input input":"handleChanging","change input":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){e.stopPropagation(),13===e.keyCode&&this.send({event:"submit"})}handleChanging(e){this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){let t=e.target;this.model.set("value",t.value,{updated_view:this}),this.touch()}}class pr extends cr{defaults(){return Yt.extend(super.defaults(),{_view_name:"PasswordView",_model_name:"PasswordModel"})}}class fr extends hr{constructor(){super(...arguments),this.inputType="password"}}class mr extends cr{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ComboboxModel",_view_name:"ComboboxView",options:[],ensure_options:!1})}}class gr extends hr{constructor(){super(...arguments),this.isInitialRender=!0}render(){this.datalist=document.createElement("datalist"),this.datalist.id=d(),super.render(),this.textbox.setAttribute("list",this.datalist.id),this.el.appendChild(this.datalist)}update(e){if(super.update(e),!this.datalist)return;const t=this.isValid(this.model.get("value"));if(this.highlightValidState(t),void 0!==e&&e.updated_view||!this.model.hasChanged("options")&&!this.isInitialRender)return;this.isInitialRender=!1;const i=this.model.get("options").map((e=>`<option value="${e}"></option>`));this.datalist.innerHTML=i.join("\n")}isValid(e){return!0!==this.model.get("ensure_option")||-1!==this.model.get("options").indexOf(e)}handleChanging(e){const t=e.target,i=this.isValid(t.value);this.highlightValidState(i),i&&super.handleChanging(e)}handleChanged(e){const t=e.target,i=this.isValid(t.value);this.highlightValidState(i),i&&super.handleChanged(e)}highlightValidState(e){this.textbox.classList.toggle("jpwidgets-invalidComboValue",!e)}}class vr extends Jt{defaults(){return Yt.extend(super.defaults(),{_model_name:"FileUploadModel",_view_name:"FileUploadView",_counter:0,accept:"",description:"Upload",tooltip:"",disabled:!1,icon:"upload",button_style:"",multiple:!1,metadata:[],data:[],error:"",style:null})}}vr.serializers=Object.assign(Object.assign({},Jt.serializers),{data:{serialize:e=>[...e]}});class _r extends Bt{get tagName(){return"button"}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-upload"),this.el.classList.add("jupyter-button"),this.fileInput=document.createElement("input"),this.fileInput.type="file",this.fileInput.style.display="none",this.el.appendChild(this.fileInput),this.el.addEventListener("click",(()=>{this.fileInput.click()})),this.fileInput.addEventListener("click",(()=>{this.fileInput.value=""})),this.fileInput.addEventListener("change",(()=>{const e=[];Array.from(this.fileInput.files).forEach((t=>{e.push(new Promise(((e,i)=>{const n={name:t.name,type:t.type,size:t.size,lastModified:t.lastModified};this.fileReader=new FileReader,this.fileReader.onload=t=>{const i=t.target.result;e({buffer:i,metadata:n,error:""})},this.fileReader.onerror=()=>{i()},this.fileReader.onabort=this.fileReader.onerror,this.fileReader.readAsArrayBuffer(t)})))})),Promise.all(e).then((e=>{const t=[],i=[];e.forEach((e=>{t.push(e.metadata),i.push(e.buffer)}));let n=this.model.get("_counter");this.model.set({_counter:n+e.length,metadata:t,data:i,error:""}),this.touch()})).catch((e=>{console.error("error in file upload: %o",e),this.model.set({error:e}),this.touch()}))})),this.listenTo(this.model,"change:button_style",this.update_button_style),this.set_button_style(),this.update()}update(){this.el.disabled=this.model.get("disabled"),this.el.setAttribute("title",this.model.get("tooltip"));let e=`${this.model.get("description")} (${this.model.get("_counter")})`,t=this.model.get("icon");if(e.length||t.length){if(this.el.textContent="",t.length){let i=document.createElement("i");i.classList.add("fa"),i.classList.add("fa-"+t),0===e.length&&i.classList.add("center"),this.el.appendChild(i)}this.el.appendChild(document.createTextNode(e))}return this.fileInput.accept=this.model.get("accept"),this.fileInput.multiple=this.model.get("multiple"),super.update()}update_button_style(){this.update_mapped_classes(_r.class_map,"button_style",this.el)}set_button_style(){this.set_mapped_classes(_r.class_map,"button_style",this.el)}}_r.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]};const yr=n(9500).rE})(),o})())); |
| 15 |
//# sourceMappingURL=controls7.js.map; |
| 16 |
|
| 17 |
/*! For license information please see index.js.LICENSE.txt */ |
| 18 |
define("@jupyter-widgets/html-manager",["module","@jupyter-widgets/base","@jupyter-widgets/controls"],((__WEBPACK_EXTERNAL_MODULE__1308__,__WEBPACK_EXTERNAL_MODULE__2055__,__WEBPACK_EXTERNAL_MODULE__6840__)=>(()=>{var __webpack_modules__={2176:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CONTROL_COMM_PROTOCOL_VERSION:()=>k,CONTROL_COMM_TARGET:()=>x,CONTROL_COMM_TIMEOUT:()=>T,DOMWidgetModel:()=>xt,DOMWidgetView:()=>Dt,IJupyterWidgetRegistry:()=>Nt,JUPYTER_WIDGETS_VERSION:()=>_,JupyterPhosphorPanelWidget:()=>jt,JupyterPhosphorWidget:()=>Tt,LayoutModel:()=>It,LayoutView:()=>Mt,ManagerBase:()=>j,PROTOCOL_VERSION:()=>B,StyleModel:()=>Pt,StyleView:()=>Rt,ViewList:()=>Lt,WidgetModel:()=>Et,WidgetView:()=>kt,WrappedError:()=>f,assign:()=>u,base64ToBuffer:()=>w,bufferToBase64:()=>y,bufferToHex:()=>v,difference:()=>d,hexToBuffer:()=>C,isEqual:()=>c,pack_models:()=>Bt,put_buffers:()=>m,reject:()=>A,remove_buffers:()=>g,resolvePromisesDict:()=>p,serialize_state:()=>D,shims:()=>Ot,unpack_models:()=>_t,uuid:()=>h});var i=n(7991),r=n(8960),o=n(6343),s=n.n(o),a=n(8360),l=n.n(a);function d(e,t){return e.filter((e=>-1===t.indexOf(e)))}function c(e,t){return s()(e,t)}let u=Object.assign||function(e){for(let t=1;t<arguments.length;t++){let n=arguments[t];for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e};function h(){return r.UUID.uuid4()}class f extends Error{constructor(e,t){super(e),console.warn("WrappedError has been deprecated!"),this.error_stack=t instanceof f?t.error_stack:[t],this.error_stack.push(this)}}function p(e){let t=Object.keys(e),n=[];return t.forEach((function(t){n.push(e[t])})),Promise.all(n).then((e=>{let n={};for(let i=0;i<t.length;i++)n[t[i]]=e[i];return n}))}function A(e,t){return function(n){throw t&&console.error(new Error(e)),n}}function m(e,t,n){for(let i=0;i<t.length;i++){let r=t[i],o=e;for(let e=0;e<r.length-1;e++)o=o[r[e]];o[r[r.length-1]]=n[i]}}function g(e){let t=[],n=[];return{state:function e(i,r){if(i.toJSON&&(i=i.toJSON()),Array.isArray(i)){let o=!1;for(let s=0;s<i.length;s++){let a=i[s];if(a)if(a instanceof ArrayBuffer||ArrayBuffer.isView(a))o||(i=i.slice(),o=!0),t.push(ArrayBuffer.isView(a)?a.buffer:a),n.push(r.concat([s])),i[s]=null;else{let t=e(a,r.concat([s]));t!==a&&(o||(i=i.slice(),o=!0),i[s]=t)}}}else if(l()(i))for(let o in i){let s=!1;if(i.hasOwnProperty(o)){let a=i[o];if(a)if(a instanceof ArrayBuffer||ArrayBuffer.isView(a))s||(i=Object.assign({},i),s=!0),t.push(ArrayBuffer.isView(a)?a.buffer:a),n.push(r.concat([o])),delete i[o];else{let t=e(a,r.concat([o]));t!==a&&(s||(i=Object.assign({},i),s=!0),i[o]=t)}}}return i}(e,[]),buffers:t,buffer_paths:n}}let b=["00","01","02","03","04","05","06","07","08","09","0A","0B","0C","0D","0E","0F","10","11","12","13","14","15","16","17","18","19","1A","1B","1C","1D","1E","1F","20","21","22","23","24","25","26","27","28","29","2A","2B","2C","2D","2E","2F","30","31","32","33","34","35","36","37","38","39","3A","3B","3C","3D","3E","3F","40","41","42","43","44","45","46","47","48","49","4A","4B","4C","4D","4E","4F","50","51","52","53","54","55","56","57","58","59","5A","5B","5C","5D","5E","5F","60","61","62","63","64","65","66","67","68","69","6A","6B","6C","6D","6E","6F","70","71","72","73","74","75","76","77","78","79","7A","7B","7C","7D","7E","7F","80","81","82","83","84","85","86","87","88","89","8A","8B","8C","8D","8E","8F","90","91","92","93","94","95","96","97","98","99","9A","9B","9C","9D","9E","9F","A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","AA","AB","AC","AD","AE","AF","B0","B1","B2","B3","B4","B5","B6","B7","B8","B9","BA","BB","BC","BD","BE","BF","C0","C1","C2","C3","C4","C5","C6","C7","C8","C9","CA","CB","CC","CD","CE","CF","D0","D1","D2","D3","D4","D5","D6","D7","D8","D9","DA","DB","DC","DD","DE","DF","E0","E1","E2","E3","E4","E5","E6","E7","E8","E9","EA","EB","EC","ED","EE","EF","F0","F1","F2","F3","F4","F5","F6","F7","F8","F9","FA","FB","FC","FD","FE","FF"];function v(e){let t=new Uint8Array(e),n=[];for(let e=0;e<t.length;e++)n.push(b[t[e]]);return n.join("")}function C(e){let t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2)t[n/2]=parseInt(e.slice(n,n+2),16);return t.buffer}function y(e){return(0,i.iI)(new Uint8Array(e))}function w(e){return(0,i.bg)(e).buffer}const _="1.2.0",B="2.1.0",E=B.split(".",1)[0],x="jupyter.widget.control",k="1.0.0",T=4e3;class j{constructor(){this.comm_target_name="jupyter.widget",this._models=Object.create(null)}display_model(e,t,n={}){return this.create_view(t,n).then((t=>this.display_view(e,t,n))).catch(A("Could not create view",!0))}setViewOptions(e={}){return e}create_view(e,t={}){let n=e.state_change=e.state_change.then((()=>this.loadClass(e.get("_view_name"),e.get("_view_module"),e.get("_view_module_version")).then((n=>{let i=new n({model:e,options:this.setViewOptions(t)});return i.listenTo(e,"destroy",i.remove),Promise.resolve(i.render()).then((()=>i))})).catch(A("Could not create a view for model id "+e.model_id,!0)))),i=h();return e.views[i]=n,n.then((e=>{e.once("remove",(()=>{delete e.model.views[i]}),this)})),e.state_change}callbacks(e){return{}}get_model(e){return this._models[e]}has_model(e){return void 0!==this._models[e]}handle_comm_open(e,t){let n=(t.metadata||{}).version||"";if(n.split(".",1)[0]!==E){let e=`Wrong widget protocol version: received protocol version '${n}', but was expecting major version '${E}'`;return console.error(e),Promise.reject(e)}let i=t.content.data,r=i.buffer_paths||[],o=(t.buffers||[]).map((e=>e instanceof DataView?e:new DataView(e instanceof ArrayBuffer?e:e.buffer)));return m(i.state,r,o),this.new_model({model_name:i.state._model_name,model_module:i.state._model_module,model_module_version:i.state._model_module_version,comm:e},i.state).catch(A("Could not create a model.",!0))}new_widget(e,t={}){let n;if(void 0===e.view_name||void 0===e.view_module||void 0===e.view_module_version)return Promise.reject("new_widget(...) must be given view information in the options.");n=e.comm?Promise.resolve(e.comm):this._create_comm(this.comm_target_name,e.model_id,{state:{_model_module:e.model_module,_model_module_version:e.model_module_version,_model_name:e.model_name,_view_module:e.view_module,_view_module_version:e.view_module_version,_view_name:e.view_name}},{version:B});let i=Object.assign({},e);return n.then((e=>(i.comm=e,this.new_model(i,t).then((e=>(e.sync("create",e),e))))),(()=>(i.model_id||(i.model_id=h()),this.new_model(i,t))))}register_model(e,t){this._models[e]=t,t.then((t=>{t.once("comm:close",(()=>{delete this._models[e]}))}))}async new_model(e,t={}){let n;if(e.model_id)n=e.model_id;else{if(!e.comm)throw new Error("Neither comm nor model_id provided in options object. At least one must exist.");n=e.model_id=e.comm.comm_id}let i=this._make_model(e,t);return this.register_model(n,i),await i}async _make_model(e,t={}){let n,i=e.model_id,r=this.loadClass(e.model_name,e.model_module,e.model_module_version);try{n=await r}catch(e){throw console.error("Could not instantiate widget"),e}if(!n)throw new Error(`Cannot find model module ${e.model_module}@${e.model_module_version}, ${e.model_name}`);let o=await n._deserialize_state(t,this),s=new n(o,{widget_manager:this,model_id:i,comm:e.comm});return s.name=e.model_name,s.module=e.model_module,s}async _loadFromKernel(){let e,t;try{const n=await this._create_comm(x,h(),{},{version:k});await new Promise(((i,r)=>{n.on_msg((n=>{e=n.content.data,"update_states"===e.method?(t=(n.buffers||[]).map((e=>e instanceof DataView?e:new DataView(e instanceof ArrayBuffer?e:e.buffer))),i(null)):console.warn(`\n Unknown ${e.method} message on the Control channel\n `)})),n.on_close((()=>r("Control comm was closed too early"))),n.send({method:"request_states"},{}),setTimeout((()=>r("Control comm did not respond in time")),T)})),n.close()}catch(e){return console.warn('Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason:',e),this._loadFromKernelModels()}const n=e.states,i={},r={};for(let n=0;n<e.buffer_paths.length;n++){const[o,...s]=e.buffer_paths[n],a=t[n];i[o]||(i[o]=[],r[o]=[]),i[o].push(s),r[o].push(a)}let o=await Promise.all(Object.keys(n).map((async e=>({widget_id:e,comm:this.has_model(e)?void 0:await this._create_comm("jupyter.widget",e)}))));await Promise.all(o.map((async({widget_id:e,comm:t})=>{const o=n[e];e in i&&m(o,i[e],r[e]);try{if(t)await this.new_model({model_name:o.model_name,model_module:o.model_module,model_module_version:o.model_module_version,model_id:e,comm:t},o.state);else{const t=await this.get_model(e),n=await t.constructor._deserialize_state(o.state,this);t.set_state(n)}}catch(e){console.error(e)}})))}async _loadFromKernelModels(){const e=await this._get_comm_info(),t=await Promise.all(Object.keys(e).map((async e=>{if(this.has_model(e))return;const t=await this._create_comm(this.comm_target_name,e);let n="";const i=new r.PromiseDelegate;return t.on_msg((e=>{if(e.parent_header.msg_id===n&&"comm_msg"===e.header.msg_type&&"update"===e.content.data.method){const n=e.content.data,r=n.buffer_paths||[],o=e.buffers||[];m(n.state,r,o),i.resolve({comm:t,msg:e})}})),n=t.send({method:"request_state"},this.callbacks(void 0)),i.promise})));await Promise.all(t.map((async e=>{if(!e)return;const t=e.msg.content;await this.new_model({model_name:t.data.state._model_name,model_module:t.data.state._model_module,model_module_version:t.data.state._model_module_version,comm:e.comm},t.data.state)})))}clear_state(){return p(this._models).then((e=>{Object.keys(e).forEach((t=>e[t].close())),this._models=Object.create(null)}))}get_state(e={}){const t=Object.keys(this._models).map((e=>this._models[e]));return Promise.all(t).then((t=>D(t,e)))}set_state(e){if(!(e.version_major&&e.version_major<=2))throw"Unsupported widget state format";let t=e.state;return this._get_comm_info().then((e=>Promise.all(Object.keys(t).map((n=>{let i={base64:w,hex:C},r=t[n],o=r.state;if(r.buffers){let e=r.buffers.map((e=>e.path)),t=r.buffers.map((e=>new DataView(i[e.encoding](e.data))));m(r.state,e,t)}if(this.has_model(n))return this.get_model(n).then((e=>e.constructor._deserialize_state(o||{},this).then((t=>(e.set_state(t),e)))));let s={model_id:n,model_name:r.model_name,model_module:r.model_module,model_module_version:r.model_module_version};return e.hasOwnProperty(n)?this._create_comm(this.comm_target_name,n).then((e=>(s.comm=e,this.new_model(s)))):this.new_model(s,o)})))))}disconnect(){Object.keys(this._models).forEach((e=>{this._models[e].then((e=>{e.comm_live=!1}))}))}resolveUrl(e){return Promise.resolve(e)}filterExistingModelState(e){let t=e.state;return t=Object.keys(t).filter((e=>!this.has_model(e))).reduce(((e,n)=>(e[n]=t[n],e)),{}),Object.assign(Object.assign({},e),{state:t})}}function D(e,t={}){const n={};return e.forEach((e=>{const i=e.model_id,r=g(e.serialize(e.get_state(t.drop_defaults))),o=r.buffers.map(((e,t)=>({data:y(e),path:r.buffer_paths[t],encoding:"base64"})));n[i]={model_name:e.name,model_module:e.module,model_module_version:e.get("_model_module_version"),state:r.state},o.length>0&&(n[i].buffers=o)})),{version_major:2,version_minor:0,state:n}}function S(e,t,n){if(null==e)return this;let i;if("object"==typeof e?(i=e,n=t):(i={})[e]=t,n||(n={}),!this._validate(i,n))return!1;let r=n.unset,o=n.silent,s=[],a=this._changing;this._changing=!0;try{a||(this._previousAttributes=Object.assign({},this.attributes),this.changed={});let e=this.attributes,l=this.changed,d=this._previousAttributes;for(let n in i)t=i[n],c(e[n],t)||s.push(n),c(d[n],t)?delete l[n]:l[n]=t,r?delete e[n]:e[n]=t;if(this.id=this.get(this.idAttribute),!o){s.length&&(this._pending=n);for(let t=0;t<s.length;t++)this.trigger("change:"+s[t],this,e[s[t]],n)}if(a)return this;if(!o)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n)}finally{this._pending=!1,this._changing=!1}return this}var I=n(7646),M=n(4651),P=n.n(M);const R=Element.prototype;let O=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.msMatchesSelector||R.oMatchesSelector||function(e){let t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1};class L extends I.View{_removeElement(){this.undelegateEvents(),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}_setElement(e){this.el=e}_setAttributes(e){for(let t in e)t in this.el?this.el[t]=e[t]:this.el.setAttribute(t,e[t])}delegate(e,t,n){"string"!=typeof t&&(n=t,t=null),void 0===this._domEvents&&(this._domEvents=[]);let i=this.el,r=t?function(e){let r=e.target||e.srcElement;for(;r&&r!==i;r=r.parentNode)if(O.call(r,t))return e.delegateTarget=r,n.handleEvent?n.handleEvent(e):n(e)}:n;return this.el.addEventListener(e,r,!1),this._domEvents.push({eventName:e,handler:r,listener:n,selector:t}),r}undelegate(e,t,n){if("function"==typeof t&&(n=t,t=null),this.el&&this._domEvents){let i=this._domEvents.slice(),r=i.length;for(;r--;){let o=i[r];!(o.eventName!==e||n&&o.listener!==n||t&&o.selector!==t)&&(this.el.removeEventListener(o.eventName,o.handler,!1),this._domEvents.splice(r,1))}}return this}undelegateEvents(){if(this.el&&this._domEvents){let e=this._domEvents.length;for(let t=0;t<e;t++){let e=this._domEvents[t];this.el.removeEventListener(e.eventName,e.handler,!1)}this._domEvents.length=0}return this}}var N;function z(e){return"function"==typeof e.iter?e.iter():new q(e)}function F(e,t){for(var n,i=0,r=z(e);void 0!==(n=r.next());)if(!1===t(n,i++))return}!function(e){function t(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(e[a]===t)return a}return-1}function n(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(e[a]===t)return a}return-1}function i(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(t(e[a],a))return a}return-1}function r(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(t(e[a],a))return a}return-1}function o(e,t,n){void 0===t&&(t=0),void 0===n&&(n=-1);var i=e.length;if(!(i<=1))for(t=t<0?Math.max(0,t+i):Math.min(t,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);t<n;){var r=e[t],o=e[n];e[t++]=o,e[n--]=r}}function s(e,t){var n=e.length;if(t<0&&(t+=n),!(t<0||t>=n)){for(var i=e[t],r=t+1;r<n;++r)e[r-1]=e[r];return e.length=n-1,i}}e.firstIndexOf=t,e.lastIndexOf=n,e.findFirstIndex=i,e.findLastIndex=r,e.findFirstValue=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=i(e,t,n,r);return-1!==o?e[o]:void 0},e.findLastValue=function(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var o=r(e,t,n,i);return-1!==o?e[o]:void 0},e.lowerBound=function(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var l=a>>1,d=s+l;n(e[d],t)<0?(s=d+1,a-=l+1):a=l}return s},e.upperBound=function(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var l=a>>1,d=s+l;n(e[d],t)>0?a=l:(s=d+1,a-=l+1)}return s},e.shallowEqual=function(e,t,n){if(e===t)return!0;if(e.length!==t.length)return!1;for(var i=0,r=e.length;i<r;++i)if(n?!n(e[i],t[i]):e[i]!==t[i])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var n=t.start,i=t.stop,r=t.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var o,s=e.length;void 0===n?n=r<0?s-1:0:n<0?n=Math.max(n+s,r<0?-1:0):n>=s&&(n=r<0?s-1:s),void 0===i?i=r<0?-1:s:i<0?i=Math.max(i+s,r<0?-1:0):i>=s&&(i=r<0?s-1:s),o=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],l=0;l<o;++l)a[l]=e[n+l*r];return a},e.move=function(e,t,n){var i=e.length;if(!(i<=1)&&(t=t<0?Math.max(0,t+i):Math.min(t,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=e[t],o=t<n?1:-1,s=t;s!==n;s+=o)e[s]=e[s+o];e[n]=r}},e.reverse=o,e.rotate=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var s=i-n+1;if(t>0?t%=s:t<0&&(t=(t%s+s)%s),0!==t){var a=n+t;o(e,n,a-1),o(e,a,i),o(e,n,i)}}},e.fill=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0!==r){var o;n=n<0?Math.max(0,n+r):Math.min(n,r-1),o=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var s=0;s<o;++s)e[(n+s)%r]=t}},e.insert=function(e,t,n){var i=e.length;t=t<0?Math.max(0,t+i):Math.min(t,i);for(var r=i;r>t;--r)e[r]=e[r-1];e[t]=n},e.removeAt=s,e.removeFirstOf=function(e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t(e,n,i,r);return-1!==o&&s(e,o),o},e.removeLastOf=function(e,t,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var o=n(e,t,i,r);return-1!==o&&s(e,o),o},e.removeAllOf=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&e[s]===t||i<n&&(s<=i||s>=n)&&e[s]===t?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o},e.removeFirstWhere=function(e,t,n,r){var o;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(e,t,n,r);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeLastWhere=function(e,t,n,i){var o;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(e,t,n,i);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeAllWhere=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&t(e[s],s)||i<n&&(s<=i||s>=n)&&t(e[s],s)?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o}}(N||(N={}));var q=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new $(z(e.map(z)))}(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}();var $=function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())},e}();function H(){return new W}var W=function(){function e(){}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){},e}();!function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}();var V=function(){function e(e,t){this._index=0,this._source=e,this._fn=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,n=this._source;void 0!==(e=n.next());)if(t(e,this._index++))return e},e}();function G(e,t){for(var n,i=0,r=z(e);void 0!==(n=r.next());)if(t(n,i++))return n}function K(e,t){return new J(z(e),t)}var Y,J=function(){function e(e,t){this._index=0,this._source=e,this._fn=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)},e}();function X(e,t,n){var i=0,r=z(e),o=r.next();if(void 0===o&&void 0===n)throw new TypeError("Reduce of empty iterable with no initial value.");if(void 0===o)return n;var s,a,l=r.next();if(void 0===l&&void 0===n)return o;if(void 0===l)return t(n,o,i++);for(s=t(void 0===n?o:t(n,o,i++),l,i++);void 0!==(a=r.next());)s=t(s,a,i++);return s}function Z(e){return new ee(e,1)}!function(){function e(e,t,n){this._index=0,this._start=e,this._stop=t,this._step=n,this._length=Y.rangeLength(e,t,n)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,n){return 0===n?1/0:e>t&&n>0||e<t&&n<0?0:Math.ceil((t-e)/n)}}(Y||(Y={}));var Q,ee=function(){function e(e,t){this._value=e,this._count=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value},e}();!function(){function e(e){this._source=e,this._index=e.length-1}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,n){void 0===n&&(n=0);for(var i=new Array(t.length),r=0,o=n,s=t.length;r<s;++r,++o){if(-1===(o=e.indexOf(t[r],o)))return null;i[r]=o}return i}e.findIndices=t,e.matchSumOfSquares=function(e,n,i){void 0===i&&(i=0);var r=t(e,n,i);if(!r)return null;for(var o=0,s=0,a=r.length;s<a;++s){var l=r[s]-i;o+=l*l}return{score:o,indices:r}},e.matchSumOfDeltas=function(e,n,i){void 0===i&&(i=0);var r=t(e,n,i);if(!r)return null;for(var o=0,s=i-1,a=0,l=r.length;a<l;++a){var d=r[a];o+=d-s-1,s=d}return{score:o,indices:r}},e.highlight=function(e,t,n){for(var i=[],r=0,o=0,s=t.length;r<s;){for(var a=t[r],l=t[r];++r<s&&t[r]===l+1;)l++;o<a&&i.push(e.slice(o,a)),a<l+1&&i.push(n(e.slice(a,l+1))),o=l+1}return o<e.length&&i.push(e.slice(o)),i},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(Q||(Q={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,n=this._source.length;t<n;++t){var i=this._source[t].next();if(void 0===i)return;e[t]=i}return e}}();var te,ne=n(1621),ie=n(9640),re=function(){function e(e){this._pid=te.nextPID(),this.name=e.name,this._create=e.create,this._coerce=e.coerce||null,this._compare=e.compare||null,this._changed=e.changed||null}return e.prototype.get=function(e){var t=te.ensureMap(e);return this._pid in t?t[this._pid]:t[this._pid]=this._createValue(e)},e.prototype.set=function(e,t){var n,i=te.ensureMap(e);n=this._pid in i?i[this._pid]:i[this._pid]=this._createValue(e);var r=this._coerceValue(e,t);this._maybeNotify(e,n,i[this._pid]=r)},e.prototype.coerce=function(e){var t,n=te.ensureMap(e);t=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(e);var i=this._coerceValue(e,t);this._maybeNotify(e,t,n[this._pid]=i)},e.prototype._createValue=function(e){return(0,this._create)(e)},e.prototype._coerceValue=function(e,t){var n=this._coerce;return n?n(e,t):t},e.prototype._compareValue=function(e,t){var n=this._compare;return n?n(e,t):e===t},e.prototype._maybeNotify=function(e,t,n){var i=this._changed;i&&!this._compareValue(t,n)&&i(e,t,n)},e}();!function(e){e.clearData=function(e){te.ownerData.delete(e)}}(re||(re={})),function(e){var t;e.ownerData=new WeakMap,e.nextPID=(t=0,function(){return"pid-"+(""+Math.random()).slice(2)+"-"+t++}),e.ensureMap=function(t){var n=e.ownerData.get(t);return n||(n=Object.create(null),e.ownerData.set(t,n),n)}}(te||(te={}));var oe,se=function(){function e(e){this._blockedCount=0,this.sender=e}return e.prototype.block=function(e){this._blockedCount++;try{e()}finally{this._blockedCount--}},e.prototype.connect=function(e,t){return oe.connect(this,e,t)},e.prototype.disconnect=function(e,t){return oe.disconnect(this,e,t)},e.prototype.emit=function(e){this._blockedCount||oe.emit(this,e)},e}();!function(e){e.blockAll=function(e,t){var n=oe.blockedProperty;n.set(e,n.get(e)+1);try{t()}finally{n.set(e,n.get(e)-1)}},e.disconnectBetween=function(e,t){oe.disconnectBetween(e,t)},e.disconnectSender=function(e){oe.disconnectSender(e)},e.disconnectReceiver=function(e){oe.disconnectReceiver(e)},e.disconnectAll=function(e){oe.disconnectAll(e)},e.clearData=function(e){oe.disconnectAll(e)},e.getExceptionHandler=function(){return oe.exceptionHandler},e.setExceptionHandler=function(e){var t=oe.exceptionHandler;return oe.exceptionHandler=e,t}}(se||(se={})),function(e){function t(e){var t=i.get(e);t&&0!==t.length&&(F(t,(function(e){if(e.signal){var t=e.thisArg||e.slot;e.signal=null,d(r.get(t))}})),d(t))}function n(e){var t=r.get(e);t&&0!==t.length&&(F(t,(function(e){if(e.signal){var t=e.signal.sender;e.signal=null,d(i.get(t))}})),d(t))}e.exceptionHandler=function(e){console.error(e)},e.connect=function(e,t,n){n=n||void 0;var o=i.get(e.sender);if(o||(o=[],i.set(e.sender,o)),a(o,e,t,n))return!1;var s=n||t,l=r.get(s);l||(l=[],r.set(s,l));var d={signal:e,slot:t,thisArg:n};return o.push(d),l.push(d),!0},e.disconnect=function(e,t,n){n=n||void 0;var o=i.get(e.sender);if(!o||0===o.length)return!1;var s=a(o,e,t,n);if(!s)return!1;var l=n||t,c=r.get(l);return s.signal=null,d(o),d(c),!0},e.disconnectBetween=function(e,t){var n=i.get(e);if(n&&0!==n.length){var o=r.get(t);o&&0!==o.length&&(F(o,(function(t){t.signal&&t.signal.sender===e&&(t.signal=null)})),d(n),d(o))}},e.disconnectSender=t,e.disconnectReceiver=n,e.disconnectAll=function(e){t(e),n(e)},e.emit=function(t,n){if(!(e.blockedProperty.get(t.sender)>0)){var r=i.get(t.sender);if(r&&0!==r.length)for(var o=0,s=r.length;o<s;++o){var a=r[o];a.signal===t&&l(a,n)}}};var i=new WeakMap,r=new WeakMap,o=new Set,s="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate;function a(e,t,n,i){return G(e,(function(e){return e.signal===t&&e.slot===n&&e.thisArg===i}))}function l(t,n){var i=t.signal,r=t.slot,o=t.thisArg;try{r.call(o,i.sender,n)}catch(t){e.exceptionHandler(t)}}function d(e){0===o.size&&s(c),o.add(e)}function c(){o.forEach(u),o.clear()}function u(e){N.removeAllWhere(e,h)}function h(e){return null===e.signal}e.blockedProperty=new re({name:"blocked",create:function(){return 0}})}(oe||(oe={}));var ae=function(e,t){return ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ae(e,t)};function le(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var de=function(){function e(e){this._fn=e}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return!this._fn},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){if(this._fn){var e=this._fn;this._fn=null,e()}},e}(),ce=(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._disposed=new se(t),t}le(t,e),Object.defineProperty(t.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(e.prototype.dispose.call(this),this._disposed.emit(void 0),se.clearData(this))}}(de),function(){function e(){this._isDisposed=!1,this._items=new Set}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._items.forEach((function(e){e.dispose()})),this._items.clear())},e.prototype.contains=function(e){return this._items.has(e)},e.prototype.add=function(e){this._items.add(e)},e.prototype.remove=function(e){this._items.delete(e)},e.prototype.clear=function(){this._items.clear()},e}());!function(e){e.from=function(t){var n=new e;return F(t,(function(e){n.add(e)})),n}}(ce||(ce={}));var ue=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._disposed=new se(t),t}return le(t,e),Object.defineProperty(t.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(e.prototype.dispose.call(this),this._disposed.emit(void 0),se.clearData(this))},t}(ce);!function(e){e.from=function(t){var n=new e;return F(t,(function(e){n.add(e)})),n}}(ue||(ue={}));var he,fe=function(){function e(e){var t=this;this._onScrollFrame=function(){if(t._scrollTarget){var e=t._scrollTarget,n=e.element,i=e.edge,r=e.distance,o=he.SCROLL_EDGE_SIZE-r,s=Math.pow(o/he.SCROLL_EDGE_SIZE,2),a=Math.max(1,Math.round(s*he.SCROLL_EDGE_SIZE));switch(i){case"top":n.scrollTop-=a;break;case"left":n.scrollLeft-=a;break;case"right":n.scrollLeft+=a;break;case"bottom":n.scrollTop+=a}requestAnimationFrame(t._onScrollFrame)}},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=e.document||document,this.mimeData=e.mimeData,this.dragImage=e.dragImage||null,this.proposedAction=e.proposedAction||"copy",this.supportedActions=e.supportedActions||"all",this.source=e.source||null}return e.prototype.dispose=function(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){var e=he.createMouseEvent("pointerup",-1,-1);he.dispatchDragLeave(this,this._currentTarget,null,e)}this._finalize("none")}},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),e.prototype.start=function(e,t){var n=this;if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(e,t),this._promise=new Promise((function(e,t){n._resolve=e}));var i=he.createMouseEvent("pointermove",e,t);return document.dispatchEvent(i),this._promise},e.prototype.handleEvent=function(e){switch(e.type){case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;default:e.preventDefault(),e.stopPropagation()}},e.prototype.moveDragImage=function(e,t){if(this.dragImage){var n=this.dragImage.style;n.top=t+"px",n.left=e+"px"}},e.prototype._evtMouseMove=function(e){e.preventDefault(),e.stopPropagation(),this._updateCurrentTarget(e),this._updateDragScroll(e),this.moveDragImage(e.clientX,e.clientY)},e.prototype._evtMouseUp=function(e){if(e.preventDefault(),e.stopPropagation(),0===e.button)if(this._updateCurrentTarget(e),this._currentTarget){if("none"===this._dropAction)return he.dispatchDragLeave(this,this._currentTarget,null,e),void this._finalize("none");var t=he.dispatchDrop(this,this._currentTarget,e);this._finalize(t)}else this._finalize("none")},e.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&this.dispose()},e.prototype._addListeners=function(){document.addEventListener("mousedown",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("mouseenter",this,!0),document.addEventListener("mouseleave",this,!0),document.addEventListener("mouseover",this,!0),document.addEventListener("mouseout",this,!0),document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)},e.prototype._removeListeners=function(){document.removeEventListener("mousedown",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mouseenter",this,!0),document.removeEventListener("mouseleave",this,!0),document.removeEventListener("mouseover",this,!0),document.removeEventListener("mouseout",this,!0),document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)},e.prototype._updateDragScroll=function(e){var t=he.findScrollTarget(e);(this._scrollTarget||t)&&(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=t)},e.prototype._updateCurrentTarget=function(e){var t=this._currentTarget,n=this._currentTarget,i=this._currentElement,r=this.document.elementFromPoint(e.clientX,e.clientY);this._currentElement=r,r!==i&&r!==n&&he.dispatchDragExit(this,n,r,e),r!==i&&r!==n&&(n=he.dispatchDragEnter(this,r,n,e)),n!==t&&(this._currentTarget=n,he.dispatchDragLeave(this,t,n,e));var o=he.dispatchDragOver(this,n,e);this._setDropAction(o)},e.prototype._attachDragImage=function(e,t){if(this.dragImage){this.dragImage.classList.add("lm-mod-drag-image"),this.dragImage.classList.add("p-mod-drag-image");var n=this.dragImage.style;n.pointerEvents="none",n.position="fixed",n.top=t+"px",n.left=e+"px",(this.document instanceof Document?this.document.body:this.document.firstElementChild).appendChild(this.dragImage)}},e.prototype._detachDragImage=function(){if(this.dragImage){var e=this.dragImage.parentNode;e&&e.removeChild(this.dragImage)}},e.prototype._setDropAction=function(t){if(t=he.validateAction(t,this.supportedActions),!this._override||this._dropAction!==t)switch(t){case"none":this._dropAction=t,this._override=e.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=t,this._override=e.overrideCursor("copy",this.document);break;case"link":this._dropAction=t,this._override=e.overrideCursor("alias",this.document);break;case"move":this._dropAction=t,this._override=e.overrideCursor("move",this.document)}},e.prototype._finalize=function(e){var t=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,t&&t(e)},e}();function pe(){return me.keyboardLayout}!function(e){e.overrideCursor=function(e,n){void 0===n&&(n=document);var i=++t,r=n instanceof Document?n.body:n.firstElementChild;return r.style.cursor=e,r.classList.add("lm-mod-override-cursor"),r.classList.add("p-mod-override-cursor"),new de((function(){i===t&&(r.style.cursor="",r.classList.remove("lm-mod-override-cursor"),r.classList.remove("p-mod-override-cursor"))}))};var t=0}(fe||(fe={})),function(e){e.SCROLL_EDGE_SIZE=20,e.validateAction=function(e,i){return t[e]&n[i]?e:"none"},e.createMouseEvent=function(e,t,n){var i=document.createEvent("MouseEvent");return i.initMouseEvent(e,!0,!0,window,0,0,0,t,n,!1,!1,!1,!1,0,null),i},e.findScrollTarget=function(t){for(var n=t.clientX,i=t.clientY,r=document.elementFromPoint(n,i);r;r=r.parentElement){var o=r.hasAttribute("data-lm-dragscroll");if(o=o||r.hasAttribute("data-p-dragscroll")){var s=0,a=0;r===document.body&&(s=window.pageXOffset,a=window.pageYOffset);var l=r.getBoundingClientRect(),d=l.top+a,c=l.left+s,u=c+l.width,h=d+l.height;if(!(n<c||n>=u||i<d||i>=h)){var f=n-c+1,p=i-d+1,A=u-n,m=h-i,g=Math.min(f,p,A,m);if(!(g>e.SCROLL_EDGE_SIZE)){var b=void 0;switch(g){case m:b="bottom";break;case p:b="top";break;case A:b="right";break;case f:b="left";break;default:throw"unreachable"}var v=r.scrollWidth-r.clientWidth,C=r.scrollHeight-r.clientHeight,y=void 0;switch(b){case"top":y=C>0&&r.scrollTop>0;break;case"left":y=v>0&&r.scrollLeft>0;break;case"right":y=v>0&&r.scrollLeft<v;break;case"bottom":y=C>0&&r.scrollTop<C;break;default:throw"unreachable"}if(y)return{element:r,edge:b,distance:g}}}}}return null},e.dispatchDragEnter=function(e,t,n,r){if(!t)return null;var o=i("lm-dragenter",e,r,n),s=!t.dispatchEvent(o);if(s)return t;if(o=i("p-dragenter",e,r,n),s=!t.dispatchEvent(o))return t;var a=e.document instanceof Document?e.document.body:e.document.firstElementChild;return t===a?n:(o=i("lm-dragenter",e,r,n),a.dispatchEvent(o),o=i("p-dragenter",e,r,n),a.dispatchEvent(o),a)},e.dispatchDragExit=function(e,t,n,r){if(t){var o=i("lm-dragexit",e,r,n);t.dispatchEvent(o),o=i("p-dragexit",e,r,n),t.dispatchEvent(o)}},e.dispatchDragLeave=function(e,t,n,r){if(t){var o=i("lm-dragleave",e,r,n);t.dispatchEvent(o),o=i("p-dragleave",e,r,n),t.dispatchEvent(o)}},e.dispatchDragOver=function(e,t,n){if(!t)return"none";var r=i("lm-dragover",e,n,null),o=!t.dispatchEvent(r);return o?r.dropAction:(r=i("p-dragover",e,n,null),(o=!t.dispatchEvent(r))?r.dropAction:"none")},e.dispatchDrop=function(e,t,n){if(!t)return"none";var r=i("lm-drop",e,n,null),o=!t.dispatchEvent(r);return o?r.dropAction:(r=i("p-drop",e,n,null),(o=!t.dispatchEvent(r))?r.dropAction:"none")};var t={none:0,copy:1,link:2,move:4},n={none:t.none,copy:t.copy,link:t.link,move:t.move,"copy-link":t.copy|t.link,"copy-move":t.copy|t.move,"link-move":t.link|t.move,all:t.copy|t.link|t.move};function i(e,t,n,i){var r=document.createEvent("MouseEvent");return r.initMouseEvent(e,!0,!0,window,0,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,i),r.dropAction="none",r.mimeData=t.mimeData,r.proposedAction=t.proposedAction,r.supportedActions=t.supportedActions,r.source=t.source,r}}(he||(he={}));var Ae=function(){function e(t,n,i){void 0===i&&(i=[]),this.name=t,this._codes=n,this._keys=e.extractKeys(n),this._modifierKeys=e.convertToKeySet(i)}return e.prototype.keys=function(){return Object.keys(this._keys)},e.prototype.isValidKey=function(e){return e in this._keys},e.prototype.isModifierKey=function(e){return e in this._modifierKeys},e.prototype.keyForKeydownEvent=function(e){return this._codes[e.keyCode]||""},e}();!function(e){e.extractKeys=function(e){var t=Object.create(null);for(var n in e)t[e[n]]=!0;return t},e.convertToKeySet=function(e){for(var t=Object(null),n=0,i=e.length;n<i;++n)t[e[n]]=!0;return t}}(Ae||(Ae={}));var me,ge=new Ae("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);!function(e){e.keyboardLayout=ge}(me||(me={}));var be,ve=function(){return ve=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ve.apply(this,arguments)},Ce=function(){function e(){this._timerID=0,this._replaying=!1,this._keystrokes=[],this._keydownEvents=[],this._keyBindings=[],this._exactKeyMatch=null,this._commands=Object.create(null),this._commandChanged=new se(this),this._commandExecuted=new se(this),this._keyBindingChanged=new se(this)}return Object.defineProperty(e.prototype,"commandChanged",{get:function(){return this._commandChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"commandExecuted",{get:function(){return this._commandExecuted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBindingChanged",{get:function(){return this._keyBindingChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBindings",{get:function(){return this._keyBindings},enumerable:!0,configurable:!0}),e.prototype.listCommands=function(){return Object.keys(this._commands)},e.prototype.hasCommand=function(e){return e in this._commands},e.prototype.addCommand=function(e,t){var n=this;if(e in this._commands)throw new Error("Command '"+e+"' already registered.");return this._commands[e]=be.createCommand(t),this._commandChanged.emit({id:e,type:"added"}),new de((function(){delete n._commands[e],n._commandChanged.emit({id:e,type:"removed"})}))},e.prototype.notifyCommandChanged=function(e){if(void 0!==e&&!(e in this._commands))throw new Error("Command '"+e+"' is not registered.");this._commandChanged.emit({id:e,type:e?"changed":"many-changed"})},e.prototype.describedBy=function(e){var t=this._commands[e];return t&&t.describedBy||{args:null}},e.prototype.label=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.label.call(void 0,t):""},e.prototype.mnemonic=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.mnemonic.call(void 0,t):-1},e.prototype.icon=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.icon.call(void 0,t):""},e.prototype.iconClass=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.iconClass.call(void 0,t):""},e.prototype.iconLabel=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.iconLabel.call(void 0,t):""},e.prototype.caption=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.caption.call(void 0,t):""},e.prototype.usage=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.usage.call(void 0,t):""},e.prototype.className=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.className.call(void 0,t):""},e.prototype.dataset=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return n?n.dataset.call(void 0,t):{}},e.prototype.isEnabled=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return!!n&&n.isEnabled.call(void 0,t)},e.prototype.isToggled=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return!!n&&n.isToggled.call(void 0,t)},e.prototype.isToggleable=function(e,t){var n=this._commands[e];return!!n&&n.isToggleable},e.prototype.isVisible=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n=this._commands[e];return!!n&&n.isVisible.call(void 0,t)},e.prototype.execute=function(e,t){void 0===t&&(t=r.JSONExt.emptyObject);var n,i=this._commands[e];if(!i)return Promise.reject(new Error("Command '"+e+"' not registered."));try{n=i.execute.call(void 0,t)}catch(e){n=Promise.reject(e)}var o=Promise.resolve(n);return this._commandExecuted.emit({id:e,args:t,result:o}),o},e.prototype.addKeyBinding=function(e){var t=this,n=be.createKeyBinding(e);return this._keyBindings.push(n),this._keyBindingChanged.emit({binding:n,type:"added"}),new de((function(){N.removeFirstOf(t._keyBindings,n),t._keyBindingChanged.emit({binding:n,type:"removed"})}))},e.prototype.processKeydownEvent=function(t){if(!this._replaying&&!e.isModifierKeyPressed(t)){var n=e.keystrokeForKeydownEvent(t);if(!n)return this._replayKeydownEvents(),void this._clearPendingState();this._keystrokes.push(n);var i=be.matchKeyBinding(this._keyBindings,this._keystrokes,t),r=i.exact,o=i.partial;if(!r&&!o)return this._replayKeydownEvents(),void this._clearPendingState();if(t.preventDefault(),t.stopPropagation(),r&&!o)return this._executeKeyBinding(r),void this._clearPendingState();r&&(this._exactKeyMatch=r),this._keydownEvents.push(t),this._startTimer()}},e.prototype._startTimer=function(){var e=this;this._clearTimer(),this._timerID=window.setTimeout((function(){e._onPendingTimeout()}),be.CHORD_TIMEOUT)},e.prototype._clearTimer=function(){0!==this._timerID&&(clearTimeout(this._timerID),this._timerID=0)},e.prototype._replayKeydownEvents=function(){0!==this._keydownEvents.length&&(this._replaying=!0,this._keydownEvents.forEach(be.replayKeyEvent),this._replaying=!1)},e.prototype._executeKeyBinding=function(e){var t=e.command,n=e.args;if(this.hasCommand(t)&&this.isEnabled(t,n))this.execute(t,n);else{var i=this.hasCommand(t)?"enabled":"registered",r="Cannot execute key binding '"+e.keys.join(", ")+"':",o="command '"+t+"' is not "+i+".";console.warn(r+" "+o)}},e.prototype._clearPendingState=function(){this._clearTimer(),this._exactKeyMatch=null,this._keystrokes.length=0,this._keydownEvents.length=0},e.prototype._onPendingTimeout=function(){this._timerID=0,this._exactKeyMatch?this._executeKeyBinding(this._exactKeyMatch):this._replayKeydownEvents(),this._clearPendingState()},e}();!function(e){function t(e){for(var t="",n=!1,i=!1,r=!1,o=!1,s=0,a=e.split(/\s+/);s<a.length;s++){var l=a[s];"Accel"===l?ne.OD.IS_MAC?i=!0:r=!0:"Alt"===l?n=!0:"Cmd"===l?i=!0:"Ctrl"===l?r=!0:"Shift"===l?o=!0:l.length>0&&(t=l)}return{cmd:i,ctrl:r,alt:n,shift:o,key:t}}function n(e){var n="",i=t(e);return i.ctrl&&(n+="Ctrl "),i.alt&&(n+="Alt "),i.shift&&(n+="Shift "),i.cmd&&ne.OD.IS_MAC&&(n+="Cmd "),n+i.key}e.parseKeystroke=t,e.normalizeKeystroke=n,e.normalizeKeys=function(e){return(ne.OD.IS_WIN?e.winKeys||e.keys:ne.OD.IS_MAC?e.macKeys||e.keys:e.linuxKeys||e.keys).map(n)},e.formatKeystroke=function(e){return"string"==typeof e?n(e):e.map(n).join(", ");function n(e){var n=[],i=ne.OD.IS_MAC?" ":"+",r=t(e);return r.ctrl&&n.push("Ctrl"),r.alt&&n.push("Alt"),r.shift&&n.push("Shift"),ne.OD.IS_MAC&&r.cmd&&n.push("Cmd"),n.push(r.key),n.map(be.formatKey).join(i)}},e.isModifierKeyPressed=function(e){var t=pe(),n=t.keyForKeydownEvent(e);return t.isModifierKey(n)},e.keystrokeForKeydownEvent=function(e){var t=pe(),n=t.keyForKeydownEvent(e);if(!n||t.isModifierKey(n))return"";var i=[];return e.ctrlKey&&i.push("Ctrl"),e.altKey&&i.push("Alt"),e.shiftKey&&i.push("Shift"),e.metaKey&&ne.OD.IS_MAC&&i.push("Cmd"),i.push(n),i.join(" ")}}(Ce||(Ce={})),function(e){e.CHORD_TIMEOUT=1e3,e.createCommand=function(e){var t,n;return e.icon&&"string"!=typeof e.icon?(n=c(e.iconClass,i),t=c(e.icon,d)):t=n=c(e.iconClass||e.icon,i),{execute:e.execute,describedBy:ve({args:null},e.describedBy),label:c(e.label,i),mnemonic:c(e.mnemonic,o),icon:t,iconClass:n,iconLabel:c(e.iconLabel,i),caption:c(e.caption,i),usage:c(e.usage,i),className:c(e.className,i),dataset:c(e.dataset,l),isEnabled:e.isEnabled||s,isToggled:e.isToggled||a,isToggleable:e.isToggleable||!!e.isToggled,isVisible:e.isVisible||s}},e.createKeyBinding=function(e){return{keys:Ce.normalizeKeys(e),selector:u(e),command:e.command,args:e.args||r.JSONExt.emptyObject}},e.matchKeyBinding=function(e,t,n){for(var i=null,r=!1,o=1/0,s=0,a=0,l=e.length;a<l;++a){var d=e[a],c=h(d.keys,t);if(0!==c)if(2!==c){var u=f(d.selector,n);if(!(-1===u||u>o)){var p=ne.MD.calculateSpecificity(d.selector);(!i||u<o||p>=s)&&(i=d,o=u,s=p)}}else r||-1===f(d.selector,n)||(r=!0)}return{exact:i,partial:r}},e.replayKeyEvent=function(e){e.target.dispatchEvent(function(e){var t=document.createEvent("Event"),n=e.bubbles||!0,i=e.cancelable||!0;return t.initEvent(e.type||"keydown",n,i),t.key=e.key||"",t.keyCode=e.keyCode||0,t.which=e.keyCode||0,t.ctrlKey=e.ctrlKey||!1,t.altKey=e.altKey||!1,t.shiftKey=e.shiftKey||!1,t.metaKey=e.metaKey||!1,t.view=e.view||window,t}(e))},e.formatKey=function(e){return ne.OD.IS_MAC?t.hasOwnProperty(e)?t[e]:e:n.hasOwnProperty(e)?n[e]:e};var t={Backspace:"⌫",Tab:"⇥",Enter:"↩",Shift:"⇧",Ctrl:"⌃",Alt:"⌥",Escape:"⎋",PageUp:"⇞",PageDown:"⇟",End:"↘",Home:"↖",ArrowLeft:"←",ArrowUp:"↑",ArrowRight:"→",ArrowDown:"↓",Delete:"⌦",Cmd:"⌘"},n={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},i=function(){return""},o=function(){return-1},s=function(){return!0},a=function(){return!1},l=function(){return{}},d=function(){};function c(e,t){return void 0===e?t:"function"==typeof e?e:function(){return e}}function u(e){if(-1!==e.selector.indexOf(","))throw new Error("Selector cannot contain commas: "+e.selector);if(!ne.MD.isValid(e.selector))throw new Error("Invalid selector: "+e.selector);return e.selector}function h(e,t){if(e.length<t.length)return 0;for(var n=0,i=t.length;n<i;++n)if(e[n]!==t[n])return 0;return e.length>t.length?2:1}function f(e,t){for(var n=t.target,i=t.currentTarget,r=0;null!==n;n=n.parentElement,++r){if(n.hasAttribute("data-lm-suppress-shortcuts"))return-1;if(n.hasAttribute("data-p-suppress-shortcuts"))return-1;if(ne.MD.matches(n,e))return r;if(n===i)return-1}return-1}}(be||(be={}));var ye,we,_e,Be=function(e,t){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Be(e,t)},Ee=function(e){this.type="text",this.content=e},xe=function(e,t,n,i){this.type="element",this.tag=e,this.attrs=t,this.children=n,this.renderer=i};function ke(e){for(var t,n={},i=[],r=1,o=arguments.length;r<o;++r){var s=arguments[r];"string"==typeof s?i.push(new Ee(s)):s instanceof Ee||s instanceof xe?i.push(s):s instanceof Array?a(i,s):1!==r&&2!==r||!s||"object"!=typeof s||("render"in s?t=s:n=s)}return new xe(e,n,i,t);function a(e,t){for(var n=0,i=t;n<i.length;n++){var r=i[n];"string"==typeof r?e.push(new Ee(r)):(r instanceof Ee||r instanceof xe)&&e.push(r)}}}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Be(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})((function(e,t,n){return _e.call(this,e,t,[],n||void 0)||this}),_e=xe),function(e){e.a=e.bind(void 0,"a"),e.abbr=e.bind(void 0,"abbr"),e.address=e.bind(void 0,"address"),e.area=e.bind(void 0,"area"),e.article=e.bind(void 0,"article"),e.aside=e.bind(void 0,"aside"),e.audio=e.bind(void 0,"audio"),e.b=e.bind(void 0,"b"),e.bdi=e.bind(void 0,"bdi"),e.bdo=e.bind(void 0,"bdo"),e.blockquote=e.bind(void 0,"blockquote"),e.br=e.bind(void 0,"br"),e.button=e.bind(void 0,"button"),e.canvas=e.bind(void 0,"canvas"),e.caption=e.bind(void 0,"caption"),e.cite=e.bind(void 0,"cite"),e.code=e.bind(void 0,"code"),e.col=e.bind(void 0,"col"),e.colgroup=e.bind(void 0,"colgroup"),e.data=e.bind(void 0,"data"),e.datalist=e.bind(void 0,"datalist"),e.dd=e.bind(void 0,"dd"),e.del=e.bind(void 0,"del"),e.dfn=e.bind(void 0,"dfn"),e.div=e.bind(void 0,"div"),e.dl=e.bind(void 0,"dl"),e.dt=e.bind(void 0,"dt"),e.em=e.bind(void 0,"em"),e.embed=e.bind(void 0,"embed"),e.fieldset=e.bind(void 0,"fieldset"),e.figcaption=e.bind(void 0,"figcaption"),e.figure=e.bind(void 0,"figure"),e.footer=e.bind(void 0,"footer"),e.form=e.bind(void 0,"form"),e.h1=e.bind(void 0,"h1"),e.h2=e.bind(void 0,"h2"),e.h3=e.bind(void 0,"h3"),e.h4=e.bind(void 0,"h4"),e.h5=e.bind(void 0,"h5"),e.h6=e.bind(void 0,"h6"),e.header=e.bind(void 0,"header"),e.hr=e.bind(void 0,"hr"),e.i=e.bind(void 0,"i"),e.iframe=e.bind(void 0,"iframe"),e.img=e.bind(void 0,"img"),e.input=e.bind(void 0,"input"),e.ins=e.bind(void 0,"ins"),e.kbd=e.bind(void 0,"kbd"),e.label=e.bind(void 0,"label"),e.legend=e.bind(void 0,"legend"),e.li=e.bind(void 0,"li"),e.main=e.bind(void 0,"main"),e.map=e.bind(void 0,"map"),e.mark=e.bind(void 0,"mark"),e.meter=e.bind(void 0,"meter"),e.nav=e.bind(void 0,"nav"),e.noscript=e.bind(void 0,"noscript"),e.object=e.bind(void 0,"object"),e.ol=e.bind(void 0,"ol"),e.optgroup=e.bind(void 0,"optgroup"),e.option=e.bind(void 0,"option"),e.output=e.bind(void 0,"output"),e.p=e.bind(void 0,"p"),e.param=e.bind(void 0,"param"),e.pre=e.bind(void 0,"pre"),e.progress=e.bind(void 0,"progress"),e.q=e.bind(void 0,"q"),e.rp=e.bind(void 0,"rp"),e.rt=e.bind(void 0,"rt"),e.ruby=e.bind(void 0,"ruby"),e.s=e.bind(void 0,"s"),e.samp=e.bind(void 0,"samp"),e.section=e.bind(void 0,"section"),e.select=e.bind(void 0,"select"),e.small=e.bind(void 0,"small"),e.source=e.bind(void 0,"source"),e.span=e.bind(void 0,"span"),e.strong=e.bind(void 0,"strong"),e.sub=e.bind(void 0,"sub"),e.summary=e.bind(void 0,"summary"),e.sup=e.bind(void 0,"sup"),e.table=e.bind(void 0,"table"),e.tbody=e.bind(void 0,"tbody"),e.td=e.bind(void 0,"td"),e.textarea=e.bind(void 0,"textarea"),e.tfoot=e.bind(void 0,"tfoot"),e.th=e.bind(void 0,"th"),e.thead=e.bind(void 0,"thead"),e.time=e.bind(void 0,"time"),e.title=e.bind(void 0,"title"),e.tr=e.bind(void 0,"tr"),e.track=e.bind(void 0,"track"),e.u=e.bind(void 0,"u"),e.ul=e.bind(void 0,"ul"),e.var_=e.bind(void 0,"var"),e.video=e.bind(void 0,"video"),e.wbr=e.bind(void 0,"wbr")}(ke||(ke={})),function(e){e.realize=function(e){return we.createDOMNode(e)},e.render=function(e,t){var n=we.hostMap.get(t)||[],i=we.asContentArray(e);we.hostMap.set(t,i),we.updateContent(t,n,i)}}(ye||(ye={})),function(e){function t(e){var n=arguments[1]||null,r=arguments[2]||null;if(n)n.insertBefore(t(e),r);else{if("text"===e.type)return document.createTextNode(e.content);if(function(e,t){for(var n in t)n in i||("on"===n.substr(0,2)?e[n]=t[n]:e.setAttribute(n,t[n]));void 0!==t.className&&e.setAttribute("class",t.className),void 0!==t.htmlFor&&e.setAttribute("for",t.htmlFor),t.dataset&&function(e,t){for(var n in t)e.setAttribute("data-"+n,t[n])}(e,t.dataset),t.style&&function(e,t){var n,i=e.style;for(n in t)i[n]=t[n]}(e,t.style)}(n=document.createElement(e.tag),e.attrs),e.renderer)return e.renderer.render(n,{attrs:e.attrs,children:e.children}),n;for(var o=0,s=e.children.length;o<s;++o)t(e.children[o],n)}return n}function n(e,t,i,r){for(var o=t.length-1;o>=i;--o){var s=t[o],a=r?e.lastChild:e.childNodes[o];"text"===s.type||(s.renderer&&s.renderer.unrender?s.renderer.unrender(a,{attrs:s.attrs,children:s.children}):n(a,s.children,0,!1)),r&&e.removeChild(a)}}e.hostMap=new WeakMap,e.asContentArray=function(e){return e?e instanceof Array?e:[e]:[]},e.createDOMNode=t,e.updateContent=function e(i,o,s){if(o!==s){for(var a=function(e,t){for(var n=e.firstChild,i=Object.create(null),r=0,o=t;r<o.length;r++){var s=o[r];"element"===s.type&&s.attrs.key&&(i[s.attrs.key]={vNode:s,element:n}),n=n.nextSibling}return i}(i,o),l=o.slice(),d=i.firstChild,c=s.length,u=0;u<c;++u)if(u>=l.length)t(s[u],i);else{var h=l[u],f=s[u];if(h!==f)if("text"!==h.type||"text"!==f.type)if("text"!==h.type&&"text"!==f.type)if(!h.renderer==!f.renderer){var p=f.attrs.key;if(p&&p in a){var A=a[p];A.vNode!==h&&(N.move(l,l.indexOf(A.vNode,u+1),u),i.insertBefore(A.element,d),h=A.vNode,d=A.element)}if(h!==f){var m=h.attrs.key;m&&m!==p?(N.insert(l,u,f),t(f,i,d)):h.tag===f.tag?(r(d,h.attrs,f.attrs),f.renderer?f.renderer.render(d,{attrs:f.attrs,children:f.children}):e(d,h.children,f.children),d=d.nextSibling):(N.insert(l,u,f),t(f,i,d))}else d=d.nextSibling}else N.insert(l,u,f),t(f,i,d);else N.insert(l,u,f),t(f,i,d);else d.textContent!==f.content&&(d.textContent=f.content),d=d.nextSibling;else d=d.nextSibling}n(i,l,c,!0)}};var i={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function r(e,t,n){if(t!==n){var r;for(r in t)r in i||r in n||("on"===r.substr(0,2)?e[r]=null:e.removeAttribute(r));for(r in n)r in i||t[r]===n[r]||("on"===r.substr(0,2)?e[r]=n[r]:e.setAttribute(r,n[r]));t.className!==n.className&&(void 0!==n.className?e.setAttribute("class",n.className):e.removeAttribute("class")),t.htmlFor!==n.htmlFor&&(void 0!==n.htmlFor?e.setAttribute("for",n.htmlFor):e.removeAttribute("for")),t.dataset!==n.dataset&&function(e,t,n){for(var i in t)i in n||e.removeAttribute("data-"+i);for(var r in n)t[r]!==n[r]&&e.setAttribute("data-"+r,n[r])}(e,t.dataset||{},n.dataset||{}),t.style!==n.style&&function(e,t,n){var i,r=e.style;for(i in t)i in n||(r[i]="");for(i in n)t[i]!==n[i]&&(r[i]=n[i])}(e,t.style||{},n.style||{})}}}(we||(we={}));var Te=function(e,t){return Te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Te(e,t)};function je(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Te(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var De,Se=function(){return Se=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Se.apply(this,arguments)},Ie=function(){this.sizeHint=0,this.minSize=0,this.maxSize=1/0,this.stretch=1,this.size=0,this.done=!1};!function(e){e.calc=function(e,t){var n=e.length;if(0===n)return t;for(var i=0,r=0,o=0,s=0,a=0,l=0;l<n;++l){var d=(b=e[l]).minSize,c=b.maxSize,u=b.sizeHint;b.done=!1,b.size=Math.max(d,Math.min(u,c)),o+=b.size,i+=d,r+=c,b.stretch>0&&(s+=b.stretch,a++)}if(t===o)return 0;if(t<=i){for(l=0;l<n;++l)(b=e[l]).size=b.minSize;return t-i}if(t>=r){for(l=0;l<n;++l)(b=e[l]).size=b.maxSize;return t-r}var h=.01,f=n;if(t<o){for(var p=o-t;a>0&&p>h;){var A=p,m=s;for(l=0;l<n;++l)if(!(b=e[l]).done&&0!==b.stretch){var g=b.stretch*A/m;b.size-g<=b.minSize?(p-=b.size-b.minSize,s-=b.stretch,b.size=b.minSize,b.done=!0,f--,a--):(p-=g,b.size-=g)}}for(;f>0&&p>h;)for(g=p/f,l=0;l<n;++l)(b=e[l]).done||(b.size-g<=b.minSize?(p-=b.size-b.minSize,b.size=b.minSize,b.done=!0,f--):(p-=g,b.size-=g))}else{for(p=t-o;a>0&&p>h;)for(A=p,m=s,l=0;l<n;++l)(b=e[l]).done||0===b.stretch||(g=b.stretch*A/m,b.size+g>=b.maxSize?(p-=b.maxSize-b.size,s-=b.stretch,b.size=b.maxSize,b.done=!0,f--,a--):(p-=g,b.size+=g));for(;f>0&&p>h;)for(g=p/f,l=0;l<n;++l){var b;(b=e[l]).done||(b.size+g>=b.maxSize?(p-=b.maxSize-b.size,b.size=b.maxSize,b.done=!0,f--):(p-=g,b.size+=g))}}return 0},e.adjust=function(e,t,n){0!==e.length&&0!==n&&(n>0?function(e,t,n){for(var i=0,r=0;r<=t;++r)i+=(d=e[r]).maxSize-d.size;for(var o=0,s=(r=t+1,e.length);r<s;++r)o+=(d=e[r]).size-d.minSize;var a=n=Math.min(n,i,o);for(r=t;r>=0&&a>0;--r)(c=(d=e[r]).maxSize-d.size)>=a?(d.sizeHint=d.size+a,a=0):(d.sizeHint=d.size+c,a-=c);var l=n;for(r=t+1,s=e.length;r<s&&l>0;++r){var d,c;(c=(d=e[r]).size-d.minSize)>=l?(d.sizeHint=d.size-l,l=0):(d.sizeHint=d.size-c,l-=c)}}(e,t,n):function(e,t,n){for(var i=0,r=t+1,o=e.length;r<o;++r)i+=(d=e[r]).maxSize-d.size;var s=0;for(r=0;r<=t;++r)s+=(d=e[r]).size-d.minSize;var a=n=Math.min(n,i,s);for(r=t+1,o=e.length;r<o&&a>0;++r)(c=(d=e[r]).maxSize-d.size)>=a?(d.sizeHint=d.size+a,a=0):(d.sizeHint=d.size+c,a-=c);var l=n;for(r=t;r>=0&&l>0;--r){var d,c;(c=(d=e[r]).size-d.minSize)>=l?(d.sizeHint=d.size-l,l=0):(d.sizeHint=d.size-c,l-=c)}}(e,t,-n))}}(De||(De={}));var Me,Pe=function(){function e(e){this._label="",this._caption="",this._mnemonic=-1,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new se(this),this._isDisposed=!1,this.owner=e.owner,void 0!==e.label&&(this._label=e.label),void 0!==e.mnemonic&&(this._mnemonic=e.mnemonic),void 0!==e.icon?"string"==typeof e.icon?(this._icon=null,this._iconClass=e.icon):this._icon=e.icon:this._icon=null,void 0!==e.iconClass&&(this._iconClass=e.iconClass),void 0!==e.iconLabel&&(this._iconLabel=e.iconLabel),void 0!==e.iconRenderer&&(this._icon=e.iconRenderer),void 0!==e.caption&&(this._caption=e.caption),void 0!==e.className&&(this._className=e.className),void 0!==e.closable&&(this._closable=e.closable),this._dataset=e.dataset||{}}return Object.defineProperty(e.prototype,"changed",{get:function(){return this._changed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},set:function(e){this._label!==e&&(this._label=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mnemonic",{get:function(){return this._mnemonic},set:function(e){this._mnemonic!==e&&(this._mnemonic=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return null===this._icon?this.iconClass:this._icon},set:function(e){if("string"==typeof e)this._icon=null,this.iconClass=e;else{if(this._icon===e)return;this._icon=e,this._changed.emit(void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return this._iconClass},set:function(e){this._iconClass!==e&&(this._iconClass=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconLabel",{get:function(){return this._iconLabel},set:function(e){this._iconLabel!==e&&(this._iconLabel=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconRenderer",{get:function(){return this._icon||void 0},set:function(e){this.icon=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this._caption},set:function(e){this._caption!==e&&(this._caption=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},set:function(e){this._className!==e&&(this._className=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closable",{get:function(){return this._closable},set:function(e){this._closable!==e&&(this._closable=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return this._dataset},set:function(e){this._dataset!==e&&(this._dataset=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.isDisposed||(this._isDisposed=!0,se.clearData(this))},e}(),Re=function(){function e(t){void 0===t&&(t={}),this._flags=0,this._layout=null,this._parent=null,this._disposed=new se(this),this._hiddenMode=e.HiddenMode.Display,this.node=Me.createNode(t),this.addClass("lm-Widget"),this.addClass("p-Widget")}return e.prototype.dispose=function(){this.isDisposed||(this.setFlag(e.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&e.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),se.clearData(this),ie.Mu.clearData(this),re.clearData(this))},Object.defineProperty(e.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this.testFlag(e.Flag.IsDisposed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAttached",{get:function(){return this.testFlag(e.Flag.IsAttached)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this.testFlag(e.Flag.IsHidden)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.testFlag(e.Flag.IsVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return Me.titleProperty.get(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.node.id},set:function(e){this.node.id=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return this.node.dataset},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(t){this._hiddenMode!==t&&(this.isHidden&&this._toggleHidden(!1),t==e.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=t,this.isHidden&&this._toggleHidden(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(t){if(this._parent!==t){if(t&&this.contains(t))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){var n=new e.ChildMessage("child-removed",this);ie.Mu.sendMessage(this._parent,n)}this._parent=t,this._parent&&!this._parent.isDisposed&&(n=new e.ChildMessage("child-added",this),ie.Mu.sendMessage(this._parent,n)),this.isDisposed||ie.Mu.sendMessage(this,e.Msg.ParentChanged)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout},set:function(t){if(this._layout!==t){if(this.testFlag(e.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(t.parent)throw new Error("Cannot change layout parent.");this._layout=t,t.parent=this}},enumerable:!0,configurable:!0}),e.prototype.children=function(){return this._layout?this._layout.iter():H()},e.prototype.contains=function(e){for(var t=e;t;t=t._parent)if(t===this)return!0;return!1},e.prototype.hasClass=function(e){return this.node.classList.contains(e)},e.prototype.addClass=function(e){this.node.classList.add(e)},e.prototype.removeClass=function(e){this.node.classList.remove(e)},e.prototype.toggleClass=function(e,t){return!0===t?(this.node.classList.add(e),!0):!1===t?(this.node.classList.remove(e),!1):this.node.classList.toggle(e)},e.prototype.update=function(){ie.Mu.postMessage(this,e.Msg.UpdateRequest)},e.prototype.fit=function(){ie.Mu.postMessage(this,e.Msg.FitRequest)},e.prototype.activate=function(){ie.Mu.postMessage(this,e.Msg.ActivateRequest)},e.prototype.close=function(){ie.Mu.sendMessage(this,e.Msg.CloseRequest)},e.prototype.show=function(){if(this.testFlag(e.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||ie.Mu.sendMessage(this,e.Msg.BeforeShow),this.clearFlag(e.Flag.IsHidden),this.node.removeAttribute("aria-hidden"),this._toggleHidden(!1),!this.isAttached||this.parent&&!this.parent.isVisible||ie.Mu.sendMessage(this,e.Msg.AfterShow),this.parent)){var t=new e.ChildMessage("child-shown",this);ie.Mu.sendMessage(this.parent,t)}},e.prototype.hide=function(){if(!this.testFlag(e.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||ie.Mu.sendMessage(this,e.Msg.BeforeHide),this.setFlag(e.Flag.IsHidden),this.node.setAttribute("aria-hidden","true"),this._toggleHidden(!0),!this.isAttached||this.parent&&!this.parent.isVisible||ie.Mu.sendMessage(this,e.Msg.AfterHide),this.parent)){var t=new e.ChildMessage("child-hidden",this);ie.Mu.sendMessage(this.parent,t)}},e.prototype.setHidden=function(e){e?this.hide():this.show()},e.prototype.testFlag=function(e){return!!(this._flags&e)},e.prototype.setFlag=function(e){this._flags|=e},e.prototype.clearFlag=function(e){this._flags&=~e},e.prototype.processMessage=function(t){switch(t.type){case"resize":this.notifyLayout(t),this.onResize(t);break;case"update-request":this.notifyLayout(t),this.onUpdateRequest(t);break;case"fit-request":this.notifyLayout(t),this.onFitRequest(t);break;case"before-show":this.notifyLayout(t),this.onBeforeShow(t);break;case"after-show":this.setFlag(e.Flag.IsVisible),this.notifyLayout(t),this.onAfterShow(t);break;case"before-hide":this.notifyLayout(t),this.onBeforeHide(t);break;case"after-hide":this.clearFlag(e.Flag.IsVisible),this.notifyLayout(t),this.onAfterHide(t);break;case"before-attach":this.notifyLayout(t),this.onBeforeAttach(t);break;case"after-attach":this.isHidden||this.parent&&!this.parent.isVisible||this.setFlag(e.Flag.IsVisible),this.setFlag(e.Flag.IsAttached),this.notifyLayout(t),this.onAfterAttach(t);break;case"before-detach":this.notifyLayout(t),this.onBeforeDetach(t);break;case"after-detach":this.clearFlag(e.Flag.IsVisible),this.clearFlag(e.Flag.IsAttached),this.notifyLayout(t),this.onAfterDetach(t);break;case"activate-request":this.notifyLayout(t),this.onActivateRequest(t);break;case"close-request":this.notifyLayout(t),this.onCloseRequest(t);break;case"child-added":this.notifyLayout(t),this.onChildAdded(t);break;case"child-removed":this.notifyLayout(t),this.onChildRemoved(t);break;default:this.notifyLayout(t)}},e.prototype.notifyLayout=function(e){this._layout&&this._layout.processParentMessage(e)},e.prototype.onCloseRequest=function(t){this.parent?this.parent=null:this.isAttached&&e.detach(this)},e.prototype.onResize=function(e){},e.prototype.onUpdateRequest=function(e){},e.prototype.onFitRequest=function(e){},e.prototype.onActivateRequest=function(e){},e.prototype.onBeforeShow=function(e){},e.prototype.onAfterShow=function(e){},e.prototype.onBeforeHide=function(e){},e.prototype.onAfterHide=function(e){},e.prototype.onBeforeAttach=function(e){},e.prototype.onAfterAttach=function(e){},e.prototype.onBeforeDetach=function(e){},e.prototype.onAfterDetach=function(e){},e.prototype.onChildAdded=function(e){},e.prototype.onChildRemoved=function(e){},e.prototype._toggleHidden=function(t){if(t)switch(this._hiddenMode){case e.HiddenMode.Display:this.addClass("lm-mod-hidden"),this.addClass("p-mod-hidden");break;case e.HiddenMode.Scale:this.node.style.transform="scale(0)";break;case e.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1"}else switch(this._hiddenMode){case e.HiddenMode.Display:this.removeClass("lm-mod-hidden"),this.removeClass("p-mod-hidden");break;case e.HiddenMode.Scale:this.node.style.transform="";break;case e.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex=""}},e}();!function(e){var t,n,i;(t=e.HiddenMode||(e.HiddenMode={}))[t.Display=0]="Display",t[t.Scale=1]="Scale",t[t.ContentVisibility=2]="ContentVisibility",(n=e.Flag||(e.Flag={}))[n.IsDisposed=1]="IsDisposed",n[n.IsAttached=2]="IsAttached",n[n.IsHidden=4]="IsHidden",n[n.IsVisible=8]="IsVisible",n[n.DisallowLayout=16]="DisallowLayout",(i=e.Msg||(e.Msg={})).BeforeShow=new ie.QB("before-show"),i.AfterShow=new ie.QB("after-show"),i.BeforeHide=new ie.QB("before-hide"),i.AfterHide=new ie.QB("after-hide"),i.BeforeAttach=new ie.QB("before-attach"),i.AfterAttach=new ie.QB("after-attach"),i.BeforeDetach=new ie.QB("before-detach"),i.AfterDetach=new ie.QB("after-detach"),i.ParentChanged=new ie.QB("parent-changed"),i.UpdateRequest=new ie.HS("update-request"),i.FitRequest=new ie.HS("fit-request"),i.ActivateRequest=new ie.HS("activate-request"),i.CloseRequest=new ie.HS("close-request");var r=function(e){function t(t,n){var i=e.call(this,t)||this;return i.child=n,i}return je(t,e),t}(ie.QB);e.ChildMessage=r;var o=function(e){function t(t,n){var i=e.call(this,"resize")||this;return i.width=t,i.height=n,i}return je(t,e),t}(ie.QB);e.ResizeMessage=o,function(e){e.UnknownSize=new e(-1,-1)}(o=e.ResizeMessage||(e.ResizeMessage={})),e.attach=function(t,n,i){if(void 0===i&&(i=null),t.parent)throw new Error("Cannot attach a child widget.");if(t.isAttached||t.node.isConnected)throw new Error("Widget is already attached.");if(!n.isConnected)throw new Error("Host is not attached.");ie.Mu.sendMessage(t,e.Msg.BeforeAttach),n.insertBefore(t.node,i),ie.Mu.sendMessage(t,e.Msg.AfterAttach)},e.detach=function(t){if(t.parent)throw new Error("Cannot detach a child widget.");if(!t.isAttached||!t.node.isConnected)throw new Error("Widget is not attached.");ie.Mu.sendMessage(t,e.Msg.BeforeDetach),t.node.parentNode.removeChild(t.node),ie.Mu.sendMessage(t,e.Msg.AfterDetach)}}(Re||(Re={})),function(e){e.titleProperty=new re({name:"title",create:function(e){return new Pe({owner:e})}}),e.createNode=function(e){return e.node||document.createElement(e.tag||"div")}}(Me||(Me={}));var Oe=function(){function e(e){void 0===e&&(e={}),this._disposed=!1,this._parent=null,this._fitPolicy=e.fitPolicy||"set-min-size"}return e.prototype.dispose=function(){this._parent=null,this._disposed=!0,se.clearData(this),re.clearData(this)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(e){if(this._parent!==e){if(this._parent)throw new Error("Cannot change parent widget.");if(e.layout!==this)throw new Error("Invalid parent widget.");this._parent=e,this.init()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fitPolicy",{get:function(){return this._fitPolicy},set:function(e){if(this._fitPolicy!==e&&(this._fitPolicy=e,this._parent)){var t=this._parent.node.style;t.minWidth="",t.minHeight="",t.maxWidth="",t.maxHeight="",this._parent.fit()}},enumerable:!0,configurable:!0}),e.prototype.processParentMessage=function(e){switch(e.type){case"resize":this.onResize(e);break;case"update-request":this.onUpdateRequest(e);break;case"fit-request":this.onFitRequest(e);break;case"before-show":this.onBeforeShow(e);break;case"after-show":this.onAfterShow(e);break;case"before-hide":this.onBeforeHide(e);break;case"after-hide":this.onAfterHide(e);break;case"before-attach":this.onBeforeAttach(e);break;case"after-attach":this.onAfterAttach(e);break;case"before-detach":this.onBeforeDetach(e);break;case"after-detach":this.onAfterDetach(e);break;case"child-removed":this.onChildRemoved(e);break;case"child-shown":this.onChildShown(e);break;case"child-hidden":this.onChildHidden(e)}},e.prototype.init=function(){var e=this;F(this,(function(t){t.parent=e.parent}))},e.prototype.onResize=function(e){F(this,(function(e){ie.Mu.sendMessage(e,Re.ResizeMessage.UnknownSize)}))},e.prototype.onUpdateRequest=function(e){F(this,(function(e){ie.Mu.sendMessage(e,Re.ResizeMessage.UnknownSize)}))},e.prototype.onBeforeAttach=function(e){F(this,(function(t){ie.Mu.sendMessage(t,e)}))},e.prototype.onAfterAttach=function(e){F(this,(function(t){ie.Mu.sendMessage(t,e)}))},e.prototype.onBeforeDetach=function(e){F(this,(function(t){ie.Mu.sendMessage(t,e)}))},e.prototype.onAfterDetach=function(e){F(this,(function(t){ie.Mu.sendMessage(t,e)}))},e.prototype.onBeforeShow=function(e){F(this,(function(t){t.isHidden||ie.Mu.sendMessage(t,e)}))},e.prototype.onAfterShow=function(e){F(this,(function(t){t.isHidden||ie.Mu.sendMessage(t,e)}))},e.prototype.onBeforeHide=function(e){F(this,(function(t){t.isHidden||ie.Mu.sendMessage(t,e)}))},e.prototype.onAfterHide=function(e){F(this,(function(t){t.isHidden||ie.Mu.sendMessage(t,e)}))},e.prototype.onChildRemoved=function(e){this.removeWidget(e.child)},e.prototype.onFitRequest=function(e){},e.prototype.onChildShown=function(e){},e.prototype.onChildHidden=function(e){},e}();!function(e){e.getHorizontalAlignment=function(e){return Le.horizontalAlignmentProperty.get(e)},e.setHorizontalAlignment=function(e,t){Le.horizontalAlignmentProperty.set(e,t)},e.getVerticalAlignment=function(e){return Le.verticalAlignmentProperty.get(e)},e.setVerticalAlignment=function(e,t){Le.verticalAlignmentProperty.set(e,t)}}(Oe||(Oe={}));var Le,Ne=function(){function e(e){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=e,this.widget.node.style.position="absolute"}return e.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var e=this.widget.node.style;e.position="",e.top="",e.left="",e.width="",e.height=""}},Object.defineProperty(e.prototype,"minWidth",{get:function(){return this._minWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this._minHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this._maxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxHeight",{get:function(){return this._maxHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this.widget.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.widget.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAttached",{get:function(){return this.widget.isAttached},enumerable:!0,configurable:!0}),e.prototype.fit=function(){var e=ne._$.sizeLimits(this.widget.node);this._minWidth=e.minWidth,this._minHeight=e.minHeight,this._maxWidth=e.maxWidth,this._maxHeight=e.maxHeight},e.prototype.update=function(e,t,n,i){var r=Math.max(this._minWidth,Math.min(n,this._maxWidth)),o=Math.max(this._minHeight,Math.min(i,this._maxHeight));if(r<n)switch(Oe.getHorizontalAlignment(this.widget)){case"left":break;case"center":e+=(n-r)/2;break;case"right":e+=n-r;break;default:throw"unreachable"}if(o<i)switch(Oe.getVerticalAlignment(this.widget)){case"top":break;case"center":t+=(i-o)/2;break;case"bottom":t+=i-o;break;default:throw"unreachable"}var s=!1,a=this.widget.node.style;if(this._top!==t&&(this._top=t,a.top=t+"px"),this._left!==e&&(this._left=e,a.left=e+"px"),this._width!==r&&(s=!0,this._width=r,a.width=r+"px"),this._height!==o&&(s=!0,this._height=o,a.height=o+"px"),s){var l=new Re.ResizeMessage(r,o);ie.Mu.sendMessage(this.widget,l)}},e}();!function(e){function t(e){e.parent&&e.parent.layout&&e.parent.update()}e.horizontalAlignmentProperty=new re({name:"horizontalAlignment",create:function(){return"center"},changed:t}),e.verticalAlignmentProperty=new re({name:"verticalAlignment",create:function(){return"top"},changed:t})}(Le||(Le={}));var ze,Fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._widgets=[],t}return je(t,e),t.prototype.dispose=function(){for(;this._widgets.length>0;)this._widgets.pop().dispose();e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return z(this._widgets)},t.prototype.addWidget=function(e){this.insertWidget(this._widgets.length,e)},t.prototype.insertWidget=function(e,t){t.parent=this.parent;var n=this._widgets.indexOf(t),i=Math.max(0,Math.min(e,this._widgets.length));if(-1===n)return N.insert(this._widgets,i,t),void(this.parent&&this.attachWidget(i,t));i===this._widgets.length&&i--,n!==i&&(N.move(this._widgets,n,i),this.parent&&this.moveWidget(n,i,t))},t.prototype.removeWidget=function(e){this.removeWidgetAt(this._widgets.indexOf(e))},t.prototype.removeWidgetAt=function(e){var t=N.removeAt(this._widgets,e);t&&this.parent&&this.detachWidget(e,t)},t.prototype.init=function(){var t=this;e.prototype.init.call(this),F(this,(function(e,n){t.attachWidget(n,e)}))},t.prototype.attachWidget=function(e,t){var n=this.parent.node.children[e];this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.BeforeAttach),this.parent.node.insertBefore(t.node,n),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.AfterAttach)},t.prototype.moveWidget=function(e,t,n){this.parent.isAttached&&ie.Mu.sendMessage(n,Re.Msg.BeforeDetach),this.parent.node.removeChild(n.node),this.parent.isAttached&&ie.Mu.sendMessage(n,Re.Msg.AfterDetach);var i=this.parent.node.children[t];this.parent.isAttached&&ie.Mu.sendMessage(n,Re.Msg.BeforeAttach),this.parent.node.insertBefore(n.node,i),this.parent.isAttached&&ie.Mu.sendMessage(n,Re.Msg.AfterAttach)},t.prototype.detachWidget=function(e,t){this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.AfterDetach)},t}(Oe);!function(e){e.clampDimension=function(e){return Math.max(0,Math.floor(e))}}(ze||(ze={}));var qe,Ue=ze,$e=function(e){function t(t){var n=e.call(this)||this;return n.widgetOffset=0,n._fixed=0,n._spacing=4,n._dirty=!1,n._hasNormedSizes=!1,n._sizers=[],n._items=[],n._handles=[],n._box=null,n._alignment="start",n._orientation="horizontal",n.renderer=t.renderer,void 0!==t.orientation&&(n._orientation=t.orientation),void 0!==t.alignment&&(n._alignment=t.alignment),void 0!==t.spacing&&(n._spacing=ze.clampDimension(t.spacing)),n}return je(t,e),t.prototype.dispose=function(){F(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this.parent&&(this.parent.dataset.orientation=e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this._alignment},set:function(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=ze.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handles",{get:function(){return this._handles},enumerable:!0,configurable:!0}),t.prototype.absoluteSizes=function(){return this._sizers.map((function(e){return e.size}))},t.prototype.relativeSizes=function(){return qe.normalize(this._sizers.map((function(e){return e.size})))},t.prototype.setRelativeSizes=function(e,t){void 0===t&&(t=!0);for(var n=this._sizers.length,i=e.slice(0,n);i.length<n;)i.push(0);for(var r=qe.normalize(i),o=0;o<n;++o){var s=this._sizers[o];s.sizeHint=r[o],s.size=r[o]}this._hasNormedSizes=!0,t&&this.parent&&this.parent.update()},t.prototype.moveHandle=function(e,t){var n,i=this._handles[e];if(i&&!i.classList.contains("lm-mod-hidden")&&0!=(n="horizontal"===this._orientation?t-i.offsetLeft:t-i.offsetTop)){for(var r=0,o=this._sizers;r<o.length;r++){var s=o[r];s.size>0&&(s.sizeHint=s.size)}De.adjust(this._sizers,e,n),this.parent&&this.parent.update()}},t.prototype.init=function(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,e.prototype.init.call(this)},t.prototype.attachWidget=function(e,t){var n=new Ne(t),i=qe.createHandle(this.renderer),r=qe.averageSize(this._sizers),o=qe.createSizer(r);N.insert(this._items,e,n),N.insert(this._sizers,e,o),N.insert(this._handles,e,i),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.node.appendChild(i),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,n){N.move(this._items,e,t),N.move(this._sizers,e,t),N.move(this._handles,e,t),this.parent.fit()},t.prototype.detachWidget=function(e,t){var n=N.removeAt(this._items,e),i=N.removeAt(this._handles,e);N.removeAt(this._sizers,e),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.node.removeChild(i),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.AfterDetach),n.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype.updateItemPosition=function(e,t,n,i,r,o,s){var a=this._items[e];if(!a.isHidden){var l=this._handles[e].style;t?(n+=this.widgetOffset,a.update(n,i,s,r),n+=s,l.top=i+"px",l.left=n+"px",l.width=this._spacing+"px",l.height=r+"px"):(i+=this.widgetOffset,a.update(n,i,o,s),i+=s,l.top=i+"px",l.left=n+"px",l.width=o+"px",l.height=this._spacing+"px")}},t.prototype._fit=function(){for(var e=0,n=-1,i=0,r=this._items.length;i<r;++i)this._items[i].isHidden?(this._handles[i].classList.add("lm-mod-hidden"),this._handles[i].classList.add("p-mod-hidden")):(this._handles[i].classList.remove("lm-mod-hidden"),this._handles[i].classList.remove("p-mod-hidden"),n=i,e++);-1!==n&&(this._handles[n].classList.add("lm-mod-hidden"),this._handles[n].classList.add("p-mod-hidden")),this._fixed=this._spacing*Math.max(0,e-1)+this.widgetOffset*this._items.length;var o="horizontal"===this._orientation,s=o?this._fixed:0,a=o?0:this._fixed;for(i=0,r=this._items.length;i<r;++i){var l=this._items[i],d=this._sizers[i];d.size>0&&(d.sizeHint=d.size),l.isHidden?(d.minSize=0,d.maxSize=0):(l.fit(),d.stretch=t.getStretch(l.widget),o?(d.minSize=l.minWidth,d.maxSize=l.maxWidth,s+=l.minWidth,a=Math.max(a,l.minHeight)):(d.minSize=l.minHeight,d.maxSize=l.maxHeight,a+=l.minHeight,s=Math.max(s,l.minWidth)))}var c=this._box=ne._$.boxSizing(this.parent.node);s+=c.horizontalSum,a+=c.verticalSum;var u=this.parent.node.style;u.minWidth=s+"px",u.minHeight=a+"px",this._dirty=!0,this.parent.parent&&ie.Mu.sendMessage(this.parent.parent,Re.Msg.FitRequest),this._dirty&&ie.Mu.sendMessage(this.parent,Re.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n||0!==this.widgetOffset){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=ne._$.boxSizing(this.parent.node));var o=this._box.paddingTop,s=this._box.paddingLeft,a=e-this._box.horizontalSum,l=t-this._box.verticalSum,d=0,c=0,u="horizontal"===this._orientation;if(n>0){var h;if(h=u?Math.max(0,a-this._fixed):Math.max(0,l-this._fixed),this._hasNormedSizes){for(var f=0,p=this._sizers;f<p.length;f++)p[f].sizeHint*=h;this._hasNormedSizes=!1}var A=De.calc(this._sizers,h);if(A>0)switch(this._alignment){case"start":break;case"center":d=0,c=A/2;break;case"end":d=0,c=A;break;case"justify":d=A/n,c=0;break;default:throw"unreachable"}}for(i=0,r=this._items.length;i<r;++i){var m=this._items[i].isHidden?0:this._sizers[i].size+d;this.updateItemPosition(i,u,u?s+c:s,u?o:o+c,l,a,m);var g=this.widgetOffset+(this._handles[i].classList.contains("lm-mod-hidden")?0:this._spacing);u?s+=m+g:o+=m+g}}},t}(Fe);!function(e){e.getStretch=function(e){return qe.stretchProperty.get(e)},e.setStretch=function(e,t){qe.stretchProperty.set(e,t)}}($e||($e={})),function(e){e.stretchProperty=new re({name:"stretch",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:function(e){e.parent&&e.parent.layout instanceof $e&&e.parent.fit()}}),e.createSizer=function(e){var t=new Ie;return t.sizeHint=Math.floor(e),t},e.createHandle=function(e){var t=e.createHandle();return t.style.position="absolute",t},e.averageSize=function(e){return e.reduce((function(e,t){return e+t.size}),0)/e.length||0},e.normalize=function(e){var t=e.length;if(0===t)return[];var n=e.reduce((function(e,t){return e+Math.abs(t)}),0);return 0===n?e.map((function(e){return 1/t})):e.map((function(e){return e/n}))}}(qe||(qe={}));var He,We=function(e){function t(t){var n=e.call(this,Se(Se({},t),{orientation:t.orientation||"vertical"}))||this;return n._titles=[],n.titleSpace=t.titleSpace||22,n}return je(t,e),Object.defineProperty(t.prototype,"titleSpace",{get:function(){return this.widgetOffset},set:function(e){e=Ue.clampDimension(e),this.widgetOffset!==e&&(this.widgetOffset=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this._titles.length=0,e.prototype.dispose.call(this))},t.prototype.updateTitle=function(e,t){var n=this._titles[e],i=n.classList.contains("lm-mod-expanded"),r=He.createTitle(this.renderer,t.title,i);this._titles[e]=r,this.parent.node.replaceChild(r,n)},t.prototype.attachWidget=function(t,n){var i=He.createTitle(this.renderer,n.title);N.insert(this._titles,t,i),this.parent.node.appendChild(i),n.node.setAttribute("role","region"),n.node.setAttribute("aria-labelledby",i.id),e.prototype.attachWidget.call(this,t,n)},t.prototype.moveWidget=function(t,n,i){N.move(this._titles,t,n),e.prototype.moveWidget.call(this,t,n,i)},t.prototype.detachWidget=function(t,n){var i=N.removeAt(this._titles,t);this.parent.node.removeChild(i),e.prototype.detachWidget.call(this,t,n)},t.prototype.updateItemPosition=function(t,n,i,r,o,s,a){var l=this._titles[t].style;l.top=r+"px",l.left=i+"px",l.height=this.widgetOffset+"px",l.width=n?o+"px":s+"px",e.prototype.updateItemPosition.call(this,t,n,i,r,o,s,a)},t}($e);!function(e){e.createTitle=function(e,t,n){void 0===n&&(n=!0);var i=e.createSectionTitle(t);return i.style.position="absolute",i.setAttribute("aria-label",t.label+" Section"),i.setAttribute("aria-expanded",n?"true":"false"),i.setAttribute("aria-controls",t.owner.id),n&&i.classList.add("lm-mod-expanded"),i}}(He||(He={}));var Ve,Ge=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.addClass("lm-Panel"),n.addClass("p-Panel"),n.layout=Ve.createLayout(t),n}return je(t,e),Object.defineProperty(t.prototype,"widgets",{get:function(){return this.layout.widgets},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(e){this.layout.addWidget(e)},t.prototype.insertWidget=function(e,t){this.layout.insertWidget(e,t)},t}(Re);!function(e){e.createLayout=function(e){return e.layout||new Fe}}(Ve||(Ve={}));var Ke,Ye=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,{layout:Ke.createLayout(t)})||this;return n._handleMoved=new se(n),n._pressData=null,n.addClass("lm-SplitPanel"),n.addClass("p-SplitPanel"),n}return je(t,e),t.prototype.dispose=function(){this._releaseMouse(),e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"orientation",{get:function(){return this.layout.orientation},set:function(e){this.layout.orientation=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this.layout.alignment},set:function(e){this.layout.alignment=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handleMoved",{get:function(){return this._handleMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handles",{get:function(){return this.layout.handles},enumerable:!0,configurable:!0}),t.prototype.relativeSizes=function(){return this.layout.relativeSizes()},t.prototype.setRelativeSizes=function(e,t){void 0===t&&(t=!0),this.layout.setRelativeSizes(e,t)},t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()},t.prototype.onChildAdded=function(e){e.child.addClass("lm-SplitPanel-child"),e.child.addClass("p-SplitPanel-child"),this._releaseMouse()},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-SplitPanel-child"),e.child.removeClass("p-SplitPanel-child"),this._releaseMouse()},t.prototype._evtKeyDown=function(e){this._pressData&&(e.preventDefault(),e.stopPropagation()),27===e.keyCode&&this._releaseMouse()},t.prototype._evtMouseDown=function(e){if(0===e.button){var t=this.layout,n=N.findFirstIndex(t.handles,(function(t){return t.contains(e.target)}));if(-1!==n){var i;e.preventDefault(),e.stopPropagation(),document.addEventListener("mouseup",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0);var r=t.handles[n],o=r.getBoundingClientRect();i="horizontal"===t.orientation?e.clientX-o.left:e.clientY-o.top;var s=window.getComputedStyle(r),a=fe.overrideCursor(s.cursor);this._pressData={index:n,delta:i,override:a}}}},t.prototype._evtMouseMove=function(e){var t;e.preventDefault(),e.stopPropagation();var n=this.layout,i=this.node.getBoundingClientRect();t="horizontal"===n.orientation?e.clientX-i.left-this._pressData.delta:e.clientY-i.top-this._pressData.delta,n.moveHandle(this._pressData.index,t)},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse())},t.prototype._releaseMouse=function(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._handleMoved.emit(),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("contextmenu",this,!0))},t}(Ge);!function(e){var t=function(){function e(){}return e.prototype.createHandle=function(){var e=document.createElement("div");return e.className="lm-SplitPanel-handle",e.classList.add("p-SplitPanel-handle"),e},e}();e.Renderer=t,e.defaultRenderer=new t,e.getStretch=function(e){return $e.getStretch(e)},e.setStretch=function(e,t){$e.setStretch(e,t)}}(Ye||(Ye={})),function(e){e.createLayout=function(e){return e.layout||new $e({renderer:e.renderer||Ye.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing})}}(Ke||(Ke={}));var Je,Xe=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,Se(Se({},t),{layout:Je.createLayout(t)}))||this;return n._widgetSizesCache=new WeakMap,n.addClass("lm-AccordionPanel"),n}return je(t,e),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titleSpace",{get:function(){return this.layout.titleSpace},set:function(e){this.layout.titleSpace=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this.layout.titles},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(t){e.prototype.addWidget.call(this,t),t.title.changed.connect(this._onTitleChanged,this)},t.prototype.collapse=function(e){var t=this.layout.widgets[e];t&&!t.isHidden&&this._toggleExpansion(e)},t.prototype.expand=function(e){var t=this.layout.widgets[e];t&&t.isHidden&&this._toggleExpansion(e)},t.prototype.insertWidget=function(t,n){e.prototype.insertWidget.call(this,t,n),n.title.changed.connect(this._onTitleChanged,this)},t.prototype.handleEvent=function(t){switch(e.prototype.handleEvent.call(this,t),t.type){case"click":this._evtClick(t);break;case"keydown":this._eventKeyDown(t)}},t.prototype.onBeforeAttach=function(t){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),e.prototype.onBeforeAttach.call(this,t)},t.prototype.onAfterDetach=function(t){e.prototype.onAfterDetach.call(this,t),this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this)},t.prototype._onTitleChanged=function(e){var t=N.findFirstIndex(this.widgets,(function(t){return t.contains(e.owner)}));t>=0&&(this.layout.updateTitle(t,e.owner),this.update())},t.prototype._computeWidgetSize=function(e){var t=this.layout,n=t.widgets[e];if(n){var i=n.isHidden,r=t.absoluteSizes(),o=(i?-1:1)*this.spacing,s=r.reduce((function(e,t){return e+t})),a=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}(r);if(i){var l=this._widgetSizesCache.get(n);if(!l)return;a[e]+=l,-1===(d=a.map((function(e){return e-l>0})).lastIndexOf(!0))?a.forEach((function(t,n){n!==e&&(a[n]-=r[n]/s*(l-o))})):a[d]-=l-o}else{var d,c=r[e];if(this._widgetSizesCache.set(n,c),a[e]=0,-1===(d=a.map((function(e){return e>0})).lastIndexOf(!0)))return;a[d]=r[d]+c+o}return a.map((function(e){return e/(s+o)}))}},t.prototype._evtClick=function(e){var t=e.target;if(t){var n=N.findFirstIndex(this.titles,(function(e){return e.contains(t)}));n>=0&&(e.preventDefault(),e.stopPropagation(),this._toggleExpansion(n))}},t.prototype._eventKeyDown=function(e){if(!e.defaultPrevented){var t=e.target,n=!1;if(t){var i=N.findFirstIndex(this.titles,(function(e){return e.contains(t)}));if(i>=0){var r=e.keyCode.toString();if(e.key.match(/Space|Enter/)||r.match(/13|32/))t.click(),n=!0;else if("horizontal"===this.orientation?e.key.match(/ArrowLeft|ArrowRight/)||r.match(/37|39/):e.key.match(/ArrowUp|ArrowDown/)||r.match(/38|40/)){var o=e.key.match(/ArrowLeft|ArrowUp/)||r.match(/37|38/)?-1:1,s=this.titles.length,a=(i+s+o)%s;this.titles[a].focus(),n=!0}else"End"===e.key||"35"===r?(this.titles[this.titles.length-1].focus(),n=!0):"Home"!==e.key&&"36"!==r||(this.titles[0].focus(),n=!0)}n&&e.preventDefault()}}},t.prototype._toggleExpansion=function(e){var t=this.titles[e],n=this.layout.widgets[e],i=this._computeWidgetSize(e);i&&this.setRelativeSizes(i,!1),n.isHidden?(t.classList.add("lm-mod-expanded"),t.setAttribute("aria-expanded","true"),n.show()):(t.classList.remove("lm-mod-expanded"),t.setAttribute("aria-expanded","false"),n.hide())},t}(Ye);!function(e){var t=function(e){function t(){var n=e.call(this)||this;return n.titleClassName="lm-AccordionPanel-title",n._titleID=0,n._titleKeys=new WeakMap,n._uuid=++t._nInstance,n}return je(t,e),t.prototype.createCollapseIcon=function(e){return document.createElement("span")},t.prototype.createSectionTitle=function(e){var t=document.createElement("h3");for(var n in t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.id=this.createTitleKey(e),t.className=this.titleClassName,e.dataset)t.dataset[n]=e.dataset[n];t.appendChild(this.createCollapseIcon(e)).className="lm-AccordionPanel-titleCollapser";var i=t.appendChild(document.createElement("span"));return i.className="lm-AccordionPanel-titleLabel",i.textContent=e.label,i.title=e.caption||e.label,t},t.prototype.createTitleKey=function(e){var t=this._titleKeys.get(e);return void 0===t&&(t="title-key-"+this._uuid+"-"+this._titleID++,this._titleKeys.set(e,t)),t},t._nInstance=0,t}(Ye.Renderer);e.Renderer=t,e.defaultRenderer=new t}(Xe||(Xe={})),function(e){e.createLayout=function(e){return e.layout||new We({renderer:e.renderer||Xe.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing,titleSpace:e.titleSpace})}}(Je||(Je={}));var Ze,Qe=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n._fixed=0,n._spacing=4,n._dirty=!1,n._sizers=[],n._items=[],n._box=null,n._alignment="start",n._direction="top-to-bottom",void 0!==t.direction&&(n._direction=t.direction),void 0!==t.alignment&&(n._alignment=t.alignment),void 0!==t.spacing&&(n._spacing=Ue.clampDimension(t.spacing)),n}return je(t,e),t.prototype.dispose=function(){F(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,this._sizers.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"direction",{get:function(){return this._direction},set:function(e){this._direction!==e&&(this._direction=e,this.parent&&(this.parent.dataset.direction=e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this._alignment},set:function(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=Ue.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),t.prototype.init=function(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,e.prototype.init.call(this)},t.prototype.attachWidget=function(e,t){N.insert(this._items,e,new Ne(t)),N.insert(this._sizers,e,new Ie),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,n){N.move(this._items,e,t),N.move(this._sizers,e,t),this.parent.update()},t.prototype.detachWidget=function(e,t){var n=N.removeAt(this._items,e);N.removeAt(this._sizers,e),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.AfterDetach),n.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,n=0,i=this._items.length;n<i;++n)e+=+!this._items[n].isHidden;this._fixed=this._spacing*Math.max(0,e-1);var r=Ze.isHorizontal(this._direction),o=r?this._fixed:0,s=r?0:this._fixed;for(n=0,i=this._items.length;n<i;++n){var a=this._items[n],l=this._sizers[n];a.isHidden?(l.minSize=0,l.maxSize=0):(a.fit(),l.sizeHint=t.getSizeBasis(a.widget),l.stretch=t.getStretch(a.widget),r?(l.minSize=a.minWidth,l.maxSize=a.maxWidth,o+=a.minWidth,s=Math.max(s,a.minHeight)):(l.minSize=a.minHeight,l.maxSize=a.maxHeight,s+=a.minHeight,o=Math.max(o,a.minWidth)))}var d=this._box=ne._$.boxSizing(this.parent.node);o+=d.horizontalSum,s+=d.verticalSum;var c=this.parent.node.style;c.minWidth=o+"px",c.minHeight=s+"px",this._dirty=!0,this.parent.parent&&ie.Mu.sendMessage(this.parent.parent,Re.Msg.FitRequest),this._dirty&&ie.Mu.sendMessage(this.parent,Re.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=ne._$.boxSizing(this.parent.node));var o,s=this._box.paddingTop,a=this._box.paddingLeft,l=e-this._box.horizontalSum,d=t-this._box.verticalSum;switch(this._direction){case"left-to-right":o=De.calc(this._sizers,Math.max(0,l-this._fixed));break;case"top-to-bottom":o=De.calc(this._sizers,Math.max(0,d-this._fixed));break;case"right-to-left":o=De.calc(this._sizers,Math.max(0,l-this._fixed)),a+=l;break;case"bottom-to-top":o=De.calc(this._sizers,Math.max(0,d-this._fixed)),s+=d;break;default:throw"unreachable"}var c=0,u=0;if(o>0)switch(this._alignment){case"start":break;case"center":c=0,u=o/2;break;case"end":c=0,u=o;break;case"justify":c=o/n,u=0;break;default:throw"unreachable"}for(i=0,r=this._items.length;i<r;++i){var h=this._items[i];if(!h.isHidden){var f=this._sizers[i].size;switch(this._direction){case"left-to-right":h.update(a+u,s,f+c,d),a+=f+c+this._spacing;break;case"top-to-bottom":h.update(a,s+u,l,f+c),s+=f+c+this._spacing;break;case"right-to-left":h.update(a-u-f-c,s,f+c,d),a-=f+c+this._spacing;break;case"bottom-to-top":h.update(a,s-u-f-c,l,f+c),s-=f+c+this._spacing;break;default:throw"unreachable"}}}}},t}(Fe);!function(e){e.getStretch=function(e){return Ze.stretchProperty.get(e)},e.setStretch=function(e,t){Ze.stretchProperty.set(e,t)},e.getSizeBasis=function(e){return Ze.sizeBasisProperty.get(e)},e.setSizeBasis=function(e,t){Ze.sizeBasisProperty.set(e,t)}}(Qe||(Qe={})),function(e){function t(e){e.parent&&e.parent.layout instanceof Qe&&e.parent.fit()}e.stretchProperty=new re({name:"stretch",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:t}),e.sizeBasisProperty=new re({name:"sizeBasis",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:t}),e.isHorizontal=function(e){return"left-to-right"===e||"right-to-left"===e},e.clampSpacing=function(e){return Math.max(0,Math.floor(e))}}(Ze||(Ze={}));var et,tt=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,{layout:et.createLayout(t)})||this;return n.addClass("lm-BoxPanel"),n.addClass("p-BoxPanel"),n}return je(t,e),Object.defineProperty(t.prototype,"direction",{get:function(){return this.layout.direction},set:function(e){this.layout.direction=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this.layout.alignment},set:function(e){this.layout.alignment=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),t.prototype.onChildAdded=function(e){e.child.addClass("lm-BoxPanel-child"),e.child.addClass("p-BoxPanel-child")},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-BoxPanel-child"),e.child.removeClass("p-BoxPanel-child")},t}(Ge);!function(e){e.getStretch=function(e){return Qe.getStretch(e)},e.setStretch=function(e,t){Qe.setStretch(e,t)},e.getSizeBasis=function(e){return Qe.getSizeBasis(e)},e.setSizeBasis=function(e,t){Qe.setSizeBasis(e,t)}}(tt||(tt={})),function(e){e.createLayout=function(e){return e.layout||new Qe(e)}}(et||(et={}));var nt,it=function(e){function t(n){var i=e.call(this,{node:nt.createNode()})||this;return i._activeIndex=-1,i._items=[],i._results=null,i.addClass("lm-CommandPalette"),i.addClass("p-CommandPalette"),i.setFlag(Re.Flag.DisallowLayout),i.commands=n.commands,i.renderer=n.renderer||t.defaultRenderer,i.commands.commandChanged.connect(i._onGenericChange,i),i.commands.keyBindingChanged.connect(i._onGenericChange,i),i}return je(t,e),t.prototype.dispose=function(){this._items.length=0,this._results=null,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"searchNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-search")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-input")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),t.prototype.addItem=function(e){var t=nt.createItem(this.commands,e);return this._items.push(t),this.refresh(),t},t.prototype.addItems=function(e){var t=this,n=e.map((function(e){return nt.createItem(t.commands,e)}));return n.forEach((function(e){return t._items.push(e)})),this.refresh(),n},t.prototype.removeItem=function(e){this.removeItemAt(this._items.indexOf(e))},t.prototype.removeItemAt=function(e){N.removeAt(this._items,e)&&this.refresh()},t.prototype.clearItems=function(){0!==this._items.length&&(this._items.length=0,this.refresh())},t.prototype.refresh=function(){this._results=null,""!==this.inputNode.value?this.node.getElementsByClassName("lm-close-icon")[0].style.display="inherit":this.node.getElementsByClassName("lm-close-icon")[0].style.display="none",this.update()},t.prototype.handleEvent=function(e){switch(e.type){case"click":this._evtClick(e);break;case"keydown":this._evtKeyDown(e);break;case"input":this.refresh();break;case"focus":case"blur":this._toggleFocused()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),this.node.addEventListener("input",this),this.node.addEventListener("focus",this,!0),this.node.addEventListener("blur",this,!0)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this),this.node.removeEventListener("input",this),this.node.removeEventListener("focus",this,!0),this.node.removeEventListener("blur",this,!0)},t.prototype.onActivateRequest=function(e){if(this.isAttached){var t=this.inputNode;t.focus(),t.select()}},t.prototype.onUpdateRequest=function(e){var t=this.inputNode.value,n=this.contentNode,i=this._results;if(i||(i=this._results=nt.search(this._items,t),this._activeIndex=t?N.findFirstIndex(i,nt.canActivate):-1),t||0!==i.length)if(t&&0===i.length){var r=this.renderer.renderEmptyMessage({query:t});ye.render(r,n)}else{for(var o=this.renderer,s=this._activeIndex,a=new Array(i.length),l=0,d=i.length;l<d;++l){var c=i[l];if("header"===c.type){var u=c.indices,h=c.category;a[l]=o.renderHeader({category:h,indices:u})}else{var f=c.item,p=(u=c.indices,l===s);a[l]=o.renderItem({item:f,indices:u,active:p})}}if(ye.render(a,n),s<0||s>=i.length)n.scrollTop=0;else{var A=n.children[s];ne._$.scrollIntoViewIfNeeded(n,A)}}else ye.render(null,n)},t.prototype._evtClick=function(e){if(0===e.button){if(e.target.classList.contains("lm-close-icon"))return this.inputNode.value="",void this.refresh();var t=N.findFirstIndex(this.contentNode.children,(function(t){return t.contains(e.target)}));-1!==t&&(e.preventDefault(),e.stopPropagation(),this._execute(t))}},t.prototype._evtKeyDown=function(e){if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey))switch(e.keyCode){case 13:e.preventDefault(),e.stopPropagation(),this._execute(this._activeIndex);break;case 38:e.preventDefault(),e.stopPropagation(),this._activatePreviousItem();break;case 40:e.preventDefault(),e.stopPropagation(),this._activateNextItem()}},t.prototype._activateNextItem=function(){if(this._results&&0!==this._results.length){var e=this._activeIndex,t=this._results.length,n=e<t-1?e+1:0,i=0===n?t-1:n-1;this._activeIndex=N.findFirstIndex(this._results,nt.canActivate,n,i),this.update()}},t.prototype._activatePreviousItem=function(){if(this._results&&0!==this._results.length){var e=this._activeIndex,t=this._results.length,n=e<=0?t-1:e-1,i=n===t-1?0:n+1;this._activeIndex=N.findLastIndex(this._results,nt.canActivate,n,i),this.update()}},t.prototype._execute=function(e){if(this._results){var t=this._results[e];if(t){if("header"===t.type){var n=this.inputNode;return n.value=t.category.toLowerCase()+" ",n.focus(),void this.refresh()}t.item.isEnabled&&(this.commands.execute(t.item.command,t.item.args),this.inputNode.value="",this.refresh())}}},t.prototype._toggleFocused=function(){var e=document.activeElement===this.inputNode;this.toggleClass("lm-mod-focused",e),this.toggleClass("p-mod-focused",e)},t.prototype._onGenericChange=function(){this.refresh()},t}(Re);!function(e){var t=function(){function e(){}return e.prototype.renderHeader=function(e){var t=this.formatHeader(e);return ke.li({className:"lm-CommandPalette-header p-CommandPalette-header"},t)},e.prototype.renderItem=function(e){var t=this.createItemClass(e),n=this.createItemDataset(e);return e.item.isToggleable?ke.li({className:t,dataset:n,role:"checkbox","aria-checked":""+e.item.isToggled},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e)):ke.li({className:t,dataset:n},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e))},e.prototype.renderEmptyMessage=function(e){var t=this.formatEmptyMessage(e);return ke.li({className:"lm-CommandPalette-emptyMessage p-CommandPalette-emptyMessage"},t)},e.prototype.renderItemIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.item.icon?ke.div({className:t},e.item.iconLabel):ke.div({className:t},e.item.icon,e.item.iconLabel)},e.prototype.renderItemContent=function(e){return ke.div({className:"lm-CommandPalette-itemContent p-CommandPalette-itemContent"},this.renderItemLabel(e),this.renderItemCaption(e))},e.prototype.renderItemLabel=function(e){var t=this.formatItemLabel(e);return ke.div({className:"lm-CommandPalette-itemLabel p-CommandPalette-itemLabel"},t)},e.prototype.renderItemCaption=function(e){var t=this.formatItemCaption(e);return ke.div({className:"lm-CommandPalette-itemCaption p-CommandPalette-itemCaption"},t)},e.prototype.renderItemShortcut=function(e){var t=this.formatItemShortcut(e);return ke.div({className:"lm-CommandPalette-itemShortcut p-CommandPalette-itemShortcut"},t)},e.prototype.createItemClass=function(e){var t="lm-CommandPalette-item";t+=" p-CommandPalette-item",e.item.isEnabled||(t+=" lm-mod-disabled",t+=" p-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled",t+=" p-mod-toggled"),e.active&&(t+=" lm-mod-active",t+=" p-mod-active");var n=e.item.className;return n&&(t+=" "+n),t},e.prototype.createItemDataset=function(e){return Se(Se({},e.item.dataset),{command:e.item.command})},e.prototype.createIconClass=function(e){var t="lm-CommandPalette-itemIcon";t+=" p-CommandPalette-itemIcon";var n=e.item.iconClass;return n?t+" "+n:t},e.prototype.formatHeader=function(e){return e.indices&&0!==e.indices.length?Q.highlight(e.category,e.indices,ke.mark):e.category},e.prototype.formatEmptyMessage=function(e){return"No commands found that match '"+e.query+"'"},e.prototype.formatItemShortcut=function(e){var t=e.item.keyBinding;return t?Ce.formatKeystroke(t.keys):null},e.prototype.formatItemLabel=function(e){return e.indices&&0!==e.indices.length?Q.highlight(e.item.label,e.indices,ke.mark):e.item.label},e.prototype.formatItemCaption=function(e){return e.item.caption},e}();e.Renderer=t,e.defaultRenderer=new t}(it||(it={})),function(e){function t(e,t){for(var n=e.category.toLowerCase(),i=n+" "+e.label.toLowerCase(),r=1/0,o=null,s=/\b\w/g;;){var a=s.exec(i);if(!a)break;var l=Q.matchSumOfDeltas(i,t,a.index);if(!l)break;l&&l.score<=r&&(r=l.score,o=l.indices)}if(!o||r===1/0)return null;for(var d=n.length+1,c=N.lowerBound(o,d,(function(e,t){return e-t})),u=o.slice(0,c),h=o.slice(c),f=0,p=h.length;f<p;++f)h[f]-=d;return 0===u.length?{matchType:0,categoryIndices:null,labelIndices:h,score:r,item:e}:0===h.length?{matchType:1,categoryIndices:u,labelIndices:null,score:r,item:e}:{matchType:2,categoryIndices:u,labelIndices:h,score:r,item:e}}function n(e,t){var n=e.matchType-t.matchType;if(0!==n)return n;var i=e.score-t.score;if(0!==i)return i;var r=0,o=0;switch(e.matchType){case 0:r=e.labelIndices[0],o=t.labelIndices[0];break;case 1:case 2:r=e.categoryIndices[0],o=t.categoryIndices[0]}if(r!==o)return r-o;var s=e.item.category.localeCompare(t.item.category);if(0!==s)return s;var a=e.item.rank,l=t.item.rank;return a!==l?a<l?-1:1:e.item.label.localeCompare(t.item.label)}e.createNode=function(){var e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("input"),r=document.createElement("ul"),o=document.createElement("button");return t.className="lm-CommandPalette-search",n.className="lm-CommandPalette-wrapper",i.className="lm-CommandPalette-input",o.className="lm-close-icon",r.className="lm-CommandPalette-content",t.classList.add("p-CommandPalette-search"),n.classList.add("p-CommandPalette-wrapper"),i.classList.add("p-CommandPalette-input"),r.classList.add("p-CommandPalette-content"),i.spellcheck=!1,n.appendChild(i),n.appendChild(o),t.appendChild(n),e.appendChild(t),e.appendChild(r),e},e.createItem=function(e,t){return new i(e,t)},e.search=function(e,i){var r=function(e,n){n=n.replace(/\s+/g,"").toLowerCase();for(var i=[],r=0,o=e.length;r<o;++r){var s=e[r];if(s.isVisible)if(n){var a=t(s,n);a&&(s.isEnabled||(a.score+=1e3),i.push(a))}else i.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:s})}return i}(e,i);return r.sort(n),function(e){var t=new Array(e.length);N.fill(t,!1);for(var n=[],i=0,r=e.length;i<r;++i)if(!t[i]){var o=e[i],s=o.item,a=o.categoryIndices,l=s.category;n.push({type:"header",category:l,indices:a});for(var d=i;d<r;++d)if(!t[d]){var c=e[d],u=c.item,h=c.labelIndices;u.category===l&&(n.push({type:"item",item:u,indices:h}),t[d]=!0)}}return n}(r)},e.canActivate=function(e){return"item"===e.type&&e.item.isEnabled};var i=function(){function e(e,t){this._commands=e,this.category=t.category.trim().replace(/\s+/g," "),this.command=t.command,this.args=t.args||r.JSONExt.emptyObject,this.rank=void 0!==t.rank?t.rank:1/0}return Object.defineProperty(e.prototype,"label",{get:function(){return this._commands.label(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return this._commands.icon(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return this._commands.iconClass(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconLabel",{get:function(){return this._commands.iconLabel(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this._commands.caption(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._commands.className(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return this._commands.dataset(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEnabled",{get:function(){return this._commands.isEnabled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isToggled",{get:function(){return this._commands.isToggled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isToggleable",{get:function(){return this._commands.isToggleable(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._commands.isVisible(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBinding",{get:function(){var e=this.command,t=this.args;return N.findLastValue(this._commands.keyBindings,(function(n){return n.command===e&&r.JSONExt.deepEqual(n.args,t)}))||null},enumerable:!0,configurable:!0}),e}()}(nt||(nt={}));var rt,ot,st=function(e){function t(n){var i=e.call(this,{node:rt.createNode()})||this;return i._childIndex=-1,i._activeIndex=-1,i._openTimerID=0,i._closeTimerID=0,i._items=[],i._childMenu=null,i._parentMenu=null,i._aboutToClose=new se(i),i._menuRequested=new se(i),i.addClass("lm-Menu"),i.addClass("p-Menu"),i.setFlag(Re.Flag.DisallowLayout),i.commands=n.commands,i.renderer=n.renderer||t.defaultRenderer,i}return je(t,e),t.prototype.dispose=function(){this.close(),this._items.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"aboutToClose",{get:function(){return this._aboutToClose},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menuRequested",{get:function(){return this._menuRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentMenu",{get:function(){return this._parentMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootMenu",{get:function(){for(var e=this;e._parentMenu;)e=e._parentMenu;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"leafMenu",{get:function(){for(var e=this;e._childMenu;)e=e._childMenu;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-Menu-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._items[this._activeIndex]||null},set:function(e){this.activeIndex=e?this._items.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(e){(e<0||e>=this._items.length)&&(e=-1),-1===e||rt.canActivate(this._items[e])||(e=-1),this._activeIndex!==e&&(this._activeIndex=e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),t.prototype.activateNextItem=function(){var e=this._items.length,t=this._activeIndex,n=t<e-1?t+1:0,i=0===n?e-1:n-1;this.activeIndex=N.findFirstIndex(this._items,rt.canActivate,n,i)},t.prototype.activatePreviousItem=function(){var e=this._items.length,t=this._activeIndex,n=t<=0?e-1:t-1,i=n===e-1?0:n+1;this.activeIndex=N.findLastIndex(this._items,rt.canActivate,n,i)},t.prototype.triggerActiveItem=function(){if(this.isAttached){var e=this.activeItem;if(e)if(this._cancelOpenTimer(),this._cancelCloseTimer(),"submenu"!==e.type){this.rootMenu.close();var t=e.command,n=e.args;this.commands.isEnabled(t,n)?this.commands.execute(t,n):console.log("Command '"+t+"' is disabled.")}else this._openChildMenu(!0)}},t.prototype.addItem=function(e){return this.insertItem(this._items.length,e)},t.prototype.insertItem=function(e,t){this.isAttached&&this.close(),this.activeIndex=-1;var n=Math.max(0,Math.min(e,this._items.length)),i=rt.createItem(this,t);return N.insert(this._items,n,i),this.update(),i},t.prototype.removeItem=function(e){this.removeItemAt(this._items.indexOf(e))},t.prototype.removeItemAt=function(e){this.isAttached&&this.close(),this.activeIndex=-1,N.removeAt(this._items,e)&&this.update()},t.prototype.clearItems=function(){this.isAttached&&this.close(),this.activeIndex=-1,0!==this._items.length&&(this._items.length=0,this.update())},t.prototype.open=function(e,t,n){if(void 0===n&&(n={}),!this.isAttached){var i=n.forceX||!1,r=n.forceY||!1;rt.openRootMenu(this,e,t,i,r),this.activate()}},t.prototype.handleEvent=function(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mouseup":this._evtMouseUp(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseenter":this._evtMouseEnter(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"mousedown":this._evtMouseDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)},t.prototype.onActivateRequest=function(e){this.isAttached&&this.node.focus()},t.prototype.onUpdateRequest=function(e){for(var t=this,n=this._items,i=this.renderer,r=this._activeIndex,o=rt.computeCollapsed(n),s=new Array(n.length),a=function(e,a){var l=n[e],d=e===r,c=o[e];s[e]=i.renderItem({item:l,active:d,collapsed:c,onfocus:function(){t.activeIndex=e}})},l=0,d=n.length;l<d;++l)a(l);ye.render(s,this.contentNode)},t.prototype.onCloseRequest=function(t){this._cancelOpenTimer(),this._cancelCloseTimer(),this.activeIndex=-1;var n=this._childMenu;n&&(this._childIndex=-1,this._childMenu=null,n._parentMenu=null,n.close());var i=this._parentMenu;i&&(this._parentMenu=null,i._childIndex=-1,i._childMenu=null,i.activate()),this.isAttached&&this._aboutToClose.emit(void 0),e.prototype.onCloseRequest.call(this,t)},t.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation();var t=e.keyCode;if(13!==t)if(27!==t)if(37!==t)if(38!==t)if(39!==t)if(40!==t){var n=pe().keyForKeydownEvent(e);if(n){var i=this._activeIndex+1,r=rt.findMnemonic(this._items,n,i);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.triggerActiveItem())}}else this.activateNextItem();else{var o=this.activeItem;o&&"submenu"===o.type?this.triggerActiveItem():this.rootMenu._menuRequested.emit("next")}else this.activatePreviousItem();else this._parentMenu?this.close():this._menuRequested.emit("previous");else this.close();else this.triggerActiveItem()},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this.triggerActiveItem())},t.prototype._evtMouseMove=function(e){var t=N.findFirstIndex(this.contentNode.children,(function(t){return ne._$.hitTest(t,e.clientX,e.clientY)}));if(t!==this._activeIndex){if(this.activeIndex=t,(t=this.activeIndex)===this._childIndex)return this._cancelOpenTimer(),void this._cancelCloseTimer();-1!==this._childIndex&&this._startCloseTimer(),this._cancelOpenTimer();var n=this.activeItem;n&&"submenu"===n.type&&n.submenu&&this._startOpenTimer()}},t.prototype._evtMouseEnter=function(e){for(var t=this._parentMenu;t;t=t._parentMenu)t._cancelOpenTimer(),t._cancelCloseTimer(),t.activeIndex=t._childIndex},t.prototype._evtMouseLeave=function(e){if(this._cancelOpenTimer(),this._childMenu){var t=e.clientX,n=e.clientY;ne._$.hitTest(this._childMenu.node,t,n)?this._cancelCloseTimer():(this.activeIndex=-1,this._startCloseTimer())}else this.activeIndex=-1},t.prototype._evtMouseDown=function(e){this._parentMenu||(rt.hitTestMenus(this,e.clientX,e.clientY)?(e.preventDefault(),e.stopPropagation()):this.close())},t.prototype._openChildMenu=function(e){void 0===e&&(e=!1);var n=this.activeItem;if(n&&"submenu"===n.type&&n.submenu){var i=n.submenu;if(i!==this._childMenu){t.saveWindowData(),this._closeChildMenu(),this._childMenu=i,this._childIndex=this._activeIndex,i._parentMenu=this,ie.Mu.sendMessage(this,Re.Msg.UpdateRequest);var r=this.contentNode.children[this._activeIndex];rt.openSubmenu(i,r),e&&(i.activeIndex=-1,i.activateNextItem()),i.activate()}}else this._closeChildMenu()},t.prototype._closeChildMenu=function(){this._childMenu&&this._childMenu.close()},t.prototype._startOpenTimer=function(){var e=this;0===this._openTimerID&&(this._openTimerID=window.setTimeout((function(){e._openTimerID=0,e._openChildMenu()}),rt.TIMER_DELAY))},t.prototype._startCloseTimer=function(){var e=this;0===this._closeTimerID&&(this._closeTimerID=window.setTimeout((function(){e._closeTimerID=0,e._closeChildMenu()}),rt.TIMER_DELAY))},t.prototype._cancelOpenTimer=function(){0!==this._openTimerID&&(clearTimeout(this._openTimerID),this._openTimerID=0)},t.prototype._cancelCloseTimer=function(){0!==this._closeTimerID&&(clearTimeout(this._closeTimerID),this._closeTimerID=0)},t.saveWindowData=function(){rt.saveWindowData()},t}(Re);!function(e){var t=function(){function e(){}return e.prototype.renderItem=function(e){var t=this.createItemClass(e),n=this.createItemDataset(e),i=this.createItemARIA(e);return ke.li(Se({className:t,dataset:n,tabindex:"0",onfocus:e.onfocus},i),this.renderIcon(e),this.renderLabel(e),this.renderShortcut(e),this.renderSubmenu(e))},e.prototype.renderIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.item.icon?ke.div({className:t},e.item.iconLabel):ke.div({className:t},e.item.icon,e.item.iconLabel)},e.prototype.renderLabel=function(e){var t=this.formatLabel(e);return ke.div({className:"lm-Menu-itemLabel p-Menu-itemLabel"},t)},e.prototype.renderShortcut=function(e){var t=this.formatShortcut(e);return ke.div({className:"lm-Menu-itemShortcut p-Menu-itemShortcut"},t)},e.prototype.renderSubmenu=function(e){return ke.div({className:"lm-Menu-itemSubmenuIcon p-Menu-itemSubmenuIcon"})},e.prototype.createItemClass=function(e){var t="lm-Menu-item";t+=" p-Menu-item",e.item.isEnabled||(t+=" lm-mod-disabled",t+=" p-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled",t+=" p-mod-toggled"),e.item.isVisible||(t+=" lm-mod-hidden",t+=" p-mod-hidden"),e.active&&(t+=" lm-mod-active",t+=" p-mod-active"),e.collapsed&&(t+=" lm-mod-collapsed",t+=" p-mod-collapsed");var n=e.item.className;return n&&(t+=" "+n),t},e.prototype.createItemDataset=function(e){var t=e.item,n=t.type,i=t.command,r=t.dataset;return Se(Se({},r),"command"===n?{type:n,command:i}:{type:n})},e.prototype.createIconClass=function(e){var t="lm-Menu-itemIcon";t+=" p-Menu-itemIcon";var n=e.item.iconClass;return n?t+" "+n:t},e.prototype.createItemARIA=function(e){var t={};switch(e.item.type){case"separator":t.role="presentation";break;case"submenu":t["aria-haspopup"]="true",e.item.isEnabled||(t["aria-disabled"]="true");break;default:e.item.isEnabled||(t["aria-disabled"]="true"),t.role="menuitem"}return t},e.prototype.formatLabel=function(e){var t=e.item,n=t.label,i=t.mnemonic;if(i<0||i>=n.length)return n;var r=n.slice(0,i),o=n.slice(i+1),s=n[i];return[r,ke.span({className:"lm-Menu-itemMnemonic p-Menu-itemMnemonic"},s),o]},e.prototype.formatShortcut=function(e){var t=e.item.keyBinding;return t?Ce.formatKeystroke(t.keys):null},e}();e.Renderer=t,e.defaultRenderer=new t}(st||(st={})),function(e){e.TIMER_DELAY=300,e.SUBMENU_OVERLAP=3;var t=null,n=0;function i(){return n>0?(n--,t):s()}function o(e){return"separator"!==e.type&&e.isEnabled&&e.isVisible}function s(){return{pageXOffset:window.pageXOffset,pageYOffset:window.pageYOffset,clientWidth:document.documentElement.clientWidth,clientHeight:document.documentElement.clientHeight}}e.saveWindowData=function(){t=s(),n++},e.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-Menu-content",t.classList.add("p-Menu-content"),e.appendChild(t),t.setAttribute("role","menu"),e.tabIndex=0,e},e.canActivate=o,e.createItem=function(e,t){return new a(e.commands,t)},e.hitTestMenus=function(e,t,n){for(var i=e;i;i=i.childMenu)if(ne._$.hitTest(i.node,t,n))return!0;return!1},e.computeCollapsed=function(e){var t=new Array(e.length);N.fill(t,!1);for(var n=0,i=e.length;n<i;++n)if((s=e[n]).isVisible){if("separator"!==s.type)break;t[n]=!0}for(var r=i-1;r>=0;--r)if((s=e[r]).isVisible){if("separator"!==s.type)break;t[r]=!0}for(var o=!1;++n<r;){var s;(s=e[n]).isVisible&&("separator"!==s.type?o=!1:o?t[n]=!0:o=!0)}return t},e.openRootMenu=function(e,t,n,r,o){var s=i(),a=s.pageXOffset,l=s.pageYOffset,d=s.clientWidth,c=s.clientHeight;ie.Mu.sendMessage(e,Re.Msg.UpdateRequest);var u=c-(o?n:0),h=e.node,f=h.style;f.opacity="0",f.maxHeight=u+"px",Re.attach(e,document.body);var p=h.getBoundingClientRect(),A=p.width,m=p.height;!r&&t+A>a+d&&(t=a+d-A),!o&&n+m>l+c&&(n>l+c?n=l+c-m:n-=m),f.transform="translate("+Math.max(0,t)+"px, "+Math.max(0,n)+"px",f.opacity="1"},e.openSubmenu=function(t,n){var r=i(),o=r.pageXOffset,s=r.pageYOffset,a=r.clientWidth,l=r.clientHeight;ie.Mu.sendMessage(t,Re.Msg.UpdateRequest);var d=l,c=t.node,u=c.style;u.opacity="0",u.maxHeight=d+"px",Re.attach(t,document.body);var h=c.getBoundingClientRect(),f=h.width,p=h.height,A=ne._$.boxSizing(t.node),m=n.getBoundingClientRect(),g=m.right-e.SUBMENU_OVERLAP;g+f>o+a&&(g=m.left+e.SUBMENU_OVERLAP-f);var b=m.top-A.borderTop-A.paddingTop;b+p>s+l&&(b=m.bottom+A.borderBottom+A.paddingBottom-p),u.transform="translate("+Math.max(0,g)+"px, "+Math.max(0,b)+"px",u.opacity="1"},e.findMnemonic=function(e,t,n){for(var i=-1,r=-1,s=!1,a=t.toUpperCase(),l=0,d=e.length;l<d;++l){var c=(l+n)%d,u=e[c];if(o(u)){var h=u.label;if(0!==h.length){var f=u.mnemonic;f>=0&&f<h.length?h[f].toUpperCase()===a&&(-1===i?i=c:s=!0):-1===r&&h[0].toUpperCase()===a&&(r=c)}}}return{index:i,multiple:s,auto:r}};var a=function(){function e(e,t){this._commands=e,this.type=t.type||"command",this.command=t.command||"",this.args=t.args||r.JSONExt.emptyObject,this.submenu=t.submenu||null}return Object.defineProperty(e.prototype,"label",{get:function(){return"command"===this.type?this._commands.label(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.label:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mnemonic",{get:function(){return"command"===this.type?this._commands.mnemonic(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.mnemonic:-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return"command"===this.type?this._commands.icon(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.icon:this.iconClass},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return"command"===this.type?this._commands.iconClass(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconClass:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconLabel",{get:function(){return"command"===this.type?this._commands.iconLabel(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconLabel:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return"command"===this.type?this._commands.caption(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.caption:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return"command"===this.type?this._commands.className(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.className:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return"command"===this.type?this._commands.dataset(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.dataset:{}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEnabled",{get:function(){return"command"===this.type?this._commands.isEnabled(this.command,this.args):"submenu"!==this.type||null!==this.submenu},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isToggled",{get:function(){return"command"===this.type&&this._commands.isToggled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return"command"===this.type?this._commands.isVisible(this.command,this.args):"submenu"!==this.type||null!==this.submenu},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBinding",{get:function(){if("command"===this.type){var e=this.command,t=this.args;return N.findLastValue(this._commands.keyBindings,(function(n){return n.command===e&&r.JSONExt.deepEqual(n.args,t)}))||null}return null},enumerable:!0,configurable:!0}),e}()}(rt||(rt={})),function(){function e(e){this._groupByTarget=!0,this._idTick=0,this._items=[],this._sortBySelector=!0;var t=e.groupByTarget,n=e.sortBySelector,i=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}(e,["groupByTarget","sortBySelector"]);this.menu=new st(i),this._groupByTarget=!1!==t,this._sortBySelector=!1!==n}e.prototype.addItem=function(e){var t=this,n=ot.createItem(e,this._idTick++);return this._items.push(n),new de((function(){N.removeFirstOf(t._items,n)}))},e.prototype.open=function(e){var t=this;if(st.saveWindowData(),this.menu.clearItems(),0===this._items.length)return!1;var n=ot.matchItems(this._items,e,this._groupByTarget,this._sortBySelector);return!(!n||0===n.length||(F(n,(function(e){t.menu.addItem(e)})),this.menu.open(e.clientX,e.clientY),0))}}(),function(e){function t(e,t){var n=e.rank,i=t.rank;return n!==i?n<i?-1:1:e.id-t.id}function n(e,n){var i=ne.MD.calculateSpecificity(e.selector),r=ne.MD.calculateSpecificity(n.selector);return i!==r?r-i:t(e,n)}e.createItem=function(e,t){var n=function(e){if(-1!==e.indexOf(","))throw new Error("Selector cannot contain commas: "+e);if(!ne.MD.isValid(e))throw new Error("Invalid selector: "+e);return e}(e.selector),i=void 0!==e.rank?e.rank:1/0;return Se(Se({},e),{selector:n,rank:i,id:t})},e.matchItems=function(e,i,r,o){var s=i.target;if(!s)return null;var a=i.currentTarget;if(!a)return null;if(!(a.contains(s)||(s=document.elementFromPoint(i.clientX,i.clientY))&&a.contains(s)))return null;for(var l=[],d=e.slice();null!==s;){for(var c=[],u=0,h=d.length;u<h;++u){var f=d[u];f&&ne.MD.matches(s,f.selector)&&(c.push(f),d[u]=null)}if(0!==c.length&&(r&&c.sort(o?n:t),l.push.apply(l,c)),s===a)break;s=s.parentElement}return r||l.sort(o?n:t),l}}(ot||(ot={}));var at,lt=function(e){function t(n){void 0===n&&(n={});var i=e.call(this,{node:at.createNode()})||this;return i._currentIndex=-1,i._titles=[],i._titlesEditable=!1,i._previousTitle=null,i._dragData=null,i._addButtonEnabled=!1,i._tabMoved=new se(i),i._currentChanged=new se(i),i._addRequested=new se(i),i._tabCloseRequested=new se(i),i._tabDetachRequested=new se(i),i._tabActivateRequested=new se(i),i.addClass("lm-TabBar"),i.addClass("p-TabBar"),i.contentNode.setAttribute("role","tablist"),i.setFlag(Re.Flag.DisallowLayout),i._document=n.document||document,i.tabsMovable=n.tabsMovable||!1,i.titlesEditable=n.titlesEditable||!1,i.allowDeselect=n.allowDeselect||!1,i.addButtonEnabled=n.addButtonEnabled||!1,i.insertBehavior=n.insertBehavior||"select-tab-if-needed",i.name=n.name||"",i.orientation=n.orientation||"horizontal",i.removeBehavior=n.removeBehavior||"select-tab-after",i.renderer=n.renderer||t.defaultRenderer,i}return je(t,e),t.prototype.dispose=function(){this._releaseMouse(),this._titles.length=0,this._previousTitle=null,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabMoved",{get:function(){return this._tabMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabActivateRequested",{get:function(){return this._tabActivateRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabCloseRequested",{get:function(){return this._tabCloseRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabDetachRequested",{get:function(){return this._tabDetachRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"document",{get:function(){return this._document},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titlesEditable",{get:function(){return this._titlesEditable},set:function(e){this._titlesEditable=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTitle",{get:function(){return this._titles[this._currentIndex]||null},set:function(e){this.currentIndex=e?this._titles.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){if((e<0||e>=this._titles.length)&&(e=-1),this._currentIndex!==e){var t=this._currentIndex,n=this._titles[t]||null,i=e,r=this._titles[i]||null;this._currentIndex=i,this._previousTitle=n,this.update(),this._currentChanged.emit({previousIndex:t,previousTitle:n,currentIndex:i,currentTitle:r})}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e,e?this.contentNode.setAttribute("aria-label",e):this.contentNode.removeAttribute("aria-label")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._releaseMouse(),this._orientation=e,this.dataset.orientation=e,this.contentNode.setAttribute("aria-orientation",e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(e){this._addButtonEnabled!==e&&(this._addButtonEnabled=e,e?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]},enumerable:!0,configurable:!0}),t.prototype.addTab=function(e){return this.insertTab(this._titles.length,e)},t.prototype.insertTab=function(e,t){this._releaseMouse();var n=at.asTitle(t),i=this._titles.indexOf(n),r=Math.max(0,Math.min(e,this._titles.length));return-1===i?(N.insert(this._titles,r,n),n.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(r,n),n):(r===this._titles.length&&r--,i===r||(N.move(this._titles,i,r),this.update(),this._adjustCurrentForMove(i,r)),n)},t.prototype.removeTab=function(e){this.removeTabAt(this._titles.indexOf(e))},t.prototype.removeTabAt=function(e){this._releaseMouse();var t=N.removeAt(this._titles,e);t&&(t.changed.disconnect(this._onTitleChanged,this),t===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(e,t))},t.prototype.clearTabs=function(){if(0!==this._titles.length){this._releaseMouse();for(var e=0,t=this._titles;e<t.length;e++)t[e].changed.disconnect(this._onTitleChanged,this);var n=this.currentIndex,i=this.currentTitle;this._currentIndex=-1,this._previousTitle=null,this._titles.length=0,this.update(),-1!==n&&this._currentChanged.emit({previousIndex:n,previousTitle:i,currentIndex:-1,currentTitle:null})}},t.prototype.releaseMouse=function(){this._releaseMouse()},t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"dblclick":this._evtDblClick(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this),this.node.addEventListener("dblclick",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this.node.removeEventListener("dblclick",this),this._releaseMouse()},t.prototype.onUpdateRequest=function(e){for(var t=this._titles,n=this.renderer,i=this.currentTitle,r=new Array(t.length),o=0,s=t.length;o<s;++o){var a=t[o],l=a===i,d=l?s:s-o-1;r[o]=n.renderTab({title:a,current:l,zIndex:d})}ye.render(r,this.contentNode)},t.prototype._evtDblClick=function(e){if(this.titlesEditable){var t=this.contentNode.children,n=N.findFirstIndex(t,(function(t){return ne._$.hitTest(t,e.clientX,e.clientY)}));if(-1!==n){var i=this.titles[n],r=t[n].querySelector(".lm-TabBar-tabLabel");if(r&&r.contains(e.target)){var o=i.label||"",s=r.innerHTML;r.innerHTML="";var a=document.createElement("input");a.classList.add("lm-TabBar-tabInput"),a.value=o,r.appendChild(a);var l=function(){a.removeEventListener("blur",l),r.innerHTML=s};a.addEventListener("dblclick",(function(e){return e.stopPropagation()})),a.addEventListener("blur",l),a.addEventListener("keydown",(function(e){"Enter"===e.key?(""!==a.value&&(i.label=i.caption=a.value),l()):"Escape"===e.key&&l()})),a.select(),a.focus(),r.children.length>0&&r.children[0].focus()}}}},t.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&this._releaseMouse()},t.prototype._evtMouseDown=function(e){if((0===e.button||1===e.button)&&!this._dragData){var t=this.addButtonEnabled&&this.addButtonNode.contains(e.target),n=this.contentNode.children,i=N.findFirstIndex(n,(function(t){return ne._$.hitTest(t,e.clientX,e.clientY)}));if((-1!==i||t)&&(e.preventDefault(),e.stopPropagation(),this._dragData={tab:n[i],index:i,pressX:e.clientX,pressY:e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("mouseup",this,!0),this.document.addEventListener("pointerup",this,!0),1!==e.button&&!t)){var r=n[i].querySelector(this.renderer.closeIconSelector);r&&r.contains(e.target)||(this.tabsMovable&&(this.document.addEventListener("mousemove",this,!0),this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===i?this.currentIndex=-1:this.currentIndex=i,-1!==this.currentIndex&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}}},t.prototype._evtMouseMove=function(e){var t=this._dragData;if(t){e.preventDefault(),e.stopPropagation();var n=this.contentNode.children;if(t.dragActive||at.dragExceeded(t,e)){if(!t.dragActive){var i=t.tab.getBoundingClientRect();"horizontal"===this._orientation?(t.tabPos=t.tab.offsetLeft,t.tabSize=i.width,t.tabPressPos=t.pressX-i.left):(t.tabPos=t.tab.offsetTop,t.tabSize=i.height,t.tabPressPos=t.pressY-i.top),t.tabLayout=at.snapTabLayout(n,this._orientation),t.contentRect=this.contentNode.getBoundingClientRect(),t.override=fe.overrideCursor("default"),t.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),t.tab.classList.add("p-mod-dragging"),this.addClass("p-mod-dragging"),t.dragActive=!0}if(!t.detachRequested&&at.detachExceeded(t,e)){t.detachRequested=!0;var r=t.index,o=e.clientX,s=e.clientY,a=n[r],l=this._titles[r];if(this._tabDetachRequested.emit({index:r,title:l,tab:a,clientX:o,clientY:s}),t.dragAborted)return}at.layoutTabs(n,t,e,this._orientation)}}},t.prototype._evtMouseUp=function(e){var t=this;if(0===e.button||1===e.button){var n=this._dragData;if(n){if(e.preventDefault(),e.stopPropagation(),this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!n.dragActive){if(this._dragData=null,this.addButtonEnabled&&this.addButtonNode.contains(e.target))return void this._addRequested.emit(void 0);var i=this.contentNode.children,r=N.findFirstIndex(i,(function(t){return ne._$.hitTest(t,e.clientX,e.clientY)}));if(r!==n.index)return;var o=this._titles[r];if(!o.closable)return;if(1===e.button)return void this._tabCloseRequested.emit({index:r,title:o});var s=i[r].querySelector(this.renderer.closeIconSelector);return s&&s.contains(e.target)?void this._tabCloseRequested.emit({index:r,title:o}):void 0}if(0===e.button){at.finalizeTabPosition(n,this._orientation),n.tab.classList.remove("lm-mod-dragging"),n.tab.classList.remove("p-mod-dragging");var a=at.parseTransitionDuration(n.tab);setTimeout((function(){if(!n.dragAborted){t._dragData=null,at.resetTabPositions(t.contentNode.children,t._orientation),n.override.dispose(),t.removeClass("lm-mod-dragging"),t.removeClass("p-mod-dragging");var e=n.index,i=n.targetIndex;-1!==i&&e!==i&&(N.move(t._titles,e,i),t._adjustCurrentForMove(e,i),t._tabMoved.emit({fromIndex:e,toIndex:i,title:t._titles[i]}),ie.Mu.sendMessage(t,Re.Msg.UpdateRequest))}}),a)}}}},t.prototype._releaseMouse=function(){var e=this._dragData;e&&(this._dragData=null,this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),e.dragAborted=!0,e.dragActive&&(at.resetTabPositions(this.contentNode.children,this._orientation),e.override.dispose(),e.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging"),e.tab.classList.remove("p-mod-dragging"),this.removeClass("p-mod-dragging")))},t.prototype._adjustCurrentForInsert=function(e,t){var n=this.currentTitle,i=this._currentIndex,r=this.insertBehavior;if("select-tab"===r||"select-tab-if-needed"===r&&-1===i)return this._currentIndex=e,this._previousTitle=n,void this._currentChanged.emit({previousIndex:i,previousTitle:n,currentIndex:e,currentTitle:t});i>=e&&this._currentIndex++},t.prototype._adjustCurrentForMove=function(e,t){this._currentIndex===e?this._currentIndex=t:this._currentIndex<e&&this._currentIndex>=t?this._currentIndex++:this._currentIndex>e&&this._currentIndex<=t&&this._currentIndex--},t.prototype._adjustCurrentForRemove=function(e,t){var n=this._currentIndex,i=this.removeBehavior;if(n===e){if(0===this._titles.length)return this._currentIndex=-1,void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null});if("select-tab-after"===i)return this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-tab-before"===i)return this._currentIndex=Math.max(0,e-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-previous-tab"===i)return this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});this._currentIndex=-1,this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null})}else n>e&&this._currentIndex--},t.prototype._onTitleChanged=function(e){this.update()},t}(Re);!function(e){var t=function(){function e(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++e._nInstance}return e.prototype.renderTab=function(e){var t=e.title.caption,n=this.createTabKey(e),i=n,r=this.createTabStyle(e),o=this.createTabClass(e),s=this.createTabDataset(e),a=this.createTabARIA(e);return e.title.closable?ke.li(Se({id:i,key:n,className:o,title:t,style:r,dataset:s},a),this.renderIcon(e),this.renderLabel(e),this.renderCloseIcon(e)):ke.li(Se({id:i,key:n,className:o,title:t,style:r,dataset:s},a),this.renderIcon(e),this.renderLabel(e))},e.prototype.renderIcon=function(e){var t=e.title,n=this.createIconClass(e);return"string"==typeof t.icon?ke.div({className:n},t.iconLabel):ke.div({className:n},t.icon,t.iconLabel)},e.prototype.renderLabel=function(e){return ke.div({className:"lm-TabBar-tabLabel p-TabBar-tabLabel"},e.title.label)},e.prototype.renderCloseIcon=function(e){return ke.div({className:"lm-TabBar-tabCloseIcon p-TabBar-tabCloseIcon"})},e.prototype.createTabKey=function(e){var t=this._tabKeys.get(e.title);return void 0===t&&(t="tab-key-"+this._uuid+"-"+this._tabID++,this._tabKeys.set(e.title,t)),t},e.prototype.createTabStyle=function(e){return{zIndex:""+e.zIndex}},e.prototype.createTabClass=function(e){var t="lm-TabBar-tab";return t+=" p-TabBar-tab",e.title.className&&(t+=" "+e.title.className),e.title.closable&&(t+=" lm-mod-closable",t+=" p-mod-closable"),e.current&&(t+=" lm-mod-current",t+=" p-mod-current"),t},e.prototype.createTabDataset=function(e){return e.title.dataset},e.prototype.createTabARIA=function(e){return{role:"tab","aria-selected":e.current.toString()}},e.prototype.createIconClass=function(e){var t="lm-TabBar-tabIcon";t+=" p-TabBar-tabIcon";var n=e.title.iconClass;return n?t+" "+n:t},e._nInstance=0,e}();e.Renderer=t,e.defaultRenderer=new t,e.addButtonSelector=".lm-TabBar-addButton"}(lt||(lt={})),function(e){e.DRAG_THRESHOLD=5,e.DETACH_THRESHOLD=20,e.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");t.setAttribute("role","tablist"),t.className="lm-TabBar-content",t.classList.add("p-TabBar-content"),e.appendChild(t);var n=document.createElement("div");return n.className="lm-TabBar-addButton lm-mod-hidden",e.appendChild(n),e},e.asTitle=function(e){return e instanceof Pe?e:new Pe(e)},e.parseTransitionDuration=function(e){var t=window.getComputedStyle(e);return 1e3*(parseFloat(t.transitionDuration)||0)},e.snapTabLayout=function(e,t){for(var n=new Array(e.length),i=0,r=e.length;i<r;++i){var o=e[i],s=window.getComputedStyle(o);n[i]="horizontal"===t?{pos:o.offsetLeft,size:o.offsetWidth,margin:parseFloat(s.marginLeft)||0}:{pos:o.offsetTop,size:o.offsetHeight,margin:parseFloat(s.marginTop)||0}}return n},e.dragExceeded=function(t,n){var i=Math.abs(n.clientX-t.pressX),r=Math.abs(n.clientY-t.pressY);return i>=e.DRAG_THRESHOLD||r>=e.DRAG_THRESHOLD},e.detachExceeded=function(t,n){var i=t.contentRect;return n.clientX<i.left-e.DETACH_THRESHOLD||n.clientX>=i.right+e.DETACH_THRESHOLD||n.clientY<i.top-e.DETACH_THRESHOLD||n.clientY>=i.bottom+e.DETACH_THRESHOLD},e.layoutTabs=function(e,t,n,i){var r,o,s,a;"horizontal"===i?(r=t.pressX,o=n.clientX-t.contentRect.left,s=n.clientX,a=t.contentRect.width):(r=t.pressY,o=n.clientY-t.contentRect.top,s=n.clientY,a=t.contentRect.height);for(var l=t.index,d=o-t.tabPressPos,c=d+t.tabSize,u=0,h=e.length;u<h;++u){var f=void 0,p=t.tabLayout[u],A=p.pos+(p.size>>1);if(u<t.index&&d<A)f=t.tabSize+t.tabLayout[u+1].margin+"px",l=Math.min(l,u);else if(u>t.index&&c>A)f=-t.tabSize-p.margin+"px",l=Math.max(l,u);else if(u===t.index){var m=s-r,g=a-(t.tabPos+t.tabSize);f=Math.max(-t.tabPos,Math.min(m,g))+"px"}else f="";"horizontal"===i?e[u].style.left=f:e[u].style.top=f}t.targetIndex=l},e.finalizeTabPosition=function(e,t){var n,i;if(n="horizontal"===t?e.contentRect.width:e.contentRect.height,e.targetIndex===e.index)i=0;else if(e.targetIndex>e.index)i=(r=e.tabLayout[e.targetIndex]).pos+r.size-e.tabSize-e.tabPos;else{var r;i=(r=e.tabLayout[e.targetIndex]).pos-e.tabPos}var o=n-(e.tabPos+e.tabSize),s=Math.max(-e.tabPos,Math.min(i,o));"horizontal"===t?e.tab.style.left=s+"px":e.tab.style.top=s+"px"},e.resetTabPositions=function(e,t){F(e,(function(e){"horizontal"===t?e.style.left="":e.style.top=""}))}}(at||(at={}));var dt,ct=function(e){function t(t){var n=e.call(this)||this;return n._spacing=4,n._dirty=!1,n._root=null,n._box=null,n._items=new Map,n.renderer=t.renderer,void 0!==t.spacing&&(n._spacing=Ue.clampDimension(t.spacing)),n._document=t.document||document,n._hiddenMode=void 0!==t.hiddenMode?t.hiddenMode:Re.HiddenMode.Display,n}return je(t,e),t.prototype.dispose=function(){var t=this.iter();this._items.forEach((function(e){e.dispose()})),this._box=null,this._root=null,this._items.clear(),F(t,(function(e){e.dispose()})),e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(e){var t=this;this._hiddenMode!==e&&(this._hiddenMode=e,F(this.tabBars(),(function(e){e.titles.length>1&&e.titles.forEach((function(e){e.owner.hiddenMode=t._hiddenMode}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=Ue.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return null===this._root},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return this._root?this._root.iterAllWidgets():H()},t.prototype.widgets=function(){return this._root?this._root.iterUserWidgets():H()},t.prototype.selectedWidgets=function(){return this._root?this._root.iterSelectedWidgets():H()},t.prototype.tabBars=function(){return this._root?this._root.iterTabBars():H()},t.prototype.handles=function(){return this._root?this._root.iterHandles():H()},t.prototype.moveHandle=function(e,t,n){var i=e.classList.contains("lm-mod-hidden");if(i=i||e.classList.contains("p-mod-hidden"),this._root&&!i){var r,o=this._root.findSplitNode(e);o&&0!=(r="horizontal"===o.node.orientation?t-e.offsetLeft:n-e.offsetTop)&&(o.node.holdSizes(),De.adjust(o.node.sizers,o.index,r),this.parent&&this.parent.update())}},t.prototype.saveLayout=function(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}},t.prototype.restoreLayout=function(e){var t,n=this,i=new Set;t=e.main?dt.normalizeAreaConfig(e.main,i):null;var r=this.widgets(),o=this.tabBars(),s=this.handles();this._root=null,F(r,(function(e){i.has(e)||(e.parent=null)})),F(o,(function(e){e.dispose()})),F(s,(function(e){e.parentNode&&e.parentNode.removeChild(e)})),i.forEach((function(e){e.parent=n.parent})),this._root=t?dt.realizeAreaConfig(t,{createTabBar:function(e){return n._createTabBar()},createHandle:function(){return n._createHandle()}},this._document):null,this.parent&&(i.forEach((function(e){n.attachWidget(e)})),this.parent.fit())},t.prototype.addWidget=function(e,t){void 0===t&&(t={});var n=t.ref||null,i=t.mode||"tab-after",r=null;if(this._root&&n&&(r=this._root.findTabNode(n)),n&&!r)throw new Error("Reference widget is not in the layout.");switch(e.parent=this.parent,i){case"tab-after":this._insertTab(e,n,r,!0);break;case"tab-before":this._insertTab(e,n,r,!1);break;case"split-top":this._insertSplit(e,n,r,"vertical",!1);break;case"split-left":this._insertSplit(e,n,r,"horizontal",!1);break;case"split-right":this._insertSplit(e,n,r,"horizontal",!0);break;case"split-bottom":this._insertSplit(e,n,r,"vertical",!0)}this.parent&&(this.attachWidget(e),this.parent.fit())},t.prototype.removeWidget=function(e){this._removeWidget(e),this.parent&&(this.detachWidget(e),this.parent.fit())},t.prototype.hitTestTabAreas=function(e,t){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=ne._$.boxSizing(this.parent.node));var n=this.parent.node.getBoundingClientRect(),i=e-n.left-this._box.borderLeft,r=t-n.top-this._box.borderTop,o=this._root.hitTestTabNodes(i,r);if(!o)return null;var s=o.tabBar,a=o.top,l=o.left,d=o.width,c=o.height,u=this._box.borderLeft+this._box.borderRight,h=this._box.borderTop+this._box.borderBottom;return{tabBar:s,x:i,y:r,top:a,left:l,right:n.width-u-(l+d),bottom:n.height-h-(a+c),width:d,height:c}},t.prototype.init=function(){var t=this;e.prototype.init.call(this),F(this,(function(e){t.attachWidget(e)})),F(this.handles(),(function(e){t.parent.node.appendChild(e)})),this.parent.fit()},t.prototype.attachWidget=function(e){this.parent.node!==e.node.parentNode&&(this._items.set(e,new Ne(e)),this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.AfterAttach))},t.prototype.detachWidget=function(e){if(this.parent.node===e.node.parentNode){this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.AfterDetach);var t=this._items.get(e);t&&(this._items.delete(e),t.dispose())}},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._removeWidget=function(e){if(this._root){var t=this._root.findTabNode(e);if(t)if(dt.removeAria(e),t.tabBar.titles.length>1)t.tabBar.removeTab(e.title),this._hiddenMode===Re.HiddenMode.Scale&&1==t.tabBar.titles.length&&(t.tabBar.titles[0].owner.hiddenMode=Re.HiddenMode.Display);else if(t.tabBar.dispose(),this._root!==t){this._root.holdAllSizes();var n=t.parent;t.parent=null;var i=N.removeFirstOf(n.children,t),r=N.removeAt(n.handles,i);if(N.removeAt(n.sizers,i),r.parentNode&&r.parentNode.removeChild(r),n.children.length>1)n.syncHandles();else{var o=n.parent;n.parent=null;var s=n.children[0],a=n.handles[0];if(n.children.length=0,n.handles.length=0,n.sizers.length=0,a.parentNode&&a.parentNode.removeChild(a),this._root===n)return s.parent=null,void(this._root=s);var l=o,d=l.children.indexOf(n);if(s instanceof dt.TabLayoutNode)return s.parent=l,void(l.children[d]=s);var c=N.removeAt(l.handles,d);N.removeAt(l.children,d),N.removeAt(l.sizers,d),c.parentNode&&c.parentNode.removeChild(c);for(var u=0,h=s.children.length;u<h;++u){var f=s.children[u],p=s.handles[u],A=s.sizers[u];N.insert(l.children,d+u,f),N.insert(l.handles,d+u,p),N.insert(l.sizers,d+u,A),f.parent=l}s.children.length=0,s.handles.length=0,s.sizers.length=0,s.parent=null,l.syncHandles()}}else this._root=null}},t.prototype._insertTab=function(e,t,n,i){if(e!==t){if(!this._root){var r=new dt.TabLayoutNode(this._createTabBar());return r.tabBar.addTab(e.title),this._root=r,void dt.addAria(e,r.tabBar)}var o;n||(n=this._root.findFirstTabNode()),-1===n.tabBar.titles.indexOf(e.title)&&(this._removeWidget(e),e.hide()),o=t?n.tabBar.titles.indexOf(t.title):n.tabBar.currentIndex,this._hiddenMode===Re.HiddenMode.Scale?0===n.tabBar.titles.length?e.hiddenMode=Re.HiddenMode.Display:1==n.tabBar.titles.length?n.tabBar.titles[0].owner.hiddenMode=Re.HiddenMode.Scale:e.hiddenMode=Re.HiddenMode.Scale:e.hiddenMode=this._hiddenMode,n.tabBar.insertTab(o+(i?1:0),e.title),dt.addAria(e,n.tabBar)}},t.prototype._insertSplit=function(e,t,n,i,r){if(e!==t||!n||1!==n.tabBar.titles.length){this._removeWidget(e);var o=new dt.TabLayoutNode(this._createTabBar());if(o.tabBar.addTab(e.title),dt.addAria(e,o.tabBar),this._root){if(!n||!n.parent){var s=this._splitRoot(i),a=r?s.children.length:0;s.normalizeSizes();var l=dt.createSizer(n?1:dt.GOLDEN_RATIO);return N.insert(s.children,a,o),N.insert(s.sizers,a,l),N.insert(s.handles,a,this._createHandle()),o.parent=s,s.normalizeSizes(),void s.syncHandles()}var d=n.parent;if(d.orientation===i){var c=d.children.indexOf(n);d.normalizeSizes();var u=d.sizers[c].sizeHint/=2,h=c+(r?1:0);return N.insert(d.children,h,o),N.insert(d.sizers,h,dt.createSizer(u)),N.insert(d.handles,h,this._createHandle()),o.parent=d,void d.syncHandles()}var f=N.removeFirstOf(d.children,n),p=new dt.SplitLayoutNode(i);p.normalized=!0,p.children.push(n),p.sizers.push(dt.createSizer(.5)),p.handles.push(this._createHandle()),n.parent=p;var A=r?1:0;N.insert(p.children,A,o),N.insert(p.sizers,A,dt.createSizer(.5)),N.insert(p.handles,A,this._createHandle()),o.parent=p,p.syncHandles(),N.insert(d.children,f,p),p.parent=d}else this._root=o}},t.prototype._splitRoot=function(e){var t=this._root;if(t instanceof dt.SplitLayoutNode&&t.orientation===e)return t;var n=this._root=new dt.SplitLayoutNode(e);return t&&(n.children.push(t),n.sizers.push(dt.createSizer(0)),n.handles.push(this._createHandle()),t.parent=n),n},t.prototype._fit=function(){var e=0,t=0;if(this._root){var n=this._root.fit(this._spacing,this._items);e=n.minWidth,t=n.minHeight}var i=this._box=ne._$.boxSizing(this.parent.node);e+=i.horizontalSum,t+=i.verticalSum;var r=this.parent.node.style;r.minWidth=e+"px",r.minHeight=t+"px",this._dirty=!0,this.parent.parent&&ie.Mu.sendMessage(this.parent.parent,Re.Msg.FitRequest),this._dirty&&ie.Mu.sendMessage(this.parent,Re.Msg.UpdateRequest)},t.prototype._update=function(e,t){if(this._dirty=!1,this._root){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=ne._$.boxSizing(this.parent.node));var n=this._box.paddingTop,i=this._box.paddingLeft,r=e-this._box.horizontalSum,o=t-this._box.verticalSum;this._root.update(n,i,r,o,this._spacing,this._items)}},t.prototype._createTabBar=function(){var e=this.renderer.createTabBar(this._document);return e.orientation="horizontal",this.parent&&(e.parent=this.parent,this.attachWidget(e)),e},t.prototype._createHandle=function(){var e=this.renderer.createHandle(),t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="0",t.height="0",this.parent&&this.parent.node.appendChild(e),e},t}(Oe);!function(e){function t(e){var t=new Ie;return t.sizeHint=e,t.size=e,t}e.GOLDEN_RATIO=.618,e.createSizer=t,e.normalizeAreaConfig=function e(t,n){var i;return i="tab-area"===t.type?function(e,t){if(0===e.widgets.length)return null;var n=[];if(F(e.widgets,(function(e){t.has(e)||(t.add(e),n.push(e))})),0===n.length)return null;var i=e.currentIndex;return-1!==i&&(i<0||i>=n.length)&&(i=0),{type:"tab-area",widgets:n,currentIndex:i}}(t,n):function(t,n){for(var i=t.orientation,r=[],o=[],s=0,a=t.children.length;s<a;++s){var l=e(t.children[s],n);l&&("tab-area"===l.type||l.orientation!==i?(r.push(l),o.push(Math.abs(t.sizes[s]||0))):(r.push.apply(r,l.children),o.push.apply(o,l.sizes)))}return 0===r.length?null:1===r.length?r[0]:{type:"split-area",orientation:i,children:r,sizes:o}}(t,n),i},e.realizeAreaConfig=function r(o,s,a){var l;return l="tab-area"===o.type?function(t,i,r){var o=i.createTabBar(r);return F(t.widgets,(function(t){t.hide(),o.addTab(t.title),e.addAria(t,o)})),o.currentIndex=t.currentIndex,new n(o)}(o,s,a):function(e,n,o){var s=new i(e.orientation);return F(e.children,(function(i,a){var l=r(i,n,o),d=t(e.sizes[a]),c=n.createHandle();s.children.push(l),s.handles.push(c),s.sizers.push(d),l.parent=s})),s.syncHandles(),s.normalizeSizes(),s}(o,s,a),l};var n=function(){function e(e){this.parent=null,this._top=0,this._left=0,this._width=0,this._height=0;var t=new Ie,n=new Ie;t.stretch=0,n.stretch=1,this.tabBar=e,this.sizers=[t,n]}return Object.defineProperty(e.prototype,"top",{get:function(){return this._top},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this._left},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},enumerable:!0,configurable:!0}),e.prototype.iterAllWidgets=function(){return U(Z(this.tabBar),this.iterUserWidgets())},e.prototype.iterUserWidgets=function(){return K(this.tabBar.titles,(function(e){return e.owner}))},e.prototype.iterSelectedWidgets=function(){var e=this.tabBar.currentTitle;return e?Z(e.owner):H()},e.prototype.iterTabBars=function(){return Z(this.tabBar)},e.prototype.iterHandles=function(){return H()},e.prototype.findTabNode=function(e){return-1!==this.tabBar.titles.indexOf(e.title)?this:null},e.prototype.findSplitNode=function(e){return null},e.prototype.findFirstTabNode=function(){return this},e.prototype.hitTestTabNodes=function(e,t){return e<this._left||e>=this._left+this._width||t<this._top||t>=this._top+this._height?null:this},e.prototype.createConfig=function(){return{type:"tab-area",widgets:this.tabBar.titles.map((function(e){return e.owner})),currentIndex:this.tabBar.currentIndex}},e.prototype.holdAllSizes=function(){},e.prototype.fit=function(e,t){var n=0,i=0,r=t.get(this.tabBar),o=this.tabBar.currentTitle,s=o?t.get(o.owner):void 0,a=this.sizers,l=a[0],d=a[1];return r&&r.fit(),s&&s.fit(),r&&!r.isHidden?(n=Math.max(n,r.minWidth),i+=r.minHeight,l.minSize=r.minHeight,l.maxSize=r.maxHeight):(l.minSize=0,l.maxSize=0),s&&!s.isHidden?(n=Math.max(n,s.minWidth),i+=s.minHeight,d.minSize=s.minHeight,d.maxSize=1/0):(d.minSize=0,d.maxSize=1/0),{minWidth:n,minHeight:i,maxWidth:1/0,maxHeight:1/0}},e.prototype.update=function(e,t,n,i,r,o){this._top=t,this._left=e,this._width=n,this._height=i;var s=o.get(this.tabBar),a=this.tabBar.currentTitle,l=a?o.get(a.owner):void 0;if(De.calc(this.sizers,i),s&&!s.isHidden){var d=this.sizers[0].size;s.update(e,t,n,d),t+=d}l&&!l.isHidden&&(d=this.sizers[1].size,l.update(e,t,n,d))},e}();e.TabLayoutNode=n;var i=function(){function e(e){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=e}return e.prototype.iterAllWidgets=function(){var e=K(this.children,(function(e){return e.iterAllWidgets()}));return new $(e)},e.prototype.iterUserWidgets=function(){var e=K(this.children,(function(e){return e.iterUserWidgets()}));return new $(e)},e.prototype.iterSelectedWidgets=function(){var e=K(this.children,(function(e){return e.iterSelectedWidgets()}));return new $(e)},e.prototype.iterTabBars=function(){var e=K(this.children,(function(e){return e.iterTabBars()}));return new $(e)},e.prototype.iterHandles=function(){var e=K(this.children,(function(e){return e.iterHandles()}));return U(this.handles,new $(e))},e.prototype.findTabNode=function(e){for(var t=0,n=this.children.length;t<n;++t){var i=this.children[t].findTabNode(e);if(i)return i}return null},e.prototype.findSplitNode=function(e){var t=this.handles.indexOf(e);if(-1!==t)return{index:t,node:this};for(var n=0,i=this.children.length;n<i;++n){var r=this.children[n].findSplitNode(e);if(r)return r}return null},e.prototype.findFirstTabNode=function(){return 0===this.children.length?null:this.children[0].findFirstTabNode()},e.prototype.hitTestTabNodes=function(e,t){for(var n=0,i=this.children.length;n<i;++n){var r=this.children[n].hitTestTabNodes(e,t);if(r)return r}return null},e.prototype.createConfig=function(){var e=this.orientation,t=this.createNormalizedSizes();return{type:"split-area",orientation:e,children:this.children.map((function(e){return e.createConfig()})),sizes:t}},e.prototype.syncHandles=function(){var e=this;F(this.handles,(function(t,n){t.setAttribute("data-orientation",e.orientation),n===e.handles.length-1?(t.classList.add("lm-mod-hidden"),t.classList.add("p-mod-hidden")):(t.classList.remove("lm-mod-hidden"),t.classList.remove("p-mod-hidden"))}))},e.prototype.holdSizes=function(){F(this.sizers,(function(e){e.sizeHint=e.size}))},e.prototype.holdAllSizes=function(){F(this.children,(function(e){return e.holdAllSizes()})),this.holdSizes()},e.prototype.normalizeSizes=function(){var e=this.sizers.length;if(0!==e){this.holdSizes();var t=X(this.sizers,(function(e,t){return e+t.sizeHint}),0);F(this.sizers,0===t?function(t){t.size=t.sizeHint=1/e}:function(e){e.size=e.sizeHint/=t}),this.normalized=!0}},e.prototype.createNormalizedSizes=function(){var e=this.sizers.length;if(0===e)return[];var t=this.sizers.map((function(e){return e.size})),n=X(t,(function(e,t){return e+t}),0);return F(t,0===n?function(n,i){t[i]=1/e}:function(e,i){t[i]=e/n}),t},e.prototype.fit=function(e,t){for(var n="horizontal"===this.orientation,i=Math.max(0,this.children.length-1)*e,r=n?i:0,o=n?0:i,s=0,a=this.children.length;s<a;++s){var l=this.children[s].fit(e,t);n?(o=Math.max(o,l.minHeight),r+=l.minWidth,this.sizers[s].minSize=l.minWidth):(r=Math.max(r,l.minWidth),o+=l.minHeight,this.sizers[s].minSize=l.minHeight)}return{minWidth:r,minHeight:o,maxWidth:1/0,maxHeight:1/0}},e.prototype.update=function(e,t,n,i,r,o){var s="horizontal"===this.orientation,a=Math.max(0,this.children.length-1)*r,l=Math.max(0,(s?n:i)-a);this.normalized&&(F(this.sizers,(function(e){e.sizeHint*=l})),this.normalized=!1),De.calc(this.sizers,l);for(var d=0,c=this.children.length;d<c;++d){var u=this.children[d],h=this.sizers[d].size,f=this.handles[d].style;s?(u.update(e,t,h,i,r,o),e+=h,f.top=t+"px",f.left=e+"px",f.width=r+"px",f.height=i+"px",e+=r):(u.update(e,t,n,h,r,o),t+=h,f.top=t+"px",f.left=e+"px",f.width=n+"px",f.height=r+"px",t+=r)}},e}();e.SplitLayoutNode=i,e.addAria=function(e,t){e.node.setAttribute("role","tabpanel");var n=t.renderer;if(n instanceof lt.Renderer){var i=n.createTabKey({title:e.title,current:!1,zIndex:0});e.node.setAttribute("aria-labelledby",i)}},e.removeAria=function(e){e.node.removeAttribute("role"),e.node.removeAttribute("aria-labelledby")}}(dt||(dt={}));var ut,ht=function(e){function t(n){void 0===n&&(n={});var i=e.call(this)||this;i._drag=null,i._tabsMovable=!0,i._tabsConstrained=!1,i._addButtonEnabled=!1,i._pressData=null,i._layoutModified=new se(i),i._addRequested=new se(i),i.addClass("lm-DockPanel"),i.addClass("p-DockPanel"),i._document=n.document||document,i._mode=n.mode||"multiple-document",i._renderer=n.renderer||t.defaultRenderer,i._edges=n.edges||ut.DEFAULT_EDGES,void 0!==n.tabsMovable&&(i._tabsMovable=n.tabsMovable),void 0!==n.tabsConstrained&&(i._tabsConstrained=n.tabsConstrained),void 0!==n.addButtonEnabled&&(i._addButtonEnabled=n.addButtonEnabled),i.dataset.mode=i._mode;var r={createTabBar:function(){return i._createTabBar()},createHandle:function(){return i._createHandle()}};return i.layout=new ct({document:i._document,renderer:r,spacing:n.spacing,hiddenMode:n.hiddenMode}),i.overlay=n.overlay||new t.Overlay,i.node.appendChild(i.overlay.node),i}return je(t,e),t.prototype.dispose=function(){this._releaseMouse(),this.overlay.hide(0),this._drag&&this._drag.dispose(),e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this.layout.hiddenMode},set:function(e){this.layout.hiddenMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"layoutModified",{get:function(){return this._layoutModified},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(e){if(this._mode!==e){this._mode=e,this.dataset.mode=e;var t=this.layout;switch(e){case"multiple-document":F(t.tabBars(),(function(e){e.show()}));break;case"single-document":t.restoreLayout(ut.createSingleDocumentConfig(this));break;default:throw"unreachable"}ie.Mu.postMessage(this,ut.LayoutModified)}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabsMovable",{get:function(){return this._tabsMovable},set:function(e){this._tabsMovable=e,F(this.tabBars(),(function(t){t.tabsMovable=e}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabsConstrained",{get:function(){return this._tabsConstrained},set:function(e){this._tabsConstrained=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(e){this._addButtonEnabled=e,F(this.tabBars(),(function(t){t.addButtonEnabled=e}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return this.layout.isEmpty},enumerable:!0,configurable:!0}),t.prototype.widgets=function(){return this.layout.widgets()},t.prototype.selectedWidgets=function(){return this.layout.selectedWidgets()},t.prototype.tabBars=function(){return this.layout.tabBars()},t.prototype.handles=function(){return this.layout.handles()},t.prototype.selectWidget=function(e){var t=G(this.tabBars(),(function(t){return-1!==t.titles.indexOf(e.title)}));if(!t)throw new Error("Widget is not contained in the dock panel.");t.currentTitle=e.title},t.prototype.activateWidget=function(e){this.selectWidget(e),e.activate()},t.prototype.saveLayout=function(){return this.layout.saveLayout()},t.prototype.restoreLayout=function(e){this._mode="multiple-document",this.layout.restoreLayout(e),(ne.OD.IS_EDGE||ne.OD.IS_IE)&&ie.Mu.flush(),ie.Mu.postMessage(this,ut.LayoutModified)},t.prototype.addWidget=function(e,t){void 0===t&&(t={}),"single-document"===this._mode?this.layout.addWidget(e):this.layout.addWidget(e,t),ie.Mu.postMessage(this,ut.LayoutModified)},t.prototype.processMessage=function(t){"layout-modified"===t.type?this._layoutModified.emit(void 0):e.prototype.processMessage.call(this,t)},t.prototype.handleEvent=function(e){switch(e.type){case"lm-dragenter":this._evtDragEnter(e);break;case"lm-dragleave":this._evtDragLeave(e);break;case"lm-dragover":this._evtDragOver(e);break;case"lm-drop":this._evtDrop(e);break;case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("lm-dragenter",this),this.node.addEventListener("lm-dragleave",this),this.node.addEventListener("lm-dragover",this),this.node.addEventListener("lm-drop",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("lm-dragenter",this),this.node.removeEventListener("lm-dragleave",this),this.node.removeEventListener("lm-dragover",this),this.node.removeEventListener("lm-drop",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()},t.prototype.onChildAdded=function(e){ut.isGeneratedTabBarProperty.get(e.child)||(e.child.addClass("lm-DockPanel-widget"),e.child.addClass("p-DockPanel-widget"))},t.prototype.onChildRemoved=function(e){ut.isGeneratedTabBarProperty.get(e.child)||(e.child.removeClass("lm-DockPanel-widget"),e.child.removeClass("p-DockPanel-widget"),ie.Mu.postMessage(this,ut.LayoutModified))},t.prototype._evtDragEnter=function(e){e.mimeData.hasData("application/vnd.lumino.widget-factory")&&(e.preventDefault(),e.stopPropagation())},t.prototype._evtDragLeave=function(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||(e.stopPropagation(),this.overlay.hide(1))},t.prototype._evtDragOver=function(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||"invalid"===this._showOverlay(e.clientX,e.clientY)?e.dropAction="none":(e.stopPropagation(),e.dropAction=e.proposedAction)},t.prototype._evtDrop=function(e){if(e.preventDefault(),this.overlay.hide(0),"none"!==e.proposedAction){var t=e.clientX,n=e.clientY,i=ut.findDropTarget(this,t,n,this._edges),r=i.zone,o=i.target;if(this._tabsConstrained&&e.source!==this||"invalid"===r)e.dropAction="none";else{var s=e.mimeData.getData("application/vnd.lumino.widget-factory");if("function"==typeof s){var a=s();if(a instanceof Re)if(a.contains(this))e.dropAction="none";else{var l=o?ut.getDropRef(o.tabBar):null;switch(r){case"root-all":this.addWidget(a);break;case"root-top":this.addWidget(a,{mode:"split-top"});break;case"root-left":this.addWidget(a,{mode:"split-left"});break;case"root-right":this.addWidget(a,{mode:"split-right"});break;case"root-bottom":this.addWidget(a,{mode:"split-bottom"});break;case"widget-all":case"widget-tab":this.addWidget(a,{mode:"tab-after",ref:l});break;case"widget-top":this.addWidget(a,{mode:"split-top",ref:l});break;case"widget-left":this.addWidget(a,{mode:"split-left",ref:l});break;case"widget-right":this.addWidget(a,{mode:"split-right",ref:l});break;case"widget-bottom":this.addWidget(a,{mode:"split-bottom",ref:l});break;default:throw"unreachable"}e.dropAction=e.proposedAction,e.stopPropagation(),this.activateWidget(a)}else e.dropAction="none"}else e.dropAction="none"}}else e.dropAction="none"},t.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&(this._releaseMouse(),ie.Mu.postMessage(this,ut.LayoutModified))},t.prototype._evtMouseDown=function(e){if(0===e.button){var t=this.layout,n=e.target,i=G(t.handles(),(function(e){return e.contains(n)}));if(i){e.preventDefault(),e.stopPropagation(),this._document.addEventListener("keydown",this,!0),this._document.addEventListener("mouseup",this,!0),this._document.addEventListener("mousemove",this,!0),this._document.addEventListener("pointerup",this,!0),this._document.addEventListener("pointermove",this,!0),this._document.addEventListener("contextmenu",this,!0);var r=i.getBoundingClientRect(),o=e.clientX-r.left,s=e.clientY-r.top,a=window.getComputedStyle(i),l=fe.overrideCursor(a.cursor,this._document);this._pressData={handle:i,deltaX:o,deltaY:s,override:l}}}},t.prototype._evtMouseMove=function(e){if(this._pressData){e.preventDefault(),e.stopPropagation();var t=this.node.getBoundingClientRect(),n=e.clientX-t.left-this._pressData.deltaX,i=e.clientY-t.top-this._pressData.deltaY;this.layout.moveHandle(this._pressData.handle,n,i)}},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse(),ie.Mu.postMessage(this,ut.LayoutModified))},t.prototype._releaseMouse=function(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._document.removeEventListener("keydown",this,!0),this._document.removeEventListener("mouseup",this,!0),this._document.removeEventListener("mousemove",this,!0),this._document.removeEventListener("pointerup",this,!0),this._document.removeEventListener("pointermove",this,!0),this._document.removeEventListener("contextmenu",this,!0))},t.prototype._showOverlay=function(e,t){var n,i,r,o,s=ut.findDropTarget(this,e,t,this._edges),a=s.zone,l=s.target;if("invalid"===a)return this.overlay.hide(100),a;var d=ne._$.boxSizing(this.node),c=this.node.getBoundingClientRect();switch(a){case"root-all":n=d.paddingTop,i=d.paddingLeft,r=d.paddingRight,o=d.paddingBottom;break;case"root-top":n=d.paddingTop,i=d.paddingLeft,r=d.paddingRight,o=c.height*ut.GOLDEN_RATIO;break;case"root-left":n=d.paddingTop,i=d.paddingLeft,r=c.width*ut.GOLDEN_RATIO,o=d.paddingBottom;break;case"root-right":n=d.paddingTop,i=c.width*ut.GOLDEN_RATIO,r=d.paddingRight,o=d.paddingBottom;break;case"root-bottom":n=c.height*ut.GOLDEN_RATIO,i=d.paddingLeft,r=d.paddingRight,o=d.paddingBottom;break;case"widget-all":n=l.top,i=l.left,r=l.right,o=l.bottom;break;case"widget-top":n=l.top,i=l.left,r=l.right,o=l.bottom+l.height/2;break;case"widget-left":n=l.top,i=l.left,r=l.right+l.width/2,o=l.bottom;break;case"widget-right":n=l.top,i=l.left+l.width/2,r=l.right,o=l.bottom;break;case"widget-bottom":n=l.top+l.height/2,i=l.left,r=l.right,o=l.bottom;break;case"widget-tab":var u=l.tabBar.node.getBoundingClientRect().height;n=l.top,i=l.left,r=l.right,o=l.bottom+l.height-u;break;default:throw"unreachable"}return this.overlay.show({top:n,left:i,right:r,bottom:o}),a},t.prototype._createTabBar=function(){var e=this._renderer.createTabBar(this._document);return ut.isGeneratedTabBarProperty.set(e,!0),"single-document"===this._mode&&e.hide(),e.tabsMovable=this._tabsMovable,e.allowDeselect=!1,e.addButtonEnabled=this._addButtonEnabled,e.removeBehavior="select-previous-tab",e.insertBehavior="select-tab-if-needed",e.tabMoved.connect(this._onTabMoved,this),e.currentChanged.connect(this._onCurrentChanged,this),e.tabCloseRequested.connect(this._onTabCloseRequested,this),e.tabDetachRequested.connect(this._onTabDetachRequested,this),e.tabActivateRequested.connect(this._onTabActivateRequested,this),e.addRequested.connect(this._onTabAddRequested,this),e},t.prototype._createHandle=function(){return this._renderer.createHandle()},t.prototype._onTabMoved=function(){ie.Mu.postMessage(this,ut.LayoutModified)},t.prototype._onCurrentChanged=function(e,t){var n=t.previousTitle,i=t.currentTitle;n&&n.owner.hide(),i&&i.owner.show(),(ne.OD.IS_EDGE||ne.OD.IS_IE)&&ie.Mu.flush(),ie.Mu.postMessage(this,ut.LayoutModified)},t.prototype._onTabAddRequested=function(e){this._addRequested.emit(e)},t.prototype._onTabActivateRequested=function(e,t){t.title.owner.activate()},t.prototype._onTabCloseRequested=function(e,t){t.title.owner.close()},t.prototype._onTabDetachRequested=function(e,t){var n=this;if(!this._drag){e.releaseMouse();var i=t.title,o=t.tab,s=t.clientX,a=t.clientY,l=new r.MimeData;l.setData("application/vnd.lumino.widget-factory",(function(){return i.owner}));var d=o.cloneNode(!0);this._drag=new fe({document:this._document,mimeData:l,dragImage:d,proposedAction:"move",supportedActions:"move",source:this}),o.classList.add("lm-mod-hidden"),o.classList.add("p-mod-hidden"),this._drag.start(s,a).then((function(){n._drag=null,o.classList.remove("lm-mod-hidden"),o.classList.remove("p-mod-hidden")}))}},t}(Re);!function(e){var t=function(){function e(){this._timer=-1,this._hidden=!0,this.node=document.createElement("div"),this.node.classList.add("lm-DockPanel-overlay"),this.node.classList.add("lm-mod-hidden"),this.node.classList.add("p-DockPanel-overlay"),this.node.classList.add("p-mod-hidden"),this.node.style.position="absolute"}return e.prototype.show=function(e){var t=this.node.style;t.top=e.top+"px",t.left=e.left+"px",t.right=e.right+"px",t.bottom=e.bottom+"px",clearTimeout(this._timer),this._timer=-1,this._hidden&&(this._hidden=!1,this.node.classList.remove("lm-mod-hidden"),this.node.classList.remove("p-mod-hidden"))},e.prototype.hide=function(e){var t=this;if(!this._hidden)return e<=0?(clearTimeout(this._timer),this._timer=-1,this._hidden=!0,this.node.classList.add("lm-mod-hidden"),void this.node.classList.add("p-mod-hidden")):void(-1===this._timer&&(this._timer=window.setTimeout((function(){t._timer=-1,t._hidden=!0,t.node.classList.add("lm-mod-hidden"),t.node.classList.add("p-mod-hidden")}),e)))},e}();e.Overlay=t;var n=function(){function e(){}return e.prototype.createTabBar=function(e){var t=new lt({document:e});return t.addClass("lm-DockPanel-tabBar"),t.addClass("p-DockPanel-tabBar"),t},e.prototype.createHandle=function(){var e=document.createElement("div");return e.className="lm-DockPanel-handle",e.classList.add("p-DockPanel-handle"),e},e}();e.Renderer=n,e.defaultRenderer=new n}(ht||(ht={})),function(e){e.GOLDEN_RATIO=.618,e.DEFAULT_EDGES={top:12,right:40,bottom:40,left:40},e.LayoutModified=new ie.HS("layout-modified"),e.isGeneratedTabBarProperty=new re({name:"isGeneratedTabBar",create:function(){return!1}}),e.createSingleDocumentConfig=function(e){if(e.isEmpty)return{main:null};var t=function(e){for(var t,n=0,i=[],r=z(e);void 0!==(t=r.next());)i[n++]=t;return i}(e.widgets()),n=e.selectedWidgets().next(),i=n?t.indexOf(n):-1;return{main:{type:"tab-area",widgets:t,currentIndex:i}}},e.findDropTarget=function(e,t,n,i){if(!ne._$.hitTest(e.node,t,n))return{zone:"invalid",target:null};var r=e.layout;if(r.isEmpty)return{zone:"root-all",target:null};if("multiple-document"===e.mode){var o=e.node.getBoundingClientRect(),s=t-o.left+1,a=n-o.top+1,l=o.right-t,d=o.bottom-n;switch(Math.min(a,l,d,s)){case a:if(a<i.top)return{zone:"root-top",target:null};break;case l:if(l<i.right)return{zone:"root-right",target:null};break;case d:if(d<i.bottom)return{zone:"root-bottom",target:null};break;case s:if(s<i.left)return{zone:"root-left",target:null};break;default:throw"unreachable"}}var c=r.hitTestTabAreas(t,n);if(!c)return{zone:"invalid",target:null};if("single-document"===e.mode)return{zone:"widget-all",target:c};var u=c.x-c.left+1,h=c.y-c.top+1,f=c.left+c.width-c.x,p=c.top+c.height-c.y;if(h<c.tabBar.node.getBoundingClientRect().height)return{zone:"widget-tab",target:c};var A,m=Math.round(c.width/3),g=Math.round(c.height/3);if(u>m&&f>m&&h>g&&p>g)return{zone:"widget-all",target:c};switch(u/=m,h/=g,f/=m,p/=g,Math.min(u,h,f,p)){case u:A="widget-left";break;case h:A="widget-top";break;case f:A="widget-right";break;case p:A="widget-bottom";break;default:throw"unreachable"}return{zone:A,target:c}},e.getDropRef=function(e){return 0===e.titles.length?null:e.currentTitle?e.currentTitle.owner:e.titles[e.titles.length-1].owner}}(ut||(ut={})),function(){function e(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new se(this),this._currentChanged=new se(this)}e.prototype.dispose=function(){var e=this;this._counter<0||(this._counter=-1,se.clearData(this),F(this._widgets,(function(t){t.node.removeEventListener("focus",e,!0),t.node.removeEventListener("blur",e,!0)})),this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0)},Object.defineProperty(e.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeChanged",{get:function(){return this._activeChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._counter<0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentWidget",{get:function(){return this._currentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeWidget",{get:function(){return this._activeWidget},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),e.prototype.focusNumber=function(e){var t=this._numbers.get(e);return void 0===t?-1:t},e.prototype.has=function(e){return this._numbers.has(e)},e.prototype.add=function(e){if(!this._numbers.has(e)){var t=e.node.contains(document.activeElement),n=t?this._counter++:-1;this._widgets.push(e),this._numbers.set(e,n),this._nodes.set(e.node,e),e.node.addEventListener("focus",this,!0),e.node.addEventListener("blur",this,!0),e.disposed.connect(this._onWidgetDisposed,this),t&&this._setWidgets(e,e)}},e.prototype.remove=function(e){var t=this;if(this._numbers.has(e)&&(e.disposed.disconnect(this._onWidgetDisposed,this),e.node.removeEventListener("focus",this,!0),e.node.removeEventListener("blur",this,!0),N.removeFirstOf(this._widgets,e),this._nodes.delete(e.node),this._numbers.delete(e),this._currentWidget===e)){var n,i,r=function(e,n){var i,r,o=z(e),s=o.next();if(void 0!==s){for(var a=s;void 0!==(s=o.next());)i=s,r=a,t._numbers.get(i)-t._numbers.get(r)>0&&(a=s);return a}}((n=this._widgets,i=function(e){return-1!==t._numbers.get(e)},new V(z(n),i)))||null;this._setWidgets(r,null)}},e.prototype.handleEvent=function(e){switch(e.type){case"focus":this._evtFocus(e);break;case"blur":this._evtBlur(e)}},e.prototype._setWidgets=function(e,t){var n=this._currentWidget;this._currentWidget=e;var i=this._activeWidget;this._activeWidget=t,n!==e&&this._currentChanged.emit({oldValue:n,newValue:e}),i!==t&&this._activeChanged.emit({oldValue:i,newValue:t})},e.prototype._evtFocus=function(e){var t=this._nodes.get(e.currentTarget);t!==this._currentWidget&&this._numbers.set(t,this._counter++),this._setWidgets(t,t)},e.prototype._evtBlur=function(e){var t=this._nodes.get(e.currentTarget),n=e.relatedTarget;n&&(t.node.contains(n)||G(this._widgets,(function(e){return e.node.contains(n)})))||this._setWidgets(this._currentWidget,null)},e.prototype._onWidgetDisposed=function(e){this.remove(e)}}();var ft,pt=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n._dirty=!1,n._rowSpacing=4,n._columnSpacing=4,n._items=[],n._rowStarts=[],n._columnStarts=[],n._rowSizers=[new Ie],n._columnSizers=[new Ie],n._box=null,void 0!==t.rowCount&&ft.reallocSizers(n._rowSizers,t.rowCount),void 0!==t.columnCount&&ft.reallocSizers(n._columnSizers,t.columnCount),void 0!==t.rowSpacing&&(n._rowSpacing=ft.clampValue(t.rowSpacing)),void 0!==t.columnSpacing&&(n._columnSpacing=ft.clampValue(t.columnSpacing)),n}return je(t,e),t.prototype.dispose=function(){F(this._items,(function(e){var t=e.widget;e.dispose(),t.dispose()})),this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"rowCount",{get:function(){return this._rowSizers.length},set:function(e){e!==this.rowCount&&(ft.reallocSizers(this._rowSizers,e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnCount",{get:function(){return this._columnSizers.length},set:function(e){e!==this.columnCount&&(ft.reallocSizers(this._columnSizers,e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowSpacing",{get:function(){return this._rowSpacing},set:function(e){e=ft.clampValue(e),this._rowSpacing!==e&&(this._rowSpacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnSpacing",{get:function(){return this._columnSpacing},set:function(e){e=ft.clampValue(e),this._columnSpacing!==e&&(this._columnSpacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),t.prototype.rowStretch=function(e){var t=this._rowSizers[e];return t?t.stretch:-1},t.prototype.setRowStretch=function(e,t){var n=this._rowSizers[e];n&&(t=ft.clampValue(t),n.stretch!==t&&(n.stretch=t,this.parent&&this.parent.update()))},t.prototype.columnStretch=function(e){var t=this._columnSizers[e];return t?t.stretch:-1},t.prototype.setColumnStretch=function(e,t){var n=this._columnSizers[e];n&&(t=ft.clampValue(t),n.stretch!==t&&(n.stretch=t,this.parent&&this.parent.update()))},t.prototype.iter=function(){return K(this._items,(function(e){return e.widget}))},t.prototype.addWidget=function(e){-1===N.findFirstIndex(this._items,(function(t){return t.widget===e}))&&(this._items.push(new Ne(e)),this.parent&&this.attachWidget(e))},t.prototype.removeWidget=function(e){var t=N.findFirstIndex(this._items,(function(t){return t.widget===e}));if(-1!==t){var n=N.removeAt(this._items,t);this.parent&&this.detachWidget(e),n.dispose()}},t.prototype.init=function(){var t=this;e.prototype.init.call(this),F(this,(function(e){t.attachWidget(e)}))},t.prototype.attachWidget=function(e){this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.AfterAttach),this.parent.fit()},t.prototype.detachWidget=function(e){this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.AfterDetach),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,n=this.rowCount;e<n;++e)this._rowSizers[e].minSize=0;for(e=0,n=this.columnCount;e<n;++e)this._columnSizers[e].minSize=0;var i=this._items.filter((function(e){return!e.isHidden}));for(e=0,n=i.length;e<n;++e)i[e].fit();var r=this.rowCount-1,o=this.columnCount-1;for(i.sort(ft.rowSpanCmp),e=0,n=i.length;e<n;++e){var s=i[e],a=t.getCellConfig(s.widget),l=Math.min(a.row,r),d=Math.min(a.row+a.rowSpan-1,r);ft.distributeMin(this._rowSizers,l,d,s.minHeight)}for(i.sort(ft.columnSpanCmp),e=0,n=i.length;e<n;++e){s=i[e],a=t.getCellConfig(s.widget);var c=Math.min(a.column,o),u=Math.min(a.column+a.columnSpan-1,o);ft.distributeMin(this._columnSizers,c,u,s.minWidth)}if("set-no-constraint"!==this.fitPolicy){var h=r*this._rowSpacing,f=o*this._columnSpacing;for(e=0,n=this.rowCount;e<n;++e)h+=this._rowSizers[e].minSize;for(e=0,n=this.columnCount;e<n;++e)f+=this._columnSizers[e].minSize;var p=this._box=ne._$.boxSizing(this.parent.node);f+=p.horizontalSum,h+=p.verticalSum;var A=this.parent.node.style;A.minWidth=f+"px",A.minHeight=h+"px",this._dirty=!0,this.parent.parent&&ie.Mu.sendMessage(this.parent.parent,Re.Msg.FitRequest),this._dirty&&ie.Mu.sendMessage(this.parent,Re.Msg.UpdateRequest)}else ie.Mu.sendMessage(this.parent,Re.Msg.UpdateRequest)},t.prototype._update=function(e,n){this._dirty=!1,e<0&&(e=this.parent.node.offsetWidth),n<0&&(n=this.parent.node.offsetHeight),this._box||(this._box=ne._$.boxSizing(this.parent.node));var i=this._box.paddingTop,r=this._box.paddingLeft,o=e-this._box.horizontalSum,s=n-this._box.verticalSum,a=this.rowCount-1,l=this.columnCount-1,d=a*this._rowSpacing,c=l*this._columnSpacing;De.calc(this._rowSizers,Math.max(0,s-d)),De.calc(this._columnSizers,Math.max(0,o-c));for(var u=0,h=i,f=this.rowCount;u<f;++u)this._rowStarts[u]=h,h+=this._rowSizers[u].size+this._rowSpacing;for(u=0,h=r,f=this.columnCount;u<f;++u)this._columnStarts[u]=h,h+=this._columnSizers[u].size+this._columnSpacing;for(u=0,f=this._items.length;u<f;++u){var p=this._items[u];if(!p.isHidden){var A=t.getCellConfig(p.widget),m=Math.min(A.row,a),g=Math.min(A.column,l),b=Math.min(A.row+A.rowSpan-1,a),v=Math.min(A.column+A.columnSpan-1,l),C=this._columnStarts[g],y=this._rowStarts[m],w=this._columnStarts[v]+this._columnSizers[v].size-C,_=this._rowStarts[b]+this._rowSizers[b].size-y;p.update(C,y,w,_)}}},t}(Oe);!function(e){e.getCellConfig=function(e){return ft.cellConfigProperty.get(e)},e.setCellConfig=function(e,t){ft.cellConfigProperty.set(e,ft.normalizeConfig(t))}}(pt||(pt={})),function(e){e.cellConfigProperty=new re({name:"cellConfig",create:function(){return{row:0,column:0,rowSpan:1,columnSpan:1}},changed:function(e){e.parent&&e.parent.layout instanceof pt&&e.parent.fit()}}),e.normalizeConfig=function(e){return{row:Math.max(0,Math.floor(e.row||0)),column:Math.max(0,Math.floor(e.column||0)),rowSpan:Math.max(1,Math.floor(e.rowSpan||0)),columnSpan:Math.max(1,Math.floor(e.columnSpan||0))}},e.clampValue=function(e){return Math.max(0,Math.floor(e))},e.rowSpanCmp=function(t,n){var i=e.cellConfigProperty.get(t.widget),r=e.cellConfigProperty.get(n.widget);return i.rowSpan-r.rowSpan},e.columnSpanCmp=function(t,n){var i=e.cellConfigProperty.get(t.widget),r=e.cellConfigProperty.get(n.widget);return i.columnSpan-r.columnSpan},e.reallocSizers=function(e,t){for(t=Math.max(1,Math.floor(t));e.length<t;)e.push(new Ie);e.length>t&&(e.length=t)},e.distributeMin=function(e,t,n,i){if(!(n<t))if(t!==n){for(var r=0,o=t;o<=n;++o)r+=e[o].minSize;if(!(r>=i)){var s=(i-r)/(n-t+1);for(o=t;o<=n;++o)e[o].minSize+=s}}else{var a=e[t];a.minSize=Math.max(a.minSize,i)}}}(ft||(ft={}));var At,mt,gt=function(e){function t(n){void 0===n&&(n={});var i=e.call(this,{node:At.createNode()})||this;return i._activeIndex=-1,i._tabFocusIndex=0,i._menus=[],i._childMenu=null,i.addClass("lm-MenuBar"),i.addClass("p-MenuBar"),i.setFlag(Re.Flag.DisallowLayout),i.renderer=n.renderer||t.defaultRenderer,i._forceItemsPosition=n.forceItemsPosition||{forceX:!0,forceY:!0},i}return je(t,e),t.prototype.dispose=function(){this._closeChildMenu(),this._menus.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeMenu",{get:function(){return this._menus[this._activeIndex]||null},set:function(e){this.activeIndex=e?this._menus.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(e){(e<0||e>=this._menus.length)&&(e=-1),this._activeIndex!==e&&(this._activeIndex=e,-1!==e&&(this._tabFocusIndex=e),this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menus",{get:function(){return this._menus},enumerable:!0,configurable:!0}),t.prototype.openActiveMenu=function(){-1!==this._activeIndex&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))},t.prototype.addMenu=function(e){this.insertMenu(this._menus.length,e)},t.prototype.insertMenu=function(e,t){this._closeChildMenu();var n=this._menus.indexOf(t),i=Math.max(0,Math.min(e,this._menus.length));if(-1===n)return N.insert(this._menus,i,t),t.addClass("lm-MenuBar-menu"),t.addClass("p-MenuBar-menu"),t.aboutToClose.connect(this._onMenuAboutToClose,this),t.menuRequested.connect(this._onMenuMenuRequested,this),t.title.changed.connect(this._onTitleChanged,this),void this.update();i===this._menus.length&&i--,n!==i&&(N.move(this._menus,n,i),this.update())},t.prototype.removeMenu=function(e){this.removeMenuAt(this._menus.indexOf(e))},t.prototype.removeMenuAt=function(e){this._closeChildMenu();var t=N.removeAt(this._menus,e);t&&(t.aboutToClose.disconnect(this._onMenuAboutToClose,this),t.menuRequested.disconnect(this._onMenuMenuRequested,this),t.title.changed.disconnect(this._onTitleChanged,this),t.removeClass("lm-MenuBar-menu"),t.removeClass("p-MenuBar-menu"),this.update())},t.prototype.clearMenus=function(){if(0!==this._menus.length){this._closeChildMenu();for(var e=0,t=this._menus;e<t.length;e++){var n=t[e];n.aboutToClose.disconnect(this._onMenuAboutToClose,this),n.menuRequested.disconnect(this._onMenuMenuRequested,this),n.title.changed.disconnect(this._onTitleChanged,this),n.removeClass("lm-MenuBar-menu"),n.removeClass("p-MenuBar-menu")}this._menus.length=0,this.update()}},t.prototype.handleEvent=function(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),this._closeChildMenu()},t.prototype.onActivateRequest=function(e){this.isAttached&&(this.activeIndex=0)},t.prototype.onUpdateRequest=function(e){for(var t=this,n=this._menus,i=this.renderer,r=this._activeIndex,o=this._tabFocusIndex>=0&&this._tabFocusIndex<n.length?this._tabFocusIndex:0,s=new Array(n.length),a=function(e,a){var l=n[e].title,d=e===r;d&&0==n[e].items.length&&(d=!1),s[e]=i.renderItem({title:l,active:d,tabbable:e===o,onfocus:function(){t.activeIndex=e}})},l=0,d=n.length;l<d;++l)a(l);ye.render(s,this.contentNode)},t.prototype._evtKeyDown=function(e){var t=e.keyCode;if(9!==t)if(e.preventDefault(),e.stopPropagation(),13!==t&&32!==t&&38!==t&&40!==t){if(27===t)return this._closeChildMenu(),this.activeIndex=-1,void this.node.blur();if(37!==t)if(39!==t){var n=pe().keyForKeydownEvent(e);if(n){var i=this._activeIndex+1,r=At.findMnemonic(this._menus,n,i);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.openActiveMenu())}}else o=this._activeIndex,s=this._menus.length,this.activeIndex=o===s-1?0:o+1;else{var o=this._activeIndex,s=this._menus.length;this.activeIndex=0===o?s-1:o-1}}else this.openActiveMenu();else this.activeIndex=-1},t.prototype._evtMouseDown=function(e){if(ne._$.hitTest(this.node,e.clientX,e.clientY)){e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation();var t=N.findFirstIndex(this.contentNode.children,(function(t){return ne._$.hitTest(t,e.clientX,e.clientY)}));if(-1!==t){if(0===e.button)if(this._childMenu)this._closeChildMenu(),this.activeIndex=t;else{var n=this._positionForMenu(t);st.saveWindowData(),this.activeIndex=t,this._openChildMenu(n)}}else this._closeChildMenu()}},t.prototype._evtMouseMove=function(e){var t=N.findFirstIndex(this.contentNode.children,(function(t){return ne._$.hitTest(t,e.clientX,e.clientY)}));if(t!==this._activeIndex&&(-1!==t||!this._childMenu)){var n=this._positionForMenu(t);st.saveWindowData(),this.activeIndex=t,this._childMenu&&this._openChildMenu(n)}},t.prototype._positionForMenu=function(e){var t=this.contentNode.children[e].getBoundingClientRect(),n=t.left;return{top:t.bottom,left:n}},t.prototype._evtMouseLeave=function(e){this._childMenu||(this.activeIndex=-1)},t.prototype._openChildMenu=function(e){var t;void 0===e&&(e={});var n=this.activeMenu;if(n){var i=this._childMenu;if(i!==n){this._childMenu=n,i?i.close():document.addEventListener("mousedown",this,!0),ie.Mu.sendMessage(this,Re.Msg.UpdateRequest);var r=e.left,o=e.top;void 0!==r&&void 0!==o||(r=(t=this._positionForMenu(this._activeIndex)).left,o=t.top),i||(this.addClass("lm-mod-active"),this.addClass("p-mod-active")),n.items.length>0&&n.open(r,o,this._forceItemsPosition)}}else this._closeChildMenu()},t.prototype._closeChildMenu=function(){if(this._childMenu){this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0);var e=this._childMenu;this._childMenu=null,e.close(),this.activeIndex=-1}},t.prototype._onMenuAboutToClose=function(e){e===this._childMenu&&(this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)},t.prototype._onMenuMenuRequested=function(e,t){if(e===this._childMenu){var n=this._activeIndex,i=this._menus.length;switch(t){case"next":this.activeIndex=n===i-1?0:n+1;break;case"previous":this.activeIndex=0===n?i-1:n-1}this.openActiveMenu()}},t.prototype._onTitleChanged=function(){this.update()},t}(Re);!function(e){var t=function(){function e(){}return e.prototype.renderItem=function(e){var t=this.createItemClass(e),n=this.createItemDataset(e),i=this.createItemARIA(e);return ke.li(Se({className:t,dataset:n,tabindex:e.tabbable?"0":"-1",onfocus:e.onfocus},i),this.renderIcon(e),this.renderLabel(e))},e.prototype.renderIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.title.icon?ke.div({className:t},e.title.iconLabel):ke.div({className:t},e.title.icon,e.title.iconLabel)},e.prototype.renderLabel=function(e){var t=this.formatLabel(e);return ke.div({className:"lm-MenuBar-itemLabel p-MenuBar-itemLabel"},t)},e.prototype.createItemClass=function(e){var t="lm-MenuBar-item";return t+=" p-MenuBar-item",e.title.className&&(t+=" "+e.title.className),e.active&&(t+=" lm-mod-active",t+=" p-mod-active"),t},e.prototype.createItemDataset=function(e){return e.title.dataset},e.prototype.createItemARIA=function(e){return{role:"menuitem","aria-haspopup":"true"}},e.prototype.createIconClass=function(e){var t="lm-MenuBar-itemIcon";t+=" p-MenuBar-itemIcon";var n=e.title.iconClass;return n?t+" "+n:t},e.prototype.formatLabel=function(e){var t=e.title,n=t.label,i=t.mnemonic;if(i<0||i>=n.length)return n;var r=n.slice(0,i),o=n.slice(i+1),s=n[i];return[r,ke.span({className:"lm-MenuBar-itemMnemonic p-MenuBar-itemMnemonic"},s),o]},e}();e.Renderer=t,e.defaultRenderer=new t}(gt||(gt={})),function(e){e.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-MenuBar-content",t.classList.add("p-MenuBar-content"),e.appendChild(t),t.setAttribute("role","menubar"),e},e.findMnemonic=function(e,t,n){for(var i=-1,r=-1,o=!1,s=t.toUpperCase(),a=0,l=e.length;a<l;++a){var d=(a+n)%l,c=e[d].title;if(0!==c.label.length){var u=c.mnemonic;u>=0&&u<c.label.length?c.label[u].toUpperCase()===s&&(-1===i?i=d:o=!0):-1===r&&c.label[0].toUpperCase()===s&&(r=d)}}return{index:i,multiple:o,auto:r}}}(At||(At={})),function(e){function t(t){void 0===t&&(t={});var n=e.call(this,{node:mt.createNode()})||this;return n._onRepeat=function(){if(n._repeatTimer=-1,n._pressData){var e=n._pressData.part;if("thumb"!==e){n._repeatTimer=window.setTimeout(n._onRepeat,20);var t=n._pressData.mouseX,i=n._pressData.mouseY;if("decrement"!==e)if("increment"!==e){if("track"===e){if(!ne._$.hitTest(n.trackNode,t,i))return;var r=n.thumbNode;if(ne._$.hitTest(r,t,i))return;var o,s=r.getBoundingClientRect();return o="horizontal"===n._orientation?t<s.left?"decrement":"increment":i<s.top?"decrement":"increment",void n._pageRequested.emit(o)}}else{if(!ne._$.hitTest(n.incrementNode,t,i))return;n._stepRequested.emit("increment")}else{if(!ne._$.hitTest(n.decrementNode,t,i))return;n._stepRequested.emit("decrement")}}}},n._value=0,n._page=10,n._maximum=100,n._repeatTimer=-1,n._pressData=null,n._thumbMoved=new se(n),n._stepRequested=new se(n),n._pageRequested=new se(n),n.addClass("lm-ScrollBar"),n.addClass("p-ScrollBar"),n.setFlag(Re.Flag.DisallowLayout),n._orientation=t.orientation||"vertical",n.dataset.orientation=n._orientation,void 0!==t.maximum&&(n._maximum=Math.max(0,t.maximum)),void 0!==t.page&&(n._page=Math.max(0,t.page)),void 0!==t.value&&(n._value=Math.max(0,Math.min(t.value,n._maximum))),n}je(t,e),Object.defineProperty(t.prototype,"thumbMoved",{get:function(){return this._thumbMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stepRequested",{get:function(){return this._stepRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageRequested",{get:function(){return this._pageRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._releaseMouse(),this._orientation=e,this.dataset.orientation=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){e=Math.max(0,Math.min(e,this._maximum)),this._value!==e&&(this._value=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(e){e=Math.max(0,e),this._page!==e&&(this._page=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maximum",{get:function(){return this._maximum},set:function(e){e=Math.max(0,e),this._maximum!==e&&(this._maximum=e,this._value=Math.min(this._value,e),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decrementNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-button")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"incrementNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-button")[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trackNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-track")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"thumbNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-thumb")[0]},enumerable:!0,configurable:!0}),t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.update()},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this._releaseMouse()},t.prototype.onUpdateRequest=function(e){var t=100*this._value/this._maximum,n=100*this._page/(this._page+this._maximum);t=Math.max(0,Math.min(t,100)),n=Math.max(0,Math.min(n,100));var i=this.thumbNode.style;"horizontal"===this._orientation?(i.top="",i.height="",i.left=t+"%",i.width=n+"%",i.transform="translate("+-t+"%, 0%)"):(i.left="",i.width="",i.top=t+"%",i.height=n+"%",i.transform="translate(0%, "+-t+"%)")},t.prototype._evtKeyDown=function(e){if(e.preventDefault(),e.stopPropagation(),27===e.keyCode){var t=this._pressData?this._pressData.value:-1;this._releaseMouse(),-1!==t&&this._moveThumb(t)}},t.prototype._evtMouseDown=function(e){if(0===e.button&&(this.activate(),!this._pressData)){var t=mt.findPart(this,e.target);if(t){e.preventDefault(),e.stopPropagation();var n=fe.overrideCursor("default");if(this._pressData={part:t,override:n,delta:-1,value:-1,mouseX:e.clientX,mouseY:e.clientY},document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0),"thumb"===t){var i=this.thumbNode,r=i.getBoundingClientRect();return"horizontal"===this._orientation?this._pressData.delta=e.clientX-r.left:this._pressData.delta=e.clientY-r.top,i.classList.add("lm-mod-active"),i.classList.add("p-mod-active"),void(this._pressData.value=this._value)}if("track"===t){r=this.thumbNode.getBoundingClientRect();var o;return o="horizontal"===this._orientation?e.clientX<r.left?"decrement":"increment":e.clientY<r.top?"decrement":"increment",this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._pageRequested.emit(o)}return"decrement"===t?(this.decrementNode.classList.add("lm-mod-active"),this.decrementNode.classList.add("p-mod-active"),this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._stepRequested.emit("decrement")):"increment"===t?(this.incrementNode.classList.add("lm-mod-active"),this.incrementNode.classList.add("p-mod-active"),this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._stepRequested.emit("increment")):void 0}}},t.prototype._evtMouseMove=function(e){if(this._pressData&&(e.preventDefault(),e.stopPropagation(),this._pressData.mouseX=e.clientX,this._pressData.mouseY=e.clientY,"thumb"===this._pressData.part)){var t,n,i=this.thumbNode.getBoundingClientRect(),r=this.trackNode.getBoundingClientRect();"horizontal"===this._orientation?(t=e.clientX-r.left-this._pressData.delta,n=r.width-i.width):(t=e.clientY-r.top-this._pressData.delta,n=r.height-i.height);var o=0===n?0:t*this._maximum/n;this._moveThumb(o)}},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse())},t.prototype._releaseMouse=function(){this._pressData&&(clearTimeout(this._repeatTimer),this._repeatTimer=-1,this._pressData.override.dispose(),this._pressData=null,document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("contextmenu",this,!0),this.thumbNode.classList.remove("lm-mod-active"),this.decrementNode.classList.remove("lm-mod-active"),this.incrementNode.classList.remove("lm-mod-active"),this.thumbNode.classList.remove("p-mod-active"),this.decrementNode.classList.remove("p-mod-active"),this.incrementNode.classList.remove("p-mod-active"))},t.prototype._moveThumb=function(e){e=Math.max(0,Math.min(e,this._maximum)),this._value!==e&&(this._value=e,this.update(),this._thumbMoved.emit(e))}}(Re),function(e){e.createNode=function(){var e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),r=document.createElement("div");return t.className="lm-ScrollBar-button",n.className="lm-ScrollBar-button",t.dataset.action="decrement",n.dataset.action="increment",i.className="lm-ScrollBar-track",r.className="lm-ScrollBar-thumb",t.classList.add("p-ScrollBar-button"),n.classList.add("p-ScrollBar-button"),i.classList.add("p-ScrollBar-track"),r.classList.add("p-ScrollBar-thumb"),i.appendChild(r),e.appendChild(t),e.appendChild(i),e.appendChild(n),e},e.findPart=function(e,t){return e.thumbNode.contains(t)?"thumb":e.trackNode.contains(t)?"track":e.decrementNode.contains(t)?"decrement":e.incrementNode.contains(t)?"increment":null}}(mt||(mt={})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._widget=null,t}je(t,e),t.prototype.dispose=function(){if(this._widget){var t=this._widget;this._widget=null,t.dispose()}e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"widget",{get:function(){return this._widget},set:function(e){e&&(e.parent=this.parent),this._widget!==e&&(this._widget&&this._widget.dispose(),this._widget=e,this.parent&&e&&this.attachWidget(e))},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return this._widget?Z(this._widget):H()},t.prototype.removeWidget=function(e){this._widget===e&&(this._widget=null,this.parent&&this.detachWidget(e))},t.prototype.init=function(){var t=this;e.prototype.init.call(this),F(this,(function(e){t.attachWidget(e)}))},t.prototype.attachWidget=function(e){this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.AfterAttach)},t.prototype.detachWidget=function(e){this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&ie.Mu.sendMessage(e,Re.Msg.AfterDetach)}}(Oe);var bt,vt,Ct=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n._dirty=!1,n._items=[],n._box=null,n._hiddenMode=void 0!==t.hiddenMode?t.hiddenMode:Re.HiddenMode.Display,n}return je(t,e),Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(e){var t=this;this._hiddenMode!==e&&(this._hiddenMode=e,this.widgets.length>1&&this.widgets.forEach((function(e){e.hiddenMode=t._hiddenMode})))},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){F(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,e.prototype.dispose.call(this)},t.prototype.attachWidget=function(e,t){this._hiddenMode===Re.HiddenMode.Scale&&this._items.length>0?(1===this._items.length&&(this.widgets[0].hiddenMode=Re.HiddenMode.Scale),t.hiddenMode=Re.HiddenMode.Scale):t.hiddenMode=Re.HiddenMode.Display,N.insert(this._items,e,new Ne(t)),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,n){N.move(this._items,e,t),this.parent.update()},t.prototype.detachWidget=function(e,t){var n=N.removeAt(this._items,e);this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&ie.Mu.sendMessage(t,Re.Msg.AfterDetach),n.widget.node.style.zIndex="",this._hiddenMode===Re.HiddenMode.Scale&&(t.hiddenMode=Re.HiddenMode.Display,1===this._items.length&&(this._items[0].widget.hiddenMode=Re.HiddenMode.Display)),n.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,t=0,n=0,i=this._items.length;n<i;++n){var r=this._items[n];r.isHidden||(r.fit(),e=Math.max(e,r.minWidth),t=Math.max(t,r.minHeight))}var o=this._box=ne._$.boxSizing(this.parent.node);e+=o.horizontalSum,t+=o.verticalSum;var s=this.parent.node.style;s.minWidth=e+"px",s.minHeight=t+"px",this._dirty=!0,this.parent.parent&&ie.Mu.sendMessage(this.parent.parent,Re.Msg.FitRequest),this._dirty&&ie.Mu.sendMessage(this.parent,Re.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=ne._$.boxSizing(this.parent.node));var o=this._box.paddingTop,s=this._box.paddingLeft,a=e-this._box.horizontalSum,l=t-this._box.verticalSum;for(i=0,r=this._items.length;i<r;++i){var d=this._items[i];d.isHidden||(d.widget.node.style.zIndex=""+i,d.update(s,o,a,l))}}},t}(Fe),yt=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,{layout:bt.createLayout(t)})||this;return n._widgetRemoved=new se(n),n.addClass("lm-StackedPanel"),n.addClass("p-StackedPanel"),n}return je(t,e),Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this.layout.hiddenMode},set:function(e){this.layout.hiddenMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgetRemoved",{get:function(){return this._widgetRemoved},enumerable:!0,configurable:!0}),t.prototype.onChildAdded=function(e){e.child.addClass("lm-StackedPanel-child"),e.child.addClass("p-StackedPanel-child")},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-StackedPanel-child"),e.child.removeClass("p-StackedPanel-child"),this._widgetRemoved.emit(e.child)},t}(Ge);!function(e){e.createLayout=function(e){return e.layout||new Ct}}(bt||(bt={})),function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n._currentChanged=new se(n),n._addRequested=new se(n),n.addClass("lm-TabPanel"),n.addClass("p-TabPanel"),n.tabBar=new lt(t),n.tabBar.addClass("lm-TabPanel-tabBar"),n.stackedPanel=new yt,n.stackedPanel.addClass("lm-TabPanel-stackedPanel"),n.tabBar.addClass("p-TabPanel-tabBar"),n.stackedPanel.addClass("p-TabPanel-stackedPanel"),n.tabBar.tabMoved.connect(n._onTabMoved,n),n.tabBar.currentChanged.connect(n._onCurrentChanged,n),n.tabBar.tabCloseRequested.connect(n._onTabCloseRequested,n),n.tabBar.tabActivateRequested.connect(n._onTabActivateRequested,n),n.tabBar.addRequested.connect(n._onTabAddRequested,n),n.stackedPanel.widgetRemoved.connect(n._onWidgetRemoved,n),n._tabPlacement=t.tabPlacement||"top";var i=vt.directionFromPlacement(n._tabPlacement),r=vt.orientationFromPlacement(n._tabPlacement);n.tabBar.orientation=r,n.tabBar.dataset.placement=n._tabPlacement;var o=new Qe({direction:i,spacing:0});return Qe.setStretch(n.tabBar,0),Qe.setStretch(n.stackedPanel,1),o.addWidget(n.tabBar),o.addWidget(n.stackedPanel),n.layout=o,n}je(t,e),Object.defineProperty(t.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this.tabBar.currentIndex},set:function(e){this.tabBar.currentIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentWidget",{get:function(){var e=this.tabBar.currentTitle;return e?e.owner:null},set:function(e){this.tabBar.currentTitle=e?e.title:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabsMovable",{get:function(){return this.tabBar.tabsMovable},set:function(e){this.tabBar.tabsMovable=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonEnabled",{get:function(){return this.tabBar.addButtonEnabled},set:function(e){this.tabBar.addButtonEnabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabPlacement",{get:function(){return this._tabPlacement},set:function(e){if(this._tabPlacement!==e){this._tabPlacement=e;var t=vt.directionFromPlacement(e),n=vt.orientationFromPlacement(e);this.tabBar.orientation=n,this.tabBar.dataset.placement=e,this.layout.direction=t}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgets",{get:function(){return this.stackedPanel.widgets},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(e){this.insertWidget(this.widgets.length,e)},t.prototype.insertWidget=function(e,t){t!==this.currentWidget&&t.hide(),this.stackedPanel.insertWidget(e,t),this.tabBar.insertTab(e,t.title),t.node.setAttribute("role","tabpanel");var n=this.tabBar.renderer;if(n instanceof lt.Renderer){var i=n.createTabKey({title:t.title,current:!1,zIndex:0});t.node.setAttribute("aria-labelledby",i)}},t.prototype._onCurrentChanged=function(e,t){var n=t.previousIndex,i=t.previousTitle,r=t.currentIndex,o=t.currentTitle,s=i?i.owner:null,a=o?o.owner:null;s&&s.hide(),a&&a.show(),this._currentChanged.emit({previousIndex:n,previousWidget:s,currentIndex:r,currentWidget:a}),(ne.OD.IS_EDGE||ne.OD.IS_IE)&&ie.Mu.flush()},t.prototype._onTabAddRequested=function(e,t){this._addRequested.emit(e)},t.prototype._onTabActivateRequested=function(e,t){t.title.owner.activate()},t.prototype._onTabCloseRequested=function(e,t){t.title.owner.close()},t.prototype._onTabMoved=function(e,t){this.stackedPanel.insertWidget(t.toIndex,t.title.owner)},t.prototype._onWidgetRemoved=function(e,t){t.node.removeAttribute("role"),t.node.removeAttribute("aria-labelledby"),this.tabBar.removeTab(t.title)}}(Re),function(e){e.orientationFromPlacement=function(e){return t[e]},e.directionFromPlacement=function(e){return n[e]};var t={top:"horizontal",left:"vertical",right:"vertical",bottom:"horizontal"},n={top:"top-to-bottom",left:"left-to-right",right:"right-to-left",bottom:"bottom-to-top"}}(vt||(vt={}));const wt="IPY_MODEL_";function _t(e,t){if(Array.isArray(e)){const n=[];return e.forEach(((e,i)=>{n.push(_t(e,t))})),Promise.all(n)}if(e instanceof Object){const n={};return Object.keys(e).forEach((i=>{n[i]=_t(e[i],t)})),p(n)}return"string"==typeof e&&"IPY_MODEL_"===e.slice(0,10)?t.get_model(e.slice(10,e.length)):Promise.resolve(e)}function Bt(e,t){if(Array.isArray(e)){const n=[];for(const i of e)n.push(Bt(i,t));return n}if(e instanceof Et)return`${wt}${e.model_id}`;if(!(e instanceof Object&&"string"!=typeof e))return e;{const n={};Object.keys(e).forEach((i=>{n[i]=Bt(e[i],t)}))}}class Et extends I.Model{defaults(){return{_model_module:"@jupyter-widgets/base",_model_name:"WidgetModel",_model_module_version:_,_view_module:"@jupyter-widgets/base",_view_name:null,_view_module_version:_,_view_count:null}}isNew(){return!1}initialize(e,t){this._expectedEchoMsgIds={},this._attrsToUpdate={},super.initialize(e,t),this.widget_manager=t.widget_manager,this.model_id=t.model_id;let n=t.comm;this.views=Object.create(null),this.state_change=Promise.resolve(),this._closed=!1,this._state_lock=null,this._msg_buffer=null,this._msg_buffer_callbacks=null,this._pending_msgs=0,this._buffered_state_diff={},n?(this.comm=n,n.on_close(this._handle_comm_closed.bind(this)),n.on_msg(this._handle_comm_msg.bind(this)),this.comm_live=!0):this.comm_live=!1}get comm_live(){return this._comm_live}set comm_live(e){this._comm_live=e,this.trigger("comm_live_update")}send(e,t,n){if(void 0!==this.comm){let i={method:"custom",content:e};this.comm.send(i,t,{},n)}}close(e=!1){if(this._closed)return;this._closed=!0,this.comm&&!e&&this.comm.close(),this.stopListening(),this.trigger("destroy",this),this.comm&&delete this.comm;let t=Object.keys(this.views).map((e=>this.views[e].then((e=>e.remove()))));return delete this.views,Promise.all(t).then((()=>{}))}_handle_comm_closed(e){this.trigger("comm:close"),this.close(!0)}_handle_comm_msg(e){const t=e.content.data;let n=t.method;switch(n){case"update":case"echo_update":return this.state_change=this.state_change.then((()=>{var i,r,o;let s=t.state,a=null!=(i=t.buffer_paths)?i:[],l=(o=null===(r=e.buffers)||void 0===r?void 0:r.slice(0,a.length),null!=o?o:[]).map((e=>e instanceof DataView?e:new DataView(e instanceof ArrayBuffer?e:e.buffer)));if(m(s,a,l),e.parent_header&&"echo_update"===n){const t=e.parent_header.msg_id;Object.keys(s).filter((e=>this._expectedEchoMsgIds.hasOwnProperty(e))).forEach((e=>{this._expectedEchoMsgIds[e]!==t?delete s[e]:(delete this._expectedEchoMsgIds[e],null!==this._msg_buffer&&Object.prototype.hasOwnProperty.call(this._msg_buffer,e)&&delete s[e])}))}return this.constructor._deserialize_state(s,this.widget_manager)})).then((e=>{this.set_state(e)})).catch(A(`Could not process update msg for model id: ${this.model_id}`,!0)),this.state_change;case"custom":return this.trigger("msg:custom",t.content,e.buffers),Promise.resolve()}}set_state(e){this._state_lock=e;try{this.set(e)}catch(e){console.error(`Error setting state: ${e.message}`)}finally{this._state_lock=null}}get_state(e){let t=this.attributes;if(e){let e=this.defaults,n="function"==typeof e?e.call(this):e,i={};return Object.keys(t).forEach((e=>{c(t[e],n[e])||(i[e]=t[e])})),i}return Object.assign({},t)}_handle_status(e){if(void 0!==this.comm&&"idle"===e.content.execution_state&&(this._pending_msgs--,this._pending_msgs<0&&(console.error(`Jupyter Widgets message throttle: Pending messages < 0 (=${this._pending_msgs}), which is unexpected. Resetting to 0 to continue.`),this._pending_msgs=0),null!==this._msg_buffer&&this._pending_msgs<1)){const e=this.send_sync_message(this._msg_buffer,this._msg_buffer_callbacks);this.rememberLastUpdateFor(e),this._msg_buffer=null,this._msg_buffer_callbacks=null}}callbacks(e){return this.widget_manager.callbacks(e)}set(e,t,n){let i=S.call(this,e,t,n);if(void 0!==this._buffered_state_diff){let e=this.changedAttributes()||{};if(this._state_lock)for(const t of Object.keys(this._state_lock))e[t]===this._state_lock[t]&&delete e[t];this._buffered_state_diff=u(this._buffered_state_diff,e)}return i}sync(e,t,n={}){if(void 0===this.comm)throw"Syncing error: no comm channel defined";let i="patch"===e?n.attrs:t.get_state(n.drop_defaults);if(this._state_lock)for(const e of Object.keys(this._state_lock))i[e]===this._state_lock[e]&&delete i[e];Object.keys(i).forEach((e=>{this._attrsToUpdate[e]=!0}));let r=this.serialize(i);if(Object.keys(r).length>0){let t=n.callbacks||this.callbacks();if(this._pending_msgs>=1){switch(e){case"patch":this._msg_buffer=u(this._msg_buffer||{},r);break;case"update":case"create":this._msg_buffer=r;break;default:throw"unrecognized syncing method"}this._msg_buffer_callbacks=t}else{const e=this.send_sync_message(i,t);this.rememberLastUpdateFor(e)}}}rememberLastUpdateFor(e){Object.keys(this._attrsToUpdate).forEach((t=>{this._expectedEchoMsgIds[t]=e})),this._attrsToUpdate={}}serialize(e){const t=this.constructor.serializers||{};for(const n of Object.keys(e))try{t[n]&&t[n].serialize?e[n]=t[n].serialize(e[n],this):e[n]=JSON.parse(JSON.stringify(e[n])),e[n]&&e[n].toJSON&&(e[n]=e[n].toJSON())}catch(e){throw console.error("Error serializing widget state attribute: ",n),e}return e}send_sync_message(e,t={}){if(!this.comm)return"";try{const n=(t={shell:Object.assign({},t.shell),iopub:Object.assign({},t.iopub),input:t.input}).iopub.status;t.iopub.status=e=>{this._handle_status(e),n&&n(e)};let i=g(e);const r=this.comm.send({method:"update",state:i.state,buffer_paths:i.buffer_paths},t,{},i.buffers);return this._pending_msgs++,r}catch(e){console.error("Could not send widget sync message",e)}return""}save_changes(e){if(this.comm_live){let t={patch:!0};e&&(t.callbacks=e),this.save(this._buffered_state_diff,t),this._buffered_state_diff={}}}on_some_change(e,t,n){const i=this;this.on("change",(function(){e.some(i.hasChanged,i)&&t.apply(n,arguments)}),this)}toJSON(e){return`IPY_MODEL_${this.model_id}`}static _deserialize_state(e,t){let n,i=this.serializers;if(i){n={};for(let r in e)i[r]&&i[r].deserialize?n[r]=i[r].deserialize(e[r],t):n[r]=e[r]}else n=e;return p(n)}}class xt extends Et{defaults(){return u(super.defaults(),{_dom_classes:[]})}}xt.serializers=Object.assign(Object.assign({},Et.serializers),{layout:{deserialize:_t},style:{deserialize:_t}});class kt extends L{constructor(e){super(e)}initialize(e){this.listenTo(this.model,"change",(()=>{let e=Object.keys(this.model.changedAttributes()||{});"_view_count"===e[0]&&1===e.length||this.update()})),this.options=e.options,this.once("remove",(()=>{"number"==typeof this.model.get("_view_count")&&(this.model.set("_view_count",this.model.get("_view_count")-1),this.model.save_changes())})),this.once("displayed",(()=>{"number"==typeof this.model.get("_view_count")&&(this.model.set("_view_count",this.model.get("_view_count")+1),this.model.save_changes())})),this.displayed=new Promise(((e,t)=>{this.once("displayed",e)}))}update(e){}render(){}create_child_view(e,t={}){return t=Object.assign({parent:this},t),this.model.widget_manager.create_view(e,t).catch(A("Could not create child view",!0))}callbacks(){return this.model.callbacks(this)}send(e,t){this.model.send(e,this.callbacks(),t)}touch(){this.model.save_changes(this.callbacks())}remove(){return super.remove(),this.trigger("remove"),this}}class Tt extends Re{constructor(e){let t=e.view;delete e.view,super(e),this._view=t}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}processMessage(e){super.processMessage(e),this._view.processPhosphorMessage(e)}}class jt extends Ge{constructor(e){let t=e.view;delete e.view,super(e),this._view=t}processMessage(e){super.processMessage(e),this._view.processPhosphorMessage(e)}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}}class Dt extends kt{initialize(e){super.initialize(e),this.listenTo(this.model,"change:_dom_classes",((e,t)=>{let n=e.previous("_dom_classes");this.update_classes(n,t)})),this.layoutPromise=Promise.resolve(),this.listenTo(this.model,"change:layout",((e,t)=>{this.setLayout(t,e.previous("layout"))})),this.stylePromise=Promise.resolve(),this.listenTo(this.model,"change:style",((e,t)=>{this.setStyle(t,e.previous("style"))})),this.displayed.then((()=>{this.update_classes([],this.model.get("_dom_classes")),this.setLayout(this.model.get("layout")),this.setStyle(this.model.get("style"))})),this._comm_live_update(),this.listenTo(this.model,"comm_live_update",(()=>{this._comm_live_update()}))}setLayout(e,t){e&&(this.layoutPromise=this.layoutPromise.then((t=>(t&&(t.unlayout(),this.stopListening(t.model),t.remove()),this.create_child_view(e).then((e=>this.displayed.then((()=>(e.trigger("displayed"),this.listenTo(e.model,"change",(()=>{ie.Mu.postMessage(this.pWidget,Re.ResizeMessage.UnknownSize)})),ie.Mu.postMessage(this.pWidget,Re.ResizeMessage.UnknownSize),e))))).catch(A("Could not add LayoutView to DOMWidgetView",!0))))))}setStyle(e,t){e&&(this.stylePromise=this.stylePromise.then((t=>(t&&(t.unstyle(),this.stopListening(t.model),t.remove()),this.create_child_view(e).then((e=>this.displayed.then((()=>(e.trigger("displayed"),e))))).catch(A("Could not add styleView to DOMWidgetView",!0))))))}update_classes(e,t,n){void 0===n&&(n=this.el),d(e,t).map((function(e){n.classList?n.classList.remove(e):n.setAttribute("class",n.getAttribute("class").replace(e,""))})),d(t,e).map((function(e){n.classList?n.classList.add(e):n.setAttribute("class",n.getAttribute("class").concat(" ",e))}))}update_mapped_classes(e,t,n){let i=this.model.previous(t),r=e[i]?e[i]:[];i=this.model.get(t);let o=e[i]?e[i]:[];this.update_classes(r,o,n||this.el)}set_mapped_classes(e,t,n){let i=this.model.get(t),r=e[i]?e[i]:[];this.update_classes([],r,n||this.el)}_setElement(e){this.pWidget&&this.pWidget.dispose(),this.$el=e instanceof P()?e:P()(e),this.el=this.$el[0],this.pWidget=new Tt({node:e,view:this})}remove(){return this.pWidget&&this.pWidget.dispose(),super.remove()}processPhosphorMessage(e){"after-attach"===e.type&&this.trigger("displayed")}_comm_live_update(){this.model.comm_live?this.pWidget.removeClass("jupyter-widgets-disconnected"):this.pWidget.addClass("jupyter-widgets-disconnected")}}let St={align_content:null,align_items:null,align_self:null,border:null,bottom:null,display:null,flex:null,flex_flow:null,height:null,justify_content:null,justify_items:null,left:null,margin:null,max_height:null,max_width:null,min_height:null,min_width:null,overflow:null,overflow_x:null,overflow_y:null,order:null,padding:null,right:null,top:null,visibility:null,width:null,object_fit:null,object_position:null,grid_auto_columns:null,grid_auto_flow:null,grid_auto_rows:null,grid_gap:null,grid_template_rows:null,grid_template_columns:null,grid_template_areas:null,grid_row:null,grid_column:null,grid_area:null};class It extends Et{defaults(){return u(super.defaults(),{_model_name:"LayoutModel",_view_name:"LayoutView"},St)}}class Mt extends kt{initialize(e){this._traitNames=[],super.initialize(e);for(let e of Object.keys(St))this.registerTrait(e)}registerTrait(e){if(this._traitNames.push(e),"overflow_x"===e||"overflow_y"===e)return this.listenTo(this.model,"change:"+e,((t,n)=>{this.handleOverflowChange(e,n)})),void this.handleOverflowChange(e,this.model.get(e));this.listenTo(this.model,"change:"+e,((t,n)=>{this.handleChange(e,n)})),this.handleChange(e,this.model.get(e))}css_name(e){return e.replace(/_/g,"-")}handleChange(e,t){let n=this.options.parent;n?null===t?n.el.style.removeProperty(this.css_name(e)):n.el.style[this.css_name(e)]=t:console.warn("Style not applied because a parent view does not exist")}handleOverflowChange(e,t){let n=this.options.parent;n?null===t?null===this.model.get("overflow")&&n.el.style.removeProperty(this.css_name(e)):n.el.style[this.css_name(e)]=t:console.warn("Style not applied because a parent view does not exist")}unlayout(){let e=this.options.parent;this._traitNames.forEach((t=>{e?e.el.style.removeProperty(this.css_name(t)):console.warn("Style not removed because a parent view does not exist")}),this)}}class Pt extends Et{defaults(){let e=this.constructor;return u(super.defaults(),{_model_name:"StyleModel",_view_name:"StyleView"},Object.keys(e.styleProperties).reduce(((t,n)=>(t[n]=e.styleProperties[n].default,t)),{}))}}Pt.styleProperties={};class Rt extends kt{initialize(e){this._traitNames=[],super.initialize(e);let t=this.model.constructor;for(let e of Object.keys(t.styleProperties))this.registerTrait(e);this.style()}registerTrait(e){this._traitNames.push(e),this.listenTo(this.model,"change:"+e,((t,n)=>{this.handleChange(e,n)}))}handleChange(e,t){let n=this.options.parent;if(n){let i=this.model.constructor.styleProperties,r=i[e].attribute,o=i[e].selector,s=o?n.el.querySelectorAll(o):[n.el];if(null===t)for(let e=0;e!==s.length;++e)s[e].style.removeProperty(r);else for(let e=0;e!==s.length;++e)s[e].style[r]=t}else console.warn("Style not applied because a parent view does not exist")}style(){for(let e of this._traitNames)this.handleChange(e,this.model.get(e))}unstyle(){let e=this.options.parent,t=this.model.constructor.styleProperties;this._traitNames.forEach((n=>{if(e){let i=t[n].attribute,r=t[n].selector,o=r?e.el.querySelectorAll(r):[e.el];for(let e=0;e!==o.length;++e)o[e].style.removeProperty(i)}else console.warn("Style not removed because a parent view does not exist")}),this)}}var Ot;!function(e){let t;!function(e){e.CommManager=class{constructor(e){this.targets=Object.create(null),this.comms=Object.create(null),this.kernel=null,this.jsServicesKernel=null,this.init_kernel(e)}init_kernel(e){this.kernel=e,this.jsServicesKernel=e}async new_comm(e,n,i,r,o,s){let a=this.jsServicesKernel.createComm(e,o),l=new t(a);return this.register_comm(l),l.open(n,i,r,s),l}register_target(e,n){let i=this.jsServicesKernel.registerCommTarget(e,((e,i)=>{let r=new t(e);this.register_comm(r);try{return n(r,i)}catch(e){r.close(),console.error(e),console.error(new Error("Exception opening new comm"))}}));this.targets[e]=i}unregister_target(e,t){this.targets[e].dispose(),delete this.targets[e]}register_comm(e){return this.comms[e.comm_id]=Promise.resolve(e),e.kernel=this.kernel,e.comm_id}};class t{constructor(e){this.jsServicesComm=null,this.kernel=null,this.jsServicesComm=e}get comm_id(){return this.jsServicesComm.commId}get target_name(){return this.jsServicesComm.targetName}open(e,t,n,i){let r=this.jsServicesComm.open(e,n,i);return this._hookupCallbacks(r,t),r.msg.header.msg_id}send(e,t,n,i){let r=this.jsServicesComm.send(e,n,i);return this._hookupCallbacks(r,t),r.msg.header.msg_id}close(e,t,n,i){let r=this.jsServicesComm.close(e,n,i);return this._hookupCallbacks(r,t),r.msg.header.msg_id}on_msg(e){this.jsServicesComm.onMsg=e.bind(this)}on_close(e){this.jsServicesComm.onClose=e.bind(this)}_hookupCallbacks(e,t){t&&(e.onReply=function(e){t.shell&&t.shell.reply&&t.shell.reply(e)},e.onStdin=function(e){t.input&&t.input(e)},e.onIOPub=function(e){if(t.iopub)if(t.iopub.status&&"status"===e.header.msg_type)t.iopub.status(e);else if(t.iopub.clear_output&&"clear_output"===e.header.msg_type)t.iopub.clear_output(e);else if(t.iopub.output)switch(e.header.msg_type){case"display_data":case"execute_result":case"stream":case"error":t.iopub.output(e)}})}}e.Comm=t}(t=e.services||(e.services={}))}(Ot||(Ot={}));class Lt{constructor(e,t,n){this.initialize(e,t,n)}initialize(e,t,n){this._handler_context=n||this,this._models=[],this.views=[],this._create_view=e,this._remove_view=t||function(e){e.remove()}}update(e,t,n,i){let r=n||this._remove_view,o=t||this._create_view;i=i||this._handler_context;let s=0;for(;s<e.length&&!(s>=this._models.length||e[s]!==this._models[s]);s++);let a=s,l=this.views.splice(a,this.views.length-a);for(let e=0;e<l.length;e++)l[e].then((function(e){r.call(i,e)}));for(;s<e.length;s++)this.views.push(Promise.resolve(o.call(i,e[s],s)));return this._models=e.slice(),Promise.all(this.views)}remove(){return Promise.all(this.views).then((e=>{e.forEach((e=>this._remove_view.call(this._handler_context,e))),this.views=[],this._models=[]}))}dispose(){this.views=null,this._models=null}}const Nt=new r.Token("jupyter.extensions.jupyterWidgetRegistry")},8960:function(e,t){!function(e){"use strict";e.JSONExt=void 0,function(e){function t(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e}function n(e){return Array.isArray(e)}function i(e,r){if(e===r)return!0;if(t(e)||t(r))return!1;var o=n(e),s=n(r);return o===s&&(o&&s?function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;++n)if(!i(e[n],t[n]))return!1;return!0}(e,r):function(e,t){if(e===t)return!0;for(var n in e)if(void 0!==e[n]&&!(n in t))return!1;for(var n in t)if(void 0!==t[n]&&!(n in e))return!1;for(var n in e){var r=e[n],o=t[n];if(void 0!==r||void 0!==o){if(void 0===r||void 0===o)return!1;if(!i(r,o))return!1}}return!0}(e,r))}function r(e){return t(e)?e:n(e)?function(e){for(var t=new Array(e.length),n=0,i=e.length;n<i;++n)t[n]=r(e[n]);return t}(e):function(e){var t={};for(var n in e){var i=e[n];void 0!==i&&(t[n]=r(i))}return t}(e)}e.emptyObject=Object.freeze({}),e.emptyArray=Object.freeze([]),e.isPrimitive=t,e.isArray=n,e.isObject=function(e){return!t(e)&&!n(e)},e.deepEqual=i,e.deepCopy=r}(e.JSONExt||(e.JSONExt={}));var t,n=function(){function e(){this._types=[],this._values=[]}return e.prototype.types=function(){return this._types.slice()},e.prototype.hasData=function(e){return-1!==this._types.indexOf(e)},e.prototype.getData=function(e){var t=this._types.indexOf(e);return-1!==t?this._values[t]:void 0},e.prototype.setData=function(e,t){this.clearData(e),this._types.push(e),this._values.push(t)},e.prototype.clearData=function(e){var t=this._types.indexOf(e);-1!==t&&(this._types.splice(t,1),this._values.splice(t,1))},e.prototype.clear=function(){this._types.length=0,this._values.length=0},e}(),i=function(){function e(){var e=this;this.promise=new Promise((function(t,n){e._resolve=t,e._reject=n}))}return e.prototype.resolve=function(e){(0,this._resolve)(e)},e.prototype.reject=function(e){(0,this._reject)(e)},e}(),r=function(e){this.name=e,this._tokenStructuralPropertyT=null};e.Random=void 0,(e.Random||(e.Random={})).getRandomValues=(t="undefined"!=typeof window&&(window.crypto||window.msCrypto)||null)&&"function"==typeof t.getRandomValues?function(e){return t.getRandomValues(e)}:function(e){for(var t=0,n=0,i=e.length;n<i;++n)n%4==0&&(t=4294967295*Math.random()>>>0),e[n]=255&t,t>>>=8},e.UUID=void 0,(e.UUID||(e.UUID={})).uuid4=function(e){for(var t=new Uint8Array(16),n=new Array(256),i=0;i<16;++i)n[i]="0"+i.toString(16);for(i=16;i<256;++i)n[i]=i.toString(16);return function(){return e(t),t[6]=64|15&t[6],t[8]=128|63&t[8],n[t[0]]+n[t[1]]+n[t[2]]+n[t[3]]+"-"+n[t[4]]+n[t[5]]+"-"+n[t[6]]+n[t[7]]+"-"+n[t[8]]+n[t[9]]+"-"+n[t[10]]+n[t[11]]+n[t[12]]+n[t[13]]+n[t[14]]+n[t[15]]}}(e.Random.getRandomValues),e.MimeData=n,e.PromiseDelegate=i,e.Token=r,Object.defineProperty(e,"__esModule",{value:!0})}(t)},7646:(e,t,n)=>{var i,r,o;o="object"==typeof self&&self.self==self&&self||"object"==typeof n.g&&n.g.global==n.g&&n.g,i=[n(2562),n(4651),t],r=function(e,t,n){o.Backbone=function(e,t,n,i){var r=e.Backbone,o=Array.prototype.slice;t.VERSION="1.2.3",t.$=i,t.noConflict=function(){return e.Backbone=r,this},t.emulateHTTP=!1,t.emulateJSON=!1;var s=function(e,t,i){n.each(t,(function(t,r){n[r]&&(e.prototype[r]=function(e,t,i){switch(e){case 1:return function(){return n[t](this[i])};case 2:return function(e){return n[t](this[i],e)};case 3:return function(e,r){return n[t](this[i],a(e,this),r)};case 4:return function(e,r,o){return n[t](this[i],a(e,this),r,o)};default:return function(){var e=o.call(arguments);return e.unshift(this[i]),n[t].apply(n,e)}}}(t,r,i))}))},a=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?l(e):n.isString(e)?function(t){return t.get(e)}:e},l=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},d=t.Events={},c=/\s+/,u=function(e,t,i,r,o){var s,a=0;if(i&&"object"==typeof i){void 0!==r&&"context"in o&&void 0===o.context&&(o.context=r);for(s=n.keys(i);a<s.length;a++)t=u(e,t,s[a],i[s[a]],o)}else if(i&&c.test(i))for(s=i.split(c);a<s.length;a++)t=e(t,s[a],r,o);else t=e(t,i,r,o);return t};d.on=function(e,t,n){return h(this,e,t,n)};var h=function(e,t,n,i,r){return e._events=u(f,e._events||{},t,n,{context:i,ctx:e,listening:r}),r&&((e._listeners||(e._listeners={}))[r.id]=r),e};d.listenTo=function(e,t,i){if(!e)return this;var r=e._listenId||(e._listenId=n.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),s=o[r];if(!s){var a=this._listenId||(this._listenId=n.uniqueId("l"));s=o[r]={obj:e,objId:r,id:a,listeningTo:o,count:0}}return h(e,t,i,this,s),this};var f=function(e,t,n,i){if(n){var r=e[t]||(e[t]=[]),o=i.context,s=i.ctx,a=i.listening;a&&a.count++,r.push({callback:n,context:o,ctx:o||s,listening:a})}return e};d.off=function(e,t,n){return this._events?(this._events=u(p,this._events,e,t,{context:n,listeners:this._listeners}),this):this},d.stopListening=function(e,t,i){var r=this._listeningTo;if(!r)return this;for(var o=e?[e._listenId]:n.keys(r),s=0;s<o.length;s++){var a=r[o[s]];if(!a)break;a.obj.off(t,i,this)}return n.isEmpty(r)&&(this._listeningTo=void 0),this};var p=function(e,t,i,r){if(e){var o,s=0,a=r.context,l=r.listeners;if(t||i||a){for(var d=t?[t]:n.keys(e);s<d.length;s++){var c=e[t=d[s]];if(!c)break;for(var u=[],h=0;h<c.length;h++){var f=c[h];i&&i!==f.callback&&i!==f.callback._callback||a&&a!==f.context?u.push(f):(o=f.listening)&&0==--o.count&&(delete l[o.id],delete o.listeningTo[o.objId])}u.length?e[t]=u:delete e[t]}return n.size(e)?e:void 0}for(var p=n.keys(l);s<p.length;s++)delete l[(o=l[p[s]]).id],delete o.listeningTo[o.objId]}};d.once=function(e,t,i){var r=u(A,{},e,t,n.bind(this.off,this));return this.on(r,void 0,i)},d.listenToOnce=function(e,t,i){var r=u(A,{},t,i,n.bind(this.stopListening,this,e));return this.listenTo(e,r)};var A=function(e,t,i,r){if(i){var o=e[t]=n.once((function(){r(t,o),i.apply(this,arguments)}));o._callback=i}return e};d.trigger=function(e){if(!this._events)return this;for(var t=Math.max(0,arguments.length-1),n=Array(t),i=0;i<t;i++)n[i]=arguments[i+1];return u(m,this._events,e,void 0,n),this};var m=function(e,t,n,i){if(e){var r=e[t],o=e.all;r&&o&&(o=o.slice()),r&&g(r,i),o&&g(o,[t].concat(i))}return e},g=function(e,t){var n,i=-1,r=e.length,o=t[0],s=t[1],a=t[2];switch(t.length){case 0:for(;++i<r;)(n=e[i]).callback.call(n.ctx);return;case 1:for(;++i<r;)(n=e[i]).callback.call(n.ctx,o);return;case 2:for(;++i<r;)(n=e[i]).callback.call(n.ctx,o,s);return;case 3:for(;++i<r;)(n=e[i]).callback.call(n.ctx,o,s,a);return;default:for(;++i<r;)(n=e[i]).callback.apply(n.ctx,t);return}};d.bind=d.on,d.unbind=d.off,n.extend(t,d);var b=t.Model=function(e,t){var i=e||{};t||(t={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(i=this.parse(i,t)||{}),i=n.defaults({},i,n.result(this,"defaults")),this.set(i,t),this.changed={},this.initialize.apply(this,arguments)};n.extend(b.prototype,d,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(e){return n.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return n.escape(this.get(e))},has:function(e){return null!=this.get(e)},matches:function(e){return!!n.iteratee(e,this)(this.attributes)},set:function(e,t,i){if(null==e)return this;var r;if("object"==typeof e?(r=e,i=t):(r={})[e]=t,i||(i={}),!this._validate(r,i))return!1;var o=i.unset,s=i.silent,a=[],l=this._changing;this._changing=!0,l||(this._previousAttributes=n.clone(this.attributes),this.changed={});var d=this.attributes,c=this.changed,u=this._previousAttributes;for(var h in r)t=r[h],n.isEqual(d[h],t)||a.push(h),n.isEqual(u[h],t)?delete c[h]:c[h]=t,o?delete d[h]:d[h]=t;if(this.id=this.get(this.idAttribute),!s){a.length&&(this._pending=i);for(var f=0;f<a.length;f++)this.trigger("change:"+a[f],this,d[a[f]],i)}if(l)return this;if(!s)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,n.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var i in this.attributes)t[i]=void 0;return this.set(t,n.extend({},e,{unset:!0}))},hasChanged:function(e){return null==e?!n.isEmpty(this.changed):n.has(this.changed,e)},changedAttributes:function(e){if(!e)return!!this.hasChanged()&&n.clone(this.changed);var t=this._changing?this._previousAttributes:this.attributes,i={};for(var r in e){var o=e[r];n.isEqual(t[r],o)||(i[r]=o)}return!!n.size(i)&&i},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(e){e=n.extend({parse:!0},e);var t=this,i=e.success;return e.success=function(n){var r=e.parse?t.parse(n,e):n;if(!t.set(r,e))return!1;i&&i.call(e.context,t,n,e),t.trigger("sync",t,n,e)},L(this,e),this.sync("read",this,e)},save:function(e,t,i){var r;null==e||"object"==typeof e?(r=e,i=t):(r={})[e]=t;var o=(i=n.extend({validate:!0,parse:!0},i)).wait;if(r&&!o){if(!this.set(r,i))return!1}else if(!this._validate(r,i))return!1;var s=this,a=i.success,l=this.attributes;i.success=function(e){s.attributes=l;var t=i.parse?s.parse(e,i):e;if(o&&(t=n.extend({},r,t)),t&&!s.set(t,i))return!1;a&&a.call(i.context,s,e,i),s.trigger("sync",s,e,i)},L(this,i),r&&o&&(this.attributes=n.extend({},l,r));var d=this.isNew()?"create":i.patch?"patch":"update";"patch"!==d||i.attrs||(i.attrs=r);var c=this.sync(d,this,i);return this.attributes=l,c},destroy:function(e){e=e?n.clone(e):{};var t=this,i=e.success,r=e.wait,o=function(){t.stopListening(),t.trigger("destroy",t,t.collection,e)};e.success=function(n){r&&o(),i&&i.call(e.context,t,n,e),t.isNew()||t.trigger("sync",t,n,e)};var s=!1;return this.isNew()?n.defer(e.success):(L(this,e),s=this.sync("delete",this,e)),r||o(),s},url:function(){var e=n.result(this,"urlRoot")||n.result(this.collection,"url")||O();if(this.isNew())return e;var t=this.get(this.idAttribute);return e.replace(/[^\/]$/,"$&/")+encodeURIComponent(t)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},n.defaults({validate:!0},e))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=n.extend({},this.attributes,e);var i=this.validationError=this.validate(e,t)||null;return!i||(this.trigger("invalid",this,i,n.extend(t,{validationError:i})),!1)}}),s(b,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var v=t.Collection=function(e,t){t||(t={}),t.model&&(this.model=t.model),void 0!==t.comparator&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,n.extend({silent:!0},t))},C={add:!0,remove:!0,merge:!0},y={add:!0,remove:!1},w=function(e,t,n){n=Math.min(Math.max(n,0),e.length);for(var i=Array(e.length-n),r=t.length,o=0;o<i.length;o++)i[o]=e[o+n];for(o=0;o<r;o++)e[o+n]=t[o];for(o=0;o<i.length;o++)e[o+r+n]=i[o]};n.extend(v.prototype,d,{model:b,initialize:function(){},toJSON:function(e){return this.map((function(t){return t.toJSON(e)}))},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,n.extend({merge:!1},t,y))},remove:function(e,t){t=n.extend({},t);var i=!n.isArray(e);e=i?[e]:n.clone(e);var r=this._removeModels(e,t);return!t.silent&&r&&this.trigger("update",this,t),i?r[0]:r},set:function(e,t){if(null!=e){(t=n.defaults({},t,C)).parse&&!this._isModel(e)&&(e=this.parse(e,t));var i=!n.isArray(e);e=i?[e]:e.slice();var r=t.at;null!=r&&(r=+r),r<0&&(r+=this.length+1);for(var o,s=[],a=[],l=[],d={},c=t.add,u=t.merge,h=t.remove,f=!1,p=this.comparator&&null==r&&!1!==t.sort,A=n.isString(this.comparator)?this.comparator:null,m=0;m<e.length;m++){o=e[m];var g=this.get(o);if(g){if(u&&o!==g){var b=this._isModel(o)?o.attributes:o;t.parse&&(b=g.parse(b,t)),g.set(b,t),p&&!f&&(f=g.hasChanged(A))}d[g.cid]||(d[g.cid]=!0,s.push(g)),e[m]=g}else c&&(o=e[m]=this._prepareModel(o,t))&&(a.push(o),this._addReference(o,t),d[o.cid]=!0,s.push(o))}if(h){for(m=0;m<this.length;m++)d[(o=this.models[m]).cid]||l.push(o);l.length&&this._removeModels(l,t)}var v=!1,y=!p&&c&&h;if(s.length&&y?(v=this.length!=s.length||n.some(this.models,(function(e,t){return e!==s[t]})),this.models.length=0,w(this.models,s,0),this.length=this.models.length):a.length&&(p&&(f=!0),w(this.models,a,null==r?this.length:r),this.length=this.models.length),f&&this.sort({silent:!0}),!t.silent){for(m=0;m<a.length;m++)null!=r&&(t.index=r+m),(o=a[m]).trigger("add",o,this,t);(f||v)&&this.trigger("sort",this,t),(a.length||l.length)&&this.trigger("update",this,t)}return i?e[0]:e}},reset:function(e,t){t=t?n.clone(t):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],t);return t.previousModels=this.models,this._reset(),e=this.add(e,n.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,n.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e)},unshift:function(e,t){return this.add(e,n.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e)},slice:function(){return o.apply(this.models,arguments)},get:function(e){if(null!=e){var t=this.modelId(this._isModel(e)?e.attributes:e);return this._byId[e]||this._byId[t]||this._byId[e.cid]}},at:function(e){return e<0&&(e+=this.length),this.models[e]},where:function(e,t){return this[t?"find":"filter"](e)},findWhere:function(e){return this.where(e,!0)},sort:function(e){var t=this.comparator;if(!t)throw new Error("Cannot sort a set without a comparator");e||(e={});var i=t.length;return n.isFunction(t)&&(t=n.bind(t,this)),1===i||n.isString(t)?this.models=this.sortBy(t):this.models.sort(t),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return n.invoke(this.models,"get",e)},fetch:function(e){var t=(e=n.extend({parse:!0},e)).success,i=this;return e.success=function(n){var r=e.reset?"reset":"set";i[r](n,e),t&&t.call(e.context,i,n,e),i.trigger("sync",i,n,e)},L(this,e),this.sync("read",this,e)},create:function(e,t){var i=(t=t?n.clone(t):{}).wait;if(!(e=this._prepareModel(e,t)))return!1;i||this.add(e,t);var r=this,o=t.success;return t.success=function(e,t,n){i&&r.add(e,n),o&&o.call(n.context,e,t,n)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(e){return e[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(this._isModel(e))return e.collection||(e.collection=this),e;(t=t?n.clone(t):{}).collection=this;var i=new this.model(e,t);return i.validationError?(this.trigger("invalid",this,i.validationError,t),!1):i},_removeModels:function(e,t){for(var n=[],i=0;i<e.length;i++){var r=this.get(e[i]);if(r){var o=this.indexOf(r);this.models.splice(o,1),this.length--,t.silent||(t.index=o,r.trigger("remove",r,this,t)),n.push(r),this._removeReference(r,t)}}return!!n.length&&n},_isModel:function(e){return e instanceof b},_addReference:function(e,t){this._byId[e.cid]=e;var n=this.modelId(e.attributes);null!=n&&(this._byId[n]=e),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){delete this._byId[e.cid];var n=this.modelId(e.attributes);null!=n&&delete this._byId[n],this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,i){if("add"!==e&&"remove"!==e||n===this){if("destroy"===e&&this.remove(t,i),"change"===e){var r=this.modelId(t.previousAttributes()),o=this.modelId(t.attributes);r!==o&&(null!=r&&delete this._byId[r],null!=o&&(this._byId[o]=t))}this.trigger.apply(this,arguments)}}}),s(v,{forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3},"models");var _=t.View=function(e){this.cid=n.uniqueId("view"),n.extend(this,n.pick(e,E)),this._ensureElement(),this.initialize.apply(this,arguments)},B=/^(\S+)\s*(.*)$/,E=["model","collection","el","id","attributes","className","tagName","events"];n.extend(_.prototype,d,{tagName:"div",$:function(e){return this.$el.find(e)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(e){return this.undelegateEvents(),this._setElement(e),this.delegateEvents(),this},_setElement:function(e){this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0]},delegateEvents:function(e){if(e||(e=n.result(this,"events")),!e)return this;for(var t in this.undelegateEvents(),e){var i=e[t];if(n.isFunction(i)||(i=this[i]),i){var r=t.match(B);this.delegate(r[1],r[2],n.bind(i,this))}}return this},delegate:function(e,t,n){return this.$el.on(e+".delegateEvents"+this.cid,t,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(e,t,n){return this.$el.off(e+".delegateEvents"+this.cid,t,n),this},_createElement:function(e){return document.createElement(e)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var e=n.extend({},n.result(this,"attributes"));this.id&&(e.id=n.result(this,"id")),this.className&&(e.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(e)}},_setAttributes:function(e){this.$el.attr(e)}}),t.sync=function(e,i,r){var o=x[e];n.defaults(r||(r={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var s={type:o,dataType:"json"};if(r.url||(s.url=n.result(i,"url")||O()),null!=r.data||!i||"create"!==e&&"update"!==e&&"patch"!==e||(s.contentType="application/json",s.data=JSON.stringify(r.attrs||i.toJSON(r))),r.emulateJSON&&(s.contentType="application/x-www-form-urlencoded",s.data=s.data?{model:s.data}:{}),r.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){s.type="POST",r.emulateJSON&&(s.data._method=o);var a=r.beforeSend;r.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",o),a)return a.apply(this,arguments)}}"GET"===s.type||r.emulateJSON||(s.processData=!1);var l=r.error;r.error=function(e,t,n){r.textStatus=t,r.errorThrown=n,l&&l.call(r.context,e,t,n)};var d=r.xhr=t.ajax(n.extend(s,r));return i.trigger("request",i,d,r),d};var x={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var k=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},T=/\((.*?)\)/g,j=/(\(\?)?:\w+/g,D=/\*\w+/g,S=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(k.prototype,d,{initialize:function(){},route:function(e,i,r){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(i)&&(r=i,i=""),r||(r=this[i]);var o=this;return t.history.route(e,(function(n){var s=o._extractParameters(e,n);!1!==o.execute(r,s,i)&&(o.trigger.apply(o,["route:"+i].concat(s)),o.trigger("route",i,s),t.history.trigger("route",o,i,s))})),this},execute:function(e,t,n){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var e,t=n.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(S,"\\$&").replace(T,"(?:$1)?").replace(j,(function(e,t){return t?e:"([^/?]+)"})).replace(D,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var i=e.exec(t).slice(1);return n.map(i,(function(e,t){return t===i.length-1?e||null:e?decodeURIComponent(e):null}))}});var I=t.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},M=/^[#\/]|\s+$/g,P=/^\/+|\/+$/g,R=/#.*$/;I.started=!1,n.extend(I.prototype,d,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(e){return decodeURI(e.replace(/%25/g,"%2525"))},getSearch:function(){var e=this.location.href.replace(/#.*/,"").match(/\?.+/);return e?e[0]:""},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getPath:function(){var e=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===e.charAt(0)?e.slice(1):e},getFragment:function(e){return null==e&&(e=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),e.replace(M,"")},start:function(e){if(I.started)throw new Error("Backbone.history has already been started");if(I.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(P,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,r=i.insertBefore(this.iframe,i.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var o=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?o("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?o("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!I.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+e;if(e=this.decodeFragment(e.replace(R,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;t.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var i=e.href.replace(/(javascript:|#).*$/,"");e.replace(i+"#"+t)}else e.hash="#"+t}}),t.history=new I;b.extend=v.extend=k.extend=_.extend=I.extend=function(e,t){var i,r=this;i=e&&n.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},n.extend(i,r,t);var o=function(){this.constructor=i};return o.prototype=r.prototype,i.prototype=new o,e&&n.extend(i.prototype,e),i.__super__=r.prototype,i};var O=function(){throw new Error('A "url" property or function must be specified')},L=function(e,t){var n=t.error;t.error=function(i){n&&n.call(t.context,e,i,t),e.trigger("error",e,i,t)}};return t}(o,n,e,t)}.apply(t,i),void 0===r||(e.exports=r)},244:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AccordionModel:()=>ti,AccordionView:()=>ii,AudioModel:()=>Tt,AudioView:()=>jt,BaseIntSliderView:()=>en,BoolModel:()=>C,BoundedFloatModel:()=>fn,BoundedFloatTextModel:()=>yn,BoundedIntModel:()=>Jt,BoundedIntTextModel:()=>on,BoxModel:()=>mt,BoxView:()=>vt,ButtonModel:()=>T,ButtonStyleModel:()=>k,ButtonView:()=>j,CheckboxModel:()=>y,CheckboxView:()=>w,ColorPickerModel:()=>Dt,ColorPickerView:()=>St,ComboboxModel:()=>Ci,ComboboxView:()=>yi,ControllerAxisModel:()=>xn,ControllerAxisView:()=>kn,ControllerButtonModel:()=>Bn,ControllerButtonView:()=>En,ControllerModel:()=>Tn,ControllerView:()=>jn,DatePickerModel:()=>Rt,DatePickerView:()=>Ot,DescriptionModel:()=>d,DescriptionStyleModel:()=>l,DescriptionView:()=>c,DirectionalLinkModel:()=>b,DropdownModel:()=>Sn,DropdownView:()=>In,FileUploadModel:()=>wi,FileUploadView:()=>_i,FloatLogSliderModel:()=>An,FloatLogSliderView:()=>bn,FloatModel:()=>hn,FloatProgressModel:()=>_n,FloatRangeSliderModel:()=>mn,FloatRangeSliderView:()=>vn,FloatSliderModel:()=>pn,FloatSliderView:()=>gn,FloatTextModel:()=>Cn,FloatTextView:()=>wn,GridBoxModel:()=>_t,GridBoxView:()=>wt,HBoxModel:()=>gt,HBoxView:()=>Ct,HTMLMathModel:()=>ci,HTMLMathView:()=>ui,HTMLModel:()=>li,HTMLView:()=>di,ImageModel:()=>Bt,ImageView:()=>Et,IntModel:()=>Yt,IntProgressModel:()=>ln,IntRangeSliderModel:()=>Qt,IntRangeSliderView:()=>tn,IntSliderModel:()=>Zt,IntSliderView:()=>nn,IntTextModel:()=>rn,IntTextView:()=>sn,JUPYTER_CONTROLS_VERSION:()=>a,JupyterPhosphorAccordionWidget:()=>ni,JupyterPhosphorTabPanelWidget:()=>oi,LabelModel:()=>hi,LabelView:()=>fi,LabeledDOMWidgetModel:()=>u,LabeledDOMWidgetView:()=>h,LinkModel:()=>v,MultipleSelectionModel:()=>Un,PasswordModel:()=>bi,PasswordView:()=>vi,PlayModel:()=>cn,PlayView:()=>un,ProgressStyleModel:()=>an,ProgressView:()=>dn,RadioButtonsModel:()=>Rn,RadioButtonsView:()=>On,SelectModel:()=>Mn,SelectMultipleModel:()=>$n,SelectMultipleView:()=>Hn,SelectView:()=>Pn,SelectionContainerModel:()=>ei,SelectionModel:()=>Dn,SelectionRangeSliderModel:()=>Wn,SelectionRangeSliderView:()=>Vn,SelectionSliderModel:()=>Fn,SelectionSliderView:()=>qn,SliderStyleModel:()=>Xt,StringModel:()=>ai,TabModel:()=>ri,TabView:()=>si,TextModel:()=>mi,TextView:()=>gi,TextareaModel:()=>pi,TextareaView:()=>Ai,ToggleButtonModel:()=>_,ToggleButtonView:()=>B,ToggleButtonsModel:()=>Nn,ToggleButtonsStyleModel:()=>Ln,ToggleButtonsView:()=>zn,VBoxModel:()=>bt,VBoxView:()=>yt,ValidModel:()=>E,ValidView:()=>x,VideoModel:()=>xt,VideoView:()=>kt,WrappedError:()=>i.WrappedError,deserialize_date:()=>Pt,escape_html:()=>s,reject:()=>r,resolvePromisesDict:()=>i.resolvePromisesDict,serialize_date:()=>Mt,typeset:()=>o,uuid:()=>i.uuid,version:()=>Bi});var i=n(2055);function r(e,t){return function(n){let r=new i.WrappedError(e,n);return t&&console.error(r),Promise.reject(r)}}function o(e,t){void 0!==t&&(e.textContent=t),void 0!==window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,e])}function s(e){let t=document.createElement("div");return t.textContent=e,t.innerHTML}const a="1.5.0";class l extends i.StyleModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DescriptionStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:a})}}l.styleProperties={description_width:{selector:".widget-label",attribute:"width",default:null}};class d extends i.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DescriptionModel",_view_name:"DescriptionView",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:a,_model_module_version:a,description:"",description_tooltip:null})}}class c extends i.DOMWidgetView{render(){this.label=document.createElement("label"),this.el.appendChild(this.label),this.label.className="widget-label",this.label.style.display="none",this.listenTo(this.model,"change:description",this.updateDescription),this.listenTo(this.model,"change:description_tooltip",this.updateDescription),this.updateDescription()}typeset(e,t){this.displayed.then((()=>o(e,t)))}updateDescription(){let e=this.model.get("description"),t=this.model.get("description_tooltip");null===t&&(t=e),0===e.length?this.label.style.display="none":(this.label.innerHTML=e,this.typeset(this.label),this.label.style.display=""),this.label.title=t}}class u extends d{}class h extends c{}var f,p=n(2562);class A extends i.WidgetModel{defaults(){return p.extend(super.defaults(),{_model_name:"CoreWidgetModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:a,_model_module_version:a})}}class m extends i.DOMWidgetModel{defaults(){return p.extend(super.defaults(),{_model_name:"CoreDOMWidgetModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:a,_model_module_version:a})}}class g extends d{defaults(){return p.extend(super.defaults(),{_model_name:"CoreDescriptionModel",_view_module:"@jupyter-widgets/controls",_model_module:"@jupyter-widgets/controls",_view_module_version:a,_model_module_version:a})}}class b extends A{defaults(){return p.extend(super.defaults(),{target:void 0,source:void 0,_model_name:"DirectionalLinkModel"})}initialize(e,t){super.initialize(e,t),this.on("change",this.updateBindings,this),this.updateBindings()}updateValue(e,t,n,i){if(!this._updating){this._updating=!0;try{n&&(n.set(i,e.get(t)),n.save_changes())}finally{this._updating=!1}}}updateBindings(){this.cleanup(),[this.sourceModel,this.sourceAttr]=this.get("source")||[null,null],[this.targetModel,this.targetAttr]=this.get("target")||[null,null],this.sourceModel&&(this.listenTo(this.sourceModel,"change:"+this.sourceAttr,(()=>{this.updateValue(this.sourceModel,this.sourceAttr,this.targetModel,this.targetAttr)})),this.updateValue(this.sourceModel,this.sourceAttr,this.targetModel,this.targetAttr),this.listenToOnce(this.sourceModel,"destroy",this.cleanup)),this.targetModel&&this.listenToOnce(this.targetModel,"destroy",this.cleanup)}cleanup(){this.sourceModel&&(this.stopListening(this.sourceModel,"change:"+this.sourceAttr,null),this.stopListening(this.sourceModel,"destroy",null)),this.targetModel&&this.stopListening(this.targetModel,"destroy",null)}}b.serializers=Object.assign(Object.assign({},A.serializers),{target:{deserialize:i.unpack_models},source:{deserialize:i.unpack_models}});class v extends b{defaults(){return p.extend(super.defaults(),{_model_name:"LinkModel"})}updateBindings(){super.updateBindings(),this.targetModel&&this.listenTo(this.targetModel,"change:"+this.targetAttr,(()=>{this.updateValue(this.targetModel,this.targetAttr,this.sourceModel,this.sourceAttr)}))}cleanup(){super.cleanup(),this.targetModel&&this.stopListening(this.targetModel,"change:"+this.targetAttr,null)}}class C extends g{defaults(){return p.extend(super.defaults(),{value:!1,disabled:!1,_model_name:"BoolModel"})}}class y extends g{defaults(){return p.extend(super.defaults(),{indent:!0,_view_name:"CheckboxView",_model_name:"CheckboxModel"})}}class w extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-checkbox"),this.label.innerHTML="​",this.checkboxLabel=document.createElement("label"),this.checkboxLabel.classList.add("widget-label-basic"),this.el.appendChild(this.checkboxLabel),this.checkbox=document.createElement("input"),this.checkbox.setAttribute("type","checkbox"),this.checkboxLabel.appendChild(this.checkbox),this.descriptionSpan=document.createElement("span"),this.checkboxLabel.appendChild(this.descriptionSpan),this.listenTo(this.model,"change:indent",this.updateIndent),this.update(),this.updateDescription(),this.updateIndent()}updateDescription(){if(null==this.checkboxLabel)return;let e=this.model.get("description");this.descriptionSpan.innerHTML=e,this.typeset(this.descriptionSpan),this.descriptionSpan.title=e,this.checkbox.title=e}updateIndent(){let e=this.model.get("indent");this.label.style.display=e?"":"none"}events(){return{'click input[type="checkbox"]':"_handle_click"}}_handle_click(){let e=this.model.get("value");this.model.set("value",!e,{updated_view:this}),this.touch()}update(e){return this.checkbox.checked=this.model.get("value"),void 0!==e&&e.updated_view==this||(this.checkbox.disabled=this.model.get("disabled")),super.update()}}class _ extends C{defaults(){return p.extend(super.defaults(),{_view_name:"ToggleButtonView",_model_name:"ToggleButtonModel",tooltip:"",icon:"",button_style:""})}}class B extends i.DOMWidgetView{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("jupyter-button"),this.el.classList.add("widget-toggle-button"),this.listenTo(this.model,"change:button_style",this.update_button_style),this.set_button_style(),this.update()}update_button_style(){this.update_mapped_classes(B.class_map,"button_style")}set_button_style(){this.set_mapped_classes(B.class_map,"button_style")}update(e){if(this.model.get("value")?this.el.classList.add("mod-active"):this.el.classList.remove("mod-active"),void 0===e||e.updated_view!==this){this.el.disabled=this.model.get("disabled"),this.el.setAttribute("title",this.model.get("tooltip"));let e=this.model.get("description"),t=this.model.get("icon");if(0===e.trim().length&&0===t.trim().length)this.el.innerHTML=" ";else{if(this.el.textContent="",t.trim().length){let e=document.createElement("i");this.el.appendChild(e),e.classList.add("fa"),e.classList.add("fa-"+t)}this.el.appendChild(document.createTextNode(e))}}return super.update()}events(){return{click:"_handle_click"}}_handle_click(e){e.preventDefault();let t=this.model.get("value");this.model.set("value",!t,{updated_view:this}),this.touch()}get tagName(){return"button"}}B.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]};class E extends C{defaults(){return p.extend(super.defaults(),{readout:"Invalid",_view_name:"ValidView",_model_name:"ValidModel"})}}class x extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-valid"),this.el.classList.add("widget-inline-hbox"),this.icon=document.createElement("i"),this.icon.classList.add("fa","fa-fw"),this.el.appendChild(this.icon),this.readout=document.createElement("span"),this.readout.classList.add("widget-valid-readout"),this.readout.classList.add("widget-readout"),this.el.appendChild(this.readout),this.update()}update(){this.el.classList.remove("mod-valid"),this.el.classList.remove("mod-invalid"),this.icon.classList.remove("fa-check"),this.icon.classList.remove("fa-times"),this.readout.textContent=this.model.get("readout"),this.model.get("value")?(this.el.classList.add("mod-valid"),this.icon.classList.add("fa-check")):(this.el.classList.add("mod-invalid"),this.icon.classList.add("fa-times"))}}class k extends i.StyleModel{defaults(){return p.extend(super.defaults(),{_model_name:"ButtonStyleModel",_model_module:"@jupyter-widgets/controls",_model_module_version:a})}}k.styleProperties={button_color:{selector:"",attribute:"background-color",default:null},font_weight:{selector:"",attribute:"font-weight",default:""}};class T extends m{defaults(){return p.extend(super.defaults(),{description:"",tooltip:"",disabled:!1,icon:"",button_style:"",_view_name:"ButtonView",_model_name:"ButtonModel",style:null})}}class j extends i.DOMWidgetView{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("jupyter-button"),this.el.classList.add("widget-button"),this.listenTo(this.model,"change:button_style",this.update_button_style),this.set_button_style(),this.update()}update(){this.el.disabled=this.model.get("disabled"),this.el.setAttribute("title",this.model.get("tooltip"));let e=this.model.get("description"),t=this.model.get("icon");if(e.length||t.length){if(this.el.textContent="",t.length){let n=document.createElement("i");n.classList.add("fa"),n.classList.add("fa-"+t),0===e.length&&n.classList.add("center"),this.el.appendChild(n)}this.el.appendChild(document.createTextNode(e))}return super.update()}update_button_style(){this.update_mapped_classes(j.class_map,"button_style")}set_button_style(){this.set_mapped_classes(j.class_map,"button_style")}events(){return{click:"_handle_click"}}_handle_click(e){e.preventDefault(),this.send({event:"click"})}get tagName(){return"button"}}function D(e){return"function"==typeof e.iter?e.iter():new I(e)}function S(e,t){for(var n,i=0,r=D(e);void 0!==(n=r.next());)if(!1===t(n,i++))return}j.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]},function(e){function t(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(e[a]===t)return a}return-1}function n(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(e[a]===t)return a}return-1}function i(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(t(e[a],a))return a}return-1}function r(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(t(e[a],a))return a}return-1}function o(e,t,n){void 0===t&&(t=0),void 0===n&&(n=-1);var i=e.length;if(!(i<=1))for(t=t<0?Math.max(0,t+i):Math.min(t,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);t<n;){var r=e[t],o=e[n];e[t++]=o,e[n--]=r}}function s(e,t){var n=e.length;if(t<0&&(t+=n),!(t<0||t>=n)){for(var i=e[t],r=t+1;r<n;++r)e[r-1]=e[r];return e.length=n-1,i}}e.firstIndexOf=t,e.lastIndexOf=n,e.findFirstIndex=i,e.findLastIndex=r,e.findFirstValue=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=i(e,t,n,r);return-1!==o?e[o]:void 0},e.findLastValue=function(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var o=r(e,t,n,i);return-1!==o?e[o]:void 0},e.lowerBound=function(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var l=a>>1,d=s+l;n(e[d],t)<0?(s=d+1,a-=l+1):a=l}return s},e.upperBound=function(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var l=a>>1,d=s+l;n(e[d],t)>0?a=l:(s=d+1,a-=l+1)}return s},e.shallowEqual=function(e,t,n){if(e===t)return!0;if(e.length!==t.length)return!1;for(var i=0,r=e.length;i<r;++i)if(n?!n(e[i],t[i]):e[i]!==t[i])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var n=t.start,i=t.stop,r=t.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var o,s=e.length;void 0===n?n=r<0?s-1:0:n<0?n=Math.max(n+s,r<0?-1:0):n>=s&&(n=r<0?s-1:s),void 0===i?i=r<0?-1:s:i<0?i=Math.max(i+s,r<0?-1:0):i>=s&&(i=r<0?s-1:s),o=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],l=0;l<o;++l)a[l]=e[n+l*r];return a},e.move=function(e,t,n){var i=e.length;if(!(i<=1)&&(t=t<0?Math.max(0,t+i):Math.min(t,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=e[t],o=t<n?1:-1,s=t;s!==n;s+=o)e[s]=e[s+o];e[n]=r}},e.reverse=o,e.rotate=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var s=i-n+1;if(t>0?t%=s:t<0&&(t=(t%s+s)%s),0!==t){var a=n+t;o(e,n,a-1),o(e,a,i),o(e,n,i)}}},e.fill=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0!==r){var o;n=n<0?Math.max(0,n+r):Math.min(n,r-1),o=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var s=0;s<o;++s)e[(n+s)%r]=t}},e.insert=function(e,t,n){var i=e.length;t=t<0?Math.max(0,t+i):Math.min(t,i);for(var r=i;r>t;--r)e[r]=e[r-1];e[t]=n},e.removeAt=s,e.removeFirstOf=function(e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t(e,n,i,r);return-1!==o&&s(e,o),o},e.removeLastOf=function(e,t,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var o=n(e,t,i,r);return-1!==o&&s(e,o),o},e.removeAllOf=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&e[s]===t||i<n&&(s<=i||s>=n)&&e[s]===t?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o},e.removeFirstWhere=function(e,t,n,r){var o;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(e,t,n,r);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeLastWhere=function(e,t,n,i){var o;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(e,t,n,i);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeAllWhere=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&t(e[s],s)||i<n&&(s<=i||s>=n)&&t(e[s],s)?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o}}(f||(f={}));var I=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();function M(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new P(D(e.map(D)))}(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}();var P=function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())},e}();function R(){return new O}var O=function(){function e(){}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){},e}();!function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}();var L=function(){function e(e,t){this._index=0,this._source=e,this._fn=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,n=this._source;void 0!==(e=n.next());)if(t(e,this._index++))return e},e}();function N(e,t){for(var n,i=0,r=D(e);void 0!==(n=r.next());)if(t(n,i++))return n}function z(e,t){return new q(D(e),t)}var F,q=function(){function e(e,t){this._index=0,this._source=e,this._fn=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)},e}();function U(e,t,n){var i=0,r=D(e),o=r.next();if(void 0===o&&void 0===n)throw new TypeError("Reduce of empty iterable with no initial value.");if(void 0===o)return n;var s,a,l=r.next();if(void 0===l&&void 0===n)return o;if(void 0===l)return t(n,o,i++);for(s=t(void 0===n?o:t(n,o,i++),l,i++);void 0!==(a=r.next());)s=t(s,a,i++);return s}function $(e){return new W(e,1)}!function(){function e(e,t,n){this._index=0,this._start=e,this._stop=t,this._step=n,this._length=F.rangeLength(e,t,n)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,n){return 0===n?1/0:e>t&&n>0||e<t&&n<0?0:Math.ceil((t-e)/n)}}(F||(F={}));var H,W=function(){function e(e,t){this._value=e,this._count=t}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value},e}();!function(){function e(e){this._source=e,this._index=e.length-1}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,n){void 0===n&&(n=0);for(var i=new Array(t.length),r=0,o=n,s=t.length;r<s;++r,++o){if(-1===(o=e.indexOf(t[r],o)))return null;i[r]=o}return i}e.findIndices=t,e.matchSumOfSquares=function(e,n,i){void 0===i&&(i=0);var r=t(e,n,i);if(!r)return null;for(var o=0,s=0,a=r.length;s<a;++s){var l=r[s]-i;o+=l*l}return{score:o,indices:r}},e.matchSumOfDeltas=function(e,n,i){void 0===i&&(i=0);var r=t(e,n,i);if(!r)return null;for(var o=0,s=i-1,a=0,l=r.length;a<l;++a){var d=r[a];o+=d-s-1,s=d}return{score:o,indices:r}},e.highlight=function(e,t,n){for(var i=[],r=0,o=0,s=t.length;r<s;){for(var a=t[r],l=t[r];++r<s&&t[r]===l+1;)l++;o<a&&i.push(e.slice(o,a)),a<l+1&&i.push(n(e.slice(a,l+1))),o=l+1}return o<e.length&&i.push(e.slice(o)),i},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(H||(H={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,n=this._source.length;t<n;++t){var i=this._source[t].next();if(void 0===i)return;e[t]=i}return e}}();var V,G=n(9640),K=n(1621),Y=function(){function e(e){this._pid=V.nextPID(),this.name=e.name,this._create=e.create,this._coerce=e.coerce||null,this._compare=e.compare||null,this._changed=e.changed||null}return e.prototype.get=function(e){var t=V.ensureMap(e);return this._pid in t?t[this._pid]:t[this._pid]=this._createValue(e)},e.prototype.set=function(e,t){var n,i=V.ensureMap(e);n=this._pid in i?i[this._pid]:i[this._pid]=this._createValue(e);var r=this._coerceValue(e,t);this._maybeNotify(e,n,i[this._pid]=r)},e.prototype.coerce=function(e){var t,n=V.ensureMap(e);t=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(e);var i=this._coerceValue(e,t);this._maybeNotify(e,t,n[this._pid]=i)},e.prototype._createValue=function(e){return(0,this._create)(e)},e.prototype._coerceValue=function(e,t){var n=this._coerce;return n?n(e,t):t},e.prototype._compareValue=function(e,t){var n=this._compare;return n?n(e,t):e===t},e.prototype._maybeNotify=function(e,t,n){var i=this._changed;i&&!this._compareValue(t,n)&&i(e,t,n)},e}();!function(e){e.clearData=function(e){V.ownerData.delete(e)}}(Y||(Y={})),function(e){var t;e.ownerData=new WeakMap,e.nextPID=(t=0,function(){return"pid-"+(""+Math.random()).slice(2)+"-"+t++}),e.ensureMap=function(t){var n=e.ownerData.get(t);return n||(n=Object.create(null),e.ownerData.set(t,n),n)}}(V||(V={}));var J,X=function(){function e(e){this._blockedCount=0,this.sender=e}return e.prototype.block=function(e){this._blockedCount++;try{e()}finally{this._blockedCount--}},e.prototype.connect=function(e,t){return J.connect(this,e,t)},e.prototype.disconnect=function(e,t){return J.disconnect(this,e,t)},e.prototype.emit=function(e){this._blockedCount||J.emit(this,e)},e}();!function(e){e.blockAll=function(e,t){var n=J.blockedProperty;n.set(e,n.get(e)+1);try{t()}finally{n.set(e,n.get(e)-1)}},e.disconnectBetween=function(e,t){J.disconnectBetween(e,t)},e.disconnectSender=function(e){J.disconnectSender(e)},e.disconnectReceiver=function(e){J.disconnectReceiver(e)},e.disconnectAll=function(e){J.disconnectAll(e)},e.clearData=function(e){J.disconnectAll(e)},e.getExceptionHandler=function(){return J.exceptionHandler},e.setExceptionHandler=function(e){var t=J.exceptionHandler;return J.exceptionHandler=e,t}}(X||(X={})),function(e){function t(e){var t=i.get(e);t&&0!==t.length&&(S(t,(function(e){if(e.signal){var t=e.thisArg||e.slot;e.signal=null,d(r.get(t))}})),d(t))}function n(e){var t=r.get(e);t&&0!==t.length&&(S(t,(function(e){if(e.signal){var t=e.signal.sender;e.signal=null,d(i.get(t))}})),d(t))}e.exceptionHandler=function(e){console.error(e)},e.connect=function(e,t,n){n=n||void 0;var o=i.get(e.sender);if(o||(o=[],i.set(e.sender,o)),a(o,e,t,n))return!1;var s=n||t,l=r.get(s);l||(l=[],r.set(s,l));var d={signal:e,slot:t,thisArg:n};return o.push(d),l.push(d),!0},e.disconnect=function(e,t,n){n=n||void 0;var o=i.get(e.sender);if(!o||0===o.length)return!1;var s=a(o,e,t,n);if(!s)return!1;var l=n||t,c=r.get(l);return s.signal=null,d(o),d(c),!0},e.disconnectBetween=function(e,t){var n=i.get(e);if(n&&0!==n.length){var o=r.get(t);o&&0!==o.length&&(S(o,(function(t){t.signal&&t.signal.sender===e&&(t.signal=null)})),d(n),d(o))}},e.disconnectSender=t,e.disconnectReceiver=n,e.disconnectAll=function(e){t(e),n(e)},e.emit=function(t,n){if(!(e.blockedProperty.get(t.sender)>0)){var r=i.get(t.sender);if(r&&0!==r.length)for(var o=0,s=r.length;o<s;++o){var a=r[o];a.signal===t&&l(a,n)}}};var i=new WeakMap,r=new WeakMap,o=new Set,s="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate;function a(e,t,n,i){return N(e,(function(e){return e.signal===t&&e.slot===n&&e.thisArg===i}))}function l(t,n){var i=t.signal,r=t.slot,o=t.thisArg;try{r.call(o,i.sender,n)}catch(t){e.exceptionHandler(t)}}function d(e){0===o.size&&s(c),o.add(e)}function c(){o.forEach(u),o.clear()}function u(e){f.removeAllWhere(e,h)}function h(e){return null===e.signal}e.blockedProperty=new Y({name:"blocked",create:function(){return 0}})}(J||(J={}));var Z=function(e,t){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Z(e,t)};function Q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Z(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ee=function(){function e(e){this._fn=e}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return!this._fn},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){if(this._fn){var e=this._fn;this._fn=null,e()}},e}(),te=(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._disposed=new X(t),t}Q(t,e),Object.defineProperty(t.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(e.prototype.dispose.call(this),this._disposed.emit(void 0),X.clearData(this))}}(ee),function(){function e(){this._isDisposed=!1,this._items=new Set}return Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._items.forEach((function(e){e.dispose()})),this._items.clear())},e.prototype.contains=function(e){return this._items.has(e)},e.prototype.add=function(e){this._items.add(e)},e.prototype.remove=function(e){this._items.delete(e)},e.prototype.clear=function(){this._items.clear()},e}());!function(e){e.from=function(t){var n=new e;return S(t,(function(e){n.add(e)})),n}}(te||(te={}));var ne=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._disposed=new X(t),t}return Q(t,e),Object.defineProperty(t.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(e.prototype.dispose.call(this),this._disposed.emit(void 0),X.clearData(this))},t}(te);!function(e){e.from=function(t){var n=new e;return S(t,(function(e){n.add(e)})),n}}(ne||(ne={}));var ie,re=function(){function e(e){var t=this;this._onScrollFrame=function(){if(t._scrollTarget){var e=t._scrollTarget,n=e.element,i=e.edge,r=e.distance,o=ie.SCROLL_EDGE_SIZE-r,s=Math.pow(o/ie.SCROLL_EDGE_SIZE,2),a=Math.max(1,Math.round(s*ie.SCROLL_EDGE_SIZE));switch(i){case"top":n.scrollTop-=a;break;case"left":n.scrollLeft-=a;break;case"right":n.scrollLeft+=a;break;case"bottom":n.scrollTop+=a}requestAnimationFrame(t._onScrollFrame)}},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=e.document||document,this.mimeData=e.mimeData,this.dragImage=e.dragImage||null,this.proposedAction=e.proposedAction||"copy",this.supportedActions=e.supportedActions||"all",this.source=e.source||null}return e.prototype.dispose=function(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){var e=ie.createMouseEvent("pointerup",-1,-1);ie.dispatchDragLeave(this,this._currentTarget,null,e)}this._finalize("none")}},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),e.prototype.start=function(e,t){var n=this;if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(e,t),this._promise=new Promise((function(e,t){n._resolve=e}));var i=ie.createMouseEvent("pointermove",e,t);return document.dispatchEvent(i),this._promise},e.prototype.handleEvent=function(e){switch(e.type){case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;default:e.preventDefault(),e.stopPropagation()}},e.prototype.moveDragImage=function(e,t){if(this.dragImage){var n=this.dragImage.style;n.top=t+"px",n.left=e+"px"}},e.prototype._evtMouseMove=function(e){e.preventDefault(),e.stopPropagation(),this._updateCurrentTarget(e),this._updateDragScroll(e),this.moveDragImage(e.clientX,e.clientY)},e.prototype._evtMouseUp=function(e){if(e.preventDefault(),e.stopPropagation(),0===e.button)if(this._updateCurrentTarget(e),this._currentTarget){if("none"===this._dropAction)return ie.dispatchDragLeave(this,this._currentTarget,null,e),void this._finalize("none");var t=ie.dispatchDrop(this,this._currentTarget,e);this._finalize(t)}else this._finalize("none")},e.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&this.dispose()},e.prototype._addListeners=function(){document.addEventListener("mousedown",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("mouseenter",this,!0),document.addEventListener("mouseleave",this,!0),document.addEventListener("mouseover",this,!0),document.addEventListener("mouseout",this,!0),document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)},e.prototype._removeListeners=function(){document.removeEventListener("mousedown",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mouseenter",this,!0),document.removeEventListener("mouseleave",this,!0),document.removeEventListener("mouseover",this,!0),document.removeEventListener("mouseout",this,!0),document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)},e.prototype._updateDragScroll=function(e){var t=ie.findScrollTarget(e);(this._scrollTarget||t)&&(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=t)},e.prototype._updateCurrentTarget=function(e){var t=this._currentTarget,n=this._currentTarget,i=this._currentElement,r=this.document.elementFromPoint(e.clientX,e.clientY);this._currentElement=r,r!==i&&r!==n&&ie.dispatchDragExit(this,n,r,e),r!==i&&r!==n&&(n=ie.dispatchDragEnter(this,r,n,e)),n!==t&&(this._currentTarget=n,ie.dispatchDragLeave(this,t,n,e));var o=ie.dispatchDragOver(this,n,e);this._setDropAction(o)},e.prototype._attachDragImage=function(e,t){if(this.dragImage){this.dragImage.classList.add("lm-mod-drag-image"),this.dragImage.classList.add("p-mod-drag-image");var n=this.dragImage.style;n.pointerEvents="none",n.position="fixed",n.top=t+"px",n.left=e+"px",(this.document instanceof Document?this.document.body:this.document.firstElementChild).appendChild(this.dragImage)}},e.prototype._detachDragImage=function(){if(this.dragImage){var e=this.dragImage.parentNode;e&&e.removeChild(this.dragImage)}},e.prototype._setDropAction=function(t){if(t=ie.validateAction(t,this.supportedActions),!this._override||this._dropAction!==t)switch(t){case"none":this._dropAction=t,this._override=e.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=t,this._override=e.overrideCursor("copy",this.document);break;case"link":this._dropAction=t,this._override=e.overrideCursor("alias",this.document);break;case"move":this._dropAction=t,this._override=e.overrideCursor("move",this.document)}},e.prototype._finalize=function(e){var t=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,t&&t(e)},e}();!function(e){e.overrideCursor=function(e,n){void 0===n&&(n=document);var i=++t,r=n instanceof Document?n.body:n.firstElementChild;return r.style.cursor=e,r.classList.add("lm-mod-override-cursor"),r.classList.add("p-mod-override-cursor"),new ee((function(){i===t&&(r.style.cursor="",r.classList.remove("lm-mod-override-cursor"),r.classList.remove("p-mod-override-cursor"))}))};var t=0}(re||(re={})),function(e){e.SCROLL_EDGE_SIZE=20,e.validateAction=function(e,i){return t[e]&n[i]?e:"none"},e.createMouseEvent=function(e,t,n){var i=document.createEvent("MouseEvent");return i.initMouseEvent(e,!0,!0,window,0,0,0,t,n,!1,!1,!1,!1,0,null),i},e.findScrollTarget=function(t){for(var n=t.clientX,i=t.clientY,r=document.elementFromPoint(n,i);r;r=r.parentElement){var o=r.hasAttribute("data-lm-dragscroll");if(o=o||r.hasAttribute("data-p-dragscroll")){var s=0,a=0;r===document.body&&(s=window.pageXOffset,a=window.pageYOffset);var l=r.getBoundingClientRect(),d=l.top+a,c=l.left+s,u=c+l.width,h=d+l.height;if(!(n<c||n>=u||i<d||i>=h)){var f=n-c+1,p=i-d+1,A=u-n,m=h-i,g=Math.min(f,p,A,m);if(!(g>e.SCROLL_EDGE_SIZE)){var b=void 0;switch(g){case m:b="bottom";break;case p:b="top";break;case A:b="right";break;case f:b="left";break;default:throw"unreachable"}var v=r.scrollWidth-r.clientWidth,C=r.scrollHeight-r.clientHeight,y=void 0;switch(b){case"top":y=C>0&&r.scrollTop>0;break;case"left":y=v>0&&r.scrollLeft>0;break;case"right":y=v>0&&r.scrollLeft<v;break;case"bottom":y=C>0&&r.scrollTop<C;break;default:throw"unreachable"}if(y)return{element:r,edge:b,distance:g}}}}}return null},e.dispatchDragEnter=function(e,t,n,r){if(!t)return null;var o=i("lm-dragenter",e,r,n),s=!t.dispatchEvent(o);if(s)return t;if(o=i("p-dragenter",e,r,n),s=!t.dispatchEvent(o))return t;var a=e.document instanceof Document?e.document.body:e.document.firstElementChild;return t===a?n:(o=i("lm-dragenter",e,r,n),a.dispatchEvent(o),o=i("p-dragenter",e,r,n),a.dispatchEvent(o),a)},e.dispatchDragExit=function(e,t,n,r){if(t){var o=i("lm-dragexit",e,r,n);t.dispatchEvent(o),o=i("p-dragexit",e,r,n),t.dispatchEvent(o)}},e.dispatchDragLeave=function(e,t,n,r){if(t){var o=i("lm-dragleave",e,r,n);t.dispatchEvent(o),o=i("p-dragleave",e,r,n),t.dispatchEvent(o)}},e.dispatchDragOver=function(e,t,n){if(!t)return"none";var r=i("lm-dragover",e,n,null),o=!t.dispatchEvent(r);return o?r.dropAction:(r=i("p-dragover",e,n,null),(o=!t.dispatchEvent(r))?r.dropAction:"none")},e.dispatchDrop=function(e,t,n){if(!t)return"none";var r=i("lm-drop",e,n,null),o=!t.dispatchEvent(r);return o?r.dropAction:(r=i("p-drop",e,n,null),(o=!t.dispatchEvent(r))?r.dropAction:"none")};var t={none:0,copy:1,link:2,move:4},n={none:t.none,copy:t.copy,link:t.link,move:t.move,"copy-link":t.copy|t.link,"copy-move":t.copy|t.move,"link-move":t.link|t.move,all:t.copy|t.link|t.move};function i(e,t,n,i){var r=document.createEvent("MouseEvent");return r.initMouseEvent(e,!0,!0,window,0,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,i),r.dropAction="none",r.mimeData=t.mimeData,r.proposedAction=t.proposedAction,r.supportedActions=t.supportedActions,r.source=t.source,r}}(ie||(ie={}));var oe=n(6605);function se(){return le.keyboardLayout}var ae=function(){function e(t,n,i){void 0===i&&(i=[]),this.name=t,this._codes=n,this._keys=e.extractKeys(n),this._modifierKeys=e.convertToKeySet(i)}return e.prototype.keys=function(){return Object.keys(this._keys)},e.prototype.isValidKey=function(e){return e in this._keys},e.prototype.isModifierKey=function(e){return e in this._modifierKeys},e.prototype.keyForKeydownEvent=function(e){return this._codes[e.keyCode]||""},e}();!function(e){e.extractKeys=function(e){var t=Object.create(null);for(var n in e)t[e[n]]=!0;return t},e.convertToKeySet=function(e){for(var t=Object(null),n=0,i=e.length;n<i;++n)t[e[n]]=!0;return t}}(ae||(ae={}));var le,de=new ae("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);!function(e){e.keyboardLayout=de}(le||(le={}));var ce,ue=function(){return ue=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ue.apply(this,arguments)},he=function(){function e(){this._timerID=0,this._replaying=!1,this._keystrokes=[],this._keydownEvents=[],this._keyBindings=[],this._exactKeyMatch=null,this._commands=Object.create(null),this._commandChanged=new X(this),this._commandExecuted=new X(this),this._keyBindingChanged=new X(this)}return Object.defineProperty(e.prototype,"commandChanged",{get:function(){return this._commandChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"commandExecuted",{get:function(){return this._commandExecuted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBindingChanged",{get:function(){return this._keyBindingChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBindings",{get:function(){return this._keyBindings},enumerable:!0,configurable:!0}),e.prototype.listCommands=function(){return Object.keys(this._commands)},e.prototype.hasCommand=function(e){return e in this._commands},e.prototype.addCommand=function(e,t){var n=this;if(e in this._commands)throw new Error("Command '"+e+"' already registered.");return this._commands[e]=ce.createCommand(t),this._commandChanged.emit({id:e,type:"added"}),new ee((function(){delete n._commands[e],n._commandChanged.emit({id:e,type:"removed"})}))},e.prototype.notifyCommandChanged=function(e){if(void 0!==e&&!(e in this._commands))throw new Error("Command '"+e+"' is not registered.");this._commandChanged.emit({id:e,type:e?"changed":"many-changed"})},e.prototype.describedBy=function(e){var t=this._commands[e];return t&&t.describedBy||{args:null}},e.prototype.label=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.label.call(void 0,t):""},e.prototype.mnemonic=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.mnemonic.call(void 0,t):-1},e.prototype.icon=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.icon.call(void 0,t):""},e.prototype.iconClass=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.iconClass.call(void 0,t):""},e.prototype.iconLabel=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.iconLabel.call(void 0,t):""},e.prototype.caption=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.caption.call(void 0,t):""},e.prototype.usage=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.usage.call(void 0,t):""},e.prototype.className=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.className.call(void 0,t):""},e.prototype.dataset=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return n?n.dataset.call(void 0,t):{}},e.prototype.isEnabled=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return!!n&&n.isEnabled.call(void 0,t)},e.prototype.isToggled=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return!!n&&n.isToggled.call(void 0,t)},e.prototype.isToggleable=function(e,t){var n=this._commands[e];return!!n&&n.isToggleable},e.prototype.isVisible=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n=this._commands[e];return!!n&&n.isVisible.call(void 0,t)},e.prototype.execute=function(e,t){void 0===t&&(t=oe.JSONExt.emptyObject);var n,i=this._commands[e];if(!i)return Promise.reject(new Error("Command '"+e+"' not registered."));try{n=i.execute.call(void 0,t)}catch(e){n=Promise.reject(e)}var r=Promise.resolve(n);return this._commandExecuted.emit({id:e,args:t,result:r}),r},e.prototype.addKeyBinding=function(e){var t=this,n=ce.createKeyBinding(e);return this._keyBindings.push(n),this._keyBindingChanged.emit({binding:n,type:"added"}),new ee((function(){f.removeFirstOf(t._keyBindings,n),t._keyBindingChanged.emit({binding:n,type:"removed"})}))},e.prototype.processKeydownEvent=function(t){if(!this._replaying&&!e.isModifierKeyPressed(t)){var n=e.keystrokeForKeydownEvent(t);if(!n)return this._replayKeydownEvents(),void this._clearPendingState();this._keystrokes.push(n);var i=ce.matchKeyBinding(this._keyBindings,this._keystrokes,t),r=i.exact,o=i.partial;if(!r&&!o)return this._replayKeydownEvents(),void this._clearPendingState();if(t.preventDefault(),t.stopPropagation(),r&&!o)return this._executeKeyBinding(r),void this._clearPendingState();r&&(this._exactKeyMatch=r),this._keydownEvents.push(t),this._startTimer()}},e.prototype._startTimer=function(){var e=this;this._clearTimer(),this._timerID=window.setTimeout((function(){e._onPendingTimeout()}),ce.CHORD_TIMEOUT)},e.prototype._clearTimer=function(){0!==this._timerID&&(clearTimeout(this._timerID),this._timerID=0)},e.prototype._replayKeydownEvents=function(){0!==this._keydownEvents.length&&(this._replaying=!0,this._keydownEvents.forEach(ce.replayKeyEvent),this._replaying=!1)},e.prototype._executeKeyBinding=function(e){var t=e.command,n=e.args;if(this.hasCommand(t)&&this.isEnabled(t,n))this.execute(t,n);else{var i=this.hasCommand(t)?"enabled":"registered",r="Cannot execute key binding '"+e.keys.join(", ")+"':",o="command '"+t+"' is not "+i+".";console.warn(r+" "+o)}},e.prototype._clearPendingState=function(){this._clearTimer(),this._exactKeyMatch=null,this._keystrokes.length=0,this._keydownEvents.length=0},e.prototype._onPendingTimeout=function(){this._timerID=0,this._exactKeyMatch?this._executeKeyBinding(this._exactKeyMatch):this._replayKeydownEvents(),this._clearPendingState()},e}();!function(e){function t(e){for(var t="",n=!1,i=!1,r=!1,o=!1,s=0,a=e.split(/\s+/);s<a.length;s++){var l=a[s];"Accel"===l?K.OD.IS_MAC?i=!0:r=!0:"Alt"===l?n=!0:"Cmd"===l?i=!0:"Ctrl"===l?r=!0:"Shift"===l?o=!0:l.length>0&&(t=l)}return{cmd:i,ctrl:r,alt:n,shift:o,key:t}}function n(e){var n="",i=t(e);return i.ctrl&&(n+="Ctrl "),i.alt&&(n+="Alt "),i.shift&&(n+="Shift "),i.cmd&&K.OD.IS_MAC&&(n+="Cmd "),n+i.key}e.parseKeystroke=t,e.normalizeKeystroke=n,e.normalizeKeys=function(e){return(K.OD.IS_WIN?e.winKeys||e.keys:K.OD.IS_MAC?e.macKeys||e.keys:e.linuxKeys||e.keys).map(n)},e.formatKeystroke=function(e){return"string"==typeof e?n(e):e.map(n).join(", ");function n(e){var n=[],i=K.OD.IS_MAC?" ":"+",r=t(e);return r.ctrl&&n.push("Ctrl"),r.alt&&n.push("Alt"),r.shift&&n.push("Shift"),K.OD.IS_MAC&&r.cmd&&n.push("Cmd"),n.push(r.key),n.map(ce.formatKey).join(i)}},e.isModifierKeyPressed=function(e){var t=se(),n=t.keyForKeydownEvent(e);return t.isModifierKey(n)},e.keystrokeForKeydownEvent=function(e){var t=se(),n=t.keyForKeydownEvent(e);if(!n||t.isModifierKey(n))return"";var i=[];return e.ctrlKey&&i.push("Ctrl"),e.altKey&&i.push("Alt"),e.shiftKey&&i.push("Shift"),e.metaKey&&K.OD.IS_MAC&&i.push("Cmd"),i.push(n),i.join(" ")}}(he||(he={})),function(e){e.CHORD_TIMEOUT=1e3,e.createCommand=function(e){var t,n;return e.icon&&"string"!=typeof e.icon?(n=d(e.iconClass,i),t=d(e.icon,l)):t=n=d(e.iconClass||e.icon,i),{execute:e.execute,describedBy:ue({args:null},e.describedBy),label:d(e.label,i),mnemonic:d(e.mnemonic,r),icon:t,iconClass:n,iconLabel:d(e.iconLabel,i),caption:d(e.caption,i),usage:d(e.usage,i),className:d(e.className,i),dataset:d(e.dataset,a),isEnabled:e.isEnabled||o,isToggled:e.isToggled||s,isToggleable:e.isToggleable||!!e.isToggled,isVisible:e.isVisible||o}},e.createKeyBinding=function(e){return{keys:he.normalizeKeys(e),selector:c(e),command:e.command,args:e.args||oe.JSONExt.emptyObject}},e.matchKeyBinding=function(e,t,n){for(var i=null,r=!1,o=1/0,s=0,a=0,l=e.length;a<l;++a){var d=e[a],c=u(d.keys,t);if(0!==c)if(2!==c){var f=h(d.selector,n);if(!(-1===f||f>o)){var p=K.MD.calculateSpecificity(d.selector);(!i||f<o||p>=s)&&(i=d,o=f,s=p)}}else r||-1===h(d.selector,n)||(r=!0)}return{exact:i,partial:r}},e.replayKeyEvent=function(e){e.target.dispatchEvent(function(e){var t=document.createEvent("Event"),n=e.bubbles||!0,i=e.cancelable||!0;return t.initEvent(e.type||"keydown",n,i),t.key=e.key||"",t.keyCode=e.keyCode||0,t.which=e.keyCode||0,t.ctrlKey=e.ctrlKey||!1,t.altKey=e.altKey||!1,t.shiftKey=e.shiftKey||!1,t.metaKey=e.metaKey||!1,t.view=e.view||window,t}(e))},e.formatKey=function(e){return K.OD.IS_MAC?t.hasOwnProperty(e)?t[e]:e:n.hasOwnProperty(e)?n[e]:e};var t={Backspace:"⌫",Tab:"⇥",Enter:"↩",Shift:"⇧",Ctrl:"⌃",Alt:"⌥",Escape:"⎋",PageUp:"⇞",PageDown:"⇟",End:"↘",Home:"↖",ArrowLeft:"←",ArrowUp:"↑",ArrowRight:"→",ArrowDown:"↓",Delete:"⌦",Cmd:"⌘"},n={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},i=function(){return""},r=function(){return-1},o=function(){return!0},s=function(){return!1},a=function(){return{}},l=function(){};function d(e,t){return void 0===e?t:"function"==typeof e?e:function(){return e}}function c(e){if(-1!==e.selector.indexOf(","))throw new Error("Selector cannot contain commas: "+e.selector);if(!K.MD.isValid(e.selector))throw new Error("Invalid selector: "+e.selector);return e.selector}function u(e,t){if(e.length<t.length)return 0;for(var n=0,i=t.length;n<i;++n)if(e[n]!==t[n])return 0;return e.length>t.length?2:1}function h(e,t){for(var n=t.target,i=t.currentTarget,r=0;null!==n;n=n.parentElement,++r){if(n.hasAttribute("data-lm-suppress-shortcuts"))return-1;if(n.hasAttribute("data-p-suppress-shortcuts"))return-1;if(K.MD.matches(n,e))return r;if(n===i)return-1}return-1}}(ce||(ce={}));var fe,pe,Ae,me=function(e,t){return me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},me(e,t)},ge=function(e){this.type="text",this.content=e},be=function(e,t,n,i){this.type="element",this.tag=e,this.attrs=t,this.children=n,this.renderer=i};function ve(e){for(var t,n={},i=[],r=1,o=arguments.length;r<o;++r){var s=arguments[r];"string"==typeof s?i.push(new ge(s)):s instanceof ge||s instanceof be?i.push(s):s instanceof Array?a(i,s):1!==r&&2!==r||!s||"object"!=typeof s||("render"in s?t=s:n=s)}return new be(e,n,i,t);function a(e,t){for(var n=0,i=t;n<i.length;n++){var r=i[n];"string"==typeof r?e.push(new ge(r)):(r instanceof ge||r instanceof be)&&e.push(r)}}}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})((function(e,t,n){return Ae.call(this,e,t,[],n||void 0)||this}),Ae=be),function(e){e.a=e.bind(void 0,"a"),e.abbr=e.bind(void 0,"abbr"),e.address=e.bind(void 0,"address"),e.area=e.bind(void 0,"area"),e.article=e.bind(void 0,"article"),e.aside=e.bind(void 0,"aside"),e.audio=e.bind(void 0,"audio"),e.b=e.bind(void 0,"b"),e.bdi=e.bind(void 0,"bdi"),e.bdo=e.bind(void 0,"bdo"),e.blockquote=e.bind(void 0,"blockquote"),e.br=e.bind(void 0,"br"),e.button=e.bind(void 0,"button"),e.canvas=e.bind(void 0,"canvas"),e.caption=e.bind(void 0,"caption"),e.cite=e.bind(void 0,"cite"),e.code=e.bind(void 0,"code"),e.col=e.bind(void 0,"col"),e.colgroup=e.bind(void 0,"colgroup"),e.data=e.bind(void 0,"data"),e.datalist=e.bind(void 0,"datalist"),e.dd=e.bind(void 0,"dd"),e.del=e.bind(void 0,"del"),e.dfn=e.bind(void 0,"dfn"),e.div=e.bind(void 0,"div"),e.dl=e.bind(void 0,"dl"),e.dt=e.bind(void 0,"dt"),e.em=e.bind(void 0,"em"),e.embed=e.bind(void 0,"embed"),e.fieldset=e.bind(void 0,"fieldset"),e.figcaption=e.bind(void 0,"figcaption"),e.figure=e.bind(void 0,"figure"),e.footer=e.bind(void 0,"footer"),e.form=e.bind(void 0,"form"),e.h1=e.bind(void 0,"h1"),e.h2=e.bind(void 0,"h2"),e.h3=e.bind(void 0,"h3"),e.h4=e.bind(void 0,"h4"),e.h5=e.bind(void 0,"h5"),e.h6=e.bind(void 0,"h6"),e.header=e.bind(void 0,"header"),e.hr=e.bind(void 0,"hr"),e.i=e.bind(void 0,"i"),e.iframe=e.bind(void 0,"iframe"),e.img=e.bind(void 0,"img"),e.input=e.bind(void 0,"input"),e.ins=e.bind(void 0,"ins"),e.kbd=e.bind(void 0,"kbd"),e.label=e.bind(void 0,"label"),e.legend=e.bind(void 0,"legend"),e.li=e.bind(void 0,"li"),e.main=e.bind(void 0,"main"),e.map=e.bind(void 0,"map"),e.mark=e.bind(void 0,"mark"),e.meter=e.bind(void 0,"meter"),e.nav=e.bind(void 0,"nav"),e.noscript=e.bind(void 0,"noscript"),e.object=e.bind(void 0,"object"),e.ol=e.bind(void 0,"ol"),e.optgroup=e.bind(void 0,"optgroup"),e.option=e.bind(void 0,"option"),e.output=e.bind(void 0,"output"),e.p=e.bind(void 0,"p"),e.param=e.bind(void 0,"param"),e.pre=e.bind(void 0,"pre"),e.progress=e.bind(void 0,"progress"),e.q=e.bind(void 0,"q"),e.rp=e.bind(void 0,"rp"),e.rt=e.bind(void 0,"rt"),e.ruby=e.bind(void 0,"ruby"),e.s=e.bind(void 0,"s"),e.samp=e.bind(void 0,"samp"),e.section=e.bind(void 0,"section"),e.select=e.bind(void 0,"select"),e.small=e.bind(void 0,"small"),e.source=e.bind(void 0,"source"),e.span=e.bind(void 0,"span"),e.strong=e.bind(void 0,"strong"),e.sub=e.bind(void 0,"sub"),e.summary=e.bind(void 0,"summary"),e.sup=e.bind(void 0,"sup"),e.table=e.bind(void 0,"table"),e.tbody=e.bind(void 0,"tbody"),e.td=e.bind(void 0,"td"),e.textarea=e.bind(void 0,"textarea"),e.tfoot=e.bind(void 0,"tfoot"),e.th=e.bind(void 0,"th"),e.thead=e.bind(void 0,"thead"),e.time=e.bind(void 0,"time"),e.title=e.bind(void 0,"title"),e.tr=e.bind(void 0,"tr"),e.track=e.bind(void 0,"track"),e.u=e.bind(void 0,"u"),e.ul=e.bind(void 0,"ul"),e.var_=e.bind(void 0,"var"),e.video=e.bind(void 0,"video"),e.wbr=e.bind(void 0,"wbr")}(ve||(ve={})),function(e){e.realize=function(e){return pe.createDOMNode(e)},e.render=function(e,t){var n=pe.hostMap.get(t)||[],i=pe.asContentArray(e);pe.hostMap.set(t,i),pe.updateContent(t,n,i)}}(fe||(fe={})),function(e){function t(e){var n=arguments[1]||null,r=arguments[2]||null;if(n)n.insertBefore(t(e),r);else{if("text"===e.type)return document.createTextNode(e.content);if(function(e,t){for(var n in t)n in i||("on"===n.substr(0,2)?e[n]=t[n]:e.setAttribute(n,t[n]));void 0!==t.className&&e.setAttribute("class",t.className),void 0!==t.htmlFor&&e.setAttribute("for",t.htmlFor),t.dataset&&function(e,t){for(var n in t)e.setAttribute("data-"+n,t[n])}(e,t.dataset),t.style&&function(e,t){var n,i=e.style;for(n in t)i[n]=t[n]}(e,t.style)}(n=document.createElement(e.tag),e.attrs),e.renderer)return e.renderer.render(n,{attrs:e.attrs,children:e.children}),n;for(var o=0,s=e.children.length;o<s;++o)t(e.children[o],n)}return n}function n(e,t,i,r){for(var o=t.length-1;o>=i;--o){var s=t[o],a=r?e.lastChild:e.childNodes[o];"text"===s.type||(s.renderer&&s.renderer.unrender?s.renderer.unrender(a,{attrs:s.attrs,children:s.children}):n(a,s.children,0,!1)),r&&e.removeChild(a)}}e.hostMap=new WeakMap,e.asContentArray=function(e){return e?e instanceof Array?e:[e]:[]},e.createDOMNode=t,e.updateContent=function e(i,o,s){if(o!==s){for(var a=function(e,t){for(var n=e.firstChild,i=Object.create(null),r=0,o=t;r<o.length;r++){var s=o[r];"element"===s.type&&s.attrs.key&&(i[s.attrs.key]={vNode:s,element:n}),n=n.nextSibling}return i}(i,o),l=o.slice(),d=i.firstChild,c=s.length,u=0;u<c;++u)if(u>=l.length)t(s[u],i);else{var h=l[u],p=s[u];if(h!==p)if("text"!==h.type||"text"!==p.type)if("text"!==h.type&&"text"!==p.type)if(!h.renderer==!p.renderer){var A=p.attrs.key;if(A&&A in a){var m=a[A];m.vNode!==h&&(f.move(l,l.indexOf(m.vNode,u+1),u),i.insertBefore(m.element,d),h=m.vNode,d=m.element)}if(h!==p){var g=h.attrs.key;g&&g!==A?(f.insert(l,u,p),t(p,i,d)):h.tag===p.tag?(r(d,h.attrs,p.attrs),p.renderer?p.renderer.render(d,{attrs:p.attrs,children:p.children}):e(d,h.children,p.children),d=d.nextSibling):(f.insert(l,u,p),t(p,i,d))}else d=d.nextSibling}else f.insert(l,u,p),t(p,i,d);else f.insert(l,u,p),t(p,i,d);else d.textContent!==p.content&&(d.textContent=p.content),d=d.nextSibling;else d=d.nextSibling}n(i,l,c,!0)}};var i={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function r(e,t,n){if(t!==n){var r;for(r in t)r in i||r in n||("on"===r.substr(0,2)?e[r]=null:e.removeAttribute(r));for(r in n)r in i||t[r]===n[r]||("on"===r.substr(0,2)?e[r]=n[r]:e.setAttribute(r,n[r]));t.className!==n.className&&(void 0!==n.className?e.setAttribute("class",n.className):e.removeAttribute("class")),t.htmlFor!==n.htmlFor&&(void 0!==n.htmlFor?e.setAttribute("for",n.htmlFor):e.removeAttribute("for")),t.dataset!==n.dataset&&function(e,t,n){for(var i in t)i in n||e.removeAttribute("data-"+i);for(var r in n)t[r]!==n[r]&&e.setAttribute("data-"+r,n[r])}(e,t.dataset||{},n.dataset||{}),t.style!==n.style&&function(e,t,n){var i,r=e.style;for(i in t)i in n||(r[i]="");for(i in n)t[i]!==n[i]&&(r[i]=n[i])}(e,t.style||{},n.style||{})}}}(pe||(pe={}));var Ce=function(e,t){return Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ce(e,t)};function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ce(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var we,_e=function(){return _e=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_e.apply(this,arguments)},Be=function(){this.sizeHint=0,this.minSize=0,this.maxSize=1/0,this.stretch=1,this.size=0,this.done=!1};!function(e){e.calc=function(e,t){var n=e.length;if(0===n)return t;for(var i=0,r=0,o=0,s=0,a=0,l=0;l<n;++l){var d=(b=e[l]).minSize,c=b.maxSize,u=b.sizeHint;b.done=!1,b.size=Math.max(d,Math.min(u,c)),o+=b.size,i+=d,r+=c,b.stretch>0&&(s+=b.stretch,a++)}if(t===o)return 0;if(t<=i){for(l=0;l<n;++l)(b=e[l]).size=b.minSize;return t-i}if(t>=r){for(l=0;l<n;++l)(b=e[l]).size=b.maxSize;return t-r}var h=.01,f=n;if(t<o){for(var p=o-t;a>0&&p>h;){var A=p,m=s;for(l=0;l<n;++l)if(!(b=e[l]).done&&0!==b.stretch){var g=b.stretch*A/m;b.size-g<=b.minSize?(p-=b.size-b.minSize,s-=b.stretch,b.size=b.minSize,b.done=!0,f--,a--):(p-=g,b.size-=g)}}for(;f>0&&p>h;)for(g=p/f,l=0;l<n;++l)(b=e[l]).done||(b.size-g<=b.minSize?(p-=b.size-b.minSize,b.size=b.minSize,b.done=!0,f--):(p-=g,b.size-=g))}else{for(p=t-o;a>0&&p>h;)for(A=p,m=s,l=0;l<n;++l)(b=e[l]).done||0===b.stretch||(g=b.stretch*A/m,b.size+g>=b.maxSize?(p-=b.maxSize-b.size,s-=b.stretch,b.size=b.maxSize,b.done=!0,f--,a--):(p-=g,b.size+=g));for(;f>0&&p>h;)for(g=p/f,l=0;l<n;++l){var b;(b=e[l]).done||(b.size+g>=b.maxSize?(p-=b.maxSize-b.size,b.size=b.maxSize,b.done=!0,f--):(p-=g,b.size+=g))}}return 0},e.adjust=function(e,t,n){0!==e.length&&0!==n&&(n>0?function(e,t,n){for(var i=0,r=0;r<=t;++r)i+=(d=e[r]).maxSize-d.size;for(var o=0,s=(r=t+1,e.length);r<s;++r)o+=(d=e[r]).size-d.minSize;var a=n=Math.min(n,i,o);for(r=t;r>=0&&a>0;--r)(c=(d=e[r]).maxSize-d.size)>=a?(d.sizeHint=d.size+a,a=0):(d.sizeHint=d.size+c,a-=c);var l=n;for(r=t+1,s=e.length;r<s&&l>0;++r){var d,c;(c=(d=e[r]).size-d.minSize)>=l?(d.sizeHint=d.size-l,l=0):(d.sizeHint=d.size-c,l-=c)}}(e,t,n):function(e,t,n){for(var i=0,r=t+1,o=e.length;r<o;++r)i+=(d=e[r]).maxSize-d.size;var s=0;for(r=0;r<=t;++r)s+=(d=e[r]).size-d.minSize;var a=n=Math.min(n,i,s);for(r=t+1,o=e.length;r<o&&a>0;++r)(c=(d=e[r]).maxSize-d.size)>=a?(d.sizeHint=d.size+a,a=0):(d.sizeHint=d.size+c,a-=c);var l=n;for(r=t;r>=0&&l>0;--r){var d,c;(c=(d=e[r]).size-d.minSize)>=l?(d.sizeHint=d.size-l,l=0):(d.sizeHint=d.size-c,l-=c)}}(e,t,-n))}}(we||(we={}));var Ee,xe=function(){function e(e){this._label="",this._caption="",this._mnemonic=-1,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new X(this),this._isDisposed=!1,this.owner=e.owner,void 0!==e.label&&(this._label=e.label),void 0!==e.mnemonic&&(this._mnemonic=e.mnemonic),void 0!==e.icon?"string"==typeof e.icon?(this._icon=null,this._iconClass=e.icon):this._icon=e.icon:this._icon=null,void 0!==e.iconClass&&(this._iconClass=e.iconClass),void 0!==e.iconLabel&&(this._iconLabel=e.iconLabel),void 0!==e.iconRenderer&&(this._icon=e.iconRenderer),void 0!==e.caption&&(this._caption=e.caption),void 0!==e.className&&(this._className=e.className),void 0!==e.closable&&(this._closable=e.closable),this._dataset=e.dataset||{}}return Object.defineProperty(e.prototype,"changed",{get:function(){return this._changed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},set:function(e){this._label!==e&&(this._label=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mnemonic",{get:function(){return this._mnemonic},set:function(e){this._mnemonic!==e&&(this._mnemonic=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return null===this._icon?this.iconClass:this._icon},set:function(e){if("string"==typeof e)this._icon=null,this.iconClass=e;else{if(this._icon===e)return;this._icon=e,this._changed.emit(void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return this._iconClass},set:function(e){this._iconClass!==e&&(this._iconClass=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconLabel",{get:function(){return this._iconLabel},set:function(e){this._iconLabel!==e&&(this._iconLabel=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconRenderer",{get:function(){return this._icon||void 0},set:function(e){this.icon=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this._caption},set:function(e){this._caption!==e&&(this._caption=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},set:function(e){this._className!==e&&(this._className=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closable",{get:function(){return this._closable},set:function(e){this._closable!==e&&(this._closable=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return this._dataset},set:function(e){this._dataset!==e&&(this._dataset=e,this._changed.emit(void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._isDisposed},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.isDisposed||(this._isDisposed=!0,X.clearData(this))},e}(),ke=function(){function e(t){void 0===t&&(t={}),this._flags=0,this._layout=null,this._parent=null,this._disposed=new X(this),this._hiddenMode=e.HiddenMode.Display,this.node=Ee.createNode(t),this.addClass("lm-Widget"),this.addClass("p-Widget")}return e.prototype.dispose=function(){this.isDisposed||(this.setFlag(e.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&e.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),X.clearData(this),G.Mu.clearData(this),Y.clearData(this))},Object.defineProperty(e.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this.testFlag(e.Flag.IsDisposed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAttached",{get:function(){return this.testFlag(e.Flag.IsAttached)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this.testFlag(e.Flag.IsHidden)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.testFlag(e.Flag.IsVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return Ee.titleProperty.get(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.node.id},set:function(e){this.node.id=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return this.node.dataset},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(t){this._hiddenMode!==t&&(this.isHidden&&this._toggleHidden(!1),t==e.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=t,this.isHidden&&this._toggleHidden(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(t){if(this._parent!==t){if(t&&this.contains(t))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){var n=new e.ChildMessage("child-removed",this);G.Mu.sendMessage(this._parent,n)}this._parent=t,this._parent&&!this._parent.isDisposed&&(n=new e.ChildMessage("child-added",this),G.Mu.sendMessage(this._parent,n)),this.isDisposed||G.Mu.sendMessage(this,e.Msg.ParentChanged)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout},set:function(t){if(this._layout!==t){if(this.testFlag(e.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(t.parent)throw new Error("Cannot change layout parent.");this._layout=t,t.parent=this}},enumerable:!0,configurable:!0}),e.prototype.children=function(){return this._layout?this._layout.iter():R()},e.prototype.contains=function(e){for(var t=e;t;t=t._parent)if(t===this)return!0;return!1},e.prototype.hasClass=function(e){return this.node.classList.contains(e)},e.prototype.addClass=function(e){this.node.classList.add(e)},e.prototype.removeClass=function(e){this.node.classList.remove(e)},e.prototype.toggleClass=function(e,t){return!0===t?(this.node.classList.add(e),!0):!1===t?(this.node.classList.remove(e),!1):this.node.classList.toggle(e)},e.prototype.update=function(){G.Mu.postMessage(this,e.Msg.UpdateRequest)},e.prototype.fit=function(){G.Mu.postMessage(this,e.Msg.FitRequest)},e.prototype.activate=function(){G.Mu.postMessage(this,e.Msg.ActivateRequest)},e.prototype.close=function(){G.Mu.sendMessage(this,e.Msg.CloseRequest)},e.prototype.show=function(){if(this.testFlag(e.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||G.Mu.sendMessage(this,e.Msg.BeforeShow),this.clearFlag(e.Flag.IsHidden),this.node.removeAttribute("aria-hidden"),this._toggleHidden(!1),!this.isAttached||this.parent&&!this.parent.isVisible||G.Mu.sendMessage(this,e.Msg.AfterShow),this.parent)){var t=new e.ChildMessage("child-shown",this);G.Mu.sendMessage(this.parent,t)}},e.prototype.hide=function(){if(!this.testFlag(e.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||G.Mu.sendMessage(this,e.Msg.BeforeHide),this.setFlag(e.Flag.IsHidden),this.node.setAttribute("aria-hidden","true"),this._toggleHidden(!0),!this.isAttached||this.parent&&!this.parent.isVisible||G.Mu.sendMessage(this,e.Msg.AfterHide),this.parent)){var t=new e.ChildMessage("child-hidden",this);G.Mu.sendMessage(this.parent,t)}},e.prototype.setHidden=function(e){e?this.hide():this.show()},e.prototype.testFlag=function(e){return!!(this._flags&e)},e.prototype.setFlag=function(e){this._flags|=e},e.prototype.clearFlag=function(e){this._flags&=~e},e.prototype.processMessage=function(t){switch(t.type){case"resize":this.notifyLayout(t),this.onResize(t);break;case"update-request":this.notifyLayout(t),this.onUpdateRequest(t);break;case"fit-request":this.notifyLayout(t),this.onFitRequest(t);break;case"before-show":this.notifyLayout(t),this.onBeforeShow(t);break;case"after-show":this.setFlag(e.Flag.IsVisible),this.notifyLayout(t),this.onAfterShow(t);break;case"before-hide":this.notifyLayout(t),this.onBeforeHide(t);break;case"after-hide":this.clearFlag(e.Flag.IsVisible),this.notifyLayout(t),this.onAfterHide(t);break;case"before-attach":this.notifyLayout(t),this.onBeforeAttach(t);break;case"after-attach":this.isHidden||this.parent&&!this.parent.isVisible||this.setFlag(e.Flag.IsVisible),this.setFlag(e.Flag.IsAttached),this.notifyLayout(t),this.onAfterAttach(t);break;case"before-detach":this.notifyLayout(t),this.onBeforeDetach(t);break;case"after-detach":this.clearFlag(e.Flag.IsVisible),this.clearFlag(e.Flag.IsAttached),this.notifyLayout(t),this.onAfterDetach(t);break;case"activate-request":this.notifyLayout(t),this.onActivateRequest(t);break;case"close-request":this.notifyLayout(t),this.onCloseRequest(t);break;case"child-added":this.notifyLayout(t),this.onChildAdded(t);break;case"child-removed":this.notifyLayout(t),this.onChildRemoved(t);break;default:this.notifyLayout(t)}},e.prototype.notifyLayout=function(e){this._layout&&this._layout.processParentMessage(e)},e.prototype.onCloseRequest=function(t){this.parent?this.parent=null:this.isAttached&&e.detach(this)},e.prototype.onResize=function(e){},e.prototype.onUpdateRequest=function(e){},e.prototype.onFitRequest=function(e){},e.prototype.onActivateRequest=function(e){},e.prototype.onBeforeShow=function(e){},e.prototype.onAfterShow=function(e){},e.prototype.onBeforeHide=function(e){},e.prototype.onAfterHide=function(e){},e.prototype.onBeforeAttach=function(e){},e.prototype.onAfterAttach=function(e){},e.prototype.onBeforeDetach=function(e){},e.prototype.onAfterDetach=function(e){},e.prototype.onChildAdded=function(e){},e.prototype.onChildRemoved=function(e){},e.prototype._toggleHidden=function(t){if(t)switch(this._hiddenMode){case e.HiddenMode.Display:this.addClass("lm-mod-hidden"),this.addClass("p-mod-hidden");break;case e.HiddenMode.Scale:this.node.style.transform="scale(0)";break;case e.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1"}else switch(this._hiddenMode){case e.HiddenMode.Display:this.removeClass("lm-mod-hidden"),this.removeClass("p-mod-hidden");break;case e.HiddenMode.Scale:this.node.style.transform="";break;case e.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex=""}},e}();!function(e){var t,n,i;(t=e.HiddenMode||(e.HiddenMode={}))[t.Display=0]="Display",t[t.Scale=1]="Scale",t[t.ContentVisibility=2]="ContentVisibility",(n=e.Flag||(e.Flag={}))[n.IsDisposed=1]="IsDisposed",n[n.IsAttached=2]="IsAttached",n[n.IsHidden=4]="IsHidden",n[n.IsVisible=8]="IsVisible",n[n.DisallowLayout=16]="DisallowLayout",(i=e.Msg||(e.Msg={})).BeforeShow=new G.QB("before-show"),i.AfterShow=new G.QB("after-show"),i.BeforeHide=new G.QB("before-hide"),i.AfterHide=new G.QB("after-hide"),i.BeforeAttach=new G.QB("before-attach"),i.AfterAttach=new G.QB("after-attach"),i.BeforeDetach=new G.QB("before-detach"),i.AfterDetach=new G.QB("after-detach"),i.ParentChanged=new G.QB("parent-changed"),i.UpdateRequest=new G.HS("update-request"),i.FitRequest=new G.HS("fit-request"),i.ActivateRequest=new G.HS("activate-request"),i.CloseRequest=new G.HS("close-request");var r=function(e){function t(t,n){var i=e.call(this,t)||this;return i.child=n,i}return ye(t,e),t}(G.QB);e.ChildMessage=r;var o=function(e){function t(t,n){var i=e.call(this,"resize")||this;return i.width=t,i.height=n,i}return ye(t,e),t}(G.QB);e.ResizeMessage=o,function(e){e.UnknownSize=new e(-1,-1)}(o=e.ResizeMessage||(e.ResizeMessage={})),e.attach=function(t,n,i){if(void 0===i&&(i=null),t.parent)throw new Error("Cannot attach a child widget.");if(t.isAttached||t.node.isConnected)throw new Error("Widget is already attached.");if(!n.isConnected)throw new Error("Host is not attached.");G.Mu.sendMessage(t,e.Msg.BeforeAttach),n.insertBefore(t.node,i),G.Mu.sendMessage(t,e.Msg.AfterAttach)},e.detach=function(t){if(t.parent)throw new Error("Cannot detach a child widget.");if(!t.isAttached||!t.node.isConnected)throw new Error("Widget is not attached.");G.Mu.sendMessage(t,e.Msg.BeforeDetach),t.node.parentNode.removeChild(t.node),G.Mu.sendMessage(t,e.Msg.AfterDetach)}}(ke||(ke={})),function(e){e.titleProperty=new Y({name:"title",create:function(e){return new xe({owner:e})}}),e.createNode=function(e){return e.node||document.createElement(e.tag||"div")}}(Ee||(Ee={}));var Te=function(){function e(e){void 0===e&&(e={}),this._disposed=!1,this._parent=null,this._fitPolicy=e.fitPolicy||"set-min-size"}return e.prototype.dispose=function(){this._parent=null,this._disposed=!0,X.clearData(this),Y.clearData(this)},Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(e){if(this._parent!==e){if(this._parent)throw new Error("Cannot change parent widget.");if(e.layout!==this)throw new Error("Invalid parent widget.");this._parent=e,this.init()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fitPolicy",{get:function(){return this._fitPolicy},set:function(e){if(this._fitPolicy!==e&&(this._fitPolicy=e,this._parent)){var t=this._parent.node.style;t.minWidth="",t.minHeight="",t.maxWidth="",t.maxHeight="",this._parent.fit()}},enumerable:!0,configurable:!0}),e.prototype.processParentMessage=function(e){switch(e.type){case"resize":this.onResize(e);break;case"update-request":this.onUpdateRequest(e);break;case"fit-request":this.onFitRequest(e);break;case"before-show":this.onBeforeShow(e);break;case"after-show":this.onAfterShow(e);break;case"before-hide":this.onBeforeHide(e);break;case"after-hide":this.onAfterHide(e);break;case"before-attach":this.onBeforeAttach(e);break;case"after-attach":this.onAfterAttach(e);break;case"before-detach":this.onBeforeDetach(e);break;case"after-detach":this.onAfterDetach(e);break;case"child-removed":this.onChildRemoved(e);break;case"child-shown":this.onChildShown(e);break;case"child-hidden":this.onChildHidden(e)}},e.prototype.init=function(){var e=this;S(this,(function(t){t.parent=e.parent}))},e.prototype.onResize=function(e){S(this,(function(e){G.Mu.sendMessage(e,ke.ResizeMessage.UnknownSize)}))},e.prototype.onUpdateRequest=function(e){S(this,(function(e){G.Mu.sendMessage(e,ke.ResizeMessage.UnknownSize)}))},e.prototype.onBeforeAttach=function(e){S(this,(function(t){G.Mu.sendMessage(t,e)}))},e.prototype.onAfterAttach=function(e){S(this,(function(t){G.Mu.sendMessage(t,e)}))},e.prototype.onBeforeDetach=function(e){S(this,(function(t){G.Mu.sendMessage(t,e)}))},e.prototype.onAfterDetach=function(e){S(this,(function(t){G.Mu.sendMessage(t,e)}))},e.prototype.onBeforeShow=function(e){S(this,(function(t){t.isHidden||G.Mu.sendMessage(t,e)}))},e.prototype.onAfterShow=function(e){S(this,(function(t){t.isHidden||G.Mu.sendMessage(t,e)}))},e.prototype.onBeforeHide=function(e){S(this,(function(t){t.isHidden||G.Mu.sendMessage(t,e)}))},e.prototype.onAfterHide=function(e){S(this,(function(t){t.isHidden||G.Mu.sendMessage(t,e)}))},e.prototype.onChildRemoved=function(e){this.removeWidget(e.child)},e.prototype.onFitRequest=function(e){},e.prototype.onChildShown=function(e){},e.prototype.onChildHidden=function(e){},e}();!function(e){e.getHorizontalAlignment=function(e){return je.horizontalAlignmentProperty.get(e)},e.setHorizontalAlignment=function(e,t){je.horizontalAlignmentProperty.set(e,t)},e.getVerticalAlignment=function(e){return je.verticalAlignmentProperty.get(e)},e.setVerticalAlignment=function(e,t){je.verticalAlignmentProperty.set(e,t)}}(Te||(Te={}));var je,De=function(){function e(e){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=e,this.widget.node.style.position="absolute"}return e.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var e=this.widget.node.style;e.position="",e.top="",e.left="",e.width="",e.height=""}},Object.defineProperty(e.prototype,"minWidth",{get:function(){return this._minWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this._minHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this._maxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxHeight",{get:function(){return this._maxHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHidden",{get:function(){return this.widget.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.widget.isVisible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAttached",{get:function(){return this.widget.isAttached},enumerable:!0,configurable:!0}),e.prototype.fit=function(){var e=K._$.sizeLimits(this.widget.node);this._minWidth=e.minWidth,this._minHeight=e.minHeight,this._maxWidth=e.maxWidth,this._maxHeight=e.maxHeight},e.prototype.update=function(e,t,n,i){var r=Math.max(this._minWidth,Math.min(n,this._maxWidth)),o=Math.max(this._minHeight,Math.min(i,this._maxHeight));if(r<n)switch(Te.getHorizontalAlignment(this.widget)){case"left":break;case"center":e+=(n-r)/2;break;case"right":e+=n-r;break;default:throw"unreachable"}if(o<i)switch(Te.getVerticalAlignment(this.widget)){case"top":break;case"center":t+=(i-o)/2;break;case"bottom":t+=i-o;break;default:throw"unreachable"}var s=!1,a=this.widget.node.style;if(this._top!==t&&(this._top=t,a.top=t+"px"),this._left!==e&&(this._left=e,a.left=e+"px"),this._width!==r&&(s=!0,this._width=r,a.width=r+"px"),this._height!==o&&(s=!0,this._height=o,a.height=o+"px"),s){var l=new ke.ResizeMessage(r,o);G.Mu.sendMessage(this.widget,l)}},e}();!function(e){function t(e){e.parent&&e.parent.layout&&e.parent.update()}e.horizontalAlignmentProperty=new Y({name:"horizontalAlignment",create:function(){return"center"},changed:t}),e.verticalAlignmentProperty=new Y({name:"verticalAlignment",create:function(){return"top"},changed:t})}(je||(je={}));var Se,Ie=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._widgets=[],t}return ye(t,e),t.prototype.dispose=function(){for(;this._widgets.length>0;)this._widgets.pop().dispose();e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return D(this._widgets)},t.prototype.addWidget=function(e){this.insertWidget(this._widgets.length,e)},t.prototype.insertWidget=function(e,t){t.parent=this.parent;var n=this._widgets.indexOf(t),i=Math.max(0,Math.min(e,this._widgets.length));if(-1===n)return f.insert(this._widgets,i,t),void(this.parent&&this.attachWidget(i,t));i===this._widgets.length&&i--,n!==i&&(f.move(this._widgets,n,i),this.parent&&this.moveWidget(n,i,t))},t.prototype.removeWidget=function(e){this.removeWidgetAt(this._widgets.indexOf(e))},t.prototype.removeWidgetAt=function(e){var t=f.removeAt(this._widgets,e);t&&this.parent&&this.detachWidget(e,t)},t.prototype.init=function(){var t=this;e.prototype.init.call(this),S(this,(function(e,n){t.attachWidget(n,e)}))},t.prototype.attachWidget=function(e,t){var n=this.parent.node.children[e];this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.BeforeAttach),this.parent.node.insertBefore(t.node,n),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.AfterAttach)},t.prototype.moveWidget=function(e,t,n){this.parent.isAttached&&G.Mu.sendMessage(n,ke.Msg.BeforeDetach),this.parent.node.removeChild(n.node),this.parent.isAttached&&G.Mu.sendMessage(n,ke.Msg.AfterDetach);var i=this.parent.node.children[t];this.parent.isAttached&&G.Mu.sendMessage(n,ke.Msg.BeforeAttach),this.parent.node.insertBefore(n.node,i),this.parent.isAttached&&G.Mu.sendMessage(n,ke.Msg.AfterAttach)},t.prototype.detachWidget=function(e,t){this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.AfterDetach)},t}(Te);!function(e){e.clampDimension=function(e){return Math.max(0,Math.floor(e))}}(Se||(Se={}));var Me,Pe=Se,Re=function(e){function t(t){var n=e.call(this)||this;return n.widgetOffset=0,n._fixed=0,n._spacing=4,n._dirty=!1,n._hasNormedSizes=!1,n._sizers=[],n._items=[],n._handles=[],n._box=null,n._alignment="start",n._orientation="horizontal",n.renderer=t.renderer,void 0!==t.orientation&&(n._orientation=t.orientation),void 0!==t.alignment&&(n._alignment=t.alignment),void 0!==t.spacing&&(n._spacing=Se.clampDimension(t.spacing)),n}return ye(t,e),t.prototype.dispose=function(){S(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this.parent&&(this.parent.dataset.orientation=e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this._alignment},set:function(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=Se.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handles",{get:function(){return this._handles},enumerable:!0,configurable:!0}),t.prototype.absoluteSizes=function(){return this._sizers.map((function(e){return e.size}))},t.prototype.relativeSizes=function(){return Me.normalize(this._sizers.map((function(e){return e.size})))},t.prototype.setRelativeSizes=function(e,t){void 0===t&&(t=!0);for(var n=this._sizers.length,i=e.slice(0,n);i.length<n;)i.push(0);for(var r=Me.normalize(i),o=0;o<n;++o){var s=this._sizers[o];s.sizeHint=r[o],s.size=r[o]}this._hasNormedSizes=!0,t&&this.parent&&this.parent.update()},t.prototype.moveHandle=function(e,t){var n,i=this._handles[e];if(i&&!i.classList.contains("lm-mod-hidden")&&0!=(n="horizontal"===this._orientation?t-i.offsetLeft:t-i.offsetTop)){for(var r=0,o=this._sizers;r<o.length;r++){var s=o[r];s.size>0&&(s.sizeHint=s.size)}we.adjust(this._sizers,e,n),this.parent&&this.parent.update()}},t.prototype.init=function(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,e.prototype.init.call(this)},t.prototype.attachWidget=function(e,t){var n=new De(t),i=Me.createHandle(this.renderer),r=Me.averageSize(this._sizers),o=Me.createSizer(r);f.insert(this._items,e,n),f.insert(this._sizers,e,o),f.insert(this._handles,e,i),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.node.appendChild(i),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,n){f.move(this._items,e,t),f.move(this._sizers,e,t),f.move(this._handles,e,t),this.parent.fit()},t.prototype.detachWidget=function(e,t){var n=f.removeAt(this._items,e),i=f.removeAt(this._handles,e);f.removeAt(this._sizers,e),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.node.removeChild(i),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.AfterDetach),n.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype.updateItemPosition=function(e,t,n,i,r,o,s){var a=this._items[e];if(!a.isHidden){var l=this._handles[e].style;t?(n+=this.widgetOffset,a.update(n,i,s,r),n+=s,l.top=i+"px",l.left=n+"px",l.width=this._spacing+"px",l.height=r+"px"):(i+=this.widgetOffset,a.update(n,i,o,s),i+=s,l.top=i+"px",l.left=n+"px",l.width=o+"px",l.height=this._spacing+"px")}},t.prototype._fit=function(){for(var e=0,n=-1,i=0,r=this._items.length;i<r;++i)this._items[i].isHidden?(this._handles[i].classList.add("lm-mod-hidden"),this._handles[i].classList.add("p-mod-hidden")):(this._handles[i].classList.remove("lm-mod-hidden"),this._handles[i].classList.remove("p-mod-hidden"),n=i,e++);-1!==n&&(this._handles[n].classList.add("lm-mod-hidden"),this._handles[n].classList.add("p-mod-hidden")),this._fixed=this._spacing*Math.max(0,e-1)+this.widgetOffset*this._items.length;var o="horizontal"===this._orientation,s=o?this._fixed:0,a=o?0:this._fixed;for(i=0,r=this._items.length;i<r;++i){var l=this._items[i],d=this._sizers[i];d.size>0&&(d.sizeHint=d.size),l.isHidden?(d.minSize=0,d.maxSize=0):(l.fit(),d.stretch=t.getStretch(l.widget),o?(d.minSize=l.minWidth,d.maxSize=l.maxWidth,s+=l.minWidth,a=Math.max(a,l.minHeight)):(d.minSize=l.minHeight,d.maxSize=l.maxHeight,a+=l.minHeight,s=Math.max(s,l.minWidth)))}var c=this._box=K._$.boxSizing(this.parent.node);s+=c.horizontalSum,a+=c.verticalSum;var u=this.parent.node.style;u.minWidth=s+"px",u.minHeight=a+"px",this._dirty=!0,this.parent.parent&&G.Mu.sendMessage(this.parent.parent,ke.Msg.FitRequest),this._dirty&&G.Mu.sendMessage(this.parent,ke.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n||0!==this.widgetOffset){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=K._$.boxSizing(this.parent.node));var o=this._box.paddingTop,s=this._box.paddingLeft,a=e-this._box.horizontalSum,l=t-this._box.verticalSum,d=0,c=0,u="horizontal"===this._orientation;if(n>0){var h;if(h=u?Math.max(0,a-this._fixed):Math.max(0,l-this._fixed),this._hasNormedSizes){for(var f=0,p=this._sizers;f<p.length;f++)p[f].sizeHint*=h;this._hasNormedSizes=!1}var A=we.calc(this._sizers,h);if(A>0)switch(this._alignment){case"start":break;case"center":d=0,c=A/2;break;case"end":d=0,c=A;break;case"justify":d=A/n,c=0;break;default:throw"unreachable"}}for(i=0,r=this._items.length;i<r;++i){var m=this._items[i].isHidden?0:this._sizers[i].size+d;this.updateItemPosition(i,u,u?s+c:s,u?o:o+c,l,a,m);var g=this.widgetOffset+(this._handles[i].classList.contains("lm-mod-hidden")?0:this._spacing);u?s+=m+g:o+=m+g}}},t}(Ie);!function(e){e.getStretch=function(e){return Me.stretchProperty.get(e)},e.setStretch=function(e,t){Me.stretchProperty.set(e,t)}}(Re||(Re={})),function(e){e.stretchProperty=new Y({name:"stretch",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:function(e){e.parent&&e.parent.layout instanceof Re&&e.parent.fit()}}),e.createSizer=function(e){var t=new Be;return t.sizeHint=Math.floor(e),t},e.createHandle=function(e){var t=e.createHandle();return t.style.position="absolute",t},e.averageSize=function(e){return e.reduce((function(e,t){return e+t.size}),0)/e.length||0},e.normalize=function(e){var t=e.length;if(0===t)return[];var n=e.reduce((function(e,t){return e+Math.abs(t)}),0);return 0===n?e.map((function(e){return 1/t})):e.map((function(e){return e/n}))}}(Me||(Me={}));var Oe,Le=function(e){function t(t){var n=e.call(this,_e(_e({},t),{orientation:t.orientation||"vertical"}))||this;return n._titles=[],n.titleSpace=t.titleSpace||22,n}return ye(t,e),Object.defineProperty(t.prototype,"titleSpace",{get:function(){return this.widgetOffset},set:function(e){e=Pe.clampDimension(e),this.widgetOffset!==e&&(this.widgetOffset=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this._titles.length=0,e.prototype.dispose.call(this))},t.prototype.updateTitle=function(e,t){var n=this._titles[e],i=n.classList.contains("lm-mod-expanded"),r=Oe.createTitle(this.renderer,t.title,i);this._titles[e]=r,this.parent.node.replaceChild(r,n)},t.prototype.attachWidget=function(t,n){var i=Oe.createTitle(this.renderer,n.title);f.insert(this._titles,t,i),this.parent.node.appendChild(i),n.node.setAttribute("role","region"),n.node.setAttribute("aria-labelledby",i.id),e.prototype.attachWidget.call(this,t,n)},t.prototype.moveWidget=function(t,n,i){f.move(this._titles,t,n),e.prototype.moveWidget.call(this,t,n,i)},t.prototype.detachWidget=function(t,n){var i=f.removeAt(this._titles,t);this.parent.node.removeChild(i),e.prototype.detachWidget.call(this,t,n)},t.prototype.updateItemPosition=function(t,n,i,r,o,s,a){var l=this._titles[t].style;l.top=r+"px",l.left=i+"px",l.height=this.widgetOffset+"px",l.width=n?o+"px":s+"px",e.prototype.updateItemPosition.call(this,t,n,i,r,o,s,a)},t}(Re);!function(e){e.createTitle=function(e,t,n){void 0===n&&(n=!0);var i=e.createSectionTitle(t);return i.style.position="absolute",i.setAttribute("aria-label",t.label+" Section"),i.setAttribute("aria-expanded",n?"true":"false"),i.setAttribute("aria-controls",t.owner.id),n&&i.classList.add("lm-mod-expanded"),i}}(Oe||(Oe={}));var Ne,ze=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.addClass("lm-Panel"),n.addClass("p-Panel"),n.layout=Ne.createLayout(t),n}return ye(t,e),Object.defineProperty(t.prototype,"widgets",{get:function(){return this.layout.widgets},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(e){this.layout.addWidget(e)},t.prototype.insertWidget=function(e,t){this.layout.insertWidget(e,t)},t}(ke);!function(e){e.createLayout=function(e){return e.layout||new Ie}}(Ne||(Ne={}));var Fe,qe=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,{layout:Fe.createLayout(t)})||this;return n._handleMoved=new X(n),n._pressData=null,n.addClass("lm-SplitPanel"),n.addClass("p-SplitPanel"),n}return ye(t,e),t.prototype.dispose=function(){this._releaseMouse(),e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"orientation",{get:function(){return this.layout.orientation},set:function(e){this.layout.orientation=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this.layout.alignment},set:function(e){this.layout.alignment=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handleMoved",{get:function(){return this._handleMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"handles",{get:function(){return this.layout.handles},enumerable:!0,configurable:!0}),t.prototype.relativeSizes=function(){return this.layout.relativeSizes()},t.prototype.setRelativeSizes=function(e,t){void 0===t&&(t=!0),this.layout.setRelativeSizes(e,t)},t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()},t.prototype.onChildAdded=function(e){e.child.addClass("lm-SplitPanel-child"),e.child.addClass("p-SplitPanel-child"),this._releaseMouse()},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-SplitPanel-child"),e.child.removeClass("p-SplitPanel-child"),this._releaseMouse()},t.prototype._evtKeyDown=function(e){this._pressData&&(e.preventDefault(),e.stopPropagation()),27===e.keyCode&&this._releaseMouse()},t.prototype._evtMouseDown=function(e){if(0===e.button){var t=this.layout,n=f.findFirstIndex(t.handles,(function(t){return t.contains(e.target)}));if(-1!==n){var i;e.preventDefault(),e.stopPropagation(),document.addEventListener("mouseup",this,!0),document.addEventListener("mousemove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0);var r=t.handles[n],o=r.getBoundingClientRect();i="horizontal"===t.orientation?e.clientX-o.left:e.clientY-o.top;var s=window.getComputedStyle(r),a=re.overrideCursor(s.cursor);this._pressData={index:n,delta:i,override:a}}}},t.prototype._evtMouseMove=function(e){var t;e.preventDefault(),e.stopPropagation();var n=this.layout,i=this.node.getBoundingClientRect();t="horizontal"===n.orientation?e.clientX-i.left-this._pressData.delta:e.clientY-i.top-this._pressData.delta,n.moveHandle(this._pressData.index,t)},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse())},t.prototype._releaseMouse=function(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._handleMoved.emit(),document.removeEventListener("mouseup",this,!0),document.removeEventListener("mousemove",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("contextmenu",this,!0))},t}(ze);!function(e){var t=function(){function e(){}return e.prototype.createHandle=function(){var e=document.createElement("div");return e.className="lm-SplitPanel-handle",e.classList.add("p-SplitPanel-handle"),e},e}();e.Renderer=t,e.defaultRenderer=new t,e.getStretch=function(e){return Re.getStretch(e)},e.setStretch=function(e,t){Re.setStretch(e,t)}}(qe||(qe={})),function(e){e.createLayout=function(e){return e.layout||new Re({renderer:e.renderer||qe.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing})}}(Fe||(Fe={}));var Ue,$e=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,_e(_e({},t),{layout:Ue.createLayout(t)}))||this;return n._widgetSizesCache=new WeakMap,n.addClass("lm-AccordionPanel"),n}return ye(t,e),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titleSpace",{get:function(){return this.layout.titleSpace},set:function(e){this.layout.titleSpace=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this.layout.titles},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(t){e.prototype.addWidget.call(this,t),t.title.changed.connect(this._onTitleChanged,this)},t.prototype.collapse=function(e){var t=this.layout.widgets[e];t&&!t.isHidden&&this._toggleExpansion(e)},t.prototype.expand=function(e){var t=this.layout.widgets[e];t&&t.isHidden&&this._toggleExpansion(e)},t.prototype.insertWidget=function(t,n){e.prototype.insertWidget.call(this,t,n),n.title.changed.connect(this._onTitleChanged,this)},t.prototype.handleEvent=function(t){switch(e.prototype.handleEvent.call(this,t),t.type){case"click":this._evtClick(t);break;case"keydown":this._eventKeyDown(t)}},t.prototype.onBeforeAttach=function(t){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),e.prototype.onBeforeAttach.call(this,t)},t.prototype.onAfterDetach=function(t){e.prototype.onAfterDetach.call(this,t),this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this)},t.prototype._onTitleChanged=function(e){var t=f.findFirstIndex(this.widgets,(function(t){return t.contains(e.owner)}));t>=0&&(this.layout.updateTitle(t,e.owner),this.update())},t.prototype._computeWidgetSize=function(e){var t=this.layout,n=t.widgets[e];if(n){var i=n.isHidden,r=t.absoluteSizes(),o=(i?-1:1)*this.spacing,s=r.reduce((function(e,t){return e+t})),a=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}(r);if(i){var l=this._widgetSizesCache.get(n);if(!l)return;a[e]+=l,-1===(d=a.map((function(e){return e-l>0})).lastIndexOf(!0))?a.forEach((function(t,n){n!==e&&(a[n]-=r[n]/s*(l-o))})):a[d]-=l-o}else{var d,c=r[e];if(this._widgetSizesCache.set(n,c),a[e]=0,-1===(d=a.map((function(e){return e>0})).lastIndexOf(!0)))return;a[d]=r[d]+c+o}return a.map((function(e){return e/(s+o)}))}},t.prototype._evtClick=function(e){var t=e.target;if(t){var n=f.findFirstIndex(this.titles,(function(e){return e.contains(t)}));n>=0&&(e.preventDefault(),e.stopPropagation(),this._toggleExpansion(n))}},t.prototype._eventKeyDown=function(e){if(!e.defaultPrevented){var t=e.target,n=!1;if(t){var i=f.findFirstIndex(this.titles,(function(e){return e.contains(t)}));if(i>=0){var r=e.keyCode.toString();if(e.key.match(/Space|Enter/)||r.match(/13|32/))t.click(),n=!0;else if("horizontal"===this.orientation?e.key.match(/ArrowLeft|ArrowRight/)||r.match(/37|39/):e.key.match(/ArrowUp|ArrowDown/)||r.match(/38|40/)){var o=e.key.match(/ArrowLeft|ArrowUp/)||r.match(/37|38/)?-1:1,s=this.titles.length,a=(i+s+o)%s;this.titles[a].focus(),n=!0}else"End"===e.key||"35"===r?(this.titles[this.titles.length-1].focus(),n=!0):"Home"!==e.key&&"36"!==r||(this.titles[0].focus(),n=!0)}n&&e.preventDefault()}}},t.prototype._toggleExpansion=function(e){var t=this.titles[e],n=this.layout.widgets[e],i=this._computeWidgetSize(e);i&&this.setRelativeSizes(i,!1),n.isHidden?(t.classList.add("lm-mod-expanded"),t.setAttribute("aria-expanded","true"),n.show()):(t.classList.remove("lm-mod-expanded"),t.setAttribute("aria-expanded","false"),n.hide())},t}(qe);!function(e){var t=function(e){function t(){var n=e.call(this)||this;return n.titleClassName="lm-AccordionPanel-title",n._titleID=0,n._titleKeys=new WeakMap,n._uuid=++t._nInstance,n}return ye(t,e),t.prototype.createCollapseIcon=function(e){return document.createElement("span")},t.prototype.createSectionTitle=function(e){var t=document.createElement("h3");for(var n in t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.id=this.createTitleKey(e),t.className=this.titleClassName,e.dataset)t.dataset[n]=e.dataset[n];t.appendChild(this.createCollapseIcon(e)).className="lm-AccordionPanel-titleCollapser";var i=t.appendChild(document.createElement("span"));return i.className="lm-AccordionPanel-titleLabel",i.textContent=e.label,i.title=e.caption||e.label,t},t.prototype.createTitleKey=function(e){var t=this._titleKeys.get(e);return void 0===t&&(t="title-key-"+this._uuid+"-"+this._titleID++,this._titleKeys.set(e,t)),t},t._nInstance=0,t}(qe.Renderer);e.Renderer=t,e.defaultRenderer=new t}($e||($e={})),function(e){e.createLayout=function(e){return e.layout||new Le({renderer:e.renderer||$e.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing,titleSpace:e.titleSpace})}}(Ue||(Ue={}));var He,We=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n._fixed=0,n._spacing=4,n._dirty=!1,n._sizers=[],n._items=[],n._box=null,n._alignment="start",n._direction="top-to-bottom",void 0!==t.direction&&(n._direction=t.direction),void 0!==t.alignment&&(n._alignment=t.alignment),void 0!==t.spacing&&(n._spacing=Pe.clampDimension(t.spacing)),n}return ye(t,e),t.prototype.dispose=function(){S(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,this._sizers.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"direction",{get:function(){return this._direction},set:function(e){this._direction!==e&&(this._direction=e,this.parent&&(this.parent.dataset.direction=e,this.parent.fit()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this._alignment},set:function(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=Pe.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),t.prototype.init=function(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,e.prototype.init.call(this)},t.prototype.attachWidget=function(e,t){f.insert(this._items,e,new De(t)),f.insert(this._sizers,e,new Be),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,n){f.move(this._items,e,t),f.move(this._sizers,e,t),this.parent.update()},t.prototype.detachWidget=function(e,t){var n=f.removeAt(this._items,e);f.removeAt(this._sizers,e),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.AfterDetach),n.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,n=0,i=this._items.length;n<i;++n)e+=+!this._items[n].isHidden;this._fixed=this._spacing*Math.max(0,e-1);var r=He.isHorizontal(this._direction),o=r?this._fixed:0,s=r?0:this._fixed;for(n=0,i=this._items.length;n<i;++n){var a=this._items[n],l=this._sizers[n];a.isHidden?(l.minSize=0,l.maxSize=0):(a.fit(),l.sizeHint=t.getSizeBasis(a.widget),l.stretch=t.getStretch(a.widget),r?(l.minSize=a.minWidth,l.maxSize=a.maxWidth,o+=a.minWidth,s=Math.max(s,a.minHeight)):(l.minSize=a.minHeight,l.maxSize=a.maxHeight,s+=a.minHeight,o=Math.max(o,a.minWidth)))}var d=this._box=K._$.boxSizing(this.parent.node);o+=d.horizontalSum,s+=d.verticalSum;var c=this.parent.node.style;c.minWidth=o+"px",c.minHeight=s+"px",this._dirty=!0,this.parent.parent&&G.Mu.sendMessage(this.parent.parent,ke.Msg.FitRequest),this._dirty&&G.Mu.sendMessage(this.parent,ke.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=K._$.boxSizing(this.parent.node));var o,s=this._box.paddingTop,a=this._box.paddingLeft,l=e-this._box.horizontalSum,d=t-this._box.verticalSum;switch(this._direction){case"left-to-right":o=we.calc(this._sizers,Math.max(0,l-this._fixed));break;case"top-to-bottom":o=we.calc(this._sizers,Math.max(0,d-this._fixed));break;case"right-to-left":o=we.calc(this._sizers,Math.max(0,l-this._fixed)),a+=l;break;case"bottom-to-top":o=we.calc(this._sizers,Math.max(0,d-this._fixed)),s+=d;break;default:throw"unreachable"}var c=0,u=0;if(o>0)switch(this._alignment){case"start":break;case"center":c=0,u=o/2;break;case"end":c=0,u=o;break;case"justify":c=o/n,u=0;break;default:throw"unreachable"}for(i=0,r=this._items.length;i<r;++i){var h=this._items[i];if(!h.isHidden){var f=this._sizers[i].size;switch(this._direction){case"left-to-right":h.update(a+u,s,f+c,d),a+=f+c+this._spacing;break;case"top-to-bottom":h.update(a,s+u,l,f+c),s+=f+c+this._spacing;break;case"right-to-left":h.update(a-u-f-c,s,f+c,d),a-=f+c+this._spacing;break;case"bottom-to-top":h.update(a,s-u-f-c,l,f+c),s-=f+c+this._spacing;break;default:throw"unreachable"}}}}},t}(Ie);!function(e){e.getStretch=function(e){return He.stretchProperty.get(e)},e.setStretch=function(e,t){He.stretchProperty.set(e,t)},e.getSizeBasis=function(e){return He.sizeBasisProperty.get(e)},e.setSizeBasis=function(e,t){He.sizeBasisProperty.set(e,t)}}(We||(We={})),function(e){function t(e){e.parent&&e.parent.layout instanceof We&&e.parent.fit()}e.stretchProperty=new Y({name:"stretch",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:t}),e.sizeBasisProperty=new Y({name:"sizeBasis",create:function(){return 0},coerce:function(e,t){return Math.max(0,Math.floor(t))},changed:t}),e.isHorizontal=function(e){return"left-to-right"===e||"right-to-left"===e},e.clampSpacing=function(e){return Math.max(0,Math.floor(e))}}(He||(He={}));var Ve,Ge=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,{layout:Ve.createLayout(t)})||this;return n.addClass("lm-BoxPanel"),n.addClass("p-BoxPanel"),n}return ye(t,e),Object.defineProperty(t.prototype,"direction",{get:function(){return this.layout.direction},set:function(e){this.layout.direction=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return this.layout.alignment},set:function(e){this.layout.alignment=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),t.prototype.onChildAdded=function(e){e.child.addClass("lm-BoxPanel-child"),e.child.addClass("p-BoxPanel-child")},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-BoxPanel-child"),e.child.removeClass("p-BoxPanel-child")},t}(ze);!function(e){e.getStretch=function(e){return We.getStretch(e)},e.setStretch=function(e,t){We.setStretch(e,t)},e.getSizeBasis=function(e){return We.getSizeBasis(e)},e.setSizeBasis=function(e,t){We.setSizeBasis(e,t)}}(Ge||(Ge={})),function(e){e.createLayout=function(e){return e.layout||new We(e)}}(Ve||(Ve={}));var Ke,Ye=function(e){function t(n){var i=e.call(this,{node:Ke.createNode()})||this;return i._activeIndex=-1,i._items=[],i._results=null,i.addClass("lm-CommandPalette"),i.addClass("p-CommandPalette"),i.setFlag(ke.Flag.DisallowLayout),i.commands=n.commands,i.renderer=n.renderer||t.defaultRenderer,i.commands.commandChanged.connect(i._onGenericChange,i),i.commands.keyBindingChanged.connect(i._onGenericChange,i),i}return ye(t,e),t.prototype.dispose=function(){this._items.length=0,this._results=null,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"searchNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-search")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-input")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-CommandPalette-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),t.prototype.addItem=function(e){var t=Ke.createItem(this.commands,e);return this._items.push(t),this.refresh(),t},t.prototype.addItems=function(e){var t=this,n=e.map((function(e){return Ke.createItem(t.commands,e)}));return n.forEach((function(e){return t._items.push(e)})),this.refresh(),n},t.prototype.removeItem=function(e){this.removeItemAt(this._items.indexOf(e))},t.prototype.removeItemAt=function(e){f.removeAt(this._items,e)&&this.refresh()},t.prototype.clearItems=function(){0!==this._items.length&&(this._items.length=0,this.refresh())},t.prototype.refresh=function(){this._results=null,""!==this.inputNode.value?this.node.getElementsByClassName("lm-close-icon")[0].style.display="inherit":this.node.getElementsByClassName("lm-close-icon")[0].style.display="none",this.update()},t.prototype.handleEvent=function(e){switch(e.type){case"click":this._evtClick(e);break;case"keydown":this._evtKeyDown(e);break;case"input":this.refresh();break;case"focus":case"blur":this._toggleFocused()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),this.node.addEventListener("input",this),this.node.addEventListener("focus",this,!0),this.node.addEventListener("blur",this,!0)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this),this.node.removeEventListener("input",this),this.node.removeEventListener("focus",this,!0),this.node.removeEventListener("blur",this,!0)},t.prototype.onActivateRequest=function(e){if(this.isAttached){var t=this.inputNode;t.focus(),t.select()}},t.prototype.onUpdateRequest=function(e){var t=this.inputNode.value,n=this.contentNode,i=this._results;if(i||(i=this._results=Ke.search(this._items,t),this._activeIndex=t?f.findFirstIndex(i,Ke.canActivate):-1),t||0!==i.length)if(t&&0===i.length){var r=this.renderer.renderEmptyMessage({query:t});fe.render(r,n)}else{for(var o=this.renderer,s=this._activeIndex,a=new Array(i.length),l=0,d=i.length;l<d;++l){var c=i[l];if("header"===c.type){var u=c.indices,h=c.category;a[l]=o.renderHeader({category:h,indices:u})}else{var p=c.item,A=(u=c.indices,l===s);a[l]=o.renderItem({item:p,indices:u,active:A})}}if(fe.render(a,n),s<0||s>=i.length)n.scrollTop=0;else{var m=n.children[s];K._$.scrollIntoViewIfNeeded(n,m)}}else fe.render(null,n)},t.prototype._evtClick=function(e){if(0===e.button){if(e.target.classList.contains("lm-close-icon"))return this.inputNode.value="",void this.refresh();var t=f.findFirstIndex(this.contentNode.children,(function(t){return t.contains(e.target)}));-1!==t&&(e.preventDefault(),e.stopPropagation(),this._execute(t))}},t.prototype._evtKeyDown=function(e){if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey))switch(e.keyCode){case 13:e.preventDefault(),e.stopPropagation(),this._execute(this._activeIndex);break;case 38:e.preventDefault(),e.stopPropagation(),this._activatePreviousItem();break;case 40:e.preventDefault(),e.stopPropagation(),this._activateNextItem()}},t.prototype._activateNextItem=function(){if(this._results&&0!==this._results.length){var e=this._activeIndex,t=this._results.length,n=e<t-1?e+1:0,i=0===n?t-1:n-1;this._activeIndex=f.findFirstIndex(this._results,Ke.canActivate,n,i),this.update()}},t.prototype._activatePreviousItem=function(){if(this._results&&0!==this._results.length){var e=this._activeIndex,t=this._results.length,n=e<=0?t-1:e-1,i=n===t-1?0:n+1;this._activeIndex=f.findLastIndex(this._results,Ke.canActivate,n,i),this.update()}},t.prototype._execute=function(e){if(this._results){var t=this._results[e];if(t){if("header"===t.type){var n=this.inputNode;return n.value=t.category.toLowerCase()+" ",n.focus(),void this.refresh()}t.item.isEnabled&&(this.commands.execute(t.item.command,t.item.args),this.inputNode.value="",this.refresh())}}},t.prototype._toggleFocused=function(){var e=document.activeElement===this.inputNode;this.toggleClass("lm-mod-focused",e),this.toggleClass("p-mod-focused",e)},t.prototype._onGenericChange=function(){this.refresh()},t}(ke);!function(e){var t=function(){function e(){}return e.prototype.renderHeader=function(e){var t=this.formatHeader(e);return ve.li({className:"lm-CommandPalette-header p-CommandPalette-header"},t)},e.prototype.renderItem=function(e){var t=this.createItemClass(e),n=this.createItemDataset(e);return e.item.isToggleable?ve.li({className:t,dataset:n,role:"checkbox","aria-checked":""+e.item.isToggled},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e)):ve.li({className:t,dataset:n},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e))},e.prototype.renderEmptyMessage=function(e){var t=this.formatEmptyMessage(e);return ve.li({className:"lm-CommandPalette-emptyMessage p-CommandPalette-emptyMessage"},t)},e.prototype.renderItemIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.item.icon?ve.div({className:t},e.item.iconLabel):ve.div({className:t},e.item.icon,e.item.iconLabel)},e.prototype.renderItemContent=function(e){return ve.div({className:"lm-CommandPalette-itemContent p-CommandPalette-itemContent"},this.renderItemLabel(e),this.renderItemCaption(e))},e.prototype.renderItemLabel=function(e){var t=this.formatItemLabel(e);return ve.div({className:"lm-CommandPalette-itemLabel p-CommandPalette-itemLabel"},t)},e.prototype.renderItemCaption=function(e){var t=this.formatItemCaption(e);return ve.div({className:"lm-CommandPalette-itemCaption p-CommandPalette-itemCaption"},t)},e.prototype.renderItemShortcut=function(e){var t=this.formatItemShortcut(e);return ve.div({className:"lm-CommandPalette-itemShortcut p-CommandPalette-itemShortcut"},t)},e.prototype.createItemClass=function(e){var t="lm-CommandPalette-item";t+=" p-CommandPalette-item",e.item.isEnabled||(t+=" lm-mod-disabled",t+=" p-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled",t+=" p-mod-toggled"),e.active&&(t+=" lm-mod-active",t+=" p-mod-active");var n=e.item.className;return n&&(t+=" "+n),t},e.prototype.createItemDataset=function(e){return _e(_e({},e.item.dataset),{command:e.item.command})},e.prototype.createIconClass=function(e){var t="lm-CommandPalette-itemIcon";t+=" p-CommandPalette-itemIcon";var n=e.item.iconClass;return n?t+" "+n:t},e.prototype.formatHeader=function(e){return e.indices&&0!==e.indices.length?H.highlight(e.category,e.indices,ve.mark):e.category},e.prototype.formatEmptyMessage=function(e){return"No commands found that match '"+e.query+"'"},e.prototype.formatItemShortcut=function(e){var t=e.item.keyBinding;return t?he.formatKeystroke(t.keys):null},e.prototype.formatItemLabel=function(e){return e.indices&&0!==e.indices.length?H.highlight(e.item.label,e.indices,ve.mark):e.item.label},e.prototype.formatItemCaption=function(e){return e.item.caption},e}();e.Renderer=t,e.defaultRenderer=new t}(Ye||(Ye={})),function(e){function t(e,t){for(var n=e.category.toLowerCase(),i=n+" "+e.label.toLowerCase(),r=1/0,o=null,s=/\b\w/g;;){var a=s.exec(i);if(!a)break;var l=H.matchSumOfDeltas(i,t,a.index);if(!l)break;l&&l.score<=r&&(r=l.score,o=l.indices)}if(!o||r===1/0)return null;for(var d=n.length+1,c=f.lowerBound(o,d,(function(e,t){return e-t})),u=o.slice(0,c),h=o.slice(c),p=0,A=h.length;p<A;++p)h[p]-=d;return 0===u.length?{matchType:0,categoryIndices:null,labelIndices:h,score:r,item:e}:0===h.length?{matchType:1,categoryIndices:u,labelIndices:null,score:r,item:e}:{matchType:2,categoryIndices:u,labelIndices:h,score:r,item:e}}function n(e,t){var n=e.matchType-t.matchType;if(0!==n)return n;var i=e.score-t.score;if(0!==i)return i;var r=0,o=0;switch(e.matchType){case 0:r=e.labelIndices[0],o=t.labelIndices[0];break;case 1:case 2:r=e.categoryIndices[0],o=t.categoryIndices[0]}if(r!==o)return r-o;var s=e.item.category.localeCompare(t.item.category);if(0!==s)return s;var a=e.item.rank,l=t.item.rank;return a!==l?a<l?-1:1:e.item.label.localeCompare(t.item.label)}e.createNode=function(){var e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("input"),r=document.createElement("ul"),o=document.createElement("button");return t.className="lm-CommandPalette-search",n.className="lm-CommandPalette-wrapper",i.className="lm-CommandPalette-input",o.className="lm-close-icon",r.className="lm-CommandPalette-content",t.classList.add("p-CommandPalette-search"),n.classList.add("p-CommandPalette-wrapper"),i.classList.add("p-CommandPalette-input"),r.classList.add("p-CommandPalette-content"),i.spellcheck=!1,n.appendChild(i),n.appendChild(o),t.appendChild(n),e.appendChild(t),e.appendChild(r),e},e.createItem=function(e,t){return new i(e,t)},e.search=function(e,i){var r=function(e,n){n=n.replace(/\s+/g,"").toLowerCase();for(var i=[],r=0,o=e.length;r<o;++r){var s=e[r];if(s.isVisible)if(n){var a=t(s,n);a&&(s.isEnabled||(a.score+=1e3),i.push(a))}else i.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:s})}return i}(e,i);return r.sort(n),function(e){var t=new Array(e.length);f.fill(t,!1);for(var n=[],i=0,r=e.length;i<r;++i)if(!t[i]){var o=e[i],s=o.item,a=o.categoryIndices,l=s.category;n.push({type:"header",category:l,indices:a});for(var d=i;d<r;++d)if(!t[d]){var c=e[d],u=c.item,h=c.labelIndices;u.category===l&&(n.push({type:"item",item:u,indices:h}),t[d]=!0)}}return n}(r)},e.canActivate=function(e){return"item"===e.type&&e.item.isEnabled};var i=function(){function e(e,t){this._commands=e,this.category=t.category.trim().replace(/\s+/g," "),this.command=t.command,this.args=t.args||oe.JSONExt.emptyObject,this.rank=void 0!==t.rank?t.rank:1/0}return Object.defineProperty(e.prototype,"label",{get:function(){return this._commands.label(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return this._commands.icon(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return this._commands.iconClass(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconLabel",{get:function(){return this._commands.iconLabel(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return this._commands.caption(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._commands.className(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return this._commands.dataset(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEnabled",{get:function(){return this._commands.isEnabled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isToggled",{get:function(){return this._commands.isToggled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isToggleable",{get:function(){return this._commands.isToggleable(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._commands.isVisible(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBinding",{get:function(){var e=this.command,t=this.args;return f.findLastValue(this._commands.keyBindings,(function(n){return n.command===e&&oe.JSONExt.deepEqual(n.args,t)}))||null},enumerable:!0,configurable:!0}),e}()}(Ke||(Ke={}));var Je,Xe,Ze=function(e){function t(n){var i=e.call(this,{node:Je.createNode()})||this;return i._childIndex=-1,i._activeIndex=-1,i._openTimerID=0,i._closeTimerID=0,i._items=[],i._childMenu=null,i._parentMenu=null,i._aboutToClose=new X(i),i._menuRequested=new X(i),i.addClass("lm-Menu"),i.addClass("p-Menu"),i.setFlag(ke.Flag.DisallowLayout),i.commands=n.commands,i.renderer=n.renderer||t.defaultRenderer,i}return ye(t,e),t.prototype.dispose=function(){this.close(),this._items.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"aboutToClose",{get:function(){return this._aboutToClose},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menuRequested",{get:function(){return this._menuRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentMenu",{get:function(){return this._parentMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootMenu",{get:function(){for(var e=this;e._parentMenu;)e=e._parentMenu;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"leafMenu",{get:function(){for(var e=this;e._childMenu;)e=e._childMenu;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-Menu-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._items[this._activeIndex]||null},set:function(e){this.activeIndex=e?this._items.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(e){(e<0||e>=this._items.length)&&(e=-1),-1===e||Je.canActivate(this._items[e])||(e=-1),this._activeIndex!==e&&(this._activeIndex=e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),t.prototype.activateNextItem=function(){var e=this._items.length,t=this._activeIndex,n=t<e-1?t+1:0,i=0===n?e-1:n-1;this.activeIndex=f.findFirstIndex(this._items,Je.canActivate,n,i)},t.prototype.activatePreviousItem=function(){var e=this._items.length,t=this._activeIndex,n=t<=0?e-1:t-1,i=n===e-1?0:n+1;this.activeIndex=f.findLastIndex(this._items,Je.canActivate,n,i)},t.prototype.triggerActiveItem=function(){if(this.isAttached){var e=this.activeItem;if(e)if(this._cancelOpenTimer(),this._cancelCloseTimer(),"submenu"!==e.type){this.rootMenu.close();var t=e.command,n=e.args;this.commands.isEnabled(t,n)?this.commands.execute(t,n):console.log("Command '"+t+"' is disabled.")}else this._openChildMenu(!0)}},t.prototype.addItem=function(e){return this.insertItem(this._items.length,e)},t.prototype.insertItem=function(e,t){this.isAttached&&this.close(),this.activeIndex=-1;var n=Math.max(0,Math.min(e,this._items.length)),i=Je.createItem(this,t);return f.insert(this._items,n,i),this.update(),i},t.prototype.removeItem=function(e){this.removeItemAt(this._items.indexOf(e))},t.prototype.removeItemAt=function(e){this.isAttached&&this.close(),this.activeIndex=-1,f.removeAt(this._items,e)&&this.update()},t.prototype.clearItems=function(){this.isAttached&&this.close(),this.activeIndex=-1,0!==this._items.length&&(this._items.length=0,this.update())},t.prototype.open=function(e,t,n){if(void 0===n&&(n={}),!this.isAttached){var i=n.forceX||!1,r=n.forceY||!1;Je.openRootMenu(this,e,t,i,r),this.activate()}},t.prototype.handleEvent=function(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mouseup":this._evtMouseUp(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseenter":this._evtMouseEnter(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"mousedown":this._evtMouseDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)},t.prototype.onActivateRequest=function(e){this.isAttached&&this.node.focus()},t.prototype.onUpdateRequest=function(e){for(var t=this,n=this._items,i=this.renderer,r=this._activeIndex,o=Je.computeCollapsed(n),s=new Array(n.length),a=function(e,a){var l=n[e],d=e===r,c=o[e];s[e]=i.renderItem({item:l,active:d,collapsed:c,onfocus:function(){t.activeIndex=e}})},l=0,d=n.length;l<d;++l)a(l);fe.render(s,this.contentNode)},t.prototype.onCloseRequest=function(t){this._cancelOpenTimer(),this._cancelCloseTimer(),this.activeIndex=-1;var n=this._childMenu;n&&(this._childIndex=-1,this._childMenu=null,n._parentMenu=null,n.close());var i=this._parentMenu;i&&(this._parentMenu=null,i._childIndex=-1,i._childMenu=null,i.activate()),this.isAttached&&this._aboutToClose.emit(void 0),e.prototype.onCloseRequest.call(this,t)},t.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation();var t=e.keyCode;if(13!==t)if(27!==t)if(37!==t)if(38!==t)if(39!==t)if(40!==t){var n=se().keyForKeydownEvent(e);if(n){var i=this._activeIndex+1,r=Je.findMnemonic(this._items,n,i);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.triggerActiveItem())}}else this.activateNextItem();else{var o=this.activeItem;o&&"submenu"===o.type?this.triggerActiveItem():this.rootMenu._menuRequested.emit("next")}else this.activatePreviousItem();else this._parentMenu?this.close():this._menuRequested.emit("previous");else this.close();else this.triggerActiveItem()},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this.triggerActiveItem())},t.prototype._evtMouseMove=function(e){var t=f.findFirstIndex(this.contentNode.children,(function(t){return K._$.hitTest(t,e.clientX,e.clientY)}));if(t!==this._activeIndex){if(this.activeIndex=t,(t=this.activeIndex)===this._childIndex)return this._cancelOpenTimer(),void this._cancelCloseTimer();-1!==this._childIndex&&this._startCloseTimer(),this._cancelOpenTimer();var n=this.activeItem;n&&"submenu"===n.type&&n.submenu&&this._startOpenTimer()}},t.prototype._evtMouseEnter=function(e){for(var t=this._parentMenu;t;t=t._parentMenu)t._cancelOpenTimer(),t._cancelCloseTimer(),t.activeIndex=t._childIndex},t.prototype._evtMouseLeave=function(e){if(this._cancelOpenTimer(),this._childMenu){var t=e.clientX,n=e.clientY;K._$.hitTest(this._childMenu.node,t,n)?this._cancelCloseTimer():(this.activeIndex=-1,this._startCloseTimer())}else this.activeIndex=-1},t.prototype._evtMouseDown=function(e){this._parentMenu||(Je.hitTestMenus(this,e.clientX,e.clientY)?(e.preventDefault(),e.stopPropagation()):this.close())},t.prototype._openChildMenu=function(e){void 0===e&&(e=!1);var n=this.activeItem;if(n&&"submenu"===n.type&&n.submenu){var i=n.submenu;if(i!==this._childMenu){t.saveWindowData(),this._closeChildMenu(),this._childMenu=i,this._childIndex=this._activeIndex,i._parentMenu=this,G.Mu.sendMessage(this,ke.Msg.UpdateRequest);var r=this.contentNode.children[this._activeIndex];Je.openSubmenu(i,r),e&&(i.activeIndex=-1,i.activateNextItem()),i.activate()}}else this._closeChildMenu()},t.prototype._closeChildMenu=function(){this._childMenu&&this._childMenu.close()},t.prototype._startOpenTimer=function(){var e=this;0===this._openTimerID&&(this._openTimerID=window.setTimeout((function(){e._openTimerID=0,e._openChildMenu()}),Je.TIMER_DELAY))},t.prototype._startCloseTimer=function(){var e=this;0===this._closeTimerID&&(this._closeTimerID=window.setTimeout((function(){e._closeTimerID=0,e._closeChildMenu()}),Je.TIMER_DELAY))},t.prototype._cancelOpenTimer=function(){0!==this._openTimerID&&(clearTimeout(this._openTimerID),this._openTimerID=0)},t.prototype._cancelCloseTimer=function(){0!==this._closeTimerID&&(clearTimeout(this._closeTimerID),this._closeTimerID=0)},t.saveWindowData=function(){Je.saveWindowData()},t}(ke);!function(e){var t=function(){function e(){}return e.prototype.renderItem=function(e){var t=this.createItemClass(e),n=this.createItemDataset(e),i=this.createItemARIA(e);return ve.li(_e({className:t,dataset:n,tabindex:"0",onfocus:e.onfocus},i),this.renderIcon(e),this.renderLabel(e),this.renderShortcut(e),this.renderSubmenu(e))},e.prototype.renderIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.item.icon?ve.div({className:t},e.item.iconLabel):ve.div({className:t},e.item.icon,e.item.iconLabel)},e.prototype.renderLabel=function(e){var t=this.formatLabel(e);return ve.div({className:"lm-Menu-itemLabel p-Menu-itemLabel"},t)},e.prototype.renderShortcut=function(e){var t=this.formatShortcut(e);return ve.div({className:"lm-Menu-itemShortcut p-Menu-itemShortcut"},t)},e.prototype.renderSubmenu=function(e){return ve.div({className:"lm-Menu-itemSubmenuIcon p-Menu-itemSubmenuIcon"})},e.prototype.createItemClass=function(e){var t="lm-Menu-item";t+=" p-Menu-item",e.item.isEnabled||(t+=" lm-mod-disabled",t+=" p-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled",t+=" p-mod-toggled"),e.item.isVisible||(t+=" lm-mod-hidden",t+=" p-mod-hidden"),e.active&&(t+=" lm-mod-active",t+=" p-mod-active"),e.collapsed&&(t+=" lm-mod-collapsed",t+=" p-mod-collapsed");var n=e.item.className;return n&&(t+=" "+n),t},e.prototype.createItemDataset=function(e){var t=e.item,n=t.type,i=t.command,r=t.dataset;return _e(_e({},r),"command"===n?{type:n,command:i}:{type:n})},e.prototype.createIconClass=function(e){var t="lm-Menu-itemIcon";t+=" p-Menu-itemIcon";var n=e.item.iconClass;return n?t+" "+n:t},e.prototype.createItemARIA=function(e){var t={};switch(e.item.type){case"separator":t.role="presentation";break;case"submenu":t["aria-haspopup"]="true",e.item.isEnabled||(t["aria-disabled"]="true");break;default:e.item.isEnabled||(t["aria-disabled"]="true"),t.role="menuitem"}return t},e.prototype.formatLabel=function(e){var t=e.item,n=t.label,i=t.mnemonic;if(i<0||i>=n.length)return n;var r=n.slice(0,i),o=n.slice(i+1),s=n[i];return[r,ve.span({className:"lm-Menu-itemMnemonic p-Menu-itemMnemonic"},s),o]},e.prototype.formatShortcut=function(e){var t=e.item.keyBinding;return t?he.formatKeystroke(t.keys):null},e}();e.Renderer=t,e.defaultRenderer=new t}(Ze||(Ze={})),function(e){e.TIMER_DELAY=300,e.SUBMENU_OVERLAP=3;var t=null,n=0;function i(){return n>0?(n--,t):o()}function r(e){return"separator"!==e.type&&e.isEnabled&&e.isVisible}function o(){return{pageXOffset:window.pageXOffset,pageYOffset:window.pageYOffset,clientWidth:document.documentElement.clientWidth,clientHeight:document.documentElement.clientHeight}}e.saveWindowData=function(){t=o(),n++},e.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-Menu-content",t.classList.add("p-Menu-content"),e.appendChild(t),t.setAttribute("role","menu"),e.tabIndex=0,e},e.canActivate=r,e.createItem=function(e,t){return new s(e.commands,t)},e.hitTestMenus=function(e,t,n){for(var i=e;i;i=i.childMenu)if(K._$.hitTest(i.node,t,n))return!0;return!1},e.computeCollapsed=function(e){var t=new Array(e.length);f.fill(t,!1);for(var n=0,i=e.length;n<i;++n)if((s=e[n]).isVisible){if("separator"!==s.type)break;t[n]=!0}for(var r=i-1;r>=0;--r)if((s=e[r]).isVisible){if("separator"!==s.type)break;t[r]=!0}for(var o=!1;++n<r;){var s;(s=e[n]).isVisible&&("separator"!==s.type?o=!1:o?t[n]=!0:o=!0)}return t},e.openRootMenu=function(e,t,n,r,o){var s=i(),a=s.pageXOffset,l=s.pageYOffset,d=s.clientWidth,c=s.clientHeight;G.Mu.sendMessage(e,ke.Msg.UpdateRequest);var u=c-(o?n:0),h=e.node,f=h.style;f.opacity="0",f.maxHeight=u+"px",ke.attach(e,document.body);var p=h.getBoundingClientRect(),A=p.width,m=p.height;!r&&t+A>a+d&&(t=a+d-A),!o&&n+m>l+c&&(n>l+c?n=l+c-m:n-=m),f.transform="translate("+Math.max(0,t)+"px, "+Math.max(0,n)+"px",f.opacity="1"},e.openSubmenu=function(t,n){var r=i(),o=r.pageXOffset,s=r.pageYOffset,a=r.clientWidth,l=r.clientHeight;G.Mu.sendMessage(t,ke.Msg.UpdateRequest);var d=l,c=t.node,u=c.style;u.opacity="0",u.maxHeight=d+"px",ke.attach(t,document.body);var h=c.getBoundingClientRect(),f=h.width,p=h.height,A=K._$.boxSizing(t.node),m=n.getBoundingClientRect(),g=m.right-e.SUBMENU_OVERLAP;g+f>o+a&&(g=m.left+e.SUBMENU_OVERLAP-f);var b=m.top-A.borderTop-A.paddingTop;b+p>s+l&&(b=m.bottom+A.borderBottom+A.paddingBottom-p),u.transform="translate("+Math.max(0,g)+"px, "+Math.max(0,b)+"px",u.opacity="1"},e.findMnemonic=function(e,t,n){for(var i=-1,o=-1,s=!1,a=t.toUpperCase(),l=0,d=e.length;l<d;++l){var c=(l+n)%d,u=e[c];if(r(u)){var h=u.label;if(0!==h.length){var f=u.mnemonic;f>=0&&f<h.length?h[f].toUpperCase()===a&&(-1===i?i=c:s=!0):-1===o&&h[0].toUpperCase()===a&&(o=c)}}}return{index:i,multiple:s,auto:o}};var s=function(){function e(e,t){this._commands=e,this.type=t.type||"command",this.command=t.command||"",this.args=t.args||oe.JSONExt.emptyObject,this.submenu=t.submenu||null}return Object.defineProperty(e.prototype,"label",{get:function(){return"command"===this.type?this._commands.label(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.label:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mnemonic",{get:function(){return"command"===this.type?this._commands.mnemonic(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.mnemonic:-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return"command"===this.type?this._commands.icon(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.icon:this.iconClass},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return"command"===this.type?this._commands.iconClass(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconClass:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconLabel",{get:function(){return"command"===this.type?this._commands.iconLabel(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconLabel:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caption",{get:function(){return"command"===this.type?this._commands.caption(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.caption:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return"command"===this.type?this._commands.className(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.className:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataset",{get:function(){return"command"===this.type?this._commands.dataset(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.dataset:{}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEnabled",{get:function(){return"command"===this.type?this._commands.isEnabled(this.command,this.args):"submenu"!==this.type||null!==this.submenu},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isToggled",{get:function(){return"command"===this.type&&this._commands.isToggled(this.command,this.args)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return"command"===this.type?this._commands.isVisible(this.command,this.args):"submenu"!==this.type||null!==this.submenu},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBinding",{get:function(){if("command"===this.type){var e=this.command,t=this.args;return f.findLastValue(this._commands.keyBindings,(function(n){return n.command===e&&oe.JSONExt.deepEqual(n.args,t)}))||null}return null},enumerable:!0,configurable:!0}),e}()}(Je||(Je={})),function(){function e(e){this._groupByTarget=!0,this._idTick=0,this._items=[],this._sortBySelector=!0;var t=e.groupByTarget,n=e.sortBySelector,i=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}(e,["groupByTarget","sortBySelector"]);this.menu=new Ze(i),this._groupByTarget=!1!==t,this._sortBySelector=!1!==n}e.prototype.addItem=function(e){var t=this,n=Xe.createItem(e,this._idTick++);return this._items.push(n),new ee((function(){f.removeFirstOf(t._items,n)}))},e.prototype.open=function(e){var t=this;if(Ze.saveWindowData(),this.menu.clearItems(),0===this._items.length)return!1;var n=Xe.matchItems(this._items,e,this._groupByTarget,this._sortBySelector);return!(!n||0===n.length||(S(n,(function(e){t.menu.addItem(e)})),this.menu.open(e.clientX,e.clientY),0))}}(),function(e){function t(e,t){var n=e.rank,i=t.rank;return n!==i?n<i?-1:1:e.id-t.id}function n(e,n){var i=K.MD.calculateSpecificity(e.selector),r=K.MD.calculateSpecificity(n.selector);return i!==r?r-i:t(e,n)}e.createItem=function(e,t){var n=function(e){if(-1!==e.indexOf(","))throw new Error("Selector cannot contain commas: "+e);if(!K.MD.isValid(e))throw new Error("Invalid selector: "+e);return e}(e.selector),i=void 0!==e.rank?e.rank:1/0;return _e(_e({},e),{selector:n,rank:i,id:t})},e.matchItems=function(e,i,r,o){var s=i.target;if(!s)return null;var a=i.currentTarget;if(!a)return null;if(!(a.contains(s)||(s=document.elementFromPoint(i.clientX,i.clientY))&&a.contains(s)))return null;for(var l=[],d=e.slice();null!==s;){for(var c=[],u=0,h=d.length;u<h;++u){var f=d[u];f&&K.MD.matches(s,f.selector)&&(c.push(f),d[u]=null)}if(0!==c.length&&(r&&c.sort(o?n:t),l.push.apply(l,c)),s===a)break;s=s.parentElement}return r||l.sort(o?n:t),l}}(Xe||(Xe={}));var Qe,et=function(e){function t(n){void 0===n&&(n={});var i=e.call(this,{node:Qe.createNode()})||this;return i._currentIndex=-1,i._titles=[],i._titlesEditable=!1,i._previousTitle=null,i._dragData=null,i._addButtonEnabled=!1,i._tabMoved=new X(i),i._currentChanged=new X(i),i._addRequested=new X(i),i._tabCloseRequested=new X(i),i._tabDetachRequested=new X(i),i._tabActivateRequested=new X(i),i.addClass("lm-TabBar"),i.addClass("p-TabBar"),i.contentNode.setAttribute("role","tablist"),i.setFlag(ke.Flag.DisallowLayout),i._document=n.document||document,i.tabsMovable=n.tabsMovable||!1,i.titlesEditable=n.titlesEditable||!1,i.allowDeselect=n.allowDeselect||!1,i.addButtonEnabled=n.addButtonEnabled||!1,i.insertBehavior=n.insertBehavior||"select-tab-if-needed",i.name=n.name||"",i.orientation=n.orientation||"horizontal",i.removeBehavior=n.removeBehavior||"select-tab-after",i.renderer=n.renderer||t.defaultRenderer,i}return ye(t,e),t.prototype.dispose=function(){this._releaseMouse(),this._titles.length=0,this._previousTitle=null,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabMoved",{get:function(){return this._tabMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabActivateRequested",{get:function(){return this._tabActivateRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabCloseRequested",{get:function(){return this._tabCloseRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabDetachRequested",{get:function(){return this._tabDetachRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"document",{get:function(){return this._document},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titlesEditable",{get:function(){return this._titlesEditable},set:function(e){this._titlesEditable=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTitle",{get:function(){return this._titles[this._currentIndex]||null},set:function(e){this.currentIndex=e?this._titles.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){if((e<0||e>=this._titles.length)&&(e=-1),this._currentIndex!==e){var t=this._currentIndex,n=this._titles[t]||null,i=e,r=this._titles[i]||null;this._currentIndex=i,this._previousTitle=n,this.update(),this._currentChanged.emit({previousIndex:t,previousTitle:n,currentIndex:i,currentTitle:r})}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e,e?this.contentNode.setAttribute("aria-label",e):this.contentNode.removeAttribute("aria-label")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._releaseMouse(),this._orientation=e,this.dataset.orientation=e,this.contentNode.setAttribute("aria-orientation",e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(e){this._addButtonEnabled!==e&&(this._addButtonEnabled=e,e?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"titles",{get:function(){return this._titles},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonNode",{get:function(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]},enumerable:!0,configurable:!0}),t.prototype.addTab=function(e){return this.insertTab(this._titles.length,e)},t.prototype.insertTab=function(e,t){this._releaseMouse();var n=Qe.asTitle(t),i=this._titles.indexOf(n),r=Math.max(0,Math.min(e,this._titles.length));return-1===i?(f.insert(this._titles,r,n),n.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(r,n),n):(r===this._titles.length&&r--,i===r||(f.move(this._titles,i,r),this.update(),this._adjustCurrentForMove(i,r)),n)},t.prototype.removeTab=function(e){this.removeTabAt(this._titles.indexOf(e))},t.prototype.removeTabAt=function(e){this._releaseMouse();var t=f.removeAt(this._titles,e);t&&(t.changed.disconnect(this._onTitleChanged,this),t===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(e,t))},t.prototype.clearTabs=function(){if(0!==this._titles.length){this._releaseMouse();for(var e=0,t=this._titles;e<t.length;e++)t[e].changed.disconnect(this._onTitleChanged,this);var n=this.currentIndex,i=this.currentTitle;this._currentIndex=-1,this._previousTitle=null,this._titles.length=0,this.update(),-1!==n&&this._currentChanged.emit({previousIndex:n,previousTitle:i,currentIndex:-1,currentTitle:null})}},t.prototype.releaseMouse=function(){this._releaseMouse()},t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"dblclick":this._evtDblClick(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this),this.node.addEventListener("dblclick",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this.node.removeEventListener("dblclick",this),this._releaseMouse()},t.prototype.onUpdateRequest=function(e){for(var t=this._titles,n=this.renderer,i=this.currentTitle,r=new Array(t.length),o=0,s=t.length;o<s;++o){var a=t[o],l=a===i,d=l?s:s-o-1;r[o]=n.renderTab({title:a,current:l,zIndex:d})}fe.render(r,this.contentNode)},t.prototype._evtDblClick=function(e){if(this.titlesEditable){var t=this.contentNode.children,n=f.findFirstIndex(t,(function(t){return K._$.hitTest(t,e.clientX,e.clientY)}));if(-1!==n){var i=this.titles[n],r=t[n].querySelector(".lm-TabBar-tabLabel");if(r&&r.contains(e.target)){var o=i.label||"",s=r.innerHTML;r.innerHTML="";var a=document.createElement("input");a.classList.add("lm-TabBar-tabInput"),a.value=o,r.appendChild(a);var l=function(){a.removeEventListener("blur",l),r.innerHTML=s};a.addEventListener("dblclick",(function(e){return e.stopPropagation()})),a.addEventListener("blur",l),a.addEventListener("keydown",(function(e){"Enter"===e.key?(""!==a.value&&(i.label=i.caption=a.value),l()):"Escape"===e.key&&l()})),a.select(),a.focus(),r.children.length>0&&r.children[0].focus()}}}},t.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&this._releaseMouse()},t.prototype._evtMouseDown=function(e){if((0===e.button||1===e.button)&&!this._dragData){var t=this.addButtonEnabled&&this.addButtonNode.contains(e.target),n=this.contentNode.children,i=f.findFirstIndex(n,(function(t){return K._$.hitTest(t,e.clientX,e.clientY)}));if((-1!==i||t)&&(e.preventDefault(),e.stopPropagation(),this._dragData={tab:n[i],index:i,pressX:e.clientX,pressY:e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("mouseup",this,!0),this.document.addEventListener("pointerup",this,!0),1!==e.button&&!t)){var r=n[i].querySelector(this.renderer.closeIconSelector);r&&r.contains(e.target)||(this.tabsMovable&&(this.document.addEventListener("mousemove",this,!0),this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===i?this.currentIndex=-1:this.currentIndex=i,-1!==this.currentIndex&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}}},t.prototype._evtMouseMove=function(e){var t=this._dragData;if(t){e.preventDefault(),e.stopPropagation();var n=this.contentNode.children;if(t.dragActive||Qe.dragExceeded(t,e)){if(!t.dragActive){var i=t.tab.getBoundingClientRect();"horizontal"===this._orientation?(t.tabPos=t.tab.offsetLeft,t.tabSize=i.width,t.tabPressPos=t.pressX-i.left):(t.tabPos=t.tab.offsetTop,t.tabSize=i.height,t.tabPressPos=t.pressY-i.top),t.tabLayout=Qe.snapTabLayout(n,this._orientation),t.contentRect=this.contentNode.getBoundingClientRect(),t.override=re.overrideCursor("default"),t.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),t.tab.classList.add("p-mod-dragging"),this.addClass("p-mod-dragging"),t.dragActive=!0}if(!t.detachRequested&&Qe.detachExceeded(t,e)){t.detachRequested=!0;var r=t.index,o=e.clientX,s=e.clientY,a=n[r],l=this._titles[r];if(this._tabDetachRequested.emit({index:r,title:l,tab:a,clientX:o,clientY:s}),t.dragAborted)return}Qe.layoutTabs(n,t,e,this._orientation)}}},t.prototype._evtMouseUp=function(e){var t=this;if(0===e.button||1===e.button){var n=this._dragData;if(n){if(e.preventDefault(),e.stopPropagation(),this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!n.dragActive){if(this._dragData=null,this.addButtonEnabled&&this.addButtonNode.contains(e.target))return void this._addRequested.emit(void 0);var i=this.contentNode.children,r=f.findFirstIndex(i,(function(t){return K._$.hitTest(t,e.clientX,e.clientY)}));if(r!==n.index)return;var o=this._titles[r];if(!o.closable)return;if(1===e.button)return void this._tabCloseRequested.emit({index:r,title:o});var s=i[r].querySelector(this.renderer.closeIconSelector);return s&&s.contains(e.target)?void this._tabCloseRequested.emit({index:r,title:o}):void 0}if(0===e.button){Qe.finalizeTabPosition(n,this._orientation),n.tab.classList.remove("lm-mod-dragging"),n.tab.classList.remove("p-mod-dragging");var a=Qe.parseTransitionDuration(n.tab);setTimeout((function(){if(!n.dragAborted){t._dragData=null,Qe.resetTabPositions(t.contentNode.children,t._orientation),n.override.dispose(),t.removeClass("lm-mod-dragging"),t.removeClass("p-mod-dragging");var e=n.index,i=n.targetIndex;-1!==i&&e!==i&&(f.move(t._titles,e,i),t._adjustCurrentForMove(e,i),t._tabMoved.emit({fromIndex:e,toIndex:i,title:t._titles[i]}),G.Mu.sendMessage(t,ke.Msg.UpdateRequest))}}),a)}}}},t.prototype._releaseMouse=function(){var e=this._dragData;e&&(this._dragData=null,this.document.removeEventListener("mousemove",this,!0),this.document.removeEventListener("mouseup",this,!0),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),e.dragAborted=!0,e.dragActive&&(Qe.resetTabPositions(this.contentNode.children,this._orientation),e.override.dispose(),e.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging"),e.tab.classList.remove("p-mod-dragging"),this.removeClass("p-mod-dragging")))},t.prototype._adjustCurrentForInsert=function(e,t){var n=this.currentTitle,i=this._currentIndex,r=this.insertBehavior;if("select-tab"===r||"select-tab-if-needed"===r&&-1===i)return this._currentIndex=e,this._previousTitle=n,void this._currentChanged.emit({previousIndex:i,previousTitle:n,currentIndex:e,currentTitle:t});i>=e&&this._currentIndex++},t.prototype._adjustCurrentForMove=function(e,t){this._currentIndex===e?this._currentIndex=t:this._currentIndex<e&&this._currentIndex>=t?this._currentIndex++:this._currentIndex>e&&this._currentIndex<=t&&this._currentIndex--},t.prototype._adjustCurrentForRemove=function(e,t){var n=this._currentIndex,i=this.removeBehavior;if(n===e){if(0===this._titles.length)return this._currentIndex=-1,void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null});if("select-tab-after"===i)return this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-tab-before"===i)return this._currentIndex=Math.max(0,e-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-previous-tab"===i)return this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});this._currentIndex=-1,this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null})}else n>e&&this._currentIndex--},t.prototype._onTitleChanged=function(e){this.update()},t}(ke);!function(e){var t=function(){function e(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++e._nInstance}return e.prototype.renderTab=function(e){var t=e.title.caption,n=this.createTabKey(e),i=n,r=this.createTabStyle(e),o=this.createTabClass(e),s=this.createTabDataset(e),a=this.createTabARIA(e);return e.title.closable?ve.li(_e({id:i,key:n,className:o,title:t,style:r,dataset:s},a),this.renderIcon(e),this.renderLabel(e),this.renderCloseIcon(e)):ve.li(_e({id:i,key:n,className:o,title:t,style:r,dataset:s},a),this.renderIcon(e),this.renderLabel(e))},e.prototype.renderIcon=function(e){var t=e.title,n=this.createIconClass(e);return"string"==typeof t.icon?ve.div({className:n},t.iconLabel):ve.div({className:n},t.icon,t.iconLabel)},e.prototype.renderLabel=function(e){return ve.div({className:"lm-TabBar-tabLabel p-TabBar-tabLabel"},e.title.label)},e.prototype.renderCloseIcon=function(e){return ve.div({className:"lm-TabBar-tabCloseIcon p-TabBar-tabCloseIcon"})},e.prototype.createTabKey=function(e){var t=this._tabKeys.get(e.title);return void 0===t&&(t="tab-key-"+this._uuid+"-"+this._tabID++,this._tabKeys.set(e.title,t)),t},e.prototype.createTabStyle=function(e){return{zIndex:""+e.zIndex}},e.prototype.createTabClass=function(e){var t="lm-TabBar-tab";return t+=" p-TabBar-tab",e.title.className&&(t+=" "+e.title.className),e.title.closable&&(t+=" lm-mod-closable",t+=" p-mod-closable"),e.current&&(t+=" lm-mod-current",t+=" p-mod-current"),t},e.prototype.createTabDataset=function(e){return e.title.dataset},e.prototype.createTabARIA=function(e){return{role:"tab","aria-selected":e.current.toString()}},e.prototype.createIconClass=function(e){var t="lm-TabBar-tabIcon";t+=" p-TabBar-tabIcon";var n=e.title.iconClass;return n?t+" "+n:t},e._nInstance=0,e}();e.Renderer=t,e.defaultRenderer=new t,e.addButtonSelector=".lm-TabBar-addButton"}(et||(et={})),function(e){e.DRAG_THRESHOLD=5,e.DETACH_THRESHOLD=20,e.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");t.setAttribute("role","tablist"),t.className="lm-TabBar-content",t.classList.add("p-TabBar-content"),e.appendChild(t);var n=document.createElement("div");return n.className="lm-TabBar-addButton lm-mod-hidden",e.appendChild(n),e},e.asTitle=function(e){return e instanceof xe?e:new xe(e)},e.parseTransitionDuration=function(e){var t=window.getComputedStyle(e);return 1e3*(parseFloat(t.transitionDuration)||0)},e.snapTabLayout=function(e,t){for(var n=new Array(e.length),i=0,r=e.length;i<r;++i){var o=e[i],s=window.getComputedStyle(o);n[i]="horizontal"===t?{pos:o.offsetLeft,size:o.offsetWidth,margin:parseFloat(s.marginLeft)||0}:{pos:o.offsetTop,size:o.offsetHeight,margin:parseFloat(s.marginTop)||0}}return n},e.dragExceeded=function(t,n){var i=Math.abs(n.clientX-t.pressX),r=Math.abs(n.clientY-t.pressY);return i>=e.DRAG_THRESHOLD||r>=e.DRAG_THRESHOLD},e.detachExceeded=function(t,n){var i=t.contentRect;return n.clientX<i.left-e.DETACH_THRESHOLD||n.clientX>=i.right+e.DETACH_THRESHOLD||n.clientY<i.top-e.DETACH_THRESHOLD||n.clientY>=i.bottom+e.DETACH_THRESHOLD},e.layoutTabs=function(e,t,n,i){var r,o,s,a;"horizontal"===i?(r=t.pressX,o=n.clientX-t.contentRect.left,s=n.clientX,a=t.contentRect.width):(r=t.pressY,o=n.clientY-t.contentRect.top,s=n.clientY,a=t.contentRect.height);for(var l=t.index,d=o-t.tabPressPos,c=d+t.tabSize,u=0,h=e.length;u<h;++u){var f=void 0,p=t.tabLayout[u],A=p.pos+(p.size>>1);if(u<t.index&&d<A)f=t.tabSize+t.tabLayout[u+1].margin+"px",l=Math.min(l,u);else if(u>t.index&&c>A)f=-t.tabSize-p.margin+"px",l=Math.max(l,u);else if(u===t.index){var m=s-r,g=a-(t.tabPos+t.tabSize);f=Math.max(-t.tabPos,Math.min(m,g))+"px"}else f="";"horizontal"===i?e[u].style.left=f:e[u].style.top=f}t.targetIndex=l},e.finalizeTabPosition=function(e,t){var n,i;if(n="horizontal"===t?e.contentRect.width:e.contentRect.height,e.targetIndex===e.index)i=0;else if(e.targetIndex>e.index)i=(r=e.tabLayout[e.targetIndex]).pos+r.size-e.tabSize-e.tabPos;else{var r;i=(r=e.tabLayout[e.targetIndex]).pos-e.tabPos}var o=n-(e.tabPos+e.tabSize),s=Math.max(-e.tabPos,Math.min(i,o));"horizontal"===t?e.tab.style.left=s+"px":e.tab.style.top=s+"px"},e.resetTabPositions=function(e,t){S(e,(function(e){"horizontal"===t?e.style.left="":e.style.top=""}))}}(Qe||(Qe={}));var tt,nt=function(e){function t(t){var n=e.call(this)||this;return n._spacing=4,n._dirty=!1,n._root=null,n._box=null,n._items=new Map,n.renderer=t.renderer,void 0!==t.spacing&&(n._spacing=Pe.clampDimension(t.spacing)),n._document=t.document||document,n._hiddenMode=void 0!==t.hiddenMode?t.hiddenMode:ke.HiddenMode.Display,n}return ye(t,e),t.prototype.dispose=function(){var t=this.iter();this._items.forEach((function(e){e.dispose()})),this._box=null,this._root=null,this._items.clear(),S(t,(function(e){e.dispose()})),e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(e){var t=this;this._hiddenMode!==e&&(this._hiddenMode=e,S(this.tabBars(),(function(e){e.titles.length>1&&e.titles.forEach((function(e){e.owner.hiddenMode=t._hiddenMode}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){e=Pe.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return null===this._root},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return this._root?this._root.iterAllWidgets():R()},t.prototype.widgets=function(){return this._root?this._root.iterUserWidgets():R()},t.prototype.selectedWidgets=function(){return this._root?this._root.iterSelectedWidgets():R()},t.prototype.tabBars=function(){return this._root?this._root.iterTabBars():R()},t.prototype.handles=function(){return this._root?this._root.iterHandles():R()},t.prototype.moveHandle=function(e,t,n){var i=e.classList.contains("lm-mod-hidden");if(i=i||e.classList.contains("p-mod-hidden"),this._root&&!i){var r,o=this._root.findSplitNode(e);o&&0!=(r="horizontal"===o.node.orientation?t-e.offsetLeft:n-e.offsetTop)&&(o.node.holdSizes(),we.adjust(o.node.sizers,o.index,r),this.parent&&this.parent.update())}},t.prototype.saveLayout=function(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}},t.prototype.restoreLayout=function(e){var t,n=this,i=new Set;t=e.main?tt.normalizeAreaConfig(e.main,i):null;var r=this.widgets(),o=this.tabBars(),s=this.handles();this._root=null,S(r,(function(e){i.has(e)||(e.parent=null)})),S(o,(function(e){e.dispose()})),S(s,(function(e){e.parentNode&&e.parentNode.removeChild(e)})),i.forEach((function(e){e.parent=n.parent})),this._root=t?tt.realizeAreaConfig(t,{createTabBar:function(e){return n._createTabBar()},createHandle:function(){return n._createHandle()}},this._document):null,this.parent&&(i.forEach((function(e){n.attachWidget(e)})),this.parent.fit())},t.prototype.addWidget=function(e,t){void 0===t&&(t={});var n=t.ref||null,i=t.mode||"tab-after",r=null;if(this._root&&n&&(r=this._root.findTabNode(n)),n&&!r)throw new Error("Reference widget is not in the layout.");switch(e.parent=this.parent,i){case"tab-after":this._insertTab(e,n,r,!0);break;case"tab-before":this._insertTab(e,n,r,!1);break;case"split-top":this._insertSplit(e,n,r,"vertical",!1);break;case"split-left":this._insertSplit(e,n,r,"horizontal",!1);break;case"split-right":this._insertSplit(e,n,r,"horizontal",!0);break;case"split-bottom":this._insertSplit(e,n,r,"vertical",!0)}this.parent&&(this.attachWidget(e),this.parent.fit())},t.prototype.removeWidget=function(e){this._removeWidget(e),this.parent&&(this.detachWidget(e),this.parent.fit())},t.prototype.hitTestTabAreas=function(e,t){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=K._$.boxSizing(this.parent.node));var n=this.parent.node.getBoundingClientRect(),i=e-n.left-this._box.borderLeft,r=t-n.top-this._box.borderTop,o=this._root.hitTestTabNodes(i,r);if(!o)return null;var s=o.tabBar,a=o.top,l=o.left,d=o.width,c=o.height,u=this._box.borderLeft+this._box.borderRight,h=this._box.borderTop+this._box.borderBottom;return{tabBar:s,x:i,y:r,top:a,left:l,right:n.width-u-(l+d),bottom:n.height-h-(a+c),width:d,height:c}},t.prototype.init=function(){var t=this;e.prototype.init.call(this),S(this,(function(e){t.attachWidget(e)})),S(this.handles(),(function(e){t.parent.node.appendChild(e)})),this.parent.fit()},t.prototype.attachWidget=function(e){this.parent.node!==e.node.parentNode&&(this._items.set(e,new De(e)),this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.AfterAttach))},t.prototype.detachWidget=function(e){if(this.parent.node===e.node.parentNode){this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.AfterDetach);var t=this._items.get(e);t&&(this._items.delete(e),t.dispose())}},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._removeWidget=function(e){if(this._root){var t=this._root.findTabNode(e);if(t)if(tt.removeAria(e),t.tabBar.titles.length>1)t.tabBar.removeTab(e.title),this._hiddenMode===ke.HiddenMode.Scale&&1==t.tabBar.titles.length&&(t.tabBar.titles[0].owner.hiddenMode=ke.HiddenMode.Display);else if(t.tabBar.dispose(),this._root!==t){this._root.holdAllSizes();var n=t.parent;t.parent=null;var i=f.removeFirstOf(n.children,t),r=f.removeAt(n.handles,i);if(f.removeAt(n.sizers,i),r.parentNode&&r.parentNode.removeChild(r),n.children.length>1)n.syncHandles();else{var o=n.parent;n.parent=null;var s=n.children[0],a=n.handles[0];if(n.children.length=0,n.handles.length=0,n.sizers.length=0,a.parentNode&&a.parentNode.removeChild(a),this._root===n)return s.parent=null,void(this._root=s);var l=o,d=l.children.indexOf(n);if(s instanceof tt.TabLayoutNode)return s.parent=l,void(l.children[d]=s);var c=f.removeAt(l.handles,d);f.removeAt(l.children,d),f.removeAt(l.sizers,d),c.parentNode&&c.parentNode.removeChild(c);for(var u=0,h=s.children.length;u<h;++u){var p=s.children[u],A=s.handles[u],m=s.sizers[u];f.insert(l.children,d+u,p),f.insert(l.handles,d+u,A),f.insert(l.sizers,d+u,m),p.parent=l}s.children.length=0,s.handles.length=0,s.sizers.length=0,s.parent=null,l.syncHandles()}}else this._root=null}},t.prototype._insertTab=function(e,t,n,i){if(e!==t){if(!this._root){var r=new tt.TabLayoutNode(this._createTabBar());return r.tabBar.addTab(e.title),this._root=r,void tt.addAria(e,r.tabBar)}var o;n||(n=this._root.findFirstTabNode()),-1===n.tabBar.titles.indexOf(e.title)&&(this._removeWidget(e),e.hide()),o=t?n.tabBar.titles.indexOf(t.title):n.tabBar.currentIndex,this._hiddenMode===ke.HiddenMode.Scale?0===n.tabBar.titles.length?e.hiddenMode=ke.HiddenMode.Display:1==n.tabBar.titles.length?n.tabBar.titles[0].owner.hiddenMode=ke.HiddenMode.Scale:e.hiddenMode=ke.HiddenMode.Scale:e.hiddenMode=this._hiddenMode,n.tabBar.insertTab(o+(i?1:0),e.title),tt.addAria(e,n.tabBar)}},t.prototype._insertSplit=function(e,t,n,i,r){if(e!==t||!n||1!==n.tabBar.titles.length){this._removeWidget(e);var o=new tt.TabLayoutNode(this._createTabBar());if(o.tabBar.addTab(e.title),tt.addAria(e,o.tabBar),this._root){if(!n||!n.parent){var s=this._splitRoot(i),a=r?s.children.length:0;s.normalizeSizes();var l=tt.createSizer(n?1:tt.GOLDEN_RATIO);return f.insert(s.children,a,o),f.insert(s.sizers,a,l),f.insert(s.handles,a,this._createHandle()),o.parent=s,s.normalizeSizes(),void s.syncHandles()}var d=n.parent;if(d.orientation===i){var c=d.children.indexOf(n);d.normalizeSizes();var u=d.sizers[c].sizeHint/=2,h=c+(r?1:0);return f.insert(d.children,h,o),f.insert(d.sizers,h,tt.createSizer(u)),f.insert(d.handles,h,this._createHandle()),o.parent=d,void d.syncHandles()}var p=f.removeFirstOf(d.children,n),A=new tt.SplitLayoutNode(i);A.normalized=!0,A.children.push(n),A.sizers.push(tt.createSizer(.5)),A.handles.push(this._createHandle()),n.parent=A;var m=r?1:0;f.insert(A.children,m,o),f.insert(A.sizers,m,tt.createSizer(.5)),f.insert(A.handles,m,this._createHandle()),o.parent=A,A.syncHandles(),f.insert(d.children,p,A),A.parent=d}else this._root=o}},t.prototype._splitRoot=function(e){var t=this._root;if(t instanceof tt.SplitLayoutNode&&t.orientation===e)return t;var n=this._root=new tt.SplitLayoutNode(e);return t&&(n.children.push(t),n.sizers.push(tt.createSizer(0)),n.handles.push(this._createHandle()),t.parent=n),n},t.prototype._fit=function(){var e=0,t=0;if(this._root){var n=this._root.fit(this._spacing,this._items);e=n.minWidth,t=n.minHeight}var i=this._box=K._$.boxSizing(this.parent.node);e+=i.horizontalSum,t+=i.verticalSum;var r=this.parent.node.style;r.minWidth=e+"px",r.minHeight=t+"px",this._dirty=!0,this.parent.parent&&G.Mu.sendMessage(this.parent.parent,ke.Msg.FitRequest),this._dirty&&G.Mu.sendMessage(this.parent,ke.Msg.UpdateRequest)},t.prototype._update=function(e,t){if(this._dirty=!1,this._root){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=K._$.boxSizing(this.parent.node));var n=this._box.paddingTop,i=this._box.paddingLeft,r=e-this._box.horizontalSum,o=t-this._box.verticalSum;this._root.update(n,i,r,o,this._spacing,this._items)}},t.prototype._createTabBar=function(){var e=this.renderer.createTabBar(this._document);return e.orientation="horizontal",this.parent&&(e.parent=this.parent,this.attachWidget(e)),e},t.prototype._createHandle=function(){var e=this.renderer.createHandle(),t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="0",t.height="0",this.parent&&this.parent.node.appendChild(e),e},t}(Te);!function(e){function t(e){var t=new Be;return t.sizeHint=e,t.size=e,t}e.GOLDEN_RATIO=.618,e.createSizer=t,e.normalizeAreaConfig=function e(t,n){var i;return i="tab-area"===t.type?function(e,t){if(0===e.widgets.length)return null;var n=[];if(S(e.widgets,(function(e){t.has(e)||(t.add(e),n.push(e))})),0===n.length)return null;var i=e.currentIndex;return-1!==i&&(i<0||i>=n.length)&&(i=0),{type:"tab-area",widgets:n,currentIndex:i}}(t,n):function(t,n){for(var i=t.orientation,r=[],o=[],s=0,a=t.children.length;s<a;++s){var l=e(t.children[s],n);l&&("tab-area"===l.type||l.orientation!==i?(r.push(l),o.push(Math.abs(t.sizes[s]||0))):(r.push.apply(r,l.children),o.push.apply(o,l.sizes)))}return 0===r.length?null:1===r.length?r[0]:{type:"split-area",orientation:i,children:r,sizes:o}}(t,n),i},e.realizeAreaConfig=function r(o,s,a){var l;return l="tab-area"===o.type?function(t,i,r){var o=i.createTabBar(r);return S(t.widgets,(function(t){t.hide(),o.addTab(t.title),e.addAria(t,o)})),o.currentIndex=t.currentIndex,new n(o)}(o,s,a):function(e,n,o){var s=new i(e.orientation);return S(e.children,(function(i,a){var l=r(i,n,o),d=t(e.sizes[a]),c=n.createHandle();s.children.push(l),s.handles.push(c),s.sizers.push(d),l.parent=s})),s.syncHandles(),s.normalizeSizes(),s}(o,s,a),l};var n=function(){function e(e){this.parent=null,this._top=0,this._left=0,this._width=0,this._height=0;var t=new Be,n=new Be;t.stretch=0,n.stretch=1,this.tabBar=e,this.sizers=[t,n]}return Object.defineProperty(e.prototype,"top",{get:function(){return this._top},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this._left},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},enumerable:!0,configurable:!0}),e.prototype.iterAllWidgets=function(){return M($(this.tabBar),this.iterUserWidgets())},e.prototype.iterUserWidgets=function(){return z(this.tabBar.titles,(function(e){return e.owner}))},e.prototype.iterSelectedWidgets=function(){var e=this.tabBar.currentTitle;return e?$(e.owner):R()},e.prototype.iterTabBars=function(){return $(this.tabBar)},e.prototype.iterHandles=function(){return R()},e.prototype.findTabNode=function(e){return-1!==this.tabBar.titles.indexOf(e.title)?this:null},e.prototype.findSplitNode=function(e){return null},e.prototype.findFirstTabNode=function(){return this},e.prototype.hitTestTabNodes=function(e,t){return e<this._left||e>=this._left+this._width||t<this._top||t>=this._top+this._height?null:this},e.prototype.createConfig=function(){return{type:"tab-area",widgets:this.tabBar.titles.map((function(e){return e.owner})),currentIndex:this.tabBar.currentIndex}},e.prototype.holdAllSizes=function(){},e.prototype.fit=function(e,t){var n=0,i=0,r=t.get(this.tabBar),o=this.tabBar.currentTitle,s=o?t.get(o.owner):void 0,a=this.sizers,l=a[0],d=a[1];return r&&r.fit(),s&&s.fit(),r&&!r.isHidden?(n=Math.max(n,r.minWidth),i+=r.minHeight,l.minSize=r.minHeight,l.maxSize=r.maxHeight):(l.minSize=0,l.maxSize=0),s&&!s.isHidden?(n=Math.max(n,s.minWidth),i+=s.minHeight,d.minSize=s.minHeight,d.maxSize=1/0):(d.minSize=0,d.maxSize=1/0),{minWidth:n,minHeight:i,maxWidth:1/0,maxHeight:1/0}},e.prototype.update=function(e,t,n,i,r,o){this._top=t,this._left=e,this._width=n,this._height=i;var s=o.get(this.tabBar),a=this.tabBar.currentTitle,l=a?o.get(a.owner):void 0;if(we.calc(this.sizers,i),s&&!s.isHidden){var d=this.sizers[0].size;s.update(e,t,n,d),t+=d}l&&!l.isHidden&&(d=this.sizers[1].size,l.update(e,t,n,d))},e}();e.TabLayoutNode=n;var i=function(){function e(e){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=e}return e.prototype.iterAllWidgets=function(){var e=z(this.children,(function(e){return e.iterAllWidgets()}));return new P(e)},e.prototype.iterUserWidgets=function(){var e=z(this.children,(function(e){return e.iterUserWidgets()}));return new P(e)},e.prototype.iterSelectedWidgets=function(){var e=z(this.children,(function(e){return e.iterSelectedWidgets()}));return new P(e)},e.prototype.iterTabBars=function(){var e=z(this.children,(function(e){return e.iterTabBars()}));return new P(e)},e.prototype.iterHandles=function(){var e=z(this.children,(function(e){return e.iterHandles()}));return M(this.handles,new P(e))},e.prototype.findTabNode=function(e){for(var t=0,n=this.children.length;t<n;++t){var i=this.children[t].findTabNode(e);if(i)return i}return null},e.prototype.findSplitNode=function(e){var t=this.handles.indexOf(e);if(-1!==t)return{index:t,node:this};for(var n=0,i=this.children.length;n<i;++n){var r=this.children[n].findSplitNode(e);if(r)return r}return null},e.prototype.findFirstTabNode=function(){return 0===this.children.length?null:this.children[0].findFirstTabNode()},e.prototype.hitTestTabNodes=function(e,t){for(var n=0,i=this.children.length;n<i;++n){var r=this.children[n].hitTestTabNodes(e,t);if(r)return r}return null},e.prototype.createConfig=function(){var e=this.orientation,t=this.createNormalizedSizes();return{type:"split-area",orientation:e,children:this.children.map((function(e){return e.createConfig()})),sizes:t}},e.prototype.syncHandles=function(){var e=this;S(this.handles,(function(t,n){t.setAttribute("data-orientation",e.orientation),n===e.handles.length-1?(t.classList.add("lm-mod-hidden"),t.classList.add("p-mod-hidden")):(t.classList.remove("lm-mod-hidden"),t.classList.remove("p-mod-hidden"))}))},e.prototype.holdSizes=function(){S(this.sizers,(function(e){e.sizeHint=e.size}))},e.prototype.holdAllSizes=function(){S(this.children,(function(e){return e.holdAllSizes()})),this.holdSizes()},e.prototype.normalizeSizes=function(){var e=this.sizers.length;if(0!==e){this.holdSizes();var t=U(this.sizers,(function(e,t){return e+t.sizeHint}),0);S(this.sizers,0===t?function(t){t.size=t.sizeHint=1/e}:function(e){e.size=e.sizeHint/=t}),this.normalized=!0}},e.prototype.createNormalizedSizes=function(){var e=this.sizers.length;if(0===e)return[];var t=this.sizers.map((function(e){return e.size})),n=U(t,(function(e,t){return e+t}),0);return S(t,0===n?function(n,i){t[i]=1/e}:function(e,i){t[i]=e/n}),t},e.prototype.fit=function(e,t){for(var n="horizontal"===this.orientation,i=Math.max(0,this.children.length-1)*e,r=n?i:0,o=n?0:i,s=0,a=this.children.length;s<a;++s){var l=this.children[s].fit(e,t);n?(o=Math.max(o,l.minHeight),r+=l.minWidth,this.sizers[s].minSize=l.minWidth):(r=Math.max(r,l.minWidth),o+=l.minHeight,this.sizers[s].minSize=l.minHeight)}return{minWidth:r,minHeight:o,maxWidth:1/0,maxHeight:1/0}},e.prototype.update=function(e,t,n,i,r,o){var s="horizontal"===this.orientation,a=Math.max(0,this.children.length-1)*r,l=Math.max(0,(s?n:i)-a);this.normalized&&(S(this.sizers,(function(e){e.sizeHint*=l})),this.normalized=!1),we.calc(this.sizers,l);for(var d=0,c=this.children.length;d<c;++d){var u=this.children[d],h=this.sizers[d].size,f=this.handles[d].style;s?(u.update(e,t,h,i,r,o),e+=h,f.top=t+"px",f.left=e+"px",f.width=r+"px",f.height=i+"px",e+=r):(u.update(e,t,n,h,r,o),t+=h,f.top=t+"px",f.left=e+"px",f.width=n+"px",f.height=r+"px",t+=r)}},e}();e.SplitLayoutNode=i,e.addAria=function(e,t){e.node.setAttribute("role","tabpanel");var n=t.renderer;if(n instanceof et.Renderer){var i=n.createTabKey({title:e.title,current:!1,zIndex:0});e.node.setAttribute("aria-labelledby",i)}},e.removeAria=function(e){e.node.removeAttribute("role"),e.node.removeAttribute("aria-labelledby")}}(tt||(tt={}));var it,rt=function(e){function t(n){void 0===n&&(n={});var i=e.call(this)||this;i._drag=null,i._tabsMovable=!0,i._tabsConstrained=!1,i._addButtonEnabled=!1,i._pressData=null,i._layoutModified=new X(i),i._addRequested=new X(i),i.addClass("lm-DockPanel"),i.addClass("p-DockPanel"),i._document=n.document||document,i._mode=n.mode||"multiple-document",i._renderer=n.renderer||t.defaultRenderer,i._edges=n.edges||it.DEFAULT_EDGES,void 0!==n.tabsMovable&&(i._tabsMovable=n.tabsMovable),void 0!==n.tabsConstrained&&(i._tabsConstrained=n.tabsConstrained),void 0!==n.addButtonEnabled&&(i._addButtonEnabled=n.addButtonEnabled),i.dataset.mode=i._mode;var r={createTabBar:function(){return i._createTabBar()},createHandle:function(){return i._createHandle()}};return i.layout=new nt({document:i._document,renderer:r,spacing:n.spacing,hiddenMode:n.hiddenMode}),i.overlay=n.overlay||new t.Overlay,i.node.appendChild(i.overlay.node),i}return ye(t,e),t.prototype.dispose=function(){this._releaseMouse(),this.overlay.hide(0),this._drag&&this._drag.dispose(),e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this.layout.hiddenMode},set:function(e){this.layout.hiddenMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"layoutModified",{get:function(){return this._layoutModified},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.layout.renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.layout.spacing},set:function(e){this.layout.spacing=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(e){if(this._mode!==e){this._mode=e,this.dataset.mode=e;var t=this.layout;switch(e){case"multiple-document":S(t.tabBars(),(function(e){e.show()}));break;case"single-document":t.restoreLayout(it.createSingleDocumentConfig(this));break;default:throw"unreachable"}G.Mu.postMessage(this,it.LayoutModified)}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabsMovable",{get:function(){return this._tabsMovable},set:function(e){this._tabsMovable=e,S(this.tabBars(),(function(t){t.tabsMovable=e}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabsConstrained",{get:function(){return this._tabsConstrained},set:function(e){this._tabsConstrained=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonEnabled",{get:function(){return this._addButtonEnabled},set:function(e){this._addButtonEnabled=e,S(this.tabBars(),(function(t){t.addButtonEnabled=e}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return this.layout.isEmpty},enumerable:!0,configurable:!0}),t.prototype.widgets=function(){return this.layout.widgets()},t.prototype.selectedWidgets=function(){return this.layout.selectedWidgets()},t.prototype.tabBars=function(){return this.layout.tabBars()},t.prototype.handles=function(){return this.layout.handles()},t.prototype.selectWidget=function(e){var t=N(this.tabBars(),(function(t){return-1!==t.titles.indexOf(e.title)}));if(!t)throw new Error("Widget is not contained in the dock panel.");t.currentTitle=e.title},t.prototype.activateWidget=function(e){this.selectWidget(e),e.activate()},t.prototype.saveLayout=function(){return this.layout.saveLayout()},t.prototype.restoreLayout=function(e){this._mode="multiple-document",this.layout.restoreLayout(e),(K.OD.IS_EDGE||K.OD.IS_IE)&&G.Mu.flush(),G.Mu.postMessage(this,it.LayoutModified)},t.prototype.addWidget=function(e,t){void 0===t&&(t={}),"single-document"===this._mode?this.layout.addWidget(e):this.layout.addWidget(e,t),G.Mu.postMessage(this,it.LayoutModified)},t.prototype.processMessage=function(t){"layout-modified"===t.type?this._layoutModified.emit(void 0):e.prototype.processMessage.call(this,t)},t.prototype.handleEvent=function(e){switch(e.type){case"lm-dragenter":this._evtDragEnter(e);break;case"lm-dragleave":this._evtDragLeave(e);break;case"lm-dragover":this._evtDragOver(e);break;case"lm-drop":this._evtDrop(e);break;case"mousedown":case"pointerdown":this._evtMouseDown(e);break;case"mousemove":case"pointermove":this._evtMouseMove(e);break;case"mouseup":case"pointerup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("lm-dragenter",this),this.node.addEventListener("lm-dragleave",this),this.node.addEventListener("lm-dragover",this),this.node.addEventListener("lm-drop",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("pointerdown",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("lm-dragenter",this),this.node.removeEventListener("lm-dragleave",this),this.node.removeEventListener("lm-dragover",this),this.node.removeEventListener("lm-drop",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()},t.prototype.onChildAdded=function(e){it.isGeneratedTabBarProperty.get(e.child)||(e.child.addClass("lm-DockPanel-widget"),e.child.addClass("p-DockPanel-widget"))},t.prototype.onChildRemoved=function(e){it.isGeneratedTabBarProperty.get(e.child)||(e.child.removeClass("lm-DockPanel-widget"),e.child.removeClass("p-DockPanel-widget"),G.Mu.postMessage(this,it.LayoutModified))},t.prototype._evtDragEnter=function(e){e.mimeData.hasData("application/vnd.lumino.widget-factory")&&(e.preventDefault(),e.stopPropagation())},t.prototype._evtDragLeave=function(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||(e.stopPropagation(),this.overlay.hide(1))},t.prototype._evtDragOver=function(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||"invalid"===this._showOverlay(e.clientX,e.clientY)?e.dropAction="none":(e.stopPropagation(),e.dropAction=e.proposedAction)},t.prototype._evtDrop=function(e){if(e.preventDefault(),this.overlay.hide(0),"none"!==e.proposedAction){var t=e.clientX,n=e.clientY,i=it.findDropTarget(this,t,n,this._edges),r=i.zone,o=i.target;if(this._tabsConstrained&&e.source!==this||"invalid"===r)e.dropAction="none";else{var s=e.mimeData.getData("application/vnd.lumino.widget-factory");if("function"==typeof s){var a=s();if(a instanceof ke)if(a.contains(this))e.dropAction="none";else{var l=o?it.getDropRef(o.tabBar):null;switch(r){case"root-all":this.addWidget(a);break;case"root-top":this.addWidget(a,{mode:"split-top"});break;case"root-left":this.addWidget(a,{mode:"split-left"});break;case"root-right":this.addWidget(a,{mode:"split-right"});break;case"root-bottom":this.addWidget(a,{mode:"split-bottom"});break;case"widget-all":case"widget-tab":this.addWidget(a,{mode:"tab-after",ref:l});break;case"widget-top":this.addWidget(a,{mode:"split-top",ref:l});break;case"widget-left":this.addWidget(a,{mode:"split-left",ref:l});break;case"widget-right":this.addWidget(a,{mode:"split-right",ref:l});break;case"widget-bottom":this.addWidget(a,{mode:"split-bottom",ref:l});break;default:throw"unreachable"}e.dropAction=e.proposedAction,e.stopPropagation(),this.activateWidget(a)}else e.dropAction="none"}else e.dropAction="none"}}else e.dropAction="none"},t.prototype._evtKeyDown=function(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&(this._releaseMouse(),G.Mu.postMessage(this,it.LayoutModified))},t.prototype._evtMouseDown=function(e){if(0===e.button){var t=this.layout,n=e.target,i=N(t.handles(),(function(e){return e.contains(n)}));if(i){e.preventDefault(),e.stopPropagation(),this._document.addEventListener("keydown",this,!0),this._document.addEventListener("mouseup",this,!0),this._document.addEventListener("mousemove",this,!0),this._document.addEventListener("pointerup",this,!0),this._document.addEventListener("pointermove",this,!0),this._document.addEventListener("contextmenu",this,!0);var r=i.getBoundingClientRect(),o=e.clientX-r.left,s=e.clientY-r.top,a=window.getComputedStyle(i),l=re.overrideCursor(a.cursor,this._document);this._pressData={handle:i,deltaX:o,deltaY:s,override:l}}}},t.prototype._evtMouseMove=function(e){if(this._pressData){e.preventDefault(),e.stopPropagation();var t=this.node.getBoundingClientRect(),n=e.clientX-t.left-this._pressData.deltaX,i=e.clientY-t.top-this._pressData.deltaY;this.layout.moveHandle(this._pressData.handle,n,i)}},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse(),G.Mu.postMessage(this,it.LayoutModified))},t.prototype._releaseMouse=function(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._document.removeEventListener("keydown",this,!0),this._document.removeEventListener("mouseup",this,!0),this._document.removeEventListener("mousemove",this,!0),this._document.removeEventListener("pointerup",this,!0),this._document.removeEventListener("pointermove",this,!0),this._document.removeEventListener("contextmenu",this,!0))},t.prototype._showOverlay=function(e,t){var n,i,r,o,s=it.findDropTarget(this,e,t,this._edges),a=s.zone,l=s.target;if("invalid"===a)return this.overlay.hide(100),a;var d=K._$.boxSizing(this.node),c=this.node.getBoundingClientRect();switch(a){case"root-all":n=d.paddingTop,i=d.paddingLeft,r=d.paddingRight,o=d.paddingBottom;break;case"root-top":n=d.paddingTop,i=d.paddingLeft,r=d.paddingRight,o=c.height*it.GOLDEN_RATIO;break;case"root-left":n=d.paddingTop,i=d.paddingLeft,r=c.width*it.GOLDEN_RATIO,o=d.paddingBottom;break;case"root-right":n=d.paddingTop,i=c.width*it.GOLDEN_RATIO,r=d.paddingRight,o=d.paddingBottom;break;case"root-bottom":n=c.height*it.GOLDEN_RATIO,i=d.paddingLeft,r=d.paddingRight,o=d.paddingBottom;break;case"widget-all":n=l.top,i=l.left,r=l.right,o=l.bottom;break;case"widget-top":n=l.top,i=l.left,r=l.right,o=l.bottom+l.height/2;break;case"widget-left":n=l.top,i=l.left,r=l.right+l.width/2,o=l.bottom;break;case"widget-right":n=l.top,i=l.left+l.width/2,r=l.right,o=l.bottom;break;case"widget-bottom":n=l.top+l.height/2,i=l.left,r=l.right,o=l.bottom;break;case"widget-tab":var u=l.tabBar.node.getBoundingClientRect().height;n=l.top,i=l.left,r=l.right,o=l.bottom+l.height-u;break;default:throw"unreachable"}return this.overlay.show({top:n,left:i,right:r,bottom:o}),a},t.prototype._createTabBar=function(){var e=this._renderer.createTabBar(this._document);return it.isGeneratedTabBarProperty.set(e,!0),"single-document"===this._mode&&e.hide(),e.tabsMovable=this._tabsMovable,e.allowDeselect=!1,e.addButtonEnabled=this._addButtonEnabled,e.removeBehavior="select-previous-tab",e.insertBehavior="select-tab-if-needed",e.tabMoved.connect(this._onTabMoved,this),e.currentChanged.connect(this._onCurrentChanged,this),e.tabCloseRequested.connect(this._onTabCloseRequested,this),e.tabDetachRequested.connect(this._onTabDetachRequested,this),e.tabActivateRequested.connect(this._onTabActivateRequested,this),e.addRequested.connect(this._onTabAddRequested,this),e},t.prototype._createHandle=function(){return this._renderer.createHandle()},t.prototype._onTabMoved=function(){G.Mu.postMessage(this,it.LayoutModified)},t.prototype._onCurrentChanged=function(e,t){var n=t.previousTitle,i=t.currentTitle;n&&n.owner.hide(),i&&i.owner.show(),(K.OD.IS_EDGE||K.OD.IS_IE)&&G.Mu.flush(),G.Mu.postMessage(this,it.LayoutModified)},t.prototype._onTabAddRequested=function(e){this._addRequested.emit(e)},t.prototype._onTabActivateRequested=function(e,t){t.title.owner.activate()},t.prototype._onTabCloseRequested=function(e,t){t.title.owner.close()},t.prototype._onTabDetachRequested=function(e,t){var n=this;if(!this._drag){e.releaseMouse();var i=t.title,r=t.tab,o=t.clientX,s=t.clientY,a=new oe.MimeData;a.setData("application/vnd.lumino.widget-factory",(function(){return i.owner}));var l=r.cloneNode(!0);this._drag=new re({document:this._document,mimeData:a,dragImage:l,proposedAction:"move",supportedActions:"move",source:this}),r.classList.add("lm-mod-hidden"),r.classList.add("p-mod-hidden"),this._drag.start(o,s).then((function(){n._drag=null,r.classList.remove("lm-mod-hidden"),r.classList.remove("p-mod-hidden")}))}},t}(ke);!function(e){var t=function(){function e(){this._timer=-1,this._hidden=!0,this.node=document.createElement("div"),this.node.classList.add("lm-DockPanel-overlay"),this.node.classList.add("lm-mod-hidden"),this.node.classList.add("p-DockPanel-overlay"),this.node.classList.add("p-mod-hidden"),this.node.style.position="absolute"}return e.prototype.show=function(e){var t=this.node.style;t.top=e.top+"px",t.left=e.left+"px",t.right=e.right+"px",t.bottom=e.bottom+"px",clearTimeout(this._timer),this._timer=-1,this._hidden&&(this._hidden=!1,this.node.classList.remove("lm-mod-hidden"),this.node.classList.remove("p-mod-hidden"))},e.prototype.hide=function(e){var t=this;if(!this._hidden)return e<=0?(clearTimeout(this._timer),this._timer=-1,this._hidden=!0,this.node.classList.add("lm-mod-hidden"),void this.node.classList.add("p-mod-hidden")):void(-1===this._timer&&(this._timer=window.setTimeout((function(){t._timer=-1,t._hidden=!0,t.node.classList.add("lm-mod-hidden"),t.node.classList.add("p-mod-hidden")}),e)))},e}();e.Overlay=t;var n=function(){function e(){}return e.prototype.createTabBar=function(e){var t=new et({document:e});return t.addClass("lm-DockPanel-tabBar"),t.addClass("p-DockPanel-tabBar"),t},e.prototype.createHandle=function(){var e=document.createElement("div");return e.className="lm-DockPanel-handle",e.classList.add("p-DockPanel-handle"),e},e}();e.Renderer=n,e.defaultRenderer=new n}(rt||(rt={})),function(e){e.GOLDEN_RATIO=.618,e.DEFAULT_EDGES={top:12,right:40,bottom:40,left:40},e.LayoutModified=new G.HS("layout-modified"),e.isGeneratedTabBarProperty=new Y({name:"isGeneratedTabBar",create:function(){return!1}}),e.createSingleDocumentConfig=function(e){if(e.isEmpty)return{main:null};var t=function(e){for(var t,n=0,i=[],r=D(e);void 0!==(t=r.next());)i[n++]=t;return i}(e.widgets()),n=e.selectedWidgets().next(),i=n?t.indexOf(n):-1;return{main:{type:"tab-area",widgets:t,currentIndex:i}}},e.findDropTarget=function(e,t,n,i){if(!K._$.hitTest(e.node,t,n))return{zone:"invalid",target:null};var r=e.layout;if(r.isEmpty)return{zone:"root-all",target:null};if("multiple-document"===e.mode){var o=e.node.getBoundingClientRect(),s=t-o.left+1,a=n-o.top+1,l=o.right-t,d=o.bottom-n;switch(Math.min(a,l,d,s)){case a:if(a<i.top)return{zone:"root-top",target:null};break;case l:if(l<i.right)return{zone:"root-right",target:null};break;case d:if(d<i.bottom)return{zone:"root-bottom",target:null};break;case s:if(s<i.left)return{zone:"root-left",target:null};break;default:throw"unreachable"}}var c=r.hitTestTabAreas(t,n);if(!c)return{zone:"invalid",target:null};if("single-document"===e.mode)return{zone:"widget-all",target:c};var u=c.x-c.left+1,h=c.y-c.top+1,f=c.left+c.width-c.x,p=c.top+c.height-c.y;if(h<c.tabBar.node.getBoundingClientRect().height)return{zone:"widget-tab",target:c};var A,m=Math.round(c.width/3),g=Math.round(c.height/3);if(u>m&&f>m&&h>g&&p>g)return{zone:"widget-all",target:c};switch(u/=m,h/=g,f/=m,p/=g,Math.min(u,h,f,p)){case u:A="widget-left";break;case h:A="widget-top";break;case f:A="widget-right";break;case p:A="widget-bottom";break;default:throw"unreachable"}return{zone:A,target:c}},e.getDropRef=function(e){return 0===e.titles.length?null:e.currentTitle?e.currentTitle.owner:e.titles[e.titles.length-1].owner}}(it||(it={})),function(){function e(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new X(this),this._currentChanged=new X(this)}e.prototype.dispose=function(){var e=this;this._counter<0||(this._counter=-1,X.clearData(this),S(this._widgets,(function(t){t.node.removeEventListener("focus",e,!0),t.node.removeEventListener("blur",e,!0)})),this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0)},Object.defineProperty(e.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeChanged",{get:function(){return this._activeChanged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisposed",{get:function(){return this._counter<0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentWidget",{get:function(){return this._currentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeWidget",{get:function(){return this._activeWidget},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgets",{get:function(){return this._widgets},enumerable:!0,configurable:!0}),e.prototype.focusNumber=function(e){var t=this._numbers.get(e);return void 0===t?-1:t},e.prototype.has=function(e){return this._numbers.has(e)},e.prototype.add=function(e){if(!this._numbers.has(e)){var t=e.node.contains(document.activeElement),n=t?this._counter++:-1;this._widgets.push(e),this._numbers.set(e,n),this._nodes.set(e.node,e),e.node.addEventListener("focus",this,!0),e.node.addEventListener("blur",this,!0),e.disposed.connect(this._onWidgetDisposed,this),t&&this._setWidgets(e,e)}},e.prototype.remove=function(e){var t=this;if(this._numbers.has(e)&&(e.disposed.disconnect(this._onWidgetDisposed,this),e.node.removeEventListener("focus",this,!0),e.node.removeEventListener("blur",this,!0),f.removeFirstOf(this._widgets,e),this._nodes.delete(e.node),this._numbers.delete(e),this._currentWidget===e)){var n,i,r=function(e,n){var i,r,o=D(e),s=o.next();if(void 0!==s){for(var a=s;void 0!==(s=o.next());)i=s,r=a,t._numbers.get(i)-t._numbers.get(r)>0&&(a=s);return a}}((n=this._widgets,i=function(e){return-1!==t._numbers.get(e)},new L(D(n),i)))||null;this._setWidgets(r,null)}},e.prototype.handleEvent=function(e){switch(e.type){case"focus":this._evtFocus(e);break;case"blur":this._evtBlur(e)}},e.prototype._setWidgets=function(e,t){var n=this._currentWidget;this._currentWidget=e;var i=this._activeWidget;this._activeWidget=t,n!==e&&this._currentChanged.emit({oldValue:n,newValue:e}),i!==t&&this._activeChanged.emit({oldValue:i,newValue:t})},e.prototype._evtFocus=function(e){var t=this._nodes.get(e.currentTarget);t!==this._currentWidget&&this._numbers.set(t,this._counter++),this._setWidgets(t,t)},e.prototype._evtBlur=function(e){var t=this._nodes.get(e.currentTarget),n=e.relatedTarget;n&&(t.node.contains(n)||N(this._widgets,(function(e){return e.node.contains(n)})))||this._setWidgets(this._currentWidget,null)},e.prototype._onWidgetDisposed=function(e){this.remove(e)}}();var ot,st=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n._dirty=!1,n._rowSpacing=4,n._columnSpacing=4,n._items=[],n._rowStarts=[],n._columnStarts=[],n._rowSizers=[new Be],n._columnSizers=[new Be],n._box=null,void 0!==t.rowCount&&ot.reallocSizers(n._rowSizers,t.rowCount),void 0!==t.columnCount&&ot.reallocSizers(n._columnSizers,t.columnCount),void 0!==t.rowSpacing&&(n._rowSpacing=ot.clampValue(t.rowSpacing)),void 0!==t.columnSpacing&&(n._columnSpacing=ot.clampValue(t.columnSpacing)),n}return ye(t,e),t.prototype.dispose=function(){S(this._items,(function(e){var t=e.widget;e.dispose(),t.dispose()})),this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"rowCount",{get:function(){return this._rowSizers.length},set:function(e){e!==this.rowCount&&(ot.reallocSizers(this._rowSizers,e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnCount",{get:function(){return this._columnSizers.length},set:function(e){e!==this.columnCount&&(ot.reallocSizers(this._columnSizers,e),this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowSpacing",{get:function(){return this._rowSpacing},set:function(e){e=ot.clampValue(e),this._rowSpacing!==e&&(this._rowSpacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columnSpacing",{get:function(){return this._columnSpacing},set:function(e){e=ot.clampValue(e),this._columnSpacing!==e&&(this._columnSpacing=e,this.parent&&this.parent.fit())},enumerable:!0,configurable:!0}),t.prototype.rowStretch=function(e){var t=this._rowSizers[e];return t?t.stretch:-1},t.prototype.setRowStretch=function(e,t){var n=this._rowSizers[e];n&&(t=ot.clampValue(t),n.stretch!==t&&(n.stretch=t,this.parent&&this.parent.update()))},t.prototype.columnStretch=function(e){var t=this._columnSizers[e];return t?t.stretch:-1},t.prototype.setColumnStretch=function(e,t){var n=this._columnSizers[e];n&&(t=ot.clampValue(t),n.stretch!==t&&(n.stretch=t,this.parent&&this.parent.update()))},t.prototype.iter=function(){return z(this._items,(function(e){return e.widget}))},t.prototype.addWidget=function(e){-1===f.findFirstIndex(this._items,(function(t){return t.widget===e}))&&(this._items.push(new De(e)),this.parent&&this.attachWidget(e))},t.prototype.removeWidget=function(e){var t=f.findFirstIndex(this._items,(function(t){return t.widget===e}));if(-1!==t){var n=f.removeAt(this._items,t);this.parent&&this.detachWidget(e),n.dispose()}},t.prototype.init=function(){var t=this;e.prototype.init.call(this),S(this,(function(e){t.attachWidget(e)}))},t.prototype.attachWidget=function(e){this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.AfterAttach),this.parent.fit()},t.prototype.detachWidget=function(e){this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.AfterDetach),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,n=this.rowCount;e<n;++e)this._rowSizers[e].minSize=0;for(e=0,n=this.columnCount;e<n;++e)this._columnSizers[e].minSize=0;var i=this._items.filter((function(e){return!e.isHidden}));for(e=0,n=i.length;e<n;++e)i[e].fit();var r=this.rowCount-1,o=this.columnCount-1;for(i.sort(ot.rowSpanCmp),e=0,n=i.length;e<n;++e){var s=i[e],a=t.getCellConfig(s.widget),l=Math.min(a.row,r),d=Math.min(a.row+a.rowSpan-1,r);ot.distributeMin(this._rowSizers,l,d,s.minHeight)}for(i.sort(ot.columnSpanCmp),e=0,n=i.length;e<n;++e){s=i[e],a=t.getCellConfig(s.widget);var c=Math.min(a.column,o),u=Math.min(a.column+a.columnSpan-1,o);ot.distributeMin(this._columnSizers,c,u,s.minWidth)}if("set-no-constraint"!==this.fitPolicy){var h=r*this._rowSpacing,f=o*this._columnSpacing;for(e=0,n=this.rowCount;e<n;++e)h+=this._rowSizers[e].minSize;for(e=0,n=this.columnCount;e<n;++e)f+=this._columnSizers[e].minSize;var p=this._box=K._$.boxSizing(this.parent.node);f+=p.horizontalSum,h+=p.verticalSum;var A=this.parent.node.style;A.minWidth=f+"px",A.minHeight=h+"px",this._dirty=!0,this.parent.parent&&G.Mu.sendMessage(this.parent.parent,ke.Msg.FitRequest),this._dirty&&G.Mu.sendMessage(this.parent,ke.Msg.UpdateRequest)}else G.Mu.sendMessage(this.parent,ke.Msg.UpdateRequest)},t.prototype._update=function(e,n){this._dirty=!1,e<0&&(e=this.parent.node.offsetWidth),n<0&&(n=this.parent.node.offsetHeight),this._box||(this._box=K._$.boxSizing(this.parent.node));var i=this._box.paddingTop,r=this._box.paddingLeft,o=e-this._box.horizontalSum,s=n-this._box.verticalSum,a=this.rowCount-1,l=this.columnCount-1,d=a*this._rowSpacing,c=l*this._columnSpacing;we.calc(this._rowSizers,Math.max(0,s-d)),we.calc(this._columnSizers,Math.max(0,o-c));for(var u=0,h=i,f=this.rowCount;u<f;++u)this._rowStarts[u]=h,h+=this._rowSizers[u].size+this._rowSpacing;for(u=0,h=r,f=this.columnCount;u<f;++u)this._columnStarts[u]=h,h+=this._columnSizers[u].size+this._columnSpacing;for(u=0,f=this._items.length;u<f;++u){var p=this._items[u];if(!p.isHidden){var A=t.getCellConfig(p.widget),m=Math.min(A.row,a),g=Math.min(A.column,l),b=Math.min(A.row+A.rowSpan-1,a),v=Math.min(A.column+A.columnSpan-1,l),C=this._columnStarts[g],y=this._rowStarts[m],w=this._columnStarts[v]+this._columnSizers[v].size-C,_=this._rowStarts[b]+this._rowSizers[b].size-y;p.update(C,y,w,_)}}},t}(Te);!function(e){e.getCellConfig=function(e){return ot.cellConfigProperty.get(e)},e.setCellConfig=function(e,t){ot.cellConfigProperty.set(e,ot.normalizeConfig(t))}}(st||(st={})),function(e){e.cellConfigProperty=new Y({name:"cellConfig",create:function(){return{row:0,column:0,rowSpan:1,columnSpan:1}},changed:function(e){e.parent&&e.parent.layout instanceof st&&e.parent.fit()}}),e.normalizeConfig=function(e){return{row:Math.max(0,Math.floor(e.row||0)),column:Math.max(0,Math.floor(e.column||0)),rowSpan:Math.max(1,Math.floor(e.rowSpan||0)),columnSpan:Math.max(1,Math.floor(e.columnSpan||0))}},e.clampValue=function(e){return Math.max(0,Math.floor(e))},e.rowSpanCmp=function(t,n){var i=e.cellConfigProperty.get(t.widget),r=e.cellConfigProperty.get(n.widget);return i.rowSpan-r.rowSpan},e.columnSpanCmp=function(t,n){var i=e.cellConfigProperty.get(t.widget),r=e.cellConfigProperty.get(n.widget);return i.columnSpan-r.columnSpan},e.reallocSizers=function(e,t){for(t=Math.max(1,Math.floor(t));e.length<t;)e.push(new Be);e.length>t&&(e.length=t)},e.distributeMin=function(e,t,n,i){if(!(n<t))if(t!==n){for(var r=0,o=t;o<=n;++o)r+=e[o].minSize;if(!(r>=i)){var s=(i-r)/(n-t+1);for(o=t;o<=n;++o)e[o].minSize+=s}}else{var a=e[t];a.minSize=Math.max(a.minSize,i)}}}(ot||(ot={}));var at,lt,dt=function(e){function t(n){void 0===n&&(n={});var i=e.call(this,{node:at.createNode()})||this;return i._activeIndex=-1,i._tabFocusIndex=0,i._menus=[],i._childMenu=null,i.addClass("lm-MenuBar"),i.addClass("p-MenuBar"),i.setFlag(ke.Flag.DisallowLayout),i.renderer=n.renderer||t.defaultRenderer,i._forceItemsPosition=n.forceItemsPosition||{forceX:!0,forceY:!0},i}return ye(t,e),t.prototype.dispose=function(){this._closeChildMenu(),this._menus.length=0,e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"childMenu",{get:function(){return this._childMenu},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentNode",{get:function(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeMenu",{get:function(){return this._menus[this._activeIndex]||null},set:function(e){this.activeIndex=e?this._menus.indexOf(e):-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeIndex",{get:function(){return this._activeIndex},set:function(e){(e<0||e>=this._menus.length)&&(e=-1),this._activeIndex!==e&&(this._activeIndex=e,-1!==e&&(this._tabFocusIndex=e),this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menus",{get:function(){return this._menus},enumerable:!0,configurable:!0}),t.prototype.openActiveMenu=function(){-1!==this._activeIndex&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))},t.prototype.addMenu=function(e){this.insertMenu(this._menus.length,e)},t.prototype.insertMenu=function(e,t){this._closeChildMenu();var n=this._menus.indexOf(t),i=Math.max(0,Math.min(e,this._menus.length));if(-1===n)return f.insert(this._menus,i,t),t.addClass("lm-MenuBar-menu"),t.addClass("p-MenuBar-menu"),t.aboutToClose.connect(this._onMenuAboutToClose,this),t.menuRequested.connect(this._onMenuMenuRequested,this),t.title.changed.connect(this._onTitleChanged,this),void this.update();i===this._menus.length&&i--,n!==i&&(f.move(this._menus,n,i),this.update())},t.prototype.removeMenu=function(e){this.removeMenuAt(this._menus.indexOf(e))},t.prototype.removeMenuAt=function(e){this._closeChildMenu();var t=f.removeAt(this._menus,e);t&&(t.aboutToClose.disconnect(this._onMenuAboutToClose,this),t.menuRequested.disconnect(this._onMenuMenuRequested,this),t.title.changed.disconnect(this._onTitleChanged,this),t.removeClass("lm-MenuBar-menu"),t.removeClass("p-MenuBar-menu"),this.update())},t.prototype.clearMenus=function(){if(0!==this._menus.length){this._closeChildMenu();for(var e=0,t=this._menus;e<t.length;e++){var n=t[e];n.aboutToClose.disconnect(this._onMenuAboutToClose,this),n.menuRequested.disconnect(this._onMenuMenuRequested,this),n.title.changed.disconnect(this._onTitleChanged,this),n.removeClass("lm-MenuBar-menu"),n.removeClass("p-MenuBar-menu")}this._menus.length=0,this.update()}},t.prototype.handleEvent=function(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this)},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),this._closeChildMenu()},t.prototype.onActivateRequest=function(e){this.isAttached&&(this.activeIndex=0)},t.prototype.onUpdateRequest=function(e){for(var t=this,n=this._menus,i=this.renderer,r=this._activeIndex,o=this._tabFocusIndex>=0&&this._tabFocusIndex<n.length?this._tabFocusIndex:0,s=new Array(n.length),a=function(e,a){var l=n[e].title,d=e===r;d&&0==n[e].items.length&&(d=!1),s[e]=i.renderItem({title:l,active:d,tabbable:e===o,onfocus:function(){t.activeIndex=e}})},l=0,d=n.length;l<d;++l)a(l);fe.render(s,this.contentNode)},t.prototype._evtKeyDown=function(e){var t=e.keyCode;if(9!==t)if(e.preventDefault(),e.stopPropagation(),13!==t&&32!==t&&38!==t&&40!==t){if(27===t)return this._closeChildMenu(),this.activeIndex=-1,void this.node.blur();if(37!==t)if(39!==t){var n=se().keyForKeydownEvent(e);if(n){var i=this._activeIndex+1,r=at.findMnemonic(this._menus,n,i);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.openActiveMenu())}}else o=this._activeIndex,s=this._menus.length,this.activeIndex=o===s-1?0:o+1;else{var o=this._activeIndex,s=this._menus.length;this.activeIndex=0===o?s-1:o-1}}else this.openActiveMenu();else this.activeIndex=-1},t.prototype._evtMouseDown=function(e){if(K._$.hitTest(this.node,e.clientX,e.clientY)){e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation();var t=f.findFirstIndex(this.contentNode.children,(function(t){return K._$.hitTest(t,e.clientX,e.clientY)}));if(-1!==t){if(0===e.button)if(this._childMenu)this._closeChildMenu(),this.activeIndex=t;else{var n=this._positionForMenu(t);Ze.saveWindowData(),this.activeIndex=t,this._openChildMenu(n)}}else this._closeChildMenu()}},t.prototype._evtMouseMove=function(e){var t=f.findFirstIndex(this.contentNode.children,(function(t){return K._$.hitTest(t,e.clientX,e.clientY)}));if(t!==this._activeIndex&&(-1!==t||!this._childMenu)){var n=this._positionForMenu(t);Ze.saveWindowData(),this.activeIndex=t,this._childMenu&&this._openChildMenu(n)}},t.prototype._positionForMenu=function(e){var t=this.contentNode.children[e].getBoundingClientRect(),n=t.left;return{top:t.bottom,left:n}},t.prototype._evtMouseLeave=function(e){this._childMenu||(this.activeIndex=-1)},t.prototype._openChildMenu=function(e){var t;void 0===e&&(e={});var n=this.activeMenu;if(n){var i=this._childMenu;if(i!==n){this._childMenu=n,i?i.close():document.addEventListener("mousedown",this,!0),G.Mu.sendMessage(this,ke.Msg.UpdateRequest);var r=e.left,o=e.top;void 0!==r&&void 0!==o||(r=(t=this._positionForMenu(this._activeIndex)).left,o=t.top),i||(this.addClass("lm-mod-active"),this.addClass("p-mod-active")),n.items.length>0&&n.open(r,o,this._forceItemsPosition)}}else this._closeChildMenu()},t.prototype._closeChildMenu=function(){if(this._childMenu){this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0);var e=this._childMenu;this._childMenu=null,e.close(),this.activeIndex=-1}},t.prototype._onMenuAboutToClose=function(e){e===this._childMenu&&(this.removeClass("lm-mod-active"),this.removeClass("p-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)},t.prototype._onMenuMenuRequested=function(e,t){if(e===this._childMenu){var n=this._activeIndex,i=this._menus.length;switch(t){case"next":this.activeIndex=n===i-1?0:n+1;break;case"previous":this.activeIndex=0===n?i-1:n-1}this.openActiveMenu()}},t.prototype._onTitleChanged=function(){this.update()},t}(ke);!function(e){var t=function(){function e(){}return e.prototype.renderItem=function(e){var t=this.createItemClass(e),n=this.createItemDataset(e),i=this.createItemARIA(e);return ve.li(_e({className:t,dataset:n,tabindex:e.tabbable?"0":"-1",onfocus:e.onfocus},i),this.renderIcon(e),this.renderLabel(e))},e.prototype.renderIcon=function(e){var t=this.createIconClass(e);return"string"==typeof e.title.icon?ve.div({className:t},e.title.iconLabel):ve.div({className:t},e.title.icon,e.title.iconLabel)},e.prototype.renderLabel=function(e){var t=this.formatLabel(e);return ve.div({className:"lm-MenuBar-itemLabel p-MenuBar-itemLabel"},t)},e.prototype.createItemClass=function(e){var t="lm-MenuBar-item";return t+=" p-MenuBar-item",e.title.className&&(t+=" "+e.title.className),e.active&&(t+=" lm-mod-active",t+=" p-mod-active"),t},e.prototype.createItemDataset=function(e){return e.title.dataset},e.prototype.createItemARIA=function(e){return{role:"menuitem","aria-haspopup":"true"}},e.prototype.createIconClass=function(e){var t="lm-MenuBar-itemIcon";t+=" p-MenuBar-itemIcon";var n=e.title.iconClass;return n?t+" "+n:t},e.prototype.formatLabel=function(e){var t=e.title,n=t.label,i=t.mnemonic;if(i<0||i>=n.length)return n;var r=n.slice(0,i),o=n.slice(i+1),s=n[i];return[r,ve.span({className:"lm-MenuBar-itemMnemonic p-MenuBar-itemMnemonic"},s),o]},e}();e.Renderer=t,e.defaultRenderer=new t}(dt||(dt={})),function(e){e.createNode=function(){var e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-MenuBar-content",t.classList.add("p-MenuBar-content"),e.appendChild(t),t.setAttribute("role","menubar"),e},e.findMnemonic=function(e,t,n){for(var i=-1,r=-1,o=!1,s=t.toUpperCase(),a=0,l=e.length;a<l;++a){var d=(a+n)%l,c=e[d].title;if(0!==c.label.length){var u=c.mnemonic;u>=0&&u<c.label.length?c.label[u].toUpperCase()===s&&(-1===i?i=d:o=!0):-1===r&&c.label[0].toUpperCase()===s&&(r=d)}}return{index:i,multiple:o,auto:r}}}(at||(at={})),function(e){function t(t){void 0===t&&(t={});var n=e.call(this,{node:lt.createNode()})||this;return n._onRepeat=function(){if(n._repeatTimer=-1,n._pressData){var e=n._pressData.part;if("thumb"!==e){n._repeatTimer=window.setTimeout(n._onRepeat,20);var t=n._pressData.mouseX,i=n._pressData.mouseY;if("decrement"!==e)if("increment"!==e){if("track"===e){if(!K._$.hitTest(n.trackNode,t,i))return;var r=n.thumbNode;if(K._$.hitTest(r,t,i))return;var o,s=r.getBoundingClientRect();return o="horizontal"===n._orientation?t<s.left?"decrement":"increment":i<s.top?"decrement":"increment",void n._pageRequested.emit(o)}}else{if(!K._$.hitTest(n.incrementNode,t,i))return;n._stepRequested.emit("increment")}else{if(!K._$.hitTest(n.decrementNode,t,i))return;n._stepRequested.emit("decrement")}}}},n._value=0,n._page=10,n._maximum=100,n._repeatTimer=-1,n._pressData=null,n._thumbMoved=new X(n),n._stepRequested=new X(n),n._pageRequested=new X(n),n.addClass("lm-ScrollBar"),n.addClass("p-ScrollBar"),n.setFlag(ke.Flag.DisallowLayout),n._orientation=t.orientation||"vertical",n.dataset.orientation=n._orientation,void 0!==t.maximum&&(n._maximum=Math.max(0,t.maximum)),void 0!==t.page&&(n._page=Math.max(0,t.page)),void 0!==t.value&&(n._value=Math.max(0,Math.min(t.value,n._maximum))),n}ye(t,e),Object.defineProperty(t.prototype,"thumbMoved",{get:function(){return this._thumbMoved},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stepRequested",{get:function(){return this._stepRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageRequested",{get:function(){return this._pageRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._releaseMouse(),this._orientation=e,this.dataset.orientation=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){e=Math.max(0,Math.min(e,this._maximum)),this._value!==e&&(this._value=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(e){e=Math.max(0,e),this._page!==e&&(this._page=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maximum",{get:function(){return this._maximum},set:function(e){e=Math.max(0,e),this._maximum!==e&&(this._maximum=e,this._value=Math.min(this._value,e),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decrementNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-button")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"incrementNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-button")[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trackNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-track")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"thumbNode",{get:function(){return this.node.getElementsByClassName("lm-ScrollBar-thumb")[0]},enumerable:!0,configurable:!0}),t.prototype.handleEvent=function(e){switch(e.type){case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseup":this._evtMouseUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}},t.prototype.onBeforeAttach=function(e){this.node.addEventListener("mousedown",this),this.update()},t.prototype.onAfterDetach=function(e){this.node.removeEventListener("mousedown",this),this._releaseMouse()},t.prototype.onUpdateRequest=function(e){var t=100*this._value/this._maximum,n=100*this._page/(this._page+this._maximum);t=Math.max(0,Math.min(t,100)),n=Math.max(0,Math.min(n,100));var i=this.thumbNode.style;"horizontal"===this._orientation?(i.top="",i.height="",i.left=t+"%",i.width=n+"%",i.transform="translate("+-t+"%, 0%)"):(i.left="",i.width="",i.top=t+"%",i.height=n+"%",i.transform="translate(0%, "+-t+"%)")},t.prototype._evtKeyDown=function(e){if(e.preventDefault(),e.stopPropagation(),27===e.keyCode){var t=this._pressData?this._pressData.value:-1;this._releaseMouse(),-1!==t&&this._moveThumb(t)}},t.prototype._evtMouseDown=function(e){if(0===e.button&&(this.activate(),!this._pressData)){var t=lt.findPart(this,e.target);if(t){e.preventDefault(),e.stopPropagation();var n=re.overrideCursor("default");if(this._pressData={part:t,override:n,delta:-1,value:-1,mouseX:e.clientX,mouseY:e.clientY},document.addEventListener("mousemove",this,!0),document.addEventListener("mouseup",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0),"thumb"===t){var i=this.thumbNode,r=i.getBoundingClientRect();return"horizontal"===this._orientation?this._pressData.delta=e.clientX-r.left:this._pressData.delta=e.clientY-r.top,i.classList.add("lm-mod-active"),i.classList.add("p-mod-active"),void(this._pressData.value=this._value)}if("track"===t){r=this.thumbNode.getBoundingClientRect();var o;return o="horizontal"===this._orientation?e.clientX<r.left?"decrement":"increment":e.clientY<r.top?"decrement":"increment",this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._pageRequested.emit(o)}return"decrement"===t?(this.decrementNode.classList.add("lm-mod-active"),this.decrementNode.classList.add("p-mod-active"),this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._stepRequested.emit("decrement")):"increment"===t?(this.incrementNode.classList.add("lm-mod-active"),this.incrementNode.classList.add("p-mod-active"),this._repeatTimer=window.setTimeout(this._onRepeat,350),void this._stepRequested.emit("increment")):void 0}}},t.prototype._evtMouseMove=function(e){if(this._pressData&&(e.preventDefault(),e.stopPropagation(),this._pressData.mouseX=e.clientX,this._pressData.mouseY=e.clientY,"thumb"===this._pressData.part)){var t,n,i=this.thumbNode.getBoundingClientRect(),r=this.trackNode.getBoundingClientRect();"horizontal"===this._orientation?(t=e.clientX-r.left-this._pressData.delta,n=r.width-i.width):(t=e.clientY-r.top-this._pressData.delta,n=r.height-i.height);var o=0===n?0:t*this._maximum/n;this._moveThumb(o)}},t.prototype._evtMouseUp=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse())},t.prototype._releaseMouse=function(){this._pressData&&(clearTimeout(this._repeatTimer),this._repeatTimer=-1,this._pressData.override.dispose(),this._pressData=null,document.removeEventListener("mousemove",this,!0),document.removeEventListener("mouseup",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("contextmenu",this,!0),this.thumbNode.classList.remove("lm-mod-active"),this.decrementNode.classList.remove("lm-mod-active"),this.incrementNode.classList.remove("lm-mod-active"),this.thumbNode.classList.remove("p-mod-active"),this.decrementNode.classList.remove("p-mod-active"),this.incrementNode.classList.remove("p-mod-active"))},t.prototype._moveThumb=function(e){e=Math.max(0,Math.min(e,this._maximum)),this._value!==e&&(this._value=e,this.update(),this._thumbMoved.emit(e))}}(ke),function(e){e.createNode=function(){var e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),r=document.createElement("div");return t.className="lm-ScrollBar-button",n.className="lm-ScrollBar-button",t.dataset.action="decrement",n.dataset.action="increment",i.className="lm-ScrollBar-track",r.className="lm-ScrollBar-thumb",t.classList.add("p-ScrollBar-button"),n.classList.add("p-ScrollBar-button"),i.classList.add("p-ScrollBar-track"),r.classList.add("p-ScrollBar-thumb"),i.appendChild(r),e.appendChild(t),e.appendChild(i),e.appendChild(n),e},e.findPart=function(e,t){return e.thumbNode.contains(t)?"thumb":e.trackNode.contains(t)?"track":e.decrementNode.contains(t)?"decrement":e.incrementNode.contains(t)?"increment":null}}(lt||(lt={})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._widget=null,t}ye(t,e),t.prototype.dispose=function(){if(this._widget){var t=this._widget;this._widget=null,t.dispose()}e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"widget",{get:function(){return this._widget},set:function(e){e&&(e.parent=this.parent),this._widget!==e&&(this._widget&&this._widget.dispose(),this._widget=e,this.parent&&e&&this.attachWidget(e))},enumerable:!0,configurable:!0}),t.prototype.iter=function(){return this._widget?$(this._widget):R()},t.prototype.removeWidget=function(e){this._widget===e&&(this._widget=null,this.parent&&this.detachWidget(e))},t.prototype.init=function(){var t=this;e.prototype.init.call(this),S(this,(function(e){t.attachWidget(e)}))},t.prototype.attachWidget=function(e){this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.AfterAttach)},t.prototype.detachWidget=function(e){this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&G.Mu.sendMessage(e,ke.Msg.AfterDetach)}}(Te);var ct,ut,ht=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n._dirty=!1,n._items=[],n._box=null,n._hiddenMode=void 0!==t.hiddenMode?t.hiddenMode:ke.HiddenMode.Display,n}return ye(t,e),Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this._hiddenMode},set:function(e){var t=this;this._hiddenMode!==e&&(this._hiddenMode=e,this.widgets.length>1&&this.widgets.forEach((function(e){e.hiddenMode=t._hiddenMode})))},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){S(this._items,(function(e){e.dispose()})),this._box=null,this._items.length=0,e.prototype.dispose.call(this)},t.prototype.attachWidget=function(e,t){this._hiddenMode===ke.HiddenMode.Scale&&this._items.length>0?(1===this._items.length&&(this.widgets[0].hiddenMode=ke.HiddenMode.Scale),t.hiddenMode=ke.HiddenMode.Scale):t.hiddenMode=ke.HiddenMode.Display,f.insert(this._items,e,new De(t)),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.AfterAttach),this.parent.fit()},t.prototype.moveWidget=function(e,t,n){f.move(this._items,e,t),this.parent.update()},t.prototype.detachWidget=function(e,t){var n=f.removeAt(this._items,e);this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&G.Mu.sendMessage(t,ke.Msg.AfterDetach),n.widget.node.style.zIndex="",this._hiddenMode===ke.HiddenMode.Scale&&(t.hiddenMode=ke.HiddenMode.Display,1===this._items.length&&(this._items[0].widget.hiddenMode=ke.HiddenMode.Display)),n.dispose(),this.parent.fit()},t.prototype.onBeforeShow=function(t){e.prototype.onBeforeShow.call(this,t),this.parent.update()},t.prototype.onBeforeAttach=function(t){e.prototype.onBeforeAttach.call(this,t),this.parent.fit()},t.prototype.onChildShown=function(e){this.parent.fit()},t.prototype.onChildHidden=function(e){this.parent.fit()},t.prototype.onResize=function(e){this.parent.isVisible&&this._update(e.width,e.height)},t.prototype.onUpdateRequest=function(e){this.parent.isVisible&&this._update(-1,-1)},t.prototype.onFitRequest=function(e){this.parent.isAttached&&this._fit()},t.prototype._fit=function(){for(var e=0,t=0,n=0,i=this._items.length;n<i;++n){var r=this._items[n];r.isHidden||(r.fit(),e=Math.max(e,r.minWidth),t=Math.max(t,r.minHeight))}var o=this._box=K._$.boxSizing(this.parent.node);e+=o.horizontalSum,t+=o.verticalSum;var s=this.parent.node.style;s.minWidth=e+"px",s.minHeight=t+"px",this._dirty=!0,this.parent.parent&&G.Mu.sendMessage(this.parent.parent,ke.Msg.FitRequest),this._dirty&&G.Mu.sendMessage(this.parent,ke.Msg.UpdateRequest)},t.prototype._update=function(e,t){this._dirty=!1;for(var n=0,i=0,r=this._items.length;i<r;++i)n+=+!this._items[i].isHidden;if(0!==n){e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=K._$.boxSizing(this.parent.node));var o=this._box.paddingTop,s=this._box.paddingLeft,a=e-this._box.horizontalSum,l=t-this._box.verticalSum;for(i=0,r=this._items.length;i<r;++i){var d=this._items[i];d.isHidden||(d.widget.node.style.zIndex=""+i,d.update(s,o,a,l))}}},t}(Ie),ft=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,{layout:ct.createLayout(t)})||this;return n._widgetRemoved=new X(n),n.addClass("lm-StackedPanel"),n.addClass("p-StackedPanel"),n}return ye(t,e),Object.defineProperty(t.prototype,"hiddenMode",{get:function(){return this.layout.hiddenMode},set:function(e){this.layout.hiddenMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgetRemoved",{get:function(){return this._widgetRemoved},enumerable:!0,configurable:!0}),t.prototype.onChildAdded=function(e){e.child.addClass("lm-StackedPanel-child"),e.child.addClass("p-StackedPanel-child")},t.prototype.onChildRemoved=function(e){e.child.removeClass("lm-StackedPanel-child"),e.child.removeClass("p-StackedPanel-child"),this._widgetRemoved.emit(e.child)},t}(ze);!function(e){e.createLayout=function(e){return e.layout||new ht}}(ct||(ct={})),function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n._currentChanged=new X(n),n._addRequested=new X(n),n.addClass("lm-TabPanel"),n.addClass("p-TabPanel"),n.tabBar=new et(t),n.tabBar.addClass("lm-TabPanel-tabBar"),n.stackedPanel=new ft,n.stackedPanel.addClass("lm-TabPanel-stackedPanel"),n.tabBar.addClass("p-TabPanel-tabBar"),n.stackedPanel.addClass("p-TabPanel-stackedPanel"),n.tabBar.tabMoved.connect(n._onTabMoved,n),n.tabBar.currentChanged.connect(n._onCurrentChanged,n),n.tabBar.tabCloseRequested.connect(n._onTabCloseRequested,n),n.tabBar.tabActivateRequested.connect(n._onTabActivateRequested,n),n.tabBar.addRequested.connect(n._onTabAddRequested,n),n.stackedPanel.widgetRemoved.connect(n._onWidgetRemoved,n),n._tabPlacement=t.tabPlacement||"top";var i=ut.directionFromPlacement(n._tabPlacement),r=ut.orientationFromPlacement(n._tabPlacement);n.tabBar.orientation=r,n.tabBar.dataset.placement=n._tabPlacement;var o=new We({direction:i,spacing:0});return We.setStretch(n.tabBar,0),We.setStretch(n.stackedPanel,1),o.addWidget(n.tabBar),o.addWidget(n.stackedPanel),n.layout=o,n}ye(t,e),Object.defineProperty(t.prototype,"currentChanged",{get:function(){return this._currentChanged},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this.tabBar.currentIndex},set:function(e){this.tabBar.currentIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentWidget",{get:function(){var e=this.tabBar.currentTitle;return e?e.owner:null},set:function(e){this.tabBar.currentTitle=e?e.title:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabsMovable",{get:function(){return this.tabBar.tabsMovable},set:function(e){this.tabBar.tabsMovable=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addButtonEnabled",{get:function(){return this.tabBar.addButtonEnabled},set:function(e){this.tabBar.addButtonEnabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabPlacement",{get:function(){return this._tabPlacement},set:function(e){if(this._tabPlacement!==e){this._tabPlacement=e;var t=ut.directionFromPlacement(e),n=ut.orientationFromPlacement(e);this.tabBar.orientation=n,this.tabBar.dataset.placement=e,this.layout.direction=t}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addRequested",{get:function(){return this._addRequested},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgets",{get:function(){return this.stackedPanel.widgets},enumerable:!0,configurable:!0}),t.prototype.addWidget=function(e){this.insertWidget(this.widgets.length,e)},t.prototype.insertWidget=function(e,t){t!==this.currentWidget&&t.hide(),this.stackedPanel.insertWidget(e,t),this.tabBar.insertTab(e,t.title),t.node.setAttribute("role","tabpanel");var n=this.tabBar.renderer;if(n instanceof et.Renderer){var i=n.createTabKey({title:t.title,current:!1,zIndex:0});t.node.setAttribute("aria-labelledby",i)}},t.prototype._onCurrentChanged=function(e,t){var n=t.previousIndex,i=t.previousTitle,r=t.currentIndex,o=t.currentTitle,s=i?i.owner:null,a=o?o.owner:null;s&&s.hide(),a&&a.show(),this._currentChanged.emit({previousIndex:n,previousWidget:s,currentIndex:r,currentWidget:a}),(K.OD.IS_EDGE||K.OD.IS_IE)&&G.Mu.flush()},t.prototype._onTabAddRequested=function(e,t){this._addRequested.emit(e)},t.prototype._onTabActivateRequested=function(e,t){t.title.owner.activate()},t.prototype._onTabCloseRequested=function(e,t){t.title.owner.close()},t.prototype._onTabMoved=function(e,t){this.stackedPanel.insertWidget(t.toIndex,t.title.owner)},t.prototype._onWidgetRemoved=function(e,t){t.node.removeAttribute("role"),t.node.removeAttribute("aria-labelledby"),this.tabBar.removeTab(t.title)}}(ke),function(e){e.orientationFromPlacement=function(e){return t[e]},e.directionFromPlacement=function(e){return n[e]};var t={top:"horizontal",left:"vertical",right:"vertical",bottom:"horizontal"},n={top:"top-to-bottom",left:"left-to-right",right:"right-to-left",bottom:"bottom-to-top"}}(ut||(ut={}));var pt=n(4651),At=n.n(pt);class mt extends m{defaults(){return p.extend(super.defaults(),{_view_name:"BoxView",_model_name:"BoxModel",children:[],box_style:""})}}mt.serializers=Object.assign(Object.assign({},m.serializers),{children:{deserialize:i.unpack_models}});class gt extends mt{defaults(){return p.extend(super.defaults(),{_view_name:"HBoxView",_model_name:"HBoxModel"})}}class bt extends mt{defaults(){return p.extend(super.defaults(),{_view_name:"VBoxView",_model_name:"VBoxModel"})}}class vt extends i.DOMWidgetView{_createElement(e){return this.pWidget=new i.JupyterPhosphorPanelWidget({view:this}),this.pWidget.node}_setElement(e){if(this.el||e!==this.pWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.pWidget.node,this.$el=At()(this.pWidget.node)}initialize(e){super.initialize(e),this.children_views=new i.ViewList(this.add_child_model,null,this),this.listenTo(this.model,"change:children",this.update_children),this.listenTo(this.model,"change:box_style",this.update_box_style),this.pWidget.addClass("jupyter-widgets"),this.pWidget.addClass("widget-container"),this.pWidget.addClass("widget-box")}render(){super.render(),this.update_children(),this.set_box_style()}update_children(){this.children_views.update(this.model.get("children")).then((e=>{e.forEach((e=>{G.Mu.postMessage(e.pWidget,ke.ResizeMessage.UnknownSize)}))}))}update_box_style(){this.update_mapped_classes(vt.class_map,"box_style")}set_box_style(){this.set_mapped_classes(vt.class_map,"box_style")}add_child_model(e){let t=new ke;return this.pWidget.addWidget(t),this.create_child_view(e).then((e=>{let n=f.firstIndexOf(this.pWidget.widgets,t);return this.pWidget.insertWidget(n,e.pWidget),t.dispose(),e})).catch(r("Could not add child view to box",!0))}remove(){this.children_views=null,super.remove()}}vt.class_map={success:["alert","alert-success"],info:["alert","alert-info"],warning:["alert","alert-warning"],danger:["alert","alert-danger"]};class Ct extends vt{initialize(e){super.initialize(e),this.pWidget.addClass("widget-hbox")}}class yt extends vt{initialize(e){super.initialize(e),this.pWidget.addClass("widget-vbox")}}class wt extends vt{initialize(e){super.initialize(e),this.pWidget.addClass("widget-gridbox"),this.pWidget.removeClass("widget-box")}}class _t extends mt{defaults(){return p.extend(super.defaults(),{_view_name:"GridBoxView",_model_name:"GridBoxModel"})}}class Bt extends m{defaults(){return p.extend(super.defaults(),{_model_name:"ImageModel",_view_name:"ImageView",format:"png",width:"",height:"",value:new DataView(new ArrayBuffer(0))})}}Bt.serializers=Object.assign(Object.assign({},m.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class Et extends i.DOMWidgetView{render(){super.render(),this.pWidget.addClass("jupyter-widgets"),this.pWidget.addClass("widget-image"),this.update()}update(){let e,t=this.model.get("format"),n=this.model.get("value");if("url"!==t){let t=new Blob([n],{type:`image/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(n.buffer);let i=this.el.src;this.el.src=e,i&&"string"!=typeof i&&URL.revokeObjectURL(i);let r=this.model.get("width");void 0!==r&&r.length>0?this.el.setAttribute("width",r):this.el.removeAttribute("width");let o=this.model.get("height");return void 0!==o&&o.length>0?this.el.setAttribute("height",o):this.el.removeAttribute("height"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}get tagName(){return"img"}}class xt extends m{defaults(){return p.extend(super.defaults(),{_model_name:"VideoModel",_view_name:"VideoView",format:"mp4",width:"",height:"",autoplay:!0,loop:!0,controls:!0,value:new DataView(new ArrayBuffer(0))})}}xt.serializers=Object.assign(Object.assign({},m.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class kt extends i.DOMWidgetView{render(){super.render(),this.pWidget.addClass("jupyter-widgets"),this.pWidget.addClass("widget-image"),this.update()}update(){let e,t=this.model.get("format"),n=this.model.get("value");if("url"!==t){let t=new Blob([n],{type:`video/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(n.buffer);let i=this.el.src;this.el.src=e,i&&"string"!=typeof i&&URL.revokeObjectURL(i);let r=this.model.get("width");void 0!==r&&r.length>0?this.el.setAttribute("width",r):this.el.removeAttribute("width");let o=this.model.get("height");return void 0!==o&&o.length>0?this.el.setAttribute("height",o):this.el.removeAttribute("height"),this.el.loop=this.model.get("loop"),this.el.autoplay=this.model.get("autoplay"),this.el.controls=this.model.get("controls"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}get tagName(){return"video"}}class Tt extends m{defaults(){return p.extend(super.defaults(),{_model_name:"AudioModel",_view_name:"AudioView",format:"mp3",autoplay:!0,loop:!0,controls:!0,value:new DataView(new ArrayBuffer(0))})}}Tt.serializers=Object.assign(Object.assign({},m.serializers),{value:{serialize:e=>new DataView(e.buffer.slice(0))}});class jt extends i.DOMWidgetView{render(){super.render(),this.pWidget.addClass("jupyter-widgets"),this.update()}update(){let e,t=this.model.get("format"),n=this.model.get("value");if("url"!==t){let t=new Blob([n],{type:`audio/${this.model.get("format")}`});e=URL.createObjectURL(t)}else e=new TextDecoder("utf-8").decode(n.buffer);let i=this.el.src;return this.el.src=e,i&&"string"!=typeof i&&URL.revokeObjectURL(i),this.el.loop=this.model.get("loop"),this.el.autoplay=this.model.get("autoplay"),this.el.controls=this.model.get("controls"),super.update()}remove(){this.el.src&&URL.revokeObjectURL(this.el.src),super.remove()}get tagName(){return"audio"}}class Dt extends g{defaults(){return p.extend(super.defaults(),{value:"black",concise:!1,_model_name:"ColorPickerModel",_view_name:"ColorPickerView"})}}class St extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-colorpicker"),this._color_container=document.createElement("div"),this._color_container.className="widget-inline-hbox widget-colorpicker-input",this.el.appendChild(this._color_container),this._textbox=document.createElement("input"),this._textbox.setAttribute("type","text"),this._textbox.id=this.label.htmlFor=(0,i.uuid)(),this._color_container.appendChild(this._textbox),this._textbox.value=this.model.get("value"),this._colorpicker=document.createElement("input"),this._colorpicker.setAttribute("type","color"),this._color_container.appendChild(this._colorpicker),this.listenTo(this.model,"change:value",this._update_value),this.listenTo(this.model,"change:concise",this._update_concise),this._update_concise(),this._update_value(),this.update()}update(e){if(void 0===e||e.updated_view!=this){let e=this.model.get("disabled");this._textbox.disabled=e,this._colorpicker.disabled=e}return super.update()}events(){return this._picker_change,this._text_change,{'change [type="color"]':"_picker_change",'change [type="text"]':"_text_change"}}_update_value(){let e=this.model.get("value");var t,n;this._colorpicker.value=It[(t=e).toLowerCase()]||(7===(n=t).length?n:"#"+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2)+n.charAt(3)+n.charAt(3)),this._textbox.value=e}_update_concise(){this.model.get("concise")?(this.el.classList.add("concise"),this._textbox.style.display="none"):(this.el.classList.remove("concise"),this._textbox.style.display="")}_picker_change(){this.model.set("value",this._colorpicker.value),this.touch()}_text_change(){let e=this._validate_color(this._textbox.value,this.model.get("value"));this.model.set("value",e),this.touch()}_validate_color(e,t){return e.match(/#[a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?$/)||It[e.toLowerCase()]?e:t}}let It={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgreen:"#90ee90",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Mt(e){return null===e?null:{year:e.getUTCFullYear(),month:e.getUTCMonth(),date:e.getUTCDate()}}function Pt(e){if(null===e)return null;{let t=new Date;return t.setUTCFullYear(e.year,e.month,e.date),t.setUTCHours(0,0,0,0),t}}class Rt extends g{defaults(){return p.extend(super.defaults(),{value:null,_model_name:"DatePickerModel",_view_name:"DatePickerView"})}}Rt.serializers=Object.assign(Object.assign({},g.serializers),{value:{serialize:Mt,deserialize:Pt}});class Ot extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-datepicker"),this._datepicker=document.createElement("input"),this._datepicker.setAttribute("type","date"),this._datepicker.id=this.label.htmlFor=(0,i.uuid)(),this.el.appendChild(this._datepicker),this.listenTo(this.model,"change:value",this._update_value),this._update_value(),this.update()}update(e){return void 0!==e&&e.updated_view===this||(this._datepicker.disabled=this.model.get("disabled")),super.update()}events(){return this._picker_change,this._picker_focusout,{'change [type="date"]':"_picker_change",'focusout [type="date"]':"_picker_focusout"}}_update_value(){const e=this.model.get("value");this._datepicker.valueAsDate=e}_picker_change(){this._datepicker.validity.badInput||(this.model.set("value",this._datepicker.valueAsDate),this.touch())}_picker_focusout(){this._datepicker.validity.badInput&&(this.model.set("value",null),this.touch())}}function Lt(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,i=e.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+e.slice(n+1)]}var Nt,zt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ft(e){if(!(t=zt.exec(e)))throw new Error("invalid format: "+e);var t;return new qt({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function qt(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Ut(e,t){var n=Lt(e,t);if(!n)return e+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}Ft.prototype=qt.prototype,qt.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const $t={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Ut(100*e,t)},r:Ut,s:function(e,t){var n=Lt(e,t);if(!n)return e+"";var i=n[0],r=n[1],o=r-(Nt=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,s=i.length;return o===s?i:o>s?i+new Array(o-s+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+Lt(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Ht(e){return e}var Wt,Vt,Gt=Array.prototype.map,Kt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];Wt=function(e){var t,n,i=void 0===e.grouping||void 0===e.thousands?Ht:(t=Gt.call(e.grouping,Number),n=e.thousands+"",function(e,i){for(var r=e.length,o=[],s=0,a=t[0],l=0;r>0&&a>0&&(l+a+1>i&&(a=Math.max(1,i-l)),o.push(e.substring(r-=a,r+a)),!((l+=a+1)>i));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),r=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",s=void 0===e.decimal?".":e.decimal+"",a=void 0===e.numerals?Ht:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Gt.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",d=void 0===e.minus?"-":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function u(e){var t=(e=Ft(e)).fill,n=e.align,u=e.sign,h=e.symbol,f=e.zero,p=e.width,A=e.comma,m=e.precision,g=e.trim,b=e.type;"n"===b?(A=!0,b="g"):$t[b]||(void 0===m&&(m=12),g=!0,b="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var v="$"===h?r:"#"===h&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",C="$"===h?o:/[%p]/.test(b)?l:"",y=$t[b],w=/[defgprs%]/.test(b);function _(e){var r,o,l,h=v,_=C;if("c"===b)_=y(e)+_,e="";else{var B=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:y(Math.abs(e),m),g&&(e=function(e){e:for(var t,n=e.length,i=1,r=-1;i<n;++i)switch(e[i]){case".":r=t=i;break;case"0":0===r&&(r=i),t=i;break;default:if(!+e[i])break e;r>0&&(r=0)}return r>0?e.slice(0,r)+e.slice(t+1):e}(e)),B&&0==+e&&"+"!==u&&(B=!1),h=(B?"("===u?u:d:"-"===u||"("===u?"":u)+h,_=("s"===b?Kt[8+Nt/3]:"")+_+(B&&"("===u?")":""),w)for(r=-1,o=e.length;++r<o;)if(48>(l=e.charCodeAt(r))||l>57){_=(46===l?s+e.slice(r+1):e.slice(r))+_,e=e.slice(0,r);break}}A&&!f&&(e=i(e,1/0));var E=h.length+e.length+_.length,x=E<p?new Array(p-E+1).join(t):"";switch(A&&f&&(e=i(x+e,x.length?p-_.length:1/0),x=""),n){case"<":e=h+e+_+x;break;case"=":e=h+x+e+_;break;case"^":e=x.slice(0,E=x.length>>1)+h+e+_+x.slice(E);break;default:e=x+h+e+_}return a(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),_.toString=function(){return e+""},_}return{format:u,formatPrefix:function(e,t){var n,i=u(((e=Ft(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor((n=t,((n=Lt(Math.abs(n)))?n[1]:NaN)/3)))),o=Math.pow(10,-r),s=Kt[8+r/3];return function(e){return i(o*e)+s}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Vt=Wt.format,Wt.formatPrefix,n(1449);class Yt extends g{defaults(){return p.extend(super.defaults(),{_model_name:"IntModel",value:0})}}class Jt extends Yt{defaults(){return p.extend(super.defaults(),{_model_name:"BoundedIntModel",max:100,min:0})}}class Xt extends l{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SliderStyleModel"})}}Xt.styleProperties=Object.assign(Object.assign({},l.styleProperties),{handle_color:{selector:".ui-slider-handle",attribute:"background-color",default:null}});class Zt extends Jt{defaults(){return p.extend(super.defaults(),{_model_name:"IntSliderModel",_view_name:"IntSliderView",step:1,orientation:"horizontal",readout:!0,readout_format:"d",continuous_update:!0,style:null,disabled:!1})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=Vt(this.get("readout_format"))}}class Qt extends Zt{}class en extends c{constructor(){super(...arguments),this._parse_value=parseInt}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-slider"),this.el.classList.add("widget-hslider"),(this.$slider=At()("<div />")).slider({slide:this.handleSliderChange.bind(this),stop:this.handleSliderChanged.bind(this)}).addClass("slider"),this.slider_container=document.createElement("div"),this.slider_container.classList.add("slider-container"),this.slider_container.appendChild(this.$slider[0]),this.el.appendChild(this.slider_container),this.readout=document.createElement("div"),this.el.appendChild(this.readout),this.readout.classList.add("widget-readout"),this.readout.contentEditable="true",this.readout.style.display="none",this.update()}update(e){if(void 0===e||e.updated_view!==this){let e=["step","disabled"],t=this;t.$slider.slider({}),e.forEach((function(e){let n=t.model.get(e);void 0!==n&&t.$slider.slider("option",e,n)})),this.model.get("disabled")?this.readout.contentEditable="false":this.readout.contentEditable="true";let n=this.model.get("max"),i=this.model.get("min");i<=n&&(void 0!==n&&this.$slider.slider("option","max",n),void 0!==i&&this.$slider.slider("option","min",i));let r=this.model.get("orientation");this.$slider.slider("option","orientation",r),"vertical"===r?(this.el.classList.remove("widget-hslider"),this.el.classList.add("widget-vslider"),this.el.classList.remove("widget-inline-hbox"),this.el.classList.add("widget-inline-vbox")):(this.el.classList.remove("widget-vslider"),this.el.classList.add("widget-hslider"),this.el.classList.remove("widget-inline-vbox"),this.el.classList.add("widget-inline-hbox")),this.model.get("readout")?(this.readout.style.display="",this.displayed.then((function(){t.readout_overflow()?t.readout.classList.add("overflow"):t.readout.classList.remove("overflow")}))):this.readout.style.display="none"}return super.update()}readout_overflow(){return this.readout.scrollWidth>this.readout.clientWidth}events(){return{slide:"handleSliderChange",slidestop:"handleSliderChanged","blur [contentEditable=true]":"handleTextChange","keydown [contentEditable=true]":"handleKeyDown"}}handleKeyDown(e){13===e.keyCode&&(e.preventDefault(),this.handleTextChange())}_validate_slide_value(e){return Math.floor(e)}}class tn extends en{constructor(){super(...arguments),this._range_regex=/^\s*([+-]?\d+)\s*[-:–]\s*([+-]?\d+)/}update(e){super.update(e),this.$slider.slider("option","range",!0);let t=this.model.get("value");this.$slider.slider("option","values",t.slice()),this.readout.textContent=this.valueToString(t),this.model.get("value")!==t&&(this.model.set("value",t,{updated_view:this}),this.touch())}valueToString(e){let t=this.model.readout_formatter;return e.map((function(e){return t(e)})).join(" – ")}stringToValue(e){let t=this._range_regex.exec(e);return t?[this._parse_value(t[1]),this._parse_value(t[2])]:null}handleTextChange(){let e=this.stringToValue(this.readout.textContent),t=this.model.get("min"),n=this.model.get("max");null===e||isNaN(e[0])||isNaN(e[1])||e[0]>e[1]?this.readout.textContent=this.valueToString(this.model.get("value")):(e=[Math.max(Math.min(e[0],n),t),Math.max(Math.min(e[1],n),t)],e[0]!==this.model.get("value")[0]||e[1]!==this.model.get("value")[1]?(this.readout.textContent=this.valueToString(e),this.model.set("value",e,{updated_view:this}),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderChange(e,t){let n=t.values.map(this._validate_slide_value);this.readout.textContent=this.valueToString(n),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){let n=t.values.map(this._validate_slide_value);this.model.set("value",n,{updated_view:this}),this.touch()}}class nn extends en{update(e){super.update(e);let t=this.model.get("min"),n=this.model.get("max"),i=this.model.get("value");i>n?i=n:i<t&&(i=t),this.$slider.slider("option","value",i),this.readout.textContent=this.valueToString(i),this.model.get("value")!==i&&(this.model.set("value",i,{updated_view:this}),this.touch())}valueToString(e){return(0,this.model.readout_formatter)(e)}stringToValue(e){return this._parse_value(e)}handleTextChange(){let e=this.stringToValue(this.readout.textContent),t=this.model.get("min"),n=this.model.get("max");isNaN(e)?this.readout.textContent=this.valueToString(this.model.get("value")):(e=Math.max(Math.min(e,n),t),e!==this.model.get("value")?(this.readout.textContent=this.valueToString(e),this.model.set("value",e,{updated_view:this}),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderChange(e,t){let n=this._validate_slide_value(t.value);this.readout.textContent=this.valueToString(n),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){let n=this._validate_slide_value(t.value);this.model.set("value",n,{updated_view:this}),this.touch()}}class rn extends Yt{defaults(){return p.extend(super.defaults(),{_model_name:"IntTextModel",_view_name:"IntTextView",disabled:!1,continuous_update:!1})}}class on extends Jt{defaults(){return p.extend(super.defaults(),{_model_name:"BoundedIntTextModel",_view_name:"IntTextView",disabled:!1,continuous_update:!1,step:1})}}class sn extends c{constructor(){super(...arguments),this._parse_value=parseInt,this._default_step="1"}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-text"),this.textbox=document.createElement("input"),this.textbox.type="number",this.textbox.required=!0,this.textbox.id=this.label.htmlFor=(0,i.uuid)(),this.el.appendChild(this.textbox),this.update()}update(e){if(void 0===e||e.updated_view!==this){let e=this.model.get("value");this._parse_value(this.textbox.value)!==e&&(this.textbox.value=e.toString()),void 0!==this.model.get("min")&&(this.textbox.min=this.model.get("min")),void 0!==this.model.get("max")&&(this.textbox.max=this.model.get("max")),void 0!==this.model.get("step")&&null!==this.model.get("step")?this.textbox.step=this.model.get("step"):this.textbox.step=this._default_step,this.textbox.disabled=this.model.get("disabled")}return super.update()}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","keyup input":"handleKeyUp","input input":"handleChanging","change input":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){/[e,. ]/.test(String.fromCharCode(e.keyCode))&&e.preventDefault()}handleKeyUp(e){if(e.altKey||e.ctrlKey)return;let t=e.target,n=t.value;if(n=n.replace(/[e,.\s]/g,""),n.length>=1){var i=n.substr(1);n=n[0]+i.replace(/[+-]/g,"")}t.value!=n&&(e.preventDefault(),t.value=n)}handleChanging(e){let t=e.target.value.trim();""===t||["-","-.",".","+.","+"].indexOf(t)>=0||this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){let t=e.target,n=this._parse_value(t.value);if(isNaN(n))t.value=this.model.get("value");else{let e=n;void 0!==this.model.get("max")&&(e=Math.min(this.model.get("max"),e)),void 0!==this.model.get("min")&&(e=Math.max(this.model.get("min"),e)),e!==n&&(t.value=e,n=e),n!==this.model.get("value")&&(this.model.set("value",n,{updated_view:this}),this.touch())}}}class an extends l{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ProgressStyleModel"})}}an.styleProperties=Object.assign(Object.assign({},l.styleProperties),{bar_color:{selector:".progress-bar",attribute:"background-color",default:null}});class ln extends Jt{defaults(){return p.extend(super.defaults(),{_model_name:"IntProgressModel",_view_name:"ProgressView",orientation:"horizontal",bar_style:"",style:null})}}class dn extends c{initialize(e){super.initialize(e),this.listenTo(this.model,"change:bar_style",this.update_bar_style),this.pWidget.addClass("jupyter-widgets")}render(){super.render();let e="horizontal"===this.model.get("orientation")?"widget-hprogress":"widget-vprogress";this.el.classList.add(e),this.progress=document.createElement("div"),this.progress.classList.add("progress"),this.progress.style.position="relative",this.el.appendChild(this.progress),this.bar=document.createElement("div"),this.bar.classList.add("progress-bar"),this.bar.style.position="absolute",this.bar.style.bottom="0px",this.bar.style.left="0px",this.progress.appendChild(this.bar),this.update(),this.set_bar_style()}update(){let e=this.model.get("value"),t=this.model.get("max"),n=this.model.get("min"),i=100*(e-n)/(t-n);return"horizontal"===this.model.get("orientation")?(this.el.classList.remove("widget-inline-vbox"),this.el.classList.remove("widget-vprogress"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-hprogress"),this.bar.style.width=i+"%",this.bar.style.height="100%"):(this.el.classList.remove("widget-inline-hbox"),this.el.classList.remove("widget-hprogress"),this.el.classList.add("widget-inline-vbox"),this.el.classList.add("widget-vprogress"),this.bar.style.width="100%",this.bar.style.height=i+"%"),super.update()}update_bar_style(){this.update_mapped_classes(dn.class_map,"bar_style",this.bar)}set_bar_style(){this.set_mapped_classes(dn.class_map,"bar_style",this.bar)}}dn.class_map={success:["progress-bar-success"],info:["progress-bar-info"],warning:["progress-bar-warning"],danger:["progress-bar-danger"]};class cn extends Jt{defaults(){return p.extend(super.defaults(),{_model_name:"PlayModel",_view_name:"PlayView",_playing:!1,_repeat:!1,show_repeat:!0,interval:100,step:1,disabled:!1})}initialize(e,t){super.initialize(e,t)}loop(){if(this.get("_playing")){let e=this.get("value")+this.get("step");e<=this.get("max")?(this.set("value",e),this.schedule_next()):this.get("_repeat")?(this.set("value",this.get("min")),this.schedule_next()):this.set("_playing",!1),this.save_changes()}}schedule_next(){window.setTimeout(this.loop.bind(this),this.get("interval"))}stop(){this.set("_playing",!1),this.set("value",this.get("min")),this.save_changes()}pause(){this.set("_playing",!1),this.save_changes()}play(){this.set("_playing",!0),this.get("value")==this.get("max")?(this.set("value",this.get("min")),this.schedule_next(),this.save_changes()):this.loop()}repeat(){this.set("_repeat",!this.get("_repeat")),this.save_changes()}}class un extends i.DOMWidgetView{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-play"),this.playButton=document.createElement("button"),this.pauseButton=document.createElement("button"),this.stopButton=document.createElement("button"),this.repeatButton=document.createElement("button"),this.playButton.className="jupyter-button",this.pauseButton.className="jupyter-button",this.stopButton.className="jupyter-button",this.repeatButton.className="jupyter-button",this.el.appendChild(this.playButton),this.el.appendChild(this.pauseButton),this.el.appendChild(this.stopButton),this.el.appendChild(this.repeatButton);let e=document.createElement("i");e.className="fa fa-play",this.playButton.appendChild(e);let t=document.createElement("i");t.className="fa fa-pause",this.pauseButton.appendChild(t);let n=document.createElement("i");n.className="fa fa-stop",this.stopButton.appendChild(n);let i=document.createElement("i");i.className="fa fa-retweet",this.repeatButton.appendChild(i),this.playButton.onclick=this.model.play.bind(this.model),this.pauseButton.onclick=this.model.pause.bind(this.model),this.stopButton.onclick=this.model.stop.bind(this.model),this.repeatButton.onclick=this.model.repeat.bind(this.model),this.listenTo(this.model,"change:_playing",this.update_playing),this.listenTo(this.model,"change:_repeat",this.update_repeat),this.listenTo(this.model,"change:show_repeat",this.update_repeat),this.update_playing(),this.update_repeat(),this.update()}update(){let e=this.model.get("disabled");this.playButton.disabled=e,this.pauseButton.disabled=e,this.stopButton.disabled=e,this.repeatButton.disabled=e,this.update_playing()}update_playing(){let e=this.model.get("_playing"),t=this.model.get("disabled");e?(t||(this.pauseButton.disabled=!1),this.playButton.classList.add("mod-active")):(t||(this.pauseButton.disabled=!0),this.playButton.classList.remove("mod-active"))}update_repeat(){let e=this.model.get("_repeat");this.repeatButton.style.display=this.model.get("show_repeat")?this.playButton.style.display:"none",e?this.repeatButton.classList.add("mod-active"):this.repeatButton.classList.remove("mod-active")}}class hn extends g{defaults(){return p.extend(super.defaults(),{_model_name:"FloatModel",value:0})}}class fn extends hn{defaults(){return p.extend(super.defaults(),{_model_name:"BoundedFloatModel",max:100,min:0})}}class pn extends fn{defaults(){return p.extend(super.defaults(),{_model_name:"FloatSliderModel",_view_name:"FloatSliderView",step:1,orientation:"horizontal",_range:!1,readout:!0,readout_format:".2f",slider_color:null,continuous_update:!0,disabled:!1})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=Vt(this.get("readout_format"))}}class An extends fn{defaults(){return p.extend(super.defaults(),{_model_name:"FloatLogSliderModel",_view_name:"FloatLogSliderView",step:.1,orientation:"horizontal",_range:!1,readout:!0,readout_format:".3g",slider_color:null,continuous_update:!0,disabled:!1,base:10,value:1,min:0,max:4})}initialize(e,t){super.initialize(e,t),this.on("change:readout_format",this.update_readout_format,this),this.update_readout_format()}update_readout_format(){this.readout_formatter=Vt(this.get("readout_format"))}}class mn extends pn{}class gn extends nn{constructor(){super(...arguments),this._parse_value=parseFloat}_validate_slide_value(e){return e}}class bn extends en{constructor(){super(...arguments),this._parse_value=parseFloat}update(e){super.update(e);let t=this.model.get("min"),n=this.model.get("max"),i=this.model.get("value"),r=this.model.get("base"),o=Math.log(i)/Math.log(r);o>n?o=n:o<t&&(o=t),this.$slider.slider("option","value",o),this.readout.textContent=this.valueToString(i),this.model.get("value")!==i&&(this.model.set("value",i,{updated_view:this}),this.touch())}valueToString(e){return(0,this.model.readout_formatter)(e)}stringToValue(e){return this._parse_value(e)}handleTextChange(){let e=this.stringToValue(this.readout.textContent),t=this.model.get("min"),n=this.model.get("max"),i=this.model.get("base");isNaN(e)?this.readout.textContent=this.valueToString(this.model.get("value")):(e=Math.max(Math.min(e,Math.pow(i,n)),Math.pow(i,t)),e!==this.model.get("value")?(this.readout.textContent=this.valueToString(e),this.model.set("value",e,{updated_view:this}),this.touch()):this.readout.textContent=this.valueToString(this.model.get("value")))}handleSliderChange(e,t){let n=this.model.get("base"),i=Math.pow(n,this._validate_slide_value(t.value));this.readout.textContent=this.valueToString(i),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){let n=this.model.get("base"),i=Math.pow(n,this._validate_slide_value(t.value));this.model.set("value",i,{updated_view:this}),this.touch()}_validate_slide_value(e){return e}}class vn extends tn{constructor(){super(...arguments),this._parse_value=parseFloat,this._range_regex=/^\s*([+-]?(?:\d*\.?\d+|\d+\.)(?:[eE][-:]?\d+)?)\s*[-:–]\s*([+-]?(?:\d*\.?\d+|\d+\.)(?:[eE][+-]?\d+)?)/}_validate_slide_value(e){return e}}class Cn extends hn{defaults(){return p.extend(super.defaults(),{_model_name:"FloatTextModel",_view_name:"FloatTextView",disabled:!1,continuous_update:!1})}}class yn extends fn{defaults(){return p.extend(super.defaults(),{_model_name:"BoundedFloatTextModel",_view_name:"FloatTextView",disabled:!1,continuous_update:!1,step:.1})}}class wn extends sn{constructor(){super(...arguments),this._parse_value=parseFloat,this._default_step="any"}handleKeypress(e){e.stopPropagation()}handleKeyUp(e){}}class _n extends fn{defaults(){return p.extend(super.defaults(),{_model_name:"FloatProgressModel",_view_name:"ProgressView",orientation:"horizontal",bar_style:"",style:null})}}class Bn extends m{defaults(){return p.extend(super.defaults(),{_model_name:"ControllerButtonModel",_view_name:"ControllerButtonView",value:0,pressed:!1})}}class En extends i.DOMWidgetView{render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller-button"),this.el.style.width="fit-content",this.support=document.createElement("div"),this.support.style.position="relative",this.support.style.margin="1px",this.support.style.width="16px",this.support.style.height="16px",this.support.style.border="1px solid black",this.support.style.background="lightgray",this.el.appendChild(this.support),this.bar=document.createElement("div"),this.bar.style.position="absolute",this.bar.style.width="100%",this.bar.style.bottom="0px",this.bar.style.background="gray",this.support.appendChild(this.bar),this.update(),this.label=document.createElement("div"),this.label.textContent=this.model.get("description"),this.label.style.textAlign="center",this.el.appendChild(this.label)}update(){this.bar.style.height=100*this.model.get("value")+"%"}}class xn extends m{defaults(){return p.extend(super.defaults(),{_model_name:"ControllerAxisModel",_view_name:"ControllerAxisView",value:0})}}class kn extends i.DOMWidgetView{render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller-axis"),this.el.style.width="16px",this.el.style.padding="4px",this.support=document.createElement("div"),this.support.style.position="relative",this.support.style.margin="1px",this.support.style.width="4px",this.support.style.height="64px",this.support.style.border="1px solid black",this.support.style.background="lightgray",this.bullet=document.createElement("div"),this.bullet.style.position="absolute",this.bullet.style.margin="-3px",this.bullet.style.boxSizing="unset",this.bullet.style.width="10px",this.bullet.style.height="10px",this.bullet.style.background="gray",this.label=document.createElement("div"),this.label.textContent=this.model.get("description"),this.label.style.textAlign="center",this.support.appendChild(this.bullet),this.el.appendChild(this.support),this.el.appendChild(this.label),this.update()}update(){this.bullet.style.top=50*(this.model.get("value")+1)+"%"}}class Tn extends m{defaults(){return p.extend(super.defaults(),{_model_name:"ControllerModel",_view_name:"ControllerView",index:0,name:"",mapping:"",connected:!1,timestamp:0,buttons:[],axes:[]})}initialize(e,t){super.initialize(e,t),void 0===navigator.getGamepads?(this.readout="This browser does not support gamepads.",console.error(this.readout)):(this.readout="Connect gamepad and press any button.",this.get("connected")?this.update_loop():this.wait_loop())}wait_loop(){let e=this.get("index"),t=navigator.getGamepads()[e];if(t){let e=this;this.setup(t).then((function(t){e.set(t),e.save_changes(),window.requestAnimationFrame(e.update_loop.bind(e))}))}else window.requestAnimationFrame(this.wait_loop.bind(this))}setup(e){this.set({name:e.id,mapping:e.mapping,connected:e.connected,timestamp:e.timestamp});let t=this;return i.resolvePromisesDict({buttons:Promise.all(e.buttons.map((function(e,n){return t._create_button_model(n)}))),axes:Promise.all(e.axes.map((function(e,n){return t._create_axis_model(n)})))})}update_loop(){let e=this.get("index"),t=this.get("name"),n=navigator.getGamepads()[e];n&&e===n.index&&t===n.id?(this.set({timestamp:n.timestamp,connected:n.connected}),this.save_changes(),this.get("buttons").forEach((function(e,t){e.set({value:n.buttons[t].value,pressed:n.buttons[t].pressed}),e.save_changes()})),this.get("axes").forEach((function(e,t){e.set("value",n.axes[t]),e.save_changes()})),window.requestAnimationFrame(this.update_loop.bind(this))):this.reset_gamepad()}reset_gamepad(){this.get("buttons").forEach((function(e){e.close()})),this.get("axes").forEach((function(e){e.close()})),this.set({name:"",mapping:"",connected:!1,timestamp:0,buttons:[],axes:[]}),this.save_changes(),window.requestAnimationFrame(this.wait_loop.bind(this))}_create_button_model(e){return this.widget_manager.new_widget({model_name:"ControllerButtonModel",model_module:"@jupyter-widgets/controls",model_module_version:this.get("_model_module_version"),view_name:"ControllerButtonView",view_module:"@jupyter-widgets/controls",view_module_version:this.get("_view_module_version")}).then((function(t){return t.set("description",e),t}))}_create_axis_model(e){return this.widget_manager.new_widget({model_name:"ControllerAxisModel",model_module:"@jupyter-widgets/controls",model_module_version:this.get("_model_module_version"),view_name:"ControllerAxisView",view_module:"@jupyter-widgets/controls",view_module_version:this.get("_view_module_version")}).then((function(t){return t.set("description",e),t}))}}Tn.serializers=Object.assign(Object.assign({},m.serializers),{buttons:{deserialize:i.unpack_models},axes:{deserialize:i.unpack_models}});class jn extends i.DOMWidgetView{_createElement(e){return this.pWidget=new i.JupyterPhosphorPanelWidget({view:this}),this.pWidget.node}_setElement(e){if(this.el||e!==this.pWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.pWidget.node,this.$el=At()(this.pWidget.node)}initialize(e){super.initialize(e),this.button_views=new i.ViewList(this.add_button,null,this),this.listenTo(this.model,"change:buttons",(function(e,t){this.button_views.update(t)})),this.axis_views=new i.ViewList(this.add_axis,null,this),this.listenTo(this.model,"change:axes",(function(e,t){this.axis_views.update(t)})),this.listenTo(this.model,"change:name",this.update_label)}render(){this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-controller"),this.label=document.createElement("div"),this.el.appendChild(this.label),this.axis_box=new ze,this.axis_box.node.style.display="flex",this.pWidget.addWidget(this.axis_box),this.button_box=new ze,this.button_box.node.style.display="flex",this.pWidget.addWidget(this.button_box),this.button_views.update(this.model.get("buttons")),this.axis_views.update(this.model.get("axes")),this.update_label()}update_label(){this.label.textContent=this.model.get("name")||this.model.readout}add_button(e){let t=new ke;return this.button_box.addWidget(t),this.create_child_view(e).then((e=>{let n=f.firstIndexOf(this.button_box.widgets,t);return this.button_box.insertWidget(n,e.pWidget),t.dispose(),e})).catch(r("Could not add child button view to controller",!0))}add_axis(e){let t=new ke;return this.axis_box.addWidget(t),this.create_child_view(e).then((e=>{let n=f.firstIndexOf(this.axis_box.widgets,t);return this.axis_box.insertWidget(n,e.pWidget),t.dispose(),e})).catch(r("Could not add child axis view to controller",!0))}remove(){super.remove(),this.button_views.remove(),this.axis_views.remove()}}class Dn extends g{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionModel",index:"",_options_labels:[],disabled:!1})}}class Sn extends Dn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"DropdownModel",_view_name:"DropdownView",button_style:""})}}class In extends c{initialize(e){super.initialize(e),this.listenTo(this.model,"change:_options_labels",(()=>this._updateOptions()))}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-dropdown"),this.listbox=document.createElement("select"),this.listbox.id=this.label.htmlFor=(0,i.uuid)(),this.el.appendChild(this.listbox),this._updateOptions(),this.update()}update(){this.listbox.disabled=this.model.get("disabled");let e=this.model.get("index");return this.listbox.selectedIndex=null===e?-1:e,super.update()}_updateOptions(){this.listbox.textContent="";let e=this.model.get("_options_labels");for(let t=0;t<e.length;t++){let n=e[t],i=document.createElement("option");i.textContent=n.replace(/ /g," "),i.setAttribute("data-value",encodeURIComponent(n)),i.value=n,this.listbox.appendChild(i)}}events(){return{"change select":"_handle_change"}}_handle_change(){this.model.set("index",-1===this.listbox.selectedIndex?null:this.listbox.selectedIndex),this.touch()}}class Mn extends Dn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectModel",_view_name:"SelectView",rows:5})}}class Pn extends c{initialize(e){super.initialize(e),this.listenTo(this.model,"change:_options_labels",(()=>this._updateOptions())),this.listenTo(this.model,"change:index",((e,t,n)=>this.updateSelection(n))),this.listbox=document.createElement("select")}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-select"),this.listbox.id=this.label.htmlFor=(0,i.uuid)(),this.el.appendChild(this.listbox),this._updateOptions(),this.update(),this.updateSelection()}update(){super.update(),this.listbox.disabled=this.model.get("disabled");let e=this.model.get("rows");null===e&&(e=""),this.listbox.setAttribute("size",e)}updateSelection(e={}){if(e.updated_view===this)return;let t=this.model.get("index");this.listbox.selectedIndex=null===t?-1:t}_updateOptions(){this.listbox.textContent="";let e=this.model.get("_options_labels");for(let t=0;t<e.length;t++){let n=e[t],i=document.createElement("option");i.textContent=n.replace(/ /g," "),i.setAttribute("data-value",encodeURIComponent(n)),i.value=n,this.listbox.appendChild(i)}}events(){return{"change select":"_handle_change"}}_handle_change(){this.model.set("index",this.listbox.selectedIndex,{updated_view:this}),this.touch()}}class Rn extends Dn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"RadioButtonsModel",_view_name:"RadioButtonsView",tooltips:[],icons:[],button_style:""})}}class On extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-radio"),this.container=document.createElement("div"),this.el.appendChild(this.container),this.container.classList.add("widget-radio-box"),this.update()}update(e){let t=this,n=this.model.get("_options_labels"),i=p.pluck(this.container.querySelectorAll('input[type="radio"]'),"value"),r=n.length!=i.length;if(!r)for(let e=0,t=n.length;e<t;++e)if(i[e]!==n[e]){r=!0;break}return!r||void 0!==e&&e.updated_view===this||(this.container.textContent="",n.forEach((function(e,n){let i=document.createElement("label");i.textContent=e,t.container.appendChild(i);let r=document.createElement("input");r.setAttribute("type","radio"),r.value=n.toString(),r.setAttribute("data-value",encodeURIComponent(e)),i.appendChild(r)}))),n.forEach((function(e,n){let i='input[data-value="'+encodeURIComponent(e)+'"]',r=t.container.querySelectorAll(i);if(r.length>0){let e=r[0];e.checked=t.model.get("index")===n,e.disabled=t.model.get("disabled")}})),setTimeout(this.adjustPadding,0,this),super.update(e)}adjustPadding(e){let t=window.getComputedStyle(e.el),n=parseInt(t.marginTop,10)+parseInt(t.marginBottom,10),i=e.label.offsetHeight+n,r=window.getComputedStyle(e.container),o=parseInt(r.marginBottom),s=(e.el.offsetHeight+n-o)%i,a=0==s?0:i-s;e.container.style.marginBottom=a+"px"}events(){return{'click input[type="radio"]':"_handle_click"}}_handle_click(e){let t=e.target;this.model.set("index",parseInt(t.value),{updated_view:this}),this.touch()}}class Ln extends l{defaults(){return p.extend(super.defaults(),{_model_name:"ToggleButtonsStyleModel"})}}Ln.styleProperties=Object.assign(Object.assign({},l.styleProperties),{button_width:{selector:".widget-toggle-button",attribute:"width",default:null},font_weight:{selector:".widget-toggle-button",attribute:"font-weight",default:""}});class Nn extends Dn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ToggleButtonsModel",_view_name:"ToggleButtonsView"})}}class zn extends c{initialize(e){this._css_state={},super.initialize(e),this.listenTo(this.model,"change:button_style",this.update_button_style)}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-toggle-buttons"),this.buttongroup=document.createElement("div"),this.el.appendChild(this.buttongroup),this.update(),this.set_button_style()}update(e){let t=this,n=this.model.get("_options_labels"),i=this.model.get("icons")||[],r=this.model.previous("icons")||[],o=zn.classMap[this.model.previous("button_style")]||"",a=t.model.get("tooltips")||[],l=this.model.get("disabled"),d=this.buttongroup.querySelectorAll("button"),c=p.pluck(d,"value"),u=!1;for(let e=0,t=n.length;e<t;++e)if(c[e]!==n[e]||i[e]!==r[e]){u=!0;break}return!u||void 0!==e&&e.updated_view===this||(this.buttongroup.textContent="",n.forEach(((e,n)=>{let r;r=0!==e.trim().length||i[n]&&0!==i[n].trim().length?s(e):" ";let d=document.createElement("i"),c=document.createElement("button");i[n]&&(d.className="fa fa-"+i[n]),c.setAttribute("type","button"),c.className="widget-toggle-button jupyter-button",o&&c.classList.add(o),c.innerHTML=r,c.setAttribute("data-value",encodeURIComponent(e)),c.setAttribute("value",n.toString()),c.appendChild(d),c.disabled=l,a[n]&&c.setAttribute("title",a[n]),t.update_style_traits(c),t.buttongroup.appendChild(c)}))),n.forEach((function(e,n){let i='[data-value="'+encodeURIComponent(e)+'"]',r=t.buttongroup.querySelector(i);t.model.get("index")===n?r.classList.add("mod-active"):r.classList.remove("mod-active")})),this.stylePromise.then((function(e){e&&e.style()})),super.update(e)}update_style_traits(e){for(let t in this._css_state)if(this._css_state.hasOwnProperty(t))if("margin"===t)this.buttongroup.style[t]=this._css_state[t];else if("width"!==t)if(e)e.style[t]=this._css_state[t];else{let e=this.buttongroup.querySelectorAll("button");e.length&&(e[0].style[t]=this._css_state[t])}}update_button_style(){let e=this.buttongroup.querySelectorAll("button");for(let t=0;t<e.length;t++)this.update_mapped_classes(zn.classMap,"button_style",e[t])}set_button_style(){let e=this.buttongroup.querySelectorAll("button");for(let t=0;t<e.length;t++)this.set_mapped_classes(zn.classMap,"button_style",e[t])}events(){return{"click button":"_handle_click"}}_handle_click(e){let t=e.target;this.model.set("index",parseInt(t.value,10),{updated_view:this}),this.touch(),this.send({event:"click"})}}!function(e){e.classMap={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]}}(zn||(zn={}));class Fn extends Dn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionSliderModel",_view_name:"SelectionSliderView",orientation:"horizontal",readout:!0,continuous_update:!0})}}class qn extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-hslider"),this.el.classList.add("widget-slider"),(this.$slider=At()("<div />")).slider({slide:this.handleSliderChange.bind(this),stop:this.handleSliderChanged.bind(this)}).addClass("slider"),this.slider_container=document.createElement("div"),this.slider_container.classList.add("slider-container"),this.slider_container.appendChild(this.$slider[0]),this.el.appendChild(this.slider_container),this.readout=document.createElement("div"),this.el.appendChild(this.readout),this.readout.classList.add("widget-readout"),this.readout.style.display="none",this.listenTo(this.model,"change:slider_color",((e,t)=>{this.$slider.find("a").css("background",t)})),this.$slider.find("a").css("background",this.model.get("slider_color")),this.update()}update(e){if(void 0===e||e.updated_view!==this){let e=this.model.get("_options_labels").length-1,t=0;this.$slider.slider("option","step",1),this.$slider.slider("option","max",e),this.$slider.slider("option","min",t);let n=this.model.get("orientation");this.$slider.slider("option","value",t),this.$slider.slider("option","orientation",n);let i=this.model.get("disabled");this.$slider.slider("option","disabled",i),this.readout.contentEditable=i?"false":"true","vertical"===n?(this.el.classList.remove("widget-hslider"),this.el.classList.remove("widget-inline-hbox"),this.el.classList.add("widget-vslider"),this.el.classList.add("widget-inline-vbox")):(this.el.classList.remove("widget-vslider"),this.el.classList.remove("widget-inline-vbox"),this.el.classList.add("widget-hslider"),this.el.classList.add("widget-inline-hbox"));let r=this.model.get("readout");this.readout.style.display=r?"":"none",this.updateSelection()}return super.update(e)}events(){return{slide:"handleSliderChange",slidestop:"handleSliderChanged"}}updateSelection(){let e=this.model.get("index");this.$slider.slider("option","value",e),this.updateReadout(e)}updateReadout(e){let t=this.model.get("_options_labels")[e];this.readout.textContent=t}handleSliderChange(e,t){this.updateReadout(t.value),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){this.updateReadout(t.value),this.model.set("index",t.value,{updated_view:this}),this.touch()}}class Un extends Dn{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"MultipleSelectionModel"})}}class $n extends Un{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectMultipleModel",_view_name:"SelectMultipleView",rows:null})}}class Hn extends Pn{initialize(e){super.initialize(e),this.listbox.multiple=!0}render(){super.render(),this.el.classList.add("widget-select-multiple")}updateSelection(e={}){if(e.updated_view===this)return;let t=this.model.get("index")||[],n=this.listbox.options;this.listbox.selectedIndex=-1,t.forEach((e=>{n[e].selected=!0}))}_handle_change(){let e=Array.prototype.map.call(this.listbox.selectedOptions||[],(function(e){return e.index}));this.model.set("index",e,{updated_view:this}),this.touch()}}class Wn extends Un{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SelectionSliderModel",_view_name:"SelectionSliderView",orientation:"horizontal",readout:!0,continuous_update:!0})}}class Vn extends qn{render(){super.render(),this.$slider.slider("option","range",!0)}updateSelection(){let e=this.model.get("index");this.$slider.slider("option","values",e.slice()),this.updateReadout(e)}updateReadout(e){let t=this.model.get("_options_labels"),n=t[e[0]],i=t[e[1]];this.readout.textContent=`${n}-${i}`}handleSliderChange(e,t){this.updateReadout(t.values),this.model.get("continuous_update")&&this.handleSliderChanged(e,t)}handleSliderChanged(e,t){this.updateReadout(t.values),this.model.set("index",t.values.slice(),{updated_view:this}),this.touch()}}class Gn extends ze{constructor(){super(...arguments),this._widgetRemoved=new X(this)}get widgetRemoved(){return this._widgetRemoved}onChildRemoved(e){this._widgetRemoved.emit(e.child)}}class Kn extends ke{constructor(e={}){super(),this._currentChanged=new X(this),this.addClass("p-TabPanel"),this.tabBar=new et(e),this.tabBar.addClass("p-TabPanel-tabBar"),this.tabContents=new Gn,this.tabContents.addClass("p-TabPanel-tabContents"),this.tabBar.tabMoved.connect(this._onTabMoved,this),this.tabBar.currentChanged.connect(this._onCurrentChanged,this),this.tabBar.tabCloseRequested.connect(this._onTabCloseRequested,this),this.tabBar.tabActivateRequested.connect(this._onTabActivateRequested,this),this.tabContents.widgetRemoved.connect(this._onWidgetRemoved,this);let t=new Ie;t.addWidget(this.tabBar),t.addWidget(this.tabContents),this.layout=t}get currentChanged(){return this._currentChanged}get currentIndex(){const e=this.tabBar.currentIndex;return-1===e?null:e}set currentIndex(e){this.tabBar.currentIndex=null===e?-1:e}get currentWidget(){let e=this.tabBar.currentTitle;return e?e.owner:null}set currentWidget(e){this.tabBar.currentTitle=e?e.title:null}get tabsMovable(){return this.tabBar.tabsMovable}set tabsMovable(e){this.tabBar.tabsMovable=e}get widgets(){return this.tabContents.widgets}addWidget(e){this.insertWidget(this.widgets.length,e)}insertWidget(e,t){t!==this.currentWidget&&t.hide(),this.tabContents.insertWidget(e,t),this.tabBar.insertTab(e,t.title)}_onCurrentChanged(e,t){let{previousIndex:n,previousTitle:i,currentIndex:r,currentTitle:o}=t,s=i?i.owner:null,a=o?o.owner:null;s&&s.hide(),a&&a.show(),this._currentChanged.emit({previousIndex:n,previousWidget:s,currentIndex:r,currentWidget:a}),(K.OD.IS_EDGE||K.OD.IS_IE)&&G.Mu.flush()}_onTabActivateRequested(e,t){t.title.owner.activate()}_onTabCloseRequested(e,t){t.title.owner.close()}_onTabMoved(e,t){this.tabContents.insertWidget(t.toIndex,t.title.owner)}_onWidgetRemoved(e,t){this.tabBar.removeTab(t.title)}}class Yn{constructor(e,t={}){this._array=null,this._value=null,this._previousValue=null,this._selectionChanged=new X(this),this._array=e,this._insertBehavior=t.insertBehavior||"select-item-if-needed",this._removeBehavior=t.removeBehavior||"select-item-after"}get selectionChanged(){return this._selectionChanged}adjustSelectionForSet(e){let t=this.index,n=this.value;if(e!==t)return;this._updateSelectedValue();let i=this.value;this._previousValue=null,n!==i&&this._selectionChanged.emit({previousIndex:t,previousValue:n,currentIndex:t,currentValue:i})}get value(){return this._value}set value(e){this.index=null===e?null:f.firstIndexOf(this._array,e)}get index(){return this._index}set index(e){let t;if(null!==e?(t=Math.floor(e),(t<0||t>=this._array.length)&&(t=null)):t=null,this._index===t)return;let n=this._index,i=this._value;this._index=t,this._updateSelectedValue(),this._previousValue=i,this._selectionChanged.emit({previousIndex:n,previousValue:i,currentIndex:t,currentValue:this._value})}get insertBehavior(){return this._insertBehavior}set insertBehavior(e){this._insertBehavior=e}get removeBehavior(){return this._removeBehavior}set removeBehavior(e){this._removeBehavior=e}adjustSelectionForInsert(e,t){let n=this._value,i=this._index,r=this._insertBehavior;if("select-item"===r||"select-item-if-needed"===r&&null===i)return this._index=e,this._value=t,this._previousValue=n,void this._selectionChanged.emit({previousIndex:i,previousValue:n,currentIndex:e,currentValue:t});i>=e&&this._index++}adjustSelectionForMove(e,t){this._index===e?this._index=t:this._index<e&&this._index>=t?this._index++:this._index>e&&this._index<=t&&this._index--}clearSelection(){let e=this._index,t=this._value;this._index=null,this._value=null,this._previousValue=null,null!==e&&this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value})}adjustSelectionForRemove(e,t){let n=this._index,i=this._removeBehavior;if(n===e){if(0===this._array.length)return this._index=null,this._value=null,this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-item-after"===i)return this._index=Math.min(e,this._array.length-1),this._updateSelectedValue(),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-item-before"===i)return this._index=Math.max(0,e-1),this._updateSelectedValue(),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value});if("select-previous-item"===i)return this._previousValue?this.value=this._previousValue:(this._index=Math.min(e,this._array.length-1),this._updateSelectedValue()),this._previousValue=null,void this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this.value});this._index=null,this._value=null,this._previousValue=null,this._selectionChanged.emit({previousIndex:e,previousValue:t,currentIndex:this._index,currentValue:this._value})}else n>e&&this._index--}_updateSelectedValue(){let e=this._index;this._value=null!==e?this._array[e]:null}}const Jn="p-Collapse-open";class Xn extends ke{constructor(e){super(e),this._collapseChanged=new X(this),this.addClass("p-Collapse"),this._header=new ke,this._header.addClass("p-Collapse-header"),this._header.node.addEventListener("click",this);const t=document.createElement("i");t.classList.add("fa","fa-fw","fa-caret-right"),this._header.node.appendChild(t),this._header.node.appendChild(document.createElement("span")),this._content=new ze,this._content.addClass("p-Collapse-contents");let n=new Ie;this.layout=n,n.addWidget(this._header),n.addWidget(this._content),e.widget&&(this.widget=e.widget),this.collapsed=!1}dispose(){this.isDisposed||(super.dispose(),this._header=null,this._widget=null,this._content=null)}get widget(){return this._widget}set widget(e){let t=this._widget;t&&(t.disposed.disconnect(this._onChildDisposed,this),t.title.changed.disconnect(this._onTitleChanged,this),t.parent=null),this._widget=e,e.disposed.connect(this._onChildDisposed,this),e.title.changed.connect(this._onTitleChanged,this),this._onTitleChanged(e.title),this._content.addWidget(e)}get collapsed(){return this._collapsed}set collapsed(e){e!==this._collapsed&&(e?this._collapse():this._uncollapse())}toggle(){this.collapsed=!this.collapsed}get collapseChanged(){return this._collapseChanged}_collapse(){this._collapsed=!0,this._content&&this._content.hide(),this.removeClass(Jn),this._header.node.children[0].classList.add("fa-caret-right"),this._header.node.children[0].classList.remove("fa-caret-down"),this._collapseChanged.emit(void 0)}_uncollapse(){this._collapsed=!1,this._content&&this._content.show(),this.addClass(Jn),this._header.node.children[0].classList.add("fa-caret-down"),this._header.node.children[0].classList.remove("fa-caret-right"),this._collapseChanged.emit(void 0)}handleEvent(e){"click"===e.type&&this._evtClick(e)}_evtClick(e){this.toggle()}_onTitleChanged(e){this._header.node.children[1].textContent=this._widget.title.label}_onChildDisposed(e){this.dispose()}}const Zn="p-Accordion-child-active";class Qn extends ze{constructor(e){super(e),this._selection=new Yn(this.widgets),this._selection.selectionChanged.connect(this._onSelectionChanged,this),this.addClass("p-Accordion")}get collapseWidgets(){return this.layout.widgets}get selection(){return this._selection}indexOf(e){return f.findFirstIndex(this.collapseWidgets,(t=>t.widget===e))}addWidget(e){let t=this._wrapWidget(e);return t.collapsed=!0,super.addWidget(t),this._selection.adjustSelectionForInsert(this.widgets.length-1,t),t}insertWidget(e,t){let n=this._wrapWidget(t);n.collapsed=!0,super.insertWidget(e,n),this._selection.adjustSelectionForInsert(e,n)}removeWidget(e){let t=this.indexOf(e);if(t>=0){let n=this.collapseWidgets[t];e.parent=null,n.dispose(),this._selection.adjustSelectionForRemove(t,null)}}_wrapWidget(e){let t=new Xn({widget:e});return t.addClass("p-Accordion-child"),t.collapseChanged.connect(this._onCollapseChange,this),t}_onCollapseChange(e){e.collapsed?this._selection.value===e&&e.collapsed&&(this._selection.value=null):this._selection.value=e}_onSelectionChanged(e,t){let n=t.previousValue,i=t.currentValue;n&&(n.collapsed=!0,n.removeClass(Zn)),i&&(i.collapsed=!1,i.addClass(Zn))}}class ei extends mt{defaults(){return p.extend(super.defaults(),{_model_name:"SelectionContainerModel",selected_index:0,_titles:{}})}}class ti extends ei{defaults(){return p.extend(super.defaults(),{_model_name:"AccordionModel",_view_name:"AccordionView"})}}class ni extends Qn{constructor(e){let t=e.view;delete e.view,super(e),this._view=t}processMessage(e){super.processMessage(e),this._view.processPhosphorMessage(e)}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}}class ii extends i.DOMWidgetView{_createElement(e){return this.pWidget=new ni({view:this}),this.pWidget.node}_setElement(e){if(this.el||e!==this.pWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.pWidget.node,this.$el=At()(this.pWidget.node)}initialize(e){super.initialize(e),this.children_views=new i.ViewList(this.add_child_view,this.remove_child_view,this),this.listenTo(this.model,"change:children",(()=>this.updateChildren())),this.listenTo(this.model,"change:selected_index",(()=>this.update_selected_index())),this.listenTo(this.model,"change:_titles",(()=>this.update_titles()))}render(){super.render();let e=this.pWidget;e.addClass("jupyter-widgets"),e.addClass("widget-accordion"),e.addClass("widget-container"),e.selection.selectionChanged.connect((t=>{this.updatingChildren||(this.model.set("selected_index",e.selection.index),this.touch())})),this.children_views.update(this.model.get("children")),this.update_titles(),this.update_selected_index()}updateChildren(){this.updatingChildren=!0,this.pWidget.selection.index=null,this.children_views.update(this.model.get("children")),this.update_selected_index(),this.updatingChildren=!1}update_titles(){let e=this.pWidget.collapseWidgets,t=this.model.get("_titles");for(let n=0;n<e.length;n++)void 0!==t[n]&&(e[n].widget.title.label=t[n])}update_selected_index(){this.pWidget.selection.index=this.model.get("selected_index")}remove_child_view(e){this.pWidget.removeWidget(e.pWidget),e.remove()}add_child_view(e,t){let n=this.pWidget,i=new ke;return i.title.label=this.model.get("_titles")[t]||"",n.addWidget(i),this.create_child_view(e).then((e=>{let t=e.pWidget;return t.title.label=i.title.label,n.collapseWidgets[n.indexOf(i)].widget=t,i.dispose(),e})).catch(r("Could not add child view to box",!0))}remove(){this.children_views=null,super.remove()}}class ri extends ei{defaults(){return p.extend(super.defaults(),{_model_name:"TabModel",_view_name:"TabView"})}}class oi extends Kn{constructor(e){let t=e.view;delete e.view,super(e),this._view=t,G.Mu.installMessageHook(this.tabContents,((e,t)=>(this._view.processPhosphorMessage(t),!0)))}dispose(){this.isDisposed||(super.dispose(),this._view&&this._view.remove(),this._view=null)}}class si extends i.DOMWidgetView{constructor(){super(...arguments),this.updatingTabs=!1}_createElement(e){return this.pWidget=new oi({view:this}),this.pWidget.node}_setElement(e){if(this.el||e!==this.pWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.pWidget.node,this.$el=At()(this.pWidget.node)}initialize(e){super.initialize(e),this.childrenViews=new i.ViewList(this.addChildView,(e=>{e.remove()}),this),this.listenTo(this.model,"change:children",(()=>this.updateTabs())),this.listenTo(this.model,"change:_titles",(()=>this.updateTitles()))}render(){super.render();let e=this.pWidget;e.addClass("jupyter-widgets"),e.addClass("widget-container"),e.addClass("widget-tab"),e.tabsMovable=!0,e.tabBar.insertBehavior="none",e.tabBar.currentChanged.connect(this._onTabChanged,this),e.tabBar.tabMoved.connect(this._onTabMoved,this),e.tabBar.addClass("widget-tab-bar"),e.tabContents.addClass("widget-tab-contents"),e.tabBar.tabsMovable=!1,this.updateTabs(),this.update()}updateTabs(){this.updatingTabs=!0,this.pWidget.currentIndex=null,this.childrenViews.update(this.model.get("children")),this.pWidget.currentIndex=this.model.get("selected_index"),this.updatingTabs=!1}addChildView(e,t){let n=this.model.get("_titles")[t]||"",i=this.pWidget,o=new ke;return o.title.label=n,i.addWidget(o),this.create_child_view(e).then((e=>{let t=e.pWidget;t.title.label=o.title.label,t.title.closable=!1;let n=f.firstIndexOf(i.widgets,o);return i.insertWidget(n+1,t),o.dispose(),e})).catch(r("Could not add child view to box",!0))}update(){return this.updateSelectedIndex(),super.update()}updateTitles(){let e=this.model.get("_titles")||{};S(this.pWidget.widgets,((t,n)=>{t.title.label=e[n]||""}))}updateSelectedIndex(){this.pWidget.currentIndex=this.model.get("selected_index")}remove(){this.childrenViews=null,super.remove()}_onTabChanged(e,t){if(!this.updatingTabs){let e=t.currentIndex;this.model.set("selected_index",-1===e?null:e),this.touch()}}_onTabMoved(e,t){let n=this.model.get("children").slice();f.move(n,t.fromIndex,t.toIndex),this.model.set("children",n),this.touch()}}class ai extends g{defaults(){return p.extend(super.defaults(),{value:"",disabled:!1,placeholder:"",_model_name:"StringModel"})}}class li extends ai{defaults(){return p.extend(super.defaults(),{_view_name:"HTMLView",_model_name:"HTMLModel"})}}class di extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-html"),this.content=document.createElement("div"),this.content.classList.add("widget-html-content"),this.el.appendChild(this.content),this.update()}update(){return this.content.innerHTML=this.model.get("value"),super.update()}}class ci extends ai{defaults(){return p.extend(super.defaults(),{_view_name:"HTMLMathView",_model_name:"HTMLMathModel"})}}class ui extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-htmlmath"),this.content=document.createElement("div"),this.content.classList.add("widget-htmlmath-content"),this.el.appendChild(this.content),this.update()}update(){return this.content.innerHTML=this.model.get("value"),this.typeset(this.content),super.update()}}class hi extends ai{defaults(){return p.extend(super.defaults(),{_view_name:"LabelView",_model_name:"LabelModel"})}}class fi extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-label"),this.update()}update(){return this.typeset(this.el,this.model.get("value")),super.update()}}class pi extends ai{defaults(){return p.extend(super.defaults(),{_view_name:"TextareaView",_model_name:"TextareaModel",rows:null,continuous_update:!0})}}class Ai extends c{render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-textarea"),this.textbox=document.createElement("textarea"),this.textbox.setAttribute("rows","5"),this.textbox.id=this.label.htmlFor=(0,i.uuid)(),this.el.appendChild(this.textbox),this.update(),this.listenTo(this.model,"change:placeholder",((e,t,n)=>{this.update_placeholder(t)})),this.update_placeholder()}update_placeholder(e){e=e||this.model.get("placeholder"),this.textbox.setAttribute("placeholder",e.toString())}update(e){if(void 0===e||e.updated_view!=this){this.textbox.value=this.model.get("value");let e=this.model.get("rows");null===e&&(e=""),this.textbox.setAttribute("rows",e),this.textbox.disabled=this.model.get("disabled")}return super.update()}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","input textarea":"handleChanging","change textarea":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){e.stopPropagation()}handleChanging(e){this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){let t=e.target;this.model.set("value",t.value,{updated_view:this}),this.touch()}}class mi extends ai{defaults(){return p.extend(super.defaults(),{_view_name:"TextView",_model_name:"TextModel",continuous_update:!0})}}class gi extends c{constructor(){super(...arguments),this.inputType="text"}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-inline-hbox"),this.el.classList.add("widget-text"),this.textbox=document.createElement("input"),this.textbox.setAttribute("type",this.inputType),this.textbox.id=this.label.htmlFor=(0,i.uuid)(),this.el.appendChild(this.textbox),this.update(),this.listenTo(this.model,"change:placeholder",((e,t,n)=>{this.update_placeholder(t)})),this.listenTo(this.model,"change:description_tooltip",this.update_title),this.listenTo(this.model,"change:description",this.update_title),this.update_placeholder(),this.update_title()}update_placeholder(e){this.textbox.setAttribute("placeholder",e||this.model.get("placeholder"))}update_title(){let e=this.model.get("description_tooltip");e?0===this.model.get("description").length&&this.textbox.setAttribute("title",e):this.textbox.removeAttribute("title")}update(e){return void 0!==e&&e.updated_view===this||(this.textbox.value!==this.model.get("value")&&(this.textbox.value=this.model.get("value")),this.textbox.disabled=this.model.get("disabled")),super.update()}events(){return{"keydown input":"handleKeyDown","keypress input":"handleKeypress","input input":"handleChanging","change input":"handleChanged"}}handleKeyDown(e){e.stopPropagation()}handleKeypress(e){e.stopPropagation(),13===e.keyCode&&this.send({event:"submit"})}handleChanging(e){this.model.get("continuous_update")&&this.handleChanged(e)}handleChanged(e){let t=e.target;this.model.set("value",t.value,{updated_view:this}),this.touch()}}class bi extends mi{defaults(){return p.extend(super.defaults(),{_view_name:"PasswordView",_model_name:"PasswordModel"})}}class vi extends gi{constructor(){super(...arguments),this.inputType="password"}}class Ci extends mi{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"ComboboxModel",_view_name:"ComboboxView",options:[],ensure_options:!1})}}class yi extends gi{constructor(){super(...arguments),this.isInitialRender=!0}render(){this.datalist=document.createElement("datalist"),this.datalist.id=(0,i.uuid)(),super.render(),this.textbox.setAttribute("list",this.datalist.id),this.el.appendChild(this.datalist)}update(e){if(super.update(e),!this.datalist)return;const t=this.isValid(this.model.get("value"));if(this.highlightValidState(t),void 0!==e&&e.updated_view||!this.model.hasChanged("options")&&!this.isInitialRender)return;this.isInitialRender=!1;const n=this.model.get("options").map((e=>`<option value="${e}"></option>`));this.datalist.innerHTML=n.join("\n")}isValid(e){return!0!==this.model.get("ensure_option")||-1!==this.model.get("options").indexOf(e)}handleChanging(e){const t=e.target,n=this.isValid(t.value);this.highlightValidState(n),n&&super.handleChanging(e)}handleChanged(e){const t=e.target,n=this.isValid(t.value);this.highlightValidState(n),n&&super.handleChanged(e)}highlightValidState(e){this.textbox.classList.toggle("jpwidgets-invalidComboValue",!e)}}class wi extends m{defaults(){return p.extend(super.defaults(),{_model_name:"FileUploadModel",_view_name:"FileUploadView",_counter:0,accept:"",description:"Upload",tooltip:"",disabled:!1,icon:"upload",button_style:"",multiple:!1,metadata:[],data:[],error:"",style:null})}}wi.serializers=Object.assign(Object.assign({},m.serializers),{data:{serialize:e=>[...e]}});class _i extends i.DOMWidgetView{get tagName(){return"button"}render(){super.render(),this.el.classList.add("jupyter-widgets"),this.el.classList.add("widget-upload"),this.el.classList.add("jupyter-button"),this.fileInput=document.createElement("input"),this.fileInput.type="file",this.fileInput.style.display="none",this.el.appendChild(this.fileInput),this.el.addEventListener("click",(()=>{this.fileInput.click()})),this.fileInput.addEventListener("click",(()=>{this.fileInput.value=""})),this.fileInput.addEventListener("change",(()=>{const e=[];Array.from(this.fileInput.files).forEach((t=>{e.push(new Promise(((e,n)=>{const i={name:t.name,type:t.type,size:t.size,lastModified:t.lastModified};this.fileReader=new FileReader,this.fileReader.onload=t=>{const n=t.target.result;e({buffer:n,metadata:i,error:""})},this.fileReader.onerror=()=>{n()},this.fileReader.onabort=this.fileReader.onerror,this.fileReader.readAsArrayBuffer(t)})))})),Promise.all(e).then((e=>{const t=[],n=[];e.forEach((e=>{t.push(e.metadata),n.push(e.buffer)}));let i=this.model.get("_counter");this.model.set({_counter:i+e.length,metadata:t,data:n,error:""}),this.touch()})).catch((e=>{console.error("error in file upload: %o",e),this.model.set({error:e}),this.touch()}))})),this.listenTo(this.model,"change:button_style",this.update_button_style),this.set_button_style(),this.update()}update(){this.el.disabled=this.model.get("disabled"),this.el.setAttribute("title",this.model.get("tooltip"));let e=`${this.model.get("description")} (${this.model.get("_counter")})`,t=this.model.get("icon");if(e.length||t.length){if(this.el.textContent="",t.length){let n=document.createElement("i");n.classList.add("fa"),n.classList.add("fa-"+t),0===e.length&&n.classList.add("center"),this.el.appendChild(n)}this.el.appendChild(document.createTextNode(e))}return this.fileInput.accept=this.model.get("accept"),this.fileInput.multiple=this.model.get("multiple"),super.update()}update_button_style(){this.update_mapped_classes(_i.class_map,"button_style",this.el)}set_button_style(){this.set_mapped_classes(_i.class_map,"button_style",this.el)}}_i.class_map={primary:["mod-primary"],success:["mod-success"],info:["mod-info"],warning:["mod-warning"],danger:["mod-danger"]};const Bi=n(9500).rE},6605:function(e,t){!function(e){"use strict";e.JSONExt=void 0,function(e){function t(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e}function n(e){return Array.isArray(e)}function i(e,r){if(e===r)return!0;if(t(e)||t(r))return!1;var o=n(e),s=n(r);return o===s&&(o&&s?function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;++n)if(!i(e[n],t[n]))return!1;return!0}(e,r):function(e,t){if(e===t)return!0;for(var n in e)if(void 0!==e[n]&&!(n in t))return!1;for(var n in t)if(void 0!==t[n]&&!(n in e))return!1;for(var n in e){var r=e[n],o=t[n];if(void 0!==r||void 0!==o){if(void 0===r||void 0===o)return!1;if(!i(r,o))return!1}}return!0}(e,r))}function r(e){return t(e)?e:n(e)?function(e){for(var t=new Array(e.length),n=0,i=e.length;n<i;++n)t[n]=r(e[n]);return t}(e):function(e){var t={};for(var n in e){var i=e[n];void 0!==i&&(t[n]=r(i))}return t}(e)}e.emptyObject=Object.freeze({}),e.emptyArray=Object.freeze([]),e.isPrimitive=t,e.isArray=n,e.isObject=function(e){return!t(e)&&!n(e)},e.deepEqual=i,e.deepCopy=r}(e.JSONExt||(e.JSONExt={}));var t,n=function(){function e(){this._types=[],this._values=[]}return e.prototype.types=function(){return this._types.slice()},e.prototype.hasData=function(e){return-1!==this._types.indexOf(e)},e.prototype.getData=function(e){var t=this._types.indexOf(e);return-1!==t?this._values[t]:void 0},e.prototype.setData=function(e,t){this.clearData(e),this._types.push(e),this._values.push(t)},e.prototype.clearData=function(e){var t=this._types.indexOf(e);-1!==t&&(this._types.splice(t,1),this._values.splice(t,1))},e.prototype.clear=function(){this._types.length=0,this._values.length=0},e}(),i=function(){function e(){var e=this;this.promise=new Promise((function(t,n){e._resolve=t,e._reject=n}))}return e.prototype.resolve=function(e){(0,this._resolve)(e)},e.prototype.reject=function(e){(0,this._reject)(e)},e}(),r=function(e){this.name=e,this._tokenStructuralPropertyT=null};e.Random=void 0,(e.Random||(e.Random={})).getRandomValues=(t="undefined"!=typeof window&&(window.crypto||window.msCrypto)||null)&&"function"==typeof t.getRandomValues?function(e){return t.getRandomValues(e)}:function(e){for(var t=0,n=0,i=e.length;n<i;++n)n%4==0&&(t=4294967295*Math.random()>>>0),e[n]=255&t,t>>>=8},e.UUID=void 0,(e.UUID||(e.UUID={})).uuid4=function(e){for(var t=new Uint8Array(16),n=new Array(256),i=0;i<16;++i)n[i]="0"+i.toString(16);for(i=16;i<256;++i)n[i]=i.toString(16);return function(){return e(t),t[6]=64|15&t[6],t[8]=128|63&t[8],n[t[0]]+n[t[1]]+n[t[2]]+n[t[3]]+"-"+n[t[4]]+n[t[5]]+"-"+n[t[6]]+n[t[7]]+"-"+n[t[8]]+n[t[9]]+"-"+n[t[10]]+n[t[11]]+n[t[12]]+n[t[13]]+n[t[14]]+n[t[15]]}}(e.Random.getRandomValues),e.MimeData=n,e.PromiseDelegate=i,e.Token=r,Object.defineProperty(e,"__esModule",{value:!0})}(t)},1622:(e,t,n)=>{const i=n(5482),r=n(2189),{isPlainObject:o}=n(993),s=n(2743),a=n(8287),{parse:l}=n(9274),d=["img","audio","video","picture","svg","object","map","iframe","embed"],c=["script","style"];function u(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function h(e,t){return{}.hasOwnProperty.call(e,t)}function f(e,t){const n=[];return u(e,(function(e){t(e)&&n.push(e)})),n}e.exports=A;const p=/^[^\0\t\n\f\r /<=>]+$/;function A(e,t,n){if(null==e)return"";"number"==typeof e&&(e=e.toString());let g="",b="";function v(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=g.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){D.length&&(D[D.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){D.length&&d.includes(this.tag)&&D[D.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},A.defaults,t)).parser=Object.assign({},m,t.parser);const C=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};c.forEach((function(e){C(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const y=t.nonTextTags||["script","style","textarea","option"];let w,_;t.allowedAttributes&&(w={},_={},u(t.allowedAttributes,(function(e,t){w[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(r(e).replace(/\\\*/g,".*")):w[t].push(e)})),n.length&&(_[t]=new RegExp("^("+n.join("|")+")$"))})));const B={},E={},x={};u(t.allowedClasses,(function(e,t){if(w&&(h(w,t)||(w[t]=[]),w[t].push("class")),B[t]=e,Array.isArray(e)){const n=[];B[t]=[],x[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(r(e).replace(/\\\*/g,".*")):e instanceof RegExp?x[t].push(e):B[t].push(e)})),n.length&&(E[t]=new RegExp("^("+n.join("|")+")$"))}}));const k={};let T,j,D,S,I,M,P;u(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=A.simpleTransform(e)),"*"===t?T=n:k[t]=n}));let R=!1;L();const O=new i.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&L(),M)return void P++;const i=new v(e,n);D.push(i);let r=!1;const d=!!i.text;let c;if(h(k,e)&&(c=k[e](e,n),i.attribs=n=c.attribs,void 0!==c.text&&(i.innerText=c.text),e!==c.tagName&&(i.name=e=c.tagName,I[j]=c.tagName)),T&&(c=T(e,n),i.attribs=n=c.attribs,e!==c.tagName&&(i.name=e=c.tagName,I[j]=c.tagName)),(!C(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(h(e,t))return!1;return!0}(S)||null!=t.nestingLimit&&j>=t.nestingLimit)&&(r=!0,S[j]=!0,"discard"===t.disallowedTagsMode&&-1!==y.indexOf(e)&&(M=!0,P=1),S[j]=!0),j++,r){if("discard"===t.disallowedTagsMode)return;b=g,g=""}g+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(i.innerText=""),(!w||h(w,e)||w["*"])&&u(n,(function(n,r){if(!p.test(r))return void delete i.attribs[r];if(""===n&&!t.allowedEmptyAttributes.includes(r)&&(t.nonBooleanAttributes.includes(r)||t.nonBooleanAttributes.includes("*")))return void delete i.attribs[r];let d=!1;if(!w||h(w,e)&&-1!==w[e].indexOf(r)||w["*"]&&-1!==w["*"].indexOf(r)||h(_,e)&&_[e].test(r)||_["*"]&&_["*"].test(r))d=!0;else if(w&&w[e])for(const t of w[e])if(o(t)&&t.name&&t.name===r){d=!0;let e="";if(!0===t.multiple){const i=n.split(" ");for(const n of i)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(d){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(r)&&z(e,n))return void delete i.attribs[r];if("script"===e&&"src"===r){let e=!0;try{const i=F(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===i.url.hostname})),r=(t.allowedScriptDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=!1}if(!e)return void delete i.attribs[r]}if("iframe"===e&&"src"===r){let e=!0;try{const i=F(n);if(i.isRelativeUrl)e=h(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.url.hostname})),r=(t.allowedIframeDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=!1}if(!e)return void delete i.attribs[r]}if("srcset"===r)try{let e=a(n);if(e.forEach((function(e){z("srcset",e.url)&&(e.evil=!0)})),e=f(e,(function(e){return!e.evil})),!e.length)return void delete i.attribs[r];n=f(e,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),i.attribs[r]=n}catch(e){return void delete i.attribs[r]}if("class"===r){const t=B[e],o=B["*"],a=E[e],l=x[e],d=[a,E["*"]].concat(l).filter((function(e){return e}));if(!(c=n,u=t&&o?s(t,o):t||o,A=d,n=u?(c=c.split(/\s+/)).filter((function(e){return-1!==u.indexOf(e)||A.some((function(t){return t.test(e)}))})).join(" "):c).length)return void delete i.attribs[r]}if("style"===r)if(t.parseStyleAttributes)try{if(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let i;return i=t[n.selector]&&t["*"]?s(t[n.selector],t["*"]):t[n.selector]||t["*"],i&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return h(e,n.prop)&&e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n),t}}(i),[])),e}(l(e+" {"+n+"}",{map:!1}),t.allowedStyles)),0===n.length)return void delete i.attribs[r]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+n+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete i.attribs[r]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");g+=" "+r,n&&n.length?g+='="'+N(n,!0)+'"':t.allowedEmptyAttributes.includes(r)&&(g+='=""')}else delete i.attribs[r];var c,u,A})),-1!==t.selfClosing.indexOf(e)?g+=" />":(g+=">",!i.innerText||d||t.textFilter||(g+=N(i.innerText),R=!0)),r&&(g=b+N(g),b="")},ontext:function(e){if(M)return;const n=D[D.length-1];let i;if(n&&(i=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==i&&"style"!==i){const n=N(e,!1);t.textFilter&&!R?g+=t.textFilter(n,i):R||(g+=n)}else g+=e;D.length&&(D[D.length-1].text+=e)},onclosetag:function(e,n){if(M){if(P--,P)return;M=!1}const i=D.pop();if(!i)return;if(i.tag!==e)return void D.push(i);M=!!t.enforceHtmlBoundary&&"html"===e,j--;const r=S[j];if(r){if(delete S[j],"discard"===t.disallowedTagsMode)return void i.updateParentNodeText();b=g,g=""}I[j]&&(e=I[j],delete I[j]),t.exclusiveFilter&&t.exclusiveFilter(i)?g=g.substr(0,i.tagPosition):(i.updateParentNodeMediaChildren(),i.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||n&&!C(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?r&&(g=b,b=""):(g+="</"+e+">",r&&(g=b+N(g),b=""),R=!1))}},t.parser);return O.write(e),O.end(),g;function L(){g="",j=0,D=[],S={},I={},M=!1,P=0}function N(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,""")),e}function z(e,n){for(n=n.replace(/[\x00-\x20]+/g,"");;){const e=n.indexOf("\x3c!--");if(-1===e)break;const t=n.indexOf("--\x3e",e+4);if(-1===t)break;n=n.substring(0,e)+n.substring(t+3)}const i=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!i)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const r=i[1].toLowerCase();return h(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(r):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(r)}function F(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}const m={decodeEntities:!0};A.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},A.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(i,r){let o;if(n)for(o in t)r[o]=t[o];else r=t;return{tagName:e,attribs:r}}}},9704:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityMonitor=void 0;const i=n(3992);t.ActivityMonitor=class{constructor(e){this._timer=-1,this._timeout=-1,this._isDisposed=!1,this._activityStopped=new i.Signal(this),e.signal.connect(this._onSignalFired,this),this._timeout=e.timeout||1e3}get activityStopped(){return this._activityStopped}get timeout(){return this._timeout}set timeout(e){this._timeout=e}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,i.Signal.clearData(this))}_onSignalFired(e,t){clearTimeout(this._timer),this._sender=e,this._args=t,this._timer=setTimeout((()=>{this._activityStopped.emit({sender:this._sender,args:this._args})}),this._timeout)}}},8925:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(9704),t),r(n(9269),t),r(n(1232),t),r(n(9547),t),r(n(5964),t),r(n(9830),t),r(n(7361),t),r(n(8126),t),r(n(1796),t),r(n(1692),t)},9269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1232:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LruCache=void 0,t.LruCache=class{constructor(e={}){this._map=new Map,this._maxSize=(null==e?void 0:e.maxSize)||128}get size(){return this._map.size}clear(){this._map.clear()}get(e){const t=this._map.get(e)||null;return null!=t&&(this._map.delete(e),this._map.set(e,t)),t}set(e,t){this._map.size>=this._maxSize&&this._map.delete(this._map.keys().next().value),this._map.set(e,t)}}},9547:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MarkdownCodeBlocks=void 0,function(e){e.CODE_BLOCK_MARKER="```";const t=[".markdown",".mdown",".mkdn",".md",".mkd",".mdwn",".mdtxt",".mdtext",".text",".txt",".Rmd"];class n{constructor(e){this.startLine=e,this.code="",this.endLine=-1}}e.MarkdownCodeBlock=n,e.isMarkdown=function(e){return t.indexOf(e)>-1},e.findMarkdownCodeBlocks=function(t){if(!t||""===t)return[];const i=t.split("\n"),r=[];let o=null;for(let t=0;t<i.length;t++){const s=i[t],a=0===s.indexOf(e.CODE_BLOCK_MARKER),l=null!=o;if(a||l)if(l)o&&(a?(o.endLine=t-1,r.push(o),o=null):o.code+=s+"\n");else{o=new n(t);const i=s.indexOf(e.CODE_BLOCK_MARKER),a=s.lastIndexOf(e.CODE_BLOCK_MARKER);i!==a&&(o.code=s.substring(i+e.CODE_BLOCK_MARKER.length,a),o.endLine=t,r.push(o),o=null)}}return r}}(n||(t.MarkdownCodeBlocks=n={}))},5964:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.PageConfig=void 0;const coreutils_1=__webpack_require__(5764),minimist_1=__importDefault(__webpack_require__(9600)),url_1=__webpack_require__(1692);var PageConfig;(function(PageConfig){function getOption(name){if(configData)return configData[name]||getBodyData(name);configData=Object.create(null);let found=!1;if("undefined"!=typeof document&&document){const e=document.getElementById("jupyter-config-data");e&&(configData=JSON.parse(e.textContent||""),found=!0)}if(!found&&"undefined"!=typeof process&&process.argv)try{const cli=(0,minimist_1.default)(process.argv.slice(2)),path=__webpack_require__(9942);let fullPath="";"jupyter-config-data"in cli?fullPath=path.resolve(cli["jupyter-config-data"]):"JUPYTER_CONFIG_DATA"in process.env&&(fullPath=path.resolve(process.env.JUPYTER_CONFIG_DATA)),fullPath&&(configData=eval("require")(fullPath))}catch(e){console.error(e)}if(coreutils_1.JSONExt.isObject(configData))for(const e in configData)"string"!=typeof configData[e]&&(configData[e]=JSON.stringify(configData[e]));else configData=Object.create(null);return configData[name]||getBodyData(name)}function setOption(e,t){const n=getOption(e);return configData[e]=t,n}function getBaseUrl(){return url_1.URLExt.normalize(getOption("baseUrl")||"/")}function getTreeUrl(){return url_1.URLExt.join(getBaseUrl(),getOption("treeUrl"))}function getShareUrl(){return url_1.URLExt.normalize(getOption("shareUrl")||getBaseUrl())}function getTreeShareUrl(){return url_1.URLExt.normalize(url_1.URLExt.join(getShareUrl(),getOption("treeUrl")))}function getUrl(e){var t,n,i,r;let o=e.toShare?getShareUrl():getBaseUrl();const s=null!==(t=e.mode)&&void 0!==t?t:getOption("mode"),a=null!==(n=e.workspace)&&void 0!==n?n:getOption("workspace"),l="single-document"===s?"doc":"lab";o=url_1.URLExt.join(o,l),a!==PageConfig.defaultWorkspace&&(o=url_1.URLExt.join(o,"workspaces",encodeURIComponent(null!==(i=getOption("workspace"))&&void 0!==i?i:PageConfig.defaultWorkspace)));const d=null!==(r=e.treePath)&&void 0!==r?r:getOption("treePath");return d&&(o=url_1.URLExt.join(o,"tree",url_1.URLExt.encodeParts(d))),o}function getWsUrl(e){let t=getOption("wsUrl");if(!t){if(0!==(e=e?url_1.URLExt.normalize(e):getBaseUrl()).indexOf("http"))return"";t="ws"+e.slice(4)}return url_1.URLExt.normalize(t)}function getNBConvertURL({path:e,format:t,download:n}){const i=url_1.URLExt.encodeParts(e),r=url_1.URLExt.join(getBaseUrl(),"nbconvert",t,i);return n?r+"?download=true":r}function getToken(){return getOption("token")||getBodyData("jupyterApiToken")}function getNotebookVersion(){const e=getOption("notebookVersion");return""===e?[0,0,0]:JSON.parse(e)}PageConfig.getOption=getOption,PageConfig.setOption=setOption,PageConfig.getBaseUrl=getBaseUrl,PageConfig.getTreeUrl=getTreeUrl,PageConfig.getShareUrl=getShareUrl,PageConfig.getTreeShareUrl=getTreeShareUrl,PageConfig.getUrl=getUrl,PageConfig.defaultWorkspace="default",PageConfig.getWsUrl=getWsUrl,PageConfig.getNBConvertURL=getNBConvertURL,PageConfig.getToken=getToken,PageConfig.getNotebookVersion=getNotebookVersion;let configData=null,Extension;function getBodyData(e){if("undefined"==typeof document||!document.body)return"";const t=document.body.dataset[e];return void 0===t?"":decodeURIComponent(t)}!function(e){function t(e){try{const t=getOption(e);if(t)return JSON.parse(t)}catch(t){console.warn(`Unable to parse ${e}.`,t)}return[]}e.deferred=t("deferredExtensions"),e.disabled=t("disabledExtensions"),e.isDeferred=function(t){const n=t.indexOf(":");let i="";return-1!==n&&(i=t.slice(0,n)),e.deferred.some((e=>e===t||i&&e===i))},e.isDisabled=function(t){const n=t.indexOf(":");let i="";return-1!==n&&(i=t.slice(0,n)),e.disabled.some((e=>e===t||i&&e===i))}}(Extension=PageConfig.Extension||(PageConfig.Extension={}))})(PageConfig||(exports.PageConfig=PageConfig={}))},9830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PathExt=void 0;const i=n(9942);var r;!function(e){function t(e){return 0===e.indexOf("/")&&(e=e.slice(1)),e}e.join=function(...e){const n=i.posix.join(...e);return"."===n?"":t(n)},e.joinWithLeadingSlash=function(...e){const t=i.posix.join(...e);return"."===t?"":t},e.basename=function(e,t){return i.posix.basename(e,t)},e.dirname=function(e){const n=t(i.posix.dirname(e));return"."===n?"":n},e.extname=function(e){return i.posix.extname(e)},e.normalize=function(e){return""===e?"":t(i.posix.normalize(e))},e.resolve=function(...e){return t(i.posix.resolve(...e))},e.relative=function(e,n){return t(i.posix.relative(e,n))},e.normalizeExtension=function(e){return e.length>0&&0!==e.indexOf(".")&&(e=`.${e}`),e},e.removeSlash=t}(r||(t.PathExt=r={}))},7361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signalToPromise=void 0;const i=n(5764);t.signalToPromise=function(e,t){const n=new i.PromiseDelegate;function r(){e.disconnect(o)}function o(e,t){r(),n.resolve([e,t])}return e.connect(o),(null!=t?t:0)>0&&setTimeout((()=>{r(),n.reject(`Signal not emitted within ${t} ms.`)}),t),n.promise}},8126:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0,function(e){e.jsIndexToCharIndex=function(e,t){return e},e.charIndexToJsIndex=function(e,t){return e},e.camelCase=function(e,t=!1){return e.replace(/^(\w)|[\s-_:]+(\w)/g,(function(e,n,i){return i?i.toUpperCase():t?n.toUpperCase():n.toLowerCase()}))},e.titleCase=function(e){return(e||"").toLowerCase().split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ")}}(n||(t.Text=n={}))},1796:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Time=void 0;const n=[{name:"years",milliseconds:31536e6},{name:"months",milliseconds:2592e6},{name:"days",milliseconds:864e5},{name:"hours",milliseconds:36e5},{name:"minutes",milliseconds:6e4},{name:"seconds",milliseconds:1e3}];var i;!function(e){e.formatHuman=function(e,t="long"){const i=document.documentElement.lang||"en",r=new Intl.RelativeTimeFormat(i,{numeric:"auto",style:t}),o=new Date(e).getTime()-Date.now();for(let e of n){const t=Math.ceil(o/e.milliseconds);if(0!==t)return r.format(t,e.name)}return r.format(0,"seconds")},e.format=function(e){const t=document.documentElement.lang||"en";return new Intl.DateTimeFormat(t,{dateStyle:"short",timeStyle:"short"}).format(new Date(e))}}(i||(t.Time=i={}))},1692:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.URLExt=void 0;const r=n(9942),o=i(n(2225));var s;!function(e){function t(e){if("undefined"!=typeof document&&document){const t=document.createElement("a");return t.href=e,t}return(0,o.default)(e)}function n(...e){let t=(0,o.default)(e[0],{});const n=""===t.protocol&&t.slashes;n&&(t=(0,o.default)(e[0],"https:"+e[0]));const i=`${n?"":t.protocol}${t.slashes?"//":""}${t.auth}${t.auth?"@":""}${t.host}`,s=r.posix.join(`${i&&"/"!==t.pathname[0]?"/":""}${t.pathname}`,...e.slice(1));return`${i}${"."===s?"":s}`}e.parse=t,e.getHostName=function(e){return(0,o.default)(e).hostname},e.normalize=function(e){return e&&t(e).toString()},e.join=n,e.encodeParts=function(e){return n(...e.split("/").map(encodeURIComponent))},e.objectToQueryString=function(e){const t=Object.keys(e).filter((e=>e.length>0));return t.length?"?"+t.map((t=>{const n=encodeURIComponent(String(e[t]));return t+(n?"="+n:"")})).join("&"):""},e.queryStringToObject=function(e){return e.replace(/^\?/,"").split("&").reduce(((e,t)=>{const[n,i]=t.split("=");return n.length>0&&(e[n]=decodeURIComponent(i||"")),e}),{})},e.isLocal=function(e,n=!1){const{protocol:i}=t(e);return(!i||0!==e.toLowerCase().indexOf(i))&&(n?0!==e.indexOf("//"):0!==e.indexOf("/"))}}(s||(t.URLExt=s={}))},3867:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseManager=void 0;const i=n(3992),r=n(2920);t.BaseManager=class{constructor(e){var t;this._isDisposed=!1,this._disposed=new i.Signal(this),this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:r.ServerConnection.makeSettings()}get disposed(){return this._disposed}get isDisposed(){return this._isDisposed}get isActive(){return!0}dispose(){this.isDisposed||(this._isDisposed=!0,this._disposed.emit(void 0),i.Signal.clearData(this))}}},4219:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BuildManager=void 0;const i=n(8925),r=n(2920);t.BuildManager=class{constructor(e={}){var t;this._url="",this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:r.ServerConnection.makeSettings();const{baseUrl:n,appUrl:o}=this.serverSettings;this._url=i.URLExt.join(n,o,"api/build")}get isAvailable(){return"true"===i.PageConfig.getOption("buildAvailable").toLowerCase()}get shouldCheck(){return"true"===i.PageConfig.getOption("buildCheck").toLowerCase()}getStatus(){const{_url:e,serverSettings:t}=this;return r.ServerConnection.makeRequest(e,{},t).then((e=>{if(200!==e.status)throw new r.ServerConnection.ResponseError(e);return e.json()})).then((e=>{if("string"!=typeof e.status)throw new Error("Invalid data");if("string"!=typeof e.message)throw new Error("Invalid data");return e}))}build(){const{_url:e,serverSettings:t}=this;return r.ServerConnection.makeRequest(e,{method:"POST"},t).then((e=>{if(400===e.status)throw new r.ServerConnection.ResponseError(e,"Build aborted");if(200!==e.status){const t=`Build failed with ${e.status}.\n\n If you are experiencing the build failure after installing an extension (or trying to include previously installed extension after updating JupyterLab) please check the extension repository for new installation instructions as many extensions migrated to the prebuilt extensions system which no longer requires rebuilding JupyterLab (but uses a different installation procedure, typically involving a package manager such as 'pip' or 'conda').\n\n If you specifically intended to install a source extension, please run 'jupyter lab build' on the server for full output.`;throw new r.ServerConnection.ResponseError(e,t)}}))}cancel(){const{_url:e,serverSettings:t}=this;return r.ServerConnection.makeRequest(e,{method:"DELETE"},t).then((e=>{if(204!==e.status)throw new r.ServerConnection.ResponseError(e)}))}}},2170:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigWithDefaults=t.ConfigSection=void 0;const i=n(8925),r=n(7883);var o;!function(e){e.create=function(e){const t=new s(e);return t.load().then((()=>t))}}(o||(t.ConfigSection=o={}));class s{constructor(e){var t;this._url="unknown";const n=this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:r.ServerConnection.makeSettings();this._url=i.URLExt.join(n.baseUrl,"api/config",encodeURIComponent(e.name))}get data(){return this._data}async load(){const e=await r.ServerConnection.makeRequest(this._url,{},this.serverSettings);if(200!==e.status)throw await r.ServerConnection.ResponseError.create(e);this._data=await e.json()}async update(e){this._data={...this._data,...e};const t={method:"PATCH",body:JSON.stringify(e)},n=await r.ServerConnection.makeRequest(this._url,t,this.serverSettings);if(200!==n.status)throw await r.ServerConnection.ResponseError.create(n);return this._data=await n.json(),this._data}}t.ConfigWithDefaults=class{constructor(e){var t,n;this._className="",this._section=e.section,this._defaults=null!==(t=e.defaults)&&void 0!==t?t:{},this._className=null!==(n=e.className)&&void 0!==n?n:""}get(e){const t=this._classData();return e in t?t[e]:this._defaults[e]}set(e,t){const n={};if(n[e]=t,this._className){const e={};return e[this._className]=n,this._section.update(e)}return this._section.update(n)}_classData(){const e=this._section.data;return this._className&&this._className in e?e[this._className]:e}}},8790:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Drive=t.ContentsManager=t.Contents=void 0;const s=n(8925),a=n(3992),l=n(7883),d=o(n(2706));var c,u;!function(e){e.validateContentsModel=function(e){d.validateContentsModel(e)},e.validateCheckpointModel=function(e){d.validateCheckpointModel(e)}}(c||(t.Contents=c={})),t.ContentsManager=class{constructor(e={}){var t,n;this._isDisposed=!1,this._additionalDrives=new Map,this._fileChanged=new a.Signal(this);const i=this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:l.ServerConnection.makeSettings();this._defaultDrive=null!==(n=e.defaultDrive)&&void 0!==n?n:new h({serverSettings:i}),this._defaultDrive.fileChanged.connect(this._onFileChanged,this)}get fileChanged(){return this._fileChanged}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,a.Signal.clearData(this))}addDrive(e){this._additionalDrives.set(e.name,e),e.fileChanged.connect(this._onFileChanged,this)}getSharedModelFactory(e){var t;const[n]=this._driveForPath(e);return null!==(t=null==n?void 0:n.sharedModelFactory)&&void 0!==t?t:null}localPath(e){const t=e.split("/"),n=t[0].split(":");return 1!==n.length&&this._additionalDrives.has(n[0])?s.PathExt.join(n.slice(1).join(":"),...t.slice(1)):s.PathExt.removeSlash(e)}normalize(e){const t=e.split(":");return 1===t.length?s.PathExt.normalize(e):`${t[0]}:${s.PathExt.normalize(t.slice(1).join(":"))}`}resolvePath(e,t){const n=this.driveName(e),i=this.localPath(e),r=s.PathExt.resolve("/",i,t);return n?`${n}:${r}`:r}driveName(e){const t=e.split("/")[0].split(":");return 1===t.length?"":this._additionalDrives.has(t[0])?t[0]:""}get(e,t){const[n,i]=this._driveForPath(e);return n.get(i,t).then((e=>{const t=[];if("directory"===e.type&&e.content){for(const i of e.content)t.push({...i,path:this._toGlobalPath(n,i.path)});return{...e,path:this._toGlobalPath(n,i),content:t,serverPath:e.path}}return{...e,path:this._toGlobalPath(n,i),serverPath:e.path}}))}getDownloadUrl(e){const[t,n]=this._driveForPath(e);return t.getDownloadUrl(n)}newUntitled(e={}){if(e.path){const t=this.normalize(e.path),[n,i]=this._driveForPath(t);return n.newUntitled({...e,path:i}).then((e=>({...e,path:s.PathExt.join(t,e.name),serverPath:e.path})))}return this._defaultDrive.newUntitled(e)}delete(e){const[t,n]=this._driveForPath(e);return t.delete(n)}rename(e,t){const[n,i]=this._driveForPath(e),[r,o]=this._driveForPath(t);if(n!==r)throw Error("ContentsManager: renaming files must occur within a Drive");return n.rename(i,o).then((e=>({...e,path:this._toGlobalPath(n,o),serverPath:e.path})))}save(e,t={}){const n=this.normalize(e),[i,r]=this._driveForPath(e);return i.save(r,{...t,path:r}).then((e=>({...e,path:n,serverPath:e.path})))}copy(e,t){const[n,i]=this._driveForPath(e),[r,o]=this._driveForPath(t);if(n===r)return n.copy(i,o).then((e=>({...e,path:this._toGlobalPath(n,e.path),serverPath:e.path})));throw Error("Copying files between drives is not currently implemented")}createCheckpoint(e){const[t,n]=this._driveForPath(e);return t.createCheckpoint(n)}listCheckpoints(e){const[t,n]=this._driveForPath(e);return t.listCheckpoints(n)}restoreCheckpoint(e,t){const[n,i]=this._driveForPath(e);return n.restoreCheckpoint(i,t)}deleteCheckpoint(e,t){const[n,i]=this._driveForPath(e);return n.deleteCheckpoint(i,t)}_toGlobalPath(e,t){return e===this._defaultDrive?s.PathExt.removeSlash(t):`${e.name}:${s.PathExt.removeSlash(t)}`}_driveForPath(e){const t=this.driveName(e),n=this.localPath(e);return t?[this._additionalDrives.get(t),n]:[this._defaultDrive,n]}_onFileChanged(e,t){var n,i;if(e===this._defaultDrive)this._fileChanged.emit(t);else{let r=null,o=null;(null===(n=t.newValue)||void 0===n?void 0:n.path)&&(r={...t.newValue,path:this._toGlobalPath(e,t.newValue.path)}),(null===(i=t.oldValue)||void 0===i?void 0:i.path)&&(o={...t.oldValue,path:this._toGlobalPath(e,t.oldValue.path)}),this._fileChanged.emit({type:t.type,newValue:r,oldValue:o})}}};class h{constructor(e={}){var t,n,i;this._isDisposed=!1,this._fileChanged=new a.Signal(this),this.name=null!==(t=e.name)&&void 0!==t?t:"Default",this._apiEndpoint=null!==(n=e.apiEndpoint)&&void 0!==n?n:"api/contents",this.serverSettings=null!==(i=e.serverSettings)&&void 0!==i?i:l.ServerConnection.makeSettings()}get fileChanged(){return this._fileChanged}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,a.Signal.clearData(this))}async get(e,t){let n=this._getUrl(e);if(t){"notebook"===t.type&&delete t.format;const e=t.content?"1":"0",i=t.hash?"1":"0",r={...t,content:e,hash:i};n+=s.URLExt.objectToQueryString(r)}const i=this.serverSettings,r=await l.ServerConnection.makeRequest(n,{},i);if(200!==r.status)throw await l.ServerConnection.ResponseError.create(r);const o=await r.json();return d.validateContentsModel(o),o}getDownloadUrl(e){const t=this.serverSettings.baseUrl;let n=s.URLExt.join(t,"files",s.URLExt.encodeParts(e)),i="";try{i=document.cookie}catch(e){}const r=i.match("\\b_xsrf=([^;]*)\\b");if(r){const e=new URL(n);e.searchParams.append("_xsrf",r[1]),n=e.toString()}return Promise.resolve(n)}async newUntitled(e={}){var t;let n="{}";e&&(e.ext&&(e.ext=u.normalizeExtension(e.ext)),n=JSON.stringify(e));const i=this.serverSettings,r=this._getUrl(null!==(t=e.path)&&void 0!==t?t:""),o={method:"POST",body:n},s=await l.ServerConnection.makeRequest(r,o,i);if(201!==s.status)throw await l.ServerConnection.ResponseError.create(s);const a=await s.json();return d.validateContentsModel(a),this._fileChanged.emit({type:"new",oldValue:null,newValue:a}),a}async delete(e){const t=this._getUrl(e),n=this.serverSettings,i=await l.ServerConnection.makeRequest(t,{method:"DELETE"},n);if(204!==i.status)throw await l.ServerConnection.ResponseError.create(i);this._fileChanged.emit({type:"delete",oldValue:{path:e},newValue:null})}async rename(e,t){const n=this.serverSettings,i=this._getUrl(e),r={method:"PATCH",body:JSON.stringify({path:t})},o=await l.ServerConnection.makeRequest(i,r,n);if(200!==o.status)throw await l.ServerConnection.ResponseError.create(o);const s=await o.json();return d.validateContentsModel(s),this._fileChanged.emit({type:"rename",oldValue:{path:e},newValue:s}),s}async save(e,t={}){const n=this.serverSettings,i=this._getUrl(e),r={method:"PUT",body:JSON.stringify(t)},o=await l.ServerConnection.makeRequest(i,r,n);if(200!==o.status&&201!==o.status)throw await l.ServerConnection.ResponseError.create(o);const s=await o.json();return d.validateContentsModel(s),this._fileChanged.emit({type:"save",oldValue:null,newValue:s}),s}async copy(e,t){const n=this.serverSettings,i=this._getUrl(t),r={method:"POST",body:JSON.stringify({copy_from:e})},o=await l.ServerConnection.makeRequest(i,r,n);if(201!==o.status)throw await l.ServerConnection.ResponseError.create(o);const s=await o.json();return d.validateContentsModel(s),this._fileChanged.emit({type:"new",oldValue:null,newValue:s}),s}async createCheckpoint(e){const t=this._getUrl(e,"checkpoints"),n=await l.ServerConnection.makeRequest(t,{method:"POST"},this.serverSettings);if(201!==n.status)throw await l.ServerConnection.ResponseError.create(n);const i=await n.json();return d.validateCheckpointModel(i),i}async listCheckpoints(e){const t=this._getUrl(e,"checkpoints"),n=await l.ServerConnection.makeRequest(t,{},this.serverSettings);if(200!==n.status)throw await l.ServerConnection.ResponseError.create(n);const i=await n.json();if(!Array.isArray(i))throw new Error("Invalid Checkpoint list");for(let e=0;e<i.length;e++)d.validateCheckpointModel(i[e]);return i}async restoreCheckpoint(e,t){const n=this._getUrl(e,"checkpoints",t),i=await l.ServerConnection.makeRequest(n,{method:"POST"},this.serverSettings);if(204!==i.status)throw await l.ServerConnection.ResponseError.create(i)}async deleteCheckpoint(e,t){const n=this._getUrl(e,"checkpoints",t),i=await l.ServerConnection.makeRequest(n,{method:"DELETE"},this.serverSettings);if(204!==i.status)throw await l.ServerConnection.ResponseError.create(i)}_getUrl(...e){const t=e.map((e=>s.URLExt.encodeParts(e))),n=this.serverSettings.baseUrl;return s.URLExt.join(n,this._apiEndpoint,...t)}}t.Drive=h,function(e){e.normalizeExtension=function(e){return e.length>0&&0!==e.indexOf(".")&&(e=`.${e}`),e}}(u||(u={}))},2706:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateCheckpointModel=t.validateContentsModel=void 0;const i=n(7441);t.validateContentsModel=function(e){(0,i.validateProperty)(e,"name","string"),(0,i.validateProperty)(e,"path","string"),(0,i.validateProperty)(e,"type","string"),(0,i.validateProperty)(e,"created","string"),(0,i.validateProperty)(e,"last_modified","string"),(0,i.validateProperty)(e,"mimetype","object"),(0,i.validateProperty)(e,"content","object"),(0,i.validateProperty)(e,"format","object")},t.validateCheckpointModel=function(e){(0,i.validateProperty)(e,"id","string"),(0,i.validateProperty)(e,"last_modified","string")}},9480:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventManager=void 0;const i=n(8925),r=n(6049),o=n(3992),s=n(2920),a="api/events";t.EventManager=class{constructor(e={}){var t;this._socket=null,this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:s.ServerConnection.makeSettings(),this._poll=new r.Poll({factory:()=>this._subscribe()}),this._stream=new o.Stream(this),this._poll.start()}get isDisposed(){return this._poll.isDisposed}get stream(){return this._stream}dispose(){if(this.isDisposed)return;this._poll.dispose();const e=this._socket;e&&(this._socket=null,e.onopen=()=>{},e.onerror=()=>{},e.onmessage=()=>{},e.onclose=()=>{},e.close()),o.Signal.clearData(this),this._stream.stop()}async emit(e){const{serverSettings:t}=this,{baseUrl:n,token:r}=t,{makeRequest:o,ResponseError:l}=s.ServerConnection,d=i.URLExt.join(n,a)+(r?`?token=${r}`:""),c={body:JSON.stringify(e),method:"POST"},u=await o(d,c,t);if(204!==u.status)throw new l(u)}_subscribe(){return new Promise(((e,t)=>{if(this.isDisposed)return;const{token:n,WebSocket:r,wsUrl:o}=this.serverSettings,s=i.URLExt.join(o,a,"subscribe")+(n?`?token=${encodeURIComponent(n)}`:""),l=this._socket=new r(s),d=this._stream;l.onclose=()=>t(new Error("EventManager socket closed")),l.onmessage=e=>e.data&&d.emit(JSON.parse(e.data))}))}}},7883:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(3867),t),r(n(2170),t),r(n(8790),t),r(n(9480),t),r(n(973),t),r(n(2946),t),r(n(9740),t),r(n(2920),t),r(n(7668),t),r(n(7780),t),r(n(9040),t),r(n(9191),t),r(n(8053),t),r(n(8683),t)},7489:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CommHandler=void 0;const s=n(7556),a=o(n(9909));class l extends s.DisposableDelegate{constructor(e,t,n,i){super(i),this._target="",this._id="",this._id=t,this._target=e,this._kernel=n}get commId(){return this._id}get targetName(){return this._target}get onClose(){return this._onClose}set onClose(e){this._onClose=e}get onMsg(){return this._onMsg}set onMsg(e){this._onMsg=e}open(e,t,n=[]){if(this.isDisposed||this._kernel.isDisposed)throw new Error("Cannot open");const i=a.createMessage({msgType:"comm_open",channel:"shell",username:this._kernel.username,session:this._kernel.clientId,content:{comm_id:this._id,target_name:this._target,data:null!=e?e:{}},metadata:t,buffers:n});return this._kernel.sendShellMessage(i,!1,!0)}send(e,t,n=[],i=!0){if(this.isDisposed||this._kernel.isDisposed)throw new Error("Cannot send");const r=a.createMessage({msgType:"comm_msg",channel:"shell",username:this._kernel.username,session:this._kernel.clientId,content:{comm_id:this._id,data:e},metadata:t,buffers:n});return this._kernel.sendShellMessage(r,!1,i)}close(e,t,n=[]){if(this.isDisposed||this._kernel.isDisposed)throw new Error("Cannot close");const i=a.createMessage({msgType:"comm_close",channel:"shell",username:this._kernel.username,session:this._kernel.clientId,content:{comm_id:this._id,data:null!=e?e:{}},metadata:t,buffers:n}),r=this._kernel.sendShellMessage(i,!1,!0),o=this._onClose;return o&&o(a.createMessage({msgType:"comm_close",channel:"iopub",username:this._kernel.username,session:this._kernel.clientId,content:{comm_id:this._id,data:null!=e?e:{}},metadata:t,buffers:n})),this.dispose(),r}}t.CommHandler=l},2456:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.KernelConnection=void 0;const s=n(8925),a=n(5764),l=n(3992),d=n(7883),c=n(7489),u=o(n(9909)),h=n(134),f=o(n(5855)),p=n(2946),A=o(n(8235)),m="_RESTARTING_";class g{constructor(e){var t,n,i,r;this._createSocket=(e=!0)=>{this._errorIfDisposed(),this._clearSocket(),this._updateConnectionStatus("connecting");const t=this.serverSettings,n=s.URLExt.join(t.wsUrl,A.KERNEL_SERVICE_URL,encodeURIComponent(this._id)),i=n.replace(/^((?:\w+:)?\/\/)(?:[^@\/]+@)/,"$1");console.debug(`Starting WebSocket: ${i}`);let r=s.URLExt.join(n,"channels?session_id="+encodeURIComponent(this._clientId));const o=t.token;t.appendToken&&""!==o&&(r+=`&token=${encodeURIComponent(o)}`);const a=e?this._supportedProtocols:[];this._ws=new t.WebSocket(r,a),this._ws.binaryType="arraybuffer";let l=!1;const c=async e=>{var n,i;if(!this._isDisposed){this._reason="",this._model=void 0;try{const n=await A.getKernelModel(this._id,t);this._model=n,"dead"===(null==n?void 0:n.execution_state)?this._updateStatus("dead"):this._onWSClose(e)}catch(t){if(t instanceof d.ServerConnection.NetworkError||503===(null===(n=t.response)||void 0===n?void 0:n.status)||424===(null===(i=t.response)||void 0===i?void 0:i.status)){const t=1e3*b.getRandomIntInclusive(10,30);setTimeout(c,t,e)}else this._reason="Kernel died unexpectedly",this._updateStatus("dead")}}},u=async e=>{l||(l=!0,await c(e))};this._ws.onmessage=this._onWSMessage,this._ws.onopen=this._onWSOpen,this._ws.onclose=u,this._ws.onerror=u},this._onWSOpen=e=>{if(""!==this._ws.protocol&&!this._supportedProtocols.includes(this._ws.protocol))throw console.log("Server selected unknown kernel wire protocol:",this._ws.protocol),this._updateStatus("dead"),new Error(`Unknown kernel wire protocol: ${this._ws.protocol}`);this._selectedProtocol=this._ws.protocol,this._ws.onclose=this._onWSClose,this._ws.onerror=this._onWSClose,this._updateConnectionStatus("connected")},this._onWSMessage=e=>{let t;try{t=this.serverSettings.serializer.deserialize(e.data,this._ws.protocol),f.validateMessage(t)}catch(e){throw e.message=`Kernel message validation error: ${e.message}`,e}this._kernelSession=t.header.session,this._msgChain=this._msgChain.then((()=>this._handleMessage(t))).catch((e=>{e.message.startsWith("Canceled future for ")&&console.error(e)})),this._anyMessage.emit({msg:t,direction:"recv"})},this._onWSClose=e=>{this.isDisposed||this._reconnect()},this._id="",this._name="",this._status="unknown",this._connectionStatus="connecting",this._kernelSession="",this._isDisposed=!1,this._ws=null,this._username="",this._reconnectLimit=7,this._reconnectAttempt=0,this._reconnectTimeout=null,this._supportedProtocols=Object.values(u.supportedKernelWebSocketProtocols),this._selectedProtocol="",this._futures=new Map,this._comms=new Map,this._targetRegistry=Object.create(null),this._info=new a.PromiseDelegate,this._pendingMessages=[],this._statusChanged=new l.Signal(this),this._connectionStatusChanged=new l.Signal(this),this._disposed=new l.Signal(this),this._iopubMessage=new l.Signal(this),this._anyMessage=new l.Signal(this),this._pendingInput=new l.Signal(this),this._unhandledMessage=new l.Signal(this),this._displayIdToParentIds=new Map,this._msgIdToDisplayIds=new Map,this._msgChain=Promise.resolve(),this._hasPendingInput=!1,this._reason="",this._noOp=()=>{},this._name=e.model.name,this._id=e.model.id,this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:d.ServerConnection.makeSettings(),this._clientId=null!==(n=e.clientId)&&void 0!==n?n:a.UUID.uuid4(),this._username=null!==(i=e.username)&&void 0!==i?i:"",this.handleComms=null===(r=e.handleComms)||void 0===r||r,this._createSocket()}get disposed(){return this._disposed}get statusChanged(){return this._statusChanged}get connectionStatusChanged(){return this._connectionStatusChanged}get iopubMessage(){return this._iopubMessage}get unhandledMessage(){return this._unhandledMessage}get model(){return this._model||{id:this.id,name:this.name,reason:this._reason}}get anyMessage(){return this._anyMessage}get pendingInput(){return this._pendingInput}get id(){return this._id}get name(){return this._name}get username(){return this._username}get clientId(){return this._clientId}get status(){return this._status}get connectionStatus(){return this._connectionStatus}get isDisposed(){return this._isDisposed}get info(){return this._info.promise}get spec(){return this._specPromise||(this._specPromise=p.KernelSpecAPI.getSpecs(this.serverSettings).then((e=>e.kernelspecs[this._name]))),this._specPromise}clone(e={}){return new g({model:this.model,username:this.username,serverSettings:this.serverSettings,handleComms:!1,...e})}dispose(){this.isDisposed||(this._isDisposed=!0,this._disposed.emit(),this._updateConnectionStatus("disconnected"),this._clearKernelState(),this._pendingMessages=[],this._clearSocket(),l.Signal.clearData(this))}sendShellMessage(e,t=!1,n=!0){return this._sendKernelShellControl(h.KernelShellFutureHandler,e,t,n)}sendControlMessage(e,t=!1,n=!0){return this._sendKernelShellControl(h.KernelControlFutureHandler,e,t,n)}_sendKernelShellControl(e,t,n=!1,i=!0){this._sendMessage(t),this._anyMessage.emit({msg:t,direction:"send"});const r=new e((()=>{const e=t.header.msg_id;this._futures.delete(e);const n=this._msgIdToDisplayIds.get(e);n&&(n.forEach((t=>{const n=this._displayIdToParentIds.get(t);if(n){const i=n.indexOf(e);if(-1===i)return;1===n.length?this._displayIdToParentIds.delete(t):(n.splice(i,1),this._displayIdToParentIds.set(t,n))}})),this._msgIdToDisplayIds.delete(e))}),t,n,i,this);return this._futures.set(t.header.msg_id,r),r}_sendMessage(e,t=!0){if("dead"===this.status)throw new Error("Kernel is dead");if((""===this._kernelSession||this._kernelSession===m)&&u.isInfoRequestMsg(e)){if("connected"===this.connectionStatus)return void this._ws.send(this.serverSettings.serializer.serialize(e,this._ws.protocol));throw new Error("Could not send message: status is not connected")}if(t&&this._pendingMessages.length>0)this._pendingMessages.push(e);else if("connected"===this.connectionStatus&&this._kernelSession!==m)this._ws.send(this.serverSettings.serializer.serialize(e,this._ws.protocol));else{if(!t)throw new Error("Could not send message");this._pendingMessages.push(e)}}async interrupt(){if(this.hasPendingInput=!1,"dead"===this.status)throw new Error("Kernel is dead");return A.interruptKernel(this.id,this.serverSettings)}async restart(){if("dead"===this.status)throw new Error("Kernel is dead");this._updateStatus("restarting"),this._clearKernelState(),this._kernelSession=m,await A.restartKernel(this.id,this.serverSettings),await this.reconnect(),this.hasPendingInput=!1}reconnect(){this._errorIfDisposed();const e=new a.PromiseDelegate,t=(n,i)=>{"connected"===i?(e.resolve(),this.connectionStatusChanged.disconnect(t,this)):"disconnected"===i&&(e.reject(new Error("Kernel connection disconnected")),this.connectionStatusChanged.disconnect(t,this))};return this.connectionStatusChanged.connect(t,this),this._reconnectAttempt=0,this._reconnect(),e.promise}async shutdown(){"dead"!==this.status&&await A.shutdownKernel(this.id,this.serverSettings),this.handleShutdown()}handleShutdown(){this._updateStatus("dead"),this.dispose()}async requestKernelInfo(){const e=u.createMessage({msgType:"kernel_info_request",channel:"shell",username:this._username,session:this._clientId,content:{}});let t;try{t=await b.handleShellMessage(this,e)}catch(e){if(this.isDisposed)return;throw e}if(this._errorIfDisposed(),t)return void 0===t.content.status&&(t.content.status="ok"),"ok"!==t.content.status?(this._info.reject("Kernel info reply errored"),t):(this._info.resolve(t.content),this._kernelSession=t.header.session,t)}requestComplete(e){const t=u.createMessage({msgType:"complete_request",channel:"shell",username:this._username,session:this._clientId,content:e});return b.handleShellMessage(this,t)}requestInspect(e){const t=u.createMessage({msgType:"inspect_request",channel:"shell",username:this._username,session:this._clientId,content:e});return b.handleShellMessage(this,t)}requestHistory(e){const t=u.createMessage({msgType:"history_request",channel:"shell",username:this._username,session:this._clientId,content:e});return b.handleShellMessage(this,t)}requestExecute(e,t=!0,n){const i=u.createMessage({msgType:"execute_request",channel:"shell",username:this._username,session:this._clientId,content:{silent:!1,store_history:!0,user_expressions:{},allow_stdin:!0,stop_on_error:!1,...e},metadata:n});return this.sendShellMessage(i,!0,t)}requestDebug(e,t=!0){const n=u.createMessage({msgType:"debug_request",channel:"control",username:this._username,session:this._clientId,content:e});return this.sendControlMessage(n,!0,t)}requestIsComplete(e){const t=u.createMessage({msgType:"is_complete_request",channel:"shell",username:this._username,session:this._clientId,content:e});return b.handleShellMessage(this,t)}requestCommInfo(e){const t=u.createMessage({msgType:"comm_info_request",channel:"shell",username:this._username,session:this._clientId,content:e});return b.handleShellMessage(this,t)}sendInputReply(e,t){const n=u.createMessage({msgType:"input_reply",channel:"stdin",username:this._username,session:this._clientId,content:e});n.parent_header=t,this._sendMessage(n),this._anyMessage.emit({msg:n,direction:"send"}),this.hasPendingInput=!1}createComm(e,t=a.UUID.uuid4()){if(!this.handleComms)throw new Error("Comms are disabled on this kernel connection");if(this._comms.has(t))throw new Error("Comm is already created");const n=new c.CommHandler(e,t,this,(()=>{this._unregisterComm(t)}));return this._comms.set(t,n),n}hasComm(e){return this._comms.has(e)}registerCommTarget(e,t){this.handleComms&&(this._targetRegistry[e]=t)}removeCommTarget(e,t){this.handleComms&&(this.isDisposed||this._targetRegistry[e]!==t||delete this._targetRegistry[e])}registerMessageHook(e,t){var n;const i=null===(n=this._futures)||void 0===n?void 0:n.get(e);i&&i.registerMessageHook(t)}removeMessageHook(e,t){var n;const i=null===(n=this._futures)||void 0===n?void 0:n.get(e);i&&i.removeMessageHook(t)}removeInputGuard(){this.hasPendingInput=!1}async _handleDisplayId(e,t){var n,i;const r=t.parent_header.msg_id;let o=this._displayIdToParentIds.get(e);if(o){const e={header:a.JSONExt.deepCopy(t.header),parent_header:a.JSONExt.deepCopy(t.parent_header),metadata:a.JSONExt.deepCopy(t.metadata),content:a.JSONExt.deepCopy(t.content),channel:t.channel,buffers:t.buffers?t.buffers.slice():[]};e.header.msg_type="update_display_data",await Promise.all(o.map((async t=>{const n=this._futures&&this._futures.get(t);n&&await n.handleMsg(e)})))}if("update_display_data"===t.header.msg_type)return!0;o=null!==(n=this._displayIdToParentIds.get(e))&&void 0!==n?n:[],-1===o.indexOf(r)&&o.push(r),this._displayIdToParentIds.set(e,o);const s=null!==(i=this._msgIdToDisplayIds.get(r))&&void 0!==i?i:[];return-1===s.indexOf(r)&&s.push(r),this._msgIdToDisplayIds.set(r,s),!1}_clearSocket(){null!==this._ws&&(this._ws.onopen=this._noOp,this._ws.onclose=this._noOp,this._ws.onerror=this._noOp,this._ws.onmessage=this._noOp,this._ws.close(),this._ws=null)}_updateStatus(e){this._status!==e&&"dead"!==this._status&&(this._status=e,b.logKernelStatus(this),this._statusChanged.emit(e),"dead"===e&&this.dispose())}_sendPending(){for(;"connected"===this.connectionStatus&&this._kernelSession!==m&&this._pendingMessages.length>0;)this._sendMessage(this._pendingMessages[0],!1),this._pendingMessages.shift()}_clearKernelState(){this._kernelSession="",this._pendingMessages=[],this._futures.forEach((e=>{e.dispose()})),this._comms.forEach((e=>{e.dispose()})),this._msgChain=Promise.resolve(),this._futures=new Map,this._comms=new Map,this._displayIdToParentIds.clear(),this._msgIdToDisplayIds.clear()}_assertCurrentMessage(e){if(this._errorIfDisposed(),e.header.session!==this._kernelSession)throw new Error(`Canceling handling of old message: ${e.header.msg_type}`)}async _handleCommOpen(e){this._assertCurrentMessage(e);const t=e.content,n=new c.CommHandler(t.target_name,t.comm_id,this,(()=>{this._unregisterComm(t.comm_id)}));this._comms.set(t.comm_id,n);try{const i=await b.loadObject(t.target_name,t.target_module,this._targetRegistry);await i(n,e)}catch(e){throw n.close(),console.error("Exception opening new comm"),e}}async _handleCommClose(e){this._assertCurrentMessage(e);const t=e.content,n=this._comms.get(t.comm_id);if(!n)return void console.error("Comm not found for comm id "+t.comm_id);this._unregisterComm(n.commId);const i=n.onClose;i&&await i(e),n.dispose()}async _handleCommMsg(e){this._assertCurrentMessage(e);const t=e.content,n=this._comms.get(t.comm_id);if(!n)return;const i=n.onMsg;i&&await i(e)}_unregisterComm(e){this._comms.delete(e)}_updateConnectionStatus(e){if(this._connectionStatus!==e){if(this._connectionStatus=e,"connecting"!==e&&(this._reconnectAttempt=0,clearTimeout(this._reconnectTimeout)),"dead"!==this.status)if("connected"===e){let e=this._kernelSession===m,t=this.requestKernelInfo(),n=!1,i=()=>{n||(n=!0,e&&this._kernelSession===m&&(this._kernelSession=""),clearTimeout(r),this._pendingMessages.length>0&&this._sendPending())};t.then(i);let r=setTimeout(i,3e3)}else this._updateStatus("unknown");this._connectionStatusChanged.emit(e)}}async _handleMessage(e){var t,n;let i=!1;if(e.parent_header&&"iopub"===e.channel&&(u.isDisplayDataMsg(e)||u.isUpdateDisplayDataMsg(e)||u.isExecuteResultMsg(e))){const n=(null!==(t=e.content.transient)&&void 0!==t?t:{}).display_id;n&&(i=await this._handleDisplayId(n,e),this._assertCurrentMessage(e))}if(!i&&e.parent_header){const t=e.parent_header,i=null===(n=this._futures)||void 0===n?void 0:n.get(t.msg_id);if(i)await i.handleMsg(e),this._assertCurrentMessage(e);else{const n=t.session===this.clientId;"iopub"!==e.channel&&n&&this._unhandledMessage.emit(e)}}if("iopub"===e.channel){switch(e.header.msg_type){case"status":{const t=e.content.execution_state;"restarting"===t&&Promise.resolve().then((async()=>{this._updateStatus("autorestarting"),this._clearKernelState(),await this.reconnect()})),this._updateStatus(t);break}case"comm_open":this.handleComms&&await this._handleCommOpen(e);break;case"comm_msg":this.handleComms&&await this._handleCommMsg(e);break;case"comm_close":this.handleComms&&await this._handleCommClose(e)}this.isDisposed||(this._assertCurrentMessage(e),this._iopubMessage.emit(e))}}_reconnect(){if(this._errorIfDisposed(),clearTimeout(this._reconnectTimeout),this._reconnectAttempt<this._reconnectLimit){this._updateConnectionStatus("connecting");const e=b.getRandomIntInclusive(0,1e3*(Math.pow(2,this._reconnectAttempt)-1));console.warn(`Connection lost, reconnecting in ${Math.floor(e/1e3)} seconds.`);const t=""!==this._selectedProtocol;this._reconnectTimeout=setTimeout(this._createSocket,e,t),this._reconnectAttempt+=1}else this._updateConnectionStatus("disconnected");this._clearSocket()}_errorIfDisposed(){if(this.isDisposed)throw new Error("Kernel connection is disposed")}get hasPendingInput(){return this._hasPendingInput}set hasPendingInput(e){this._hasPendingInput=e,this._pendingInput.emit(e)}}var b;t.KernelConnection=g,function(e){e.logKernelStatus=function(e){switch(e.status){case"idle":case"busy":case"unknown":return;default:console.debug(`Kernel: ${e.status} (${e.id})`)}},e.handleShellMessage=async function(e,t){return e.sendShellMessage(t,!0).done},e.loadObject=function(e,t,n){return new Promise(((i,r)=>{if(t){if("undefined"==typeof requirejs)throw new Error("requirejs not found");requirejs([t],(n=>{void 0===n[e]?r(new Error(`Object '${e}' not found in module '${t}'`)):i(n[e])}),r)}else(null==n?void 0:n[e])?i(n[e]):r(new Error(`Object '${e}' not found in registry`))}))},e.getRandomIntInclusive=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}}(b||(b={}))},134:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.KernelShellFutureHandler=t.KernelControlFutureHandler=t.KernelFutureHandler=void 0;const s=n(5764),a=n(7556),l=o(n(9909));class d extends a.DisposableDelegate{constructor(e,t,n,i,r){super(e),this._status=0,this._stdin=c.noOp,this._iopub=c.noOp,this._reply=c.noOp,this._done=new s.PromiseDelegate,this._hooks=new c.HookList,this._disposeOnDone=!0,this._msg=t,n||this._setFlag(c.KernelFutureFlag.GotReply),this._disposeOnDone=i,this._kernel=r}get msg(){return this._msg}get done(){return this._done.promise}get onReply(){return this._reply}set onReply(e){this._reply=e}get onIOPub(){return this._iopub}set onIOPub(e){this._iopub=e}get onStdin(){return this._stdin}set onStdin(e){this._stdin=e}registerMessageHook(e){if(this.isDisposed)throw new Error("Kernel future is disposed");this._hooks.add(e)}removeMessageHook(e){this.isDisposed||this._hooks.remove(e)}sendInputReply(e,t){this._kernel.sendInputReply(e,t)}dispose(){this._stdin=c.noOp,this._iopub=c.noOp,this._reply=c.noOp,this._hooks=null,this._testFlag(c.KernelFutureFlag.IsDone)||(this._done.promise.catch((()=>{})),this._done.reject(new Error(`Canceled future for ${this.msg.header.msg_type} message before replies were done`))),super.dispose()}async handleMsg(e){switch(e.channel){case"control":case"shell":e.channel===this.msg.channel&&e.parent_header.msg_id===this.msg.header.msg_id&&await this._handleReply(e);break;case"stdin":await this._handleStdin(e);break;case"iopub":await this._handleIOPub(e)}}async _handleReply(e){const t=this._reply;t&&await t(e),this._replyMsg=e,this._setFlag(c.KernelFutureFlag.GotReply),this._testFlag(c.KernelFutureFlag.GotIdle)&&this._handleDone()}async _handleStdin(e){this._kernel.hasPendingInput=!0;const t=this._stdin;t&&await t(e)}async _handleIOPub(e){const t=await this._hooks.process(e),n=this._iopub;t&&n&&await n(e),l.isStatusMsg(e)&&"idle"===e.content.execution_state&&(this._setFlag(c.KernelFutureFlag.GotIdle),this._testFlag(c.KernelFutureFlag.GotReply)&&this._handleDone())}_handleDone(){this._testFlag(c.KernelFutureFlag.IsDone)||(this._setFlag(c.KernelFutureFlag.IsDone),this._done.resolve(this._replyMsg),this._disposeOnDone&&this.dispose())}_testFlag(e){return!!(this._status&e)}_setFlag(e){this._status|=e}}var c;t.KernelFutureHandler=d,t.KernelControlFutureHandler=class extends d{},t.KernelShellFutureHandler=class extends d{},function(e){e.noOp=()=>{};const t="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate;let n;e.HookList=class{constructor(){this._hooks=[]}add(e){this.remove(e),this._hooks.push(e)}remove(e){const t=this._hooks.indexOf(e);t>=0&&(this._hooks[t]=null,this._scheduleCompact())}async process(e){await this._processing;const t=new s.PromiseDelegate;let n;this._processing=t.promise;for(let i=this._hooks.length-1;i>=0;i--){const r=this._hooks[i];if(null!==r){try{n=await r(e)}catch(e){n=!0,console.error(e)}if(!1===n)return t.resolve(void 0),!1}}return t.resolve(void 0),!0}_scheduleCompact(){this._compactScheduled||(this._compactScheduled=!0,t((()=>{this._processing=this._processing.then((()=>{this._compactScheduled=!1,this._compact()}))})))}_compact(){let e=0;for(let t=0,n=this._hooks.length;t<n;t++){const n=this._hooks[t];null===this._hooks[t]?e++:this._hooks[t-e]=n}this._hooks.length-=e}},function(e){e[e.GotReply=1]="GotReply",e[e.GotIdle=2]="GotIdle",e[e.IsDone=4]="IsDone",e[e.DisposeOnDone=8]="DisposeOnDone"}(n=e.KernelFutureFlag||(e.KernelFutureFlag={}))}(c||(c={}))},973:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t},s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.KernelConnection=t.KernelAPI=t.KernelMessage=t.Kernel=void 0;const a=o(n(2956));t.Kernel=a;const l=o(n(9909));t.KernelMessage=l;const d=o(n(8235));t.KernelAPI=d;const c=n(2456);Object.defineProperty(t,"KernelConnection",{enumerable:!0,get:function(){return c.KernelConnection}}),s(n(5198),t)},2956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5198:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KernelManager=void 0;const i=n(6049),r=n(3992),o=n(7883),s=n(3867),a=n(8235),l=n(2456);class d extends s.BaseManager{constructor(e={}){var t;super(e),this._isReady=!1,this._kernelConnections=new Set,this._models=new Map,this._runningChanged=new r.Signal(this),this._connectionFailure=new r.Signal(this),this._pollModels=new i.Poll({auto:!1,factory:()=>this.requestRunning(),frequency:{interval:1e4,backoff:!0,max:3e5},name:"@jupyterlab/services:KernelManager#models",standby:null!==(t=e.standby)&&void 0!==t?t:"when-hidden"}),this._ready=(async()=>{await this._pollModels.start(),await this._pollModels.tick,this._isReady=!0})()}get isReady(){return this._isReady}get ready(){return this._ready}get runningChanged(){return this._runningChanged}get connectionFailure(){return this._connectionFailure}dispose(){this.isDisposed||(this._models.clear(),this._kernelConnections.forEach((e=>e.dispose())),this._pollModels.dispose(),super.dispose())}connectTo(e){var t;const{id:n}=e.model;let i=null===(t=e.handleComms)||void 0===t||t;if(void 0===e.handleComms)for(const e of this._kernelConnections)if(e.id===n&&e.handleComms){i=!1;break}const r=new l.KernelConnection({handleComms:i,...e,serverSettings:this.serverSettings});return this._onStarted(r),this._models.has(n)||this.refreshRunning().catch((()=>{})),r}running(){return this._models.values()}async refreshRunning(){await this._pollModels.refresh(),await this._pollModels.tick}async startNew(e={},t={}){const n=await(0,a.startNew)(e,this.serverSettings);return this.connectTo({...t,model:n})}async shutdown(e){await(0,a.shutdownKernel)(e,this.serverSettings),await this.refreshRunning()}async shutdownAll(){await this.refreshRunning(),await Promise.all([...this._models.keys()].map((e=>(0,a.shutdownKernel)(e,this.serverSettings)))),await this.refreshRunning()}async findById(e){return this._models.has(e)||await this.refreshRunning(),this._models.get(e)}async requestRunning(){var e,t;let n;try{n=await(0,a.listRunning)(this.serverSettings)}catch(n){throw(n instanceof o.ServerConnection.NetworkError||503===(null===(e=n.response)||void 0===e?void 0:e.status)||424===(null===(t=n.response)||void 0===t?void 0:t.status))&&this._connectionFailure.emit(n),n}this.isDisposed||this._models.size===n.length&&n.every((e=>{const t=this._models.get(e.id);return!!t&&t.connections===e.connections&&t.execution_state===e.execution_state&&t.last_activity===e.last_activity&&t.name===e.name&&t.reason===e.reason&&t.traceback===e.traceback}))||(this._models=new Map(n.map((e=>[e.id,e]))),this._kernelConnections.forEach((e=>{this._models.has(e.id)||e.handleShutdown()})),this._runningChanged.emit(n))}_onStarted(e){this._kernelConnections.add(e),e.statusChanged.connect(this._onStatusChanged,this),e.disposed.connect(this._onDisposed,this)}_onDisposed(e){this._kernelConnections.delete(e),this.refreshRunning().catch((()=>{}))}_onStatusChanged(e,t){"dead"===t&&this.refreshRunning().catch((()=>{}))}}t.KernelManager=d,function(e){e.NoopManager=class extends e{constructor(){super(...arguments),this._readyPromise=new Promise((()=>{}))}get isActive(){return!1}get parentReady(){return super.ready}async startNew(e={},t={}){return Promise.reject(new Error("Not implemented in no-op Kernel Manager"))}connectTo(e){throw new Error("Not implemented in no-op Kernel Manager")}async shutdown(e){return Promise.reject(new Error("Not implemented in no-op Kernel Manager"))}get ready(){return this.parentReady.then((()=>this._readyPromise))}async requestRunning(){return Promise.resolve()}}}(d||(t.KernelManager=d={}))},9909:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportedKernelWebSocketProtocols=t.isInputReplyMsg=t.isInputRequestMsg=t.isDebugReplyMsg=t.isDebugRequestMsg=t.isExecuteReplyMsg=t.isInfoRequestMsg=t.isCommMsgMsg=t.isCommCloseMsg=t.isCommOpenMsg=t.isDebugEventMsg=t.isClearOutputMsg=t.isStatusMsg=t.isErrorMsg=t.isExecuteResultMsg=t.isExecuteInputMsg=t.isUpdateDisplayDataMsg=t.isDisplayDataMsg=t.isStreamMsg=t.createMessage=void 0;const i=n(5764);var r;t.createMessage=function(e){var t,n,r,o,s;return{buffers:null!==(t=e.buffers)&&void 0!==t?t:[],channel:e.channel,content:e.content,header:{date:(new Date).toISOString(),msg_id:null!==(n=e.msgId)&&void 0!==n?n:i.UUID.uuid4(),msg_type:e.msgType,session:e.session,username:null!==(r=e.username)&&void 0!==r?r:"",version:"5.2"},metadata:null!==(o=e.metadata)&&void 0!==o?o:{},parent_header:null!==(s=e.parentHeader)&&void 0!==s?s:{}}},t.isStreamMsg=function(e){return"stream"===e.header.msg_type},t.isDisplayDataMsg=function(e){return"display_data"===e.header.msg_type},t.isUpdateDisplayDataMsg=function(e){return"update_display_data"===e.header.msg_type},t.isExecuteInputMsg=function(e){return"execute_input"===e.header.msg_type},t.isExecuteResultMsg=function(e){return"execute_result"===e.header.msg_type},t.isErrorMsg=function(e){return"error"===e.header.msg_type},t.isStatusMsg=function(e){return"status"===e.header.msg_type},t.isClearOutputMsg=function(e){return"clear_output"===e.header.msg_type},t.isDebugEventMsg=function(e){return"debug_event"===e.header.msg_type},t.isCommOpenMsg=function(e){return"comm_open"===e.header.msg_type},t.isCommCloseMsg=function(e){return"comm_close"===e.header.msg_type},t.isCommMsgMsg=function(e){return"comm_msg"===e.header.msg_type},t.isInfoRequestMsg=function(e){return"kernel_info_request"===e.header.msg_type},t.isExecuteReplyMsg=function(e){return"execute_reply"===e.header.msg_type},t.isDebugRequestMsg=function(e){return"debug_request"===e.header.msg_type},t.isDebugReplyMsg=function(e){return"debug_reply"===e.header.msg_type},t.isInputRequestMsg=function(e){return"input_request"===e.header.msg_type},t.isInputReplyMsg=function(e){return"input_reply"===e.header.msg_type},function(e){e.v1KernelWebsocketJupyterOrg="v1.kernel.websocket.jupyter.org"}(r||(t.supportedKernelWebSocketProtocols=r={}))},8235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getKernelModel=t.shutdownKernel=t.interruptKernel=t.restartKernel=t.startNew=t.listRunning=t.KERNEL_SERVICE_URL=void 0;const i=n(2920),r=n(8925),o=n(5855);t.KERNEL_SERVICE_URL="api/kernels",t.listRunning=async function(e=i.ServerConnection.makeSettings()){const n=r.URLExt.join(e.baseUrl,t.KERNEL_SERVICE_URL),s=await i.ServerConnection.makeRequest(n,{},e);if(200!==s.status)throw await i.ServerConnection.ResponseError.create(s);const a=await s.json();return(0,o.validateModels)(a),a},t.startNew=async function(e={},n=i.ServerConnection.makeSettings()){const s=r.URLExt.join(n.baseUrl,t.KERNEL_SERVICE_URL),a={method:"POST",body:JSON.stringify(e)},l=await i.ServerConnection.makeRequest(s,a,n);if(201!==l.status)throw await i.ServerConnection.ResponseError.create(l);const d=await l.json();return(0,o.validateModel)(d),d},t.restartKernel=async function(e,n=i.ServerConnection.makeSettings()){const s=r.URLExt.join(n.baseUrl,t.KERNEL_SERVICE_URL,encodeURIComponent(e),"restart"),a=await i.ServerConnection.makeRequest(s,{method:"POST"},n);if(200!==a.status)throw await i.ServerConnection.ResponseError.create(a);const l=await a.json();(0,o.validateModel)(l)},t.interruptKernel=async function(e,n=i.ServerConnection.makeSettings()){const o=r.URLExt.join(n.baseUrl,t.KERNEL_SERVICE_URL,encodeURIComponent(e),"interrupt"),s=await i.ServerConnection.makeRequest(o,{method:"POST"},n);if(204!==s.status)throw await i.ServerConnection.ResponseError.create(s)},t.shutdownKernel=async function(e,n=i.ServerConnection.makeSettings()){const o=r.URLExt.join(n.baseUrl,t.KERNEL_SERVICE_URL,encodeURIComponent(e)),s=await i.ServerConnection.makeRequest(o,{method:"DELETE"},n);if(404===s.status){const t=`The kernel "${e}" does not exist on the server`;console.warn(t)}else if(204!==s.status)throw await i.ServerConnection.ResponseError.create(s)},t.getKernelModel=async function(e,n=i.ServerConnection.makeSettings()){const s=r.URLExt.join(n.baseUrl,t.KERNEL_SERVICE_URL,encodeURIComponent(e)),a=await i.ServerConnection.makeRequest(s,{},n);if(404===a.status)return;if(200!==a.status)throw await i.ServerConnection.ResponseError.create(a);const l=await a.json();return(0,o.validateModel)(l),l}},7179:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.deserialize=t.serialize=void 0;const s=o(n(9909));var a;t.serialize=function(e,t=""){return t===s.supportedKernelWebSocketProtocols.v1KernelWebsocketJupyterOrg?a.serializeV1KernelWebsocketJupyterOrg(e):a.serializeDefault(e)},t.deserialize=function(e,t=""){return t===s.supportedKernelWebSocketProtocols.v1KernelWebsocketJupyterOrg?a.deserializeV1KernelWebsocketJupyterOrg(e):a.deserializeDefault(e)},function(e){e.deserializeV1KernelWebsocketJupyterOrg=function(e){let t;const n=new DataView(e),i=Number(n.getBigUint64(0,!0));let r=[];for(let e=0;e<i;e++)r.push(Number(n.getBigUint64(8*(e+1),!0)));const o=new TextDecoder("utf8"),s=o.decode(e.slice(r[0],r[1])),a=JSON.parse(o.decode(e.slice(r[1],r[2]))),l=JSON.parse(o.decode(e.slice(r[2],r[3]))),d=JSON.parse(o.decode(e.slice(r[3],r[4]))),c=JSON.parse(o.decode(e.slice(r[4],r[5])));let u=[];for(let t=5;t<r.length-1;t++)u.push(new DataView(e.slice(r[t],r[t+1])));return t={channel:s,header:a,parent_header:l,metadata:d,content:c,buffers:u},t},e.serializeV1KernelWebsocketJupyterOrg=function(e){const t=JSON.stringify(e.header),n=null==e.parent_header?"{}":JSON.stringify(e.parent_header),i=JSON.stringify(e.metadata),r=JSON.stringify(e.content),o=void 0!==e.buffers?e.buffers:[],s=5+o.length+1;let a=[];a.push(8*(1+s)),a.push(e.channel.length+a[a.length-1]);const l=new TextEncoder,d=l.encode(e.channel),c=l.encode(t),u=l.encode(n),h=l.encode(i),f=l.encode(r),p=new Uint8Array(d.length+c.length+u.length+h.length+f.length);p.set(d),p.set(c,d.length),p.set(u,d.length+c.length),p.set(h,d.length+c.length+u.length),p.set(f,d.length+c.length+u.length+h.length);for(let e of[c.length,u.length,h.length,f.length])a.push(e+a[a.length-1]);let A=0;for(let e of o){let t=e.byteLength;a.push(t+a[a.length-1]),A+=t}const m=new Uint8Array(8*(1+s)+p.byteLength+A),g=new ArrayBuffer(8),b=new DataView(g);b.setBigUint64(0,BigInt(s),!0),m.set(new Uint8Array(g),0);for(let e=0;e<a.length;e++)b.setBigUint64(0,BigInt(a[e]),!0),m.set(new Uint8Array(g),8*(e+1));m.set(p,a[0]);for(let e=0;e<o.length;e++){const t=o[e];m.set(new Uint8Array(ArrayBuffer.isView(t)?t.buffer:t),a[5+e])}return m.buffer},e.deserializeDefault=function(e){let t;return t="string"==typeof e?JSON.parse(e):function(e){const t=new DataView(e),n=t.getUint32(0),i=[];if(n<2)throw new Error("Invalid incoming Kernel Message");for(let e=1;e<=n;e++)i.push(t.getUint32(4*e));const r=new Uint8Array(e.slice(i[0],i[1])),o=JSON.parse(new TextDecoder("utf8").decode(r));o.buffers=[];for(let t=1;t<n;t++){const n=i[t],r=i[t+1]||e.byteLength;o.buffers.push(new DataView(e.slice(n,r)))}return o}(e),t},e.serializeDefault=function(e){var t;let n;return n=(null===(t=e.buffers)||void 0===t?void 0:t.length)?function(e){const t=[],n=[],i=new TextEncoder;let r=[];void 0!==e.buffers&&(r=e.buffers,delete e.buffers);const o=i.encode(JSON.stringify(e));n.push(o.buffer);for(let e=0;e<r.length;e++){const t=r[e];n.push(ArrayBuffer.isView(t)?t.buffer:t)}const s=n.length;t.push(4*(s+1));for(let e=0;e+1<n.length;e++)t.push(t[t.length-1]+n[e].byteLength);const a=new Uint8Array(t[t.length-1]+n[n.length-1].byteLength),l=new DataView(a.buffer);l.setUint32(0,s);for(let e=0;e<t.length;e++)l.setUint32(4*(e+1),t[e]);for(let e=0;e<n.length;e++)a.set(new Uint8Array(n[e]),t[e]);return a.buffer}(e):JSON.stringify(e),n}}(a||(a={}))},5855:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateModels=t.validateModel=t.validateMessage=void 0;const i=n(7441),r=["username","version","session","msg_id","msg_type"],o={stream:{name:"string",text:"string"},display_data:{data:"object",metadata:"object"},execute_input:{code:"string",execution_count:"number"},execute_result:{execution_count:"number",data:"object",metadata:"object"},error:{ename:"string",evalue:"string",traceback:"object"},status:{execution_state:["string",["starting","idle","busy","restarting","dead"]]},clear_output:{wait:"boolean"},comm_open:{comm_id:"string",target_name:"string",data:"object"},comm_msg:{comm_id:"string",data:"object"},comm_close:{comm_id:"string"},shutdown_reply:{restart:"boolean"}};function s(e){(0,i.validateProperty)(e,"name","string"),(0,i.validateProperty)(e,"id","string")}t.validateMessage=function(e){(0,i.validateProperty)(e,"metadata","object"),(0,i.validateProperty)(e,"content","object"),(0,i.validateProperty)(e,"channel","string"),function(e){for(let t=0;t<r.length;t++)(0,i.validateProperty)(e,r[t],"string")}(e.header),"iopub"===e.channel&&function(e){if("iopub"===e.channel){const t=o[e.header.msg_type];if(void 0===t)return;const n=Object.keys(t),r=e.content;for(let e=0;e<n.length;e++){let o=t[n[e]];Array.isArray(o)||(o=[o]),(0,i.validateProperty)(r,n[e],...o)}}}(e)},t.validateModel=s,t.validateModels=function(e){if(!Array.isArray(e))throw new Error("Invalid kernel list");e.forEach((e=>s(e)))}},2946:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t},s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.KernelSpecAPI=t.KernelSpec=void 0;const a=o(n(4806));t.KernelSpec=a;const l=o(n(6492));t.KernelSpecAPI=l,s(n(733),t)},4806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},733:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.KernelSpecManager=void 0;const s=n(5764),a=n(6049),l=n(3992),d=o(n(6492)),c=n(3867);class u extends c.BaseManager{constructor(e={}){var t;super(e),this._isReady=!1,this._connectionFailure=new l.Signal(this),this._specs=null,this._specsChanged=new l.Signal(this),this._ready=Promise.all([this.requestSpecs()]).then((e=>{})).catch((e=>{})).then((()=>{this.isDisposed||(this._isReady=!0)})),this._pollSpecs=new a.Poll({auto:!1,factory:()=>this.requestSpecs(),frequency:{interval:61e3,backoff:!0,max:3e5},name:"@jupyterlab/services:KernelSpecManager#specs",standby:null!==(t=e.standby)&&void 0!==t?t:"when-hidden"}),this.ready.then((()=>{this._pollSpecs.start()}))}get isReady(){return this._isReady}get ready(){return this._ready}get specs(){return this._specs}get specsChanged(){return this._specsChanged}get connectionFailure(){return this._connectionFailure}dispose(){this._pollSpecs.dispose(),super.dispose()}async refreshSpecs(){await this._pollSpecs.refresh(),await this._pollSpecs.tick}async requestSpecs(){const e=await d.getSpecs(this.serverSettings);this.isDisposed||s.JSONExt.deepEqual(e,this._specs)||(this._specs=e,this._specsChanged.emit(e))}}t.KernelSpecManager=u},6492:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSpecs=void 0;const i=n(2920),r=n(2598),o=n(8925);t.getSpecs=async function(e=i.ServerConnection.makeSettings()){const t=o.URLExt.join(e.baseUrl,"api/kernelspecs"),n=await i.ServerConnection.makeRequest(t,{},e);if(200!==n.status)throw await i.ServerConnection.ResponseError.create(n);const s=await n.json();return(0,r.validateSpecModels)(s)}},2598:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSpecModels=t.validateSpecModel=void 0;const i=n(7441);function r(e){const t=e.spec;if(!t)throw new Error("Invalid kernel spec");(0,i.validateProperty)(e,"name","string"),(0,i.validateProperty)(e,"resources","object"),(0,i.validateProperty)(t,"language","string"),(0,i.validateProperty)(t,"display_name","string"),(0,i.validateProperty)(t,"argv","array");let n=null;t.hasOwnProperty("metadata")&&((0,i.validateProperty)(t,"metadata","object"),n=t.metadata);let r=null;return t.hasOwnProperty("env")&&((0,i.validateProperty)(t,"env","object"),r=t.env),{name:e.name,resources:e.resources,language:t.language,display_name:t.display_name,argv:t.argv,metadata:n,env:r}}t.validateSpecModel=r,t.validateSpecModels=function(e){if(!e.hasOwnProperty("kernelspecs"))throw new Error("No kernelspecs found");let t=Object.keys(e.kernelspecs);const n=Object.create(null);let i=e.default;for(let i=0;i<t.length;i++){const o=e.kernelspecs[t[i]];try{n[t[i]]=r(o)}catch(e){console.warn(`Removing errant kernel spec: ${t[i]}`)}}if(t=Object.keys(n),!t.length)throw new Error("No valid kernelspecs found");return i&&"string"==typeof i&&i in n||(i=t[0],console.warn(`Default kernel not found, using '${t[0]}'`)),{default:i,kernelspecs:n}}},9740:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceManager=void 0;const i=n(3992),r=n(4219),o=n(8790),s=n(9480),a=n(973),l=n(2946),d=n(8683),c=n(2920),u=n(7668),h=n(7780),f=n(9040),p=n(9191),A=n(8053);t.ServiceManager=class{constructor(e={}){var t,n;this._isDisposed=!1,this._connectionFailure=new i.Signal(this),this._isReady=!1;const m=e.defaultDrive,g=null!==(t=e.serverSettings)&&void 0!==t?t:c.ServerConnection.makeSettings(),b={defaultDrive:m,serverSettings:g,standby:null!==(n=e.standby)&&void 0!==n?n:"when-hidden"};this.serverSettings=g,this.contents=e.contents||new o.ContentsManager(b),this.events=e.events||new s.EventManager(b),this.kernels=e.kernels||new a.KernelManager(b),this.sessions=e.sessions||new u.SessionManager({...b,kernelManager:this.kernels}),this.settings=e.settings||new h.SettingManager(b),this.terminals=e.terminals||new f.TerminalManager(b),this.builder=e.builder||new r.BuildManager(b),this.workspaces=e.workspaces||new A.WorkspaceManager(b),this.nbconvert=e.nbconvert||new d.NbConvertManager(b),this.kernelspecs=e.kernelspecs||new l.KernelSpecManager(b),this.user=e.user||new p.UserManager(b),this.kernelspecs.connectionFailure.connect(this._onConnectionFailure,this),this.sessions.connectionFailure.connect(this._onConnectionFailure,this),this.terminals.connectionFailure.connect(this._onConnectionFailure,this);const v=[this.sessions.ready,this.kernelspecs.ready];this.terminals.isAvailable()&&v.push(this.terminals.ready),this._readyPromise=Promise.all(v).then((()=>{this._isReady=!0}))}get connectionFailure(){return this._connectionFailure}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,i.Signal.clearData(this),this.contents.dispose(),this.events.dispose(),this.sessions.dispose(),this.terminals.dispose())}get isReady(){return this._isReady}get ready(){return this._readyPromise}_onConnectionFailure(e,t){this._connectionFailure.emit(t)}}},8683:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NbConvertManager=void 0;const i=n(8925),r=n(2920),o=n(5764);t.NbConvertManager=class{constructor(e={}){var t;this._exportFormats=null,this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:r.ServerConnection.makeSettings()}async fetchExportFormats(){this._requestingFormats=new o.PromiseDelegate,this._exportFormats=null;const e=this.serverSettings.baseUrl,t=i.URLExt.join(e,"api/nbconvert"),{serverSettings:n}=this,s=await r.ServerConnection.makeRequest(t,{},n);if(200!==s.status)throw await r.ServerConnection.ResponseError.create(s);const a=await s.json(),l={};return Object.keys(a).forEach((function(e){const t=a[e].output_mimetype;l[e]={output_mimetype:t}})),this._exportFormats=l,this._requestingFormats.resolve(l),l}async getExportFormats(e=!0){return this._requestingFormats?this._requestingFormats.promise:e||!this._exportFormats?await this.fetchExportFormats():this._exportFormats}}},2920:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerConnection=void 0;const i=n(8925),r=n(7179);let o;var s,a;o="undefined"==typeof window?n(7251):WebSocket,function(e){e.makeSettings=function(e){return a.makeSettings(e)},e.makeRequest=function(e,t,n){return a.handleRequest(e,t,n)};class t extends Error{static async create(e){try{const n=await e.json(),{message:i,traceback:r}=n;return r&&console.error(r),new t(e,null!=i?i:t._defaultMessage(e),null!=r?r:"")}catch(n){return console.debug(n),new t(e)}}constructor(e,n=t._defaultMessage(e),i=""){super(n),this.response=e,this.traceback=i}static _defaultMessage(e){return`Invalid response: ${e.status} ${e.statusText}`}}e.ResponseError=t;class n extends TypeError{constructor(e){super(e.message),this.stack=e.stack}}e.NetworkError=n}(s||(t.ServerConnection=s={})),function(e){e.makeSettings=function(e={}){var t;const n=i.PageConfig.getBaseUrl(),s=i.PageConfig.getWsUrl(),a=i.URLExt.normalize(e.baseUrl)||n;let l=e.wsUrl;l||a!==n||(l=s),l||0!==a.indexOf("http")||(l="ws"+a.slice(4)),l=null!=l?l:s;const d=i.PageConfig.getOption("appendToken").toLowerCase();let c;return c=""===d?"undefined"==typeof window||"undefined"!=typeof process&&void 0!==(null===(t=null===process||void 0===process?void 0:process.env)||void 0===t?void 0:t.JEST_WORKER_ID)||i.URLExt.getHostName(n)!==i.URLExt.getHostName(l):"true"===d,{init:{cache:"no-store",credentials:"same-origin"},fetch,Headers,Request,WebSocket:o,token:i.PageConfig.getToken(),appUrl:i.PageConfig.getOption("appUrl"),appendToken:c,serializer:{serialize:r.serialize,deserialize:r.deserialize},...e,baseUrl:a,wsUrl:l}},e.handleRequest=function(e,t,n){var i;if(0!==e.indexOf(n.baseUrl))throw new Error("Can only be used for notebook server requests");"no-store"===(null!==(i=t.cache)&&void 0!==i?i:n.init.cache)&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());const r=new n.Request(e,{...n.init,...t});let o=!1;if(n.token&&(o=!0,r.headers.append("Authorization",`token ${n.token}`)),"undefined"!=typeof document){const e=function(e){let t="";try{t=document.cookie}catch(e){return}const n=t.match("\\b_xsrf=([^;]*)\\b");return null==n?void 0:n[1]}();void 0!==e&&(o=!0,r.headers.append("X-XSRFToken",e))}return!r.headers.has("Content-Type")&&o&&r.headers.set("Content-Type","application/json"),n.fetch.call(null,r).catch((e=>{throw new s.NetworkError(e)}))}}(a||(a={}))},5341:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionConnection=void 0;const i=n(3992),r=n(7883),o=n(7570),s=n(5764);t.SessionConnection=class{constructor(e){var t,n,o,a;this._id="",this._path="",this._name="",this._type="",this._kernel=null,this._isDisposed=!1,this._disposed=new i.Signal(this),this._kernelChanged=new i.Signal(this),this._statusChanged=new i.Signal(this),this._connectionStatusChanged=new i.Signal(this),this._pendingInput=new i.Signal(this),this._iopubMessage=new i.Signal(this),this._unhandledMessage=new i.Signal(this),this._anyMessage=new i.Signal(this),this._propertyChanged=new i.Signal(this),this._id=e.model.id,this._name=e.model.name,this._path=e.model.path,this._type=e.model.type,this._username=null!==(t=e.username)&&void 0!==t?t:"",this._clientId=null!==(n=e.clientId)&&void 0!==n?n:s.UUID.uuid4(),this._connectToKernel=e.connectToKernel,this._kernelConnectionOptions=null!==(o=e.kernelConnectionOptions)&&void 0!==o?o:{},this.serverSettings=null!==(a=e.serverSettings)&&void 0!==a?a:r.ServerConnection.makeSettings(),this.setupKernel(e.model.kernel)}get disposed(){return this._disposed}get kernelChanged(){return this._kernelChanged}get statusChanged(){return this._statusChanged}get connectionStatusChanged(){return this._connectionStatusChanged}get pendingInput(){return this._pendingInput}get iopubMessage(){return this._iopubMessage}get unhandledMessage(){return this._unhandledMessage}get anyMessage(){return this._anyMessage}get propertyChanged(){return this._propertyChanged}get id(){return this._id}get kernel(){return this._kernel}get path(){return this._path}get type(){return this._type}get name(){return this._name}get model(){return{id:this.id,kernel:this.kernel&&{id:this.kernel.id,name:this.kernel.name},path:this._path,type:this._type,name:this._name}}get isDisposed(){return this._isDisposed}update(e){const t=this.model;if(this._path=e.path,this._name=e.name,this._type=e.type,null===this._kernel&&null!==e.kernel||null!==this._kernel&&null===e.kernel||null!==this._kernel&&null!==e.kernel&&this._kernel.id!==e.kernel.id){null!==this._kernel&&this._kernel.dispose();const t=this._kernel||null;this.setupKernel(e.kernel);const n=this._kernel||null;this._kernelChanged.emit({name:"kernel",oldValue:t,newValue:n})}this._handleModelChange(t)}dispose(){if(!this.isDisposed){if(this._isDisposed=!0,this._disposed.emit(),this._kernel){this._kernel.dispose();const e=this._kernel;this._kernel=null;const t=this._kernel;this._kernelChanged.emit({name:"kernel",oldValue:e,newValue:t})}i.Signal.clearData(this)}}async setPath(e){if(this.isDisposed)throw new Error("Session is disposed");await this._patch({path:e})}async setName(e){if(this.isDisposed)throw new Error("Session is disposed");await this._patch({name:e})}async setType(e){if(this.isDisposed)throw new Error("Session is disposed");await this._patch({type:e})}async changeKernel(e){if(this.isDisposed)throw new Error("Session is disposed");return await this._patch({kernel:e}),this.kernel}async shutdown(){if(this.isDisposed)throw new Error("Session is disposed");await(0,o.shutdownSession)(this.id,this.serverSettings),this.dispose()}setupKernel(e){if(null===e)return void(this._kernel=null);const t=this._connectToKernel({...this._kernelConnectionOptions,model:e,username:this._username,clientId:this._clientId,serverSettings:this.serverSettings});this._kernel=t,t.statusChanged.connect(this.onKernelStatus,this),t.connectionStatusChanged.connect(this.onKernelConnectionStatus,this),t.pendingInput.connect(this.onPendingInput,this),t.unhandledMessage.connect(this.onUnhandledMessage,this),t.iopubMessage.connect(this.onIOPubMessage,this),t.anyMessage.connect(this.onAnyMessage,this)}onKernelStatus(e,t){this._statusChanged.emit(t)}onKernelConnectionStatus(e,t){this._connectionStatusChanged.emit(t)}onPendingInput(e,t){this._pendingInput.emit(t)}onIOPubMessage(e,t){this._iopubMessage.emit(t)}onUnhandledMessage(e,t){this._unhandledMessage.emit(t)}onAnyMessage(e,t){this._anyMessage.emit(t)}async _patch(e){const t=await(0,o.updateSession)({...e,id:this._id},this.serverSettings);return this.update(t),t}_handleModelChange(e){e.name!==this._name&&this._propertyChanged.emit("name"),e.type!==this._type&&this._propertyChanged.emit("type"),e.path!==this._path&&this._propertyChanged.emit("path")}}},7668:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t},s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.SessionAPI=t.Session=void 0;const a=o(n(7240));t.Session=a;const l=o(n(7570));t.SessionAPI=l,s(n(6919),t)},6919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionManager=void 0;const i=n(6049),r=n(3992),o=n(2920),s=n(3867),a=n(5341),l=n(7570);class d extends s.BaseManager{constructor(e){var t;super(e),this._isReady=!1,this._sessionConnections=new Set,this._models=new Map,this._runningChanged=new r.Signal(this),this._connectionFailure=new r.Signal(this),this._connectToKernel=e=>this._kernelManager.connectTo(e),this._kernelManager=e.kernelManager,this._pollModels=new i.Poll({auto:!1,factory:()=>this.requestRunning(),frequency:{interval:1e4,backoff:!0,max:3e5},name:"@jupyterlab/services:SessionManager#models",standby:null!==(t=e.standby)&&void 0!==t?t:"when-hidden"}),this._ready=(async()=>{await this._pollModels.start(),await this._pollModels.tick,this._kernelManager.isActive&&await this._kernelManager.ready,this._isReady=!0})()}get isReady(){return this._isReady}get ready(){return this._ready}get runningChanged(){return this._runningChanged}get connectionFailure(){return this._connectionFailure}dispose(){this.isDisposed||(this._models.clear(),this._sessionConnections.forEach((e=>e.dispose())),this._pollModels.dispose(),super.dispose())}connectTo(e){const t=new a.SessionConnection({...e,connectToKernel:this._connectToKernel,serverSettings:this.serverSettings});return this._onStarted(t),this._models.has(e.model.id)||this.refreshRunning().catch((()=>{})),t}running(){return this._models.values()}async refreshRunning(){await this._pollModels.refresh(),await this._pollModels.tick}async startNew(e,t={}){const n=await(0,l.startSession)(e,this.serverSettings);return await this.refreshRunning(),this.connectTo({...t,model:n})}async shutdown(e){await(0,l.shutdownSession)(e,this.serverSettings),await this.refreshRunning()}async shutdownAll(){await this.refreshRunning(),await Promise.all([...this._models.keys()].map((e=>(0,l.shutdownSession)(e,this.serverSettings)))),await this.refreshRunning()}async stopIfNeeded(e){try{const t=(await(0,l.listRunning)(this.serverSettings)).filter((t=>t.path===e));if(1===t.length){const e=t[0].id;await this.shutdown(e)}}catch(e){}}async findById(e){return this._models.has(e)||await this.refreshRunning(),this._models.get(e)}async findByPath(e){for(const t of this._models.values())if(t.path===e)return t;await this.refreshRunning();for(const t of this._models.values())if(t.path===e)return t}async requestRunning(){var e,t;let n;try{n=await(0,l.listRunning)(this.serverSettings)}catch(n){throw(n instanceof o.ServerConnection.NetworkError||503===(null===(e=n.response)||void 0===e?void 0:e.status)||424===(null===(t=n.response)||void 0===t?void 0:t.status))&&this._connectionFailure.emit(n),n}this.isDisposed||this._models.size===n.length&&n.every((e=>{var t,n,i,r;const o=this._models.get(e.id);return!!o&&(null===(t=o.kernel)||void 0===t?void 0:t.id)===(null===(n=e.kernel)||void 0===n?void 0:n.id)&&(null===(i=o.kernel)||void 0===i?void 0:i.name)===(null===(r=e.kernel)||void 0===r?void 0:r.name)&&o.name===e.name&&o.path===e.path&&o.type===e.type}))||(this._models=new Map(n.map((e=>[e.id,e]))),this._sessionConnections.forEach((e=>{this._models.has(e.id)?e.update(this._models.get(e.id)):e.dispose()})),this._runningChanged.emit(n))}_onStarted(e){this._sessionConnections.add(e),e.disposed.connect(this._onDisposed,this),e.propertyChanged.connect(this._onChanged,this),e.kernelChanged.connect(this._onChanged,this)}_onDisposed(e){this._sessionConnections.delete(e),this.refreshRunning().catch((()=>{}))}_onChanged(){this.refreshRunning().catch((()=>{}))}}t.SessionManager=d,function(e){e.NoopManager=class extends e{constructor(){super(...arguments),this._readyPromise=new Promise((()=>{}))}get isActive(){return!1}get parentReady(){return super.ready}async startNew(e,t={}){return Promise.reject(new Error("Not implemented in no-op Session Manager"))}connectTo(e){throw Error("Not implemented in no-op Session Manager")}get ready(){return this.parentReady.then((()=>this._readyPromise))}async shutdown(e){return Promise.reject(new Error("Not implemented in no-op Session Manager"))}async requestRunning(){return Promise.resolve()}}}(d||(t.SessionManager=d={}))},7570:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateSession=t.startSession=t.getSessionModel=t.shutdownSession=t.getSessionUrl=t.listRunning=t.SESSION_SERVICE_URL=void 0;const i=n(2920),r=n(8925),o=n(5684);function s(e,n){const i=r.URLExt.join(e,t.SESSION_SERVICE_URL),o=r.URLExt.join(i,n);if(!o.startsWith(i))throw new Error("Can only be used for services requests");return o}t.SESSION_SERVICE_URL="api/sessions",t.listRunning=async function(e=i.ServerConnection.makeSettings()){const n=r.URLExt.join(e.baseUrl,t.SESSION_SERVICE_URL),s=await i.ServerConnection.makeRequest(n,{},e);if(200!==s.status)throw await i.ServerConnection.ResponseError.create(s);const a=await s.json();if(!Array.isArray(a))throw new Error("Invalid Session list");return a.forEach((e=>{(0,o.updateLegacySessionModel)(e),(0,o.validateModel)(e)})),a},t.getSessionUrl=s,t.shutdownSession=async function(e,t=i.ServerConnection.makeSettings()){var n;const r=s(t.baseUrl,e),o=await i.ServerConnection.makeRequest(r,{method:"DELETE"},t);if(404===o.status){const t=null!==(n=(await o.json()).message)&&void 0!==n?n:`The session "${e}"" does not exist on the server`;console.warn(t)}else{if(410===o.status)throw new i.ServerConnection.ResponseError(o,"The kernel was deleted but the session was not");if(204!==o.status)throw await i.ServerConnection.ResponseError.create(o)}},t.getSessionModel=async function(e,t=i.ServerConnection.makeSettings()){const n=s(t.baseUrl,e),r=await i.ServerConnection.makeRequest(n,{},t);if(200!==r.status)throw await i.ServerConnection.ResponseError.create(r);const a=await r.json();return(0,o.updateLegacySessionModel)(a),(0,o.validateModel)(a),a},t.startSession=async function(e,n=i.ServerConnection.makeSettings()){const s=r.URLExt.join(n.baseUrl,t.SESSION_SERVICE_URL),a={method:"POST",body:JSON.stringify(e)},l=await i.ServerConnection.makeRequest(s,a,n);if(201!==l.status)throw await i.ServerConnection.ResponseError.create(l);const d=await l.json();return(0,o.updateLegacySessionModel)(d),(0,o.validateModel)(d),d},t.updateSession=async function(e,t=i.ServerConnection.makeSettings()){const n=s(t.baseUrl,e.id),r={method:"PATCH",body:JSON.stringify(e)},a=await i.ServerConnection.makeRequest(n,r,t);if(200!==a.status)throw await i.ServerConnection.ResponseError.create(a);const l=await a.json();return(0,o.updateLegacySessionModel)(l),(0,o.validateModel)(l),l}},7240:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5684:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateModels=t.updateLegacySessionModel=t.validateModel=void 0;const i=n(5855),r=n(7441);function o(e){(0,r.validateProperty)(e,"id","string"),(0,r.validateProperty)(e,"type","string"),(0,r.validateProperty)(e,"name","string"),(0,r.validateProperty)(e,"path","string"),(0,r.validateProperty)(e,"kernel","object"),(0,i.validateModel)(e.kernel)}t.validateModel=o,t.updateLegacySessionModel=function(e){void 0===e.path&&void 0!==e.notebook&&(e.path=e.notebook.path,e.type="notebook",e.name="")},t.validateModels=function(e){if(!Array.isArray(e))throw new Error("Invalid session list");e.forEach((e=>o(e)))}},7780:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SettingManager=void 0;const i=n(8925),r=n(1670),o=n(2920);class s extends r.DataConnector{constructor(e={}){var t;super(),this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:o.ServerConnection.makeSettings()}async fetch(e){if(!e)throw new Error("Plugin `id` parameter is required for settings fetch.");const{serverSettings:t}=this,{baseUrl:n,appUrl:i}=t,{makeRequest:r,ResponseError:s}=o.ServerConnection,l=n+i,d=a.url(l,e),c=await r(d,{},t);if(200!==c.status)throw await s.create(c);return c.json()}async list(e){var t,n,i,r;const{serverSettings:s}=this,{baseUrl:l,appUrl:d}=s,{makeRequest:c,ResponseError:u}=o.ServerConnection,h=l+d,f=a.url(h,"","ids"===e),p=await c(f,{},s);if(200!==p.status)throw new u(p);const A=await p.json(),m=null!==(n=null===(t=null==A?void 0:A.settings)||void 0===t?void 0:t.map((e=>e.id)))&&void 0!==n?n:[];let g=[];return e||(g=null!==(r=null===(i=null==A?void 0:A.settings)||void 0===i?void 0:i.map((e=>(e.data={composite:{},user:{}},e))))&&void 0!==r?r:[]),{ids:m,values:g}}async save(e,t){const{serverSettings:n}=this,{baseUrl:i,appUrl:r}=n,{makeRequest:s,ResponseError:l}=o.ServerConnection,d=i+r,c=a.url(d,e),u={body:JSON.stringify({raw:t}),method:"PUT"},h=await s(c,u,n);if(204!==h.status)throw new l(h)}}var a;t.SettingManager=s,function(e){e.url=function(e,t,n){const r=n?i.URLExt.objectToQueryString({ids_only:!0}):"",o=i.URLExt.join(e,"api/settings"),s=i.URLExt.join(o,t);if(!s.startsWith(o))throw new Error("Can only be used for workspaces requests");return`${s}${r}`}}(a||(a={}))},7251:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=WebSocket},9822:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TerminalConnection=void 0;const i=n(8925),r=n(5764),o=n(3992),s=n(7883),a=n(6134);class l{constructor(e){var t;this._createSocket=()=>{this._errorIfDisposed(),this._clearSocket(),this._updateConnectionStatus("connecting");const e=this._name,t=this.serverSettings;let n=i.URLExt.join(t.wsUrl,"terminals","websocket",encodeURIComponent(e));const r=t.token;t.appendToken&&""!==r&&(n+=`?token=${encodeURIComponent(r)}`),this._ws=new t.WebSocket(n),this._ws.onmessage=this._onWSMessage,this._ws.onclose=this._onWSClose,this._ws.onerror=this._onWSClose},this._onWSMessage=e=>{if(this._isDisposed)return;const t=JSON.parse(e.data);"disconnect"===t[0]&&this.dispose(),"connecting"!==this._connectionStatus?this._messageReceived.emit({type:t[0],content:t.slice(1)}):"setup"===t[0]&&this._updateConnectionStatus("connected")},this._onWSClose=e=>{console.warn(`Terminal websocket closed: ${e.code}`),this.isDisposed||this._reconnect()},this._connectionStatus="connecting",this._connectionStatusChanged=new o.Signal(this),this._isDisposed=!1,this._disposed=new o.Signal(this),this._messageReceived=new o.Signal(this),this._reconnectTimeout=null,this._ws=null,this._noOp=()=>{},this._reconnectLimit=7,this._reconnectAttempt=0,this._pendingMessages=[],this._name=e.model.name,this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:s.ServerConnection.makeSettings(),this._createSocket()}get disposed(){return this._disposed}get messageReceived(){return this._messageReceived}get name(){return this._name}get model(){return{name:this._name}}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,this._disposed.emit(),this._updateConnectionStatus("disconnected"),this._clearSocket(),o.Signal.clearData(this))}send(e){this._sendMessage(e)}_sendMessage(e,t=!0){if(!this._isDisposed&&e.content)if("connected"===this.connectionStatus&&this._ws){const t=[e.type,...e.content];this._ws.send(JSON.stringify(t))}else{if(!t)throw new Error(`Could not send message: ${JSON.stringify(e)}`);this._pendingMessages.push(e)}}_sendPending(){for(;"connected"===this.connectionStatus&&this._pendingMessages.length>0;)this._sendMessage(this._pendingMessages[0],!1),this._pendingMessages.shift()}reconnect(){this._errorIfDisposed();const e=new r.PromiseDelegate,t=(n,i)=>{"connected"===i?(e.resolve(),this.connectionStatusChanged.disconnect(t,this)):"disconnected"===i&&(e.reject(new Error("Terminal connection disconnected")),this.connectionStatusChanged.disconnect(t,this))};return this.connectionStatusChanged.connect(t,this),this._reconnectAttempt=0,this._reconnect(),e.promise}_reconnect(){if(this._errorIfDisposed(),clearTimeout(this._reconnectTimeout),this._reconnectAttempt<this._reconnectLimit){this._updateConnectionStatus("connecting");const e=d.getRandomIntInclusive(0,1e3*(Math.pow(2,this._reconnectAttempt)-1));console.error(`Connection lost, reconnecting in ${Math.floor(e/1e3)} seconds.`),this._reconnectTimeout=setTimeout(this._createSocket,e),this._reconnectAttempt+=1}else this._updateConnectionStatus("disconnected");this._clearSocket()}_clearSocket(){null!==this._ws&&(this._ws.onopen=this._noOp,this._ws.onclose=this._noOp,this._ws.onerror=this._noOp,this._ws.onmessage=this._noOp,this._ws.close(),this._ws=null)}async shutdown(){await(0,a.shutdownTerminal)(this.name,this.serverSettings),this.dispose()}clone(){return new l(this)}_updateConnectionStatus(e){this._connectionStatus!==e&&(this._connectionStatus=e,"connecting"!==e&&(this._reconnectAttempt=0,clearTimeout(this._reconnectTimeout)),"connected"===e&&this._sendPending(),this._connectionStatusChanged.emit(e))}_errorIfDisposed(){if(this.isDisposed)throw new Error("Terminal connection is disposed")}get connectionStatusChanged(){return this._connectionStatusChanged}get connectionStatus(){return this._connectionStatus}}var d;t.TerminalConnection=l,function(e){e.getTermUrl=function(e,t){return i.URLExt.join(e,a.TERMINAL_SERVICE_URL,encodeURIComponent(t))},e.getRandomIntInclusive=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}}(d||(d={}))},9040:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t},s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.TerminalAPI=t.Terminal=void 0;const a=o(n(6994));t.Terminal=a;const l=o(n(6134));t.TerminalAPI=l,s(n(9883),t)},9883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TerminalManager=void 0;const i=n(6049),r=n(3992),o=n(7883),s=n(3867),a=n(6134),l=n(9822);class d extends s.BaseManager{constructor(e={}){var t;if(super(e),this._isReady=!1,this._names=[],this._terminalConnections=new Set,this._runningChanged=new r.Signal(this),this._connectionFailure=new r.Signal(this),!this.isAvailable())return this._ready=Promise.reject("Terminals unavailable"),void this._ready.catch((e=>{}));this._pollModels=new i.Poll({auto:!1,factory:()=>this.requestRunning(),frequency:{interval:1e4,backoff:!0,max:3e5},name:"@jupyterlab/services:TerminalManager#models",standby:null!==(t=e.standby)&&void 0!==t?t:"when-hidden"}),this._ready=(async()=>{await this._pollModels.start(),await this._pollModels.tick,this._isReady=!0})()}get isReady(){return this._isReady}get ready(){return this._ready}get runningChanged(){return this._runningChanged}get connectionFailure(){return this._connectionFailure}dispose(){this.isDisposed||(this._names.length=0,this._terminalConnections.forEach((e=>e.dispose())),this._pollModels.dispose(),super.dispose())}isAvailable(){return(0,a.isAvailable)()}connectTo(e){const t=new l.TerminalConnection({...e,serverSettings:this.serverSettings});return this._onStarted(t),this._names.includes(e.model.name)||this.refreshRunning().catch((()=>{})),t}running(){return this._models[Symbol.iterator]()}async refreshRunning(){await this._pollModels.refresh(),await this._pollModels.tick}async startNew(e){const t=await(0,a.startNew)(this.serverSettings,null==e?void 0:e.name,null==e?void 0:e.cwd);return await this.refreshRunning(),this.connectTo({model:t})}async shutdown(e){await(0,a.shutdownTerminal)(e,this.serverSettings),await this.refreshRunning()}async shutdownAll(){await this.refreshRunning(),await Promise.all(this._names.map((e=>(0,a.shutdownTerminal)(e,this.serverSettings)))),await this.refreshRunning()}async requestRunning(){var e,t;let n;try{n=await(0,a.listRunning)(this.serverSettings)}catch(n){throw(n instanceof o.ServerConnection.NetworkError||503===(null===(e=n.response)||void 0===e?void 0:e.status)||424===(null===(t=n.response)||void 0===t?void 0:t.status))&&this._connectionFailure.emit(n),n}if(this.isDisposed)return;const i=n.map((({name:e})=>e)).sort();i!==this._names&&(this._names=i,this._terminalConnections.forEach((e=>{i.includes(e.name)||e.dispose()})),this._runningChanged.emit(this._models))}_onStarted(e){this._terminalConnections.add(e),e.disposed.connect(this._onDisposed,this)}_onDisposed(e){this._terminalConnections.delete(e),this.refreshRunning().catch((()=>{}))}get _models(){return this._names.map((e=>({name:e})))}}t.TerminalManager=d,function(e){e.NoopManager=class extends e{constructor(){super(...arguments),this._readyPromise=new Promise((()=>{}))}get isActive(){return!1}get parentReady(){return super.ready}get ready(){return this.parentReady.then((()=>this._readyPromise))}async startNew(e){return Promise.reject(new Error("Not implemented in no-op Terminal Manager"))}connectTo(e){throw Error("Not implemented in no-op Terminal Manager")}async shutdown(e){return Promise.reject(new Error("Not implemented in no-op Terminal Manager"))}async requestRunning(){return Promise.resolve()}}}(d||(t.TerminalManager=d={}))},6134:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shutdownTerminal=t.listRunning=t.startNew=t.isAvailable=t.TERMINAL_SERVICE_URL=void 0;const i=n(8925),r=n(2920);function o(){return"true"===String(i.PageConfig.getOption("terminalsAvailable")).toLowerCase()}var s;t.TERMINAL_SERVICE_URL="api/terminals",t.isAvailable=o,t.startNew=async function(e=r.ServerConnection.makeSettings(),n,o){s.errorIfNotAvailable();const a=i.URLExt.join(e.baseUrl,t.TERMINAL_SERVICE_URL),l={method:"POST",body:JSON.stringify({name:n,cwd:o})},d=await r.ServerConnection.makeRequest(a,l,e);if(200!==d.status)throw await r.ServerConnection.ResponseError.create(d);return await d.json()},t.listRunning=async function(e=r.ServerConnection.makeSettings()){s.errorIfNotAvailable();const n=i.URLExt.join(e.baseUrl,t.TERMINAL_SERVICE_URL),o=await r.ServerConnection.makeRequest(n,{},e);if(200!==o.status)throw await r.ServerConnection.ResponseError.create(o);const a=await o.json();if(!Array.isArray(a))throw new Error("Invalid terminal list");return a},t.shutdownTerminal=async function(e,n=r.ServerConnection.makeSettings()){var o;s.errorIfNotAvailable();const a=i.URLExt.join(n.baseUrl,t.TERMINAL_SERVICE_URL),l=i.URLExt.join(a,e);if(!l.startsWith(a))throw new Error("Can only be used for terminal requests");const d=await r.ServerConnection.makeRequest(l,{method:"DELETE"},n);if(404===d.status){const t=null!==(o=(await d.json()).message)&&void 0!==o?o:`The terminal session "${e}"" does not exist on the server`;console.warn(t)}else if(204!==d.status)throw await r.ServerConnection.ResponseError.create(d)},function(e){e.errorIfNotAvailable=function(){if(!o())throw new Error("Terminals Unavailable")}}(s||(s={}))},6994:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAvailable=void 0;const i=n(6134);Object.defineProperty(t,"isAvailable",{enumerable:!0,get:function(){return i.isAvailable}})},9191:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserManager=void 0;const i=n(8925),r=n(5764),o=n(6049),s=n(3992),a=n(2920),l=n(3867),d="@jupyterlab/services:UserManager#user";class c extends l.BaseManager{constructor(e={}){var t;super(e),this._isReady=!1,this._userChanged=new s.Signal(this),this._connectionFailure=new s.Signal(this),this._ready=this.requestUser().then((()=>{this.isDisposed||(this._isReady=!0)})).catch((e=>new Promise((()=>{})))),this._pollSpecs=new o.Poll({auto:!1,factory:()=>this.requestUser(),frequency:{interval:61e3,backoff:!0,max:3e5},name:d,standby:null!==(t=e.standby)&&void 0!==t?t:"when-hidden"}),this.ready.then((()=>{this._pollSpecs.start()}))}get isReady(){return this._isReady}get ready(){return this._ready}get identity(){return this._identity}get permissions(){return this._permissions}get userChanged(){return this._userChanged}get connectionFailure(){return this._connectionFailure}dispose(){this._pollSpecs.dispose(),super.dispose()}async refreshUser(){await this._pollSpecs.refresh(),await this._pollSpecs.tick}async requestUser(){if(this.isDisposed)return;const{baseUrl:e}=this.serverSettings,{makeRequest:t,ResponseError:n}=a.ServerConnection,o=i.URLExt.join(e,"api/me"),s=await t(o,{},this.serverSettings);if(200!==s.status)throw await n.create(s);const l={identity:this._identity,permissions:this._permissions},c=await s.json(),h=c.identity,{localStorage:f}=window,p=f.getItem(d);if(p&&(!h.initials||!h.color)){const e=JSON.parse(p);h.initials=h.initials||e.initials||h.name.substring(0,1),h.color=h.color||e.color||u.getRandomColor()}r.JSONExt.deepEqual(c,l)||(this._identity=h,this._permissions=c.permissions,f.setItem(d,JSON.stringify(h)),this._userChanged.emit(c))}}var u;t.UserManager=c,function(e){const t=["var(--jp-collaborator-color1)","var(--jp-collaborator-color2)","var(--jp-collaborator-color3)","var(--jp-collaborator-color4)","var(--jp-collaborator-color5)","var(--jp-collaborator-color6)","var(--jp-collaborator-color7)"];e.getRandomColor=()=>t[Math.floor(Math.random()*t.length)]}(u||(u={}))},7441:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateProperty=void 0,t.validateProperty=function(e,t,n,i=[]){if(!e.hasOwnProperty(t))throw Error(`Missing property '${t}'`);const r=e[t];if(void 0!==n){let e=!0;switch(n){case"array":e=Array.isArray(r);break;case"object":e=void 0!==r;break;default:e=typeof r===n}if(!e)throw new Error(`Property '${t}' is not of type '${n}'`);if(i.length>0){let e=!0;switch(n){case"string":case"number":case"boolean":e=i.includes(r);break;default:e=i.findIndex((e=>e===r))>=0}if(!e)throw new Error(`Property '${t}' is not one of the valid values ${JSON.stringify(i)}`)}}}},8053:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceManager=void 0;const i=n(8925),r=n(1670),o=n(2920);class s extends r.DataConnector{constructor(e={}){var t;super(),this.serverSettings=null!==(t=e.serverSettings)&&void 0!==t?t:o.ServerConnection.makeSettings()}async fetch(e){const{serverSettings:t}=this,{baseUrl:n,appUrl:i}=t,{makeRequest:r,ResponseError:s}=o.ServerConnection,l=n+i,d=a.url(l,e),c=await r(d,{},t);if(200!==c.status)throw await s.create(c);return c.json()}async list(){const{serverSettings:e}=this,{baseUrl:t,appUrl:n}=e,{makeRequest:i,ResponseError:r}=o.ServerConnection,s=t+n,l=a.url(s,""),d=await i(l,{},e);if(200!==d.status)throw await r.create(d);return(await d.json()).workspaces}async remove(e){const{serverSettings:t}=this,{baseUrl:n,appUrl:i}=t,{makeRequest:r,ResponseError:s}=o.ServerConnection,l=n+i,d=a.url(l,e),c=await r(d,{method:"DELETE"},t);if(204!==c.status)throw await s.create(c)}async save(e,t){const{serverSettings:n}=this,{baseUrl:i,appUrl:r}=n,{makeRequest:s,ResponseError:l}=o.ServerConnection,d=i+r,c=a.url(d,e),u={body:JSON.stringify(t),method:"PUT"},h=await s(c,u,n);if(204!==h.status)throw await l.create(h)}}var a;t.WorkspaceManager=s,function(e){e.url=function(e,t){const n=i.URLExt.join(e,"api/workspaces"),r=i.URLExt.join(n,t);if(!r.startsWith(n))throw new Error("Can only be used for workspaces requests");return r}}(a||(a={}))},4949:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataConnector=void 0,t.DataConnector=class{async list(e){throw new Error("DataConnector#list method has not been implemented.")}async remove(e){throw new Error("DataConnector#remove method has not been implemented.")}async save(e,t){throw new Error("DataConnector#save method has not been implemented.")}}},1670:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(4949),t),r(n(9708),t),r(n(4025),t),r(n(2133),t),r(n(8022),t)},9708:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4025:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestorablePool=void 0;const i=n(5764),r=n(6573),o=n(3992);var s;t.RestorablePool=class{constructor(e){this._added=new o.Signal(this),this._current=null,this._currentChanged=new o.Signal(this),this._hasRestored=!1,this._isDisposed=!1,this._objects=new Set,this._restore=null,this._restored=new i.PromiseDelegate,this._updated=new o.Signal(this),this.namespace=e.namespace}get added(){return this._added}get current(){return this._current}set current(e){this._current!==e&&null!==e&&this._objects.has(e)&&(this._current=e,this._currentChanged.emit(this._current))}get currentChanged(){return this._currentChanged}get isDisposed(){return this._isDisposed}get restored(){return this._restored.promise}get size(){return this._objects.size}get updated(){return this._updated}async add(e){var t,n;if(e.isDisposed){const t="A disposed object cannot be added.";throw console.warn(t,e),new Error(t)}if(this._objects.has(e)){const t="This object already exists in the pool.";throw console.warn(t,e),new Error(t)}if(this._objects.add(e),e.disposed.connect(this._onInstanceDisposed,this),!s.injectedProperty.get(e)){if(this._restore){const{connector:i}=this._restore,r=this._restore.name(e);if(r){const o=`${this.namespace}:${r}`,a=null===(n=(t=this._restore).args)||void 0===n?void 0:n.call(t,e);s.nameProperty.set(e,o),await i.save(o,{data:a})}}this._added.emit(e)}}dispose(){this.isDisposed||(this._current=null,this._isDisposed=!0,this._objects.clear(),o.Signal.clearData(this))}find(e){const t=this._objects.values();for(const n of t)if(e(n))return n}forEach(e){this._objects.forEach(e)}filter(e){const t=[];return this.forEach((n=>{e(n)&&t.push(n)})),t}inject(e){return s.injectedProperty.set(e,!0),this.add(e)}has(e){return this._objects.has(e)}async restore(e){if(this._hasRestored)throw new Error("This pool has already been restored.");this._hasRestored=!0;const{command:t,connector:n,registry:i,when:r}=e,o=this.namespace,s=r?[n.list(o)].concat(r):[n.list(o)];this._restore=e;const[a]=await Promise.all(s),l=await Promise.all(a.ids.map((async(e,r)=>{const o=a.values[r],s=o&&o.data;return void 0===s?n.remove(e):i.execute(t,s).catch((()=>n.remove(e)))})));return this._restored.resolve(),l}async save(e){var t,n;const i=s.injectedProperty.get(e);if(!this._restore||!this.has(e)||i)return;const{connector:r}=this._restore,o=this._restore.name(e),a=s.nameProperty.get(e),l=o?`${this.namespace}:${o}`:"";if(a&&a!==l&&await r.remove(a),s.nameProperty.set(e,l),l){const i=null===(n=(t=this._restore).args)||void 0===n?void 0:n.call(t,e);await r.save(l,{data:i})}a!==l&&this._updated.emit(e)}_onInstanceDisposed(e){if(this._objects.delete(e),e===this._current&&(this._current=null,this._currentChanged.emit(this._current)),s.injectedProperty.get(e))return;if(!this._restore)return;const{connector:t}=this._restore,n=s.nameProperty.get(e);n&&t.remove(n)}},function(e){e.injectedProperty=new r.AttachedProperty({name:"injected",create:()=>!1}),e.nameProperty=new r.AttachedProperty({name:"name",create:()=>""})}(s||(s={}))},2133:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateDB=void 0;const i=n(3992);class r{constructor(e={}){this._changed=new i.Signal(this);const{connector:t,transform:n}=e;this._connector=t||new r.Connector,this._ready=n?n.then((e=>{const{contents:t,type:n}=e;switch(n){case"cancel":default:return;case"clear":return this._clear();case"merge":return this._merge(t||{});case"overwrite":return this._overwrite(t||{})}})):Promise.resolve(void 0)}get changed(){return this._changed}async clear(){await this._ready,await this._clear()}async fetch(e){return await this._ready,this._fetch(e)}async list(e){return await this._ready,this._list(e)}async remove(e){await this._ready,await this._remove(e),this._changed.emit({id:e,type:"remove"})}async save(e,t){await this._ready,await this._save(e,t),this._changed.emit({id:e,type:"save"})}async toJSON(){await this._ready;const{ids:e,values:t}=await this._list();return t.reduce(((t,n,i)=>(t[e[i]]=n,t)),{})}async _clear(){await Promise.all((await this._list()).ids.map((e=>this._remove(e))))}async _fetch(e){const t=await this._connector.fetch(e);if(t)return JSON.parse(t).v}async _list(e=""){const{ids:t,values:n}=await this._connector.list(e);return{ids:t,values:n.map((e=>JSON.parse(e).v))}}async _merge(e){await Promise.all(Object.keys(e).map((t=>e[t]&&this._save(t,e[t]))))}async _overwrite(e){await this._clear(),await this._merge(e)}async _remove(e){return this._connector.remove(e)}async _save(e,t){return this._connector.save(e,JSON.stringify({v:t}))}}t.StateDB=r,function(e){e.Connector=class{constructor(){this._storage={}}async fetch(e){return this._storage[e]}async list(e=""){return Object.keys(this._storage).reduce(((t,n)=>(""!==e&&e!==n.split(":")[0]||(t.ids.push(n),t.values.push(this._storage[n])),t)),{ids:[],values:[]})}async remove(e){delete this._storage[e]}async save(e,t){this._storage[e]=t}}}(r||(t.StateDB=r={}))},8022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IStateDB=void 0;const i=n(5764);t.IStateDB=new i.Token("@jupyterlab/coreutils:IStateDB",'A service for the JupyterLab state database.\n Use this if you want to store data that will persist across page loads.\n See "state database" for more information.')},8135:(e,t,n)=>{"use strict";var i,r,o;function*s(){}function a(e,t){let n=0;for(const i of e)if(t(i,n++))return i}function l(e,t){let n;for(const i of e)void 0!==n?t(i,n)>0&&(n=i):n=i;return n}function d(e,t){let n=0;for(const i of e)if(!1===t(i,n++))return!1;return!0}function c(e,t){let n=0;for(const i of e)if(t(i,n++))return!0;return!1}function*u(e,t){let n=0;for(const i of e)yield t(i,n++)}function*h(e){if("function"==typeof e.retro)yield*e.retro();else for(let t=e.length-1;t>-1;t--)yield e[t]}n.d(t,{$0:()=>h,I6:()=>a,Ie:()=>s,Rw:()=>i,Si:()=>d,T9:()=>l,Tj:()=>u,fY:()=>o,zN:()=>c}),function(e){function t(e,t,n=0,i=-1){let r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(let i=0;i<r;++i){let r=(n+i)%o;if(e[r]===t)return r}return-1}function n(e,t,n=-1,i=0){let r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(let i=0;i<r;++i){let r=(n-i+o)%o;if(e[r]===t)return r}return-1}function i(e,t,n=0,i=-1){let r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(let i=0;i<r;++i){let r=(n+i)%o;if(t(e[r],r))return r}return-1}function r(e,t,n=-1,i=0){let r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(let i=0;i<r;++i){let r=(n-i+o)%o;if(t(e[r],r))return r}return-1}function o(e,t=0,n=-1){let i=e.length;if(!(i<=1))for(t=t<0?Math.max(0,t+i):Math.min(t,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);t<n;){let i=e[t],r=e[n];e[t++]=r,e[n--]=i}}function s(e,t){let n=e.length;if(t<0&&(t+=n),t<0||t>=n)return;let i=e[t];for(let i=t+1;i<n;++i)e[i-1]=e[i];return e.length=n-1,i}e.firstIndexOf=t,e.lastIndexOf=n,e.findFirstIndex=i,e.findLastIndex=r,e.findFirstValue=function(e,t,n=0,r=-1){let o=i(e,t,n,r);return-1!==o?e[o]:void 0},e.findLastValue=function(e,t,n=-1,i=0){let o=r(e,t,n,i);return-1!==o?e[o]:void 0},e.lowerBound=function(e,t,n,i=0,r=-1){let o=e.length;if(0===o)return 0;let s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;for(;a>0;){let i=a>>1,r=s+i;n(e[r],t)<0?(s=r+1,a-=i+1):a=i}return s},e.upperBound=function(e,t,n,i=0,r=-1){let o=e.length;if(0===o)return 0;let s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;for(;a>0;){let i=a>>1,r=s+i;n(e[r],t)>0?a=i:(s=r+1,a-=i+1)}return s},e.shallowEqual=function(e,t,n){if(e===t)return!0;if(e.length!==t.length)return!1;for(let i=0,r=e.length;i<r;++i)if(n?!n(e[i],t[i]):e[i]!==t[i])return!1;return!0},e.slice=function(e,t={}){let{start:n,stop:i,step:r}=t;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");let o,s=e.length;void 0===n?n=r<0?s-1:0:n<0?n=Math.max(n+s,r<0?-1:0):n>=s&&(n=r<0?s-1:s),void 0===i?i=r<0?-1:s:i<0?i=Math.max(i+s,r<0?-1:0):i>=s&&(i=r<0?s-1:s),o=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);let a=[];for(let t=0;t<o;++t)a[t]=e[n+t*r];return a},e.move=function(e,t,n){let i=e.length;if(i<=1)return;if((t=t<0?Math.max(0,t+i):Math.min(t,i-1))===(n=n<0?Math.max(0,n+i):Math.min(n,i-1)))return;let r=e[t],o=t<n?1:-1;for(let i=t;i!==n;i+=o)e[i]=e[i+o];e[n]=r},e.reverse=o,e.rotate=function(e,t,n=0,i=-1){let r=e.length;if(r<=1)return;if((n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))return;let s=i-n+1;if(t>0?t%=s:t<0&&(t=(t%s+s)%s),0===t)return;let a=n+t;o(e,n,a-1),o(e,a,i),o(e,n,i)},e.fill=function(e,t,n=0,i=-1){let r,o=e.length;if(0!==o){n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(let i=0;i<r;++i)e[(n+i)%o]=t}},e.insert=function(e,t,n){let i=e.length;t=t<0?Math.max(0,t+i):Math.min(t,i);for(let n=i;n>t;--n)e[n]=e[n-1];e[t]=n},e.removeAt=s,e.removeFirstOf=function(e,n,i=0,r=-1){let o=t(e,n,i,r);return-1!==o&&s(e,o),o},e.removeLastOf=function(e,t,i=-1,r=0){let o=n(e,t,i,r);return-1!==o&&s(e,o),o},e.removeAllOf=function(e,t,n=0,i=-1){let r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);let o=0;for(let s=0;s<r;++s)n<=i&&s>=n&&s<=i&&e[s]===t||i<n&&(s<=i||s>=n)&&e[s]===t?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o},e.removeFirstWhere=function(e,t,n=0,r=-1){let o,a=i(e,t,n,r);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeLastWhere=function(e,t,n=-1,i=0){let o,a=r(e,t,n,i);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeAllWhere=function(e,t,n=0,i=-1){let r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);let o=0;for(let s=0;s<r;++s)n<=i&&s>=n&&s<=i&&t(e[s],s)||i<n&&(s<=i||s>=n)&&t(e[s],s)?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o}}(i||(i={})),function(e){e.rangeLength=function(e,t,n){return 0===n?1/0:e>t&&n>0||e<t&&n<0?0:Math.ceil((t-e)/n)}}(r||(r={})),function(e){function t(e,t,n=0){let i=new Array(t.length);for(let r=0,o=n,s=t.length;r<s;++r,++o){if(o=e.indexOf(t[r],o),-1===o)return null;i[r]=o}return i}e.findIndices=t,e.matchSumOfSquares=function(e,n,i=0){let r=t(e,n,i);if(!r)return null;let o=0;for(let e=0,t=r.length;e<t;++e){let t=r[e]-i;o+=t*t}return{score:o,indices:r}},e.matchSumOfDeltas=function(e,n,i=0){let r=t(e,n,i);if(!r)return null;let o=0,s=i-1;for(let e=0,t=r.length;e<t;++e){let t=r[e];o+=t-s-1,s=t}return{score:o,indices:r}},e.highlight=function(e,t,n){let i=[],r=0,o=0,s=t.length;for(;r<s;){let a=t[r],l=t[r];for(;++r<s&&t[r]===l+1;)l++;o<a&&i.push(e.slice(o,a)),a<l+1&&i.push(n(e.slice(a,l+1))),o=l+1}return o<e.length&&i.push(e.slice(o)),i},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(o||(o={}))},5764:function(e,t){!function(e){"use strict";e.JSONExt=void 0,function(e){function t(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e}function n(e){return Array.isArray(e)}function i(e,r){if(e===r)return!0;if(t(e)||t(r))return!1;let o=n(e),s=n(r);return o===s&&(o&&s?function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;++n)if(!i(e[n],t[n]))return!1;return!0}(e,r):function(e,t){if(e===t)return!0;for(let n in e)if(void 0!==e[n]&&!(n in t))return!1;for(let n in t)if(void 0!==t[n]&&!(n in e))return!1;for(let n in e){let r=e[n],o=t[n];if(void 0!==r||void 0!==o){if(void 0===r||void 0===o)return!1;if(!i(r,o))return!1}}return!0}(e,r))}function r(e){return t(e)?e:n(e)?function(e){let t=new Array(e.length);for(let n=0,i=e.length;n<i;++n)t[n]=r(e[n]);return t}(e):function(e){let t={};for(let n in e){let i=e[n];void 0!==i&&(t[n]=r(i))}return t}(e)}e.emptyObject=Object.freeze({}),e.emptyArray=Object.freeze([]),e.isPrimitive=t,e.isArray=n,e.isObject=function(e){return!t(e)&&!n(e)},e.deepEqual=i,e.deepCopy=r}(e.JSONExt||(e.JSONExt={}));function t(e){let t=0;for(let n=0,i=e.length;n<i;++n)n%4==0&&(t=4294967295*Math.random()>>>0),e[n]=255&t,t>>>=8}e.Random=void 0,(e.Random||(e.Random={})).getRandomValues=(()=>{const e="undefined"!=typeof window&&(window.crypto||window.msCrypto)||null;return e&&"function"==typeof e.getRandomValues?function(t){return e.getRandomValues(t)}:t})(),e.UUID=void 0,(e.UUID||(e.UUID={})).uuid4=function(e){const t=new Uint8Array(16),n=new Array(256);for(let e=0;e<16;++e)n[e]="0"+e.toString(16);for(let e=16;e<256;++e)n[e]=e.toString(16);return function(){return e(t),t[6]=64|15&t[6],t[8]=128|63&t[8],n[t[0]]+n[t[1]]+n[t[2]]+n[t[3]]+"-"+n[t[4]]+n[t[5]]+"-"+n[t[6]]+n[t[7]]+"-"+n[t[8]]+n[t[9]]+"-"+n[t[10]]+n[t[11]]+n[t[12]]+n[t[13]]+n[t[14]]+n[t[15]]}}(e.Random.getRandomValues),e.MimeData=class{constructor(){this._types=[],this._values=[]}types(){return this._types.slice()}hasData(e){return-1!==this._types.indexOf(e)}getData(e){let t=this._types.indexOf(e);return-1!==t?this._values[t]:void 0}setData(e,t){this.clearData(e),this._types.push(e),this._values.push(t)}clearData(e){let t=this._types.indexOf(e);-1!==t&&(this._types.splice(t,1),this._values.splice(t,1))}clear(){this._types.length=0,this._values.length=0}},e.PromiseDelegate=class{constructor(){this.promise=new Promise(((e,t)=>{this._resolve=e,this._reject=t}))}resolve(e){(0,this._resolve)(e)}reject(e){(0,this._reject)(e)}},e.Token=class{constructor(e,t){this.name=e,this.description=null!=t?t:"",this._tokenStructuralPropertyT=null}}}(t)},7556:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DisposableDelegate:()=>r,DisposableSet:()=>s,ObservableDisposableDelegate:()=>o,ObservableDisposableSet:()=>a});var i=n(3992);class r{constructor(e){this._fn=e}get isDisposed(){return!this._fn}dispose(){if(!this._fn)return;let e=this._fn;this._fn=null,e()}}class o extends r{constructor(){super(...arguments),this._disposed=new i.Signal(this)}get disposed(){return this._disposed}dispose(){this.isDisposed||(super.dispose(),this._disposed.emit(void 0),i.Signal.clearData(this))}}class s{constructor(){this._isDisposed=!1,this._items=new Set}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,this._items.forEach((e=>{e.dispose()})),this._items.clear())}contains(e){return this._items.has(e)}add(e){this._items.add(e)}remove(e){this._items.delete(e)}clear(){this._items.clear()}}!function(e){e.from=function(t){let n=new e;for(const e of t)n.add(e);return n}}(s||(s={}));class a extends s{constructor(){super(...arguments),this._disposed=new i.Signal(this)}get disposed(){return this._disposed}dispose(){this.isDisposed||(super.dispose(),this._disposed.emit(void 0),i.Signal.clearData(this))}}!function(e){e.from=function(t){let n=new e;for(const e of t)n.add(e);return n}}(a||(a={}))},1621:(e,t,n)=>{"use strict";var i,r,o,s,a;n.d(t,{MD:()=>s,OD:()=>o,_$:()=>r}),function(e){e.copyText=function(e){var t=document.body,n=function(i){i.preventDefault(),i.stopPropagation(),i.clipboardData.setData("text",e),t.removeEventListener("copy",n,!0)};t.addEventListener("copy",n,!0),document.execCommand("copy")}}(i||(i={})),function(e){e.boxSizing=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.borderTopWidth)||0,i=parseFloat(t.borderLeftWidth)||0,r=parseFloat(t.borderRightWidth)||0,o=parseFloat(t.borderBottomWidth)||0,s=parseFloat(t.paddingTop)||0,a=parseFloat(t.paddingLeft)||0,l=parseFloat(t.paddingRight)||0,d=parseFloat(t.paddingBottom)||0;return{borderTop:n,borderLeft:i,borderRight:r,borderBottom:o,paddingTop:s,paddingLeft:a,paddingRight:l,paddingBottom:d,horizontalSum:i+a+l+r,verticalSum:n+s+d+o}},e.sizeLimits=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.minWidth)||0,i=parseFloat(t.minHeight)||0,r=parseFloat(t.maxWidth)||1/0,o=parseFloat(t.maxHeight)||1/0;return{minWidth:n,minHeight:i,maxWidth:r=Math.max(n,r),maxHeight:o=Math.max(i,o)}},e.hitTest=function(e,t,n){var i=e.getBoundingClientRect();return t>=i.left&&t<i.right&&n>=i.top&&n<i.bottom},e.scrollIntoViewIfNeeded=function(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect();i.top<=n.top&&i.bottom>=n.bottom||(i.top<n.top&&i.height<=n.height||i.bottom>n.bottom&&i.height>=n.height?e.scrollTop-=n.top-i.top:(i.top<n.top&&i.height>n.height||i.bottom>n.bottom&&i.height<n.height)&&(e.scrollTop-=n.bottom-i.bottom))}}(r||(r={})),function(e){e.IS_MAC=!!navigator.platform.match(/Mac/i),e.IS_WIN=!!navigator.platform.match(/Win/i),e.IS_IE=/Trident/.test(navigator.userAgent),e.IS_EDGE=/Edge/.test(navigator.userAgent),e.accelKey=function(t){return e.IS_MAC?t.metaKey:t.ctrlKey}}(o||(o={})),function(e){e.calculateSpecificity=function(e){if(e in a.specificityCache)return a.specificityCache[e];var t=a.calculateSingle(e);return a.specificityCache[e]=t},e.isValid=function(e){if(e in a.validityCache)return a.validityCache[e];var t=!0;try{a.testElem.querySelector(e)}catch(e){t=!1}return a.validityCache[e]=t},e.matches=function(e,t){return a.protoMatchFunc.call(e,t)}}(s||(s={})),function(e){var t;e.specificityCache=Object.create(null),e.validityCache=Object.create(null),e.testElem=document.createElement("div"),e.protoMatchFunc=(t=Element.prototype).matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector||function(e){var t=this,n=t.ownerDocument?t.ownerDocument.querySelectorAll(e):[];return-1!==Array.prototype.indexOf.call(n,t)},e.calculateSingle=function(e){var t=0,c=0,u=0;function h(t){var n=e.match(t);return null!==n&&(e=e.slice(n[0].length),!0)}for(e=(e=e.split(",",1)[0]).replace(d," $1 ");e.length>0;)if(h(n))t++;else if(h(i))c++;else if(h(r))c++;else if(h(s))u++;else if(h(a))c++;else if(h(o))u++;else if(!h(l))return 0;return(t=Math.min(t,255))<<16|(c=Math.min(c,255))<<8|Math.min(u,255)};var n=/^#[^\s\+>~#\.\[:]+/,i=/^\.[^\s\+>~#\.\[:]+/,r=/^\[[^\]]+\]/,o=/^[^\s\+>~#\.\[:]+/,s=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,a=/^:[^\s\+>~#\.\[:]+/,l=/^[\s\+>~\*]+/,d=/:not\(([^\)]+)\)/g}(a||(a={}))},9640:(e,t,n)=>{"use strict";var i;function r(e){return"function"==typeof e.iter?e.iter():new s(e)}n.d(t,{HS:()=>_,QB:()=>w,Mu:()=>C}),function(e){function t(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(e[a]===t)return a}return-1}function n(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(e[a]===t)return a}return-1}function i(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(t(e[a],a))return a}return-1}function r(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(t(e[a],a))return a}return-1}function o(e,t,n){void 0===t&&(t=0),void 0===n&&(n=-1);var i=e.length;if(!(i<=1))for(t=t<0?Math.max(0,t+i):Math.min(t,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);t<n;){var r=e[t],o=e[n];e[t++]=o,e[n--]=r}}function s(e,t){var n=e.length;if(t<0&&(t+=n),!(t<0||t>=n)){for(var i=e[t],r=t+1;r<n;++r)e[r-1]=e[r];return e.length=n-1,i}}e.firstIndexOf=t,e.lastIndexOf=n,e.findFirstIndex=i,e.findLastIndex=r,e.findFirstValue=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=i(e,t,n,r);return-1!==o?e[o]:void 0},e.findLastValue=function(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var o=r(e,t,n,i);return-1!==o?e[o]:void 0},e.lowerBound=function(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var l=a>>1,d=s+l;n(e[d],t)<0?(s=d+1,a-=l+1):a=l}return s},e.upperBound=function(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var l=a>>1,d=s+l;n(e[d],t)>0?a=l:(s=d+1,a-=l+1)}return s},e.shallowEqual=function(e,t,n){if(e===t)return!0;if(e.length!==t.length)return!1;for(var i=0,r=e.length;i<r;++i)if(n?!n(e[i],t[i]):e[i]!==t[i])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var n=t.start,i=t.stop,r=t.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var o,s=e.length;void 0===n?n=r<0?s-1:0:n<0?n=Math.max(n+s,r<0?-1:0):n>=s&&(n=r<0?s-1:s),void 0===i?i=r<0?-1:s:i<0?i=Math.max(i+s,r<0?-1:0):i>=s&&(i=r<0?s-1:s),o=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],l=0;l<o;++l)a[l]=e[n+l*r];return a},e.move=function(e,t,n){var i=e.length;if(!(i<=1)&&(t=t<0?Math.max(0,t+i):Math.min(t,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=e[t],o=t<n?1:-1,s=t;s!==n;s+=o)e[s]=e[s+o];e[n]=r}},e.reverse=o,e.rotate=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var s=i-n+1;if(t>0?t%=s:t<0&&(t=(t%s+s)%s),0!==t){var a=n+t;o(e,n,a-1),o(e,a,i),o(e,n,i)}}},e.fill=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0!==r){var o;n=n<0?Math.max(0,n+r):Math.min(n,r-1),o=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var s=0;s<o;++s)e[(n+s)%r]=t}},e.insert=function(e,t,n){var i=e.length;t=t<0?Math.max(0,t+i):Math.min(t,i);for(var r=i;r>t;--r)e[r]=e[r-1];e[t]=n},e.removeAt=s,e.removeFirstOf=function(e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t(e,n,i,r);return-1!==o&&s(e,o),o},e.removeLastOf=function(e,t,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var o=n(e,t,i,r);return-1!==o&&s(e,o),o},e.removeAllOf=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&e[s]===t||i<n&&(s<=i||s>=n)&&e[s]===t?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o},e.removeFirstWhere=function(e,t,n,r){var o;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(e,t,n,r);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeLastWhere=function(e,t,n,i){var o;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(e,t,n,i);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeAllWhere=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&t(e[s],s)||i<n&&(s<=i||s>=n)&&t(e[s],s)?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o}}(i||(i={}));var o,s=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())}}(),function(){function e(){}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){}}(),function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,n=this._source;void 0!==(e=n.next());)if(t(e,this._index++))return e}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)}}(),function(){function e(e,t,n){this._index=0,this._start=e,this._stop=t,this._step=n,this._length=o.rangeLength(e,t,n)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,n){return 0===n?1/0:e>t&&n>0||e<t&&n<0?0:Math.ceil((t-e)/n)}}(o||(o={})),function(){function e(e,t){this._value=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}();var a,l,d=function(){function e(e){this._source=e,this._index=e.length-1}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]},e}();function c(e,t){for(var n,i=0,r=function(e){return"function"==typeof e.iter?e.iter():new u(e)}(e);void 0!==(n=r.next());)if(!1===t(n,i++))return}!function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,n){void 0===n&&(n=0);for(var i=new Array(t.length),r=0,o=n,s=t.length;r<s;++r,++o){if(-1===(o=e.indexOf(t[r],o)))return null;i[r]=o}return i}e.findIndices=t,e.matchSumOfSquares=function(e,n,i){void 0===i&&(i=0);var r=t(e,n,i);if(!r)return null;for(var o=0,s=0,a=r.length;s<a;++s){var l=r[s]-i;o+=l*l}return{score:o,indices:r}},e.matchSumOfDeltas=function(e,n,i){void 0===i&&(i=0);var r=t(e,n,i);if(!r)return null;for(var o=0,s=i-1,a=0,l=r.length;a<l;++a){var d=r[a];o+=d-s-1,s=d}return{score:o,indices:r}},e.highlight=function(e,t,n){for(var i=[],r=0,o=0,s=t.length;r<s;){for(var a=t[r],l=t[r];++r<s&&t[r]===l+1;)l++;o<a&&i.push(e.slice(o,a)),a<l+1&&i.push(n(e.slice(a,l+1))),o=l+1}return o<e.length&&i.push(e.slice(o)),i},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(a||(a={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,n=this._source.length;t<n;++t){var i=this._source[t].next();if(void 0===i)return;e[t]=i}return e}}(),function(e){function t(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(e[a]===t)return a}return-1}function n(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(e[a]===t)return a}return-1}function i(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r,o=e.length;if(0===o)return-1;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=(i=i<0?Math.max(0,i+o):Math.min(i,o-1))<n?i+1+(o-n):i-n+1;for(var s=0;s<r;++s){var a=(n+s)%o;if(t(e[a],a))return a}return-1}function r(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var r,o=e.length;if(0===o)return-1;r=(n=n<0?Math.max(0,n+o):Math.min(n,o-1))<(i=i<0?Math.max(0,i+o):Math.min(i,o-1))?n+1+(o-i):n-i+1;for(var s=0;s<r;++s){var a=(n-s+o)%o;if(t(e[a],a))return a}return-1}function o(e,t,n){void 0===t&&(t=0),void 0===n&&(n=-1);var i=e.length;if(!(i<=1))for(t=t<0?Math.max(0,t+i):Math.min(t,i-1),n=n<0?Math.max(0,n+i):Math.min(n,i-1);t<n;){var r=e[t],o=e[n];e[t++]=o,e[n--]=r}}function s(e,t){var n=e.length;if(t<0&&(t+=n),!(t<0||t>=n)){for(var i=e[t],r=t+1;r<n;++r)e[r-1]=e[r];return e.length=n-1,i}}e.firstIndexOf=t,e.lastIndexOf=n,e.findFirstIndex=i,e.findLastIndex=r,e.findFirstValue=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=i(e,t,n,r);return-1!==o?e[o]:void 0},e.findLastValue=function(e,t,n,i){void 0===n&&(n=-1),void 0===i&&(i=0);var o=r(e,t,n,i);return-1!==o?e[o]:void 0},e.lowerBound=function(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var l=a>>1,d=s+l;n(e[d],t)<0?(s=d+1,a-=l+1):a=l}return s},e.upperBound=function(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;for(var s=i=i<0?Math.max(0,i+o):Math.min(i,o-1),a=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))-i+1;a>0;){var l=a>>1,d=s+l;n(e[d],t)>0?a=l:(s=d+1,a-=l+1)}return s},e.shallowEqual=function(e,t,n){if(e===t)return!0;if(e.length!==t.length)return!1;for(var i=0,r=e.length;i<r;++i)if(n?!n(e[i],t[i]):e[i]!==t[i])return!1;return!0},e.slice=function(e,t){void 0===t&&(t={});var n=t.start,i=t.stop,r=t.step;if(void 0===r&&(r=1),0===r)throw new Error("Slice `step` cannot be zero.");var o,s=e.length;void 0===n?n=r<0?s-1:0:n<0?n=Math.max(n+s,r<0?-1:0):n>=s&&(n=r<0?s-1:s),void 0===i?i=r<0?-1:s:i<0?i=Math.max(i+s,r<0?-1:0):i>=s&&(i=r<0?s-1:s),o=r<0&&i>=n||r>0&&n>=i?0:r<0?Math.floor((i-n+1)/r+1):Math.floor((i-n-1)/r+1);for(var a=[],l=0;l<o;++l)a[l]=e[n+l*r];return a},e.move=function(e,t,n){var i=e.length;if(!(i<=1)&&(t=t<0?Math.max(0,t+i):Math.min(t,i-1))!==(n=n<0?Math.max(0,n+i):Math.min(n,i-1))){for(var r=e[t],o=t<n?1:-1,s=t;s!==n;s+=o)e[s]=e[s+o];e[n]=r}},e.reverse=o,e.rotate=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(!(r<=1||(n=n<0?Math.max(0,n+r):Math.min(n,r-1))>=(i=i<0?Math.max(0,i+r):Math.min(i,r-1)))){var s=i-n+1;if(t>0?t%=s:t<0&&(t=(t%s+s)%s),0!==t){var a=n+t;o(e,n,a-1),o(e,a,i),o(e,n,i)}}},e.fill=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0!==r){var o;n=n<0?Math.max(0,n+r):Math.min(n,r-1),o=(i=i<0?Math.max(0,i+r):Math.min(i,r-1))<n?i+1+(r-n):i-n+1;for(var s=0;s<o;++s)e[(n+s)%r]=t}},e.insert=function(e,t,n){var i=e.length;t=t<0?Math.max(0,t+i):Math.min(t,i);for(var r=i;r>t;--r)e[r]=e[r-1];e[t]=n},e.removeAt=s,e.removeFirstOf=function(e,n,i,r){void 0===i&&(i=0),void 0===r&&(r=-1);var o=t(e,n,i,r);return-1!==o&&s(e,o),o},e.removeLastOf=function(e,t,i,r){void 0===i&&(i=-1),void 0===r&&(r=0);var o=n(e,t,i,r);return-1!==o&&s(e,o),o},e.removeAllOf=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&e[s]===t||i<n&&(s<=i||s>=n)&&e[s]===t?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o},e.removeFirstWhere=function(e,t,n,r){var o;void 0===n&&(n=0),void 0===r&&(r=-1);var a=i(e,t,n,r);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeLastWhere=function(e,t,n,i){var o;void 0===n&&(n=-1),void 0===i&&(i=0);var a=r(e,t,n,i);return-1!==a&&(o=s(e,a)),{index:a,value:o}},e.removeAllWhere=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=-1);var r=e.length;if(0===r)return 0;n=n<0?Math.max(0,n+r):Math.min(n,r-1),i=i<0?Math.max(0,i+r):Math.min(i,r-1);for(var o=0,s=0;s<r;++s)n<=i&&s>=n&&s<=i&&t(e[s],s)||i<n&&(s<=i||s>=n)&&t(e[s],s)?o++:o>0&&(e[s-o]=e[s]);return o>0&&(e.length=r-o),o}}(l||(l={}));var u=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();function h(){return new A}(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}(),function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())}}();var f,p,A=function(){function e(){}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){},e}();!function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,n=this._source;void 0!==(e=n.next());)if(t(e,this._index++))return e}}(),function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)}}(),function(){function e(e,t,n){this._index=0,this._start=e,this._stop=t,this._step=n,this._length=f.rangeLength(e,t,n)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}(),function(e){e.rangeLength=function(e,t,n){return 0===n?1/0:e>t&&n>0||e<t&&n<0?0:Math.ceil((t-e)/n)}}(f||(f={})),function(){function e(e,t){this._value=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._value,this._count)},e.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value}}(),function(){function e(e){this._source=e,this._index=e.length-1}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]}}(),function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}(),function(e){function t(e,t,n){void 0===n&&(n=0);for(var i=new Array(t.length),r=0,o=n,s=t.length;r<s;++r,++o){if(-1===(o=e.indexOf(t[r],o)))return null;i[r]=o}return i}e.findIndices=t,e.matchSumOfSquares=function(e,n,i){void 0===i&&(i=0);var r=t(e,n,i);if(!r)return null;for(var o=0,s=0,a=r.length;s<a;++s){var l=r[s]-i;o+=l*l}return{score:o,indices:r}},e.matchSumOfDeltas=function(e,n,i){void 0===i&&(i=0);var r=t(e,n,i);if(!r)return null;for(var o=0,s=i-1,a=0,l=r.length;a<l;++a){var d=r[a];o+=d-s-1,s=d}return{score:o,indices:r}},e.highlight=function(e,t,n){for(var i=[],r=0,o=0,s=t.length;r<s;){for(var a=t[r],l=t[r];++r<s&&t[r]===l+1;)l++;o<a&&i.push(e.slice(o,a)),a<l+1&&i.push(n(e.slice(a,l+1))),o=l+1}return o<e.length&&i.push(e.slice(o)),i},e.cmp=function(e,t){return e<t?-1:e>t?1:0}}(p||(p={})),function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}(),function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,n=this._source.length;t<n;++t){var i=this._source[t].next();if(void 0===i)return;e[t]=i}return e}}();var m,g=function(){function e(e){this._root=new m.LeafNode,this.cmp=e}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._root.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){var e=m.firstLeaf(this._root);return e.size>0?e.items[0]:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=m.lastLeaf(this._root);return e.size>0?e.items[e.size-1]:void 0},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return m.iterItems(this._root)},e.prototype.retro=function(){return m.retroItems(this._root)},e.prototype.slice=function(e,t){return m.sliceItems(this._root,e,t)},e.prototype.retroSlice=function(e,t){return m.retroSliceItems(this._root,e,t)},e.prototype.at=function(e){return m.itemAt(this._root,e)},e.prototype.has=function(e,t){return m.hasItem(this._root,e,t)},e.prototype.indexOf=function(e,t){return m.indexOf(this._root,e,t)},e.prototype.get=function(e,t){return m.getItem(this._root,e,t)},e.prototype.assign=function(e){this.clear(),this.update(e)},e.prototype.insert=function(e){var t=m.insertItem(this._root,e,this.cmp);return this._root=m.maybeSplitRoot(this._root),t},e.prototype.update=function(e){var t=this;c(e,(function(e){t.insert(e)}))},e.prototype.delete=function(e,t){var n=m.deleteItem(this._root,e,t);return this._root=m.maybeExtractRoot(this._root),n},e.prototype.remove=function(e){var t=m.removeItem(this._root,e);return this._root=m.maybeExtractRoot(this._root),t},e.prototype.clear=function(){m.clear(this._root),this._root=new m.LeafNode},e}();!function(e){e.from=function(t,n){var i=new e(n);return i.assign(t),i}}(g||(g={})),function(e){var t=function(){function e(){this.items=[],this.sizes=[],this.children=[]}return Object.defineProperty(e.prototype,"type",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.sizes[this.sizes.length-1]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),e}();e.BranchNode=t;var n=function(){function e(){this.next=null,this.prev=null,this.items=[]}return Object.defineProperty(e.prototype,"type",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),e}();function i(e){for(;0===e.type;)e=e.children[0];return e}function r(e){for(;0===e.type;)e=e.children[e.children.length-1];return e}function o(e){0===e.type?(c(e.children,o),e.children.length=0,e.sizes.length=0,e.items.length=0):(e.items.length=0,e.next=null,e.prev=null)}e.LeafNode=n,e.firstLeaf=i,e.lastLeaf=r,e.iterItems=function(e){var t=i(e);return new d(t,0,-1)},e.retroItems=function(e){var t=r(e);return new u(t,t.size-1,-1)},e.sliceItems=function(e,t,n){t=void 0===t?0:t<0?Math.max(0,t+e.size):Math.min(t,e.size),n=void 0===n?e.size:n<0?Math.max(0,n+e.size):Math.min(n,e.size);var i=Math.max(0,n-t);if(0===i)return h();for(;0===e.type;){var r=f(e.sizes,t);r>0&&(t-=e.sizes[r-1]),e=e.children[r]}return new d(e,t,i)},e.retroSliceItems=function(e,t,n){t=void 0===t?e.size-1:t<0?Math.max(-1,t+e.size):Math.min(t,e.size-1),n=void 0===n?-1:n<0?Math.max(-1,n+e.size):Math.min(n,e.size-1);var i=Math.max(0,t-n);if(0===i)return h();for(;0===e.type;){var r=f(e.sizes,t);r>0&&(t-=e.sizes[r-1]),e=e.children[r]}return new u(e,t,i)},e.itemAt=function(e,t){if(t<0&&(t+=e.size),!(t<0||t>=e.size)){for(;0===e.type;){var n=f(e.sizes,t);n>0&&(t-=e.sizes[n-1]),e=e.children[n]}return e.items[t]}},e.hasItem=function(e,t,n){for(;0===e.type;){var i=p(e.items,t,n);e=e.children[i]}return A(e.items,t,n)>=0},e.indexOf=function(e,t,n){for(var i=0;0===e.type;){var r=p(e.items,t,n);r>0&&(i+=e.sizes[r-1]),e=e.children[r]}var o=A(e.items,t,n);return o>=0?i+o:-i+o},e.getItem=function(e,t,n){for(;0===e.type;){var i=p(e.items,t,n);e=e.children[i]}var r=A(e.items,t,n);return r>=0?e.items[r]:void 0},e.insertItem=function e(t,n,i){if(1===t.type){var r,o=A(t.items,n,i);return o>=0?(r=t.items[o],t.items[o]=n):(r=void 0,l.insert(t.items,-o-1,n)),r}var a=p(t.items,n,i),d=t.children[a],c=d.size,u=e(d,n,i),h=d.size;if(t.items[a]=d.items[0],c===h)return u;if(d.width>s){var f=g(d);l.insert(t.children,a+1,f),l.insert(t.items,a+1,f.items[0])}return m(t,a),u},e.deleteItem=function e(t,n,i){if(1===t.type){var r=A(t.items,n,i);if(r<0)return;return l.removeAt(t.items,r)}var o=p(t.items,n,i),s=t.children[o],d=s.size,c=e(s,n,i);return d===s.size||(t.items[o]=s.items[0],s.width<a&&(o=b(t,o)),m(t,o)),c},e.removeItem=function e(t,n){if(n<0&&(n+=t.size),!(n<0||n>=t.size)){if(1===t.type)return l.removeAt(t.items,n);var i=f(t.sizes,n);i>0&&(n-=t.sizes[i]);var r=t.children[i],o=e(r,n);return t.items[i]=r.items[0],r.width<a&&(i=b(t,i)),m(t,i),o}},e.clear=o,e.maybeSplitRoot=function(e){if(e.width<=s)return e;var n=new t,i=g(e);return n.sizes[0]=e.size,n.sizes[1]=e.size+i.size,n.children[0]=e,n.children[1]=i,n.items[0]=e.items[0],n.items[1]=i.items[0],n},e.maybeExtractRoot=function(e){if(1===e.type)return e;if(e.children.length>1)return e;var t=e.children.pop();return o(e),t};var s=32,a=s>>1,d=function(){function e(e,t,n){this._node=e,this._index=t,this._count=n}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node,this._index,this._count)},e.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size?(this._node=this._node.next,this._index=0,this.next()):(this._count>0&&this._count--,this._node.items[this._index++])},e}(),u=function(){function e(e,t,n){this._node=e,this._index=t,this._count=n}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node,this._index,this._count)},e.prototype.next=function(){if(null!==this._node&&0!==this._count)return this._index>=this._node.size&&(this._index=this._node.size-1),this._index<0?(this._node=this._node.prev,this._index=this._node?this._node.size-1:-1,this.next()):(this._count>0&&this._count--,this._node.items[this._index--])},e}();function f(e,t){for(var n=e.length,i=0;i<n;++i)if(e[i]>t)return i;return n-1}function p(e,t,n){for(var i=e.length,r=1;r<i;++r)if(n(e[r],t)>0)return r-1;return i-1}function A(e,t,n){for(var i=e.length,r=0;r<i;++r){var o=n(e[r],t);if(0===o)return r;if(o>0)return-r-1}return-i-1}function m(e,t){for(var n=e.sizes,i=e.children,r=t>0?n[t-1]:0,o=i.length;t<o;++t)r=n[t]=r+i[t].size;n.length=i.length}function g(e){if(1===e.type){for(var i=new n,r=e.items,o=i.items,s=a,l=r.length;s<l;++s)o.push(r[s]);return r.length=a,e.next&&(e.next.prev=i),i.next=e.next,i.prev=e,e.next=i,i}var d=new t,c=e.children,u=d.children;for(s=a,l=c.length;s<l;++s)u.push(c[s]);c.length=a;var h=e.items,f=d.items;for(s=a,l=h.length;s<l;++s)f.push(h[s]);return h.length=a,m(e,a),m(d,0),d}function b(e,t){var n,i,r,s,d,c,u=e.children[t],h=0===t?e.children[t+1]:e.children[t-1],f=0===t,p=1===u.type,A=h.width>a;if(p&&A&&f){var g=h;return(b=u).items.push(g.items.shift()),e.items[t+1]=g.items[0],t}if(p&&A&&!f)return g=h,(b=u).items.unshift(g.items.pop()),e.items[t]=b.items[0],t-1;if(p&&!A&&f){var b=u;return(n=(g=h).items).unshift.apply(n,b.items),l.removeAt(e.children,t),l.removeAt(e.items,t+1),b.prev&&(b.prev.next=g),g.prev=b.prev,o(b),t}if(p&&!A&&!f)return b=u,(i=(g=h).items).push.apply(i,b.items),l.removeAt(e.children,t),l.removeAt(e.items,t),b.next&&(b.next.prev=g),g.next=b.next,o(b),t-1;if(!p&&A&&f)return g=h,(b=u).children.push(g.children.shift()),b.items.push(g.items.shift()),e.items[t+1]=g.items[0],m(b,b.width-1),m(g,0),t;if(!p&&A&&!f)return g=h,(b=u).children.unshift(g.children.pop()),b.items.unshift(g.items.pop()),e.items[t]=b.items[0],m(b,0),m(g,g.width-1),t-1;if(!p&&!A&&f)return b=u,(r=(g=h).children).unshift.apply(r,b.children),(s=g.items).unshift.apply(s,b.items),l.removeAt(e.children,t),l.removeAt(e.items,t+1),m(g,0),b.children.length=0,o(b),t;if(!p&&!A&&!f)return b=u,(d=(g=h).children).push.apply(d,b.children),(c=g.items).push.apply(c,b.items),l.removeAt(e.children,t),l.removeAt(e.items,t),m(g,0),b.children.length=0,o(b),t-1;throw"unreachable"}}(m||(m={}));var b,v=function(){function e(){this._first=null,this._last=null,this._size=0}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return this._first?this._first.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this._last?this._last.value:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstNode",{get:function(){return this._first},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastNode",{get:function(){return this._last},enumerable:!0,configurable:!0}),e.prototype.iter=function(){return new e.ForwardValueIterator(this._first)},e.prototype.retro=function(){return new e.RetroValueIterator(this._last)},e.prototype.nodes=function(){return new e.ForwardNodeIterator(this._first)},e.prototype.retroNodes=function(){return new e.RetroNodeIterator(this._last)},e.prototype.assign=function(e){var t=this;this.clear(),c(e,(function(e){t.addLast(e)}))},e.prototype.push=function(e){this.addLast(e)},e.prototype.pop=function(){return this.removeLast()},e.prototype.shift=function(e){this.addFirst(e)},e.prototype.unshift=function(){return this.removeFirst()},e.prototype.addFirst=function(e){var t=new b.LinkedListNode(this,e);return this._first?(t.next=this._first,this._first.prev=t,this._first=t):(this._first=t,this._last=t),this._size++,t},e.prototype.addLast=function(e){var t=new b.LinkedListNode(this,e);return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._first=t,this._last=t),this._size++,t},e.prototype.insertBefore=function(e,t){if(!t||t===this._first)return this.addFirst(e);if(!(t instanceof b.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");var n=new b.LinkedListNode(this,e),i=t,r=i.prev;return n.next=i,n.prev=r,i.prev=n,r.next=n,this._size++,n},e.prototype.insertAfter=function(e,t){if(!t||t===this._last)return this.addLast(e);if(!(t instanceof b.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");var n=new b.LinkedListNode(this,e),i=t,r=i.next;return n.next=r,n.prev=i,i.next=n,r.prev=n,this._size++,n},e.prototype.removeFirst=function(){var e=this._first;if(e)return e===this._last?(this._first=null,this._last=null):(this._first=e.next,this._first.prev=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value},e.prototype.removeLast=function(){var e=this._last;if(e)return e===this._first?(this._first=null,this._last=null):(this._last=e.prev,this._last.next=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value},e.prototype.removeNode=function(e){if(!(e instanceof b.LinkedListNode)||e.list!==this)throw new Error("Node is not owned by the list.");var t=e;t===this._first&&t===this._last?(this._first=null,this._last=null):t===this._first?(this._first=t.next,this._first.prev=null):t===this._last?(this._last=t.prev,this._last.next=null):(t.next.prev=t.prev,t.prev.next=t.next),t.list=null,t.next=null,t.prev=null,this._size--},e.prototype.clear=function(){for(var e=this._first;e;){var t=e.next;e.list=null,e.prev=null,e.next=null,e=t}this._first=null,this._last=null,this._size=0},e}();!function(e){e.from=function(t){var n=new e;return n.assign(t),n};var t=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.next,e.value}},e}();e.ForwardValueIterator=t;var n=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.prev,e.value}},e}();e.RetroValueIterator=n;var i=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.next,e}},e}();e.ForwardNodeIterator=i;var r=function(){function e(e){this._node=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._node)},e.prototype.next=function(){if(this._node){var e=this._node;return this._node=e.prev,e}},e}();e.RetroNodeIterator=r}(v||(v={})),function(e){e.LinkedListNode=function(e,t){this.list=null,this.next=null,this.prev=null,this.list=e,this.value=t}}(b||(b={}));var C,y=function(e,t){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},y(e,t)},w=function(){function e(e){this.type=e}return Object.defineProperty(e.prototype,"isConflatable",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.conflate=function(e){return!1},e}(),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),Object.defineProperty(t.prototype,"isConflatable",{get:function(){return!0},enumerable:!0,configurable:!0}),t.prototype.conflate=function(e){return!0},t}(w);!function(e){function t(e,t){var n=o.get(e);if(n&&0!==n.length){var i,s=function(n,i){for(var o,s=r(n);void 0!==(o=s.next());)if((l=o)&&!function(e,t,n){var i=!0;try{i="function"==typeof e?e(t,n):e.messageHook(t,n)}catch(e){a(e)}return i}(l,e,t))return!1;var l;return!0}("function"==typeof(i=n).retro?i.retro():new d(i));s&&f(e,t)}else f(e,t)}e.sendMessage=t,e.postMessage=function(e,t){t.isConflatable&&function(n,i){for(var o,s=r(n);void 0!==(o=s.next());)if((a=o).handler===e&&a.msg&&a.msg.type===t.type&&a.msg.isConflatable&&a.msg.conflate(t))return!0;var a;return!1}(n)||function(e,t){n.addLast({handler:e,msg:t}),0===l&&(l=u(p))}(e,t)},e.installMessageHook=function(e,t){var n=o.get(e);n&&-1!==n.indexOf(t)||(n?n.push(t):o.set(e,[t]))},e.removeMessageHook=function(e,t){var n=o.get(e);if(n){var i=n.indexOf(t);-1!==i&&(n[i]=null,A(n))}},e.clearData=function(e){var t=o.get(e);t&&t.length>0&&(i.fill(t,null),A(t)),function(e,t){for(var n,i=0,o=r(e);void 0!==(n=o.next());)if(!1===t(n,i++))return}(n,(function(t){t.handler===e&&(t.handler=null,t.msg=null)}))},e.flush=function(){c||0===l||(h(l),c=!0,p(),c=!1)},e.getExceptionHandler=function(){return a},e.setExceptionHandler=function(e){var t=a;return a=e,t};var n=new v,o=new WeakMap,s=new Set,a=function(e){console.error(e)},l=0,c=!1,u="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate,h="function"==typeof cancelAnimationFrame?cancelAnimationFrame:clearImmediate;function f(e,t){try{e.processMessage(t)}catch(e){a(e)}}function p(){if(l=0,!n.isEmpty){var e={handler:null,msg:null};for(n.addLast(e);;){var i=n.removeFirst();if(i===e)return;i.handler&&i.msg&&t(i.handler,i.msg)}}}function A(e){0===s.size&&u(m),s.add(e)}function m(){s.forEach(g),s.clear()}function g(e){i.removeAllWhere(e,b)}function b(e){return null===e}}(C||(C={}))},6049:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Debouncer:()=>l,Poll:()=>s,RateLimiter:()=>a,Throttler:()=>d});var i,r=n(5764),o=n(3992);class s{constructor(e){var t;this._disposed=new o.Signal(this),this._lingered=0,this._tick=new r.PromiseDelegate,this._ticked=new o.Signal(this),this._factory=e.factory,this._linger=null!==(t=e.linger)&&void 0!==t?t:i.DEFAULT_LINGER,this._standby=e.standby||i.DEFAULT_STANDBY,this._state={...i.DEFAULT_STATE,timestamp:(new Date).getTime()};const n=e.frequency||{},s=Math.max(n.interval||0,n.max||0,i.DEFAULT_FREQUENCY.max);this.frequency={...i.DEFAULT_FREQUENCY,...n,max:s},this.name=e.name||i.DEFAULT_NAME,"auto"in e&&!e.auto||setTimeout((()=>this.start()))}get disposed(){return this._disposed}get frequency(){return this._frequency}set frequency(e){if(this.isDisposed||r.JSONExt.deepEqual(e,this.frequency||{}))return;let{backoff:t,interval:n,max:i}=e;if(n=Math.round(n),i=Math.round(i),"number"==typeof t&&t<1)throw new Error("Poll backoff growth factor must be at least 1");if((n<0||n>i)&&n!==s.NEVER)throw new Error("Poll interval must be between 0 and max");if(i>s.MAX_INTERVAL&&i!==s.NEVER)throw new Error(`Max interval must be less than ${s.MAX_INTERVAL}`);this._frequency={backoff:t,interval:n,max:i}}get isDisposed(){return"disposed"===this.state.phase}get standby(){return this._standby}set standby(e){this.isDisposed||this.standby===e||(this._standby=e)}get state(){return this._state}get tick(){return this._tick.promise}get ticked(){return this._ticked}async*[Symbol.asyncIterator](){for(;!this.isDisposed;)yield this.state,await this.tick.catch((()=>{}))}dispose(){this.isDisposed||(this._state={...i.DISPOSED_STATE,timestamp:(new Date).getTime()},this._tick.promise.catch((e=>{})),this._tick.reject(new Error(`Poll (${this.name}) is disposed.`)),this._disposed.emit(void 0),o.Signal.clearData(this))}refresh(){return this.schedule({cancel:({phase:e})=>"refreshed"===e,interval:s.IMMEDIATE,phase:"refreshed"})}async schedule(e={}){if(this.isDisposed)return;if(e.cancel&&e.cancel(this.state))return;const t=this._tick,n=new r.PromiseDelegate,i={interval:this.frequency.interval,payload:null,phase:"standby",timestamp:(new Date).getTime(),...e};this._state=i,this._tick=n,clearTimeout(this._timeout),this._ticked.emit(this.state),t.resolve(this),await t.promise,i.interval!==s.NEVER?this._timeout=setTimeout((()=>{this.isDisposed||this.tick!==n.promise||this._execute()}),i.interval):this._timeout=void 0}start(){return this.schedule({cancel:({phase:e})=>"constructed"!==e&&"standby"!==e&&"stopped"!==e,interval:s.IMMEDIATE,phase:"started"})}stop(){return this.schedule({cancel:({phase:e})=>"stopped"===e,interval:s.NEVER,phase:"stopped"})}get hidden(){return i.hidden}_execute(){let e="function"==typeof this.standby?this.standby():this.standby;if("never"===e?e=!1:"when-hidden"===e&&(this.hidden?e=++this._lingered>this._linger:(this._lingered=0,e=!1)),e)return void this.schedule();const t=this.tick;this._factory(this.state).then((e=>{this.isDisposed||this.tick!==t||this.schedule({payload:e,phase:"rejected"===this.state.phase?"reconnected":"resolved"})})).catch((e=>{this.isDisposed||this.tick!==t||this.schedule({interval:i.sleep(this.frequency,this.state),payload:e,phase:"rejected"})}))}}!function(e){e.IMMEDIATE=0,e.MAX_INTERVAL=2147483647,e.NEVER=1/0}(s||(s={})),function(e){e.DEFAULT_BACKOFF=3,e.DEFAULT_FREQUENCY={backoff:!0,interval:1e3,max:3e4},e.DEFAULT_LINGER=1,e.DEFAULT_NAME="unknown",e.DEFAULT_STANDBY="when-hidden",e.DEFAULT_STATE={interval:s.NEVER,payload:null,phase:"constructed",timestamp:new Date(0).getTime()},e.DISPOSED_STATE={interval:s.NEVER,payload:null,phase:"disposed",timestamp:new Date(0).getTime()},e.sleep=function(t,n){const{backoff:i,interval:r,max:o}=t;if(r===s.NEVER)return r;const a=!0===i?e.DEFAULT_BACKOFF:!1===i?1:i,l=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}(r,n.interval*a);return Math.min(o,l)},e.hidden="undefined"!=typeof document&&(document.addEventListener("visibilitychange",(()=>{e.hidden="hidden"===document.visibilityState})),document.addEventListener("pagehide",(()=>{e.hidden="hidden"===document.visibilityState})),"hidden"===document.visibilityState)}(i||(i={}));class a{constructor(e,t=500){this.args=void 0,this.payload=null,this.limit=t,this.poll=new s({auto:!1,factory:async()=>{const{args:t}=this;return this.args=void 0,e(...t)},frequency:{backoff:!1,interval:s.NEVER,max:s.NEVER},standby:"never"}),this.payload=new r.PromiseDelegate,this.poll.ticked.connect(((e,t)=>{const{payload:n}=this;return"resolved"===t.phase?(this.payload=new r.PromiseDelegate,void n.resolve(t.payload)):"rejected"===t.phase||"stopped"===t.phase?(this.payload=new r.PromiseDelegate,n.promise.catch((e=>{})),void n.reject(t.payload)):void 0}),this)}get isDisposed(){return null===this.payload}dispose(){this.isDisposed||(this.args=void 0,this.payload=null,this.poll.dispose())}async stop(){return this.poll.stop()}}class l extends a{invoke(...e){return this.args=e,this.poll.schedule({interval:this.limit,phase:"invoked"}),this.payload.promise}}class d extends a{constructor(e,t){super(e,"number"==typeof t?t:t&&t.limit),this._trailing=!1,"number"!=typeof t&&t&&"trailing"===t.edge&&(this._trailing=!0),this._interval=this._trailing?this.limit:s.IMMEDIATE}invoke(...e){const t="invoked"!==this.poll.state.phase;return(t||this._trailing)&&(this.args=e),t&&this.poll.schedule({interval:this._interval,phase:"invoked"}),this.payload.promise}}},6573:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AttachedProperty:()=>i});class i{constructor(e){this._pid=r.nextPID(),this.name=e.name,this._create=e.create,this._coerce=e.coerce||null,this._compare=e.compare||null,this._changed=e.changed||null}get(e){let t,n=r.ensureMap(e);return t=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(e),t}set(e,t){let n,i=r.ensureMap(e);n=this._pid in i?i[this._pid]:i[this._pid]=this._createValue(e);let o=this._coerceValue(e,t);this._maybeNotify(e,n,i[this._pid]=o)}coerce(e){let t,n=r.ensureMap(e);t=this._pid in n?n[this._pid]:n[this._pid]=this._createValue(e);let i=this._coerceValue(e,t);this._maybeNotify(e,t,n[this._pid]=i)}_createValue(e){return(0,this._create)(e)}_coerceValue(e,t){let n=this._coerce;return n?n(e,t):t}_compareValue(e,t){let n=this._compare;return n?n(e,t):e===t}_maybeNotify(e,t,n){let i=this._changed;i&&!this._compareValue(t,n)&&i(e,t,n)}}var r;!function(e){e.clearData=function(e){r.ownerData.delete(e)}}(i||(i={})),function(e){e.ownerData=new WeakMap,e.nextPID=(()=>{let e=0;return()=>`pid-${`${Math.random()}`.slice(2)}-${e++}`})(),e.ensureMap=function(t){let n=e.ownerData.get(t);return n||(n=Object.create(null),e.ownerData.set(t,n),n)}}(r||(r={}))},3992:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Signal:()=>s,Stream:()=>a});var i,r=n(8135),o=n(5764);class s{constructor(e){this.sender=e}connect(e,t){return i.connect(this,e,t)}disconnect(e,t){return i.disconnect(this,e,t)}emit(e){i.emit(this,e)}}!function(e){e.disconnectBetween=function(e,t){i.disconnectBetween(e,t)},e.disconnectSender=function(e){i.disconnectSender(e)},e.disconnectReceiver=function(e){i.disconnectReceiver(e)},e.disconnectAll=function(e){i.disconnectAll(e)},e.clearData=function(e){i.disconnectAll(e)},e.getExceptionHandler=function(){return i.exceptionHandler},e.setExceptionHandler=function(e){let t=i.exceptionHandler;return i.exceptionHandler=e,t}}(s||(s={}));class a extends s{constructor(){super(...arguments),this._pending=new o.PromiseDelegate}async*[Symbol.asyncIterator](){let e=this._pending;for(;;)try{const{args:t,next:n}=await e.promise;e=n,yield t}catch(e){return}}emit(e){const t=this._pending,n=this._pending=new o.PromiseDelegate;t.resolve({args:e,next:n}),super.emit(e)}stop(){this._pending.promise.catch((()=>{})),this._pending.reject("stop"),this._pending=new o.PromiseDelegate}}!function(e){function t(e){let t=i.get(e);if(t&&0!==t.length){for(const e of t){if(!e.signal)continue;let t=e.thisArg||e.slot;e.signal=null,c(o.get(t))}c(t)}}function n(e){let t=o.get(e);if(t&&0!==t.length){for(const e of t){if(!e.signal)continue;let t=e.signal.sender;e.signal=null,c(i.get(t))}c(t)}}e.exceptionHandler=e=>{console.error(e)},e.connect=function(e,t,n){n=n||void 0;let r=i.get(e.sender);if(r||(r=[],i.set(e.sender,r)),l(r,e,t,n))return!1;let s=n||t,a=o.get(s);a||(a=[],o.set(s,a));let d={signal:e,slot:t,thisArg:n};return r.push(d),a.push(d),!0},e.disconnect=function(e,t,n){n=n||void 0;let r=i.get(e.sender);if(!r||0===r.length)return!1;let s=l(r,e,t,n);if(!s)return!1;let a=n||t,d=o.get(a);return s.signal=null,c(r),c(d),!0},e.disconnectBetween=function(e,t){let n=i.get(e);if(!n||0===n.length)return;let r=o.get(t);if(r&&0!==r.length){for(const t of r)t.signal&&t.signal.sender===e&&(t.signal=null);c(n),c(r)}},e.disconnectSender=t,e.disconnectReceiver=n,e.disconnectAll=function(e){t(e),n(e)},e.emit=function(e,t){let n=i.get(e.sender);if(n&&0!==n.length)for(let i=0,r=n.length;i<r;++i){let r=n[i];r.signal===e&&d(r,t)}};const i=new WeakMap,o=new WeakMap,s=new Set,a="function"==typeof requestAnimationFrame?requestAnimationFrame:setImmediate;function l(e,t,n,i){return(0,r.I6)(e,(e=>e.signal===t&&e.slot===n&&e.thisArg===i))}function d(t,n){let{signal:i,slot:r,thisArg:o}=t;try{r.call(o,i.sender,n)}catch(t){e.exceptionHandler(t)}}function c(e){0===s.size&&a(u),s.add(e)}function u(){s.forEach(h),s.clear()}function h(e){r.Rw.removeAllWhere(e,f)}function f(e){return null===e.signal}}(i||(i={}))},1601:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const i=n(5319),r=n(2431),o=n(1672),s=n(3928),a=["/properties"],l="http://json-schema.org/draft-07/schema";class d extends i.default{_addVocabularies(){super._addVocabularies(),r.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(s,a):s;this.addMetaSchema(e,l,!1),this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var c=n(6223);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var u=n(7898);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}});var h=n(5031);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=n(5748);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})},3277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class i extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=i;class r extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof i&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function o(e,...t){const n=[e[0]];let i=0;for(;i<t.length;)l(n,t[i]),n.push(e[++i]);return new r(n)}t._Code=r,t.nil=new r(""),t._=o;const s=new r("+");function a(e,...t){const n=[c(e[0])];let i=0;for(;i<t.length;)n.push(s),l(n,t[i]),n.push(s,c(e[++i]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===s){const n=d(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new r(n)}function l(e,t){var n;t instanceof r?e.push(...t._items):t instanceof i?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:c(Array.isArray(n)?n.join(","):n))}function d(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof i||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof i?void 0:`"${e}${t.slice(1)}`}function c(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=a,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},t.stringify=function(e){return new r(c(e))},t.safeStringify=c,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new r(`.${e}`):o`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new r(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new r(e.toString())}},7898:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const i=n(3277),r=n(6930);var o=n(3277);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return o.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return o.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return o.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}});var s=n(6930);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return s.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return s.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return s.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return s.varKinds}}),t.operators={GT:new i._Code(">"),GTE:new i._Code(">="),LT:new i._Code("<"),LTE:new i._Code("<="),EQ:new i._Code("==="),NEQ:new i._Code("!=="),NOT:new i._Code("!"),OR:new i._Code("||"),AND:new i._Code("&&"),ADD:new i._Code("+")};class a{optimizeNodes(){return this}optimizeNames(e,t){return this}}class l extends a{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?r.varKinds.var:this.varKind,i=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=S(this.rhs,e,t)),this}get names(){return this.rhs instanceof i._CodeOrName?this.rhs.names:{}}}class d extends a{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof i.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=S(this.rhs,e,t),this}get names(){return D(this.lhs instanceof i.Name?{}:{...this.lhs.names},this.rhs)}}class c extends d{constructor(e,t,n,i){super(e,n,i),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class u extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class h extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class f extends a{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends a{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=S(this.code,e,t),this}get names(){return this.code instanceof i._CodeOrName?this.code.names:{}}}class A extends a{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let i=n.length;for(;i--;){const r=n[i];r.optimizeNames(e,t)||(I(e,r.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>j(e,t.names)),{})}}class m extends A{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class g extends A{}class b extends m{}b.kind="else";class v extends m{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new b(e):e}return t?!1===e?t instanceof v?t:t.nodes:this.nodes.length?this:new v(M(e),t instanceof v?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=S(this.condition,e,t),this}get names(){const e=super.names;return D(e,this.condition),this.else&&j(e,this.else.names),e}}v.kind="if";class C extends m{}C.kind="for";class y extends C{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=S(this.iteration,e,t),this}get names(){return j(super.names,this.iteration.names)}}class w extends C{constructor(e,t,n,i){super(),this.varKind=e,this.name=t,this.from=n,this.to=i}render(e){const t=e.es5?r.varKinds.var:this.varKind,{name:n,from:i,to:o}=this;return`for(${t} ${n}=${i}; ${n}<${o}; ${n}++)`+super.render(e)}get names(){const e=D(super.names,this.from);return D(e,this.to)}}class _ extends C{constructor(e,t,n,i){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=i}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=S(this.iterable,e,t),this}get names(){return j(super.names,this.iterable.names)}}class B extends m{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}B.kind="func";class E extends A{render(e){return"return "+super.render(e)}}E.kind="return";class x extends m{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,i;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(i=this.finally)||void 0===i||i.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&j(e,this.catch.names),this.finally&&j(e,this.finally.names),e}}class k extends m{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}k.kind="catch";class T extends m{render(e){return"finally"+super.render(e)}}function j(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function D(e,t){return t instanceof i._CodeOrName?j(e,t.names):e}function S(e,t,n){return e instanceof i.Name?o(e):(r=e)instanceof i._Code&&r._items.some((e=>e instanceof i.Name&&1===t[e.str]&&void 0!==n[e.str]))?new i._Code(e._items.reduce(((e,t)=>(t instanceof i.Name&&(t=o(t)),t instanceof i._Code?e.push(...t._items):e.push(t),e)),[])):e;var r;function o(e){const i=n[e.str];return void 0===i||1!==t[e.str]?e:(delete t[e.str],i)}}function I(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function M(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:i._`!${L(e)}`}T.kind="finally",t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new r.Scope({parent:e}),this._nodes=[new g]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,i){const r=this._scope.toName(t);return void 0!==n&&i&&(this._constants[r.str]=n),this._leafNode(new l(e,r,n)),r}const(e,t,n){return this._def(r.varKinds.const,e,t,n)}let(e,t,n){return this._def(r.varKinds.let,e,t,n)}var(e,t,n){return this._def(r.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new d(e,t,n))}add(e,n){return this._leafNode(new c(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==i.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,r]of e)t.length>1&&t.push(","),t.push(n),(n!==r||this.opts.es5)&&(t.push(":"),(0,i.addCodeArg)(t,r));return t.push("}"),new i._Code(t)}if(e,t,n){if(this._blockNode(new v(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new v(e))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(v,b)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new y(e),t)}forRange(e,t,n,i,o=(this.opts.es5?r.varKinds.var:r.varKinds.let)){const s=this._scope.toName(e);return this._for(new w(o,s,t,n),(()=>i(s)))}forOf(e,t,n,o=r.varKinds.const){const s=this._scope.toName(e);if(this.opts.es5){const e=t instanceof i.Name?t:this.var("_arr",t);return this.forRange("_i",0,i._`${e}.length`,(t=>{this.var(s,i._`${e}[${t}]`),n(s)}))}return this._for(new _("of",o,s,t),(()=>n(s)))}forIn(e,t,n,o=(this.opts.es5?r.varKinds.var:r.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,i._`Object.keys(${t})`,n);const s=this._scope.toName(e);return this._for(new _("in",o,s,t),(()=>n(s)))}endFor(){return this._endBlockNode(C)}label(e){return this._leafNode(new u(e))}break(e){return this._leafNode(new h(e))}return(e){const t=new E;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const i=new x;if(this._blockNode(i),this.code(e),t){const e=this.name("e");this._currNode=i.catch=new k(e),t(e)}return n&&(this._currNode=i.finally=new T,this.code(n)),this._endBlockNode(k,T)}throw(e){return this._leafNode(new f(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=i.nil,n,r){return this._blockNode(new B(e,t,n)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(B)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof v))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=M;const P=O(t.operators.AND);t.and=function(...e){return e.reduce(P)};const R=O(t.operators.OR);function O(e){return(t,n)=>t===i.nil?n:n===i.nil?t:i._`${L(t)} ${e} ${L(n)}`}function L(e){return e instanceof i.Name?e:i._`(${e})`}t.or=function(...e){return e.reduce(R)}},6930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const i=n(3277);class r extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var o;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(o||(t.UsedValueState=o={})),t.varKinds={const:new i.Name("const"),let:new i.Name("let"),var:new i.Name("var")};class s{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof i.Name?e:this.name(e)}name(e){return new i.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=s;class a extends i.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=i._`.${new i.Name(t)}[${n}]`}}t.ValueScopeName=a;const l=i._`\n`;t.ValueScope=class extends s{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?l:i.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const i=this.toName(e),{prefix:r}=i,o=null!==(n=t.key)&&void 0!==n?n:t.ref;let s=this._values[r];if(s){const e=s.get(o);if(e)return e}else s=this._values[r]=new Map;s.set(o,i);const a=this._scope[r]||(this._scope[r]=[]),l=a.length;return a[l]=t.ref,i.setValue(t,{property:r,itemIndex:l}),i}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return i._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,s={},a){let l=i.nil;for(const d in e){const c=e[d];if(!c)continue;const u=s[d]=s[d]||new Map;c.forEach((e=>{if(u.has(e))return;u.set(e,o.Started);let s=n(e);if(s){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;l=i._`${l}${n} ${e} = ${s};${this.opts._n}`}else{if(!(s=null==a?void 0:a(e)))throw new r(e);l=i._`${l}${s}${this.opts._n}`}u.set(e,o.Completed)}))}return l}}},9409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const i=n(7898),r=n(458),o=n(3036);function s(e,t){const n=e.const("err",t);e.if(i._`${o.default.vErrors} === null`,(()=>e.assign(o.default.vErrors,i._`[${n}]`)),i._`${o.default.vErrors}.push(${n})`),e.code(i._`${o.default.errors}++`)}function a(e,t){const{gen:n,validateName:r,schemaEnv:o}=e;o.$async?n.throw(i._`new ${e.ValidationError}(${t})`):(n.assign(i._`${r}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>i.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?i.str`"${e}" keyword must be ${t} ($data)`:i.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,r,o){const{it:l}=e,{gen:c,compositeRule:u,allErrors:h}=l,f=d(e,n,r);(null!=o?o:u||h)?s(c,f):a(l,i._`[${f}]`)},t.reportExtraError=function(e,n=t.keywordError,i){const{it:r}=e,{gen:l,compositeRule:c,allErrors:u}=r;s(l,d(e,n,i)),c||u||a(r,o.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(o.default.errors,t),e.if(i._`${o.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(i._`${o.default.vErrors}.length`,t)),(()=>e.assign(o.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:r,errsCount:s,it:a}){if(void 0===s)throw new Error("ajv implementation error");const l=e.name("err");e.forRange("i",s,o.default.errors,(s=>{e.const(l,i._`${o.default.vErrors}[${s}]`),e.if(i._`${l}.instancePath === undefined`,(()=>e.assign(i._`${l}.instancePath`,(0,i.strConcat)(o.default.instancePath,a.errorPath)))),e.assign(i._`${l}.schemaPath`,i.str`${a.errSchemaPath}/${t}`),a.opts.verbose&&(e.assign(i._`${l}.schema`,n),e.assign(i._`${l}.data`,r))}))};const l={keyword:new i.Name("keyword"),schemaPath:new i.Name("schemaPath"),params:new i.Name("params"),propertyName:new i.Name("propertyName"),message:new i.Name("message"),schema:new i.Name("schema"),parentSchema:new i.Name("parentSchema")};function d(e,t,n){const{createErrors:r}=e.it;return!1===r?i._`{}`:function(e,t,n={}){const{gen:r,it:s}=e,a=[c(s,n),u(e,n)];return function(e,{params:t,message:n},r){const{keyword:s,data:a,schemaValue:d,it:c}=e,{opts:u,propertyName:h,topSchemaRef:f,schemaPath:p}=c;r.push([l.keyword,s],[l.params,"function"==typeof t?t(e):t||i._`{}`]),u.messages&&r.push([l.message,"function"==typeof n?n(e):n]),u.verbose&&r.push([l.schema,d],[l.parentSchema,i._`${f}${p}`],[o.default.data,a]),h&&r.push([l.propertyName,h])}(e,t,a),r.object(...a)}(e,t,n)}function c({errorPath:e},{instancePath:t}){const n=t?i.str`${e}${(0,r.getErrorPath)(t,r.Type.Str)}`:e;return[o.default.instancePath,(0,i.strConcat)(o.default.instancePath,n)]}function u({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:o}){let s=o?t:i.str`${t}/${e}`;return n&&(s=i.str`${s}${(0,r.getErrorPath)(n,r.Type.Str)}`),[l.schemaPath,s]}},9392:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const i=n(7898),r=n(5031),o=n(3036),s=n(4856),a=n(458),l=n(6223);class d{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,s.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function c(e){const t=h.call(this,e);if(t)return t;const n=(0,s.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:a,lines:d}=this.opts.code,{ownProperties:c}=this.opts,u=new i.CodeGen(this.scope,{es5:a,lines:d,ownProperties:c});let f;e.$async&&(f=u.scopeValue("Error",{ref:r.default,code:i._`require("ajv/dist/runtime/validation_error").default`}));const p=u.scopeName("validate");e.validateName=p;const A={gen:u,allErrors:this.opts.allErrors,data:o.default.data,parentData:o.default.parentData,parentDataProperty:o.default.parentDataProperty,dataNames:[o.default.data],dataPathArr:[i.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,i.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:f,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:i.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:i._`""`,opts:this.opts,self:this};let m;try{this._compilations.add(e),(0,l.validateFunctionCode)(A),u.optimize(this.opts.code.optimize);const t=u.toString();m=`${u.scopeRefs(o.default.scope)}return ${t}`,this.opts.code.process&&(m=this.opts.code.process(m,e));const n=new Function(`${o.default.self}`,`${o.default.scope}`,m)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:u._values}),this.opts.unevaluated){const{props:e,items:t}=A;n.evaluated={props:e instanceof i.Name?void 0:e,items:t instanceof i.Name?void 0:t,dynamicProps:e instanceof i.Name,dynamicItems:t instanceof i.Name},n.source&&(n.source.evaluated=(0,i.stringify)(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,m&&this.logger.error("Error compiling schema, function code:",m),t}finally{this._compilations.delete(e)}}function u(e){return(0,s.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:c.call(this,e)}function h(e){for(const i of this._compilations)if(n=e,(t=i).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return i;var t,n}function f(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||p.call(this,e,t)}function p(e,t){const n=this.opts.uriResolver.parse(t),i=(0,s._getFullPath)(this.opts.uriResolver,n);let r=(0,s.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&i===r)return m.call(this,n,e);const o=(0,s.normalizeId)(i),a=this.refs[o]||this.schemas[o];if("string"==typeof a){const t=p.call(this,e,a);if("object"!=typeof(null==t?void 0:t.schema))return;return m.call(this,n,t)}if("object"==typeof(null==a?void 0:a.schema)){if(a.validate||c.call(this,a),o===(0,s.normalizeId)(t)){const{schema:t}=a,{schemaId:n}=this.opts,i=t[n];return i&&(r=(0,s.resolveUrl)(this.opts.uriResolver,r,i)),new d({schema:t,schemaId:n,root:e,baseId:r})}return m.call(this,n,a)}}t.SchemaEnv=d,t.compileSchema=c,t.resolveRef=function(e,t,n){var i;n=(0,s.resolveUrl)(this.opts.uriResolver,t,n);const r=e.refs[n];if(r)return r;let o=f.call(this,e,n);if(void 0===o){const r=null===(i=e.localRefs)||void 0===i?void 0:i[n],{schemaId:s}=this.opts;r&&(o=new d({schema:r,schemaId:s,root:e,baseId:t}))}return void 0!==o?e.refs[n]=u.call(this,o):void 0},t.getCompilingSchema=h,t.resolveSchema=p;const A=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function m(e,{baseId:t,schema:n,root:i}){var r;if("/"!==(null===(r=e.fragment)||void 0===r?void 0:r[0]))return;for(const i of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,a.unescapeFragment)(i)];if(void 0===e)return;const r="object"==typeof(n=e)&&n[this.opts.schemaId];!A.has(i)&&r&&(t=(0,s.resolveUrl)(this.opts.uriResolver,t,r))}let o;if("boolean"!=typeof n&&n.$ref&&!(0,a.schemaHasRulesButRef)(n,this.RULES)){const e=(0,s.resolveUrl)(this.opts.uriResolver,t,n.$ref);o=p.call(this,i,e)}const{schemaId:l}=this.opts;return o=o||new d({schema:n,schemaId:l,root:i,baseId:t}),o.schema!==o.root.schema?o:void 0}},3036:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r={data:new i.Name("data"),valCxt:new i.Name("valCxt"),instancePath:new i.Name("instancePath"),parentData:new i.Name("parentData"),parentDataProperty:new i.Name("parentDataProperty"),rootData:new i.Name("rootData"),dynamicAnchors:new i.Name("dynamicAnchors"),vErrors:new i.Name("vErrors"),errors:new i.Name("errors"),this:new i.Name("this"),self:new i.Name("self"),scope:new i.Name("scope"),json:new i.Name("json"),jsonPos:new i.Name("jsonPos"),jsonLen:new i.Name("jsonLen"),jsonPart:new i.Name("jsonPart")};t.default=r},5748:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4856);class r extends Error{constructor(e,t,n,r){super(r||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,i.resolveUrl)(e,t,n),this.missingSchema=(0,i.normalizeId)((0,i.getFullPath)(e,this.missingRef))}}t.default=r},4856:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const i=n(458),r=n(8792),o=n(1645),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!l(e):!!t&&d(e)<=t)};const a=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(const t in e){if(a.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(l))return!0;if("object"==typeof n&&l(n))return!0}return!1}function d(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!s.has(n)&&("object"==typeof e[n]&&(0,i.eachItem)(e[n],(e=>t+=d(e))),t===1/0))return 1/0}return t}function c(e,t="",n){!1!==n&&(t=f(t));const i=e.parse(t);return u(e,i)}function u(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=c,t._getFullPath=u;const h=/#\/?$/;function f(e){return e?e.replace(h,""):""}t.normalizeId=f,t.resolveUrl=function(e,t,n){return n=f(n),e.resolve(t,n)};const p=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:i}=this.opts,s=f(e[n]||t),a={"":s},l=c(i,s,!1),d={},u=new Set;return o(e,{allKeys:!0},((e,t,i,r)=>{if(void 0===r)return;const o=l+t;let s=a[r];function c(t){const n=this.opts.uriResolver.resolve;if(t=f(s?n(s,t):t),u.has(t))throw A(t);u.add(t);let i=this.refs[t];return"string"==typeof i&&(i=this.refs[i]),"object"==typeof i?h(e,i.schema,t):t!==f(o)&&("#"===t[0]?(h(e,d[t],t),d[t]=e):this.refs[t]=o),t}function m(e){if("string"==typeof e){if(!p.test(e))throw new Error(`invalid anchor "${e}"`);c.call(this,`#${e}`)}}"string"==typeof e[n]&&(s=c.call(this,e[n])),m.call(this,e.$anchor),m.call(this,e.$dynamicAnchor),a[t]=s})),d;function h(e,t,n){if(void 0!==t&&!r(e,t))throw A(n)}function A(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},458:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const i=n(7898),r=n(3277);function o(e,t=e.schema){const{opts:n,self:i}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const r=i.RULES.keywords;for(const n in t)r[n]||p(e,`unknown keyword: "${n}"`)}function s(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function a(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function l(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function d({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:r}){return(o,s,a,l)=>{const d=void 0===a?s:a instanceof i.Name?(s instanceof i.Name?e(o,s,a):t(o,s,a),a):s instanceof i.Name?(t(o,a,s),s):n(s,a);return l!==i.Name||d instanceof i.Name?d:r(o,d)}}function c(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",i._`{}`);return void 0!==t&&u(e,n,t),n}function u(e,t,n){Object.keys(n).forEach((n=>e.assign(i._`${t}${(0,i.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(o(e,t),!s(t,e.self.RULES.all))},t.checkUnknownRules=o,t.schemaHasRules=s,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,r,o){if(!o){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return i._`${n}`}return i._`${e}${t}${(0,i.getProperty)(r)}`},t.unescapeFragment=function(e){return l(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(a(e))},t.escapeJsonPointer=a,t.unescapeJsonPointer=l,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:d({mergeNames:(e,t,n)=>e.if(i._`${n} !== true && ${t} !== undefined`,(()=>{e.if(i._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,i._`${n} || {}`).code(i._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(i._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,i._`${n} || {}`),u(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:c}),items:d({mergeNames:(e,t,n)=>e.if(i._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,i._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(i._`${n} !== true`,(()=>e.assign(n,!0===t||i._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=c,t.setEvaluated=u;const h={};var f;function p(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:h[t.code]||(h[t.code]=new r._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(f||(t.Type=f={})),t.getErrorPath=function(e,t,n){if(e instanceof i.Name){const r=t===f.Num;return n?r?i._`"[" + ${e} + "]"`:i._`"['" + ${e} + "']"`:r?i._`"/" + ${e}`:i._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,i.getProperty)(e).toString():"/"+a(e)},t.checkStrictMode=p},4758:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>i(e,t)))}function i(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},i){const r=t.RULES.types[i];return r&&!0!==r&&n(e,r)},t.shouldUseGroup=n,t.shouldUseRule=i},5948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const i=n(9409),r=n(7898),o=n(3036),s={message:"boolean schema is false"};function a(e,t){const{gen:n,data:r}=e,o={gen:n,keyword:"false schema",data:r,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,i.reportError)(o,s,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:i}=e;!1===n?a(e,!1):"object"==typeof n&&!0===n.$async?t.return(o.default.data):(t.assign(r._`${i}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:i}=e;!1===i?(n.var(t,!1),a(e)):n.var(t,!0)}},9003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const i=n(383),r=n(4758),o=n(9409),s=n(7898),a=n(458);var l;function d(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(i.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(l||(t.DataType=l={})),t.getSchemaTypes=function(e){const t=d(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=d,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:i,opts:o}=e,a=function(e,t){return t?e.filter((e=>c.has(e)||"array"===t&&"array"===e)):[]}(t,o.coerceTypes),d=t.length>0&&!(0===a.length&&1===t.length&&(0,r.schemaHasRulesForType)(e,t[0]));if(d){const r=h(t,i,o.strictNumbers,l.Wrong);n.if(r,(()=>{a.length?function(e,t,n){const{gen:i,data:r,opts:o}=e,a=i.let("dataType",s._`typeof ${r}`),l=i.let("coerced",s._`undefined`);"array"===o.coerceTypes&&i.if(s._`${a} == 'object' && Array.isArray(${r}) && ${r}.length == 1`,(()=>i.assign(r,s._`${r}[0]`).assign(a,s._`typeof ${r}`).if(h(t,r,o.strictNumbers),(()=>i.assign(l,r))))),i.if(s._`${l} !== undefined`);for(const e of n)(c.has(e)||"array"===e&&"array"===o.coerceTypes)&&d(e);function d(e){switch(e){case"string":return void i.elseIf(s._`${a} == "number" || ${a} == "boolean"`).assign(l,s._`"" + ${r}`).elseIf(s._`${r} === null`).assign(l,s._`""`);case"number":return void i.elseIf(s._`${a} == "boolean" || ${r} === null |
| 19 |
|| (${a} == "string" && ${r} && ${r} == +${r})`).assign(l,s._`+${r}`);case"integer":return void i.elseIf(s._`${a} === "boolean" || ${r} === null |
| 20 |
|| (${a} === "string" && ${r} && ${r} == +${r} && !(${r} % 1))`).assign(l,s._`+${r}`);case"boolean":return void i.elseIf(s._`${r} === "false" || ${r} === 0 || ${r} === null`).assign(l,!1).elseIf(s._`${r} === "true" || ${r} === 1`).assign(l,!0);case"null":return i.elseIf(s._`${r} === "" || ${r} === 0 || ${r} === false`),void i.assign(l,null);case"array":i.elseIf(s._`${a} === "string" || ${a} === "number" |
| 21 |
|| ${a} === "boolean" || ${r} === null`).assign(l,s._`[${r}]`)}}i.else(),p(e),i.endIf(),i.if(s._`${l} !== undefined`,(()=>{i.assign(r,l),function({gen:e,parentData:t,parentDataProperty:n},i){e.if(s._`${t} !== undefined`,(()=>e.assign(s._`${t}[${n}]`,i)))}(e,l)}))}(e,t,a):p(e)}))}return d};const c=new Set(["string","number","integer","boolean","null"]);function u(e,t,n,i=l.Correct){const r=i===l.Correct?s.operators.EQ:s.operators.NEQ;let o;switch(e){case"null":return s._`${t} ${r} null`;case"array":o=s._`Array.isArray(${t})`;break;case"object":o=s._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":o=a(s._`!(${t} % 1) && !isNaN(${t})`);break;case"number":o=a();break;default:return s._`typeof ${t} ${r} ${e}`}return i===l.Correct?o:(0,s.not)(o);function a(e=s.nil){return(0,s.and)(s._`typeof ${t} == "number"`,e,n?s._`isFinite(${t})`:s.nil)}}function h(e,t,n,i){if(1===e.length)return u(e[0],t,n,i);let r;const o=(0,a.toHash)(e);if(o.array&&o.object){const e=s._`typeof ${t} != "object"`;r=o.null?e:s._`!${t} || ${e}`,delete o.null,delete o.array,delete o.object}else r=s.nil;o.number&&delete o.integer;for(const e in o)r=(0,s.and)(r,u(e,t,n,i));return r}t.checkDataType=u,t.checkDataTypes=h;const f={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?s._`{type: ${e}}`:s._`{type: ${t}}`};function p(e){const t=function(e){const{gen:t,data:n,schema:i}=e,r=(0,a.schemaRefOrVal)(e,i,"type");return{gen:t,keyword:"type",data:n,schema:i.type,schemaCode:r,schemaValue:r,parentSchema:i,params:{},it:e}}(e);(0,o.reportError)(t,f)}t.reportTypeError=p},6841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const i=n(7898),r=n(458);function o(e,t,n){const{gen:o,compositeRule:s,data:a,opts:l}=e;if(void 0===n)return;const d=i._`${a}${(0,i.getProperty)(t)}`;if(s)return void(0,r.checkStrictMode)(e,`default is ignored for: ${d}`);let c=i._`${d} === undefined`;"empty"===l.useDefaults&&(c=i._`${c} || ${d} === null || ${d} === ""`),o.if(c,i._`${d} = ${(0,i.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:i}=e.schema;if("object"===t&&n)for(const t in n)o(e,t,n[t].default);else"array"===t&&Array.isArray(i)&&i.forEach(((t,n)=>o(e,n,t.default)))}},6223:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const i=n(5948),r=n(9003),o=n(4758),s=n(9003),a=n(6841),l=n(9348),d=n(3322),c=n(7898),u=n(3036),h=n(4856),f=n(458),p=n(9409);function A({gen:e,validateName:t,schema:n,schemaEnv:i,opts:r},o){r.code.es5?e.func(t,c._`${u.default.data}, ${u.default.valCxt}`,i.$async,(()=>{e.code(c._`"use strict"; ${m(n,r)}`),function(e,t){e.if(u.default.valCxt,(()=>{e.var(u.default.instancePath,c._`${u.default.valCxt}.${u.default.instancePath}`),e.var(u.default.parentData,c._`${u.default.valCxt}.${u.default.parentData}`),e.var(u.default.parentDataProperty,c._`${u.default.valCxt}.${u.default.parentDataProperty}`),e.var(u.default.rootData,c._`${u.default.valCxt}.${u.default.rootData}`),t.dynamicRef&&e.var(u.default.dynamicAnchors,c._`${u.default.valCxt}.${u.default.dynamicAnchors}`)}),(()=>{e.var(u.default.instancePath,c._`""`),e.var(u.default.parentData,c._`undefined`),e.var(u.default.parentDataProperty,c._`undefined`),e.var(u.default.rootData,u.default.data),t.dynamicRef&&e.var(u.default.dynamicAnchors,c._`{}`)}))}(e,r),e.code(o)})):e.func(t,c._`${u.default.data}, ${function(e){return c._`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${e.dynamicRef?c._`, ${u.default.dynamicAnchors}={}`:c.nil}}={}`}(r)}`,i.$async,(()=>e.code(m(n,r)).code(o)))}function m(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?c._`/*# sourceURL=${n} */`:c.nil}function g({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function v(e){(0,f.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:i,self:r}=e;t.$ref&&i.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(t,r.RULES)&&r.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function C(e,t){if(e.opts.jtd)return w(e,[],!1,t);const n=(0,r.getSchemaTypes)(e.schema);w(e,n,!(0,r.coerceAndCheckDataType)(e,n),t)}function y({gen:e,schemaEnv:t,schema:n,errSchemaPath:i,opts:r}){const o=n.$comment;if(!0===r.$comment)e.code(c._`${u.default.self}.logger.log(${o})`);else if("function"==typeof r.$comment){const n=c.str`${i}/$comment`,r=e.scopeValue("root",{ref:t.root});e.code(c._`${u.default.self}.opts.$comment(${o}, ${n}, ${r}.schema)`)}}function w(e,t,n,i){const{gen:r,schema:a,data:l,allErrors:d,opts:h,self:p}=e,{RULES:A}=p;function m(f){(0,o.shouldUseGroup)(a,f)&&(f.type?(r.if((0,s.checkDataType)(f.type,l,h.strictNumbers)),_(e,f),1===t.length&&t[0]===f.type&&n&&(r.else(),(0,s.reportTypeError)(e)),r.endIf()):_(e,f),d||r.if(c._`${u.default.errors} === ${i||0}`))}!a.$ref||!h.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(a,A)?(h.jtd||function(e,t){!e.schemaEnv.meta&&e.opts.strictTypes&&(function(e,t){t.length&&(e.dataTypes.length?(t.forEach((t=>{B(e.dataTypes,t)||E(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const i of e.dataTypes)B(t,i)?n.push(i):t.includes("integer")&&"number"===i&&n.push("integer");e.dataTypes=n}(e,t)):e.dataTypes=t)}(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&E(e,"use allowUnionTypes to allow union type keyword")}(e,t),function(e,t){const n=e.self.RULES.all;for(const i in n){const r=n[i];if("object"==typeof r&&(0,o.shouldUseRule)(e.schema,r)){const{type:n}=r.definition;n.length&&!n.some((e=>{return i=e,(n=t).includes(i)||"number"===i&&n.includes("integer");var n,i}))&&E(e,`missing type "${n.join(",")}" for keyword "${i}"`)}}}(e,e.dataTypes))}(e,t),r.block((()=>{for(const e of A.rules)m(e);m(A.post)}))):r.block((()=>k(e,"$ref",A.all.$ref.definition)))}function _(e,t){const{gen:n,schema:i,opts:{useDefaults:r}}=e;r&&(0,a.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,o.shouldUseRule)(i,n)&&k(e,n.keyword,n.definition,t.type)}))}function B(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function E(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,f.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(v(e),g(e))?function(e){const{schema:t,opts:n,gen:i}=e;A(e,(()=>{n.$comment&&t.$comment&&y(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,f.checkStrictMode)(e,"default is ignored in the schema root")}(e),i.let(u.default.vErrors,null),i.let(u.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",c._`${n}.evaluated`),t.if(c._`${e.evaluated}.dynamicProps`,(()=>t.assign(c._`${e.evaluated}.props`,c._`undefined`))),t.if(c._`${e.evaluated}.dynamicItems`,(()=>t.assign(c._`${e.evaluated}.items`,c._`undefined`)))}(e),C(e),function(e){const{gen:t,schemaEnv:n,validateName:i,ValidationError:r,opts:o}=e;n.$async?t.if(c._`${u.default.errors} === 0`,(()=>t.return(u.default.data)),(()=>t.throw(c._`new ${r}(${u.default.vErrors})`))):(t.assign(c._`${i}.errors`,u.default.vErrors),o.unevaluated&&function({gen:e,evaluated:t,props:n,items:i}){n instanceof c.Name&&e.assign(c._`${t}.props`,n),i instanceof c.Name&&e.assign(c._`${t}.items`,i)}(e),t.return(c._`${u.default.errors} === 0`))}(e)}))}(e):A(e,(()=>(0,i.topBoolOrEmptySchema)(e)))};class x{constructor(e,t,n){if((0,l.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,f.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",D(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",u.default.errors))}result(e,t,n){this.failResult((0,c.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,c.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(c._`${t} !== undefined && (${(0,c.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=c.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=c.nil,t=c.nil){if(!this.$data)return;const{gen:n,schemaCode:i,schemaType:r,def:o}=this;n.if((0,c.or)(c._`${i} === undefined`,t)),e!==c.nil&&n.assign(e,!0),(r.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==c.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:i,it:r}=this;return(0,c.or)(function(){if(n.length){if(!(t instanceof c.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return c._`${(0,s.checkDataTypes)(e,t,r.opts.strictNumbers,s.DataType.Wrong)}`}return c.nil}(),function(){if(i.validateSchema){const n=e.scopeValue("validate$data",{ref:i.validateSchema});return c._`!${n}(${t})`}return c.nil}())}subschema(e,t){const n=(0,d.getSubschema)(this.it,e);(0,d.extendSubschemaData)(n,this.it,e),(0,d.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return function(e,t){b(e)&&(v(e),g(e))?function(e,t){const{schema:n,gen:i,opts:r}=e;r.$comment&&n.$comment&&y(e),function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,h.resolveUrl)(e.opts.uriResolver,e.baseId,t))}(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const o=i.const("_errs",u.default.errors);C(e,o),i.var(t,c._`${o} === ${u.default.errors}`)}(e,t):(0,i.boolOrEmptySchema)(e,t)}(r,t),r}mergeEvaluated(e,t){const{it:n,gen:i}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=f.mergeEvaluated.props(i,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=f.mergeEvaluated.items(i,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:i}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return i.if(t,(()=>this.mergeEvaluated(e,c.Name))),!0}}function k(e,t,n,i){const r=new x(e,n,t);"code"in n?n.code(r,i):r.$data&&n.validate?(0,l.funcKeywordCode)(r,n):"macro"in n?(0,l.macroKeywordCode)(r,n):(n.compile||n.validate)&&(0,l.funcKeywordCode)(r,n)}t.KeywordCxt=x;const T=/^\/(?:[^~]|~0|~1)*$/,j=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function D(e,{dataLevel:t,dataNames:n,dataPathArr:i}){let r,o;if(""===e)return u.default.rootData;if("/"===e[0]){if(!T.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);r=e,o=u.default.rootData}else{const s=j.exec(e);if(!s)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+s[1];if(r=s[2],"#"===r){if(a>=t)throw new Error(l("property/index",a));return i[t-a]}if(a>t)throw new Error(l("data",a));if(o=n[t-a],!r)return o}let s=o;const a=r.split("/");for(const e of a)e&&(o=c._`${o}${(0,c.getProperty)((0,f.unescapeJsonPointer)(e))}`,s=c._`${s} && ${o}`);return s;function l(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=D},9348:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const i=n(7898),r=n(3036),o=n(4450),s=n(9409);function a(e){const{gen:t,data:n,it:r}=e;t.if(r.parentData,(()=>t.assign(n,i._`${r.parentData}[${r.parentDataProperty}]`)))}function l(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,i.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:r,schema:o,parentSchema:s,it:a}=e,d=t.macro.call(a.self,o,s,a),c=l(n,r,d);!1!==a.opts.validateSchema&&a.self.validateSchema(d,!0);const u=n.name("valid");e.subschema({schema:d,schemaPath:i.nil,errSchemaPath:`${a.errSchemaPath}/${r}`,topSchemaRef:c,compositeRule:!0},u),e.pass(u,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:d,keyword:c,schema:u,parentSchema:h,$data:f,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,t);const A=!f&&t.compile?t.compile.call(p.self,u,h,p):t.validate,m=l(d,c,A),g=d.let("valid");function b(n=(t.async?i._`await `:i.nil)){const s=p.opts.passContext?r.default.this:r.default.self,a=!("compile"in t&&!f||!1===t.schema);d.assign(g,i._`${n}${(0,o.callValidateCode)(e,m,s,a)}`,t.modifying)}function v(e){var n;d.if((0,i.not)(null!==(n=t.valid)&&void 0!==n?n:g),e)}e.block$data(g,(function(){if(!1===t.errors)b(),t.modifying&&a(e),v((()=>e.error()));else{const n=t.async?function(){const e=d.let("ruleErrs",null);return d.try((()=>b(i._`await `)),(t=>d.assign(g,!1).if(i._`${t} instanceof ${p.ValidationError}`,(()=>d.assign(e,i._`${t}.errors`)),(()=>d.throw(t))))),e}():function(){const e=i._`${m}.errors`;return d.assign(e,null),b(i.nil),e}();t.modifying&&a(e),v((()=>function(e,t){const{gen:n}=e;n.if(i._`Array.isArray(${t})`,(()=>{n.assign(r.default.vErrors,i._`${r.default.vErrors} === null ? ${t} : ${r.default.vErrors}.concat(${t})`).assign(r.default.errors,i._`${r.default.vErrors}.length`),(0,s.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:g)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:i},r,o){if(Array.isArray(r.keyword)?!r.keyword.includes(o):r.keyword!==o)throw new Error("ajv implementation error");const s=r.dependencies;if(null==s?void 0:s.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${o}: ${s.join(",")}`);if(r.validateSchema&&!r.validateSchema(e[o])){const e=`keyword "${o}" value is invalid at path "${i}": `+n.errorsText(r.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}},3322:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const i=n(7898),r=n(458);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:o,schemaPath:s,errSchemaPath:a,topSchemaRef:l}){if(void 0!==t&&void 0!==o)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const o=e.schema[t];return void 0===n?{schema:o,schemaPath:i._`${e.schemaPath}${(0,i.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:o[n],schemaPath:i._`${e.schemaPath}${(0,i.getProperty)(t)}${(0,i.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,r.escapeFragment)(n)}`}}if(void 0!==o){if(void 0===s||void 0===a||void 0===l)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:o,schemaPath:s,topSchemaRef:l,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:o,data:s,dataTypes:a,propertyName:l}){if(void 0!==s&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:d}=t;if(void 0!==n){const{errorPath:s,dataPathArr:a,opts:l}=t;c(d.let("data",i._`${t.data}${(0,i.getProperty)(n)}`,!0)),e.errorPath=i.str`${s}${(0,r.getErrorPath)(n,o,l.jsPropertySyntax)}`,e.parentDataProperty=i._`${n}`,e.dataPathArr=[...a,e.parentDataProperty]}function c(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}void 0!==s&&(c(s instanceof i.Name?s:d.let("data",s,!0)),void 0!==l&&(e.propertyName=l)),a&&(e.dataTypes=a)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:i,createErrors:r,allErrors:o}){void 0!==i&&(e.compositeRule=i),void 0!==r&&(e.createErrors=r),void 0!==o&&(e.allErrors=o),e.jtdDiscriminator=t,e.jtdMetadata=n}},5319:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var i=n(6223);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return i.KeywordCxt}});var r=n(7898);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const o=n(5031),s=n(5748),a=n(383),l=n(9392),d=n(7898),c=n(4856),u=n(9003),h=n(458),f=n(3770),p=n(7903),A=(e,t)=>new RegExp(e,t);A.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],g=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),b={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function C(e){var t,n,i,r,o,s,a,l,d,c,u,h,f,m,g,b,v,C,y,w,_,B,E,x,k;const T=e.strict,j=null===(t=e.code)||void 0===t?void 0:t.optimize,D=!0===j||void 0===j?1:j||0,S=null!==(i=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==i?i:A,I=null!==(r=e.uriResolver)&&void 0!==r?r:p.default;return{strictSchema:null===(s=null!==(o=e.strictSchema)&&void 0!==o?o:T)||void 0===s||s,strictNumbers:null===(l=null!==(a=e.strictNumbers)&&void 0!==a?a:T)||void 0===l||l,strictTypes:null!==(c=null!==(d=e.strictTypes)&&void 0!==d?d:T)&&void 0!==c?c:"log",strictTuples:null!==(h=null!==(u=e.strictTuples)&&void 0!==u?u:T)&&void 0!==h?h:"log",strictRequired:null!==(m=null!==(f=e.strictRequired)&&void 0!==f?f:T)&&void 0!==m&&m,code:e.code?{...e.code,optimize:D,regExp:S}:{optimize:D,regExp:S},loopRequired:null!==(g=e.loopRequired)&&void 0!==g?g:200,loopEnum:null!==(b=e.loopEnum)&&void 0!==b?b:200,meta:null===(v=e.meta)||void 0===v||v,messages:null===(C=e.messages)||void 0===C||C,inlineRefs:null===(y=e.inlineRefs)||void 0===y||y,schemaId:null!==(w=e.schemaId)&&void 0!==w?w:"$id",addUsedSchema:null===(_=e.addUsedSchema)||void 0===_||_,validateSchema:null===(B=e.validateSchema)||void 0===B||B,validateFormats:null===(E=e.validateFormats)||void 0===E||E,unicodeRegExp:null===(x=e.unicodeRegExp)||void 0===x||x,int32range:null===(k=e.int32range)||void 0===k||k,uriResolver:I}}class y{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...C(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new d.ValueScope({scope:{},prefixes:g,es5:t,lines:n}),this.logger=function(e){if(!1===e)return T;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const i=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),w.call(this,b,e,"NOT SUPPORTED"),w.call(this,v,e,"DEPRECATED","warn"),this._metaOpts=k.call(this),e.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&x.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),B.call(this),e.validateFormats=i}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let i=f;"id"===n&&(i={...f},i.id=i.$id,delete i.$id),t&&e&&this.addMetaSchema(i,i[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const i=n(t);return"$async"in n||(this.errors=n.errors),i}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return i.call(this,e,t);async function i(e,t){await r.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||o.call(this,n)}async function r(e){e&&!this.getSchema(e)&&await i.call(this,{$ref:e},!0)}async function o(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return a.call(this,t),await l.call(this,t.missingSchema),o.call(this,e)}}function a({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){const n=await d.call(this,e);this.refs[e]||await r.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function d(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,i=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,i);return this}let r;if("object"==typeof e){const{schemaId:t}=this.opts;if(r=e[t],void 0!==r&&"string"!=typeof r)throw new Error(`schema ${t} must be string`)}return t=(0,c.normalizeId)(t||r),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,i,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const i=this.validate(n,e);if(!i&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return i}getSchema(e){let t;for(;"string"==typeof(t=_.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,i=new l.SchemaEnv({schema:{},schemaId:n});if(t=l.resolveSchema.call(this,i,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=_.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,c.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(D.call(this,n,t),!t)return(0,h.eachItem)(n,(e=>S.call(this,e))),this;M.call(this,t);const i={...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)};return(0,h.eachItem)(n,0===i.type.length?e=>S.call(this,e,i):e=>i.type.forEach((t=>S.call(this,e,i,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const i of t){const t=i.split("/").slice(1);let r=e;for(const e of t)r=r[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:i}=t.definition,o=r[e];i&&o&&(r[e]=R(o))}}return e}_removeAllSchemas(e,t){for(const n in e){const i=e[n];t&&!t.test(n)||("string"==typeof i?delete e[n]:i&&!i.meta&&(this._cache.delete(i.schema),delete e[n]))}}_addSchema(e,t,n,i=this.opts.validateSchema,r=this.opts.addUsedSchema){let o;const{schemaId:s}=this.opts;if("object"==typeof e)o=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(void 0!==a)return a;n=(0,c.normalizeId)(o||n);const d=c.getSchemaRefs.call(this,e,n);return a=new l.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:d}),this._cache.set(a.schema,a),r&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=a),i&&this.validateSchema(e,!0),a}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function w(e,t,n,i="error"){for(const r in e){const o=r;o in t&&this.logger[i](`${n}: option ${r}. ${e[o]}`)}}function _(e){return e=(0,c.normalizeId)(e),this.schemas[e]||this.refs[e]}function B(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function E(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function x(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function k(){const e={...this.opts};for(const t of m)delete e[t];return e}y.ValidationError=o.default,y.MissingRefError=s.default,t.default=y;const T={log(){},warn(){},error(){}},j=/^[a-z_$][a-z0-9_$:-]*$/i;function D(e,t){const{RULES:n}=this;if((0,h.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!j.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function S(e,t,n){var i;const r=null==t?void 0:t.post;if(n&&r)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:o}=this;let s=r?o.post:o.rules.find((({type:e})=>e===n));if(s||(s={type:n,rules:[]},o.rules.push(s)),o.keywords[e]=!0,!t)return;const a={keyword:e,definition:{...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)}};t.before?I.call(this,s,a,t.before):s.rules.push(a),o.all[e]=a,null===(i=t.implements)||void 0===i||i.forEach((e=>this.addKeyword(e)))}function I(e,t,n){const i=e.rules.findIndex((e=>e.keyword===n));i>=0?e.rules.splice(i,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function M(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=R(t)),e.validateSchema=this.compile(t,!0))}const P={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function R(e){return{anyOf:[e,P]}}},2725:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(8792);i.code='require("ajv/dist/runtime/equal").default',t.default=i},6308:(e,t)=>{"use strict";function n(e){const t=e.length;let n,i=0,r=0;for(;r<t;)i++,n=e.charCodeAt(r++),n>=55296&&n<=56319&&r<t&&(n=e.charCodeAt(r),56320==(64512&n)&&r++);return i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},7903:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(2862);i.code='require("ajv/dist/runtime/uri").default',t.default=i},5031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},3426:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const i=n(7898),r=n(458),o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>i.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>i._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:i}=t;Array.isArray(i)?s(e,i):(0,r.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function s(e,t){const{gen:n,schema:o,data:s,keyword:a,it:l}=e;l.items=!0;const d=n.const("len",i._`${s}.length`);if(!1===o)e.setParams({len:t.length}),e.pass(i._`${d} <= ${t.length}`);else if("object"==typeof o&&!(0,r.alwaysValidSchema)(l,o)){const o=n.var("valid",i._`${d} <= ${t.length}`);n.if((0,i.not)(o),(()=>function(o){n.forRange("i",t.length,d,(t=>{e.subschema({keyword:a,dataProp:t,dataPropType:r.Type.Num},o),l.allErrors||n.if((0,i.not)(o),(()=>n.break()))}))}(o))),e.ok(o)}}t.validateAdditionalItems=s,t.default=o},2697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4450),r=n(7898),o=n(3036),s=n(458),a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>r._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:a,data:l,errsCount:d,it:c}=e;if(!d)throw new Error("ajv implementation error");const{allErrors:u,opts:h}=c;if(c.props=!0,"all"!==h.removeAdditional&&(0,s.alwaysValidSchema)(c,n))return;const f=(0,i.allSchemaProperties)(a.properties),p=(0,i.allSchemaProperties)(a.patternProperties);function A(e){t.code(r._`delete ${l}[${e}]`)}function m(i){if("all"===h.removeAdditional||h.removeAdditional&&!1===n)A(i);else{if(!1===n)return e.setParams({additionalProperty:i}),e.error(),void(u||t.break());if("object"==typeof n&&!(0,s.alwaysValidSchema)(c,n)){const n=t.name("valid");"failing"===h.removeAdditional?(g(i,n,!1),t.if((0,r.not)(n),(()=>{e.reset(),A(i)}))):(g(i,n),u||t.if((0,r.not)(n),(()=>t.break())))}}}function g(t,n,i){const r={keyword:"additionalProperties",dataProp:t,dataPropType:s.Type.Str};!1===i&&Object.assign(r,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(r,n)}t.forIn("key",l,(n=>{f.length||p.length?t.if(function(n){let o;if(f.length>8){const e=(0,s.schemaRefOrVal)(c,a.properties,"properties");o=(0,i.isOwnProperty)(t,e,n)}else o=f.length?(0,r.or)(...f.map((e=>r._`${n} === ${e}`))):r.nil;return p.length&&(o=(0,r.or)(o,...p.map((t=>r._`${(0,i.usePattern)(e,t)}.test(${n})`)))),(0,r.not)(o)}(n),(()=>m(n))):m(n)})),e.ok(r._`${d} === ${o.default.errors}`)}};t.default=a},9355:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(458),r={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:r}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=t.name("valid");n.forEach(((t,n)=>{if((0,i.alwaysValidSchema)(r,t))return;const s=e.subschema({keyword:"allOf",schemaProp:n},o);e.ok(o),e.mergeEvaluated(s)}))}};t.default=r},9430:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(4450).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=i},5724:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(458),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?i.str`must contain at least ${e} valid item(s)`:i.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?i._`{minContains: ${e}}`:i._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:o,data:s,it:a}=e;let l,d;const{minContains:c,maxContains:u}=o;a.opts.next?(l=void 0===c?1:c,d=u):l=1;const h=t.const("len",i._`${s}.length`);if(e.setParams({min:l,max:d}),void 0===d&&0===l)return void(0,r.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==d&&l>d)return(0,r.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,r.alwaysValidSchema)(a,n)){let t=i._`${h} >= ${l}`;return void 0!==d&&(t=i._`${t} && ${h} <= ${d}`),void e.pass(t)}a.items=!0;const f=t.name("valid");function p(){const e=t.name("_valid"),n=t.let("count",0);A(e,(()=>t.if(e,(()=>function(e){t.code(i._`${e}++`),void 0===d?t.if(i._`${e} >= ${l}`,(()=>t.assign(f,!0).break())):(t.if(i._`${e} > ${d}`,(()=>t.assign(f,!1).break())),1===l?t.assign(f,!0):t.if(i._`${e} >= ${l}`,(()=>t.assign(f,!0))))}(n)))))}function A(n,i){t.forRange("i",0,h,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:r.Type.Num,compositeRule:!0},n),i()}))}void 0===d&&1===l?A(f,(()=>t.if(f,(()=>t.break())))):0===l?(t.let(f,!0),void 0!==d&&t.if(i._`${s}.length > 0`,p)):(t.let(f,!1),p()),e.result(f,(()=>e.reset()))}};t.default=o},9868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const i=n(7898),r=n(458),o=n(4450);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const r=1===t?"property":"properties";return i.str`must have ${r} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:r}})=>i._`{property: ${e}, |
| 22 |
missingProperty: ${r}, |
| 23 |
depsCount: ${t}, |
| 24 |
deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const i in e)"__proto__"!==i&&((Array.isArray(e[i])?t:n)[i]=e[i]);return[t,n]}(e);a(e,t),l(e,n)}};function a(e,t=e.schema){const{gen:n,data:r,it:s}=e;if(0===Object.keys(t).length)return;const a=n.let("missing");for(const l in t){const d=t[l];if(0===d.length)continue;const c=(0,o.propertyInData)(n,r,l,s.opts.ownProperties);e.setParams({property:l,depsCount:d.length,deps:d.join(", ")}),s.allErrors?n.if(c,(()=>{for(const t of d)(0,o.checkReportMissingProp)(e,t)})):(n.if(i._`${c} && (${(0,o.checkMissingProp)(e,d,a)})`),(0,o.reportMissingProp)(e,a),n.else())}}function l(e,t=e.schema){const{gen:n,data:i,keyword:s,it:a}=e,l=n.name("valid");for(const d in t)(0,r.alwaysValidSchema)(a,t[d])||(n.if((0,o.propertyInData)(n,i,d,a.opts.ownProperties),(()=>{const t=e.subschema({keyword:s,schemaProp:d},l);e.mergeValidEvaluated(t,l)}),(()=>n.var(l,!0))),e.ok(l))}t.validatePropertyDeps=a,t.validateSchemaDeps=l,t.default=s},8129:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(458),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>i.str`must match "${e.ifClause}" schema`,params:({params:e})=>i._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:o}=e;void 0===n.then&&void 0===n.else&&(0,r.checkStrictMode)(o,'"if" without "then" and "else" is ignored');const a=s(o,"then"),l=s(o,"else");if(!a&&!l)return;const d=t.let("valid",!0),c=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},c);e.mergeEvaluated(t)}(),e.reset(),a&&l){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(c,u("then",n),u("else",n))}else a?t.if(c,u("then")):t.if((0,i.not)(c),u("else"));function u(n,r){return()=>{const o=e.subschema({keyword:n},c);t.assign(d,c),e.mergeValidEvaluated(o,d),r?t.assign(r,i._`${n}`):e.setParams({ifClause:n})}}e.pass(d,(()=>e.error(!0)))}};function s(e,t){const n=e.schema[t];return void 0!==n&&!(0,r.alwaysValidSchema)(e,n)}t.default=o},8225:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(3426),r=n(1349),o=n(4153),s=n(2134),a=n(5724),l=n(9868),d=n(7486),c=n(2697),u=n(9660),h=n(8422),f=n(5532),p=n(9430),A=n(8768),m=n(9355),g=n(8129),b=n(5255);t.default=function(e=!1){const t=[f.default,p.default,A.default,m.default,g.default,b.default,d.default,c.default,l.default,u.default,h.default];return e?t.push(r.default,s.default):t.push(i.default,o.default),t.push(a.default),t}},4153:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const i=n(7898),r=n(458),o=n(4450),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return a(e,"additionalItems",t);n.items=!0,(0,r.alwaysValidSchema)(n,t)||e.ok((0,o.validateArray)(e))}};function a(e,t,n=e.schema){const{gen:o,parentSchema:s,data:a,keyword:l,it:d}=e;!function(e){const{opts:i,errSchemaPath:o}=d,s=n.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(i.strictTuples&&!a){const e=`"${l}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${o}"`;(0,r.checkStrictMode)(d,e,i.strictTuples)}}(s),d.opts.unevaluated&&n.length&&!0!==d.items&&(d.items=r.mergeEvaluated.items(o,n.length,d.items));const c=o.name("valid"),u=o.const("len",i._`${a}.length`);n.forEach(((t,n)=>{(0,r.alwaysValidSchema)(d,t)||(o.if(i._`${u} > ${n}`,(()=>e.subschema({keyword:l,schemaProp:n,dataProp:n},c))),e.ok(c))}))}t.validateTuple=a,t.default=s},2134:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(458),o=n(4450),s=n(3426),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>i.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>i._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:i}=e,{prefixItems:a}=n;i.items=!0,(0,r.alwaysValidSchema)(i,t)||(a?(0,s.validateAdditionalItems)(e,a):e.ok((0,o.validateArray)(e)))}};t.default=a},5532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(458),r={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:r}=e;if((0,i.alwaysValidSchema)(r,n))return void e.fail();const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=r},8768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(458),o={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>i._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:o,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(s.opts.discriminator&&o.discriminator)return;const a=n,l=t.let("valid",!1),d=t.let("passing",null),c=t.name("_valid");e.setParams({passing:d}),t.block((function(){a.forEach(((n,o)=>{let a;(0,r.alwaysValidSchema)(s,n)?t.var(c,!0):a=e.subschema({keyword:"oneOf",schemaProp:o,compositeRule:!0},c),o>0&&t.if(i._`${c} && ${l}`).assign(l,!1).assign(d,i._`[${d}, ${o}]`).else(),t.if(c,(()=>{t.assign(l,!0),t.assign(d,o),a&&e.mergeEvaluated(a,i.Name)}))}))})),e.result(l,(()=>e.reset()),(()=>e.error(!0)))}};t.default=o},8422:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4450),r=n(7898),o=n(458),s=n(458),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:a,parentSchema:l,it:d}=e,{opts:c}=d,u=(0,i.allSchemaProperties)(n),h=u.filter((e=>(0,o.alwaysValidSchema)(d,n[e])));if(0===u.length||h.length===u.length&&(!d.opts.unevaluated||!0===d.props))return;const f=c.strictSchema&&!c.allowMatchingProperties&&l.properties,p=t.name("valid");!0===d.props||d.props instanceof r.Name||(d.props=(0,s.evaluatedPropsToName)(t,d.props));const{props:A}=d;function m(e){for(const t in f)new RegExp(e).test(t)&&(0,o.checkStrictMode)(d,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function g(n){t.forIn("key",a,(o=>{t.if(r._`${(0,i.usePattern)(e,n)}.test(${o})`,(()=>{const i=h.includes(n);i||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:o,dataPropType:s.Type.Str},p),d.opts.unevaluated&&!0!==A?t.assign(r._`${A}[${o}]`,!0):i||d.allErrors||t.if((0,r.not)(p),(()=>t.break()))}))}))}!function(){for(const e of u)f&&m(e),d.allErrors?g(e):(t.var(p,!0),g(e),t.if(p))}()}};t.default=a},1349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4153),r={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,i.validateTuple)(e,"items")};t.default=r},9660:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(6223),r=n(4450),o=n(458),s=n(2697),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:a,data:l,it:d}=e;"all"===d.opts.removeAdditional&&void 0===a.additionalProperties&&s.default.code(new i.KeywordCxt(d,s.default,"additionalProperties"));const c=(0,r.allSchemaProperties)(n);for(const e of c)d.definedProperties.add(e);d.opts.unevaluated&&c.length&&!0!==d.props&&(d.props=o.mergeEvaluated.props(t,(0,o.toHash)(c),d.props));const u=c.filter((e=>!(0,o.alwaysValidSchema)(d,n[e])));if(0===u.length)return;const h=t.name("valid");for(const n of u)f(n)?p(n):(t.if((0,r.propertyInData)(t,l,n,d.opts.ownProperties)),p(n),d.allErrors||t.else().var(h,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(h);function f(e){return d.opts.useDefaults&&!d.compositeRule&&void 0!==n[e].default}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},h)}}};t.default=a},7486:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(458),o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>i._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:o,it:s}=e;if((0,r.alwaysValidSchema)(s,n))return;const a=t.name("valid");t.forIn("key",o,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},a),t.if((0,i.not)(a),(()=>{e.error(!0),s.allErrors||t.break()}))})),e.ok(a)}};t.default=o},5255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(458),r={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,i.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=r},4450:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const i=n(7898),r=n(458),o=n(3036),s=n(458);function a(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:i._`Object.prototype.hasOwnProperty`})}function l(e,t,n){return i._`${a(e)}.call(${t}, ${n})`}function d(e,t,n,r){const o=i._`${t}${(0,i.getProperty)(n)} === undefined`;return r?(0,i.or)(o,(0,i.not)(l(e,t,n))):o}function c(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:r,it:o}=e;n.if(d(n,r,t,o.opts.ownProperties),(()=>{e.setParams({missingProperty:i._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},r,o){return(0,i.or)(...r.map((r=>(0,i.and)(d(e,t,r,n.ownProperties),i._`${o} = ${r}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=a,t.isOwnProperty=l,t.propertyInData=function(e,t,n,r){const o=i._`${t}${(0,i.getProperty)(n)} !== undefined`;return r?i._`${o} && ${l(e,t,n)}`:o},t.noPropertyInData=d,t.allSchemaProperties=c,t.schemaProperties=function(e,t){return c(t).filter((n=>!(0,r.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:r,schemaPath:s,errorPath:a},it:l},d,c,u){const h=u?i._`${e}, ${t}, ${r}${s}`:t,f=[[o.default.instancePath,(0,i.strConcat)(o.default.instancePath,a)],[o.default.parentData,l.parentData],[o.default.parentDataProperty,l.parentDataProperty],[o.default.rootData,o.default.rootData]];l.opts.dynamicRef&&f.push([o.default.dynamicAnchors,o.default.dynamicAnchors]);const p=i._`${h}, ${n.object(...f)}`;return c!==i.nil?i._`${d}.call(${c}, ${p})`:i._`${d}(${p})`};const u=i._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const r=t.unicodeRegExp?"u":"",{regExp:o}=t.code,a=o(n,r);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:i._`${"new RegExp"===o.code?u:(0,s.useFunc)(e,o)}(${n}, ${r})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:o,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return l((()=>t.assign(e,!1))),e}return t.var(a,!0),l((()=>t.break())),a;function l(s){const l=t.const("len",i._`${n}.length`);t.forRange("i",0,l,(n=>{e.subschema({keyword:o,dataProp:n,dataPropType:r.Type.Num},a),t.if((0,i.not)(a),s)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:o,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,r.alwaysValidSchema)(s,e)))&&!s.opts.unevaluated)return;const a=t.let("valid",!1),l=t.name("_valid");t.block((()=>n.forEach(((n,r)=>{const s=e.subschema({keyword:o,schemaProp:r,compositeRule:!0},l);t.assign(a,i._`${a} || ${l}`),e.mergeValidEvaluated(s,l)||t.if((0,i.not)(a))})))),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}},3946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},3839:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(3946),r=n(6138),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",i.default,r.default];t.default=o},6138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const i=n(5748),r=n(4450),o=n(7898),s=n(3036),a=n(9392),l=n(458),d={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:r}=e,{baseId:s,schemaEnv:l,validateName:d,opts:h,self:f}=r,{root:p}=l;if(("#"===n||"#/"===n)&&s===p.baseId)return function(){if(l===p)return u(e,d,l,l.$async);const n=t.scopeValue("root",{ref:p});return u(e,o._`${n}.validate`,p,p.$async)}();const A=a.resolveRef.call(f,p,s,n);if(void 0===A)throw new i.default(r.opts.uriResolver,s,n);return A instanceof a.SchemaEnv?function(t){const n=c(e,t);u(e,n,t,t.$async)}(A):function(i){const r=t.scopeValue("schema",!0===h.code.source?{ref:i,code:(0,o.stringify)(i)}:{ref:i}),s=t.name("valid"),a=e.subschema({schema:i,dataTypes:[],schemaPath:o.nil,topSchemaRef:r,errSchemaPath:n},s);e.mergeEvaluated(a),e.ok(s)}(A)}};function c(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):o._`${n.scopeValue("wrapper",{ref:t})}.validate`}function u(e,t,n,i){const{gen:a,it:d}=e,{allErrors:c,schemaEnv:u,opts:h}=d,f=h.passContext?s.default.this:o.nil;function p(e){const t=o._`${e}.errors`;a.assign(s.default.vErrors,o._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,o._`${s.default.vErrors}.length`)}function A(e){var t;if(!d.opts.unevaluated)return;const i=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==d.props)if(i&&!i.dynamicProps)void 0!==i.props&&(d.props=l.mergeEvaluated.props(a,i.props,d.props));else{const t=a.var("props",o._`${e}.evaluated.props`);d.props=l.mergeEvaluated.props(a,t,d.props,o.Name)}if(!0!==d.items)if(i&&!i.dynamicItems)void 0!==i.items&&(d.items=l.mergeEvaluated.items(a,i.items,d.items));else{const t=a.var("items",o._`${e}.evaluated.items`);d.items=l.mergeEvaluated.items(a,t,d.items,o.Name)}}i?function(){if(!u.$async)throw new Error("async schema referenced by sync schema");const n=a.let("valid");a.try((()=>{a.code(o._`await ${(0,r.callValidateCode)(e,t,f)}`),A(t),c||a.assign(n,!0)}),(e=>{a.if(o._`!(${e} instanceof ${d.ValidationError})`,(()=>a.throw(e))),p(e),c||a.assign(n,!1)})),e.ok(n)}():e.result((0,r.callValidateCode)(e,t,f),(()=>A(t)),(()=>p(t)))}t.getValidate=c,t.callRef=u,t.default=d},1672:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(4954),o=n(9392),s=n(458),a={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===r.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>i._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:a,parentSchema:l,it:d}=e,{oneOf:c}=l;if(!d.opts.discriminator)throw new Error("discriminator: requires discriminator option");const u=a.propertyName;if("string"!=typeof u)throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!c)throw new Error("discriminator: requires oneOf keyword");const h=t.let("valid",!1),f=t.const("tag",i._`${n}${(0,i.getProperty)(u)}`);function p(n){const r=t.name("valid"),o=e.subschema({keyword:"oneOf",schemaProp:n},r);return e.mergeEvaluated(o,i.Name),r}t.if(i._`typeof ${f} == "string"`,(()=>function(){const n=function(){var e;const t={},n=r(l);let i=!0;for(let t=0;t<c.length;t++){let l=c[t];(null==l?void 0:l.$ref)&&!(0,s.schemaHasRulesButRef)(l,d.self.RULES)&&(l=o.resolveRef.call(d.self,d.schemaEnv.root,d.baseId,null==l?void 0:l.$ref),l instanceof o.SchemaEnv&&(l=l.schema));const h=null===(e=null==l?void 0:l.properties)||void 0===e?void 0:e[u];if("object"!=typeof h)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${u}"`);i=i&&(n||r(l)),a(h,t)}if(!i)throw new Error(`discriminator: "${u}" must be required`);return t;function r({required:e}){return Array.isArray(e)&&e.includes(u)}function a(e,t){if(e.const)h(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${u}" must have "const" or "enum"`);for(const n of e.enum)h(n,t)}}function h(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${u}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(i._`${f} === ${e}`),t.assign(h,p(n[e]));t.else(),e.error(!1,{discrError:r.DiscrError.Mapping,tag:f,tagName:u}),t.endIf()}()),(()=>e.error(!1,{discrError:r.DiscrError.Tag,tag:f,tagName:u}))),e.ok(h)}};t.default=a},4954:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},2431:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(3839),r=n(232),o=n(8225),s=n(6699),a=n(2501),l=[i.default,r.default,(0,o.default)(),s.default,a.metadataVocabulary,a.contentVocabulary];t.default=l},7072:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>i.str`must match format "${e}"`,params:({schemaCode:e})=>i._`{format: ${e}}`},code(e,t){const{gen:n,data:r,$data:o,schema:s,schemaCode:a,it:l}=e,{opts:d,errSchemaPath:c,schemaEnv:u,self:h}=l;d.validateFormats&&(o?function(){const o=n.scopeValue("formats",{ref:h.formats,code:d.code.formats}),s=n.const("fDef",i._`${o}[${a}]`),l=n.let("fType"),c=n.let("format");n.if(i._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,(()=>n.assign(l,i._`${s}.type || "string"`).assign(c,i._`${s}.validate`)),(()=>n.assign(l,i._`"string"`).assign(c,s))),e.fail$data((0,i.or)(!1===d.strictSchema?i.nil:i._`${a} && !${c}`,function(){const e=u.$async?i._`(${s}.async ? await ${c}(${r}) : ${c}(${r}))`:i._`${c}(${r})`,n=i._`(typeof ${c} == "function" ? ${e} : ${c}.test(${r}))`;return i._`${c} && ${c} !== true && ${l} === ${t} && !${n}`}()))}():function(){const o=h.formats[s];if(!o)return void function(){if(!1!==d.strictSchema)throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${c}"`}h.logger.warn(e())}();if(!0===o)return;const[a,l,f]=function(e){const t=e instanceof RegExp?(0,i.regexpCode)(e):d.code.formats?i._`${d.code.formats}${(0,i.getProperty)(s)}`:void 0,r=n.scopeValue("formats",{key:s,ref:e,code:t});return"object"!=typeof e||e instanceof RegExp?["string",e,r]:[e.type||"string",e.validate,i._`${r}.validate`]}(o);a===t&&e.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!u.$async)throw new Error("async format in sync schema");return i._`await ${f}(${r})`}return"function"==typeof l?i._`${f}(${r})`:i._`${f}.test(${r})`}())}())}};t.default=r},6699:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=[n(7072).default];t.default=i},2501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},9520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(458),o=n(2725),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>i._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:s,schemaCode:a,schema:l}=e;s||l&&"object"==typeof l?e.fail$data(i._`!${(0,r.useFunc)(t,o.default)}(${n}, ${a})`):e.fail(i._`${l} !== ${n}`)}};t.default=s},6742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(458),o=n(2725),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>i._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:l,it:d}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const c=a.length>=d.opts.loopEnum;let u;const h=()=>null!=u?u:u=(0,r.useFunc)(t,o.default);let f;if(c||s)f=t.let("valid"),e.block$data(f,(function(){t.assign(f,!1),t.forOf("v",l,(e=>t.if(i._`${h()}(${n}, ${e})`,(()=>t.assign(f,!0).break()))))}));else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",l);f=(0,i.or)(...a.map(((t,r)=>function(e,t){const r=a[t];return"object"==typeof r&&null!==r?i._`${h()}(${n}, ${e}[${t}])`:i._`${n} === ${r}`}(e,r))))}e.pass(f)}};t.default=s},232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(2333),r=n(1230),o=n(3936),s=n(1005),a=n(1589),l=n(9594),d=n(8558),c=n(4058),u=n(9520),h=n(6742),f=[i.default,r.default,o.default,s.default,a.default,l.default,d.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},u.default,h.default];t.default=f},8558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return i.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>i._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:r}=e,o="maxItems"===t?i.operators.GT:i.operators.LT;e.fail$data(i._`${n}.length ${o} ${r}`)}};t.default=r},3936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=n(458),o=n(6308),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return i.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>i._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:s,it:a}=e,l="maxLength"===t?i.operators.GT:i.operators.LT,d=!1===a.opts.unicode?i._`${n}.length`:i._`${(0,r.useFunc)(e.gen,o.default)}(${n})`;e.fail$data(i._`${d} ${l} ${s}`)}};t.default=s},2333:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r=i.operators,o={maximum:{okStr:"<=",ok:r.LTE,fail:r.GT},minimum:{okStr:">=",ok:r.GTE,fail:r.LT},exclusiveMaximum:{okStr:"<",ok:r.LT,fail:r.GTE},exclusiveMinimum:{okStr:">",ok:r.GT,fail:r.LTE}},s={message:({keyword:e,schemaCode:t})=>i.str`must be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>i._`{comparison: ${o[e].okStr}, limit: ${t}}`},a={keyword:Object.keys(o),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:n,schemaCode:r}=e;e.fail$data(i._`${n} ${o[t].fail} ${r} || isNaN(${n})`)}};t.default=a},1589:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return i.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>i._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:r}=e,o="maxProperties"===t?i.operators.GT:i.operators.LT;e.fail$data(i._`Object.keys(${n}).length ${o} ${r}`)}};t.default=r},1230:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7898),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>i.str`must be multiple of ${e}`,params:({schemaCode:e})=>i._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:r,it:o}=e,s=o.opts.multipleOfPrecision,a=t.let("res"),l=s?i._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:i._`${a} !== parseInt(${a})`;e.fail$data(i._`(${r} === 0 || (${a} = ${n}/${r}, ${l}))`)}};t.default=r},1005:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4450),r=n(7898),o={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match pattern "${e}"`,params:({schemaCode:e})=>r._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:o,schemaCode:s,it:a}=e,l=a.opts.unicodeRegExp?"u":"",d=n?r._`(new RegExp(${s}, ${l}))`:(0,i.usePattern)(e,o);e.fail$data(r._`!${d}.test(${t})`)}};t.default=o},9594:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4450),r=n(7898),o=n(458),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>r.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>r._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:s,data:a,$data:l,it:d}=e,{opts:c}=d;if(!l&&0===n.length)return;const u=n.length>=c.loopRequired;if(d.allErrors?function(){if(u||l)e.block$data(r.nil,h);else for(const t of n)(0,i.checkReportMissingProp)(e,t)}():function(){const o=t.let("missing");if(u||l){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,o){e.setParams({missingProperty:n}),t.forOf(n,s,(()=>{t.assign(o,(0,i.propertyInData)(t,a,n,c.ownProperties)),t.if((0,r.not)(o),(()=>{e.error(),t.break()}))}),r.nil)}(o,n))),e.ok(n)}else t.if((0,i.checkMissingProp)(e,n,o)),(0,i.reportMissingProp)(e,o),t.else()}(),c.strictRequired){const t=e.parentSchema.properties,{definedProperties:i}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!i.has(e)){const t=`required property "${e}" is not defined at "${d.schemaEnv.baseId+d.errSchemaPath}" (strictRequired)`;(0,o.checkStrictMode)(d,t,d.opts.strictRequired)}}function h(){t.forOf("prop",s,(n=>{e.setParams({missingProperty:n}),t.if((0,i.noPropertyInData)(t,a,n,c.ownProperties),(()=>e.error()))}))}}};t.default=s},4058:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9003),r=n(7898),o=n(458),s=n(2725),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>r.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>r._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:a,schema:l,parentSchema:d,schemaCode:c,it:u}=e;if(!a&&!l)return;const h=t.let("valid"),f=d.items?(0,i.getSchemaTypes)(d.items):[];function p(o,s){const a=t.name("item"),l=(0,i.checkDataTypes)(f,a,u.opts.strictNumbers,i.DataType.Wrong),d=t.const("indices",r._`{}`);t.for(r._`;${o}--;`,(()=>{t.let(a,r._`${n}[${o}]`),t.if(l,r._`continue`),f.length>1&&t.if(r._`typeof ${a} == "string"`,r._`${a} += "_"`),t.if(r._`typeof ${d}[${a}] == "number"`,(()=>{t.assign(s,r._`${d}[${a}]`),e.error(),t.assign(h,!1).break()})).code(r._`${d}[${a}] = ${o}`)}))}function A(i,a){const l=(0,o.useFunc)(t,s.default),d=t.name("outer");t.label(d).for(r._`;${i}--;`,(()=>t.for(r._`${a} = ${i}; ${a}--;`,(()=>t.if(r._`${l}(${n}[${i}], ${n}[${a}])`,(()=>{e.error(),t.assign(h,!1).break(d)}))))))}e.block$data(h,(function(){const i=t.let("i",r._`${n}.length`),o=t.let("j");e.setParams({i,j:o}),t.assign(h,!0),t.if(r._`${i} > 1`,(()=>(f.length>0&&!f.some((e=>"object"===e||"array"===e))?p:A)(i,o)))}),r._`${c} === false`),e.ok(h)}};t.default=a},7991:(e,t)=>{"use strict";t.bg=function(e){var t,n,o=function(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}(e),s=o[0],a=o[1],l=new r(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),d=0,c=a>0?s-4:s;for(n=0;n<c;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[d++]=t>>16&255,l[d++]=t>>8&255,l[d++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[d++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[d++]=t>>8&255,l[d++]=255&t),l},t.iI=function(e){for(var t,i=e.length,r=i%3,o=[],s=16383,l=0,d=i-r;l<d;l+=s)o.push(a(e,l,l+s>d?d:l+s));return 1===r?(t=e[i-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===r&&(t=(e[i-2]<<8)+e[i-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=o[s],i[o.charCodeAt(s)]=s;function a(e,t,i){for(var r,o,s=[],a=t;a<i;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(n[(o=r)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},4971:(e,t,n)=>{"use strict";n.d(t,{A:()=>$});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o),a=n(62),l=n.n(a),d=new URL(n(5738),n.b),c=new URL(n(6574),n.b),u=new URL(n(3188),n.b),h=new URL(n(3284),n.b),f=new URL(n(9465),n.b),p=new URL(n(2322),n.b),A=new URL(n(8182),n.b),m=new URL(n(1583),n.b),g=new URL(n(7020),n.b),b=new URL(n(1207),n.b),v=new URL(n(630),n.b),C=new URL(n(5890),n.b),y=new URL(n(4832),n.b),w=new URL(n(5920),n.b),_=new URL(n(2580),n.b),B=s()(r()),E=l()(d),x=l()(d,{hash:"?#iefix"}),k=l()(c),T=l()(u),j=l()(h),D=l()(f,{hash:"#fontawesome"}),S=l()(p),I=l()(p,{hash:"?#iefix"}),M=l()(A),P=l()(m),R=l()(g),O=l()(b,{hash:"#fontawesome"}),L=l()(v),N=l()(v,{hash:"?#iefix"}),z=l()(C),F=l()(y),q=l()(w),U=l()(_,{hash:"#fontawesome"});B.push([e.id,`/*!\n * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\\f26e"}.fa-accessible-icon:before{content:"\\f368"}.fa-accusoft:before{content:"\\f369"}.fa-acquisitions-incorporated:before{content:"\\f6af"}.fa-ad:before{content:"\\f641"}.fa-address-book:before{content:"\\f2b9"}.fa-address-card:before{content:"\\f2bb"}.fa-adjust:before{content:"\\f042"}.fa-adn:before{content:"\\f170"}.fa-adversal:before{content:"\\f36a"}.fa-affiliatetheme:before{content:"\\f36b"}.fa-air-freshener:before{content:"\\f5d0"}.fa-airbnb:before{content:"\\f834"}.fa-algolia:before{content:"\\f36c"}.fa-align-center:before{content:"\\f037"}.fa-align-justify:before{content:"\\f039"}.fa-align-left:before{content:"\\f036"}.fa-align-right:before{content:"\\f038"}.fa-alipay:before{content:"\\f642"}.fa-allergies:before{content:"\\f461"}.fa-amazon:before{content:"\\f270"}.fa-amazon-pay:before{content:"\\f42c"}.fa-ambulance:before{content:"\\f0f9"}.fa-american-sign-language-interpreting:before{content:"\\f2a3"}.fa-amilia:before{content:"\\f36d"}.fa-anchor:before{content:"\\f13d"}.fa-android:before{content:"\\f17b"}.fa-angellist:before{content:"\\f209"}.fa-angle-double-down:before{content:"\\f103"}.fa-angle-double-left:before{content:"\\f100"}.fa-angle-double-right:before{content:"\\f101"}.fa-angle-double-up:before{content:"\\f102"}.fa-angle-down:before{content:"\\f107"}.fa-angle-left:before{content:"\\f104"}.fa-angle-right:before{content:"\\f105"}.fa-angle-up:before{content:"\\f106"}.fa-angry:before{content:"\\f556"}.fa-angrycreative:before{content:"\\f36e"}.fa-angular:before{content:"\\f420"}.fa-ankh:before{content:"\\f644"}.fa-app-store:before{content:"\\f36f"}.fa-app-store-ios:before{content:"\\f370"}.fa-apper:before{content:"\\f371"}.fa-apple:before{content:"\\f179"}.fa-apple-alt:before{content:"\\f5d1"}.fa-apple-pay:before{content:"\\f415"}.fa-archive:before{content:"\\f187"}.fa-archway:before{content:"\\f557"}.fa-arrow-alt-circle-down:before{content:"\\f358"}.fa-arrow-alt-circle-left:before{content:"\\f359"}.fa-arrow-alt-circle-right:before{content:"\\f35a"}.fa-arrow-alt-circle-up:before{content:"\\f35b"}.fa-arrow-circle-down:before{content:"\\f0ab"}.fa-arrow-circle-left:before{content:"\\f0a8"}.fa-arrow-circle-right:before{content:"\\f0a9"}.fa-arrow-circle-up:before{content:"\\f0aa"}.fa-arrow-down:before{content:"\\f063"}.fa-arrow-left:before{content:"\\f060"}.fa-arrow-right:before{content:"\\f061"}.fa-arrow-up:before{content:"\\f062"}.fa-arrows-alt:before{content:"\\f0b2"}.fa-arrows-alt-h:before{content:"\\f337"}.fa-arrows-alt-v:before{content:"\\f338"}.fa-artstation:before{content:"\\f77a"}.fa-assistive-listening-systems:before{content:"\\f2a2"}.fa-asterisk:before{content:"\\f069"}.fa-asymmetrik:before{content:"\\f372"}.fa-at:before{content:"\\f1fa"}.fa-atlas:before{content:"\\f558"}.fa-atlassian:before{content:"\\f77b"}.fa-atom:before{content:"\\f5d2"}.fa-audible:before{content:"\\f373"}.fa-audio-description:before{content:"\\f29e"}.fa-autoprefixer:before{content:"\\f41c"}.fa-avianex:before{content:"\\f374"}.fa-aviato:before{content:"\\f421"}.fa-award:before{content:"\\f559"}.fa-aws:before{content:"\\f375"}.fa-baby:before{content:"\\f77c"}.fa-baby-carriage:before{content:"\\f77d"}.fa-backspace:before{content:"\\f55a"}.fa-backward:before{content:"\\f04a"}.fa-bacon:before{content:"\\f7e5"}.fa-bacteria:before{content:"\\e059"}.fa-bacterium:before{content:"\\e05a"}.fa-bahai:before{content:"\\f666"}.fa-balance-scale:before{content:"\\f24e"}.fa-balance-scale-left:before{content:"\\f515"}.fa-balance-scale-right:before{content:"\\f516"}.fa-ban:before{content:"\\f05e"}.fa-band-aid:before{content:"\\f462"}.fa-bandcamp:before{content:"\\f2d5"}.fa-barcode:before{content:"\\f02a"}.fa-bars:before{content:"\\f0c9"}.fa-baseball-ball:before{content:"\\f433"}.fa-basketball-ball:before{content:"\\f434"}.fa-bath:before{content:"\\f2cd"}.fa-battery-empty:before{content:"\\f244"}.fa-battery-full:before{content:"\\f240"}.fa-battery-half:before{content:"\\f242"}.fa-battery-quarter:before{content:"\\f243"}.fa-battery-three-quarters:before{content:"\\f241"}.fa-battle-net:before{content:"\\f835"}.fa-bed:before{content:"\\f236"}.fa-beer:before{content:"\\f0fc"}.fa-behance:before{content:"\\f1b4"}.fa-behance-square:before{content:"\\f1b5"}.fa-bell:before{content:"\\f0f3"}.fa-bell-slash:before{content:"\\f1f6"}.fa-bezier-curve:before{content:"\\f55b"}.fa-bible:before{content:"\\f647"}.fa-bicycle:before{content:"\\f206"}.fa-biking:before{content:"\\f84a"}.fa-bimobject:before{content:"\\f378"}.fa-binoculars:before{content:"\\f1e5"}.fa-biohazard:before{content:"\\f780"}.fa-birthday-cake:before{content:"\\f1fd"}.fa-bitbucket:before{content:"\\f171"}.fa-bitcoin:before{content:"\\f379"}.fa-bity:before{content:"\\f37a"}.fa-black-tie:before{content:"\\f27e"}.fa-blackberry:before{content:"\\f37b"}.fa-blender:before{content:"\\f517"}.fa-blender-phone:before{content:"\\f6b6"}.fa-blind:before{content:"\\f29d"}.fa-blog:before{content:"\\f781"}.fa-blogger:before{content:"\\f37c"}.fa-blogger-b:before{content:"\\f37d"}.fa-bluetooth:before{content:"\\f293"}.fa-bluetooth-b:before{content:"\\f294"}.fa-bold:before{content:"\\f032"}.fa-bolt:before{content:"\\f0e7"}.fa-bomb:before{content:"\\f1e2"}.fa-bone:before{content:"\\f5d7"}.fa-bong:before{content:"\\f55c"}.fa-book:before{content:"\\f02d"}.fa-book-dead:before{content:"\\f6b7"}.fa-book-medical:before{content:"\\f7e6"}.fa-book-open:before{content:"\\f518"}.fa-book-reader:before{content:"\\f5da"}.fa-bookmark:before{content:"\\f02e"}.fa-bootstrap:before{content:"\\f836"}.fa-border-all:before{content:"\\f84c"}.fa-border-none:before{content:"\\f850"}.fa-border-style:before{content:"\\f853"}.fa-bowling-ball:before{content:"\\f436"}.fa-box:before{content:"\\f466"}.fa-box-open:before{content:"\\f49e"}.fa-box-tissue:before{content:"\\e05b"}.fa-boxes:before{content:"\\f468"}.fa-braille:before{content:"\\f2a1"}.fa-brain:before{content:"\\f5dc"}.fa-bread-slice:before{content:"\\f7ec"}.fa-briefcase:before{content:"\\f0b1"}.fa-briefcase-medical:before{content:"\\f469"}.fa-broadcast-tower:before{content:"\\f519"}.fa-broom:before{content:"\\f51a"}.fa-brush:before{content:"\\f55d"}.fa-btc:before{content:"\\f15a"}.fa-buffer:before{content:"\\f837"}.fa-bug:before{content:"\\f188"}.fa-building:before{content:"\\f1ad"}.fa-bullhorn:before{content:"\\f0a1"}.fa-bullseye:before{content:"\\f140"}.fa-burn:before{content:"\\f46a"}.fa-buromobelexperte:before{content:"\\f37f"}.fa-bus:before{content:"\\f207"}.fa-bus-alt:before{content:"\\f55e"}.fa-business-time:before{content:"\\f64a"}.fa-buy-n-large:before{content:"\\f8a6"}.fa-buysellads:before{content:"\\f20d"}.fa-calculator:before{content:"\\f1ec"}.fa-calendar:before{content:"\\f133"}.fa-calendar-alt:before{content:"\\f073"}.fa-calendar-check:before{content:"\\f274"}.fa-calendar-day:before{content:"\\f783"}.fa-calendar-minus:before{content:"\\f272"}.fa-calendar-plus:before{content:"\\f271"}.fa-calendar-times:before{content:"\\f273"}.fa-calendar-week:before{content:"\\f784"}.fa-camera:before{content:"\\f030"}.fa-camera-retro:before{content:"\\f083"}.fa-campground:before{content:"\\f6bb"}.fa-canadian-maple-leaf:before{content:"\\f785"}.fa-candy-cane:before{content:"\\f786"}.fa-cannabis:before{content:"\\f55f"}.fa-capsules:before{content:"\\f46b"}.fa-car:before{content:"\\f1b9"}.fa-car-alt:before{content:"\\f5de"}.fa-car-battery:before{content:"\\f5df"}.fa-car-crash:before{content:"\\f5e1"}.fa-car-side:before{content:"\\f5e4"}.fa-caravan:before{content:"\\f8ff"}.fa-caret-down:before{content:"\\f0d7"}.fa-caret-left:before{content:"\\f0d9"}.fa-caret-right:before{content:"\\f0da"}.fa-caret-square-down:before{content:"\\f150"}.fa-caret-square-left:before{content:"\\f191"}.fa-caret-square-right:before{content:"\\f152"}.fa-caret-square-up:before{content:"\\f151"}.fa-caret-up:before{content:"\\f0d8"}.fa-carrot:before{content:"\\f787"}.fa-cart-arrow-down:before{content:"\\f218"}.fa-cart-plus:before{content:"\\f217"}.fa-cash-register:before{content:"\\f788"}.fa-cat:before{content:"\\f6be"}.fa-cc-amazon-pay:before{content:"\\f42d"}.fa-cc-amex:before{content:"\\f1f3"}.fa-cc-apple-pay:before{content:"\\f416"}.fa-cc-diners-club:before{content:"\\f24c"}.fa-cc-discover:before{content:"\\f1f2"}.fa-cc-jcb:before{content:"\\f24b"}.fa-cc-mastercard:before{content:"\\f1f1"}.fa-cc-paypal:before{content:"\\f1f4"}.fa-cc-stripe:before{content:"\\f1f5"}.fa-cc-visa:before{content:"\\f1f0"}.fa-centercode:before{content:"\\f380"}.fa-centos:before{content:"\\f789"}.fa-certificate:before{content:"\\f0a3"}.fa-chair:before{content:"\\f6c0"}.fa-chalkboard:before{content:"\\f51b"}.fa-chalkboard-teacher:before{content:"\\f51c"}.fa-charging-station:before{content:"\\f5e7"}.fa-chart-area:before{content:"\\f1fe"}.fa-chart-bar:before{content:"\\f080"}.fa-chart-line:before{content:"\\f201"}.fa-chart-pie:before{content:"\\f200"}.fa-check:before{content:"\\f00c"}.fa-check-circle:before{content:"\\f058"}.fa-check-double:before{content:"\\f560"}.fa-check-square:before{content:"\\f14a"}.fa-cheese:before{content:"\\f7ef"}.fa-chess:before{content:"\\f439"}.fa-chess-bishop:before{content:"\\f43a"}.fa-chess-board:before{content:"\\f43c"}.fa-chess-king:before{content:"\\f43f"}.fa-chess-knight:before{content:"\\f441"}.fa-chess-pawn:before{content:"\\f443"}.fa-chess-queen:before{content:"\\f445"}.fa-chess-rook:before{content:"\\f447"}.fa-chevron-circle-down:before{content:"\\f13a"}.fa-chevron-circle-left:before{content:"\\f137"}.fa-chevron-circle-right:before{content:"\\f138"}.fa-chevron-circle-up:before{content:"\\f139"}.fa-chevron-down:before{content:"\\f078"}.fa-chevron-left:before{content:"\\f053"}.fa-chevron-right:before{content:"\\f054"}.fa-chevron-up:before{content:"\\f077"}.fa-child:before{content:"\\f1ae"}.fa-chrome:before{content:"\\f268"}.fa-chromecast:before{content:"\\f838"}.fa-church:before{content:"\\f51d"}.fa-circle:before{content:"\\f111"}.fa-circle-notch:before{content:"\\f1ce"}.fa-city:before{content:"\\f64f"}.fa-clinic-medical:before{content:"\\f7f2"}.fa-clipboard:before{content:"\\f328"}.fa-clipboard-check:before{content:"\\f46c"}.fa-clipboard-list:before{content:"\\f46d"}.fa-clock:before{content:"\\f017"}.fa-clone:before{content:"\\f24d"}.fa-closed-captioning:before{content:"\\f20a"}.fa-cloud:before{content:"\\f0c2"}.fa-cloud-download-alt:before{content:"\\f381"}.fa-cloud-meatball:before{content:"\\f73b"}.fa-cloud-moon:before{content:"\\f6c3"}.fa-cloud-moon-rain:before{content:"\\f73c"}.fa-cloud-rain:before{content:"\\f73d"}.fa-cloud-showers-heavy:before{content:"\\f740"}.fa-cloud-sun:before{content:"\\f6c4"}.fa-cloud-sun-rain:before{content:"\\f743"}.fa-cloud-upload-alt:before{content:"\\f382"}.fa-cloudflare:before{content:"\\e07d"}.fa-cloudscale:before{content:"\\f383"}.fa-cloudsmith:before{content:"\\f384"}.fa-cloudversify:before{content:"\\f385"}.fa-cocktail:before{content:"\\f561"}.fa-code:before{content:"\\f121"}.fa-code-branch:before{content:"\\f126"}.fa-codepen:before{content:"\\f1cb"}.fa-codiepie:before{content:"\\f284"}.fa-coffee:before{content:"\\f0f4"}.fa-cog:before{content:"\\f013"}.fa-cogs:before{content:"\\f085"}.fa-coins:before{content:"\\f51e"}.fa-columns:before{content:"\\f0db"}.fa-comment:before{content:"\\f075"}.fa-comment-alt:before{content:"\\f27a"}.fa-comment-dollar:before{content:"\\f651"}.fa-comment-dots:before{content:"\\f4ad"}.fa-comment-medical:before{content:"\\f7f5"}.fa-comment-slash:before{content:"\\f4b3"}.fa-comments:before{content:"\\f086"}.fa-comments-dollar:before{content:"\\f653"}.fa-compact-disc:before{content:"\\f51f"}.fa-compass:before{content:"\\f14e"}.fa-compress:before{content:"\\f066"}.fa-compress-alt:before{content:"\\f422"}.fa-compress-arrows-alt:before{content:"\\f78c"}.fa-concierge-bell:before{content:"\\f562"}.fa-confluence:before{content:"\\f78d"}.fa-connectdevelop:before{content:"\\f20e"}.fa-contao:before{content:"\\f26d"}.fa-cookie:before{content:"\\f563"}.fa-cookie-bite:before{content:"\\f564"}.fa-copy:before{content:"\\f0c5"}.fa-copyright:before{content:"\\f1f9"}.fa-cotton-bureau:before{content:"\\f89e"}.fa-couch:before{content:"\\f4b8"}.fa-cpanel:before{content:"\\f388"}.fa-creative-commons:before{content:"\\f25e"}.fa-creative-commons-by:before{content:"\\f4e7"}.fa-creative-commons-nc:before{content:"\\f4e8"}.fa-creative-commons-nc-eu:before{content:"\\f4e9"}.fa-creative-commons-nc-jp:before{content:"\\f4ea"}.fa-creative-commons-nd:before{content:"\\f4eb"}.fa-creative-commons-pd:before{content:"\\f4ec"}.fa-creative-commons-pd-alt:before{content:"\\f4ed"}.fa-creative-commons-remix:before{content:"\\f4ee"}.fa-creative-commons-sa:before{content:"\\f4ef"}.fa-creative-commons-sampling:before{content:"\\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\\f4f1"}.fa-creative-commons-share:before{content:"\\f4f2"}.fa-creative-commons-zero:before{content:"\\f4f3"}.fa-credit-card:before{content:"\\f09d"}.fa-critical-role:before{content:"\\f6c9"}.fa-crop:before{content:"\\f125"}.fa-crop-alt:before{content:"\\f565"}.fa-cross:before{content:"\\f654"}.fa-crosshairs:before{content:"\\f05b"}.fa-crow:before{content:"\\f520"}.fa-crown:before{content:"\\f521"}.fa-crutch:before{content:"\\f7f7"}.fa-css3:before{content:"\\f13c"}.fa-css3-alt:before{content:"\\f38b"}.fa-cube:before{content:"\\f1b2"}.fa-cubes:before{content:"\\f1b3"}.fa-cut:before{content:"\\f0c4"}.fa-cuttlefish:before{content:"\\f38c"}.fa-d-and-d:before{content:"\\f38d"}.fa-d-and-d-beyond:before{content:"\\f6ca"}.fa-dailymotion:before{content:"\\e052"}.fa-dashcube:before{content:"\\f210"}.fa-database:before{content:"\\f1c0"}.fa-deaf:before{content:"\\f2a4"}.fa-deezer:before{content:"\\e077"}.fa-delicious:before{content:"\\f1a5"}.fa-democrat:before{content:"\\f747"}.fa-deploydog:before{content:"\\f38e"}.fa-deskpro:before{content:"\\f38f"}.fa-desktop:before{content:"\\f108"}.fa-dev:before{content:"\\f6cc"}.fa-deviantart:before{content:"\\f1bd"}.fa-dharmachakra:before{content:"\\f655"}.fa-dhl:before{content:"\\f790"}.fa-diagnoses:before{content:"\\f470"}.fa-diaspora:before{content:"\\f791"}.fa-dice:before{content:"\\f522"}.fa-dice-d20:before{content:"\\f6cf"}.fa-dice-d6:before{content:"\\f6d1"}.fa-dice-five:before{content:"\\f523"}.fa-dice-four:before{content:"\\f524"}.fa-dice-one:before{content:"\\f525"}.fa-dice-six:before{content:"\\f526"}.fa-dice-three:before{content:"\\f527"}.fa-dice-two:before{content:"\\f528"}.fa-digg:before{content:"\\f1a6"}.fa-digital-ocean:before{content:"\\f391"}.fa-digital-tachograph:before{content:"\\f566"}.fa-directions:before{content:"\\f5eb"}.fa-discord:before{content:"\\f392"}.fa-discourse:before{content:"\\f393"}.fa-disease:before{content:"\\f7fa"}.fa-divide:before{content:"\\f529"}.fa-dizzy:before{content:"\\f567"}.fa-dna:before{content:"\\f471"}.fa-dochub:before{content:"\\f394"}.fa-docker:before{content:"\\f395"}.fa-dog:before{content:"\\f6d3"}.fa-dollar-sign:before{content:"\\f155"}.fa-dolly:before{content:"\\f472"}.fa-dolly-flatbed:before{content:"\\f474"}.fa-donate:before{content:"\\f4b9"}.fa-door-closed:before{content:"\\f52a"}.fa-door-open:before{content:"\\f52b"}.fa-dot-circle:before{content:"\\f192"}.fa-dove:before{content:"\\f4ba"}.fa-download:before{content:"\\f019"}.fa-draft2digital:before{content:"\\f396"}.fa-drafting-compass:before{content:"\\f568"}.fa-dragon:before{content:"\\f6d5"}.fa-draw-polygon:before{content:"\\f5ee"}.fa-dribbble:before{content:"\\f17d"}.fa-dribbble-square:before{content:"\\f397"}.fa-dropbox:before{content:"\\f16b"}.fa-drum:before{content:"\\f569"}.fa-drum-steelpan:before{content:"\\f56a"}.fa-drumstick-bite:before{content:"\\f6d7"}.fa-drupal:before{content:"\\f1a9"}.fa-dumbbell:before{content:"\\f44b"}.fa-dumpster:before{content:"\\f793"}.fa-dumpster-fire:before{content:"\\f794"}.fa-dungeon:before{content:"\\f6d9"}.fa-dyalog:before{content:"\\f399"}.fa-earlybirds:before{content:"\\f39a"}.fa-ebay:before{content:"\\f4f4"}.fa-edge:before{content:"\\f282"}.fa-edge-legacy:before{content:"\\e078"}.fa-edit:before{content:"\\f044"}.fa-egg:before{content:"\\f7fb"}.fa-eject:before{content:"\\f052"}.fa-elementor:before{content:"\\f430"}.fa-ellipsis-h:before{content:"\\f141"}.fa-ellipsis-v:before{content:"\\f142"}.fa-ello:before{content:"\\f5f1"}.fa-ember:before{content:"\\f423"}.fa-empire:before{content:"\\f1d1"}.fa-envelope:before{content:"\\f0e0"}.fa-envelope-open:before{content:"\\f2b6"}.fa-envelope-open-text:before{content:"\\f658"}.fa-envelope-square:before{content:"\\f199"}.fa-envira:before{content:"\\f299"}.fa-equals:before{content:"\\f52c"}.fa-eraser:before{content:"\\f12d"}.fa-erlang:before{content:"\\f39d"}.fa-ethereum:before{content:"\\f42e"}.fa-ethernet:before{content:"\\f796"}.fa-etsy:before{content:"\\f2d7"}.fa-euro-sign:before{content:"\\f153"}.fa-evernote:before{content:"\\f839"}.fa-exchange-alt:before{content:"\\f362"}.fa-exclamation:before{content:"\\f12a"}.fa-exclamation-circle:before{content:"\\f06a"}.fa-exclamation-triangle:before{content:"\\f071"}.fa-expand:before{content:"\\f065"}.fa-expand-alt:before{content:"\\f424"}.fa-expand-arrows-alt:before{content:"\\f31e"}.fa-expeditedssl:before{content:"\\f23e"}.fa-external-link-alt:before{content:"\\f35d"}.fa-external-link-square-alt:before{content:"\\f360"}.fa-eye:before{content:"\\f06e"}.fa-eye-dropper:before{content:"\\f1fb"}.fa-eye-slash:before{content:"\\f070"}.fa-facebook:before{content:"\\f09a"}.fa-facebook-f:before{content:"\\f39e"}.fa-facebook-messenger:before{content:"\\f39f"}.fa-facebook-square:before{content:"\\f082"}.fa-fan:before{content:"\\f863"}.fa-fantasy-flight-games:before{content:"\\f6dc"}.fa-fast-backward:before{content:"\\f049"}.fa-fast-forward:before{content:"\\f050"}.fa-faucet:before{content:"\\e005"}.fa-fax:before{content:"\\f1ac"}.fa-feather:before{content:"\\f52d"}.fa-feather-alt:before{content:"\\f56b"}.fa-fedex:before{content:"\\f797"}.fa-fedora:before{content:"\\f798"}.fa-female:before{content:"\\f182"}.fa-fighter-jet:before{content:"\\f0fb"}.fa-figma:before{content:"\\f799"}.fa-file:before{content:"\\f15b"}.fa-file-alt:before{content:"\\f15c"}.fa-file-archive:before{content:"\\f1c6"}.fa-file-audio:before{content:"\\f1c7"}.fa-file-code:before{content:"\\f1c9"}.fa-file-contract:before{content:"\\f56c"}.fa-file-csv:before{content:"\\f6dd"}.fa-file-download:before{content:"\\f56d"}.fa-file-excel:before{content:"\\f1c3"}.fa-file-export:before{content:"\\f56e"}.fa-file-image:before{content:"\\f1c5"}.fa-file-import:before{content:"\\f56f"}.fa-file-invoice:before{content:"\\f570"}.fa-file-invoice-dollar:before{content:"\\f571"}.fa-file-medical:before{content:"\\f477"}.fa-file-medical-alt:before{content:"\\f478"}.fa-file-pdf:before{content:"\\f1c1"}.fa-file-powerpoint:before{content:"\\f1c4"}.fa-file-prescription:before{content:"\\f572"}.fa-file-signature:before{content:"\\f573"}.fa-file-upload:before{content:"\\f574"}.fa-file-video:before{content:"\\f1c8"}.fa-file-word:before{content:"\\f1c2"}.fa-fill:before{content:"\\f575"}.fa-fill-drip:before{content:"\\f576"}.fa-film:before{content:"\\f008"}.fa-filter:before{content:"\\f0b0"}.fa-fingerprint:before{content:"\\f577"}.fa-fire:before{content:"\\f06d"}.fa-fire-alt:before{content:"\\f7e4"}.fa-fire-extinguisher:before{content:"\\f134"}.fa-firefox:before{content:"\\f269"}.fa-firefox-browser:before{content:"\\e007"}.fa-first-aid:before{content:"\\f479"}.fa-first-order:before{content:"\\f2b0"}.fa-first-order-alt:before{content:"\\f50a"}.fa-firstdraft:before{content:"\\f3a1"}.fa-fish:before{content:"\\f578"}.fa-fist-raised:before{content:"\\f6de"}.fa-flag:before{content:"\\f024"}.fa-flag-checkered:before{content:"\\f11e"}.fa-flag-usa:before{content:"\\f74d"}.fa-flask:before{content:"\\f0c3"}.fa-flickr:before{content:"\\f16e"}.fa-flipboard:before{content:"\\f44d"}.fa-flushed:before{content:"\\f579"}.fa-fly:before{content:"\\f417"}.fa-folder:before{content:"\\f07b"}.fa-folder-minus:before{content:"\\f65d"}.fa-folder-open:before{content:"\\f07c"}.fa-folder-plus:before{content:"\\f65e"}.fa-font:before{content:"\\f031"}.fa-font-awesome:before{content:"\\f2b4"}.fa-font-awesome-alt:before{content:"\\f35c"}.fa-font-awesome-flag:before{content:"\\f425"}.fa-font-awesome-logo-full:before{content:"\\f4e6"}.fa-fonticons:before{content:"\\f280"}.fa-fonticons-fi:before{content:"\\f3a2"}.fa-football-ball:before{content:"\\f44e"}.fa-fort-awesome:before{content:"\\f286"}.fa-fort-awesome-alt:before{content:"\\f3a3"}.fa-forumbee:before{content:"\\f211"}.fa-forward:before{content:"\\f04e"}.fa-foursquare:before{content:"\\f180"}.fa-free-code-camp:before{content:"\\f2c5"}.fa-freebsd:before{content:"\\f3a4"}.fa-frog:before{content:"\\f52e"}.fa-frown:before{content:"\\f119"}.fa-frown-open:before{content:"\\f57a"}.fa-fulcrum:before{content:"\\f50b"}.fa-funnel-dollar:before{content:"\\f662"}.fa-futbol:before{content:"\\f1e3"}.fa-galactic-republic:before{content:"\\f50c"}.fa-galactic-senate:before{content:"\\f50d"}.fa-gamepad:before{content:"\\f11b"}.fa-gas-pump:before{content:"\\f52f"}.fa-gavel:before{content:"\\f0e3"}.fa-gem:before{content:"\\f3a5"}.fa-genderless:before{content:"\\f22d"}.fa-get-pocket:before{content:"\\f265"}.fa-gg:before{content:"\\f260"}.fa-gg-circle:before{content:"\\f261"}.fa-ghost:before{content:"\\f6e2"}.fa-gift:before{content:"\\f06b"}.fa-gifts:before{content:"\\f79c"}.fa-git:before{content:"\\f1d3"}.fa-git-alt:before{content:"\\f841"}.fa-git-square:before{content:"\\f1d2"}.fa-github:before{content:"\\f09b"}.fa-github-alt:before{content:"\\f113"}.fa-github-square:before{content:"\\f092"}.fa-gitkraken:before{content:"\\f3a6"}.fa-gitlab:before{content:"\\f296"}.fa-gitter:before{content:"\\f426"}.fa-glass-cheers:before{content:"\\f79f"}.fa-glass-martini:before{content:"\\f000"}.fa-glass-martini-alt:before{content:"\\f57b"}.fa-glass-whiskey:before{content:"\\f7a0"}.fa-glasses:before{content:"\\f530"}.fa-glide:before{content:"\\f2a5"}.fa-glide-g:before{content:"\\f2a6"}.fa-globe:before{content:"\\f0ac"}.fa-globe-africa:before{content:"\\f57c"}.fa-globe-americas:before{content:"\\f57d"}.fa-globe-asia:before{content:"\\f57e"}.fa-globe-europe:before{content:"\\f7a2"}.fa-gofore:before{content:"\\f3a7"}.fa-golf-ball:before{content:"\\f450"}.fa-goodreads:before{content:"\\f3a8"}.fa-goodreads-g:before{content:"\\f3a9"}.fa-google:before{content:"\\f1a0"}.fa-google-drive:before{content:"\\f3aa"}.fa-google-pay:before{content:"\\e079"}.fa-google-play:before{content:"\\f3ab"}.fa-google-plus:before{content:"\\f2b3"}.fa-google-plus-g:before{content:"\\f0d5"}.fa-google-plus-square:before{content:"\\f0d4"}.fa-google-wallet:before{content:"\\f1ee"}.fa-gopuram:before{content:"\\f664"}.fa-graduation-cap:before{content:"\\f19d"}.fa-gratipay:before{content:"\\f184"}.fa-grav:before{content:"\\f2d6"}.fa-greater-than:before{content:"\\f531"}.fa-greater-than-equal:before{content:"\\f532"}.fa-grimace:before{content:"\\f57f"}.fa-grin:before{content:"\\f580"}.fa-grin-alt:before{content:"\\f581"}.fa-grin-beam:before{content:"\\f582"}.fa-grin-beam-sweat:before{content:"\\f583"}.fa-grin-hearts:before{content:"\\f584"}.fa-grin-squint:before{content:"\\f585"}.fa-grin-squint-tears:before{content:"\\f586"}.fa-grin-stars:before{content:"\\f587"}.fa-grin-tears:before{content:"\\f588"}.fa-grin-tongue:before{content:"\\f589"}.fa-grin-tongue-squint:before{content:"\\f58a"}.fa-grin-tongue-wink:before{content:"\\f58b"}.fa-grin-wink:before{content:"\\f58c"}.fa-grip-horizontal:before{content:"\\f58d"}.fa-grip-lines:before{content:"\\f7a4"}.fa-grip-lines-vertical:before{content:"\\f7a5"}.fa-grip-vertical:before{content:"\\f58e"}.fa-gripfire:before{content:"\\f3ac"}.fa-grunt:before{content:"\\f3ad"}.fa-guilded:before{content:"\\e07e"}.fa-guitar:before{content:"\\f7a6"}.fa-gulp:before{content:"\\f3ae"}.fa-h-square:before{content:"\\f0fd"}.fa-hacker-news:before{content:"\\f1d4"}.fa-hacker-news-square:before{content:"\\f3af"}.fa-hackerrank:before{content:"\\f5f7"}.fa-hamburger:before{content:"\\f805"}.fa-hammer:before{content:"\\f6e3"}.fa-hamsa:before{content:"\\f665"}.fa-hand-holding:before{content:"\\f4bd"}.fa-hand-holding-heart:before{content:"\\f4be"}.fa-hand-holding-medical:before{content:"\\e05c"}.fa-hand-holding-usd:before{content:"\\f4c0"}.fa-hand-holding-water:before{content:"\\f4c1"}.fa-hand-lizard:before{content:"\\f258"}.fa-hand-middle-finger:before{content:"\\f806"}.fa-hand-paper:before{content:"\\f256"}.fa-hand-peace:before{content:"\\f25b"}.fa-hand-point-down:before{content:"\\f0a7"}.fa-hand-point-left:before{content:"\\f0a5"}.fa-hand-point-right:before{content:"\\f0a4"}.fa-hand-point-up:before{content:"\\f0a6"}.fa-hand-pointer:before{content:"\\f25a"}.fa-hand-rock:before{content:"\\f255"}.fa-hand-scissors:before{content:"\\f257"}.fa-hand-sparkles:before{content:"\\e05d"}.fa-hand-spock:before{content:"\\f259"}.fa-hands:before{content:"\\f4c2"}.fa-hands-helping:before{content:"\\f4c4"}.fa-hands-wash:before{content:"\\e05e"}.fa-handshake:before{content:"\\f2b5"}.fa-handshake-alt-slash:before{content:"\\e05f"}.fa-handshake-slash:before{content:"\\e060"}.fa-hanukiah:before{content:"\\f6e6"}.fa-hard-hat:before{content:"\\f807"}.fa-hashtag:before{content:"\\f292"}.fa-hat-cowboy:before{content:"\\f8c0"}.fa-hat-cowboy-side:before{content:"\\f8c1"}.fa-hat-wizard:before{content:"\\f6e8"}.fa-hdd:before{content:"\\f0a0"}.fa-head-side-cough:before{content:"\\e061"}.fa-head-side-cough-slash:before{content:"\\e062"}.fa-head-side-mask:before{content:"\\e063"}.fa-head-side-virus:before{content:"\\e064"}.fa-heading:before{content:"\\f1dc"}.fa-headphones:before{content:"\\f025"}.fa-headphones-alt:before{content:"\\f58f"}.fa-headset:before{content:"\\f590"}.fa-heart:before{content:"\\f004"}.fa-heart-broken:before{content:"\\f7a9"}.fa-heartbeat:before{content:"\\f21e"}.fa-helicopter:before{content:"\\f533"}.fa-highlighter:before{content:"\\f591"}.fa-hiking:before{content:"\\f6ec"}.fa-hippo:before{content:"\\f6ed"}.fa-hips:before{content:"\\f452"}.fa-hire-a-helper:before{content:"\\f3b0"}.fa-history:before{content:"\\f1da"}.fa-hive:before{content:"\\e07f"}.fa-hockey-puck:before{content:"\\f453"}.fa-holly-berry:before{content:"\\f7aa"}.fa-home:before{content:"\\f015"}.fa-hooli:before{content:"\\f427"}.fa-hornbill:before{content:"\\f592"}.fa-horse:before{content:"\\f6f0"}.fa-horse-head:before{content:"\\f7ab"}.fa-hospital:before{content:"\\f0f8"}.fa-hospital-alt:before{content:"\\f47d"}.fa-hospital-symbol:before{content:"\\f47e"}.fa-hospital-user:before{content:"\\f80d"}.fa-hot-tub:before{content:"\\f593"}.fa-hotdog:before{content:"\\f80f"}.fa-hotel:before{content:"\\f594"}.fa-hotjar:before{content:"\\f3b1"}.fa-hourglass:before{content:"\\f254"}.fa-hourglass-end:before{content:"\\f253"}.fa-hourglass-half:before{content:"\\f252"}.fa-hourglass-start:before{content:"\\f251"}.fa-house-damage:before{content:"\\f6f1"}.fa-house-user:before{content:"\\e065"}.fa-houzz:before{content:"\\f27c"}.fa-hryvnia:before{content:"\\f6f2"}.fa-html5:before{content:"\\f13b"}.fa-hubspot:before{content:"\\f3b2"}.fa-i-cursor:before{content:"\\f246"}.fa-ice-cream:before{content:"\\f810"}.fa-icicles:before{content:"\\f7ad"}.fa-icons:before{content:"\\f86d"}.fa-id-badge:before{content:"\\f2c1"}.fa-id-card:before{content:"\\f2c2"}.fa-id-card-alt:before{content:"\\f47f"}.fa-ideal:before{content:"\\e013"}.fa-igloo:before{content:"\\f7ae"}.fa-image:before{content:"\\f03e"}.fa-images:before{content:"\\f302"}.fa-imdb:before{content:"\\f2d8"}.fa-inbox:before{content:"\\f01c"}.fa-indent:before{content:"\\f03c"}.fa-industry:before{content:"\\f275"}.fa-infinity:before{content:"\\f534"}.fa-info:before{content:"\\f129"}.fa-info-circle:before{content:"\\f05a"}.fa-innosoft:before{content:"\\e080"}.fa-instagram:before{content:"\\f16d"}.fa-instagram-square:before{content:"\\e055"}.fa-instalod:before{content:"\\e081"}.fa-intercom:before{content:"\\f7af"}.fa-internet-explorer:before{content:"\\f26b"}.fa-invision:before{content:"\\f7b0"}.fa-ioxhost:before{content:"\\f208"}.fa-italic:before{content:"\\f033"}.fa-itch-io:before{content:"\\f83a"}.fa-itunes:before{content:"\\f3b4"}.fa-itunes-note:before{content:"\\f3b5"}.fa-java:before{content:"\\f4e4"}.fa-jedi:before{content:"\\f669"}.fa-jedi-order:before{content:"\\f50e"}.fa-jenkins:before{content:"\\f3b6"}.fa-jira:before{content:"\\f7b1"}.fa-joget:before{content:"\\f3b7"}.fa-joint:before{content:"\\f595"}.fa-joomla:before{content:"\\f1aa"}.fa-journal-whills:before{content:"\\f66a"}.fa-js:before{content:"\\f3b8"}.fa-js-square:before{content:"\\f3b9"}.fa-jsfiddle:before{content:"\\f1cc"}.fa-kaaba:before{content:"\\f66b"}.fa-kaggle:before{content:"\\f5fa"}.fa-key:before{content:"\\f084"}.fa-keybase:before{content:"\\f4f5"}.fa-keyboard:before{content:"\\f11c"}.fa-keycdn:before{content:"\\f3ba"}.fa-khanda:before{content:"\\f66d"}.fa-kickstarter:before{content:"\\f3bb"}.fa-kickstarter-k:before{content:"\\f3bc"}.fa-kiss:before{content:"\\f596"}.fa-kiss-beam:before{content:"\\f597"}.fa-kiss-wink-heart:before{content:"\\f598"}.fa-kiwi-bird:before{content:"\\f535"}.fa-korvue:before{content:"\\f42f"}.fa-landmark:before{content:"\\f66f"}.fa-language:before{content:"\\f1ab"}.fa-laptop:before{content:"\\f109"}.fa-laptop-code:before{content:"\\f5fc"}.fa-laptop-house:before{content:"\\e066"}.fa-laptop-medical:before{content:"\\f812"}.fa-laravel:before{content:"\\f3bd"}.fa-lastfm:before{content:"\\f202"}.fa-lastfm-square:before{content:"\\f203"}.fa-laugh:before{content:"\\f599"}.fa-laugh-beam:before{content:"\\f59a"}.fa-laugh-squint:before{content:"\\f59b"}.fa-laugh-wink:before{content:"\\f59c"}.fa-layer-group:before{content:"\\f5fd"}.fa-leaf:before{content:"\\f06c"}.fa-leanpub:before{content:"\\f212"}.fa-lemon:before{content:"\\f094"}.fa-less:before{content:"\\f41d"}.fa-less-than:before{content:"\\f536"}.fa-less-than-equal:before{content:"\\f537"}.fa-level-down-alt:before{content:"\\f3be"}.fa-level-up-alt:before{content:"\\f3bf"}.fa-life-ring:before{content:"\\f1cd"}.fa-lightbulb:before{content:"\\f0eb"}.fa-line:before{content:"\\f3c0"}.fa-link:before{content:"\\f0c1"}.fa-linkedin:before{content:"\\f08c"}.fa-linkedin-in:before{content:"\\f0e1"}.fa-linode:before{content:"\\f2b8"}.fa-linux:before{content:"\\f17c"}.fa-lira-sign:before{content:"\\f195"}.fa-list:before{content:"\\f03a"}.fa-list-alt:before{content:"\\f022"}.fa-list-ol:before{content:"\\f0cb"}.fa-list-ul:before{content:"\\f0ca"}.fa-location-arrow:before{content:"\\f124"}.fa-lock:before{content:"\\f023"}.fa-lock-open:before{content:"\\f3c1"}.fa-long-arrow-alt-down:before{content:"\\f309"}.fa-long-arrow-alt-left:before{content:"\\f30a"}.fa-long-arrow-alt-right:before{content:"\\f30b"}.fa-long-arrow-alt-up:before{content:"\\f30c"}.fa-low-vision:before{content:"\\f2a8"}.fa-luggage-cart:before{content:"\\f59d"}.fa-lungs:before{content:"\\f604"}.fa-lungs-virus:before{content:"\\e067"}.fa-lyft:before{content:"\\f3c3"}.fa-magento:before{content:"\\f3c4"}.fa-magic:before{content:"\\f0d0"}.fa-magnet:before{content:"\\f076"}.fa-mail-bulk:before{content:"\\f674"}.fa-mailchimp:before{content:"\\f59e"}.fa-male:before{content:"\\f183"}.fa-mandalorian:before{content:"\\f50f"}.fa-map:before{content:"\\f279"}.fa-map-marked:before{content:"\\f59f"}.fa-map-marked-alt:before{content:"\\f5a0"}.fa-map-marker:before{content:"\\f041"}.fa-map-marker-alt:before{content:"\\f3c5"}.fa-map-pin:before{content:"\\f276"}.fa-map-signs:before{content:"\\f277"}.fa-markdown:before{content:"\\f60f"}.fa-marker:before{content:"\\f5a1"}.fa-mars:before{content:"\\f222"}.fa-mars-double:before{content:"\\f227"}.fa-mars-stroke:before{content:"\\f229"}.fa-mars-stroke-h:before{content:"\\f22b"}.fa-mars-stroke-v:before{content:"\\f22a"}.fa-mask:before{content:"\\f6fa"}.fa-mastodon:before{content:"\\f4f6"}.fa-maxcdn:before{content:"\\f136"}.fa-mdb:before{content:"\\f8ca"}.fa-medal:before{content:"\\f5a2"}.fa-medapps:before{content:"\\f3c6"}.fa-medium:before{content:"\\f23a"}.fa-medium-m:before{content:"\\f3c7"}.fa-medkit:before{content:"\\f0fa"}.fa-medrt:before{content:"\\f3c8"}.fa-meetup:before{content:"\\f2e0"}.fa-megaport:before{content:"\\f5a3"}.fa-meh:before{content:"\\f11a"}.fa-meh-blank:before{content:"\\f5a4"}.fa-meh-rolling-eyes:before{content:"\\f5a5"}.fa-memory:before{content:"\\f538"}.fa-mendeley:before{content:"\\f7b3"}.fa-menorah:before{content:"\\f676"}.fa-mercury:before{content:"\\f223"}.fa-meteor:before{content:"\\f753"}.fa-microblog:before{content:"\\e01a"}.fa-microchip:before{content:"\\f2db"}.fa-microphone:before{content:"\\f130"}.fa-microphone-alt:before{content:"\\f3c9"}.fa-microphone-alt-slash:before{content:"\\f539"}.fa-microphone-slash:before{content:"\\f131"}.fa-microscope:before{content:"\\f610"}.fa-microsoft:before{content:"\\f3ca"}.fa-minus:before{content:"\\f068"}.fa-minus-circle:before{content:"\\f056"}.fa-minus-square:before{content:"\\f146"}.fa-mitten:before{content:"\\f7b5"}.fa-mix:before{content:"\\f3cb"}.fa-mixcloud:before{content:"\\f289"}.fa-mixer:before{content:"\\e056"}.fa-mizuni:before{content:"\\f3cc"}.fa-mobile:before{content:"\\f10b"}.fa-mobile-alt:before{content:"\\f3cd"}.fa-modx:before{content:"\\f285"}.fa-monero:before{content:"\\f3d0"}.fa-money-bill:before{content:"\\f0d6"}.fa-money-bill-alt:before{content:"\\f3d1"}.fa-money-bill-wave:before{content:"\\f53a"}.fa-money-bill-wave-alt:before{content:"\\f53b"}.fa-money-check:before{content:"\\f53c"}.fa-money-check-alt:before{content:"\\f53d"}.fa-monument:before{content:"\\f5a6"}.fa-moon:before{content:"\\f186"}.fa-mortar-pestle:before{content:"\\f5a7"}.fa-mosque:before{content:"\\f678"}.fa-motorcycle:before{content:"\\f21c"}.fa-mountain:before{content:"\\f6fc"}.fa-mouse:before{content:"\\f8cc"}.fa-mouse-pointer:before{content:"\\f245"}.fa-mug-hot:before{content:"\\f7b6"}.fa-music:before{content:"\\f001"}.fa-napster:before{content:"\\f3d2"}.fa-neos:before{content:"\\f612"}.fa-network-wired:before{content:"\\f6ff"}.fa-neuter:before{content:"\\f22c"}.fa-newspaper:before{content:"\\f1ea"}.fa-nimblr:before{content:"\\f5a8"}.fa-node:before{content:"\\f419"}.fa-node-js:before{content:"\\f3d3"}.fa-not-equal:before{content:"\\f53e"}.fa-notes-medical:before{content:"\\f481"}.fa-npm:before{content:"\\f3d4"}.fa-ns8:before{content:"\\f3d5"}.fa-nutritionix:before{content:"\\f3d6"}.fa-object-group:before{content:"\\f247"}.fa-object-ungroup:before{content:"\\f248"}.fa-octopus-deploy:before{content:"\\e082"}.fa-odnoklassniki:before{content:"\\f263"}.fa-odnoklassniki-square:before{content:"\\f264"}.fa-oil-can:before{content:"\\f613"}.fa-old-republic:before{content:"\\f510"}.fa-om:before{content:"\\f679"}.fa-opencart:before{content:"\\f23d"}.fa-openid:before{content:"\\f19b"}.fa-opera:before{content:"\\f26a"}.fa-optin-monster:before{content:"\\f23c"}.fa-orcid:before{content:"\\f8d2"}.fa-osi:before{content:"\\f41a"}.fa-otter:before{content:"\\f700"}.fa-outdent:before{content:"\\f03b"}.fa-page4:before{content:"\\f3d7"}.fa-pagelines:before{content:"\\f18c"}.fa-pager:before{content:"\\f815"}.fa-paint-brush:before{content:"\\f1fc"}.fa-paint-roller:before{content:"\\f5aa"}.fa-palette:before{content:"\\f53f"}.fa-palfed:before{content:"\\f3d8"}.fa-pallet:before{content:"\\f482"}.fa-paper-plane:before{content:"\\f1d8"}.fa-paperclip:before{content:"\\f0c6"}.fa-parachute-box:before{content:"\\f4cd"}.fa-paragraph:before{content:"\\f1dd"}.fa-parking:before{content:"\\f540"}.fa-passport:before{content:"\\f5ab"}.fa-pastafarianism:before{content:"\\f67b"}.fa-paste:before{content:"\\f0ea"}.fa-patreon:before{content:"\\f3d9"}.fa-pause:before{content:"\\f04c"}.fa-pause-circle:before{content:"\\f28b"}.fa-paw:before{content:"\\f1b0"}.fa-paypal:before{content:"\\f1ed"}.fa-peace:before{content:"\\f67c"}.fa-pen:before{content:"\\f304"}.fa-pen-alt:before{content:"\\f305"}.fa-pen-fancy:before{content:"\\f5ac"}.fa-pen-nib:before{content:"\\f5ad"}.fa-pen-square:before{content:"\\f14b"}.fa-pencil-alt:before{content:"\\f303"}.fa-pencil-ruler:before{content:"\\f5ae"}.fa-penny-arcade:before{content:"\\f704"}.fa-people-arrows:before{content:"\\e068"}.fa-people-carry:before{content:"\\f4ce"}.fa-pepper-hot:before{content:"\\f816"}.fa-perbyte:before{content:"\\e083"}.fa-percent:before{content:"\\f295"}.fa-percentage:before{content:"\\f541"}.fa-periscope:before{content:"\\f3da"}.fa-person-booth:before{content:"\\f756"}.fa-phabricator:before{content:"\\f3db"}.fa-phoenix-framework:before{content:"\\f3dc"}.fa-phoenix-squadron:before{content:"\\f511"}.fa-phone:before{content:"\\f095"}.fa-phone-alt:before{content:"\\f879"}.fa-phone-slash:before{content:"\\f3dd"}.fa-phone-square:before{content:"\\f098"}.fa-phone-square-alt:before{content:"\\f87b"}.fa-phone-volume:before{content:"\\f2a0"}.fa-photo-video:before{content:"\\f87c"}.fa-php:before{content:"\\f457"}.fa-pied-piper:before{content:"\\f2ae"}.fa-pied-piper-alt:before{content:"\\f1a8"}.fa-pied-piper-hat:before{content:"\\f4e5"}.fa-pied-piper-pp:before{content:"\\f1a7"}.fa-pied-piper-square:before{content:"\\e01e"}.fa-piggy-bank:before{content:"\\f4d3"}.fa-pills:before{content:"\\f484"}.fa-pinterest:before{content:"\\f0d2"}.fa-pinterest-p:before{content:"\\f231"}.fa-pinterest-square:before{content:"\\f0d3"}.fa-pizza-slice:before{content:"\\f818"}.fa-place-of-worship:before{content:"\\f67f"}.fa-plane:before{content:"\\f072"}.fa-plane-arrival:before{content:"\\f5af"}.fa-plane-departure:before{content:"\\f5b0"}.fa-plane-slash:before{content:"\\e069"}.fa-play:before{content:"\\f04b"}.fa-play-circle:before{content:"\\f144"}.fa-playstation:before{content:"\\f3df"}.fa-plug:before{content:"\\f1e6"}.fa-plus:before{content:"\\f067"}.fa-plus-circle:before{content:"\\f055"}.fa-plus-square:before{content:"\\f0fe"}.fa-podcast:before{content:"\\f2ce"}.fa-poll:before{content:"\\f681"}.fa-poll-h:before{content:"\\f682"}.fa-poo:before{content:"\\f2fe"}.fa-poo-storm:before{content:"\\f75a"}.fa-poop:before{content:"\\f619"}.fa-portrait:before{content:"\\f3e0"}.fa-pound-sign:before{content:"\\f154"}.fa-power-off:before{content:"\\f011"}.fa-pray:before{content:"\\f683"}.fa-praying-hands:before{content:"\\f684"}.fa-prescription:before{content:"\\f5b1"}.fa-prescription-bottle:before{content:"\\f485"}.fa-prescription-bottle-alt:before{content:"\\f486"}.fa-print:before{content:"\\f02f"}.fa-procedures:before{content:"\\f487"}.fa-product-hunt:before{content:"\\f288"}.fa-project-diagram:before{content:"\\f542"}.fa-pump-medical:before{content:"\\e06a"}.fa-pump-soap:before{content:"\\e06b"}.fa-pushed:before{content:"\\f3e1"}.fa-puzzle-piece:before{content:"\\f12e"}.fa-python:before{content:"\\f3e2"}.fa-qq:before{content:"\\f1d6"}.fa-qrcode:before{content:"\\f029"}.fa-question:before{content:"\\f128"}.fa-question-circle:before{content:"\\f059"}.fa-quidditch:before{content:"\\f458"}.fa-quinscape:before{content:"\\f459"}.fa-quora:before{content:"\\f2c4"}.fa-quote-left:before{content:"\\f10d"}.fa-quote-right:before{content:"\\f10e"}.fa-quran:before{content:"\\f687"}.fa-r-project:before{content:"\\f4f7"}.fa-radiation:before{content:"\\f7b9"}.fa-radiation-alt:before{content:"\\f7ba"}.fa-rainbow:before{content:"\\f75b"}.fa-random:before{content:"\\f074"}.fa-raspberry-pi:before{content:"\\f7bb"}.fa-ravelry:before{content:"\\f2d9"}.fa-react:before{content:"\\f41b"}.fa-reacteurope:before{content:"\\f75d"}.fa-readme:before{content:"\\f4d5"}.fa-rebel:before{content:"\\f1d0"}.fa-receipt:before{content:"\\f543"}.fa-record-vinyl:before{content:"\\f8d9"}.fa-recycle:before{content:"\\f1b8"}.fa-red-river:before{content:"\\f3e3"}.fa-reddit:before{content:"\\f1a1"}.fa-reddit-alien:before{content:"\\f281"}.fa-reddit-square:before{content:"\\f1a2"}.fa-redhat:before{content:"\\f7bc"}.fa-redo:before{content:"\\f01e"}.fa-redo-alt:before{content:"\\f2f9"}.fa-registered:before{content:"\\f25d"}.fa-remove-format:before{content:"\\f87d"}.fa-renren:before{content:"\\f18b"}.fa-reply:before{content:"\\f3e5"}.fa-reply-all:before{content:"\\f122"}.fa-replyd:before{content:"\\f3e6"}.fa-republican:before{content:"\\f75e"}.fa-researchgate:before{content:"\\f4f8"}.fa-resolving:before{content:"\\f3e7"}.fa-restroom:before{content:"\\f7bd"}.fa-retweet:before{content:"\\f079"}.fa-rev:before{content:"\\f5b2"}.fa-ribbon:before{content:"\\f4d6"}.fa-ring:before{content:"\\f70b"}.fa-road:before{content:"\\f018"}.fa-robot:before{content:"\\f544"}.fa-rocket:before{content:"\\f135"}.fa-rocketchat:before{content:"\\f3e8"}.fa-rockrms:before{content:"\\f3e9"}.fa-route:before{content:"\\f4d7"}.fa-rss:before{content:"\\f09e"}.fa-rss-square:before{content:"\\f143"}.fa-ruble-sign:before{content:"\\f158"}.fa-ruler:before{content:"\\f545"}.fa-ruler-combined:before{content:"\\f546"}.fa-ruler-horizontal:before{content:"\\f547"}.fa-ruler-vertical:before{content:"\\f548"}.fa-running:before{content:"\\f70c"}.fa-rupee-sign:before{content:"\\f156"}.fa-rust:before{content:"\\e07a"}.fa-sad-cry:before{content:"\\f5b3"}.fa-sad-tear:before{content:"\\f5b4"}.fa-safari:before{content:"\\f267"}.fa-salesforce:before{content:"\\f83b"}.fa-sass:before{content:"\\f41e"}.fa-satellite:before{content:"\\f7bf"}.fa-satellite-dish:before{content:"\\f7c0"}.fa-save:before{content:"\\f0c7"}.fa-schlix:before{content:"\\f3ea"}.fa-school:before{content:"\\f549"}.fa-screwdriver:before{content:"\\f54a"}.fa-scribd:before{content:"\\f28a"}.fa-scroll:before{content:"\\f70e"}.fa-sd-card:before{content:"\\f7c2"}.fa-search:before{content:"\\f002"}.fa-search-dollar:before{content:"\\f688"}.fa-search-location:before{content:"\\f689"}.fa-search-minus:before{content:"\\f010"}.fa-search-plus:before{content:"\\f00e"}.fa-searchengin:before{content:"\\f3eb"}.fa-seedling:before{content:"\\f4d8"}.fa-sellcast:before{content:"\\f2da"}.fa-sellsy:before{content:"\\f213"}.fa-server:before{content:"\\f233"}.fa-servicestack:before{content:"\\f3ec"}.fa-shapes:before{content:"\\f61f"}.fa-share:before{content:"\\f064"}.fa-share-alt:before{content:"\\f1e0"}.fa-share-alt-square:before{content:"\\f1e1"}.fa-share-square:before{content:"\\f14d"}.fa-shekel-sign:before{content:"\\f20b"}.fa-shield-alt:before{content:"\\f3ed"}.fa-shield-virus:before{content:"\\e06c"}.fa-ship:before{content:"\\f21a"}.fa-shipping-fast:before{content:"\\f48b"}.fa-shirtsinbulk:before{content:"\\f214"}.fa-shoe-prints:before{content:"\\f54b"}.fa-shopify:before{content:"\\e057"}.fa-shopping-bag:before{content:"\\f290"}.fa-shopping-basket:before{content:"\\f291"}.fa-shopping-cart:before{content:"\\f07a"}.fa-shopware:before{content:"\\f5b5"}.fa-shower:before{content:"\\f2cc"}.fa-shuttle-van:before{content:"\\f5b6"}.fa-sign:before{content:"\\f4d9"}.fa-sign-in-alt:before{content:"\\f2f6"}.fa-sign-language:before{content:"\\f2a7"}.fa-sign-out-alt:before{content:"\\f2f5"}.fa-signal:before{content:"\\f012"}.fa-signature:before{content:"\\f5b7"}.fa-sim-card:before{content:"\\f7c4"}.fa-simplybuilt:before{content:"\\f215"}.fa-sink:before{content:"\\e06d"}.fa-sistrix:before{content:"\\f3ee"}.fa-sitemap:before{content:"\\f0e8"}.fa-sith:before{content:"\\f512"}.fa-skating:before{content:"\\f7c5"}.fa-sketch:before{content:"\\f7c6"}.fa-skiing:before{content:"\\f7c9"}.fa-skiing-nordic:before{content:"\\f7ca"}.fa-skull:before{content:"\\f54c"}.fa-skull-crossbones:before{content:"\\f714"}.fa-skyatlas:before{content:"\\f216"}.fa-skype:before{content:"\\f17e"}.fa-slack:before{content:"\\f198"}.fa-slack-hash:before{content:"\\f3ef"}.fa-slash:before{content:"\\f715"}.fa-sleigh:before{content:"\\f7cc"}.fa-sliders-h:before{content:"\\f1de"}.fa-slideshare:before{content:"\\f1e7"}.fa-smile:before{content:"\\f118"}.fa-smile-beam:before{content:"\\f5b8"}.fa-smile-wink:before{content:"\\f4da"}.fa-smog:before{content:"\\f75f"}.fa-smoking:before{content:"\\f48d"}.fa-smoking-ban:before{content:"\\f54d"}.fa-sms:before{content:"\\f7cd"}.fa-snapchat:before{content:"\\f2ab"}.fa-snapchat-ghost:before{content:"\\f2ac"}.fa-snapchat-square:before{content:"\\f2ad"}.fa-snowboarding:before{content:"\\f7ce"}.fa-snowflake:before{content:"\\f2dc"}.fa-snowman:before{content:"\\f7d0"}.fa-snowplow:before{content:"\\f7d2"}.fa-soap:before{content:"\\e06e"}.fa-socks:before{content:"\\f696"}.fa-solar-panel:before{content:"\\f5ba"}.fa-sort:before{content:"\\f0dc"}.fa-sort-alpha-down:before{content:"\\f15d"}.fa-sort-alpha-down-alt:before{content:"\\f881"}.fa-sort-alpha-up:before{content:"\\f15e"}.fa-sort-alpha-up-alt:before{content:"\\f882"}.fa-sort-amount-down:before{content:"\\f160"}.fa-sort-amount-down-alt:before{content:"\\f884"}.fa-sort-amount-up:before{content:"\\f161"}.fa-sort-amount-up-alt:before{content:"\\f885"}.fa-sort-down:before{content:"\\f0dd"}.fa-sort-numeric-down:before{content:"\\f162"}.fa-sort-numeric-down-alt:before{content:"\\f886"}.fa-sort-numeric-up:before{content:"\\f163"}.fa-sort-numeric-up-alt:before{content:"\\f887"}.fa-sort-up:before{content:"\\f0de"}.fa-soundcloud:before{content:"\\f1be"}.fa-sourcetree:before{content:"\\f7d3"}.fa-spa:before{content:"\\f5bb"}.fa-space-shuttle:before{content:"\\f197"}.fa-speakap:before{content:"\\f3f3"}.fa-speaker-deck:before{content:"\\f83c"}.fa-spell-check:before{content:"\\f891"}.fa-spider:before{content:"\\f717"}.fa-spinner:before{content:"\\f110"}.fa-splotch:before{content:"\\f5bc"}.fa-spotify:before{content:"\\f1bc"}.fa-spray-can:before{content:"\\f5bd"}.fa-square:before{content:"\\f0c8"}.fa-square-full:before{content:"\\f45c"}.fa-square-root-alt:before{content:"\\f698"}.fa-squarespace:before{content:"\\f5be"}.fa-stack-exchange:before{content:"\\f18d"}.fa-stack-overflow:before{content:"\\f16c"}.fa-stackpath:before{content:"\\f842"}.fa-stamp:before{content:"\\f5bf"}.fa-star:before{content:"\\f005"}.fa-star-and-crescent:before{content:"\\f699"}.fa-star-half:before{content:"\\f089"}.fa-star-half-alt:before{content:"\\f5c0"}.fa-star-of-david:before{content:"\\f69a"}.fa-star-of-life:before{content:"\\f621"}.fa-staylinked:before{content:"\\f3f5"}.fa-steam:before{content:"\\f1b6"}.fa-steam-square:before{content:"\\f1b7"}.fa-steam-symbol:before{content:"\\f3f6"}.fa-step-backward:before{content:"\\f048"}.fa-step-forward:before{content:"\\f051"}.fa-stethoscope:before{content:"\\f0f1"}.fa-sticker-mule:before{content:"\\f3f7"}.fa-sticky-note:before{content:"\\f249"}.fa-stop:before{content:"\\f04d"}.fa-stop-circle:before{content:"\\f28d"}.fa-stopwatch:before{content:"\\f2f2"}.fa-stopwatch-20:before{content:"\\e06f"}.fa-store:before{content:"\\f54e"}.fa-store-alt:before{content:"\\f54f"}.fa-store-alt-slash:before{content:"\\e070"}.fa-store-slash:before{content:"\\e071"}.fa-strava:before{content:"\\f428"}.fa-stream:before{content:"\\f550"}.fa-street-view:before{content:"\\f21d"}.fa-strikethrough:before{content:"\\f0cc"}.fa-stripe:before{content:"\\f429"}.fa-stripe-s:before{content:"\\f42a"}.fa-stroopwafel:before{content:"\\f551"}.fa-studiovinari:before{content:"\\f3f8"}.fa-stumbleupon:before{content:"\\f1a4"}.fa-stumbleupon-circle:before{content:"\\f1a3"}.fa-subscript:before{content:"\\f12c"}.fa-subway:before{content:"\\f239"}.fa-suitcase:before{content:"\\f0f2"}.fa-suitcase-rolling:before{content:"\\f5c1"}.fa-sun:before{content:"\\f185"}.fa-superpowers:before{content:"\\f2dd"}.fa-superscript:before{content:"\\f12b"}.fa-supple:before{content:"\\f3f9"}.fa-surprise:before{content:"\\f5c2"}.fa-suse:before{content:"\\f7d6"}.fa-swatchbook:before{content:"\\f5c3"}.fa-swift:before{content:"\\f8e1"}.fa-swimmer:before{content:"\\f5c4"}.fa-swimming-pool:before{content:"\\f5c5"}.fa-symfony:before{content:"\\f83d"}.fa-synagogue:before{content:"\\f69b"}.fa-sync:before{content:"\\f021"}.fa-sync-alt:before{content:"\\f2f1"}.fa-syringe:before{content:"\\f48e"}.fa-table:before{content:"\\f0ce"}.fa-table-tennis:before{content:"\\f45d"}.fa-tablet:before{content:"\\f10a"}.fa-tablet-alt:before{content:"\\f3fa"}.fa-tablets:before{content:"\\f490"}.fa-tachometer-alt:before{content:"\\f3fd"}.fa-tag:before{content:"\\f02b"}.fa-tags:before{content:"\\f02c"}.fa-tape:before{content:"\\f4db"}.fa-tasks:before{content:"\\f0ae"}.fa-taxi:before{content:"\\f1ba"}.fa-teamspeak:before{content:"\\f4f9"}.fa-teeth:before{content:"\\f62e"}.fa-teeth-open:before{content:"\\f62f"}.fa-telegram:before{content:"\\f2c6"}.fa-telegram-plane:before{content:"\\f3fe"}.fa-temperature-high:before{content:"\\f769"}.fa-temperature-low:before{content:"\\f76b"}.fa-tencent-weibo:before{content:"\\f1d5"}.fa-tenge:before{content:"\\f7d7"}.fa-terminal:before{content:"\\f120"}.fa-text-height:before{content:"\\f034"}.fa-text-width:before{content:"\\f035"}.fa-th:before{content:"\\f00a"}.fa-th-large:before{content:"\\f009"}.fa-th-list:before{content:"\\f00b"}.fa-the-red-yeti:before{content:"\\f69d"}.fa-theater-masks:before{content:"\\f630"}.fa-themeco:before{content:"\\f5c6"}.fa-themeisle:before{content:"\\f2b2"}.fa-thermometer:before{content:"\\f491"}.fa-thermometer-empty:before{content:"\\f2cb"}.fa-thermometer-full:before{content:"\\f2c7"}.fa-thermometer-half:before{content:"\\f2c9"}.fa-thermometer-quarter:before{content:"\\f2ca"}.fa-thermometer-three-quarters:before{content:"\\f2c8"}.fa-think-peaks:before{content:"\\f731"}.fa-thumbs-down:before{content:"\\f165"}.fa-thumbs-up:before{content:"\\f164"}.fa-thumbtack:before{content:"\\f08d"}.fa-ticket-alt:before{content:"\\f3ff"}.fa-tiktok:before{content:"\\e07b"}.fa-times:before{content:"\\f00d"}.fa-times-circle:before{content:"\\f057"}.fa-tint:before{content:"\\f043"}.fa-tint-slash:before{content:"\\f5c7"}.fa-tired:before{content:"\\f5c8"}.fa-toggle-off:before{content:"\\f204"}.fa-toggle-on:before{content:"\\f205"}.fa-toilet:before{content:"\\f7d8"}.fa-toilet-paper:before{content:"\\f71e"}.fa-toilet-paper-slash:before{content:"\\e072"}.fa-toolbox:before{content:"\\f552"}.fa-tools:before{content:"\\f7d9"}.fa-tooth:before{content:"\\f5c9"}.fa-torah:before{content:"\\f6a0"}.fa-torii-gate:before{content:"\\f6a1"}.fa-tractor:before{content:"\\f722"}.fa-trade-federation:before{content:"\\f513"}.fa-trademark:before{content:"\\f25c"}.fa-traffic-light:before{content:"\\f637"}.fa-trailer:before{content:"\\e041"}.fa-train:before{content:"\\f238"}.fa-tram:before{content:"\\f7da"}.fa-transgender:before{content:"\\f224"}.fa-transgender-alt:before{content:"\\f225"}.fa-trash:before{content:"\\f1f8"}.fa-trash-alt:before{content:"\\f2ed"}.fa-trash-restore:before{content:"\\f829"}.fa-trash-restore-alt:before{content:"\\f82a"}.fa-tree:before{content:"\\f1bb"}.fa-trello:before{content:"\\f181"}.fa-trophy:before{content:"\\f091"}.fa-truck:before{content:"\\f0d1"}.fa-truck-loading:before{content:"\\f4de"}.fa-truck-monster:before{content:"\\f63b"}.fa-truck-moving:before{content:"\\f4df"}.fa-truck-pickup:before{content:"\\f63c"}.fa-tshirt:before{content:"\\f553"}.fa-tty:before{content:"\\f1e4"}.fa-tumblr:before{content:"\\f173"}.fa-tumblr-square:before{content:"\\f174"}.fa-tv:before{content:"\\f26c"}.fa-twitch:before{content:"\\f1e8"}.fa-twitter:before{content:"\\f099"}.fa-twitter-square:before{content:"\\f081"}.fa-typo3:before{content:"\\f42b"}.fa-uber:before{content:"\\f402"}.fa-ubuntu:before{content:"\\f7df"}.fa-uikit:before{content:"\\f403"}.fa-umbraco:before{content:"\\f8e8"}.fa-umbrella:before{content:"\\f0e9"}.fa-umbrella-beach:before{content:"\\f5ca"}.fa-uncharted:before{content:"\\e084"}.fa-underline:before{content:"\\f0cd"}.fa-undo:before{content:"\\f0e2"}.fa-undo-alt:before{content:"\\f2ea"}.fa-uniregistry:before{content:"\\f404"}.fa-unity:before{content:"\\e049"}.fa-universal-access:before{content:"\\f29a"}.fa-university:before{content:"\\f19c"}.fa-unlink:before{content:"\\f127"}.fa-unlock:before{content:"\\f09c"}.fa-unlock-alt:before{content:"\\f13e"}.fa-unsplash:before{content:"\\e07c"}.fa-untappd:before{content:"\\f405"}.fa-upload:before{content:"\\f093"}.fa-ups:before{content:"\\f7e0"}.fa-usb:before{content:"\\f287"}.fa-user:before{content:"\\f007"}.fa-user-alt:before{content:"\\f406"}.fa-user-alt-slash:before{content:"\\f4fa"}.fa-user-astronaut:before{content:"\\f4fb"}.fa-user-check:before{content:"\\f4fc"}.fa-user-circle:before{content:"\\f2bd"}.fa-user-clock:before{content:"\\f4fd"}.fa-user-cog:before{content:"\\f4fe"}.fa-user-edit:before{content:"\\f4ff"}.fa-user-friends:before{content:"\\f500"}.fa-user-graduate:before{content:"\\f501"}.fa-user-injured:before{content:"\\f728"}.fa-user-lock:before{content:"\\f502"}.fa-user-md:before{content:"\\f0f0"}.fa-user-minus:before{content:"\\f503"}.fa-user-ninja:before{content:"\\f504"}.fa-user-nurse:before{content:"\\f82f"}.fa-user-plus:before{content:"\\f234"}.fa-user-secret:before{content:"\\f21b"}.fa-user-shield:before{content:"\\f505"}.fa-user-slash:before{content:"\\f506"}.fa-user-tag:before{content:"\\f507"}.fa-user-tie:before{content:"\\f508"}.fa-user-times:before{content:"\\f235"}.fa-users:before{content:"\\f0c0"}.fa-users-cog:before{content:"\\f509"}.fa-users-slash:before{content:"\\e073"}.fa-usps:before{content:"\\f7e1"}.fa-ussunnah:before{content:"\\f407"}.fa-utensil-spoon:before{content:"\\f2e5"}.fa-utensils:before{content:"\\f2e7"}.fa-vaadin:before{content:"\\f408"}.fa-vector-square:before{content:"\\f5cb"}.fa-venus:before{content:"\\f221"}.fa-venus-double:before{content:"\\f226"}.fa-venus-mars:before{content:"\\f228"}.fa-vest:before{content:"\\e085"}.fa-vest-patches:before{content:"\\e086"}.fa-viacoin:before{content:"\\f237"}.fa-viadeo:before{content:"\\f2a9"}.fa-viadeo-square:before{content:"\\f2aa"}.fa-vial:before{content:"\\f492"}.fa-vials:before{content:"\\f493"}.fa-viber:before{content:"\\f409"}.fa-video:before{content:"\\f03d"}.fa-video-slash:before{content:"\\f4e2"}.fa-vihara:before{content:"\\f6a7"}.fa-vimeo:before{content:"\\f40a"}.fa-vimeo-square:before{content:"\\f194"}.fa-vimeo-v:before{content:"\\f27d"}.fa-vine:before{content:"\\f1ca"}.fa-virus:before{content:"\\e074"}.fa-virus-slash:before{content:"\\e075"}.fa-viruses:before{content:"\\e076"}.fa-vk:before{content:"\\f189"}.fa-vnv:before{content:"\\f40b"}.fa-voicemail:before{content:"\\f897"}.fa-volleyball-ball:before{content:"\\f45f"}.fa-volume-down:before{content:"\\f027"}.fa-volume-mute:before{content:"\\f6a9"}.fa-volume-off:before{content:"\\f026"}.fa-volume-up:before{content:"\\f028"}.fa-vote-yea:before{content:"\\f772"}.fa-vr-cardboard:before{content:"\\f729"}.fa-vuejs:before{content:"\\f41f"}.fa-walking:before{content:"\\f554"}.fa-wallet:before{content:"\\f555"}.fa-warehouse:before{content:"\\f494"}.fa-watchman-monitoring:before{content:"\\e087"}.fa-water:before{content:"\\f773"}.fa-wave-square:before{content:"\\f83e"}.fa-waze:before{content:"\\f83f"}.fa-weebly:before{content:"\\f5cc"}.fa-weibo:before{content:"\\f18a"}.fa-weight:before{content:"\\f496"}.fa-weight-hanging:before{content:"\\f5cd"}.fa-weixin:before{content:"\\f1d7"}.fa-whatsapp:before{content:"\\f232"}.fa-whatsapp-square:before{content:"\\f40c"}.fa-wheelchair:before{content:"\\f193"}.fa-whmcs:before{content:"\\f40d"}.fa-wifi:before{content:"\\f1eb"}.fa-wikipedia-w:before{content:"\\f266"}.fa-wind:before{content:"\\f72e"}.fa-window-close:before{content:"\\f410"}.fa-window-maximize:before{content:"\\f2d0"}.fa-window-minimize:before{content:"\\f2d1"}.fa-window-restore:before{content:"\\f2d2"}.fa-windows:before{content:"\\f17a"}.fa-wine-bottle:before{content:"\\f72f"}.fa-wine-glass:before{content:"\\f4e3"}.fa-wine-glass-alt:before{content:"\\f5ce"}.fa-wix:before{content:"\\f5cf"}.fa-wizards-of-the-coast:before{content:"\\f730"}.fa-wodu:before{content:"\\e088"}.fa-wolf-pack-battalion:before{content:"\\f514"}.fa-won-sign:before{content:"\\f159"}.fa-wordpress:before{content:"\\f19a"}.fa-wordpress-simple:before{content:"\\f411"}.fa-wpbeginner:before{content:"\\f297"}.fa-wpexplorer:before{content:"\\f2de"}.fa-wpforms:before{content:"\\f298"}.fa-wpressr:before{content:"\\f3e4"}.fa-wrench:before{content:"\\f0ad"}.fa-x-ray:before{content:"\\f497"}.fa-xbox:before{content:"\\f412"}.fa-xing:before{content:"\\f168"}.fa-xing-square:before{content:"\\f169"}.fa-y-combinator:before{content:"\\f23b"}.fa-yahoo:before{content:"\\f19e"}.fa-yammer:before{content:"\\f840"}.fa-yandex:before{content:"\\f413"}.fa-yandex-international:before{content:"\\f414"}.fa-yarn:before{content:"\\f7e3"}.fa-yelp:before{content:"\\f1e9"}.fa-yen-sign:before{content:"\\f157"}.fa-yin-yang:before{content:"\\f6ad"}.fa-yoast:before{content:"\\f2b1"}.fa-youtube:before{content:"\\f167"}.fa-youtube-square:before{content:"\\f431"}.fa-zhihu:before{content:"\\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(${E});src:url(${x}) format("embedded-opentype"),url(${k}) format("woff2"),url(${T}) format("woff"),url(${j}) format("truetype"),url(${D}) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(${S});src:url(${I}) format("embedded-opentype"),url(${M}) format("woff2"),url(${P}) format("woff"),url(${R}) format("truetype"),url(${O}) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(${L});src:url(${N}) format("embedded-opentype"),url(${z}) format("woff2"),url(${F}) format("woff"),url(${q}) format("truetype"),url(${U}) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}`,"",{version:3,sources:["webpack://./../../node_modules/@fortawesome/fontawesome-free/css/all.min.css"],names:[],mappings:"AAAA;;;EAGE;AACF,6BAA6B,iCAAiC,CAAC,kCAAkC,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,aAAa,CAAC,OAAO,mBAAmB,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,OAAO,eAAe,CAAC,OAAO,gBAAgB,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,QAAQ,cAAc,CAAC,OAAO,iBAAiB,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,iBAAiB,CAAC,cAAc,CAAC,UAAU,iBAAiB,CAAC,OAAO,SAAS,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,SAAS,CAAC,mBAAmB,CAAC,WAAW,uBAAuB,CAAC,kBAAkB,CAAC,wBAAwB,CAAC,cAAc,UAAU,CAAC,eAAe,WAAW,CAAC,yFAAyF,iBAAiB,CAAC,8FAA8F,gBAAgB,CAAC,SAAS,4CAA4C,CAAC,oCAAoC,CAAC,UAAU,8CAA8C,CAAC,sCAAsC,CAAC,2BAA2B,GAAG,8BAA8B,CAAC,sBAAsB,CAAC,GAAG,+BAA+B,CAAC,uBAAuB,CAAC,CAAC,mBAAmB,GAAG,8BAA8B,CAAC,sBAAsB,CAAC,GAAG,+BAA+B,CAAC,uBAAuB,CAAC,CAAC,cAAc,qEAAqE,CAAC,+BAA+B,CAAC,uBAAuB,CAAC,eAAe,qEAAqE,CAAC,gCAAgC,CAAC,wBAAwB,CAAC,eAAe,qEAAqE,CAAC,gCAAgC,CAAC,wBAAwB,CAAC,oBAAoB,+EAA+E,CAAC,4BAA4B,CAAC,oBAAoB,CAAC,kBAAkB,4BAA4B,CAAC,oBAAoB,CAAC,qEAAqE,+EAA+E,CAAC,mDAAmD,2BAA2B,CAAC,mBAAmB,CAAC,oIAAoI,mBAAmB,CAAC,WAAW,CAAC,UAAU,oBAAoB,CAAC,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,WAAW,CAAC,0BAA0B,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,UAAU,CAAC,aAAa,mBAAmB,CAAC,aAAa,aAAa,CAAC,YAAY,UAAU,CAAC,iBAAiB,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,qCAAqC,eAAe,CAAC,cAAc,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,+CAA+C,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,6BAA6B,eAAe,CAAC,6BAA6B,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iCAAiC,eAAe,CAAC,iCAAiC,eAAe,CAAC,kCAAkC,eAAe,CAAC,+BAA+B,eAAe,CAAC,6BAA6B,eAAe,CAAC,6BAA6B,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uCAAuC,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,cAAc,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,6BAA6B,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,8BAA8B,eAAe,CAAC,+BAA+B,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,2BAA2B,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,kCAAkC,eAAe,CAAC,sBAAsB,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,gBAAgB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,6BAA6B,eAAe,CAAC,2BAA2B,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,4BAA4B,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,yBAAyB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,+BAA+B,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,6BAA6B,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,eAAe,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,8BAA8B,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,gCAAgC,eAAe,CAAC,6BAA6B,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,gBAAgB,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,6BAA6B,eAAe,CAAC,iBAAiB,eAAe,CAAC,8BAA8B,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,+BAA+B,eAAe,CAAC,qBAAqB,eAAe,CAAC,0BAA0B,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,0BAA0B,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,+BAA+B,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,4BAA4B,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,kCAAkC,eAAe,CAAC,kCAAkC,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,mCAAmC,eAAe,CAAC,kCAAkC,eAAe,CAAC,+BAA+B,eAAe,CAAC,qCAAqC,eAAe,CAAC,0CAA0C,eAAe,CAAC,kCAAkC,eAAe,CAAC,iCAAiC,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,eAAe,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,4BAA4B,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,eAAe,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,gCAAgC,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,6BAA6B,eAAe,CAAC,wBAAwB,eAAe,CAAC,6BAA6B,eAAe,CAAC,oCAAoC,eAAe,CAAC,eAAe,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,eAAe,eAAe,CAAC,gCAAgC,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,+BAA+B,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,6BAA6B,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,6BAA6B,eAAe,CAAC,mBAAmB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,eAAe,CAAC,6BAA6B,eAAe,CAAC,kCAAkC,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,6BAA6B,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,cAAc,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,6BAA6B,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,8BAA8B,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,wBAAwB,eAAe,CAAC,8BAA8B,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,4BAA4B,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,+BAA+B,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,8BAA8B,eAAe,CAAC,gCAAgC,eAAe,CAAC,4BAA4B,eAAe,CAAC,8BAA8B,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,2BAA2B,eAAe,CAAC,2BAA2B,eAAe,CAAC,4BAA4B,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,+BAA+B,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,eAAe,eAAe,CAAC,2BAA2B,eAAe,CAAC,iCAAiC,eAAe,CAAC,0BAA0B,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,0BAA0B,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,6BAA6B,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,0BAA0B,eAAe,CAAC,cAAc,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,0BAA0B,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,gCAAgC,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,eAAe,eAAe,CAAC,qBAAqB,eAAe,CAAC,4BAA4B,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,gCAAgC,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,2BAA2B,eAAe,CAAC,+BAA+B,eAAe,CAAC,uBAAuB,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,eAAe,eAAe,CAAC,eAAe,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,gCAAgC,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,cAAc,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,4BAA4B,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,4BAA4B,eAAe,CAAC,uBAAuB,eAAe,CAAC,4BAA4B,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,+BAA+B,eAAe,CAAC,mCAAmC,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,cAAc,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,0BAA0B,eAAe,CAAC,4BAA4B,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,0BAA0B,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,4BAA4B,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,2BAA2B,eAAe,CAAC,+BAA+B,eAAe,CAAC,yBAAyB,eAAe,CAAC,6BAA6B,eAAe,CAAC,4BAA4B,eAAe,CAAC,gCAAgC,eAAe,CAAC,0BAA0B,eAAe,CAAC,8BAA8B,eAAe,CAAC,qBAAqB,eAAe,CAAC,6BAA6B,eAAe,CAAC,iCAAiC,eAAe,CAAC,2BAA2B,eAAe,CAAC,+BAA+B,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,eAAe,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,6BAA6B,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,4BAA4B,eAAe,CAAC,eAAe,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,4BAA4B,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,cAAc,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,4BAA4B,eAAe,CAAC,4BAA4B,eAAe,CAAC,+BAA+B,eAAe,CAAC,sCAAsC,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,gBAAgB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,8BAA8B,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,4BAA4B,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,2BAA2B,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,6BAA6B,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,cAAc,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,mBAAmB,eAAe,CAAC,cAAc,eAAe,CAAC,eAAe,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,+BAA+B,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,2BAA2B,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,eAAe,eAAe,CAAC,gCAAgC,eAAe,CAAC,gBAAgB,eAAe,CAAC,+BAA+B,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gCAAgC,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,eAAe,CAAC,SAAS,QAAQ,CAAC,kBAAkB,CAAC,UAAU,CAAC,WAAW,CAAC,eAAe,CAAC,SAAS,CAAC,iBAAiB,CAAC,SAAS,CAAC,mDAAmD,SAAS,CAAC,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,eAAe,CAAC,UAAU,CAAC,WAAW,mCAAmC,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,2CAAsC,CAAC,uSAAoS,CAAC,KAAK,mCAAmC,CAAC,WAAW,iCAAiC,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,2CAAuC,CAAC,ySAAyS,CAAC,UAAU,eAAe,CAAC,WAAW,iCAAiC,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,4CAAqC,CAAC,4SAA+R,CAAC,cAAc,iCAAiC,CAAC,SAAS,eAAe",sourcesContent:['/*!\n * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\\f26e"}.fa-accessible-icon:before{content:"\\f368"}.fa-accusoft:before{content:"\\f369"}.fa-acquisitions-incorporated:before{content:"\\f6af"}.fa-ad:before{content:"\\f641"}.fa-address-book:before{content:"\\f2b9"}.fa-address-card:before{content:"\\f2bb"}.fa-adjust:before{content:"\\f042"}.fa-adn:before{content:"\\f170"}.fa-adversal:before{content:"\\f36a"}.fa-affiliatetheme:before{content:"\\f36b"}.fa-air-freshener:before{content:"\\f5d0"}.fa-airbnb:before{content:"\\f834"}.fa-algolia:before{content:"\\f36c"}.fa-align-center:before{content:"\\f037"}.fa-align-justify:before{content:"\\f039"}.fa-align-left:before{content:"\\f036"}.fa-align-right:before{content:"\\f038"}.fa-alipay:before{content:"\\f642"}.fa-allergies:before{content:"\\f461"}.fa-amazon:before{content:"\\f270"}.fa-amazon-pay:before{content:"\\f42c"}.fa-ambulance:before{content:"\\f0f9"}.fa-american-sign-language-interpreting:before{content:"\\f2a3"}.fa-amilia:before{content:"\\f36d"}.fa-anchor:before{content:"\\f13d"}.fa-android:before{content:"\\f17b"}.fa-angellist:before{content:"\\f209"}.fa-angle-double-down:before{content:"\\f103"}.fa-angle-double-left:before{content:"\\f100"}.fa-angle-double-right:before{content:"\\f101"}.fa-angle-double-up:before{content:"\\f102"}.fa-angle-down:before{content:"\\f107"}.fa-angle-left:before{content:"\\f104"}.fa-angle-right:before{content:"\\f105"}.fa-angle-up:before{content:"\\f106"}.fa-angry:before{content:"\\f556"}.fa-angrycreative:before{content:"\\f36e"}.fa-angular:before{content:"\\f420"}.fa-ankh:before{content:"\\f644"}.fa-app-store:before{content:"\\f36f"}.fa-app-store-ios:before{content:"\\f370"}.fa-apper:before{content:"\\f371"}.fa-apple:before{content:"\\f179"}.fa-apple-alt:before{content:"\\f5d1"}.fa-apple-pay:before{content:"\\f415"}.fa-archive:before{content:"\\f187"}.fa-archway:before{content:"\\f557"}.fa-arrow-alt-circle-down:before{content:"\\f358"}.fa-arrow-alt-circle-left:before{content:"\\f359"}.fa-arrow-alt-circle-right:before{content:"\\f35a"}.fa-arrow-alt-circle-up:before{content:"\\f35b"}.fa-arrow-circle-down:before{content:"\\f0ab"}.fa-arrow-circle-left:before{content:"\\f0a8"}.fa-arrow-circle-right:before{content:"\\f0a9"}.fa-arrow-circle-up:before{content:"\\f0aa"}.fa-arrow-down:before{content:"\\f063"}.fa-arrow-left:before{content:"\\f060"}.fa-arrow-right:before{content:"\\f061"}.fa-arrow-up:before{content:"\\f062"}.fa-arrows-alt:before{content:"\\f0b2"}.fa-arrows-alt-h:before{content:"\\f337"}.fa-arrows-alt-v:before{content:"\\f338"}.fa-artstation:before{content:"\\f77a"}.fa-assistive-listening-systems:before{content:"\\f2a2"}.fa-asterisk:before{content:"\\f069"}.fa-asymmetrik:before{content:"\\f372"}.fa-at:before{content:"\\f1fa"}.fa-atlas:before{content:"\\f558"}.fa-atlassian:before{content:"\\f77b"}.fa-atom:before{content:"\\f5d2"}.fa-audible:before{content:"\\f373"}.fa-audio-description:before{content:"\\f29e"}.fa-autoprefixer:before{content:"\\f41c"}.fa-avianex:before{content:"\\f374"}.fa-aviato:before{content:"\\f421"}.fa-award:before{content:"\\f559"}.fa-aws:before{content:"\\f375"}.fa-baby:before{content:"\\f77c"}.fa-baby-carriage:before{content:"\\f77d"}.fa-backspace:before{content:"\\f55a"}.fa-backward:before{content:"\\f04a"}.fa-bacon:before{content:"\\f7e5"}.fa-bacteria:before{content:"\\e059"}.fa-bacterium:before{content:"\\e05a"}.fa-bahai:before{content:"\\f666"}.fa-balance-scale:before{content:"\\f24e"}.fa-balance-scale-left:before{content:"\\f515"}.fa-balance-scale-right:before{content:"\\f516"}.fa-ban:before{content:"\\f05e"}.fa-band-aid:before{content:"\\f462"}.fa-bandcamp:before{content:"\\f2d5"}.fa-barcode:before{content:"\\f02a"}.fa-bars:before{content:"\\f0c9"}.fa-baseball-ball:before{content:"\\f433"}.fa-basketball-ball:before{content:"\\f434"}.fa-bath:before{content:"\\f2cd"}.fa-battery-empty:before{content:"\\f244"}.fa-battery-full:before{content:"\\f240"}.fa-battery-half:before{content:"\\f242"}.fa-battery-quarter:before{content:"\\f243"}.fa-battery-three-quarters:before{content:"\\f241"}.fa-battle-net:before{content:"\\f835"}.fa-bed:before{content:"\\f236"}.fa-beer:before{content:"\\f0fc"}.fa-behance:before{content:"\\f1b4"}.fa-behance-square:before{content:"\\f1b5"}.fa-bell:before{content:"\\f0f3"}.fa-bell-slash:before{content:"\\f1f6"}.fa-bezier-curve:before{content:"\\f55b"}.fa-bible:before{content:"\\f647"}.fa-bicycle:before{content:"\\f206"}.fa-biking:before{content:"\\f84a"}.fa-bimobject:before{content:"\\f378"}.fa-binoculars:before{content:"\\f1e5"}.fa-biohazard:before{content:"\\f780"}.fa-birthday-cake:before{content:"\\f1fd"}.fa-bitbucket:before{content:"\\f171"}.fa-bitcoin:before{content:"\\f379"}.fa-bity:before{content:"\\f37a"}.fa-black-tie:before{content:"\\f27e"}.fa-blackberry:before{content:"\\f37b"}.fa-blender:before{content:"\\f517"}.fa-blender-phone:before{content:"\\f6b6"}.fa-blind:before{content:"\\f29d"}.fa-blog:before{content:"\\f781"}.fa-blogger:before{content:"\\f37c"}.fa-blogger-b:before{content:"\\f37d"}.fa-bluetooth:before{content:"\\f293"}.fa-bluetooth-b:before{content:"\\f294"}.fa-bold:before{content:"\\f032"}.fa-bolt:before{content:"\\f0e7"}.fa-bomb:before{content:"\\f1e2"}.fa-bone:before{content:"\\f5d7"}.fa-bong:before{content:"\\f55c"}.fa-book:before{content:"\\f02d"}.fa-book-dead:before{content:"\\f6b7"}.fa-book-medical:before{content:"\\f7e6"}.fa-book-open:before{content:"\\f518"}.fa-book-reader:before{content:"\\f5da"}.fa-bookmark:before{content:"\\f02e"}.fa-bootstrap:before{content:"\\f836"}.fa-border-all:before{content:"\\f84c"}.fa-border-none:before{content:"\\f850"}.fa-border-style:before{content:"\\f853"}.fa-bowling-ball:before{content:"\\f436"}.fa-box:before{content:"\\f466"}.fa-box-open:before{content:"\\f49e"}.fa-box-tissue:before{content:"\\e05b"}.fa-boxes:before{content:"\\f468"}.fa-braille:before{content:"\\f2a1"}.fa-brain:before{content:"\\f5dc"}.fa-bread-slice:before{content:"\\f7ec"}.fa-briefcase:before{content:"\\f0b1"}.fa-briefcase-medical:before{content:"\\f469"}.fa-broadcast-tower:before{content:"\\f519"}.fa-broom:before{content:"\\f51a"}.fa-brush:before{content:"\\f55d"}.fa-btc:before{content:"\\f15a"}.fa-buffer:before{content:"\\f837"}.fa-bug:before{content:"\\f188"}.fa-building:before{content:"\\f1ad"}.fa-bullhorn:before{content:"\\f0a1"}.fa-bullseye:before{content:"\\f140"}.fa-burn:before{content:"\\f46a"}.fa-buromobelexperte:before{content:"\\f37f"}.fa-bus:before{content:"\\f207"}.fa-bus-alt:before{content:"\\f55e"}.fa-business-time:before{content:"\\f64a"}.fa-buy-n-large:before{content:"\\f8a6"}.fa-buysellads:before{content:"\\f20d"}.fa-calculator:before{content:"\\f1ec"}.fa-calendar:before{content:"\\f133"}.fa-calendar-alt:before{content:"\\f073"}.fa-calendar-check:before{content:"\\f274"}.fa-calendar-day:before{content:"\\f783"}.fa-calendar-minus:before{content:"\\f272"}.fa-calendar-plus:before{content:"\\f271"}.fa-calendar-times:before{content:"\\f273"}.fa-calendar-week:before{content:"\\f784"}.fa-camera:before{content:"\\f030"}.fa-camera-retro:before{content:"\\f083"}.fa-campground:before{content:"\\f6bb"}.fa-canadian-maple-leaf:before{content:"\\f785"}.fa-candy-cane:before{content:"\\f786"}.fa-cannabis:before{content:"\\f55f"}.fa-capsules:before{content:"\\f46b"}.fa-car:before{content:"\\f1b9"}.fa-car-alt:before{content:"\\f5de"}.fa-car-battery:before{content:"\\f5df"}.fa-car-crash:before{content:"\\f5e1"}.fa-car-side:before{content:"\\f5e4"}.fa-caravan:before{content:"\\f8ff"}.fa-caret-down:before{content:"\\f0d7"}.fa-caret-left:before{content:"\\f0d9"}.fa-caret-right:before{content:"\\f0da"}.fa-caret-square-down:before{content:"\\f150"}.fa-caret-square-left:before{content:"\\f191"}.fa-caret-square-right:before{content:"\\f152"}.fa-caret-square-up:before{content:"\\f151"}.fa-caret-up:before{content:"\\f0d8"}.fa-carrot:before{content:"\\f787"}.fa-cart-arrow-down:before{content:"\\f218"}.fa-cart-plus:before{content:"\\f217"}.fa-cash-register:before{content:"\\f788"}.fa-cat:before{content:"\\f6be"}.fa-cc-amazon-pay:before{content:"\\f42d"}.fa-cc-amex:before{content:"\\f1f3"}.fa-cc-apple-pay:before{content:"\\f416"}.fa-cc-diners-club:before{content:"\\f24c"}.fa-cc-discover:before{content:"\\f1f2"}.fa-cc-jcb:before{content:"\\f24b"}.fa-cc-mastercard:before{content:"\\f1f1"}.fa-cc-paypal:before{content:"\\f1f4"}.fa-cc-stripe:before{content:"\\f1f5"}.fa-cc-visa:before{content:"\\f1f0"}.fa-centercode:before{content:"\\f380"}.fa-centos:before{content:"\\f789"}.fa-certificate:before{content:"\\f0a3"}.fa-chair:before{content:"\\f6c0"}.fa-chalkboard:before{content:"\\f51b"}.fa-chalkboard-teacher:before{content:"\\f51c"}.fa-charging-station:before{content:"\\f5e7"}.fa-chart-area:before{content:"\\f1fe"}.fa-chart-bar:before{content:"\\f080"}.fa-chart-line:before{content:"\\f201"}.fa-chart-pie:before{content:"\\f200"}.fa-check:before{content:"\\f00c"}.fa-check-circle:before{content:"\\f058"}.fa-check-double:before{content:"\\f560"}.fa-check-square:before{content:"\\f14a"}.fa-cheese:before{content:"\\f7ef"}.fa-chess:before{content:"\\f439"}.fa-chess-bishop:before{content:"\\f43a"}.fa-chess-board:before{content:"\\f43c"}.fa-chess-king:before{content:"\\f43f"}.fa-chess-knight:before{content:"\\f441"}.fa-chess-pawn:before{content:"\\f443"}.fa-chess-queen:before{content:"\\f445"}.fa-chess-rook:before{content:"\\f447"}.fa-chevron-circle-down:before{content:"\\f13a"}.fa-chevron-circle-left:before{content:"\\f137"}.fa-chevron-circle-right:before{content:"\\f138"}.fa-chevron-circle-up:before{content:"\\f139"}.fa-chevron-down:before{content:"\\f078"}.fa-chevron-left:before{content:"\\f053"}.fa-chevron-right:before{content:"\\f054"}.fa-chevron-up:before{content:"\\f077"}.fa-child:before{content:"\\f1ae"}.fa-chrome:before{content:"\\f268"}.fa-chromecast:before{content:"\\f838"}.fa-church:before{content:"\\f51d"}.fa-circle:before{content:"\\f111"}.fa-circle-notch:before{content:"\\f1ce"}.fa-city:before{content:"\\f64f"}.fa-clinic-medical:before{content:"\\f7f2"}.fa-clipboard:before{content:"\\f328"}.fa-clipboard-check:before{content:"\\f46c"}.fa-clipboard-list:before{content:"\\f46d"}.fa-clock:before{content:"\\f017"}.fa-clone:before{content:"\\f24d"}.fa-closed-captioning:before{content:"\\f20a"}.fa-cloud:before{content:"\\f0c2"}.fa-cloud-download-alt:before{content:"\\f381"}.fa-cloud-meatball:before{content:"\\f73b"}.fa-cloud-moon:before{content:"\\f6c3"}.fa-cloud-moon-rain:before{content:"\\f73c"}.fa-cloud-rain:before{content:"\\f73d"}.fa-cloud-showers-heavy:before{content:"\\f740"}.fa-cloud-sun:before{content:"\\f6c4"}.fa-cloud-sun-rain:before{content:"\\f743"}.fa-cloud-upload-alt:before{content:"\\f382"}.fa-cloudflare:before{content:"\\e07d"}.fa-cloudscale:before{content:"\\f383"}.fa-cloudsmith:before{content:"\\f384"}.fa-cloudversify:before{content:"\\f385"}.fa-cocktail:before{content:"\\f561"}.fa-code:before{content:"\\f121"}.fa-code-branch:before{content:"\\f126"}.fa-codepen:before{content:"\\f1cb"}.fa-codiepie:before{content:"\\f284"}.fa-coffee:before{content:"\\f0f4"}.fa-cog:before{content:"\\f013"}.fa-cogs:before{content:"\\f085"}.fa-coins:before{content:"\\f51e"}.fa-columns:before{content:"\\f0db"}.fa-comment:before{content:"\\f075"}.fa-comment-alt:before{content:"\\f27a"}.fa-comment-dollar:before{content:"\\f651"}.fa-comment-dots:before{content:"\\f4ad"}.fa-comment-medical:before{content:"\\f7f5"}.fa-comment-slash:before{content:"\\f4b3"}.fa-comments:before{content:"\\f086"}.fa-comments-dollar:before{content:"\\f653"}.fa-compact-disc:before{content:"\\f51f"}.fa-compass:before{content:"\\f14e"}.fa-compress:before{content:"\\f066"}.fa-compress-alt:before{content:"\\f422"}.fa-compress-arrows-alt:before{content:"\\f78c"}.fa-concierge-bell:before{content:"\\f562"}.fa-confluence:before{content:"\\f78d"}.fa-connectdevelop:before{content:"\\f20e"}.fa-contao:before{content:"\\f26d"}.fa-cookie:before{content:"\\f563"}.fa-cookie-bite:before{content:"\\f564"}.fa-copy:before{content:"\\f0c5"}.fa-copyright:before{content:"\\f1f9"}.fa-cotton-bureau:before{content:"\\f89e"}.fa-couch:before{content:"\\f4b8"}.fa-cpanel:before{content:"\\f388"}.fa-creative-commons:before{content:"\\f25e"}.fa-creative-commons-by:before{content:"\\f4e7"}.fa-creative-commons-nc:before{content:"\\f4e8"}.fa-creative-commons-nc-eu:before{content:"\\f4e9"}.fa-creative-commons-nc-jp:before{content:"\\f4ea"}.fa-creative-commons-nd:before{content:"\\f4eb"}.fa-creative-commons-pd:before{content:"\\f4ec"}.fa-creative-commons-pd-alt:before{content:"\\f4ed"}.fa-creative-commons-remix:before{content:"\\f4ee"}.fa-creative-commons-sa:before{content:"\\f4ef"}.fa-creative-commons-sampling:before{content:"\\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\\f4f1"}.fa-creative-commons-share:before{content:"\\f4f2"}.fa-creative-commons-zero:before{content:"\\f4f3"}.fa-credit-card:before{content:"\\f09d"}.fa-critical-role:before{content:"\\f6c9"}.fa-crop:before{content:"\\f125"}.fa-crop-alt:before{content:"\\f565"}.fa-cross:before{content:"\\f654"}.fa-crosshairs:before{content:"\\f05b"}.fa-crow:before{content:"\\f520"}.fa-crown:before{content:"\\f521"}.fa-crutch:before{content:"\\f7f7"}.fa-css3:before{content:"\\f13c"}.fa-css3-alt:before{content:"\\f38b"}.fa-cube:before{content:"\\f1b2"}.fa-cubes:before{content:"\\f1b3"}.fa-cut:before{content:"\\f0c4"}.fa-cuttlefish:before{content:"\\f38c"}.fa-d-and-d:before{content:"\\f38d"}.fa-d-and-d-beyond:before{content:"\\f6ca"}.fa-dailymotion:before{content:"\\e052"}.fa-dashcube:before{content:"\\f210"}.fa-database:before{content:"\\f1c0"}.fa-deaf:before{content:"\\f2a4"}.fa-deezer:before{content:"\\e077"}.fa-delicious:before{content:"\\f1a5"}.fa-democrat:before{content:"\\f747"}.fa-deploydog:before{content:"\\f38e"}.fa-deskpro:before{content:"\\f38f"}.fa-desktop:before{content:"\\f108"}.fa-dev:before{content:"\\f6cc"}.fa-deviantart:before{content:"\\f1bd"}.fa-dharmachakra:before{content:"\\f655"}.fa-dhl:before{content:"\\f790"}.fa-diagnoses:before{content:"\\f470"}.fa-diaspora:before{content:"\\f791"}.fa-dice:before{content:"\\f522"}.fa-dice-d20:before{content:"\\f6cf"}.fa-dice-d6:before{content:"\\f6d1"}.fa-dice-five:before{content:"\\f523"}.fa-dice-four:before{content:"\\f524"}.fa-dice-one:before{content:"\\f525"}.fa-dice-six:before{content:"\\f526"}.fa-dice-three:before{content:"\\f527"}.fa-dice-two:before{content:"\\f528"}.fa-digg:before{content:"\\f1a6"}.fa-digital-ocean:before{content:"\\f391"}.fa-digital-tachograph:before{content:"\\f566"}.fa-directions:before{content:"\\f5eb"}.fa-discord:before{content:"\\f392"}.fa-discourse:before{content:"\\f393"}.fa-disease:before{content:"\\f7fa"}.fa-divide:before{content:"\\f529"}.fa-dizzy:before{content:"\\f567"}.fa-dna:before{content:"\\f471"}.fa-dochub:before{content:"\\f394"}.fa-docker:before{content:"\\f395"}.fa-dog:before{content:"\\f6d3"}.fa-dollar-sign:before{content:"\\f155"}.fa-dolly:before{content:"\\f472"}.fa-dolly-flatbed:before{content:"\\f474"}.fa-donate:before{content:"\\f4b9"}.fa-door-closed:before{content:"\\f52a"}.fa-door-open:before{content:"\\f52b"}.fa-dot-circle:before{content:"\\f192"}.fa-dove:before{content:"\\f4ba"}.fa-download:before{content:"\\f019"}.fa-draft2digital:before{content:"\\f396"}.fa-drafting-compass:before{content:"\\f568"}.fa-dragon:before{content:"\\f6d5"}.fa-draw-polygon:before{content:"\\f5ee"}.fa-dribbble:before{content:"\\f17d"}.fa-dribbble-square:before{content:"\\f397"}.fa-dropbox:before{content:"\\f16b"}.fa-drum:before{content:"\\f569"}.fa-drum-steelpan:before{content:"\\f56a"}.fa-drumstick-bite:before{content:"\\f6d7"}.fa-drupal:before{content:"\\f1a9"}.fa-dumbbell:before{content:"\\f44b"}.fa-dumpster:before{content:"\\f793"}.fa-dumpster-fire:before{content:"\\f794"}.fa-dungeon:before{content:"\\f6d9"}.fa-dyalog:before{content:"\\f399"}.fa-earlybirds:before{content:"\\f39a"}.fa-ebay:before{content:"\\f4f4"}.fa-edge:before{content:"\\f282"}.fa-edge-legacy:before{content:"\\e078"}.fa-edit:before{content:"\\f044"}.fa-egg:before{content:"\\f7fb"}.fa-eject:before{content:"\\f052"}.fa-elementor:before{content:"\\f430"}.fa-ellipsis-h:before{content:"\\f141"}.fa-ellipsis-v:before{content:"\\f142"}.fa-ello:before{content:"\\f5f1"}.fa-ember:before{content:"\\f423"}.fa-empire:before{content:"\\f1d1"}.fa-envelope:before{content:"\\f0e0"}.fa-envelope-open:before{content:"\\f2b6"}.fa-envelope-open-text:before{content:"\\f658"}.fa-envelope-square:before{content:"\\f199"}.fa-envira:before{content:"\\f299"}.fa-equals:before{content:"\\f52c"}.fa-eraser:before{content:"\\f12d"}.fa-erlang:before{content:"\\f39d"}.fa-ethereum:before{content:"\\f42e"}.fa-ethernet:before{content:"\\f796"}.fa-etsy:before{content:"\\f2d7"}.fa-euro-sign:before{content:"\\f153"}.fa-evernote:before{content:"\\f839"}.fa-exchange-alt:before{content:"\\f362"}.fa-exclamation:before{content:"\\f12a"}.fa-exclamation-circle:before{content:"\\f06a"}.fa-exclamation-triangle:before{content:"\\f071"}.fa-expand:before{content:"\\f065"}.fa-expand-alt:before{content:"\\f424"}.fa-expand-arrows-alt:before{content:"\\f31e"}.fa-expeditedssl:before{content:"\\f23e"}.fa-external-link-alt:before{content:"\\f35d"}.fa-external-link-square-alt:before{content:"\\f360"}.fa-eye:before{content:"\\f06e"}.fa-eye-dropper:before{content:"\\f1fb"}.fa-eye-slash:before{content:"\\f070"}.fa-facebook:before{content:"\\f09a"}.fa-facebook-f:before{content:"\\f39e"}.fa-facebook-messenger:before{content:"\\f39f"}.fa-facebook-square:before{content:"\\f082"}.fa-fan:before{content:"\\f863"}.fa-fantasy-flight-games:before{content:"\\f6dc"}.fa-fast-backward:before{content:"\\f049"}.fa-fast-forward:before{content:"\\f050"}.fa-faucet:before{content:"\\e005"}.fa-fax:before{content:"\\f1ac"}.fa-feather:before{content:"\\f52d"}.fa-feather-alt:before{content:"\\f56b"}.fa-fedex:before{content:"\\f797"}.fa-fedora:before{content:"\\f798"}.fa-female:before{content:"\\f182"}.fa-fighter-jet:before{content:"\\f0fb"}.fa-figma:before{content:"\\f799"}.fa-file:before{content:"\\f15b"}.fa-file-alt:before{content:"\\f15c"}.fa-file-archive:before{content:"\\f1c6"}.fa-file-audio:before{content:"\\f1c7"}.fa-file-code:before{content:"\\f1c9"}.fa-file-contract:before{content:"\\f56c"}.fa-file-csv:before{content:"\\f6dd"}.fa-file-download:before{content:"\\f56d"}.fa-file-excel:before{content:"\\f1c3"}.fa-file-export:before{content:"\\f56e"}.fa-file-image:before{content:"\\f1c5"}.fa-file-import:before{content:"\\f56f"}.fa-file-invoice:before{content:"\\f570"}.fa-file-invoice-dollar:before{content:"\\f571"}.fa-file-medical:before{content:"\\f477"}.fa-file-medical-alt:before{content:"\\f478"}.fa-file-pdf:before{content:"\\f1c1"}.fa-file-powerpoint:before{content:"\\f1c4"}.fa-file-prescription:before{content:"\\f572"}.fa-file-signature:before{content:"\\f573"}.fa-file-upload:before{content:"\\f574"}.fa-file-video:before{content:"\\f1c8"}.fa-file-word:before{content:"\\f1c2"}.fa-fill:before{content:"\\f575"}.fa-fill-drip:before{content:"\\f576"}.fa-film:before{content:"\\f008"}.fa-filter:before{content:"\\f0b0"}.fa-fingerprint:before{content:"\\f577"}.fa-fire:before{content:"\\f06d"}.fa-fire-alt:before{content:"\\f7e4"}.fa-fire-extinguisher:before{content:"\\f134"}.fa-firefox:before{content:"\\f269"}.fa-firefox-browser:before{content:"\\e007"}.fa-first-aid:before{content:"\\f479"}.fa-first-order:before{content:"\\f2b0"}.fa-first-order-alt:before{content:"\\f50a"}.fa-firstdraft:before{content:"\\f3a1"}.fa-fish:before{content:"\\f578"}.fa-fist-raised:before{content:"\\f6de"}.fa-flag:before{content:"\\f024"}.fa-flag-checkered:before{content:"\\f11e"}.fa-flag-usa:before{content:"\\f74d"}.fa-flask:before{content:"\\f0c3"}.fa-flickr:before{content:"\\f16e"}.fa-flipboard:before{content:"\\f44d"}.fa-flushed:before{content:"\\f579"}.fa-fly:before{content:"\\f417"}.fa-folder:before{content:"\\f07b"}.fa-folder-minus:before{content:"\\f65d"}.fa-folder-open:before{content:"\\f07c"}.fa-folder-plus:before{content:"\\f65e"}.fa-font:before{content:"\\f031"}.fa-font-awesome:before{content:"\\f2b4"}.fa-font-awesome-alt:before{content:"\\f35c"}.fa-font-awesome-flag:before{content:"\\f425"}.fa-font-awesome-logo-full:before{content:"\\f4e6"}.fa-fonticons:before{content:"\\f280"}.fa-fonticons-fi:before{content:"\\f3a2"}.fa-football-ball:before{content:"\\f44e"}.fa-fort-awesome:before{content:"\\f286"}.fa-fort-awesome-alt:before{content:"\\f3a3"}.fa-forumbee:before{content:"\\f211"}.fa-forward:before{content:"\\f04e"}.fa-foursquare:before{content:"\\f180"}.fa-free-code-camp:before{content:"\\f2c5"}.fa-freebsd:before{content:"\\f3a4"}.fa-frog:before{content:"\\f52e"}.fa-frown:before{content:"\\f119"}.fa-frown-open:before{content:"\\f57a"}.fa-fulcrum:before{content:"\\f50b"}.fa-funnel-dollar:before{content:"\\f662"}.fa-futbol:before{content:"\\f1e3"}.fa-galactic-republic:before{content:"\\f50c"}.fa-galactic-senate:before{content:"\\f50d"}.fa-gamepad:before{content:"\\f11b"}.fa-gas-pump:before{content:"\\f52f"}.fa-gavel:before{content:"\\f0e3"}.fa-gem:before{content:"\\f3a5"}.fa-genderless:before{content:"\\f22d"}.fa-get-pocket:before{content:"\\f265"}.fa-gg:before{content:"\\f260"}.fa-gg-circle:before{content:"\\f261"}.fa-ghost:before{content:"\\f6e2"}.fa-gift:before{content:"\\f06b"}.fa-gifts:before{content:"\\f79c"}.fa-git:before{content:"\\f1d3"}.fa-git-alt:before{content:"\\f841"}.fa-git-square:before{content:"\\f1d2"}.fa-github:before{content:"\\f09b"}.fa-github-alt:before{content:"\\f113"}.fa-github-square:before{content:"\\f092"}.fa-gitkraken:before{content:"\\f3a6"}.fa-gitlab:before{content:"\\f296"}.fa-gitter:before{content:"\\f426"}.fa-glass-cheers:before{content:"\\f79f"}.fa-glass-martini:before{content:"\\f000"}.fa-glass-martini-alt:before{content:"\\f57b"}.fa-glass-whiskey:before{content:"\\f7a0"}.fa-glasses:before{content:"\\f530"}.fa-glide:before{content:"\\f2a5"}.fa-glide-g:before{content:"\\f2a6"}.fa-globe:before{content:"\\f0ac"}.fa-globe-africa:before{content:"\\f57c"}.fa-globe-americas:before{content:"\\f57d"}.fa-globe-asia:before{content:"\\f57e"}.fa-globe-europe:before{content:"\\f7a2"}.fa-gofore:before{content:"\\f3a7"}.fa-golf-ball:before{content:"\\f450"}.fa-goodreads:before{content:"\\f3a8"}.fa-goodreads-g:before{content:"\\f3a9"}.fa-google:before{content:"\\f1a0"}.fa-google-drive:before{content:"\\f3aa"}.fa-google-pay:before{content:"\\e079"}.fa-google-play:before{content:"\\f3ab"}.fa-google-plus:before{content:"\\f2b3"}.fa-google-plus-g:before{content:"\\f0d5"}.fa-google-plus-square:before{content:"\\f0d4"}.fa-google-wallet:before{content:"\\f1ee"}.fa-gopuram:before{content:"\\f664"}.fa-graduation-cap:before{content:"\\f19d"}.fa-gratipay:before{content:"\\f184"}.fa-grav:before{content:"\\f2d6"}.fa-greater-than:before{content:"\\f531"}.fa-greater-than-equal:before{content:"\\f532"}.fa-grimace:before{content:"\\f57f"}.fa-grin:before{content:"\\f580"}.fa-grin-alt:before{content:"\\f581"}.fa-grin-beam:before{content:"\\f582"}.fa-grin-beam-sweat:before{content:"\\f583"}.fa-grin-hearts:before{content:"\\f584"}.fa-grin-squint:before{content:"\\f585"}.fa-grin-squint-tears:before{content:"\\f586"}.fa-grin-stars:before{content:"\\f587"}.fa-grin-tears:before{content:"\\f588"}.fa-grin-tongue:before{content:"\\f589"}.fa-grin-tongue-squint:before{content:"\\f58a"}.fa-grin-tongue-wink:before{content:"\\f58b"}.fa-grin-wink:before{content:"\\f58c"}.fa-grip-horizontal:before{content:"\\f58d"}.fa-grip-lines:before{content:"\\f7a4"}.fa-grip-lines-vertical:before{content:"\\f7a5"}.fa-grip-vertical:before{content:"\\f58e"}.fa-gripfire:before{content:"\\f3ac"}.fa-grunt:before{content:"\\f3ad"}.fa-guilded:before{content:"\\e07e"}.fa-guitar:before{content:"\\f7a6"}.fa-gulp:before{content:"\\f3ae"}.fa-h-square:before{content:"\\f0fd"}.fa-hacker-news:before{content:"\\f1d4"}.fa-hacker-news-square:before{content:"\\f3af"}.fa-hackerrank:before{content:"\\f5f7"}.fa-hamburger:before{content:"\\f805"}.fa-hammer:before{content:"\\f6e3"}.fa-hamsa:before{content:"\\f665"}.fa-hand-holding:before{content:"\\f4bd"}.fa-hand-holding-heart:before{content:"\\f4be"}.fa-hand-holding-medical:before{content:"\\e05c"}.fa-hand-holding-usd:before{content:"\\f4c0"}.fa-hand-holding-water:before{content:"\\f4c1"}.fa-hand-lizard:before{content:"\\f258"}.fa-hand-middle-finger:before{content:"\\f806"}.fa-hand-paper:before{content:"\\f256"}.fa-hand-peace:before{content:"\\f25b"}.fa-hand-point-down:before{content:"\\f0a7"}.fa-hand-point-left:before{content:"\\f0a5"}.fa-hand-point-right:before{content:"\\f0a4"}.fa-hand-point-up:before{content:"\\f0a6"}.fa-hand-pointer:before{content:"\\f25a"}.fa-hand-rock:before{content:"\\f255"}.fa-hand-scissors:before{content:"\\f257"}.fa-hand-sparkles:before{content:"\\e05d"}.fa-hand-spock:before{content:"\\f259"}.fa-hands:before{content:"\\f4c2"}.fa-hands-helping:before{content:"\\f4c4"}.fa-hands-wash:before{content:"\\e05e"}.fa-handshake:before{content:"\\f2b5"}.fa-handshake-alt-slash:before{content:"\\e05f"}.fa-handshake-slash:before{content:"\\e060"}.fa-hanukiah:before{content:"\\f6e6"}.fa-hard-hat:before{content:"\\f807"}.fa-hashtag:before{content:"\\f292"}.fa-hat-cowboy:before{content:"\\f8c0"}.fa-hat-cowboy-side:before{content:"\\f8c1"}.fa-hat-wizard:before{content:"\\f6e8"}.fa-hdd:before{content:"\\f0a0"}.fa-head-side-cough:before{content:"\\e061"}.fa-head-side-cough-slash:before{content:"\\e062"}.fa-head-side-mask:before{content:"\\e063"}.fa-head-side-virus:before{content:"\\e064"}.fa-heading:before{content:"\\f1dc"}.fa-headphones:before{content:"\\f025"}.fa-headphones-alt:before{content:"\\f58f"}.fa-headset:before{content:"\\f590"}.fa-heart:before{content:"\\f004"}.fa-heart-broken:before{content:"\\f7a9"}.fa-heartbeat:before{content:"\\f21e"}.fa-helicopter:before{content:"\\f533"}.fa-highlighter:before{content:"\\f591"}.fa-hiking:before{content:"\\f6ec"}.fa-hippo:before{content:"\\f6ed"}.fa-hips:before{content:"\\f452"}.fa-hire-a-helper:before{content:"\\f3b0"}.fa-history:before{content:"\\f1da"}.fa-hive:before{content:"\\e07f"}.fa-hockey-puck:before{content:"\\f453"}.fa-holly-berry:before{content:"\\f7aa"}.fa-home:before{content:"\\f015"}.fa-hooli:before{content:"\\f427"}.fa-hornbill:before{content:"\\f592"}.fa-horse:before{content:"\\f6f0"}.fa-horse-head:before{content:"\\f7ab"}.fa-hospital:before{content:"\\f0f8"}.fa-hospital-alt:before{content:"\\f47d"}.fa-hospital-symbol:before{content:"\\f47e"}.fa-hospital-user:before{content:"\\f80d"}.fa-hot-tub:before{content:"\\f593"}.fa-hotdog:before{content:"\\f80f"}.fa-hotel:before{content:"\\f594"}.fa-hotjar:before{content:"\\f3b1"}.fa-hourglass:before{content:"\\f254"}.fa-hourglass-end:before{content:"\\f253"}.fa-hourglass-half:before{content:"\\f252"}.fa-hourglass-start:before{content:"\\f251"}.fa-house-damage:before{content:"\\f6f1"}.fa-house-user:before{content:"\\e065"}.fa-houzz:before{content:"\\f27c"}.fa-hryvnia:before{content:"\\f6f2"}.fa-html5:before{content:"\\f13b"}.fa-hubspot:before{content:"\\f3b2"}.fa-i-cursor:before{content:"\\f246"}.fa-ice-cream:before{content:"\\f810"}.fa-icicles:before{content:"\\f7ad"}.fa-icons:before{content:"\\f86d"}.fa-id-badge:before{content:"\\f2c1"}.fa-id-card:before{content:"\\f2c2"}.fa-id-card-alt:before{content:"\\f47f"}.fa-ideal:before{content:"\\e013"}.fa-igloo:before{content:"\\f7ae"}.fa-image:before{content:"\\f03e"}.fa-images:before{content:"\\f302"}.fa-imdb:before{content:"\\f2d8"}.fa-inbox:before{content:"\\f01c"}.fa-indent:before{content:"\\f03c"}.fa-industry:before{content:"\\f275"}.fa-infinity:before{content:"\\f534"}.fa-info:before{content:"\\f129"}.fa-info-circle:before{content:"\\f05a"}.fa-innosoft:before{content:"\\e080"}.fa-instagram:before{content:"\\f16d"}.fa-instagram-square:before{content:"\\e055"}.fa-instalod:before{content:"\\e081"}.fa-intercom:before{content:"\\f7af"}.fa-internet-explorer:before{content:"\\f26b"}.fa-invision:before{content:"\\f7b0"}.fa-ioxhost:before{content:"\\f208"}.fa-italic:before{content:"\\f033"}.fa-itch-io:before{content:"\\f83a"}.fa-itunes:before{content:"\\f3b4"}.fa-itunes-note:before{content:"\\f3b5"}.fa-java:before{content:"\\f4e4"}.fa-jedi:before{content:"\\f669"}.fa-jedi-order:before{content:"\\f50e"}.fa-jenkins:before{content:"\\f3b6"}.fa-jira:before{content:"\\f7b1"}.fa-joget:before{content:"\\f3b7"}.fa-joint:before{content:"\\f595"}.fa-joomla:before{content:"\\f1aa"}.fa-journal-whills:before{content:"\\f66a"}.fa-js:before{content:"\\f3b8"}.fa-js-square:before{content:"\\f3b9"}.fa-jsfiddle:before{content:"\\f1cc"}.fa-kaaba:before{content:"\\f66b"}.fa-kaggle:before{content:"\\f5fa"}.fa-key:before{content:"\\f084"}.fa-keybase:before{content:"\\f4f5"}.fa-keyboard:before{content:"\\f11c"}.fa-keycdn:before{content:"\\f3ba"}.fa-khanda:before{content:"\\f66d"}.fa-kickstarter:before{content:"\\f3bb"}.fa-kickstarter-k:before{content:"\\f3bc"}.fa-kiss:before{content:"\\f596"}.fa-kiss-beam:before{content:"\\f597"}.fa-kiss-wink-heart:before{content:"\\f598"}.fa-kiwi-bird:before{content:"\\f535"}.fa-korvue:before{content:"\\f42f"}.fa-landmark:before{content:"\\f66f"}.fa-language:before{content:"\\f1ab"}.fa-laptop:before{content:"\\f109"}.fa-laptop-code:before{content:"\\f5fc"}.fa-laptop-house:before{content:"\\e066"}.fa-laptop-medical:before{content:"\\f812"}.fa-laravel:before{content:"\\f3bd"}.fa-lastfm:before{content:"\\f202"}.fa-lastfm-square:before{content:"\\f203"}.fa-laugh:before{content:"\\f599"}.fa-laugh-beam:before{content:"\\f59a"}.fa-laugh-squint:before{content:"\\f59b"}.fa-laugh-wink:before{content:"\\f59c"}.fa-layer-group:before{content:"\\f5fd"}.fa-leaf:before{content:"\\f06c"}.fa-leanpub:before{content:"\\f212"}.fa-lemon:before{content:"\\f094"}.fa-less:before{content:"\\f41d"}.fa-less-than:before{content:"\\f536"}.fa-less-than-equal:before{content:"\\f537"}.fa-level-down-alt:before{content:"\\f3be"}.fa-level-up-alt:before{content:"\\f3bf"}.fa-life-ring:before{content:"\\f1cd"}.fa-lightbulb:before{content:"\\f0eb"}.fa-line:before{content:"\\f3c0"}.fa-link:before{content:"\\f0c1"}.fa-linkedin:before{content:"\\f08c"}.fa-linkedin-in:before{content:"\\f0e1"}.fa-linode:before{content:"\\f2b8"}.fa-linux:before{content:"\\f17c"}.fa-lira-sign:before{content:"\\f195"}.fa-list:before{content:"\\f03a"}.fa-list-alt:before{content:"\\f022"}.fa-list-ol:before{content:"\\f0cb"}.fa-list-ul:before{content:"\\f0ca"}.fa-location-arrow:before{content:"\\f124"}.fa-lock:before{content:"\\f023"}.fa-lock-open:before{content:"\\f3c1"}.fa-long-arrow-alt-down:before{content:"\\f309"}.fa-long-arrow-alt-left:before{content:"\\f30a"}.fa-long-arrow-alt-right:before{content:"\\f30b"}.fa-long-arrow-alt-up:before{content:"\\f30c"}.fa-low-vision:before{content:"\\f2a8"}.fa-luggage-cart:before{content:"\\f59d"}.fa-lungs:before{content:"\\f604"}.fa-lungs-virus:before{content:"\\e067"}.fa-lyft:before{content:"\\f3c3"}.fa-magento:before{content:"\\f3c4"}.fa-magic:before{content:"\\f0d0"}.fa-magnet:before{content:"\\f076"}.fa-mail-bulk:before{content:"\\f674"}.fa-mailchimp:before{content:"\\f59e"}.fa-male:before{content:"\\f183"}.fa-mandalorian:before{content:"\\f50f"}.fa-map:before{content:"\\f279"}.fa-map-marked:before{content:"\\f59f"}.fa-map-marked-alt:before{content:"\\f5a0"}.fa-map-marker:before{content:"\\f041"}.fa-map-marker-alt:before{content:"\\f3c5"}.fa-map-pin:before{content:"\\f276"}.fa-map-signs:before{content:"\\f277"}.fa-markdown:before{content:"\\f60f"}.fa-marker:before{content:"\\f5a1"}.fa-mars:before{content:"\\f222"}.fa-mars-double:before{content:"\\f227"}.fa-mars-stroke:before{content:"\\f229"}.fa-mars-stroke-h:before{content:"\\f22b"}.fa-mars-stroke-v:before{content:"\\f22a"}.fa-mask:before{content:"\\f6fa"}.fa-mastodon:before{content:"\\f4f6"}.fa-maxcdn:before{content:"\\f136"}.fa-mdb:before{content:"\\f8ca"}.fa-medal:before{content:"\\f5a2"}.fa-medapps:before{content:"\\f3c6"}.fa-medium:before{content:"\\f23a"}.fa-medium-m:before{content:"\\f3c7"}.fa-medkit:before{content:"\\f0fa"}.fa-medrt:before{content:"\\f3c8"}.fa-meetup:before{content:"\\f2e0"}.fa-megaport:before{content:"\\f5a3"}.fa-meh:before{content:"\\f11a"}.fa-meh-blank:before{content:"\\f5a4"}.fa-meh-rolling-eyes:before{content:"\\f5a5"}.fa-memory:before{content:"\\f538"}.fa-mendeley:before{content:"\\f7b3"}.fa-menorah:before{content:"\\f676"}.fa-mercury:before{content:"\\f223"}.fa-meteor:before{content:"\\f753"}.fa-microblog:before{content:"\\e01a"}.fa-microchip:before{content:"\\f2db"}.fa-microphone:before{content:"\\f130"}.fa-microphone-alt:before{content:"\\f3c9"}.fa-microphone-alt-slash:before{content:"\\f539"}.fa-microphone-slash:before{content:"\\f131"}.fa-microscope:before{content:"\\f610"}.fa-microsoft:before{content:"\\f3ca"}.fa-minus:before{content:"\\f068"}.fa-minus-circle:before{content:"\\f056"}.fa-minus-square:before{content:"\\f146"}.fa-mitten:before{content:"\\f7b5"}.fa-mix:before{content:"\\f3cb"}.fa-mixcloud:before{content:"\\f289"}.fa-mixer:before{content:"\\e056"}.fa-mizuni:before{content:"\\f3cc"}.fa-mobile:before{content:"\\f10b"}.fa-mobile-alt:before{content:"\\f3cd"}.fa-modx:before{content:"\\f285"}.fa-monero:before{content:"\\f3d0"}.fa-money-bill:before{content:"\\f0d6"}.fa-money-bill-alt:before{content:"\\f3d1"}.fa-money-bill-wave:before{content:"\\f53a"}.fa-money-bill-wave-alt:before{content:"\\f53b"}.fa-money-check:before{content:"\\f53c"}.fa-money-check-alt:before{content:"\\f53d"}.fa-monument:before{content:"\\f5a6"}.fa-moon:before{content:"\\f186"}.fa-mortar-pestle:before{content:"\\f5a7"}.fa-mosque:before{content:"\\f678"}.fa-motorcycle:before{content:"\\f21c"}.fa-mountain:before{content:"\\f6fc"}.fa-mouse:before{content:"\\f8cc"}.fa-mouse-pointer:before{content:"\\f245"}.fa-mug-hot:before{content:"\\f7b6"}.fa-music:before{content:"\\f001"}.fa-napster:before{content:"\\f3d2"}.fa-neos:before{content:"\\f612"}.fa-network-wired:before{content:"\\f6ff"}.fa-neuter:before{content:"\\f22c"}.fa-newspaper:before{content:"\\f1ea"}.fa-nimblr:before{content:"\\f5a8"}.fa-node:before{content:"\\f419"}.fa-node-js:before{content:"\\f3d3"}.fa-not-equal:before{content:"\\f53e"}.fa-notes-medical:before{content:"\\f481"}.fa-npm:before{content:"\\f3d4"}.fa-ns8:before{content:"\\f3d5"}.fa-nutritionix:before{content:"\\f3d6"}.fa-object-group:before{content:"\\f247"}.fa-object-ungroup:before{content:"\\f248"}.fa-octopus-deploy:before{content:"\\e082"}.fa-odnoklassniki:before{content:"\\f263"}.fa-odnoklassniki-square:before{content:"\\f264"}.fa-oil-can:before{content:"\\f613"}.fa-old-republic:before{content:"\\f510"}.fa-om:before{content:"\\f679"}.fa-opencart:before{content:"\\f23d"}.fa-openid:before{content:"\\f19b"}.fa-opera:before{content:"\\f26a"}.fa-optin-monster:before{content:"\\f23c"}.fa-orcid:before{content:"\\f8d2"}.fa-osi:before{content:"\\f41a"}.fa-otter:before{content:"\\f700"}.fa-outdent:before{content:"\\f03b"}.fa-page4:before{content:"\\f3d7"}.fa-pagelines:before{content:"\\f18c"}.fa-pager:before{content:"\\f815"}.fa-paint-brush:before{content:"\\f1fc"}.fa-paint-roller:before{content:"\\f5aa"}.fa-palette:before{content:"\\f53f"}.fa-palfed:before{content:"\\f3d8"}.fa-pallet:before{content:"\\f482"}.fa-paper-plane:before{content:"\\f1d8"}.fa-paperclip:before{content:"\\f0c6"}.fa-parachute-box:before{content:"\\f4cd"}.fa-paragraph:before{content:"\\f1dd"}.fa-parking:before{content:"\\f540"}.fa-passport:before{content:"\\f5ab"}.fa-pastafarianism:before{content:"\\f67b"}.fa-paste:before{content:"\\f0ea"}.fa-patreon:before{content:"\\f3d9"}.fa-pause:before{content:"\\f04c"}.fa-pause-circle:before{content:"\\f28b"}.fa-paw:before{content:"\\f1b0"}.fa-paypal:before{content:"\\f1ed"}.fa-peace:before{content:"\\f67c"}.fa-pen:before{content:"\\f304"}.fa-pen-alt:before{content:"\\f305"}.fa-pen-fancy:before{content:"\\f5ac"}.fa-pen-nib:before{content:"\\f5ad"}.fa-pen-square:before{content:"\\f14b"}.fa-pencil-alt:before{content:"\\f303"}.fa-pencil-ruler:before{content:"\\f5ae"}.fa-penny-arcade:before{content:"\\f704"}.fa-people-arrows:before{content:"\\e068"}.fa-people-carry:before{content:"\\f4ce"}.fa-pepper-hot:before{content:"\\f816"}.fa-perbyte:before{content:"\\e083"}.fa-percent:before{content:"\\f295"}.fa-percentage:before{content:"\\f541"}.fa-periscope:before{content:"\\f3da"}.fa-person-booth:before{content:"\\f756"}.fa-phabricator:before{content:"\\f3db"}.fa-phoenix-framework:before{content:"\\f3dc"}.fa-phoenix-squadron:before{content:"\\f511"}.fa-phone:before{content:"\\f095"}.fa-phone-alt:before{content:"\\f879"}.fa-phone-slash:before{content:"\\f3dd"}.fa-phone-square:before{content:"\\f098"}.fa-phone-square-alt:before{content:"\\f87b"}.fa-phone-volume:before{content:"\\f2a0"}.fa-photo-video:before{content:"\\f87c"}.fa-php:before{content:"\\f457"}.fa-pied-piper:before{content:"\\f2ae"}.fa-pied-piper-alt:before{content:"\\f1a8"}.fa-pied-piper-hat:before{content:"\\f4e5"}.fa-pied-piper-pp:before{content:"\\f1a7"}.fa-pied-piper-square:before{content:"\\e01e"}.fa-piggy-bank:before{content:"\\f4d3"}.fa-pills:before{content:"\\f484"}.fa-pinterest:before{content:"\\f0d2"}.fa-pinterest-p:before{content:"\\f231"}.fa-pinterest-square:before{content:"\\f0d3"}.fa-pizza-slice:before{content:"\\f818"}.fa-place-of-worship:before{content:"\\f67f"}.fa-plane:before{content:"\\f072"}.fa-plane-arrival:before{content:"\\f5af"}.fa-plane-departure:before{content:"\\f5b0"}.fa-plane-slash:before{content:"\\e069"}.fa-play:before{content:"\\f04b"}.fa-play-circle:before{content:"\\f144"}.fa-playstation:before{content:"\\f3df"}.fa-plug:before{content:"\\f1e6"}.fa-plus:before{content:"\\f067"}.fa-plus-circle:before{content:"\\f055"}.fa-plus-square:before{content:"\\f0fe"}.fa-podcast:before{content:"\\f2ce"}.fa-poll:before{content:"\\f681"}.fa-poll-h:before{content:"\\f682"}.fa-poo:before{content:"\\f2fe"}.fa-poo-storm:before{content:"\\f75a"}.fa-poop:before{content:"\\f619"}.fa-portrait:before{content:"\\f3e0"}.fa-pound-sign:before{content:"\\f154"}.fa-power-off:before{content:"\\f011"}.fa-pray:before{content:"\\f683"}.fa-praying-hands:before{content:"\\f684"}.fa-prescription:before{content:"\\f5b1"}.fa-prescription-bottle:before{content:"\\f485"}.fa-prescription-bottle-alt:before{content:"\\f486"}.fa-print:before{content:"\\f02f"}.fa-procedures:before{content:"\\f487"}.fa-product-hunt:before{content:"\\f288"}.fa-project-diagram:before{content:"\\f542"}.fa-pump-medical:before{content:"\\e06a"}.fa-pump-soap:before{content:"\\e06b"}.fa-pushed:before{content:"\\f3e1"}.fa-puzzle-piece:before{content:"\\f12e"}.fa-python:before{content:"\\f3e2"}.fa-qq:before{content:"\\f1d6"}.fa-qrcode:before{content:"\\f029"}.fa-question:before{content:"\\f128"}.fa-question-circle:before{content:"\\f059"}.fa-quidditch:before{content:"\\f458"}.fa-quinscape:before{content:"\\f459"}.fa-quora:before{content:"\\f2c4"}.fa-quote-left:before{content:"\\f10d"}.fa-quote-right:before{content:"\\f10e"}.fa-quran:before{content:"\\f687"}.fa-r-project:before{content:"\\f4f7"}.fa-radiation:before{content:"\\f7b9"}.fa-radiation-alt:before{content:"\\f7ba"}.fa-rainbow:before{content:"\\f75b"}.fa-random:before{content:"\\f074"}.fa-raspberry-pi:before{content:"\\f7bb"}.fa-ravelry:before{content:"\\f2d9"}.fa-react:before{content:"\\f41b"}.fa-reacteurope:before{content:"\\f75d"}.fa-readme:before{content:"\\f4d5"}.fa-rebel:before{content:"\\f1d0"}.fa-receipt:before{content:"\\f543"}.fa-record-vinyl:before{content:"\\f8d9"}.fa-recycle:before{content:"\\f1b8"}.fa-red-river:before{content:"\\f3e3"}.fa-reddit:before{content:"\\f1a1"}.fa-reddit-alien:before{content:"\\f281"}.fa-reddit-square:before{content:"\\f1a2"}.fa-redhat:before{content:"\\f7bc"}.fa-redo:before{content:"\\f01e"}.fa-redo-alt:before{content:"\\f2f9"}.fa-registered:before{content:"\\f25d"}.fa-remove-format:before{content:"\\f87d"}.fa-renren:before{content:"\\f18b"}.fa-reply:before{content:"\\f3e5"}.fa-reply-all:before{content:"\\f122"}.fa-replyd:before{content:"\\f3e6"}.fa-republican:before{content:"\\f75e"}.fa-researchgate:before{content:"\\f4f8"}.fa-resolving:before{content:"\\f3e7"}.fa-restroom:before{content:"\\f7bd"}.fa-retweet:before{content:"\\f079"}.fa-rev:before{content:"\\f5b2"}.fa-ribbon:before{content:"\\f4d6"}.fa-ring:before{content:"\\f70b"}.fa-road:before{content:"\\f018"}.fa-robot:before{content:"\\f544"}.fa-rocket:before{content:"\\f135"}.fa-rocketchat:before{content:"\\f3e8"}.fa-rockrms:before{content:"\\f3e9"}.fa-route:before{content:"\\f4d7"}.fa-rss:before{content:"\\f09e"}.fa-rss-square:before{content:"\\f143"}.fa-ruble-sign:before{content:"\\f158"}.fa-ruler:before{content:"\\f545"}.fa-ruler-combined:before{content:"\\f546"}.fa-ruler-horizontal:before{content:"\\f547"}.fa-ruler-vertical:before{content:"\\f548"}.fa-running:before{content:"\\f70c"}.fa-rupee-sign:before{content:"\\f156"}.fa-rust:before{content:"\\e07a"}.fa-sad-cry:before{content:"\\f5b3"}.fa-sad-tear:before{content:"\\f5b4"}.fa-safari:before{content:"\\f267"}.fa-salesforce:before{content:"\\f83b"}.fa-sass:before{content:"\\f41e"}.fa-satellite:before{content:"\\f7bf"}.fa-satellite-dish:before{content:"\\f7c0"}.fa-save:before{content:"\\f0c7"}.fa-schlix:before{content:"\\f3ea"}.fa-school:before{content:"\\f549"}.fa-screwdriver:before{content:"\\f54a"}.fa-scribd:before{content:"\\f28a"}.fa-scroll:before{content:"\\f70e"}.fa-sd-card:before{content:"\\f7c2"}.fa-search:before{content:"\\f002"}.fa-search-dollar:before{content:"\\f688"}.fa-search-location:before{content:"\\f689"}.fa-search-minus:before{content:"\\f010"}.fa-search-plus:before{content:"\\f00e"}.fa-searchengin:before{content:"\\f3eb"}.fa-seedling:before{content:"\\f4d8"}.fa-sellcast:before{content:"\\f2da"}.fa-sellsy:before{content:"\\f213"}.fa-server:before{content:"\\f233"}.fa-servicestack:before{content:"\\f3ec"}.fa-shapes:before{content:"\\f61f"}.fa-share:before{content:"\\f064"}.fa-share-alt:before{content:"\\f1e0"}.fa-share-alt-square:before{content:"\\f1e1"}.fa-share-square:before{content:"\\f14d"}.fa-shekel-sign:before{content:"\\f20b"}.fa-shield-alt:before{content:"\\f3ed"}.fa-shield-virus:before{content:"\\e06c"}.fa-ship:before{content:"\\f21a"}.fa-shipping-fast:before{content:"\\f48b"}.fa-shirtsinbulk:before{content:"\\f214"}.fa-shoe-prints:before{content:"\\f54b"}.fa-shopify:before{content:"\\e057"}.fa-shopping-bag:before{content:"\\f290"}.fa-shopping-basket:before{content:"\\f291"}.fa-shopping-cart:before{content:"\\f07a"}.fa-shopware:before{content:"\\f5b5"}.fa-shower:before{content:"\\f2cc"}.fa-shuttle-van:before{content:"\\f5b6"}.fa-sign:before{content:"\\f4d9"}.fa-sign-in-alt:before{content:"\\f2f6"}.fa-sign-language:before{content:"\\f2a7"}.fa-sign-out-alt:before{content:"\\f2f5"}.fa-signal:before{content:"\\f012"}.fa-signature:before{content:"\\f5b7"}.fa-sim-card:before{content:"\\f7c4"}.fa-simplybuilt:before{content:"\\f215"}.fa-sink:before{content:"\\e06d"}.fa-sistrix:before{content:"\\f3ee"}.fa-sitemap:before{content:"\\f0e8"}.fa-sith:before{content:"\\f512"}.fa-skating:before{content:"\\f7c5"}.fa-sketch:before{content:"\\f7c6"}.fa-skiing:before{content:"\\f7c9"}.fa-skiing-nordic:before{content:"\\f7ca"}.fa-skull:before{content:"\\f54c"}.fa-skull-crossbones:before{content:"\\f714"}.fa-skyatlas:before{content:"\\f216"}.fa-skype:before{content:"\\f17e"}.fa-slack:before{content:"\\f198"}.fa-slack-hash:before{content:"\\f3ef"}.fa-slash:before{content:"\\f715"}.fa-sleigh:before{content:"\\f7cc"}.fa-sliders-h:before{content:"\\f1de"}.fa-slideshare:before{content:"\\f1e7"}.fa-smile:before{content:"\\f118"}.fa-smile-beam:before{content:"\\f5b8"}.fa-smile-wink:before{content:"\\f4da"}.fa-smog:before{content:"\\f75f"}.fa-smoking:before{content:"\\f48d"}.fa-smoking-ban:before{content:"\\f54d"}.fa-sms:before{content:"\\f7cd"}.fa-snapchat:before{content:"\\f2ab"}.fa-snapchat-ghost:before{content:"\\f2ac"}.fa-snapchat-square:before{content:"\\f2ad"}.fa-snowboarding:before{content:"\\f7ce"}.fa-snowflake:before{content:"\\f2dc"}.fa-snowman:before{content:"\\f7d0"}.fa-snowplow:before{content:"\\f7d2"}.fa-soap:before{content:"\\e06e"}.fa-socks:before{content:"\\f696"}.fa-solar-panel:before{content:"\\f5ba"}.fa-sort:before{content:"\\f0dc"}.fa-sort-alpha-down:before{content:"\\f15d"}.fa-sort-alpha-down-alt:before{content:"\\f881"}.fa-sort-alpha-up:before{content:"\\f15e"}.fa-sort-alpha-up-alt:before{content:"\\f882"}.fa-sort-amount-down:before{content:"\\f160"}.fa-sort-amount-down-alt:before{content:"\\f884"}.fa-sort-amount-up:before{content:"\\f161"}.fa-sort-amount-up-alt:before{content:"\\f885"}.fa-sort-down:before{content:"\\f0dd"}.fa-sort-numeric-down:before{content:"\\f162"}.fa-sort-numeric-down-alt:before{content:"\\f886"}.fa-sort-numeric-up:before{content:"\\f163"}.fa-sort-numeric-up-alt:before{content:"\\f887"}.fa-sort-up:before{content:"\\f0de"}.fa-soundcloud:before{content:"\\f1be"}.fa-sourcetree:before{content:"\\f7d3"}.fa-spa:before{content:"\\f5bb"}.fa-space-shuttle:before{content:"\\f197"}.fa-speakap:before{content:"\\f3f3"}.fa-speaker-deck:before{content:"\\f83c"}.fa-spell-check:before{content:"\\f891"}.fa-spider:before{content:"\\f717"}.fa-spinner:before{content:"\\f110"}.fa-splotch:before{content:"\\f5bc"}.fa-spotify:before{content:"\\f1bc"}.fa-spray-can:before{content:"\\f5bd"}.fa-square:before{content:"\\f0c8"}.fa-square-full:before{content:"\\f45c"}.fa-square-root-alt:before{content:"\\f698"}.fa-squarespace:before{content:"\\f5be"}.fa-stack-exchange:before{content:"\\f18d"}.fa-stack-overflow:before{content:"\\f16c"}.fa-stackpath:before{content:"\\f842"}.fa-stamp:before{content:"\\f5bf"}.fa-star:before{content:"\\f005"}.fa-star-and-crescent:before{content:"\\f699"}.fa-star-half:before{content:"\\f089"}.fa-star-half-alt:before{content:"\\f5c0"}.fa-star-of-david:before{content:"\\f69a"}.fa-star-of-life:before{content:"\\f621"}.fa-staylinked:before{content:"\\f3f5"}.fa-steam:before{content:"\\f1b6"}.fa-steam-square:before{content:"\\f1b7"}.fa-steam-symbol:before{content:"\\f3f6"}.fa-step-backward:before{content:"\\f048"}.fa-step-forward:before{content:"\\f051"}.fa-stethoscope:before{content:"\\f0f1"}.fa-sticker-mule:before{content:"\\f3f7"}.fa-sticky-note:before{content:"\\f249"}.fa-stop:before{content:"\\f04d"}.fa-stop-circle:before{content:"\\f28d"}.fa-stopwatch:before{content:"\\f2f2"}.fa-stopwatch-20:before{content:"\\e06f"}.fa-store:before{content:"\\f54e"}.fa-store-alt:before{content:"\\f54f"}.fa-store-alt-slash:before{content:"\\e070"}.fa-store-slash:before{content:"\\e071"}.fa-strava:before{content:"\\f428"}.fa-stream:before{content:"\\f550"}.fa-street-view:before{content:"\\f21d"}.fa-strikethrough:before{content:"\\f0cc"}.fa-stripe:before{content:"\\f429"}.fa-stripe-s:before{content:"\\f42a"}.fa-stroopwafel:before{content:"\\f551"}.fa-studiovinari:before{content:"\\f3f8"}.fa-stumbleupon:before{content:"\\f1a4"}.fa-stumbleupon-circle:before{content:"\\f1a3"}.fa-subscript:before{content:"\\f12c"}.fa-subway:before{content:"\\f239"}.fa-suitcase:before{content:"\\f0f2"}.fa-suitcase-rolling:before{content:"\\f5c1"}.fa-sun:before{content:"\\f185"}.fa-superpowers:before{content:"\\f2dd"}.fa-superscript:before{content:"\\f12b"}.fa-supple:before{content:"\\f3f9"}.fa-surprise:before{content:"\\f5c2"}.fa-suse:before{content:"\\f7d6"}.fa-swatchbook:before{content:"\\f5c3"}.fa-swift:before{content:"\\f8e1"}.fa-swimmer:before{content:"\\f5c4"}.fa-swimming-pool:before{content:"\\f5c5"}.fa-symfony:before{content:"\\f83d"}.fa-synagogue:before{content:"\\f69b"}.fa-sync:before{content:"\\f021"}.fa-sync-alt:before{content:"\\f2f1"}.fa-syringe:before{content:"\\f48e"}.fa-table:before{content:"\\f0ce"}.fa-table-tennis:before{content:"\\f45d"}.fa-tablet:before{content:"\\f10a"}.fa-tablet-alt:before{content:"\\f3fa"}.fa-tablets:before{content:"\\f490"}.fa-tachometer-alt:before{content:"\\f3fd"}.fa-tag:before{content:"\\f02b"}.fa-tags:before{content:"\\f02c"}.fa-tape:before{content:"\\f4db"}.fa-tasks:before{content:"\\f0ae"}.fa-taxi:before{content:"\\f1ba"}.fa-teamspeak:before{content:"\\f4f9"}.fa-teeth:before{content:"\\f62e"}.fa-teeth-open:before{content:"\\f62f"}.fa-telegram:before{content:"\\f2c6"}.fa-telegram-plane:before{content:"\\f3fe"}.fa-temperature-high:before{content:"\\f769"}.fa-temperature-low:before{content:"\\f76b"}.fa-tencent-weibo:before{content:"\\f1d5"}.fa-tenge:before{content:"\\f7d7"}.fa-terminal:before{content:"\\f120"}.fa-text-height:before{content:"\\f034"}.fa-text-width:before{content:"\\f035"}.fa-th:before{content:"\\f00a"}.fa-th-large:before{content:"\\f009"}.fa-th-list:before{content:"\\f00b"}.fa-the-red-yeti:before{content:"\\f69d"}.fa-theater-masks:before{content:"\\f630"}.fa-themeco:before{content:"\\f5c6"}.fa-themeisle:before{content:"\\f2b2"}.fa-thermometer:before{content:"\\f491"}.fa-thermometer-empty:before{content:"\\f2cb"}.fa-thermometer-full:before{content:"\\f2c7"}.fa-thermometer-half:before{content:"\\f2c9"}.fa-thermometer-quarter:before{content:"\\f2ca"}.fa-thermometer-three-quarters:before{content:"\\f2c8"}.fa-think-peaks:before{content:"\\f731"}.fa-thumbs-down:before{content:"\\f165"}.fa-thumbs-up:before{content:"\\f164"}.fa-thumbtack:before{content:"\\f08d"}.fa-ticket-alt:before{content:"\\f3ff"}.fa-tiktok:before{content:"\\e07b"}.fa-times:before{content:"\\f00d"}.fa-times-circle:before{content:"\\f057"}.fa-tint:before{content:"\\f043"}.fa-tint-slash:before{content:"\\f5c7"}.fa-tired:before{content:"\\f5c8"}.fa-toggle-off:before{content:"\\f204"}.fa-toggle-on:before{content:"\\f205"}.fa-toilet:before{content:"\\f7d8"}.fa-toilet-paper:before{content:"\\f71e"}.fa-toilet-paper-slash:before{content:"\\e072"}.fa-toolbox:before{content:"\\f552"}.fa-tools:before{content:"\\f7d9"}.fa-tooth:before{content:"\\f5c9"}.fa-torah:before{content:"\\f6a0"}.fa-torii-gate:before{content:"\\f6a1"}.fa-tractor:before{content:"\\f722"}.fa-trade-federation:before{content:"\\f513"}.fa-trademark:before{content:"\\f25c"}.fa-traffic-light:before{content:"\\f637"}.fa-trailer:before{content:"\\e041"}.fa-train:before{content:"\\f238"}.fa-tram:before{content:"\\f7da"}.fa-transgender:before{content:"\\f224"}.fa-transgender-alt:before{content:"\\f225"}.fa-trash:before{content:"\\f1f8"}.fa-trash-alt:before{content:"\\f2ed"}.fa-trash-restore:before{content:"\\f829"}.fa-trash-restore-alt:before{content:"\\f82a"}.fa-tree:before{content:"\\f1bb"}.fa-trello:before{content:"\\f181"}.fa-trophy:before{content:"\\f091"}.fa-truck:before{content:"\\f0d1"}.fa-truck-loading:before{content:"\\f4de"}.fa-truck-monster:before{content:"\\f63b"}.fa-truck-moving:before{content:"\\f4df"}.fa-truck-pickup:before{content:"\\f63c"}.fa-tshirt:before{content:"\\f553"}.fa-tty:before{content:"\\f1e4"}.fa-tumblr:before{content:"\\f173"}.fa-tumblr-square:before{content:"\\f174"}.fa-tv:before{content:"\\f26c"}.fa-twitch:before{content:"\\f1e8"}.fa-twitter:before{content:"\\f099"}.fa-twitter-square:before{content:"\\f081"}.fa-typo3:before{content:"\\f42b"}.fa-uber:before{content:"\\f402"}.fa-ubuntu:before{content:"\\f7df"}.fa-uikit:before{content:"\\f403"}.fa-umbraco:before{content:"\\f8e8"}.fa-umbrella:before{content:"\\f0e9"}.fa-umbrella-beach:before{content:"\\f5ca"}.fa-uncharted:before{content:"\\e084"}.fa-underline:before{content:"\\f0cd"}.fa-undo:before{content:"\\f0e2"}.fa-undo-alt:before{content:"\\f2ea"}.fa-uniregistry:before{content:"\\f404"}.fa-unity:before{content:"\\e049"}.fa-universal-access:before{content:"\\f29a"}.fa-university:before{content:"\\f19c"}.fa-unlink:before{content:"\\f127"}.fa-unlock:before{content:"\\f09c"}.fa-unlock-alt:before{content:"\\f13e"}.fa-unsplash:before{content:"\\e07c"}.fa-untappd:before{content:"\\f405"}.fa-upload:before{content:"\\f093"}.fa-ups:before{content:"\\f7e0"}.fa-usb:before{content:"\\f287"}.fa-user:before{content:"\\f007"}.fa-user-alt:before{content:"\\f406"}.fa-user-alt-slash:before{content:"\\f4fa"}.fa-user-astronaut:before{content:"\\f4fb"}.fa-user-check:before{content:"\\f4fc"}.fa-user-circle:before{content:"\\f2bd"}.fa-user-clock:before{content:"\\f4fd"}.fa-user-cog:before{content:"\\f4fe"}.fa-user-edit:before{content:"\\f4ff"}.fa-user-friends:before{content:"\\f500"}.fa-user-graduate:before{content:"\\f501"}.fa-user-injured:before{content:"\\f728"}.fa-user-lock:before{content:"\\f502"}.fa-user-md:before{content:"\\f0f0"}.fa-user-minus:before{content:"\\f503"}.fa-user-ninja:before{content:"\\f504"}.fa-user-nurse:before{content:"\\f82f"}.fa-user-plus:before{content:"\\f234"}.fa-user-secret:before{content:"\\f21b"}.fa-user-shield:before{content:"\\f505"}.fa-user-slash:before{content:"\\f506"}.fa-user-tag:before{content:"\\f507"}.fa-user-tie:before{content:"\\f508"}.fa-user-times:before{content:"\\f235"}.fa-users:before{content:"\\f0c0"}.fa-users-cog:before{content:"\\f509"}.fa-users-slash:before{content:"\\e073"}.fa-usps:before{content:"\\f7e1"}.fa-ussunnah:before{content:"\\f407"}.fa-utensil-spoon:before{content:"\\f2e5"}.fa-utensils:before{content:"\\f2e7"}.fa-vaadin:before{content:"\\f408"}.fa-vector-square:before{content:"\\f5cb"}.fa-venus:before{content:"\\f221"}.fa-venus-double:before{content:"\\f226"}.fa-venus-mars:before{content:"\\f228"}.fa-vest:before{content:"\\e085"}.fa-vest-patches:before{content:"\\e086"}.fa-viacoin:before{content:"\\f237"}.fa-viadeo:before{content:"\\f2a9"}.fa-viadeo-square:before{content:"\\f2aa"}.fa-vial:before{content:"\\f492"}.fa-vials:before{content:"\\f493"}.fa-viber:before{content:"\\f409"}.fa-video:before{content:"\\f03d"}.fa-video-slash:before{content:"\\f4e2"}.fa-vihara:before{content:"\\f6a7"}.fa-vimeo:before{content:"\\f40a"}.fa-vimeo-square:before{content:"\\f194"}.fa-vimeo-v:before{content:"\\f27d"}.fa-vine:before{content:"\\f1ca"}.fa-virus:before{content:"\\e074"}.fa-virus-slash:before{content:"\\e075"}.fa-viruses:before{content:"\\e076"}.fa-vk:before{content:"\\f189"}.fa-vnv:before{content:"\\f40b"}.fa-voicemail:before{content:"\\f897"}.fa-volleyball-ball:before{content:"\\f45f"}.fa-volume-down:before{content:"\\f027"}.fa-volume-mute:before{content:"\\f6a9"}.fa-volume-off:before{content:"\\f026"}.fa-volume-up:before{content:"\\f028"}.fa-vote-yea:before{content:"\\f772"}.fa-vr-cardboard:before{content:"\\f729"}.fa-vuejs:before{content:"\\f41f"}.fa-walking:before{content:"\\f554"}.fa-wallet:before{content:"\\f555"}.fa-warehouse:before{content:"\\f494"}.fa-watchman-monitoring:before{content:"\\e087"}.fa-water:before{content:"\\f773"}.fa-wave-square:before{content:"\\f83e"}.fa-waze:before{content:"\\f83f"}.fa-weebly:before{content:"\\f5cc"}.fa-weibo:before{content:"\\f18a"}.fa-weight:before{content:"\\f496"}.fa-weight-hanging:before{content:"\\f5cd"}.fa-weixin:before{content:"\\f1d7"}.fa-whatsapp:before{content:"\\f232"}.fa-whatsapp-square:before{content:"\\f40c"}.fa-wheelchair:before{content:"\\f193"}.fa-whmcs:before{content:"\\f40d"}.fa-wifi:before{content:"\\f1eb"}.fa-wikipedia-w:before{content:"\\f266"}.fa-wind:before{content:"\\f72e"}.fa-window-close:before{content:"\\f410"}.fa-window-maximize:before{content:"\\f2d0"}.fa-window-minimize:before{content:"\\f2d1"}.fa-window-restore:before{content:"\\f2d2"}.fa-windows:before{content:"\\f17a"}.fa-wine-bottle:before{content:"\\f72f"}.fa-wine-glass:before{content:"\\f4e3"}.fa-wine-glass-alt:before{content:"\\f5ce"}.fa-wix:before{content:"\\f5cf"}.fa-wizards-of-the-coast:before{content:"\\f730"}.fa-wodu:before{content:"\\e088"}.fa-wolf-pack-battalion:before{content:"\\f514"}.fa-won-sign:before{content:"\\f159"}.fa-wordpress:before{content:"\\f19a"}.fa-wordpress-simple:before{content:"\\f411"}.fa-wpbeginner:before{content:"\\f297"}.fa-wpexplorer:before{content:"\\f2de"}.fa-wpforms:before{content:"\\f298"}.fa-wpressr:before{content:"\\f3e4"}.fa-wrench:before{content:"\\f0ad"}.fa-x-ray:before{content:"\\f497"}.fa-xbox:before{content:"\\f412"}.fa-xing:before{content:"\\f168"}.fa-xing-square:before{content:"\\f169"}.fa-y-combinator:before{content:"\\f23b"}.fa-yahoo:before{content:"\\f19e"}.fa-yammer:before{content:"\\f840"}.fa-yandex:before{content:"\\f413"}.fa-yandex-international:before{content:"\\f414"}.fa-yarn:before{content:"\\f7e3"}.fa-yelp:before{content:"\\f1e9"}.fa-yen-sign:before{content:"\\f157"}.fa-yin-yang:before{content:"\\f6ad"}.fa-yoast:before{content:"\\f2b1"}.fa-youtube:before{content:"\\f167"}.fa-youtube-square:before{content:"\\f431"}.fa-zhihu:before{content:"\\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}'],sourceRoot:""}]);const $=B},7143:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,'/*!\n * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa.fa-glass:before{content:"\\f000"}.fa.fa-meetup{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-star-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-o:before{content:"\\f005"}.fa.fa-close:before,.fa.fa-remove:before{content:"\\f00d"}.fa.fa-gear:before{content:"\\f013"}.fa.fa-trash-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-trash-o:before{content:"\\f2ed"}.fa.fa-file-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-o:before{content:"\\f15b"}.fa.fa-clock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-clock-o:before{content:"\\f017"}.fa.fa-arrow-circle-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-down:before{content:"\\f358"}.fa.fa-arrow-circle-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-up:before{content:"\\f35b"}.fa.fa-play-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-play-circle-o:before{content:"\\f144"}.fa.fa-repeat:before,.fa.fa-rotate-right:before{content:"\\f01e"}.fa.fa-refresh:before{content:"\\f021"}.fa.fa-list-alt{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-dedent:before{content:"\\f03b"}.fa.fa-video-camera:before{content:"\\f03d"}.fa.fa-picture-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-picture-o:before{content:"\\f03e"}.fa.fa-photo{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-photo:before{content:"\\f03e"}.fa.fa-image{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-image:before{content:"\\f03e"}.fa.fa-pencil:before{content:"\\f303"}.fa.fa-map-marker:before{content:"\\f3c5"}.fa.fa-pencil-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-pencil-square-o:before{content:"\\f044"}.fa.fa-share-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-share-square-o:before{content:"\\f14d"}.fa.fa-check-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-check-square-o:before{content:"\\f14a"}.fa.fa-arrows:before{content:"\\f0b2"}.fa.fa-times-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-circle-o:before{content:"\\f057"}.fa.fa-check-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-check-circle-o:before{content:"\\f058"}.fa.fa-mail-forward:before{content:"\\f064"}.fa.fa-expand:before{content:"\\f424"}.fa.fa-compress:before{content:"\\f422"}.fa.fa-eye,.fa.fa-eye-slash{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-warning:before{content:"\\f071"}.fa.fa-calendar:before{content:"\\f073"}.fa.fa-arrows-v:before{content:"\\f338"}.fa.fa-arrows-h:before{content:"\\f337"}.fa.fa-bar-chart{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bar-chart:before{content:"\\f080"}.fa.fa-bar-chart-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bar-chart-o:before{content:"\\f080"}.fa.fa-facebook-square,.fa.fa-twitter-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-gears:before{content:"\\f085"}.fa.fa-thumbs-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-thumbs-o-up:before{content:"\\f164"}.fa.fa-thumbs-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-thumbs-o-down:before{content:"\\f165"}.fa.fa-heart-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-heart-o:before{content:"\\f004"}.fa.fa-sign-out:before{content:"\\f2f5"}.fa.fa-linkedin-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-linkedin-square:before{content:"\\f08c"}.fa.fa-thumb-tack:before{content:"\\f08d"}.fa.fa-external-link:before{content:"\\f35d"}.fa.fa-sign-in:before{content:"\\f2f6"}.fa.fa-github-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-lemon-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-lemon-o:before{content:"\\f094"}.fa.fa-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-square-o:before{content:"\\f0c8"}.fa.fa-bookmark-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bookmark-o:before{content:"\\f02e"}.fa.fa-facebook,.fa.fa-twitter{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook:before{content:"\\f39e"}.fa.fa-facebook-f{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook-f:before{content:"\\f39e"}.fa.fa-github{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-credit-card{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-feed:before{content:"\\f09e"}.fa.fa-hdd-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hdd-o:before{content:"\\f0a0"}.fa.fa-hand-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-right:before{content:"\\f0a4"}.fa.fa-hand-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-left:before{content:"\\f0a5"}.fa.fa-hand-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-up:before{content:"\\f0a6"}.fa.fa-hand-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-down:before{content:"\\f0a7"}.fa.fa-arrows-alt:before{content:"\\f31e"}.fa.fa-group:before{content:"\\f0c0"}.fa.fa-chain:before{content:"\\f0c1"}.fa.fa-scissors:before{content:"\\f0c4"}.fa.fa-files-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-files-o:before{content:"\\f0c5"}.fa.fa-floppy-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-floppy-o:before{content:"\\f0c7"}.fa.fa-navicon:before,.fa.fa-reorder:before{content:"\\f0c9"}.fa.fa-google-plus,.fa.fa-google-plus-square,.fa.fa-pinterest,.fa.fa-pinterest-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus:before{content:"\\f0d5"}.fa.fa-money{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-money:before{content:"\\f3d1"}.fa.fa-unsorted:before{content:"\\f0dc"}.fa.fa-sort-desc:before{content:"\\f0dd"}.fa.fa-sort-asc:before{content:"\\f0de"}.fa.fa-linkedin{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-linkedin:before{content:"\\f0e1"}.fa.fa-rotate-left:before{content:"\\f0e2"}.fa.fa-legal:before{content:"\\f0e3"}.fa.fa-dashboard:before,.fa.fa-tachometer:before{content:"\\f3fd"}.fa.fa-comment-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-comment-o:before{content:"\\f075"}.fa.fa-comments-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-comments-o:before{content:"\\f086"}.fa.fa-flash:before{content:"\\f0e7"}.fa.fa-clipboard,.fa.fa-paste{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-paste:before{content:"\\f328"}.fa.fa-lightbulb-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-lightbulb-o:before{content:"\\f0eb"}.fa.fa-exchange:before{content:"\\f362"}.fa.fa-cloud-download:before{content:"\\f381"}.fa.fa-cloud-upload:before{content:"\\f382"}.fa.fa-bell-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bell-o:before{content:"\\f0f3"}.fa.fa-cutlery:before{content:"\\f2e7"}.fa.fa-file-text-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-text-o:before{content:"\\f15c"}.fa.fa-building-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-building-o:before{content:"\\f1ad"}.fa.fa-hospital-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hospital-o:before{content:"\\f0f8"}.fa.fa-tablet:before{content:"\\f3fa"}.fa.fa-mobile-phone:before,.fa.fa-mobile:before{content:"\\f3cd"}.fa.fa-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-circle-o:before{content:"\\f111"}.fa.fa-mail-reply:before{content:"\\f3e5"}.fa.fa-github-alt{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-folder-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-folder-o:before{content:"\\f07b"}.fa.fa-folder-open-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-folder-open-o:before{content:"\\f07c"}.fa.fa-smile-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-smile-o:before{content:"\\f118"}.fa.fa-frown-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-frown-o:before{content:"\\f119"}.fa.fa-meh-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-meh-o:before{content:"\\f11a"}.fa.fa-keyboard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-keyboard-o:before{content:"\\f11c"}.fa.fa-flag-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-flag-o:before{content:"\\f024"}.fa.fa-mail-reply-all:before{content:"\\f122"}.fa.fa-star-half-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-o:before{content:"\\f089"}.fa.fa-star-half-empty{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-empty:before{content:"\\f089"}.fa.fa-star-half-full{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-full:before{content:"\\f089"}.fa.fa-code-fork:before{content:"\\f126"}.fa.fa-chain-broken:before{content:"\\f127"}.fa.fa-shield:before{content:"\\f3ed"}.fa.fa-calendar-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-o:before{content:"\\f133"}.fa.fa-css3,.fa.fa-html5,.fa.fa-maxcdn{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ticket:before{content:"\\f3ff"}.fa.fa-minus-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-minus-square-o:before{content:"\\f146"}.fa.fa-level-up:before{content:"\\f3bf"}.fa.fa-level-down:before{content:"\\f3be"}.fa.fa-pencil-square:before{content:"\\f14b"}.fa.fa-external-link-square:before{content:"\\f360"}.fa.fa-compass{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-down:before{content:"\\f150"}.fa.fa-toggle-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-down:before{content:"\\f150"}.fa.fa-caret-square-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-up:before{content:"\\f151"}.fa.fa-toggle-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-up:before{content:"\\f151"}.fa.fa-caret-square-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-right:before{content:"\\f152"}.fa.fa-toggle-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-right:before{content:"\\f152"}.fa.fa-eur:before,.fa.fa-euro:before{content:"\\f153"}.fa.fa-gbp:before{content:"\\f154"}.fa.fa-dollar:before,.fa.fa-usd:before{content:"\\f155"}.fa.fa-inr:before,.fa.fa-rupee:before{content:"\\f156"}.fa.fa-cny:before,.fa.fa-jpy:before,.fa.fa-rmb:before,.fa.fa-yen:before{content:"\\f157"}.fa.fa-rouble:before,.fa.fa-rub:before,.fa.fa-ruble:before{content:"\\f158"}.fa.fa-krw:before,.fa.fa-won:before{content:"\\f159"}.fa.fa-bitcoin,.fa.fa-btc{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bitcoin:before{content:"\\f15a"}.fa.fa-file-text:before{content:"\\f15c"}.fa.fa-sort-alpha-asc:before{content:"\\f15d"}.fa.fa-sort-alpha-desc:before{content:"\\f881"}.fa.fa-sort-amount-asc:before{content:"\\f160"}.fa.fa-sort-amount-desc:before{content:"\\f884"}.fa.fa-sort-numeric-asc:before{content:"\\f162"}.fa.fa-sort-numeric-desc:before{content:"\\f886"}.fa.fa-xing,.fa.fa-xing-square,.fa.fa-youtube,.fa.fa-youtube-play,.fa.fa-youtube-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-youtube-play:before{content:"\\f167"}.fa.fa-adn,.fa.fa-bitbucket,.fa.fa-bitbucket-square,.fa.fa-dropbox,.fa.fa-flickr,.fa.fa-instagram,.fa.fa-stack-overflow{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bitbucket-square:before{content:"\\f171"}.fa.fa-tumblr,.fa.fa-tumblr-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-long-arrow-down:before{content:"\\f309"}.fa.fa-long-arrow-up:before{content:"\\f30c"}.fa.fa-long-arrow-left:before{content:"\\f30a"}.fa.fa-long-arrow-right:before{content:"\\f30b"}.fa.fa-android,.fa.fa-apple,.fa.fa-dribbble,.fa.fa-foursquare,.fa.fa-gittip,.fa.fa-gratipay,.fa.fa-linux,.fa.fa-skype,.fa.fa-trello,.fa.fa-windows{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-gittip:before{content:"\\f184"}.fa.fa-sun-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-sun-o:before{content:"\\f185"}.fa.fa-moon-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-moon-o:before{content:"\\f186"}.fa.fa-pagelines,.fa.fa-renren,.fa.fa-stack-exchange,.fa.fa-vk,.fa.fa-weibo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-arrow-circle-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-right:before{content:"\\f35a"}.fa.fa-arrow-circle-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-left:before{content:"\\f359"}.fa.fa-caret-square-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-left:before{content:"\\f191"}.fa.fa-toggle-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-left:before{content:"\\f191"}.fa.fa-dot-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-dot-circle-o:before{content:"\\f192"}.fa.fa-vimeo-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-try:before,.fa.fa-turkish-lira:before{content:"\\f195"}.fa.fa-plus-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-plus-square-o:before{content:"\\f0fe"}.fa.fa-openid,.fa.fa-slack,.fa.fa-wordpress{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bank:before,.fa.fa-institution:before{content:"\\f19c"}.fa.fa-mortar-board:before{content:"\\f19d"}.fa.fa-delicious,.fa.fa-digg,.fa.fa-drupal,.fa.fa-google,.fa.fa-joomla,.fa.fa-pied-piper-alt,.fa.fa-pied-piper-pp,.fa.fa-reddit,.fa.fa-reddit-square,.fa.fa-stumbleupon,.fa.fa-stumbleupon-circle,.fa.fa-yahoo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-spoon:before{content:"\\f2e5"}.fa.fa-behance,.fa.fa-behance-square,.fa.fa-steam,.fa.fa-steam-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-automobile:before{content:"\\f1b9"}.fa.fa-envelope-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-envelope-o:before{content:"\\f0e0"}.fa.fa-deviantart,.fa.fa-soundcloud,.fa.fa-spotify{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-file-pdf-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-pdf-o:before{content:"\\f1c1"}.fa.fa-file-word-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-word-o:before{content:"\\f1c2"}.fa.fa-file-excel-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-excel-o:before{content:"\\f1c3"}.fa.fa-file-powerpoint-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-powerpoint-o:before{content:"\\f1c4"}.fa.fa-file-image-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-image-o:before{content:"\\f1c5"}.fa.fa-file-photo-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-photo-o:before{content:"\\f1c5"}.fa.fa-file-picture-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-picture-o:before{content:"\\f1c5"}.fa.fa-file-archive-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-archive-o:before{content:"\\f1c6"}.fa.fa-file-zip-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-zip-o:before{content:"\\f1c6"}.fa.fa-file-audio-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-audio-o:before{content:"\\f1c7"}.fa.fa-file-sound-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-sound-o:before{content:"\\f1c7"}.fa.fa-file-video-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-video-o:before{content:"\\f1c8"}.fa.fa-file-movie-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-movie-o:before{content:"\\f1c8"}.fa.fa-file-code-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-code-o:before{content:"\\f1c9"}.fa.fa-codepen,.fa.fa-jsfiddle,.fa.fa-vine{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-life-bouy,.fa.fa-life-ring{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-bouy:before{content:"\\f1cd"}.fa.fa-life-buoy{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-buoy:before{content:"\\f1cd"}.fa.fa-life-saver{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-saver:before{content:"\\f1cd"}.fa.fa-support{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-support:before{content:"\\f1cd"}.fa.fa-circle-o-notch:before{content:"\\f1ce"}.fa.fa-ra,.fa.fa-rebel{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ra:before{content:"\\f1d0"}.fa.fa-resistance{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-resistance:before{content:"\\f1d0"}.fa.fa-empire,.fa.fa-ge{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ge:before{content:"\\f1d1"}.fa.fa-git,.fa.fa-git-square,.fa.fa-hacker-news,.fa.fa-y-combinator-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-y-combinator-square:before{content:"\\f1d4"}.fa.fa-yc-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-yc-square:before{content:"\\f1d4"}.fa.fa-qq,.fa.fa-tencent-weibo,.fa.fa-wechat,.fa.fa-weixin{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-wechat:before{content:"\\f1d7"}.fa.fa-send:before{content:"\\f1d8"}.fa.fa-paper-plane-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-paper-plane-o:before{content:"\\f1d8"}.fa.fa-send-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-send-o:before{content:"\\f1d8"}.fa.fa-circle-thin{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-circle-thin:before{content:"\\f111"}.fa.fa-header:before{content:"\\f1dc"}.fa.fa-sliders:before{content:"\\f1de"}.fa.fa-futbol-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-futbol-o:before{content:"\\f1e3"}.fa.fa-soccer-ball-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-soccer-ball-o:before{content:"\\f1e3"}.fa.fa-slideshare,.fa.fa-twitch,.fa.fa-yelp{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-newspaper-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-newspaper-o:before{content:"\\f1ea"}.fa.fa-cc-amex,.fa.fa-cc-discover,.fa.fa-cc-mastercard,.fa.fa-cc-paypal,.fa.fa-cc-stripe,.fa.fa-cc-visa,.fa.fa-google-wallet,.fa.fa-paypal{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bell-slash-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bell-slash-o:before{content:"\\f1f6"}.fa.fa-trash:before{content:"\\f2ed"}.fa.fa-copyright{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-eyedropper:before{content:"\\f1fb"}.fa.fa-area-chart:before{content:"\\f1fe"}.fa.fa-pie-chart:before{content:"\\f200"}.fa.fa-line-chart:before{content:"\\f201"}.fa.fa-angellist,.fa.fa-ioxhost,.fa.fa-lastfm,.fa.fa-lastfm-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-cc{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-cc:before{content:"\\f20a"}.fa.fa-ils:before,.fa.fa-shekel:before,.fa.fa-sheqel:before{content:"\\f20b"}.fa.fa-meanpath{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-meanpath:before{content:"\\f2b4"}.fa.fa-buysellads,.fa.fa-connectdevelop,.fa.fa-dashcube,.fa.fa-forumbee,.fa.fa-leanpub,.fa.fa-sellsy,.fa.fa-shirtsinbulk,.fa.fa-simplybuilt,.fa.fa-skyatlas{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-diamond{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-diamond:before{content:"\\f3a5"}.fa.fa-intersex:before{content:"\\f224"}.fa.fa-facebook-official{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook-official:before{content:"\\f09a"}.fa.fa-pinterest-p,.fa.fa-whatsapp{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-hotel:before{content:"\\f236"}.fa.fa-medium,.fa.fa-viacoin,.fa.fa-y-combinator,.fa.fa-yc{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-yc:before{content:"\\f23b"}.fa.fa-expeditedssl,.fa.fa-opencart,.fa.fa-optin-monster{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-battery-4:before,.fa.fa-battery:before{content:"\\f240"}.fa.fa-battery-3:before{content:"\\f241"}.fa.fa-battery-2:before{content:"\\f242"}.fa.fa-battery-1:before{content:"\\f243"}.fa.fa-battery-0:before{content:"\\f244"}.fa.fa-object-group,.fa.fa-object-ungroup,.fa.fa-sticky-note-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-sticky-note-o:before{content:"\\f249"}.fa.fa-cc-diners-club,.fa.fa-cc-jcb{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-clone,.fa.fa-hourglass-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hourglass-o:before{content:"\\f254"}.fa.fa-hourglass-1:before{content:"\\f251"}.fa.fa-hourglass-2:before{content:"\\f252"}.fa.fa-hourglass-3:before{content:"\\f253"}.fa.fa-hand-rock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-rock-o:before{content:"\\f255"}.fa.fa-hand-grab-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-grab-o:before{content:"\\f255"}.fa.fa-hand-paper-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-paper-o:before{content:"\\f256"}.fa.fa-hand-stop-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-stop-o:before{content:"\\f256"}.fa.fa-hand-scissors-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-scissors-o:before{content:"\\f257"}.fa.fa-hand-lizard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-lizard-o:before{content:"\\f258"}.fa.fa-hand-spock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-spock-o:before{content:"\\f259"}.fa.fa-hand-pointer-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-pointer-o:before{content:"\\f25a"}.fa.fa-hand-peace-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-peace-o:before{content:"\\f25b"}.fa.fa-registered{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-chrome,.fa.fa-creative-commons,.fa.fa-firefox,.fa.fa-get-pocket,.fa.fa-gg,.fa.fa-gg-circle,.fa.fa-internet-explorer,.fa.fa-odnoklassniki,.fa.fa-odnoklassniki-square,.fa.fa-opera,.fa.fa-safari,.fa.fa-tripadvisor,.fa.fa-wikipedia-w{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-television:before{content:"\\f26c"}.fa.fa-500px,.fa.fa-amazon,.fa.fa-contao{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-calendar-plus-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-plus-o:before{content:"\\f271"}.fa.fa-calendar-minus-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-minus-o:before{content:"\\f272"}.fa.fa-calendar-times-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-times-o:before{content:"\\f273"}.fa.fa-calendar-check-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-check-o:before{content:"\\f274"}.fa.fa-map-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-map-o:before{content:"\\f279"}.fa.fa-commenting:before{content:"\\f4ad"}.fa.fa-commenting-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-commenting-o:before{content:"\\f4ad"}.fa.fa-houzz,.fa.fa-vimeo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-vimeo:before{content:"\\f27d"}.fa.fa-black-tie,.fa.fa-edge,.fa.fa-fonticons,.fa.fa-reddit-alien{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-credit-card-alt:before{content:"\\f09d"}.fa.fa-codiepie,.fa.fa-fort-awesome,.fa.fa-mixcloud,.fa.fa-modx,.fa.fa-product-hunt,.fa.fa-scribd,.fa.fa-usb{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-pause-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-pause-circle-o:before{content:"\\f28b"}.fa.fa-stop-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-stop-circle-o:before{content:"\\f28d"}.fa.fa-bluetooth,.fa.fa-bluetooth-b,.fa.fa-envira,.fa.fa-gitlab,.fa.fa-wheelchair-alt,.fa.fa-wpbeginner,.fa.fa-wpforms{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-wheelchair-alt:before{content:"\\f368"}.fa.fa-question-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-question-circle-o:before{content:"\\f059"}.fa.fa-volume-control-phone:before{content:"\\f2a0"}.fa.fa-asl-interpreting:before{content:"\\f2a3"}.fa.fa-deafness:before,.fa.fa-hard-of-hearing:before{content:"\\f2a4"}.fa.fa-glide,.fa.fa-glide-g{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-signing:before{content:"\\f2a7"}.fa.fa-first-order,.fa.fa-google-plus-official,.fa.fa-pied-piper,.fa.fa-snapchat,.fa.fa-snapchat-ghost,.fa.fa-snapchat-square,.fa.fa-themeisle,.fa.fa-viadeo,.fa.fa-viadeo-square,.fa.fa-yoast{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus-official:before{content:"\\f2b3"}.fa.fa-google-plus-circle{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus-circle:before{content:"\\f2b3"}.fa.fa-fa,.fa.fa-font-awesome{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-fa:before{content:"\\f2b4"}.fa.fa-handshake-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-handshake-o:before{content:"\\f2b5"}.fa.fa-envelope-open-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-envelope-open-o:before{content:"\\f2b6"}.fa.fa-linode{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-address-book-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-address-book-o:before{content:"\\f2b9"}.fa.fa-vcard:before{content:"\\f2bb"}.fa.fa-address-card-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-address-card-o:before{content:"\\f2bb"}.fa.fa-vcard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-vcard-o:before{content:"\\f2bb"}.fa.fa-user-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-user-circle-o:before{content:"\\f2bd"}.fa.fa-user-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-user-o:before{content:"\\f007"}.fa.fa-id-badge{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-drivers-license:before{content:"\\f2c2"}.fa.fa-id-card-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-id-card-o:before{content:"\\f2c2"}.fa.fa-drivers-license-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-drivers-license-o:before{content:"\\f2c2"}.fa.fa-free-code-camp,.fa.fa-quora,.fa.fa-telegram{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-thermometer-4:before,.fa.fa-thermometer:before{content:"\\f2c7"}.fa.fa-thermometer-3:before{content:"\\f2c8"}.fa.fa-thermometer-2:before{content:"\\f2c9"}.fa.fa-thermometer-1:before{content:"\\f2ca"}.fa.fa-thermometer-0:before{content:"\\f2cb"}.fa.fa-bathtub:before,.fa.fa-s15:before{content:"\\f2cd"}.fa.fa-window-maximize,.fa.fa-window-restore{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-rectangle:before{content:"\\f410"}.fa.fa-window-close-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-window-close-o:before{content:"\\f410"}.fa.fa-times-rectangle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-rectangle-o:before{content:"\\f410"}.fa.fa-bandcamp,.fa.fa-eercast,.fa.fa-etsy,.fa.fa-grav,.fa.fa-imdb,.fa.fa-ravelry{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-eercast:before{content:"\\f2da"}.fa.fa-snowflake-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-snowflake-o:before{content:"\\f2dc"}.fa.fa-superpowers,.fa.fa-wpexplorer{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-cab:before{content:"\\f1ba"}',"",{version:3,sources:["webpack://./../../node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css"],names:[],mappings:"AAAA;;;EAGE;AACF,oBAAoB,eAAe,CAAC,cAAc,mCAAmC,CAAC,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,yCAAyC,eAAe,CAAC,mBAAmB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,2BAA2B,iCAAiC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,gDAAgD,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,4BAA4B,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,6CAA6C,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,mCAAmC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,yBAAyB,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,mCAAmC,CAAC,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,+BAA+B,mCAAmC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,mCAAmC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,cAAc,mCAAmC,CAAC,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,mBAAmB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,4CAA4C,eAAe,CAAC,sFAAsF,mCAAmC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,mCAAmC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,eAAe,CAAC,iDAAiD,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,8BAA8B,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,2BAA2B,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gDAAgD,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,mCAAmC,CAAC,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,6BAA6B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,uCAAuC,mCAAmC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,4BAA4B,eAAe,CAAC,mCAAmC,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,iCAAiC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,iCAAiC,CAAC,eAAe,CAAC,mCAAmC,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,qCAAqC,eAAe,CAAC,kBAAkB,eAAe,CAAC,uCAAuC,eAAe,CAAC,sCAAsC,eAAe,CAAC,wEAAwE,eAAe,CAAC,2DAA2D,eAAe,CAAC,oCAAoC,eAAe,CAAC,0BAA0B,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,6BAA6B,eAAe,CAAC,8BAA8B,eAAe,CAAC,8BAA8B,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,gCAAgC,eAAe,CAAC,wFAAwF,mCAAmC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,wHAAwH,mCAAmC,CAAC,eAAe,CAAC,+BAA+B,eAAe,CAAC,mCAAmC,mCAAmC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,4BAA4B,eAAe,CAAC,8BAA8B,eAAe,CAAC,+BAA+B,eAAe,CAAC,mJAAmJ,mCAAmC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,4EAA4E,mCAAmC,CAAC,eAAe,CAAC,4BAA4B,iCAAiC,CAAC,eAAe,CAAC,mCAAmC,eAAe,CAAC,2BAA2B,iCAAiC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,2BAA2B,iCAAiC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,mCAAmC,CAAC,eAAe,CAAC,6CAA6C,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,4CAA4C,mCAAmC,CAAC,eAAe,CAAC,6CAA6C,eAAe,CAAC,2BAA2B,eAAe,CAAC,+MAA+M,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,sEAAsE,mCAAmC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,mDAAmD,mCAAmC,CAAC,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,2CAA2C,mCAAmC,CAAC,eAAe,CAAC,kCAAkC,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,6BAA6B,eAAe,CAAC,uBAAuB,mCAAmC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,mCAAmC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,mCAAmC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,2EAA2E,mCAAmC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,iBAAiB,mCAAmC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,2DAA2D,mCAAmC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,4CAA4C,mCAAmC,CAAC,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,2IAA2I,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mEAAmE,mCAAmC,CAAC,eAAe,CAAC,UAAU,iCAAiC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,4DAA4D,eAAe,CAAC,gBAAgB,mCAAmC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,4JAA4J,mCAAmC,CAAC,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,mCAAmC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,mCAAmC,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,2DAA2D,mCAAmC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,yDAAyD,mCAAmC,CAAC,eAAe,CAAC,8CAA8C,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,+DAA+D,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,oCAAoC,mCAAmC,CAAC,eAAe,CAAC,gCAAgC,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,6OAA6O,mCAAmC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,yCAAyC,mCAAmC,CAAC,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,wBAAwB,iCAAiC,CAAC,eAAe,CAAC,+BAA+B,eAAe,CAAC,wBAAwB,iCAAiC,CAAC,eAAe,CAAC,+BAA+B,eAAe,CAAC,wBAAwB,iCAAiC,CAAC,eAAe,CAAC,+BAA+B,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,0BAA0B,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,kEAAkE,mCAAmC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,6GAA6G,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,uHAAuH,mCAAmC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,mCAAmC,eAAe,CAAC,+BAA+B,eAAe,CAAC,qDAAqD,eAAe,CAAC,4BAA4B,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,+LAA+L,mCAAmC,CAAC,eAAe,CAAC,mCAAmC,eAAe,CAAC,0BAA0B,mCAAmC,CAAC,eAAe,CAAC,iCAAiC,eAAe,CAAC,8BAA8B,mCAAmC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,cAAc,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,mDAAmD,mCAAmC,CAAC,eAAe,CAAC,sDAAsD,eAAe,CAAC,4BAA4B,eAAe,CAAC,4BAA4B,eAAe,CAAC,4BAA4B,eAAe,CAAC,4BAA4B,eAAe,CAAC,wCAAwC,eAAe,CAAC,6CAA6C,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,kFAAkF,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,qCAAqC,mCAAmC,CAAC,eAAe,CAAC,kBAAkB,eAAe",sourcesContent:['/*!\n * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa.fa-glass:before{content:"\\f000"}.fa.fa-meetup{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-star-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-o:before{content:"\\f005"}.fa.fa-close:before,.fa.fa-remove:before{content:"\\f00d"}.fa.fa-gear:before{content:"\\f013"}.fa.fa-trash-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-trash-o:before{content:"\\f2ed"}.fa.fa-file-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-o:before{content:"\\f15b"}.fa.fa-clock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-clock-o:before{content:"\\f017"}.fa.fa-arrow-circle-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-down:before{content:"\\f358"}.fa.fa-arrow-circle-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-up:before{content:"\\f35b"}.fa.fa-play-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-play-circle-o:before{content:"\\f144"}.fa.fa-repeat:before,.fa.fa-rotate-right:before{content:"\\f01e"}.fa.fa-refresh:before{content:"\\f021"}.fa.fa-list-alt{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-dedent:before{content:"\\f03b"}.fa.fa-video-camera:before{content:"\\f03d"}.fa.fa-picture-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-picture-o:before{content:"\\f03e"}.fa.fa-photo{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-photo:before{content:"\\f03e"}.fa.fa-image{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-image:before{content:"\\f03e"}.fa.fa-pencil:before{content:"\\f303"}.fa.fa-map-marker:before{content:"\\f3c5"}.fa.fa-pencil-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-pencil-square-o:before{content:"\\f044"}.fa.fa-share-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-share-square-o:before{content:"\\f14d"}.fa.fa-check-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-check-square-o:before{content:"\\f14a"}.fa.fa-arrows:before{content:"\\f0b2"}.fa.fa-times-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-circle-o:before{content:"\\f057"}.fa.fa-check-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-check-circle-o:before{content:"\\f058"}.fa.fa-mail-forward:before{content:"\\f064"}.fa.fa-expand:before{content:"\\f424"}.fa.fa-compress:before{content:"\\f422"}.fa.fa-eye,.fa.fa-eye-slash{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-warning:before{content:"\\f071"}.fa.fa-calendar:before{content:"\\f073"}.fa.fa-arrows-v:before{content:"\\f338"}.fa.fa-arrows-h:before{content:"\\f337"}.fa.fa-bar-chart{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bar-chart:before{content:"\\f080"}.fa.fa-bar-chart-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bar-chart-o:before{content:"\\f080"}.fa.fa-facebook-square,.fa.fa-twitter-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-gears:before{content:"\\f085"}.fa.fa-thumbs-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-thumbs-o-up:before{content:"\\f164"}.fa.fa-thumbs-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-thumbs-o-down:before{content:"\\f165"}.fa.fa-heart-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-heart-o:before{content:"\\f004"}.fa.fa-sign-out:before{content:"\\f2f5"}.fa.fa-linkedin-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-linkedin-square:before{content:"\\f08c"}.fa.fa-thumb-tack:before{content:"\\f08d"}.fa.fa-external-link:before{content:"\\f35d"}.fa.fa-sign-in:before{content:"\\f2f6"}.fa.fa-github-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-lemon-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-lemon-o:before{content:"\\f094"}.fa.fa-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-square-o:before{content:"\\f0c8"}.fa.fa-bookmark-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bookmark-o:before{content:"\\f02e"}.fa.fa-facebook,.fa.fa-twitter{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook:before{content:"\\f39e"}.fa.fa-facebook-f{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook-f:before{content:"\\f39e"}.fa.fa-github{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-credit-card{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-feed:before{content:"\\f09e"}.fa.fa-hdd-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hdd-o:before{content:"\\f0a0"}.fa.fa-hand-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-right:before{content:"\\f0a4"}.fa.fa-hand-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-left:before{content:"\\f0a5"}.fa.fa-hand-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-up:before{content:"\\f0a6"}.fa.fa-hand-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-down:before{content:"\\f0a7"}.fa.fa-arrows-alt:before{content:"\\f31e"}.fa.fa-group:before{content:"\\f0c0"}.fa.fa-chain:before{content:"\\f0c1"}.fa.fa-scissors:before{content:"\\f0c4"}.fa.fa-files-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-files-o:before{content:"\\f0c5"}.fa.fa-floppy-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-floppy-o:before{content:"\\f0c7"}.fa.fa-navicon:before,.fa.fa-reorder:before{content:"\\f0c9"}.fa.fa-google-plus,.fa.fa-google-plus-square,.fa.fa-pinterest,.fa.fa-pinterest-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus:before{content:"\\f0d5"}.fa.fa-money{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-money:before{content:"\\f3d1"}.fa.fa-unsorted:before{content:"\\f0dc"}.fa.fa-sort-desc:before{content:"\\f0dd"}.fa.fa-sort-asc:before{content:"\\f0de"}.fa.fa-linkedin{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-linkedin:before{content:"\\f0e1"}.fa.fa-rotate-left:before{content:"\\f0e2"}.fa.fa-legal:before{content:"\\f0e3"}.fa.fa-dashboard:before,.fa.fa-tachometer:before{content:"\\f3fd"}.fa.fa-comment-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-comment-o:before{content:"\\f075"}.fa.fa-comments-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-comments-o:before{content:"\\f086"}.fa.fa-flash:before{content:"\\f0e7"}.fa.fa-clipboard,.fa.fa-paste{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-paste:before{content:"\\f328"}.fa.fa-lightbulb-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-lightbulb-o:before{content:"\\f0eb"}.fa.fa-exchange:before{content:"\\f362"}.fa.fa-cloud-download:before{content:"\\f381"}.fa.fa-cloud-upload:before{content:"\\f382"}.fa.fa-bell-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bell-o:before{content:"\\f0f3"}.fa.fa-cutlery:before{content:"\\f2e7"}.fa.fa-file-text-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-text-o:before{content:"\\f15c"}.fa.fa-building-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-building-o:before{content:"\\f1ad"}.fa.fa-hospital-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hospital-o:before{content:"\\f0f8"}.fa.fa-tablet:before{content:"\\f3fa"}.fa.fa-mobile-phone:before,.fa.fa-mobile:before{content:"\\f3cd"}.fa.fa-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-circle-o:before{content:"\\f111"}.fa.fa-mail-reply:before{content:"\\f3e5"}.fa.fa-github-alt{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-folder-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-folder-o:before{content:"\\f07b"}.fa.fa-folder-open-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-folder-open-o:before{content:"\\f07c"}.fa.fa-smile-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-smile-o:before{content:"\\f118"}.fa.fa-frown-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-frown-o:before{content:"\\f119"}.fa.fa-meh-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-meh-o:before{content:"\\f11a"}.fa.fa-keyboard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-keyboard-o:before{content:"\\f11c"}.fa.fa-flag-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-flag-o:before{content:"\\f024"}.fa.fa-mail-reply-all:before{content:"\\f122"}.fa.fa-star-half-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-o:before{content:"\\f089"}.fa.fa-star-half-empty{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-empty:before{content:"\\f089"}.fa.fa-star-half-full{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-full:before{content:"\\f089"}.fa.fa-code-fork:before{content:"\\f126"}.fa.fa-chain-broken:before{content:"\\f127"}.fa.fa-shield:before{content:"\\f3ed"}.fa.fa-calendar-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-o:before{content:"\\f133"}.fa.fa-css3,.fa.fa-html5,.fa.fa-maxcdn{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ticket:before{content:"\\f3ff"}.fa.fa-minus-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-minus-square-o:before{content:"\\f146"}.fa.fa-level-up:before{content:"\\f3bf"}.fa.fa-level-down:before{content:"\\f3be"}.fa.fa-pencil-square:before{content:"\\f14b"}.fa.fa-external-link-square:before{content:"\\f360"}.fa.fa-compass{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-down:before{content:"\\f150"}.fa.fa-toggle-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-down:before{content:"\\f150"}.fa.fa-caret-square-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-up:before{content:"\\f151"}.fa.fa-toggle-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-up:before{content:"\\f151"}.fa.fa-caret-square-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-right:before{content:"\\f152"}.fa.fa-toggle-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-right:before{content:"\\f152"}.fa.fa-eur:before,.fa.fa-euro:before{content:"\\f153"}.fa.fa-gbp:before{content:"\\f154"}.fa.fa-dollar:before,.fa.fa-usd:before{content:"\\f155"}.fa.fa-inr:before,.fa.fa-rupee:before{content:"\\f156"}.fa.fa-cny:before,.fa.fa-jpy:before,.fa.fa-rmb:before,.fa.fa-yen:before{content:"\\f157"}.fa.fa-rouble:before,.fa.fa-rub:before,.fa.fa-ruble:before{content:"\\f158"}.fa.fa-krw:before,.fa.fa-won:before{content:"\\f159"}.fa.fa-bitcoin,.fa.fa-btc{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bitcoin:before{content:"\\f15a"}.fa.fa-file-text:before{content:"\\f15c"}.fa.fa-sort-alpha-asc:before{content:"\\f15d"}.fa.fa-sort-alpha-desc:before{content:"\\f881"}.fa.fa-sort-amount-asc:before{content:"\\f160"}.fa.fa-sort-amount-desc:before{content:"\\f884"}.fa.fa-sort-numeric-asc:before{content:"\\f162"}.fa.fa-sort-numeric-desc:before{content:"\\f886"}.fa.fa-xing,.fa.fa-xing-square,.fa.fa-youtube,.fa.fa-youtube-play,.fa.fa-youtube-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-youtube-play:before{content:"\\f167"}.fa.fa-adn,.fa.fa-bitbucket,.fa.fa-bitbucket-square,.fa.fa-dropbox,.fa.fa-flickr,.fa.fa-instagram,.fa.fa-stack-overflow{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bitbucket-square:before{content:"\\f171"}.fa.fa-tumblr,.fa.fa-tumblr-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-long-arrow-down:before{content:"\\f309"}.fa.fa-long-arrow-up:before{content:"\\f30c"}.fa.fa-long-arrow-left:before{content:"\\f30a"}.fa.fa-long-arrow-right:before{content:"\\f30b"}.fa.fa-android,.fa.fa-apple,.fa.fa-dribbble,.fa.fa-foursquare,.fa.fa-gittip,.fa.fa-gratipay,.fa.fa-linux,.fa.fa-skype,.fa.fa-trello,.fa.fa-windows{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-gittip:before{content:"\\f184"}.fa.fa-sun-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-sun-o:before{content:"\\f185"}.fa.fa-moon-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-moon-o:before{content:"\\f186"}.fa.fa-pagelines,.fa.fa-renren,.fa.fa-stack-exchange,.fa.fa-vk,.fa.fa-weibo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-arrow-circle-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-right:before{content:"\\f35a"}.fa.fa-arrow-circle-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-left:before{content:"\\f359"}.fa.fa-caret-square-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-left:before{content:"\\f191"}.fa.fa-toggle-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-left:before{content:"\\f191"}.fa.fa-dot-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-dot-circle-o:before{content:"\\f192"}.fa.fa-vimeo-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-try:before,.fa.fa-turkish-lira:before{content:"\\f195"}.fa.fa-plus-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-plus-square-o:before{content:"\\f0fe"}.fa.fa-openid,.fa.fa-slack,.fa.fa-wordpress{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bank:before,.fa.fa-institution:before{content:"\\f19c"}.fa.fa-mortar-board:before{content:"\\f19d"}.fa.fa-delicious,.fa.fa-digg,.fa.fa-drupal,.fa.fa-google,.fa.fa-joomla,.fa.fa-pied-piper-alt,.fa.fa-pied-piper-pp,.fa.fa-reddit,.fa.fa-reddit-square,.fa.fa-stumbleupon,.fa.fa-stumbleupon-circle,.fa.fa-yahoo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-spoon:before{content:"\\f2e5"}.fa.fa-behance,.fa.fa-behance-square,.fa.fa-steam,.fa.fa-steam-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-automobile:before{content:"\\f1b9"}.fa.fa-envelope-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-envelope-o:before{content:"\\f0e0"}.fa.fa-deviantart,.fa.fa-soundcloud,.fa.fa-spotify{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-file-pdf-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-pdf-o:before{content:"\\f1c1"}.fa.fa-file-word-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-word-o:before{content:"\\f1c2"}.fa.fa-file-excel-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-excel-o:before{content:"\\f1c3"}.fa.fa-file-powerpoint-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-powerpoint-o:before{content:"\\f1c4"}.fa.fa-file-image-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-image-o:before{content:"\\f1c5"}.fa.fa-file-photo-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-photo-o:before{content:"\\f1c5"}.fa.fa-file-picture-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-picture-o:before{content:"\\f1c5"}.fa.fa-file-archive-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-archive-o:before{content:"\\f1c6"}.fa.fa-file-zip-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-zip-o:before{content:"\\f1c6"}.fa.fa-file-audio-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-audio-o:before{content:"\\f1c7"}.fa.fa-file-sound-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-sound-o:before{content:"\\f1c7"}.fa.fa-file-video-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-video-o:before{content:"\\f1c8"}.fa.fa-file-movie-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-movie-o:before{content:"\\f1c8"}.fa.fa-file-code-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-code-o:before{content:"\\f1c9"}.fa.fa-codepen,.fa.fa-jsfiddle,.fa.fa-vine{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-life-bouy,.fa.fa-life-ring{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-bouy:before{content:"\\f1cd"}.fa.fa-life-buoy{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-buoy:before{content:"\\f1cd"}.fa.fa-life-saver{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-saver:before{content:"\\f1cd"}.fa.fa-support{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-support:before{content:"\\f1cd"}.fa.fa-circle-o-notch:before{content:"\\f1ce"}.fa.fa-ra,.fa.fa-rebel{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ra:before{content:"\\f1d0"}.fa.fa-resistance{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-resistance:before{content:"\\f1d0"}.fa.fa-empire,.fa.fa-ge{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ge:before{content:"\\f1d1"}.fa.fa-git,.fa.fa-git-square,.fa.fa-hacker-news,.fa.fa-y-combinator-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-y-combinator-square:before{content:"\\f1d4"}.fa.fa-yc-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-yc-square:before{content:"\\f1d4"}.fa.fa-qq,.fa.fa-tencent-weibo,.fa.fa-wechat,.fa.fa-weixin{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-wechat:before{content:"\\f1d7"}.fa.fa-send:before{content:"\\f1d8"}.fa.fa-paper-plane-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-paper-plane-o:before{content:"\\f1d8"}.fa.fa-send-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-send-o:before{content:"\\f1d8"}.fa.fa-circle-thin{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-circle-thin:before{content:"\\f111"}.fa.fa-header:before{content:"\\f1dc"}.fa.fa-sliders:before{content:"\\f1de"}.fa.fa-futbol-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-futbol-o:before{content:"\\f1e3"}.fa.fa-soccer-ball-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-soccer-ball-o:before{content:"\\f1e3"}.fa.fa-slideshare,.fa.fa-twitch,.fa.fa-yelp{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-newspaper-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-newspaper-o:before{content:"\\f1ea"}.fa.fa-cc-amex,.fa.fa-cc-discover,.fa.fa-cc-mastercard,.fa.fa-cc-paypal,.fa.fa-cc-stripe,.fa.fa-cc-visa,.fa.fa-google-wallet,.fa.fa-paypal{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bell-slash-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bell-slash-o:before{content:"\\f1f6"}.fa.fa-trash:before{content:"\\f2ed"}.fa.fa-copyright{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-eyedropper:before{content:"\\f1fb"}.fa.fa-area-chart:before{content:"\\f1fe"}.fa.fa-pie-chart:before{content:"\\f200"}.fa.fa-line-chart:before{content:"\\f201"}.fa.fa-angellist,.fa.fa-ioxhost,.fa.fa-lastfm,.fa.fa-lastfm-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-cc{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-cc:before{content:"\\f20a"}.fa.fa-ils:before,.fa.fa-shekel:before,.fa.fa-sheqel:before{content:"\\f20b"}.fa.fa-meanpath{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-meanpath:before{content:"\\f2b4"}.fa.fa-buysellads,.fa.fa-connectdevelop,.fa.fa-dashcube,.fa.fa-forumbee,.fa.fa-leanpub,.fa.fa-sellsy,.fa.fa-shirtsinbulk,.fa.fa-simplybuilt,.fa.fa-skyatlas{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-diamond{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-diamond:before{content:"\\f3a5"}.fa.fa-intersex:before{content:"\\f224"}.fa.fa-facebook-official{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook-official:before{content:"\\f09a"}.fa.fa-pinterest-p,.fa.fa-whatsapp{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-hotel:before{content:"\\f236"}.fa.fa-medium,.fa.fa-viacoin,.fa.fa-y-combinator,.fa.fa-yc{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-yc:before{content:"\\f23b"}.fa.fa-expeditedssl,.fa.fa-opencart,.fa.fa-optin-monster{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-battery-4:before,.fa.fa-battery:before{content:"\\f240"}.fa.fa-battery-3:before{content:"\\f241"}.fa.fa-battery-2:before{content:"\\f242"}.fa.fa-battery-1:before{content:"\\f243"}.fa.fa-battery-0:before{content:"\\f244"}.fa.fa-object-group,.fa.fa-object-ungroup,.fa.fa-sticky-note-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-sticky-note-o:before{content:"\\f249"}.fa.fa-cc-diners-club,.fa.fa-cc-jcb{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-clone,.fa.fa-hourglass-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hourglass-o:before{content:"\\f254"}.fa.fa-hourglass-1:before{content:"\\f251"}.fa.fa-hourglass-2:before{content:"\\f252"}.fa.fa-hourglass-3:before{content:"\\f253"}.fa.fa-hand-rock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-rock-o:before{content:"\\f255"}.fa.fa-hand-grab-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-grab-o:before{content:"\\f255"}.fa.fa-hand-paper-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-paper-o:before{content:"\\f256"}.fa.fa-hand-stop-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-stop-o:before{content:"\\f256"}.fa.fa-hand-scissors-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-scissors-o:before{content:"\\f257"}.fa.fa-hand-lizard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-lizard-o:before{content:"\\f258"}.fa.fa-hand-spock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-spock-o:before{content:"\\f259"}.fa.fa-hand-pointer-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-pointer-o:before{content:"\\f25a"}.fa.fa-hand-peace-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-peace-o:before{content:"\\f25b"}.fa.fa-registered{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-chrome,.fa.fa-creative-commons,.fa.fa-firefox,.fa.fa-get-pocket,.fa.fa-gg,.fa.fa-gg-circle,.fa.fa-internet-explorer,.fa.fa-odnoklassniki,.fa.fa-odnoklassniki-square,.fa.fa-opera,.fa.fa-safari,.fa.fa-tripadvisor,.fa.fa-wikipedia-w{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-television:before{content:"\\f26c"}.fa.fa-500px,.fa.fa-amazon,.fa.fa-contao{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-calendar-plus-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-plus-o:before{content:"\\f271"}.fa.fa-calendar-minus-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-minus-o:before{content:"\\f272"}.fa.fa-calendar-times-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-times-o:before{content:"\\f273"}.fa.fa-calendar-check-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-check-o:before{content:"\\f274"}.fa.fa-map-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-map-o:before{content:"\\f279"}.fa.fa-commenting:before{content:"\\f4ad"}.fa.fa-commenting-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-commenting-o:before{content:"\\f4ad"}.fa.fa-houzz,.fa.fa-vimeo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-vimeo:before{content:"\\f27d"}.fa.fa-black-tie,.fa.fa-edge,.fa.fa-fonticons,.fa.fa-reddit-alien{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-credit-card-alt:before{content:"\\f09d"}.fa.fa-codiepie,.fa.fa-fort-awesome,.fa.fa-mixcloud,.fa.fa-modx,.fa.fa-product-hunt,.fa.fa-scribd,.fa.fa-usb{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-pause-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-pause-circle-o:before{content:"\\f28b"}.fa.fa-stop-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-stop-circle-o:before{content:"\\f28d"}.fa.fa-bluetooth,.fa.fa-bluetooth-b,.fa.fa-envira,.fa.fa-gitlab,.fa.fa-wheelchair-alt,.fa.fa-wpbeginner,.fa.fa-wpforms{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-wheelchair-alt:before{content:"\\f368"}.fa.fa-question-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-question-circle-o:before{content:"\\f059"}.fa.fa-volume-control-phone:before{content:"\\f2a0"}.fa.fa-asl-interpreting:before{content:"\\f2a3"}.fa.fa-deafness:before,.fa.fa-hard-of-hearing:before{content:"\\f2a4"}.fa.fa-glide,.fa.fa-glide-g{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-signing:before{content:"\\f2a7"}.fa.fa-first-order,.fa.fa-google-plus-official,.fa.fa-pied-piper,.fa.fa-snapchat,.fa.fa-snapchat-ghost,.fa.fa-snapchat-square,.fa.fa-themeisle,.fa.fa-viadeo,.fa.fa-viadeo-square,.fa.fa-yoast{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus-official:before{content:"\\f2b3"}.fa.fa-google-plus-circle{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus-circle:before{content:"\\f2b3"}.fa.fa-fa,.fa.fa-font-awesome{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-fa:before{content:"\\f2b4"}.fa.fa-handshake-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-handshake-o:before{content:"\\f2b5"}.fa.fa-envelope-open-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-envelope-open-o:before{content:"\\f2b6"}.fa.fa-linode{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-address-book-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-address-book-o:before{content:"\\f2b9"}.fa.fa-vcard:before{content:"\\f2bb"}.fa.fa-address-card-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-address-card-o:before{content:"\\f2bb"}.fa.fa-vcard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-vcard-o:before{content:"\\f2bb"}.fa.fa-user-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-user-circle-o:before{content:"\\f2bd"}.fa.fa-user-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-user-o:before{content:"\\f007"}.fa.fa-id-badge{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-drivers-license:before{content:"\\f2c2"}.fa.fa-id-card-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-id-card-o:before{content:"\\f2c2"}.fa.fa-drivers-license-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-drivers-license-o:before{content:"\\f2c2"}.fa.fa-free-code-camp,.fa.fa-quora,.fa.fa-telegram{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-thermometer-4:before,.fa.fa-thermometer:before{content:"\\f2c7"}.fa.fa-thermometer-3:before{content:"\\f2c8"}.fa.fa-thermometer-2:before{content:"\\f2c9"}.fa.fa-thermometer-1:before{content:"\\f2ca"}.fa.fa-thermometer-0:before{content:"\\f2cb"}.fa.fa-bathtub:before,.fa.fa-s15:before{content:"\\f2cd"}.fa.fa-window-maximize,.fa.fa-window-restore{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-rectangle:before{content:"\\f410"}.fa.fa-window-close-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-window-close-o:before{content:"\\f410"}.fa.fa-times-rectangle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-rectangle-o:before{content:"\\f410"}.fa.fa-bandcamp,.fa.fa-eercast,.fa.fa-etsy,.fa.fa-grav,.fa.fa-imdb,.fa.fa-ravelry{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-eercast:before{content:"\\f2da"}.fa.fa-snowflake-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-snowflake-o:before{content:"\\f2dc"}.fa.fa-superpowers,.fa.fa-wpexplorer{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-cab:before{content:"\\f1ba"}'],sourceRoot:""}]);const a=s},2751:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o),a=n(3280),l=s()(r());l.i(a.A),l.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n/*\nThis file is copied from the JupyterLab project to define default styling for\nwhen the widget styling is compiled down to eliminate CSS variables. We make one\nchange - we comment out the font import below.\n*/\n\n/*\nThe following CSS variables define the main, public API for styling JupyterLab.\nThese variables should be used by all plugins wherever possible. In other\nwords, plugins should not define custom colors, sizes, etc unless absolutely\nnecessary. This enables users to change the visual theme of JupyterLab\nby changing these variables.\n\nMany variables appear in an ordered sequence (0,1,2,3). These sequences\nare designed to work well together, so for example, `--jp-border-color1` should\nbe used with `--jp-layout-color1`. The numbers have the following meanings:\n\n* 0: super-primary, reserved for special emphasis\n* 1: primary, most important under normal situations\n* 2: secondary, next most important under normal situations\n* 3: tertiary, next most important under normal situations\n\nThroughout JupyterLab, we are mostly following principles from Google's\nMaterial Design when selecting colors. We are not, however, following\nall of MD as it is not optimized for dense, information rich UIs.\n*/\n\n\n/*\n * Optional monospace font for input/output prompt.\n */\n /* Commented out in ipywidgets since we don't need it. */\n/* @import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); */\n\n/*\n * Added for compabitility with output area\n */\n:root {\n --jp-icon-search: none;\n --jp-ui-select-caret: none;\n}\n\n\n:root {\n\n /* Borders\n\n The following variables, specify the visual styling of borders in JupyterLab.\n */\n\n --jp-border-width: 1px;\n --jp-border-color0: var(--md-grey-700);\n --jp-border-color1: var(--md-grey-500);\n --jp-border-color2: var(--md-grey-300);\n --jp-border-color3: var(--md-grey-100);\n\n /* UI Fonts\n\n The UI font CSS variables are used for the typography all of the JupyterLab\n user interface elements that are not directly user generated content.\n */\n\n --jp-ui-font-scale-factor: 1.2;\n --jp-ui-font-size0: calc(var(--jp-ui-font-size1)/var(--jp-ui-font-scale-factor));\n --jp-ui-font-size1: 13px; /* Base font size */\n --jp-ui-font-size2: calc(var(--jp-ui-font-size1)*var(--jp-ui-font-scale-factor));\n --jp-ui-font-size3: calc(var(--jp-ui-font-size2)*var(--jp-ui-font-scale-factor));\n --jp-ui-icon-font-size: 14px; /* Ensures px perfect FontAwesome icons */\n --jp-ui-font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n\n /* Use these font colors against the corresponding main layout colors.\n In a light theme, these go from dark to light.\n */\n\n --jp-ui-font-color0: rgba(0,0,0,1.0);\n --jp-ui-font-color1: rgba(0,0,0,0.8);\n --jp-ui-font-color2: rgba(0,0,0,0.5);\n --jp-ui-font-color3: rgba(0,0,0,0.3);\n\n /* Use these against the brand/accent/warn/error colors.\n These will typically go from light to darker, in both a dark and light theme\n */\n\n --jp-ui-inverse-font-color0: rgba(255, 255, 255, 1);\n --jp-ui-inverse-font-color1: rgba(255, 255, 255, 1);\n --jp-ui-inverse-font-color2: rgba(255, 255, 255, 0.7);\n --jp-ui-inverse-font-color3: rgba(255, 255, 255, 0.5);\n\n /* For backwards compatibility, we still define these below until ipywidgets 8.0.\n See https://github.com/jupyter-widgets/ipywidgets/pull/2801 */\n --jp-inverse-ui-font-color0: rgba(255,255,255,1);\n --jp-inverse-ui-font-color1: rgba(255,255,255,1.0);\n --jp-inverse-ui-font-color2: rgba(255,255,255,0.7);\n --jp-inverse-ui-font-color3: rgba(255,255,255,0.5);\n\n /* Content Fonts\n\n Content font variables are used for typography of user generated content.\n */\n\n --jp-content-font-size: 13px;\n --jp-content-line-height: 1.5;\n --jp-content-font-color0: black;\n --jp-content-font-color1: black;\n --jp-content-font-color2: var(--md-grey-700);\n --jp-content-font-color3: var(--md-grey-500);\n\n --jp-ui-font-scale-factor: 1.2;\n --jp-ui-font-size0: calc(var(--jp-ui-font-size1)/var(--jp-ui-font-scale-factor));\n --jp-ui-font-size1: 13px; /* Base font size */\n --jp-ui-font-size2: calc(var(--jp-ui-font-size1)*var(--jp-ui-font-scale-factor));\n --jp-ui-font-size3: calc(var(--jp-ui-font-size2)*var(--jp-ui-font-scale-factor));\n\n --jp-code-font-size: 13px;\n --jp-code-line-height: 1.307;\n --jp-code-padding: 5px;\n --jp-code-font-family: monospace;\n\n\n /* Layout\n\n The following are the main layout colors use in JupyterLab. In a light\n theme these would go from light to dark.\n */\n\n --jp-layout-color0: white;\n --jp-layout-color1: white;\n --jp-layout-color2: var(--md-grey-200);\n --jp-layout-color3: var(--md-grey-400);\n\n /* Brand/accent */\n\n --jp-brand-color0: var(--md-blue-700);\n --jp-brand-color1: var(--md-blue-500);\n --jp-brand-color2: var(--md-blue-300);\n --jp-brand-color3: var(--md-blue-100);\n\n --jp-accent-color0: var(--md-green-700);\n --jp-accent-color1: var(--md-green-500);\n --jp-accent-color2: var(--md-green-300);\n --jp-accent-color3: var(--md-green-100);\n\n /* State colors (warn, error, success, info) */\n\n --jp-warn-color0: var(--md-orange-700);\n --jp-warn-color1: var(--md-orange-500);\n --jp-warn-color2: var(--md-orange-300);\n --jp-warn-color3: var(--md-orange-100);\n\n --jp-error-color0: var(--md-red-700);\n --jp-error-color1: var(--md-red-500);\n --jp-error-color2: var(--md-red-300);\n --jp-error-color3: var(--md-red-100);\n\n --jp-success-color0: var(--md-green-700);\n --jp-success-color1: var(--md-green-500);\n --jp-success-color2: var(--md-green-300);\n --jp-success-color3: var(--md-green-100);\n\n --jp-info-color0: var(--md-cyan-700);\n --jp-info-color1: var(--md-cyan-500);\n --jp-info-color2: var(--md-cyan-300);\n --jp-info-color3: var(--md-cyan-100);\n\n /* Cell specific styles */\n\n --jp-cell-padding: 5px;\n --jp-cell-editor-background: #f7f7f7;\n --jp-cell-editor-border-color: #cfcfcf;\n --jp-cell-editor-background-edit: var(--jp-ui-layout-color1);\n --jp-cell-editor-border-color-edit: var(--jp-brand-color1);\n --jp-cell-prompt-width: 100px;\n --jp-cell-prompt-font-family: 'Roboto Mono', monospace;\n --jp-cell-prompt-letter-spacing: 0px;\n --jp-cell-prompt-opacity: 1.0;\n --jp-cell-prompt-opacity-not-active: 0.4;\n --jp-cell-prompt-font-color-not-active: var(--md-grey-700);\n /* A custom blend of MD grey and blue 600\n * See https://meyerweb.com/eric/tools/color-blend/#546E7A:1E88E5:5:hex */\n --jp-cell-inprompt-font-color: #307FC1;\n /* A custom blend of MD grey and orange 600\n * https://meyerweb.com/eric/tools/color-blend/#546E7A:F4511E:5:hex */\n --jp-cell-outprompt-font-color: #BF5B3D;\n\n /* Notebook specific styles */\n\n --jp-notebook-padding: 10px;\n --jp-notebook-scroll-padding: 100px;\n\n /* Console specific styles */\n\n --jp-console-background: var(--md-grey-100);\n\n /* Toolbar specific styles */\n\n --jp-toolbar-border-color: var(--md-grey-400);\n --jp-toolbar-micro-height: 8px;\n --jp-toolbar-background: var(--jp-layout-color0);\n --jp-toolbar-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.24);\n --jp-toolbar-header-margin: 4px 4px 0px 4px;\n --jp-toolbar-active-background: var(--md-grey-300);\n}\n","",{version:3,sources:["webpack://./../../node_modules/@jupyter-widgets/controls7/css/labvariables.css"],names:[],mappings:"AAAA;;;8EAG8E;;AAE9E;;;;CAIC;;AAID;;;;;;;;;;;;;;;;;;;CAmBC;;;AAGD;;EAEE;CACD,wDAAwD;AACzD,wEAAwE;;AAExE;;EAEE;AACF;EACE,sBAAsB;EACtB,0BAA0B;AAC5B;;;AAGA;;EAEE;;;IAGE;;EAEF,sBAAsB;EACtB,sCAAsC;EACtC,sCAAsC;EACtC,sCAAsC;EACtC,sCAAsC;;EAEtC;;;;GAIC;;EAED,8BAA8B;EAC9B,gFAAgF;EAChF,wBAAwB,EAAE,mBAAmB;EAC7C,gFAAgF;EAChF,gFAAgF;EAChF,4BAA4B,EAAE,yCAAyC;EACvE,mEAAmE;;EAEnE;;GAEC;;EAED,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;;EAEpC;;IAEE;;EAEF,mDAAmD;EACnD,mDAAmD;EACnD,qDAAqD;EACrD,qDAAqD;;EAErD;+DAC6D;EAC7D,gDAAgD;EAChD,kDAAkD;EAClD,kDAAkD;EAClD,kDAAkD;;EAElD;;;GAGC;;EAED,4BAA4B;EAC5B,6BAA6B;EAC7B,+BAA+B;EAC/B,+BAA+B;EAC/B,4CAA4C;EAC5C,4CAA4C;;EAE5C,8BAA8B;EAC9B,gFAAgF;EAChF,wBAAwB,EAAE,mBAAmB;EAC7C,gFAAgF;EAChF,gFAAgF;;EAEhF,yBAAyB;EACzB,4BAA4B;EAC5B,sBAAsB;EACtB,gCAAgC;;;EAGhC;;;;GAIC;;EAED,yBAAyB;EACzB,yBAAyB;EACzB,sCAAsC;EACtC,sCAAsC;;EAEtC,iBAAiB;;EAEjB,qCAAqC;EACrC,qCAAqC;EACrC,qCAAqC;EACrC,qCAAqC;;EAErC,uCAAuC;EACvC,uCAAuC;EACvC,uCAAuC;EACvC,uCAAuC;;EAEvC,8CAA8C;;EAE9C,sCAAsC;EACtC,sCAAsC;EACtC,sCAAsC;EACtC,sCAAsC;;EAEtC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;;EAEpC,wCAAwC;EACxC,wCAAwC;EACxC,wCAAwC;EACxC,wCAAwC;;EAExC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;;EAEpC,yBAAyB;;EAEzB,sBAAsB;EACtB,oCAAoC;EACpC,sCAAsC;EACtC,4DAA4D;EAC5D,0DAA0D;EAC1D,6BAA6B;EAC7B,sDAAsD;EACtD,oCAAoC;EACpC,6BAA6B;EAC7B,wCAAwC;EACxC,0DAA0D;EAC1D;2EACyE;EACzE,sCAAsC;EACtC;uEACqE;EACrE,uCAAuC;;EAEvC,6BAA6B;;EAE7B,2BAA2B;EAC3B,mCAAmC;;EAEnC,4BAA4B;;EAE5B,2CAA2C;;EAE3C,4BAA4B;;EAE5B,6CAA6C;EAC7C,8BAA8B;EAC9B,gDAAgD;EAChD,yDAAyD;EACzD,2CAA2C;EAC3C,kDAAkD;AACpD",sourcesContent:["/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n/*\nThis file is copied from the JupyterLab project to define default styling for\nwhen the widget styling is compiled down to eliminate CSS variables. We make one\nchange - we comment out the font import below.\n*/\n\n@import \"./materialcolors.css\";\n\n/*\nThe following CSS variables define the main, public API for styling JupyterLab.\nThese variables should be used by all plugins wherever possible. In other\nwords, plugins should not define custom colors, sizes, etc unless absolutely\nnecessary. This enables users to change the visual theme of JupyterLab\nby changing these variables.\n\nMany variables appear in an ordered sequence (0,1,2,3). These sequences\nare designed to work well together, so for example, `--jp-border-color1` should\nbe used with `--jp-layout-color1`. The numbers have the following meanings:\n\n* 0: super-primary, reserved for special emphasis\n* 1: primary, most important under normal situations\n* 2: secondary, next most important under normal situations\n* 3: tertiary, next most important under normal situations\n\nThroughout JupyterLab, we are mostly following principles from Google's\nMaterial Design when selecting colors. We are not, however, following\nall of MD as it is not optimized for dense, information rich UIs.\n*/\n\n\n/*\n * Optional monospace font for input/output prompt.\n */\n /* Commented out in ipywidgets since we don't need it. */\n/* @import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); */\n\n/*\n * Added for compabitility with output area\n */\n:root {\n --jp-icon-search: none;\n --jp-ui-select-caret: none;\n}\n\n\n:root {\n\n /* Borders\n\n The following variables, specify the visual styling of borders in JupyterLab.\n */\n\n --jp-border-width: 1px;\n --jp-border-color0: var(--md-grey-700);\n --jp-border-color1: var(--md-grey-500);\n --jp-border-color2: var(--md-grey-300);\n --jp-border-color3: var(--md-grey-100);\n\n /* UI Fonts\n\n The UI font CSS variables are used for the typography all of the JupyterLab\n user interface elements that are not directly user generated content.\n */\n\n --jp-ui-font-scale-factor: 1.2;\n --jp-ui-font-size0: calc(var(--jp-ui-font-size1)/var(--jp-ui-font-scale-factor));\n --jp-ui-font-size1: 13px; /* Base font size */\n --jp-ui-font-size2: calc(var(--jp-ui-font-size1)*var(--jp-ui-font-scale-factor));\n --jp-ui-font-size3: calc(var(--jp-ui-font-size2)*var(--jp-ui-font-scale-factor));\n --jp-ui-icon-font-size: 14px; /* Ensures px perfect FontAwesome icons */\n --jp-ui-font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n\n /* Use these font colors against the corresponding main layout colors.\n In a light theme, these go from dark to light.\n */\n\n --jp-ui-font-color0: rgba(0,0,0,1.0);\n --jp-ui-font-color1: rgba(0,0,0,0.8);\n --jp-ui-font-color2: rgba(0,0,0,0.5);\n --jp-ui-font-color3: rgba(0,0,0,0.3);\n\n /* Use these against the brand/accent/warn/error colors.\n These will typically go from light to darker, in both a dark and light theme\n */\n\n --jp-ui-inverse-font-color0: rgba(255, 255, 255, 1);\n --jp-ui-inverse-font-color1: rgba(255, 255, 255, 1);\n --jp-ui-inverse-font-color2: rgba(255, 255, 255, 0.7);\n --jp-ui-inverse-font-color3: rgba(255, 255, 255, 0.5);\n\n /* For backwards compatibility, we still define these below until ipywidgets 8.0.\n See https://github.com/jupyter-widgets/ipywidgets/pull/2801 */\n --jp-inverse-ui-font-color0: rgba(255,255,255,1);\n --jp-inverse-ui-font-color1: rgba(255,255,255,1.0);\n --jp-inverse-ui-font-color2: rgba(255,255,255,0.7);\n --jp-inverse-ui-font-color3: rgba(255,255,255,0.5);\n\n /* Content Fonts\n\n Content font variables are used for typography of user generated content.\n */\n\n --jp-content-font-size: 13px;\n --jp-content-line-height: 1.5;\n --jp-content-font-color0: black;\n --jp-content-font-color1: black;\n --jp-content-font-color2: var(--md-grey-700);\n --jp-content-font-color3: var(--md-grey-500);\n\n --jp-ui-font-scale-factor: 1.2;\n --jp-ui-font-size0: calc(var(--jp-ui-font-size1)/var(--jp-ui-font-scale-factor));\n --jp-ui-font-size1: 13px; /* Base font size */\n --jp-ui-font-size2: calc(var(--jp-ui-font-size1)*var(--jp-ui-font-scale-factor));\n --jp-ui-font-size3: calc(var(--jp-ui-font-size2)*var(--jp-ui-font-scale-factor));\n\n --jp-code-font-size: 13px;\n --jp-code-line-height: 1.307;\n --jp-code-padding: 5px;\n --jp-code-font-family: monospace;\n\n\n /* Layout\n\n The following are the main layout colors use in JupyterLab. In a light\n theme these would go from light to dark.\n */\n\n --jp-layout-color0: white;\n --jp-layout-color1: white;\n --jp-layout-color2: var(--md-grey-200);\n --jp-layout-color3: var(--md-grey-400);\n\n /* Brand/accent */\n\n --jp-brand-color0: var(--md-blue-700);\n --jp-brand-color1: var(--md-blue-500);\n --jp-brand-color2: var(--md-blue-300);\n --jp-brand-color3: var(--md-blue-100);\n\n --jp-accent-color0: var(--md-green-700);\n --jp-accent-color1: var(--md-green-500);\n --jp-accent-color2: var(--md-green-300);\n --jp-accent-color3: var(--md-green-100);\n\n /* State colors (warn, error, success, info) */\n\n --jp-warn-color0: var(--md-orange-700);\n --jp-warn-color1: var(--md-orange-500);\n --jp-warn-color2: var(--md-orange-300);\n --jp-warn-color3: var(--md-orange-100);\n\n --jp-error-color0: var(--md-red-700);\n --jp-error-color1: var(--md-red-500);\n --jp-error-color2: var(--md-red-300);\n --jp-error-color3: var(--md-red-100);\n\n --jp-success-color0: var(--md-green-700);\n --jp-success-color1: var(--md-green-500);\n --jp-success-color2: var(--md-green-300);\n --jp-success-color3: var(--md-green-100);\n\n --jp-info-color0: var(--md-cyan-700);\n --jp-info-color1: var(--md-cyan-500);\n --jp-info-color2: var(--md-cyan-300);\n --jp-info-color3: var(--md-cyan-100);\n\n /* Cell specific styles */\n\n --jp-cell-padding: 5px;\n --jp-cell-editor-background: #f7f7f7;\n --jp-cell-editor-border-color: #cfcfcf;\n --jp-cell-editor-background-edit: var(--jp-ui-layout-color1);\n --jp-cell-editor-border-color-edit: var(--jp-brand-color1);\n --jp-cell-prompt-width: 100px;\n --jp-cell-prompt-font-family: 'Roboto Mono', monospace;\n --jp-cell-prompt-letter-spacing: 0px;\n --jp-cell-prompt-opacity: 1.0;\n --jp-cell-prompt-opacity-not-active: 0.4;\n --jp-cell-prompt-font-color-not-active: var(--md-grey-700);\n /* A custom blend of MD grey and blue 600\n * See https://meyerweb.com/eric/tools/color-blend/#546E7A:1E88E5:5:hex */\n --jp-cell-inprompt-font-color: #307FC1;\n /* A custom blend of MD grey and orange 600\n * https://meyerweb.com/eric/tools/color-blend/#546E7A:F4511E:5:hex */\n --jp-cell-outprompt-font-color: #BF5B3D;\n\n /* Notebook specific styles */\n\n --jp-notebook-padding: 10px;\n --jp-notebook-scroll-padding: 100px;\n\n /* Console specific styles */\n\n --jp-console-background: var(--md-grey-100);\n\n /* Toolbar specific styles */\n\n --jp-toolbar-border-color: var(--md-grey-400);\n --jp-toolbar-micro-height: 8px;\n --jp-toolbar-background: var(--jp-layout-color0);\n --jp-toolbar-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.24);\n --jp-toolbar-header-margin: 4px 4px 0px 4px;\n --jp-toolbar-active-background: var(--md-grey-300);\n}\n"],sourceRoot:""}]);const d=l},3280:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,'/**\n * The material design colors are adapted from google-material-color v1.2.6\n * https://github.com/danlevan/google-material-color\n * https://github.com/danlevan/google-material-color/blob/f67ca5f4028b2f1b34862f64b0ca67323f91b088/dist/palette.var.css\n *\n * The license for the material design color CSS variables is as follows (see\n * https://github.com/danlevan/google-material-color/blob/f67ca5f4028b2f1b34862f64b0ca67323f91b088/LICENSE)\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2014 Dan Le Van\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n:root {\n --md-red-50: #FFEBEE;\n --md-red-100: #FFCDD2;\n --md-red-200: #EF9A9A;\n --md-red-300: #E57373;\n --md-red-400: #EF5350;\n --md-red-500: #F44336;\n --md-red-600: #E53935;\n --md-red-700: #D32F2F;\n --md-red-800: #C62828;\n --md-red-900: #B71C1C;\n --md-red-A100: #FF8A80;\n --md-red-A200: #FF5252;\n --md-red-A400: #FF1744;\n --md-red-A700: #D50000;\n\n --md-pink-50: #FCE4EC;\n --md-pink-100: #F8BBD0;\n --md-pink-200: #F48FB1;\n --md-pink-300: #F06292;\n --md-pink-400: #EC407A;\n --md-pink-500: #E91E63;\n --md-pink-600: #D81B60;\n --md-pink-700: #C2185B;\n --md-pink-800: #AD1457;\n --md-pink-900: #880E4F;\n --md-pink-A100: #FF80AB;\n --md-pink-A200: #FF4081;\n --md-pink-A400: #F50057;\n --md-pink-A700: #C51162;\n\n --md-purple-50: #F3E5F5;\n --md-purple-100: #E1BEE7;\n --md-purple-200: #CE93D8;\n --md-purple-300: #BA68C8;\n --md-purple-400: #AB47BC;\n --md-purple-500: #9C27B0;\n --md-purple-600: #8E24AA;\n --md-purple-700: #7B1FA2;\n --md-purple-800: #6A1B9A;\n --md-purple-900: #4A148C;\n --md-purple-A100: #EA80FC;\n --md-purple-A200: #E040FB;\n --md-purple-A400: #D500F9;\n --md-purple-A700: #AA00FF;\n\n --md-deep-purple-50: #EDE7F6;\n --md-deep-purple-100: #D1C4E9;\n --md-deep-purple-200: #B39DDB;\n --md-deep-purple-300: #9575CD;\n --md-deep-purple-400: #7E57C2;\n --md-deep-purple-500: #673AB7;\n --md-deep-purple-600: #5E35B1;\n --md-deep-purple-700: #512DA8;\n --md-deep-purple-800: #4527A0;\n --md-deep-purple-900: #311B92;\n --md-deep-purple-A100: #B388FF;\n --md-deep-purple-A200: #7C4DFF;\n --md-deep-purple-A400: #651FFF;\n --md-deep-purple-A700: #6200EA;\n\n --md-indigo-50: #E8EAF6;\n --md-indigo-100: #C5CAE9;\n --md-indigo-200: #9FA8DA;\n --md-indigo-300: #7986CB;\n --md-indigo-400: #5C6BC0;\n --md-indigo-500: #3F51B5;\n --md-indigo-600: #3949AB;\n --md-indigo-700: #303F9F;\n --md-indigo-800: #283593;\n --md-indigo-900: #1A237E;\n --md-indigo-A100: #8C9EFF;\n --md-indigo-A200: #536DFE;\n --md-indigo-A400: #3D5AFE;\n --md-indigo-A700: #304FFE;\n\n --md-blue-50: #E3F2FD;\n --md-blue-100: #BBDEFB;\n --md-blue-200: #90CAF9;\n --md-blue-300: #64B5F6;\n --md-blue-400: #42A5F5;\n --md-blue-500: #2196F3;\n --md-blue-600: #1E88E5;\n --md-blue-700: #1976D2;\n --md-blue-800: #1565C0;\n --md-blue-900: #0D47A1;\n --md-blue-A100: #82B1FF;\n --md-blue-A200: #448AFF;\n --md-blue-A400: #2979FF;\n --md-blue-A700: #2962FF;\n\n --md-light-blue-50: #E1F5FE;\n --md-light-blue-100: #B3E5FC;\n --md-light-blue-200: #81D4FA;\n --md-light-blue-300: #4FC3F7;\n --md-light-blue-400: #29B6F6;\n --md-light-blue-500: #03A9F4;\n --md-light-blue-600: #039BE5;\n --md-light-blue-700: #0288D1;\n --md-light-blue-800: #0277BD;\n --md-light-blue-900: #01579B;\n --md-light-blue-A100: #80D8FF;\n --md-light-blue-A200: #40C4FF;\n --md-light-blue-A400: #00B0FF;\n --md-light-blue-A700: #0091EA;\n\n --md-cyan-50: #E0F7FA;\n --md-cyan-100: #B2EBF2;\n --md-cyan-200: #80DEEA;\n --md-cyan-300: #4DD0E1;\n --md-cyan-400: #26C6DA;\n --md-cyan-500: #00BCD4;\n --md-cyan-600: #00ACC1;\n --md-cyan-700: #0097A7;\n --md-cyan-800: #00838F;\n --md-cyan-900: #006064;\n --md-cyan-A100: #84FFFF;\n --md-cyan-A200: #18FFFF;\n --md-cyan-A400: #00E5FF;\n --md-cyan-A700: #00B8D4;\n\n --md-teal-50: #E0F2F1;\n --md-teal-100: #B2DFDB;\n --md-teal-200: #80CBC4;\n --md-teal-300: #4DB6AC;\n --md-teal-400: #26A69A;\n --md-teal-500: #009688;\n --md-teal-600: #00897B;\n --md-teal-700: #00796B;\n --md-teal-800: #00695C;\n --md-teal-900: #004D40;\n --md-teal-A100: #A7FFEB;\n --md-teal-A200: #64FFDA;\n --md-teal-A400: #1DE9B6;\n --md-teal-A700: #00BFA5;\n\n --md-green-50: #E8F5E9;\n --md-green-100: #C8E6C9;\n --md-green-200: #A5D6A7;\n --md-green-300: #81C784;\n --md-green-400: #66BB6A;\n --md-green-500: #4CAF50;\n --md-green-600: #43A047;\n --md-green-700: #388E3C;\n --md-green-800: #2E7D32;\n --md-green-900: #1B5E20;\n --md-green-A100: #B9F6CA;\n --md-green-A200: #69F0AE;\n --md-green-A400: #00E676;\n --md-green-A700: #00C853;\n\n --md-light-green-50: #F1F8E9;\n --md-light-green-100: #DCEDC8;\n --md-light-green-200: #C5E1A5;\n --md-light-green-300: #AED581;\n --md-light-green-400: #9CCC65;\n --md-light-green-500: #8BC34A;\n --md-light-green-600: #7CB342;\n --md-light-green-700: #689F38;\n --md-light-green-800: #558B2F;\n --md-light-green-900: #33691E;\n --md-light-green-A100: #CCFF90;\n --md-light-green-A200: #B2FF59;\n --md-light-green-A400: #76FF03;\n --md-light-green-A700: #64DD17;\n\n --md-lime-50: #F9FBE7;\n --md-lime-100: #F0F4C3;\n --md-lime-200: #E6EE9C;\n --md-lime-300: #DCE775;\n --md-lime-400: #D4E157;\n --md-lime-500: #CDDC39;\n --md-lime-600: #C0CA33;\n --md-lime-700: #AFB42B;\n --md-lime-800: #9E9D24;\n --md-lime-900: #827717;\n --md-lime-A100: #F4FF81;\n --md-lime-A200: #EEFF41;\n --md-lime-A400: #C6FF00;\n --md-lime-A700: #AEEA00;\n\n --md-yellow-50: #FFFDE7;\n --md-yellow-100: #FFF9C4;\n --md-yellow-200: #FFF59D;\n --md-yellow-300: #FFF176;\n --md-yellow-400: #FFEE58;\n --md-yellow-500: #FFEB3B;\n --md-yellow-600: #FDD835;\n --md-yellow-700: #FBC02D;\n --md-yellow-800: #F9A825;\n --md-yellow-900: #F57F17;\n --md-yellow-A100: #FFFF8D;\n --md-yellow-A200: #FFFF00;\n --md-yellow-A400: #FFEA00;\n --md-yellow-A700: #FFD600;\n\n --md-amber-50: #FFF8E1;\n --md-amber-100: #FFECB3;\n --md-amber-200: #FFE082;\n --md-amber-300: #FFD54F;\n --md-amber-400: #FFCA28;\n --md-amber-500: #FFC107;\n --md-amber-600: #FFB300;\n --md-amber-700: #FFA000;\n --md-amber-800: #FF8F00;\n --md-amber-900: #FF6F00;\n --md-amber-A100: #FFE57F;\n --md-amber-A200: #FFD740;\n --md-amber-A400: #FFC400;\n --md-amber-A700: #FFAB00;\n\n --md-orange-50: #FFF3E0;\n --md-orange-100: #FFE0B2;\n --md-orange-200: #FFCC80;\n --md-orange-300: #FFB74D;\n --md-orange-400: #FFA726;\n --md-orange-500: #FF9800;\n --md-orange-600: #FB8C00;\n --md-orange-700: #F57C00;\n --md-orange-800: #EF6C00;\n --md-orange-900: #E65100;\n --md-orange-A100: #FFD180;\n --md-orange-A200: #FFAB40;\n --md-orange-A400: #FF9100;\n --md-orange-A700: #FF6D00;\n\n --md-deep-orange-50: #FBE9E7;\n --md-deep-orange-100: #FFCCBC;\n --md-deep-orange-200: #FFAB91;\n --md-deep-orange-300: #FF8A65;\n --md-deep-orange-400: #FF7043;\n --md-deep-orange-500: #FF5722;\n --md-deep-orange-600: #F4511E;\n --md-deep-orange-700: #E64A19;\n --md-deep-orange-800: #D84315;\n --md-deep-orange-900: #BF360C;\n --md-deep-orange-A100: #FF9E80;\n --md-deep-orange-A200: #FF6E40;\n --md-deep-orange-A400: #FF3D00;\n --md-deep-orange-A700: #DD2C00;\n\n --md-brown-50: #EFEBE9;\n --md-brown-100: #D7CCC8;\n --md-brown-200: #BCAAA4;\n --md-brown-300: #A1887F;\n --md-brown-400: #8D6E63;\n --md-brown-500: #795548;\n --md-brown-600: #6D4C41;\n --md-brown-700: #5D4037;\n --md-brown-800: #4E342E;\n --md-brown-900: #3E2723;\n\n --md-grey-50: #FAFAFA;\n --md-grey-100: #F5F5F5;\n --md-grey-200: #EEEEEE;\n --md-grey-300: #E0E0E0;\n --md-grey-400: #BDBDBD;\n --md-grey-500: #9E9E9E;\n --md-grey-600: #757575;\n --md-grey-700: #616161;\n --md-grey-800: #424242;\n --md-grey-900: #212121;\n\n --md-blue-grey-50: #ECEFF1;\n --md-blue-grey-100: #CFD8DC;\n --md-blue-grey-200: #B0BEC5;\n --md-blue-grey-300: #90A4AE;\n --md-blue-grey-400: #78909C;\n --md-blue-grey-500: #607D8B;\n --md-blue-grey-600: #546E7A;\n --md-blue-grey-700: #455A64;\n --md-blue-grey-800: #37474F;\n --md-blue-grey-900: #263238;\n}',"",{version:3,sources:["webpack://./../../node_modules/@jupyter-widgets/controls7/css/materialcolors.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BE;AACF;EACE,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;;EAEtB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;;EAEzB,4BAA4B;EAC5B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;;EAE9B,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;;EAEzB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,2BAA2B;EAC3B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;;EAE7B,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;;EAExB,4BAA4B;EAC5B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;;EAE9B,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;;EAEzB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;;EAExB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;;EAEzB,4BAA4B;EAC5B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;;EAE9B,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;;EAEtB,0BAA0B;EAC1B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;AAC7B",sourcesContent:['/**\n * The material design colors are adapted from google-material-color v1.2.6\n * https://github.com/danlevan/google-material-color\n * https://github.com/danlevan/google-material-color/blob/f67ca5f4028b2f1b34862f64b0ca67323f91b088/dist/palette.var.css\n *\n * The license for the material design color CSS variables is as follows (see\n * https://github.com/danlevan/google-material-color/blob/f67ca5f4028b2f1b34862f64b0ca67323f91b088/LICENSE)\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2014 Dan Le Van\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n:root {\n --md-red-50: #FFEBEE;\n --md-red-100: #FFCDD2;\n --md-red-200: #EF9A9A;\n --md-red-300: #E57373;\n --md-red-400: #EF5350;\n --md-red-500: #F44336;\n --md-red-600: #E53935;\n --md-red-700: #D32F2F;\n --md-red-800: #C62828;\n --md-red-900: #B71C1C;\n --md-red-A100: #FF8A80;\n --md-red-A200: #FF5252;\n --md-red-A400: #FF1744;\n --md-red-A700: #D50000;\n\n --md-pink-50: #FCE4EC;\n --md-pink-100: #F8BBD0;\n --md-pink-200: #F48FB1;\n --md-pink-300: #F06292;\n --md-pink-400: #EC407A;\n --md-pink-500: #E91E63;\n --md-pink-600: #D81B60;\n --md-pink-700: #C2185B;\n --md-pink-800: #AD1457;\n --md-pink-900: #880E4F;\n --md-pink-A100: #FF80AB;\n --md-pink-A200: #FF4081;\n --md-pink-A400: #F50057;\n --md-pink-A700: #C51162;\n\n --md-purple-50: #F3E5F5;\n --md-purple-100: #E1BEE7;\n --md-purple-200: #CE93D8;\n --md-purple-300: #BA68C8;\n --md-purple-400: #AB47BC;\n --md-purple-500: #9C27B0;\n --md-purple-600: #8E24AA;\n --md-purple-700: #7B1FA2;\n --md-purple-800: #6A1B9A;\n --md-purple-900: #4A148C;\n --md-purple-A100: #EA80FC;\n --md-purple-A200: #E040FB;\n --md-purple-A400: #D500F9;\n --md-purple-A700: #AA00FF;\n\n --md-deep-purple-50: #EDE7F6;\n --md-deep-purple-100: #D1C4E9;\n --md-deep-purple-200: #B39DDB;\n --md-deep-purple-300: #9575CD;\n --md-deep-purple-400: #7E57C2;\n --md-deep-purple-500: #673AB7;\n --md-deep-purple-600: #5E35B1;\n --md-deep-purple-700: #512DA8;\n --md-deep-purple-800: #4527A0;\n --md-deep-purple-900: #311B92;\n --md-deep-purple-A100: #B388FF;\n --md-deep-purple-A200: #7C4DFF;\n --md-deep-purple-A400: #651FFF;\n --md-deep-purple-A700: #6200EA;\n\n --md-indigo-50: #E8EAF6;\n --md-indigo-100: #C5CAE9;\n --md-indigo-200: #9FA8DA;\n --md-indigo-300: #7986CB;\n --md-indigo-400: #5C6BC0;\n --md-indigo-500: #3F51B5;\n --md-indigo-600: #3949AB;\n --md-indigo-700: #303F9F;\n --md-indigo-800: #283593;\n --md-indigo-900: #1A237E;\n --md-indigo-A100: #8C9EFF;\n --md-indigo-A200: #536DFE;\n --md-indigo-A400: #3D5AFE;\n --md-indigo-A700: #304FFE;\n\n --md-blue-50: #E3F2FD;\n --md-blue-100: #BBDEFB;\n --md-blue-200: #90CAF9;\n --md-blue-300: #64B5F6;\n --md-blue-400: #42A5F5;\n --md-blue-500: #2196F3;\n --md-blue-600: #1E88E5;\n --md-blue-700: #1976D2;\n --md-blue-800: #1565C0;\n --md-blue-900: #0D47A1;\n --md-blue-A100: #82B1FF;\n --md-blue-A200: #448AFF;\n --md-blue-A400: #2979FF;\n --md-blue-A700: #2962FF;\n\n --md-light-blue-50: #E1F5FE;\n --md-light-blue-100: #B3E5FC;\n --md-light-blue-200: #81D4FA;\n --md-light-blue-300: #4FC3F7;\n --md-light-blue-400: #29B6F6;\n --md-light-blue-500: #03A9F4;\n --md-light-blue-600: #039BE5;\n --md-light-blue-700: #0288D1;\n --md-light-blue-800: #0277BD;\n --md-light-blue-900: #01579B;\n --md-light-blue-A100: #80D8FF;\n --md-light-blue-A200: #40C4FF;\n --md-light-blue-A400: #00B0FF;\n --md-light-blue-A700: #0091EA;\n\n --md-cyan-50: #E0F7FA;\n --md-cyan-100: #B2EBF2;\n --md-cyan-200: #80DEEA;\n --md-cyan-300: #4DD0E1;\n --md-cyan-400: #26C6DA;\n --md-cyan-500: #00BCD4;\n --md-cyan-600: #00ACC1;\n --md-cyan-700: #0097A7;\n --md-cyan-800: #00838F;\n --md-cyan-900: #006064;\n --md-cyan-A100: #84FFFF;\n --md-cyan-A200: #18FFFF;\n --md-cyan-A400: #00E5FF;\n --md-cyan-A700: #00B8D4;\n\n --md-teal-50: #E0F2F1;\n --md-teal-100: #B2DFDB;\n --md-teal-200: #80CBC4;\n --md-teal-300: #4DB6AC;\n --md-teal-400: #26A69A;\n --md-teal-500: #009688;\n --md-teal-600: #00897B;\n --md-teal-700: #00796B;\n --md-teal-800: #00695C;\n --md-teal-900: #004D40;\n --md-teal-A100: #A7FFEB;\n --md-teal-A200: #64FFDA;\n --md-teal-A400: #1DE9B6;\n --md-teal-A700: #00BFA5;\n\n --md-green-50: #E8F5E9;\n --md-green-100: #C8E6C9;\n --md-green-200: #A5D6A7;\n --md-green-300: #81C784;\n --md-green-400: #66BB6A;\n --md-green-500: #4CAF50;\n --md-green-600: #43A047;\n --md-green-700: #388E3C;\n --md-green-800: #2E7D32;\n --md-green-900: #1B5E20;\n --md-green-A100: #B9F6CA;\n --md-green-A200: #69F0AE;\n --md-green-A400: #00E676;\n --md-green-A700: #00C853;\n\n --md-light-green-50: #F1F8E9;\n --md-light-green-100: #DCEDC8;\n --md-light-green-200: #C5E1A5;\n --md-light-green-300: #AED581;\n --md-light-green-400: #9CCC65;\n --md-light-green-500: #8BC34A;\n --md-light-green-600: #7CB342;\n --md-light-green-700: #689F38;\n --md-light-green-800: #558B2F;\n --md-light-green-900: #33691E;\n --md-light-green-A100: #CCFF90;\n --md-light-green-A200: #B2FF59;\n --md-light-green-A400: #76FF03;\n --md-light-green-A700: #64DD17;\n\n --md-lime-50: #F9FBE7;\n --md-lime-100: #F0F4C3;\n --md-lime-200: #E6EE9C;\n --md-lime-300: #DCE775;\n --md-lime-400: #D4E157;\n --md-lime-500: #CDDC39;\n --md-lime-600: #C0CA33;\n --md-lime-700: #AFB42B;\n --md-lime-800: #9E9D24;\n --md-lime-900: #827717;\n --md-lime-A100: #F4FF81;\n --md-lime-A200: #EEFF41;\n --md-lime-A400: #C6FF00;\n --md-lime-A700: #AEEA00;\n\n --md-yellow-50: #FFFDE7;\n --md-yellow-100: #FFF9C4;\n --md-yellow-200: #FFF59D;\n --md-yellow-300: #FFF176;\n --md-yellow-400: #FFEE58;\n --md-yellow-500: #FFEB3B;\n --md-yellow-600: #FDD835;\n --md-yellow-700: #FBC02D;\n --md-yellow-800: #F9A825;\n --md-yellow-900: #F57F17;\n --md-yellow-A100: #FFFF8D;\n --md-yellow-A200: #FFFF00;\n --md-yellow-A400: #FFEA00;\n --md-yellow-A700: #FFD600;\n\n --md-amber-50: #FFF8E1;\n --md-amber-100: #FFECB3;\n --md-amber-200: #FFE082;\n --md-amber-300: #FFD54F;\n --md-amber-400: #FFCA28;\n --md-amber-500: #FFC107;\n --md-amber-600: #FFB300;\n --md-amber-700: #FFA000;\n --md-amber-800: #FF8F00;\n --md-amber-900: #FF6F00;\n --md-amber-A100: #FFE57F;\n --md-amber-A200: #FFD740;\n --md-amber-A400: #FFC400;\n --md-amber-A700: #FFAB00;\n\n --md-orange-50: #FFF3E0;\n --md-orange-100: #FFE0B2;\n --md-orange-200: #FFCC80;\n --md-orange-300: #FFB74D;\n --md-orange-400: #FFA726;\n --md-orange-500: #FF9800;\n --md-orange-600: #FB8C00;\n --md-orange-700: #F57C00;\n --md-orange-800: #EF6C00;\n --md-orange-900: #E65100;\n --md-orange-A100: #FFD180;\n --md-orange-A200: #FFAB40;\n --md-orange-A400: #FF9100;\n --md-orange-A700: #FF6D00;\n\n --md-deep-orange-50: #FBE9E7;\n --md-deep-orange-100: #FFCCBC;\n --md-deep-orange-200: #FFAB91;\n --md-deep-orange-300: #FF8A65;\n --md-deep-orange-400: #FF7043;\n --md-deep-orange-500: #FF5722;\n --md-deep-orange-600: #F4511E;\n --md-deep-orange-700: #E64A19;\n --md-deep-orange-800: #D84315;\n --md-deep-orange-900: #BF360C;\n --md-deep-orange-A100: #FF9E80;\n --md-deep-orange-A200: #FF6E40;\n --md-deep-orange-A400: #FF3D00;\n --md-deep-orange-A700: #DD2C00;\n\n --md-brown-50: #EFEBE9;\n --md-brown-100: #D7CCC8;\n --md-brown-200: #BCAAA4;\n --md-brown-300: #A1887F;\n --md-brown-400: #8D6E63;\n --md-brown-500: #795548;\n --md-brown-600: #6D4C41;\n --md-brown-700: #5D4037;\n --md-brown-800: #4E342E;\n --md-brown-900: #3E2723;\n\n --md-grey-50: #FAFAFA;\n --md-grey-100: #F5F5F5;\n --md-grey-200: #EEEEEE;\n --md-grey-300: #E0E0E0;\n --md-grey-400: #BDBDBD;\n --md-grey-500: #9E9E9E;\n --md-grey-600: #757575;\n --md-grey-700: #616161;\n --md-grey-800: #424242;\n --md-grey-900: #212121;\n\n --md-blue-grey-50: #ECEFF1;\n --md-blue-grey-100: #CFD8DC;\n --md-blue-grey-200: #B0BEC5;\n --md-blue-grey-300: #90A4AE;\n --md-blue-grey-400: #78909C;\n --md-blue-grey-500: #607D8B;\n --md-blue-grey-600: #546E7A;\n --md-blue-grey-700: #455A64;\n --md-blue-grey-800: #37474F;\n --md-blue-grey-900: #263238;\n}'],sourceRoot:""}]);const a=s},1174:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/* This file has code derived from PhosphorJS CSS files, as noted below. The license for this PhosphorJS code is:\n\nCopyright (c) 2014-2017, PhosphorJS Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n*/\n\n/*\n * The following section is derived from https://github.com/phosphorjs/phosphor/blob/23b9d075ebc5b73ab148b6ebfc20af97f85714c4/packages/widgets/style/tabbar.css \n * We've scoped the rules so that they are consistent with exactly our code.\n */\n\n.jupyter-widgets.widget-tab > .p-TabBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='horizontal'] {\n flex-direction: row;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='vertical'] {\n flex-direction: column;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex: 1 1 auto;\n list-style-type: none;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='horizontal'] > .p-TabBar-content {\n flex-direction: row;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='vertical'] > .p-TabBar-content {\n flex-direction: column;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon,\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon {\n flex: 0 0 auto;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel {\n flex: 1 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-hidden {\n display: none !important;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab {\n position: relative;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging[data-orientation='horizontal'] .p-TabBar-tab {\n left: 0;\n transition: left 150ms ease;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging[data-orientation='vertical'] .p-TabBar-tab {\n top: 0;\n transition: top 150ms ease;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab.p-mod-dragging {\n transition: none;\n}\n\n/* End tabbar.css */\n","",{version:3,sources:["webpack://./../../node_modules/@jupyter-widgets/controls7/css/phosphor.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BC;;AAED;;;EAGE;;AAEF;EACE,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;;AAGA;EACE,mBAAmB;AACrB;;;AAGA;EACE,sBAAsB;AACxB;;;AAGA;EACE,SAAS;EACT,UAAU;EACV,aAAa;EACb,cAAc;EACd,qBAAqB;AACvB;;;AAGA;EACE,mBAAmB;AACrB;;;AAGA;EACE,sBAAsB;AACxB;;;AAGA;EACE,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,gBAAgB;AAClB;;;AAGA;;EAEE,cAAc;AAChB;;;AAGA;EACE,cAAc;EACd,gBAAgB;EAChB,mBAAmB;AACrB;;;AAGA;EACE,wBAAwB;AAC1B;;;AAGA;EACE,kBAAkB;AACpB;;;AAGA;EACE,OAAO;EACP,2BAA2B;AAC7B;;;AAGA;EACE,MAAM;EACN,0BAA0B;AAC5B;;;AAGA;EACE,gBAAgB;AAClB;;AAEA,mBAAmB",sourcesContent:["/* This file has code derived from PhosphorJS CSS files, as noted below. The license for this PhosphorJS code is:\n\nCopyright (c) 2014-2017, PhosphorJS Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n*/\n\n/*\n * The following section is derived from https://github.com/phosphorjs/phosphor/blob/23b9d075ebc5b73ab148b6ebfc20af97f85714c4/packages/widgets/style/tabbar.css \n * We've scoped the rules so that they are consistent with exactly our code.\n */\n\n.jupyter-widgets.widget-tab > .p-TabBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='horizontal'] {\n flex-direction: row;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='vertical'] {\n flex-direction: column;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex: 1 1 auto;\n list-style-type: none;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='horizontal'] > .p-TabBar-content {\n flex-direction: row;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='vertical'] > .p-TabBar-content {\n flex-direction: column;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon,\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon {\n flex: 0 0 auto;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel {\n flex: 1 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-hidden {\n display: none !important;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab {\n position: relative;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging[data-orientation='horizontal'] .p-TabBar-tab {\n left: 0;\n transition: left 150ms ease;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging[data-orientation='vertical'] .p-TabBar-tab {\n top: 0;\n transition: top 150ms ease;\n}\n\n\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab.p-mod-dragging {\n transition: none;\n}\n\n/* End tabbar.css */\n"],sourceRoot:""}]);const a=s},1144:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o),a=n(1174),l=n(62),d=n.n(l),c=new URL(n(2426),n.b),u=s()(r());u.i(a.A);var h=d()(c);u.push([e.id,`/* Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*\n * We assume that the CSS variables in\n * https://github.com/jupyterlab/jupyterlab/blob/master/src/default-theme/variables.css\n * have been defined.\n */\n\n:root {\n --jp-widgets-color: var(--jp-content-font-color1);\n --jp-widgets-label-color: var(--jp-widgets-color);\n --jp-widgets-readout-color: var(--jp-widgets-color);\n --jp-widgets-font-size: var(--jp-ui-font-size1);\n --jp-widgets-margin: 2px;\n --jp-widgets-inline-height: 28px;\n --jp-widgets-inline-width: 300px;\n --jp-widgets-inline-width-short: calc(var(--jp-widgets-inline-width) / 2 - var(--jp-widgets-margin));\n --jp-widgets-inline-width-tiny: calc(var(--jp-widgets-inline-width-short) / 2 - var(--jp-widgets-margin));\n --jp-widgets-inline-margin: 4px; /* margin between inline elements */\n --jp-widgets-inline-label-width: 80px;\n --jp-widgets-border-width: var(--jp-border-width);\n --jp-widgets-vertical-height: 200px;\n --jp-widgets-horizontal-tab-height: 24px;\n --jp-widgets-horizontal-tab-width: 144px;\n --jp-widgets-horizontal-tab-top-border: 2px;\n --jp-widgets-progress-thickness: 20px;\n --jp-widgets-container-padding: 15px;\n --jp-widgets-input-padding: 4px;\n --jp-widgets-radio-item-height-adjustment: 8px;\n --jp-widgets-radio-item-height: calc(var(--jp-widgets-inline-height) - var(--jp-widgets-radio-item-height-adjustment));\n --jp-widgets-slider-track-thickness: 4px;\n --jp-widgets-slider-border-width: var(--jp-widgets-border-width);\n --jp-widgets-slider-handle-size: 16px;\n --jp-widgets-slider-handle-border-color: var(--jp-border-color1);\n --jp-widgets-slider-handle-background-color: var(--jp-layout-color1);\n --jp-widgets-slider-active-handle-color: var(--jp-brand-color1);\n --jp-widgets-menu-item-height: 24px;\n --jp-widgets-dropdown-arrow: url(${h});\n --jp-widgets-input-color: var(--jp-ui-font-color1);\n --jp-widgets-input-background-color: var(--jp-layout-color1);\n --jp-widgets-input-border-color: var(--jp-border-color1);\n --jp-widgets-input-focus-border-color: var(--jp-brand-color2);\n --jp-widgets-input-border-width: var(--jp-widgets-border-width);\n --jp-widgets-disabled-opacity: 0.6;\n\n /* From Material Design Lite */\n --md-shadow-key-umbra-opacity: 0.2;\n --md-shadow-key-penumbra-opacity: 0.14;\n --md-shadow-ambient-shadow-opacity: 0.12;\n}\n\n.jupyter-widgets {\n margin: var(--jp-widgets-margin);\n box-sizing: border-box;\n color: var(--jp-widgets-color);\n overflow: visible;\n}\n\n.jp-Output-result > .jupyter-widgets {\n margin-left: 0;\n margin-right: 0;\n}\n\n/* vbox and hbox */\n\n.widget-inline-hbox {\n /* Horizontal widgets */\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: baseline;\n}\n\n.widget-inline-vbox {\n /* Vertical Widgets */\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.widget-box {\n box-sizing: border-box;\n display: flex;\n margin: 0;\n overflow: auto;\n}\n\n.widget-gridbox {\n box-sizing: border-box;\n display: grid;\n margin: 0;\n overflow: auto;\n}\n\n.widget-hbox {\n flex-direction: row;\n}\n\n.widget-vbox {\n flex-direction: column;\n}\n\n/* General Button Styling */\n\n.jupyter-button {\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 0px;\n padding-bottom: 0px;\n display: inline-block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n font-size: var(--jp-widgets-font-size);\n cursor: pointer;\n\n height: var(--jp-widgets-inline-height);\n border: 0px solid;\n line-height: var(--jp-widgets-inline-height);\n box-shadow: none;\n\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color2);\n border-color: var(--jp-border-color2);\n border: none;\n user-select: none;\n}\n\n.jupyter-button i.fa {\n margin-right: var(--jp-widgets-inline-margin);\n pointer-events: none;\n}\n\n.jupyter-button:empty:before {\n content: "\\200b"; /* zero-width space */\n}\n\n.jupyter-widgets.jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n.jupyter-button i.fa.center {\n margin-right: 0;\n}\n\n.jupyter-button:hover:enabled, .jupyter-button:focus:enabled {\n /* MD Lite 2dp shadow */\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 3px 1px -2px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity)),\n 0 1px 5px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity));\n}\n\n.jupyter-button:active, .jupyter-button.mod-active {\n /* MD Lite 4dp shadow */\n box-shadow: 0 4px 5px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 1px 10px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity)),\n 0 2px 4px -1px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity));\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color3);\n}\n\n.jupyter-button:focus:enabled {\n outline: 1px solid var(--jp-widgets-input-focus-border-color);\n}\n\n/* Button "Primary" Styling */\n\n.jupyter-button.mod-primary {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-brand-color1);\n}\n\n.jupyter-button.mod-primary.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-brand-color0);\n}\n\n.jupyter-button.mod-primary:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-brand-color0);\n}\n\n/* Button "Success" Styling */\n\n.jupyter-button.mod-success {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-success-color1);\n}\n\n.jupyter-button.mod-success.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-success-color0);\n}\n\n.jupyter-button.mod-success:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-success-color0);\n}\n\n /* Button "Info" Styling */\n\n.jupyter-button.mod-info {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-info-color1);\n}\n\n.jupyter-button.mod-info.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-info-color0);\n}\n\n.jupyter-button.mod-info:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-info-color0);\n}\n\n/* Button "Warning" Styling */\n\n.jupyter-button.mod-warning {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-warn-color1);\n}\n\n.jupyter-button.mod-warning.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-warn-color0);\n}\n\n.jupyter-button.mod-warning:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-warn-color0);\n}\n\n/* Button "Danger" Styling */\n\n.jupyter-button.mod-danger {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-error-color1);\n}\n\n.jupyter-button.mod-danger.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-error-color0);\n}\n\n.jupyter-button.mod-danger:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-error-color0);\n}\n\n/* Widget Button, Widget Toggle Button, Widget Upload */\n\n.widget-button, .widget-toggle-button, .widget-upload {\n width: var(--jp-widgets-inline-width-short);\n}\n\n/* Widget Label Styling */\n\n/* Override Bootstrap label css */\n.jupyter-widgets label {\n margin-bottom: initial;\n}\n\n.widget-label-basic {\n /* Basic Label */\n color: var(--jp-widgets-label-color);\n font-size: var(--jp-widgets-font-size);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-label {\n /* Label */\n color: var(--jp-widgets-label-color);\n font-size: var(--jp-widgets-font-size);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-inline-hbox .widget-label {\n /* Horizontal Widget Label */\n color: var(--jp-widgets-label-color);\n text-align: right;\n margin-right: calc( var(--jp-widgets-inline-margin) * 2 );\n width: var(--jp-widgets-inline-label-width);\n flex-shrink: 0;\n}\n\n.widget-inline-vbox .widget-label {\n /* Vertical Widget Label */\n color: var(--jp-widgets-label-color);\n text-align: center;\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* Widget Readout Styling */\n\n.widget-readout {\n color: var(--jp-widgets-readout-color);\n font-size: var(--jp-widgets-font-size);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n overflow: hidden;\n white-space: nowrap;\n text-align: center;\n}\n\n.widget-readout.overflow {\n /* Overflowing Readout */\n\n /* From Material Design Lite\n shadow-key-umbra-opacity: 0.2;\n shadow-key-penumbra-opacity: 0.14;\n shadow-ambient-shadow-opacity: 0.12;\n */\n -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n\n -moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n}\n\n.widget-inline-hbox .widget-readout {\n /* Horizontal Readout */\n text-align: center;\n max-width: var(--jp-widgets-inline-width-short);\n min-width: var(--jp-widgets-inline-width-tiny);\n margin-left: var(--jp-widgets-inline-margin);\n}\n\n.widget-inline-vbox .widget-readout {\n /* Vertical Readout */\n margin-top: var(--jp-widgets-inline-margin);\n /* as wide as the widget */\n width: inherit;\n}\n\n/* Widget Checkbox Styling */\n\n.widget-checkbox {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-checkbox input[type="checkbox"] {\n margin: 0px calc( var(--jp-widgets-inline-margin) * 2 ) 0px 0px;\n line-height: var(--jp-widgets-inline-height);\n font-size: large;\n flex-grow: 1;\n flex-shrink: 0;\n align-self: center;\n}\n\n/* Widget Valid Styling */\n\n.widget-valid {\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width-short);\n font-size: var(--jp-widgets-font-size);\n}\n\n.widget-valid i:before {\n line-height: var(--jp-widgets-inline-height);\n margin-right: var(--jp-widgets-inline-margin);\n margin-left: var(--jp-widgets-inline-margin);\n}\n\n.widget-valid.mod-valid i:before {\n color: green;\n}\n\n.widget-valid.mod-invalid i:before {\n color: red;\n}\n\n.widget-valid.mod-valid .widget-valid-readout {\n display: none;\n}\n\n/* Widget Text and TextArea Stying */\n\n.widget-textarea, .widget-text {\n width: var(--jp-widgets-inline-width);\n}\n\n.widget-text input[type="text"], .widget-text input[type="number"], .widget-text input[type="password"] {\n height: var(--jp-widgets-inline-height);\n}\n\n.widget-text input[type="text"]:disabled, .widget-text input[type="number"]:disabled, .widget-text input[type="password"]:disabled, .widget-textarea textarea:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n.widget-text input[type="text"], .widget-text input[type="number"], .widget-text input[type="password"], .widget-textarea textarea {\n box-sizing: border-box;\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n flex-grow: 1;\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n flex-shrink: 1;\n outline: none !important;\n}\n \n.widget-text input[type="text"], .widget-text input[type="password"], .widget-textarea textarea {\n padding: var(--jp-widgets-input-padding) calc( var(--jp-widgets-input-padding) * 2);\n}\n\n.widget-text input[type="number"] {\n padding: var(--jp-widgets-input-padding) 0 var(--jp-widgets-input-padding) calc(var(--jp-widgets-input-padding) * 2);\n}\n\n.widget-textarea textarea {\n height: inherit;\n width: inherit;\n}\n\n.widget-text input:focus, .widget-textarea textarea:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* Widget Slider */\n\n.widget-slider .ui-slider {\n /* Slider Track */\n border: var(--jp-widgets-slider-border-width) solid var(--jp-layout-color3);\n background: var(--jp-layout-color3);\n box-sizing: border-box;\n position: relative;\n border-radius: 0px;\n}\n\n.widget-slider .ui-slider .ui-slider-handle {\n /* Slider Handle */\n outline: none !important; /* focused slider handles are colored - see below */\n position: absolute;\n background-color: var(--jp-widgets-slider-handle-background-color);\n border: var(--jp-widgets-slider-border-width) solid var(--jp-widgets-slider-handle-border-color);\n box-sizing: border-box;\n z-index: 1;\n background-image: none; /* Override jquery-ui */\n}\n\n/* Override jquery-ui */\n.widget-slider .ui-slider .ui-slider-handle:hover, .widget-slider .ui-slider .ui-slider-handle:focus {\n background-color: var(--jp-widgets-slider-active-handle-color);\n border: var(--jp-widgets-slider-border-width) solid var(--jp-widgets-slider-active-handle-color);\n}\n\n.widget-slider .ui-slider .ui-slider-handle:active {\n background-color: var(--jp-widgets-slider-active-handle-color);\n border-color: var(--jp-widgets-slider-active-handle-color);\n z-index: 2;\n transform: scale(1.2);\n}\n\n.widget-slider .ui-slider .ui-slider-range {\n /* Interval between the two specified value of a double slider */\n position: absolute;\n background: var(--jp-widgets-slider-active-handle-color);\n z-index: 0;\n}\n\n/* Shapes of Slider Handles */\n\n.widget-hslider .ui-slider .ui-slider-handle {\n width: var(--jp-widgets-slider-handle-size);\n height: var(--jp-widgets-slider-handle-size);\n margin-top: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-handle-size)) / 2 - var(--jp-widgets-slider-border-width));\n margin-left: calc(var(--jp-widgets-slider-handle-size) / -2 + var(--jp-widgets-slider-border-width));\n border-radius: 50%;\n top: 0;\n}\n\n.widget-vslider .ui-slider .ui-slider-handle {\n width: var(--jp-widgets-slider-handle-size);\n height: var(--jp-widgets-slider-handle-size);\n margin-bottom: calc(var(--jp-widgets-slider-handle-size) / -2 + var(--jp-widgets-slider-border-width));\n margin-left: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-handle-size)) / 2 - var(--jp-widgets-slider-border-width));\n border-radius: 50%;\n left: 0;\n}\n\n.widget-hslider .ui-slider .ui-slider-range {\n height: calc( var(--jp-widgets-slider-track-thickness) * 2 );\n margin-top: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-track-thickness) * 2 ) / 2 - var(--jp-widgets-slider-border-width));\n}\n\n.widget-vslider .ui-slider .ui-slider-range {\n width: calc( var(--jp-widgets-slider-track-thickness) * 2 );\n margin-left: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-track-thickness) * 2 ) / 2 - var(--jp-widgets-slider-border-width));\n}\n\n/* Horizontal Slider */\n\n.widget-hslider {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n\n /* Override the align-items baseline. This way, the description and readout\n still seem to align their baseline properly, and we don't have to have\n align-self: stretch in the .slider-container. */\n align-items: center;\n}\n\n.widgets-slider .slider-container {\n overflow: visible;\n}\n\n.widget-hslider .slider-container {\n height: var(--jp-widgets-inline-height);\n margin-left: calc(var(--jp-widgets-slider-handle-size) / 2 - 2 * var(--jp-widgets-slider-border-width));\n margin-right: calc(var(--jp-widgets-slider-handle-size) / 2 - 2 * var(--jp-widgets-slider-border-width));\n flex: 1 1 var(--jp-widgets-inline-width-short);\n}\n\n.widget-hslider .ui-slider {\n /* Inner, invisible slide div */\n height: var(--jp-widgets-slider-track-thickness);\n margin-top: calc((var(--jp-widgets-inline-height) - var(--jp-widgets-slider-track-thickness)) / 2);\n width: 100%;\n}\n\n/* Vertical Slider */\n\n.widget-vbox .widget-label {\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-vslider {\n /* Vertical Slider */\n height: var(--jp-widgets-vertical-height);\n width: var(--jp-widgets-inline-width-tiny);\n}\n\n.widget-vslider .slider-container {\n flex: 1 1 var(--jp-widgets-inline-width-short);\n margin-left: auto;\n margin-right: auto;\n margin-bottom: calc(var(--jp-widgets-slider-handle-size) / 2 - 2 * var(--jp-widgets-slider-border-width));\n margin-top: calc(var(--jp-widgets-slider-handle-size) / 2 - 2 * var(--jp-widgets-slider-border-width));\n display: flex;\n flex-direction: column;\n}\n\n.widget-vslider .ui-slider-vertical {\n /* Inner, invisible slide div */\n width: var(--jp-widgets-slider-track-thickness);\n flex-grow: 1;\n margin-left: auto;\n margin-right: auto;\n}\n\n/* Widget Progress Styling */\n\n.progress-bar {\n -webkit-transition: none;\n -moz-transition: none;\n -ms-transition: none;\n -o-transition: none;\n transition: none;\n}\n\n.progress-bar {\n height: var(--jp-widgets-inline-height);\n}\n\n.progress-bar {\n background-color: var(--jp-brand-color1);\n}\n\n.progress-bar-success {\n background-color: var(--jp-success-color1);\n}\n\n.progress-bar-info {\n background-color: var(--jp-info-color1);\n}\n\n.progress-bar-warning {\n background-color: var(--jp-warn-color1);\n}\n\n.progress-bar-danger {\n background-color: var(--jp-error-color1);\n}\n\n.progress {\n background-color: var(--jp-layout-color2);\n border: none;\n box-shadow: none;\n}\n\n/* Horisontal Progress */\n\n.widget-hprogress {\n /* Progress Bar */\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width);\n align-items: center;\n\n}\n\n.widget-hprogress .progress {\n flex-grow: 1;\n margin-top: var(--jp-widgets-input-padding);\n margin-bottom: var(--jp-widgets-input-padding);\n align-self: stretch;\n /* Override bootstrap style */\n height: initial;\n}\n\n/* Vertical Progress */\n\n.widget-vprogress {\n height: var(--jp-widgets-vertical-height);\n width: var(--jp-widgets-inline-width-tiny);\n}\n\n.widget-vprogress .progress {\n flex-grow: 1;\n width: var(--jp-widgets-progress-thickness);\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 0;\n}\n\n/* Select Widget Styling */\n\n.widget-dropdown {\n height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-dropdown > select {\n padding-right: 20px;\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n border-radius: 0;\n height: inherit;\n flex: 1 1 var(--jp-widgets-inline-width-short);\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n box-sizing: border-box;\n outline: none !important;\n box-shadow: none;\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n vertical-align: top;\n padding-left: calc( var(--jp-widgets-input-padding) * 2);\n\tappearance: none;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n background-repeat: no-repeat;\n\tbackground-size: 20px;\n\tbackground-position: right center;\n background-image: var(--jp-widgets-dropdown-arrow);\n}\n.widget-dropdown > select:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.widget-dropdown > select:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* To disable the dotted border in Firefox around select controls.\n See http://stackoverflow.com/a/18853002 */\n.widget-dropdown > select:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 #000;\n}\n\n/* Select and SelectMultiple */\n\n.widget-select {\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n\n /* Because Firefox defines the baseline of a select as the bottom of the\n control, we align the entire control to the top and add padding to the\n select to get an approximate first line baseline alignment. */\n align-items: flex-start;\n}\n\n.widget-select > select {\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n flex: 1 1 var(--jp-widgets-inline-width-short);\n outline: none !important;\n overflow: auto;\n height: inherit;\n\n /* Because Firefox defines the baseline of a select as the bottom of the\n control, we align the entire control to the top and add padding to the\n select to get an approximate first line baseline alignment. */\n padding-top: 5px;\n}\n\n.widget-select > select:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.wiget-select > select > option {\n padding-left: var(--jp-widgets-input-padding);\n line-height: var(--jp-widgets-inline-height);\n /* line-height doesn't work on some browsers for select options */\n padding-top: calc(var(--jp-widgets-inline-height)-var(--jp-widgets-font-size)/2);\n padding-bottom: calc(var(--jp-widgets-inline-height)-var(--jp-widgets-font-size)/2);\n}\n\n\n\n/* Toggle Buttons Styling */\n\n.widget-toggle-buttons {\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-toggle-buttons .widget-toggle-button {\n margin-left: var(--jp-widgets-margin);\n margin-right: var(--jp-widgets-margin);\n}\n\n.widget-toggle-buttons .jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Radio Buttons Styling */\n\n.widget-radio {\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-radio-box {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n box-sizing: border-box;\n flex-grow: 1;\n margin-bottom: var(--jp-widgets-radio-item-height-adjustment);\n}\n\n.widget-radio-box label {\n height: var(--jp-widgets-radio-item-height);\n line-height: var(--jp-widgets-radio-item-height);\n font-size: var(--jp-widgets-font-size);\n}\n\n.widget-radio-box input {\n height: var(--jp-widgets-radio-item-height);\n line-height: var(--jp-widgets-radio-item-height);\n margin: 0 calc( var(--jp-widgets-input-padding) * 2 ) 0 1px;\n float: left;\n}\n\n/* Color Picker Styling */\n\n.widget-colorpicker {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-colorpicker > .widget-colorpicker-input {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: var(--jp-widgets-inline-width-tiny);\n}\n\n.widget-colorpicker input[type="color"] {\n width: var(--jp-widgets-inline-height);\n height: var(--jp-widgets-inline-height);\n padding: 0 2px; /* make the color square actually square on Chrome on OS X */\n background: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n border-left: none;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n align-self: stretch;\n outline: none !important;\n}\n\n.widget-colorpicker.concise input[type="color"] {\n border-left: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n}\n\n.widget-colorpicker input[type="color"]:focus, .widget-colorpicker input[type="text"]:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.widget-colorpicker input[type="text"] {\n flex-grow: 1;\n outline: none !important;\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n background: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n font-size: var(--jp-widgets-font-size);\n padding: var(--jp-widgets-input-padding) calc( var(--jp-widgets-input-padding) * 2 );\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n flex-shrink: 1;\n box-sizing: border-box;\n}\n\n.widget-colorpicker input[type="text"]:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Date Picker Styling */\n\n.widget-datepicker {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-datepicker input[type="date"] {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n outline: none !important;\n height: var(--jp-widgets-inline-height);\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n padding: var(--jp-widgets-input-padding) calc( var(--jp-widgets-input-padding) * 2 );\n box-sizing: border-box;\n}\n\n.widget-datepicker input[type="date"]:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.widget-datepicker input[type="date"]:invalid {\n border-color: var(--jp-warn-color1);\n}\n\n.widget-datepicker input[type="date"]:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Play Widget */\n\n.widget-play {\n width: var(--jp-widgets-inline-width-short);\n display: flex;\n align-items: stretch;\n}\n\n.widget-play .jupyter-button {\n flex-grow: 1;\n height: auto;\n}\n\n.widget-play .jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Tab Widget */\n\n.jupyter-widgets.widget-tab {\n display: flex;\n flex-direction: column;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar {\n /* Necessary so that a tab can be shifted down to overlay the border of the box below. */\n overflow-x: visible;\n overflow-y: visible;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content {\n /* Make sure that the tab grows from bottom up */\n align-items: flex-end;\n min-width: 0;\n min-height: 0;\n}\n\n.jupyter-widgets.widget-tab > .widget-tab-contents {\n width: 100%;\n box-sizing: border-box;\n margin: 0;\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n border: var(--jp-border-width) solid var(--jp-border-color1);\n padding: var(--jp-widgets-container-padding);\n flex-grow: 1;\n overflow: auto;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar {\n font: var(--jp-widgets-font-size) Helvetica, Arial, sans-serif;\n min-height: calc(var(--jp-widgets-horizontal-tab-height) + var(--jp-border-width));\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab {\n flex: 0 1 var(--jp-widgets-horizontal-tab-width);\n min-width: 35px;\n min-height: calc(var(--jp-widgets-horizontal-tab-height) + var(--jp-border-width));\n line-height: var(--jp-widgets-horizontal-tab-height);\n margin-left: calc(-1 * var(--jp-border-width));\n padding: 0px 10px;\n background: var(--jp-layout-color2);\n color: var(--jp-ui-font-color2);\n border: var(--jp-border-width) solid var(--jp-border-color1);\n border-bottom: none;\n position: relative;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current {\n color: var(--jp-ui-font-color0);\n /* We want the background to match the tab content background */\n background: var(--jp-layout-color1);\n min-height: calc(var(--jp-widgets-horizontal-tab-height) + 2 * var(--jp-border-width));\n transform: translateY(var(--jp-border-width));\n overflow: visible;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current:before {\n position: absolute;\n top: calc(-1 * var(--jp-border-width));\n left: calc(-1 * var(--jp-border-width));\n content: '';\n height: var(--jp-widgets-horizontal-tab-top-border);\n width: calc(100% + 2 * var(--jp-border-width));\n background: var(--jp-brand-color1);\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab:first-child {\n margin-left: 0;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab:hover:not(.p-mod-current) {\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-mod-closable > .p-TabBar-tabCloseIcon {\n margin-left: 4px;\n}\n\n/* This font-awesome strategy may not work across FA4 and FA5, but we don't\nactually support closable tabs, so it really doesn't matter */\n.jupyter-widgets.widget-tab > .p-TabBar .p-mod-closable > .p-TabBar-tabCloseIcon:before {\n font-family: FontAwesome;\n content: '\\f00d'; /* close */\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon,\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel,\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon {\n line-height: var(--jp-widgets-horizontal-tab-height);\n}\n\n/* Accordion Widget */\n\n.p-Collapse {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n\n.p-Collapse-header {\n padding: var(--jp-widgets-input-padding);\n cursor: pointer;\n color: var(--jp-ui-font-color2);\n background-color: var(--jp-layout-color2);\n border: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n padding: calc(var(--jp-widgets-container-padding) * 2 / 3) var(--jp-widgets-container-padding);\n font-weight: bold;\n}\n\n.p-Collapse-header:hover {\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n}\n\n.p-Collapse-open > .p-Collapse-header {\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color0);\n cursor: default;\n border-bottom: none;\n}\n\n.p-Collapse-contents {\n padding: var(--jp-widgets-container-padding);\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n border-left: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n border-right: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n border-bottom: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n overflow: auto;\n}\n\n.p-Accordion {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n\n.p-Accordion .p-Collapse {\n margin-bottom: 0;\n}\n\n.p-Accordion .p-Collapse + .p-Collapse {\n margin-top: 4px;\n}\n\n\n\n/* HTML widget */\n\n.widget-html, .widget-htmlmath {\n font-size: var(--jp-widgets-font-size);\n}\n\n.widget-html > .widget-html-content, .widget-htmlmath > .widget-html-content {\n /* Fill out the area in the HTML widget */\n align-self: stretch;\n flex-grow: 1;\n flex-shrink: 1;\n /* Makes sure the baseline is still aligned with other elements */\n line-height: var(--jp-widgets-inline-height);\n /* Make it possible to have absolutely-positioned elements in the html */\n position: relative;\n}\n\n\n/* Image widget */\n\n.widget-image {\n max-width: 100%;\n height: auto;\n}\n\n/* cursor fix: https://github.com/jupyter-widgets/ipywidgets/pull/3687\n Phosphor/Lumino sets the cursor, which we don't want. Otherwise\n a widget does not have the proper cursor when it is a child of an\n anchor tag. The two classes give it higher specificity than the\n phosphor/lumino classes.\n*/\n\n.jupyter-widgets.lm-Widget, .jupyter-widgets.p-Widget {\n cursor: unset;\n}\n`,"",{version:3,sources:["webpack://./../../node_modules/@jupyter-widgets/controls7/css/widgets-base.css"],names:[],mappings:"AAAA;;EAEE;;AAEF;;;;EAIE;;AAIF;IACI,iDAAiD;IACjD,iDAAiD;IACjD,mDAAmD;IACnD,+CAA+C;IAC/C,wBAAwB;IACxB,gCAAgC;IAChC,gCAAgC;IAChC,oGAAoG;IACpG,yGAAyG;IACzG,+BAA+B,EAAE,mCAAmC;IACpE,qCAAqC;IACrC,iDAAiD;IACjD,mCAAmC;IACnC,wCAAwC;IACxC,wCAAwC;IACxC,2CAA2C;IAC3C,qCAAqC;IACrC,oCAAoC;IACpC,+BAA+B;IAC/B,8CAA8C;IAC9C,sHAAsH;IACtH,wCAAwC;IACxC,gEAAgE;IAChE,qCAAqC;IACrC,gEAAgE;IAChE,oEAAoE;IACpE,+DAA+D;IAC/D,mCAAmC;IACnC,oEAA4uB;IAC5uB,kDAAkD;IAClD,4DAA4D;IAC5D,wDAAwD;IACxD,6DAA6D;IAC7D,+DAA+D;IAC/D,kCAAkC;;IAElC,8BAA8B;IAC9B,kCAAkC;IAClC,sCAAsC;IACtC,wCAAwC;AAC5C;;AAEA;IACI,gCAAgC;IAChC,sBAAsB;IACtB,8BAA8B;IAC9B,iBAAiB;AACrB;;AAEA;IACI,cAAc;IACd,eAAe;AACnB;;AAEA,kBAAkB;;AAElB;IACI,uBAAuB;IACvB,sBAAsB;IACtB,aAAa;IACb,mBAAmB;IACnB,qBAAqB;AACzB;;AAEA;IACI,qBAAqB;IACrB,sBAAsB;IACtB,aAAa;IACb,sBAAsB;IACtB,mBAAmB;AACvB;;AAEA;IACI,sBAAsB;IACtB,aAAa;IACb,SAAS;IACT,cAAc;AAClB;;AAEA;IACI,sBAAsB;IACtB,aAAa;IACb,SAAS;IACT,cAAc;AAClB;;AAEA;IACI,mBAAmB;AACvB;;AAEA;IACI,sBAAsB;AAC1B;;AAEA,2BAA2B;;AAE3B;IACI,kBAAkB;IAClB,mBAAmB;IACnB,gBAAgB;IAChB,mBAAmB;IACnB,qBAAqB;IACrB,mBAAmB;IACnB,gBAAgB;IAChB,uBAAuB;IACvB,kBAAkB;IAClB,sCAAsC;IACtC,eAAe;;IAEf,uCAAuC;IACvC,iBAAiB;IACjB,4CAA4C;IAC5C,gBAAgB;;IAEhB,+BAA+B;IAC/B,yCAAyC;IACzC,qCAAqC;IACrC,YAAY;IACZ,iBAAiB;AACrB;;AAEA;IACI,6CAA6C;IAC7C,oBAAoB;AACxB;;AAEA;IACI,gBAAgB,EAAE,qBAAqB;AAC3C;;AAEA;IACI,2CAA2C;AAC/C;;AAEA;IACI,eAAe;AACnB;;AAEA;IACI,uBAAuB;IACvB;;kFAE8E;AAClF;;AAEA;IACI,uBAAuB;IACvB;;gFAE4E;IAC5E,+BAA+B;IAC/B,yCAAyC;AAC7C;;AAEA;IACI,6DAA6D;AACjE;;AAEA,6BAA6B;;AAE7B;IACI,yEAAyE;IACzE,wCAAwC;AAC5C;;AAEA;IACI,yEAAyE;IACzE,wCAAwC;AAC5C;;AAEA;IACI,yEAAyE;IACzE,wCAAwC;AAC5C;;AAEA,6BAA6B;;AAE7B;IACI,yEAAyE;IACzE,0CAA0C;AAC9C;;AAEA;IACI,yEAAyE;IACzE,0CAA0C;AAC9C;;AAEA;IACI,yEAAyE;IACzE,0CAA0C;AAC9C;;CAEC,0BAA0B;;AAE3B;IACI,yEAAyE;IACzE,uCAAuC;AAC3C;;AAEA;IACI,yEAAyE;IACzE,uCAAuC;AAC3C;;AAEA;IACI,yEAAyE;IACzE,uCAAuC;AAC3C;;AAEA,6BAA6B;;AAE7B;IACI,yEAAyE;IACzE,uCAAuC;AAC3C;;AAEA;IACI,yEAAyE;IACzE,uCAAuC;AAC3C;;AAEA;IACI,yEAAyE;IACzE,uCAAuC;AAC3C;;AAEA,4BAA4B;;AAE5B;IACI,yEAAyE;IACzE,wCAAwC;AAC5C;;AAEA;IACI,yEAAyE;IACzE,wCAAwC;AAC5C;;AAEA;IACI,yEAAyE;IACzE,wCAAwC;AAC5C;;AAEA,uDAAuD;;AAEvD;IACI,2CAA2C;AAC/C;;AAEA,yBAAyB;;AAEzB,iCAAiC;AACjC;IACI,sBAAsB;AAC1B;;AAEA;IACI,gBAAgB;IAChB,oCAAoC;IACpC,sCAAsC;IACtC,gBAAgB;IAChB,uBAAuB;IACvB,mBAAmB;IACnB,4CAA4C;AAChD;;AAEA;IACI,UAAU;IACV,oCAAoC;IACpC,sCAAsC;IACtC,gBAAgB;IAChB,uBAAuB;IACvB,mBAAmB;IACnB,4CAA4C;AAChD;;AAEA;IACI,4BAA4B;IAC5B,oCAAoC;IACpC,iBAAiB;IACjB,yDAAyD;IACzD,2CAA2C;IAC3C,cAAc;AAClB;;AAEA;IACI,0BAA0B;IAC1B,oCAAoC;IACpC,kBAAkB;IAClB,4CAA4C;AAChD;;AAEA,2BAA2B;;AAE3B;IACI,sCAAsC;IACtC,sCAAsC;IACtC,uCAAuC;IACvC,4CAA4C;IAC5C,gBAAgB;IAChB,mBAAmB;IACnB,kBAAkB;AACtB;;AAEA;IACI,wBAAwB;;IAExB;;;;MAIE;IACF;;uDAEmD;;IAEnD;;oDAEgD;;IAEhD;;+CAE2C;AAC/C;;AAEA;IACI,uBAAuB;IACvB,kBAAkB;IAClB,+CAA+C;IAC/C,8CAA8C;IAC9C,4CAA4C;AAChD;;AAEA;IACI,qBAAqB;IACrB,2CAA2C;IAC3C,0BAA0B;IAC1B,cAAc;AAClB;;AAEA,4BAA4B;;AAE5B;IACI,qCAAqC;IACrC,uCAAuC;IACvC,4CAA4C;AAChD;;AAEA;IACI,+DAA+D;IAC/D,4CAA4C;IAC5C,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,kBAAkB;AACtB;;AAEA,yBAAyB;;AAEzB;IACI,uCAAuC;IACvC,4CAA4C;IAC5C,2CAA2C;IAC3C,sCAAsC;AAC1C;;AAEA;IACI,4CAA4C;IAC5C,6CAA6C;IAC7C,4CAA4C;AAChD;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,UAAU;AACd;;AAEA;IACI,aAAa;AACjB;;AAEA,oCAAoC;;AAEpC;IACI,qCAAqC;AACzC;;AAEA;IACI,uCAAuC;AAC3C;;AAEA;IACI,2CAA2C;AAC/C;;AAEA;IACI,sBAAsB;IACtB,uFAAuF;IACvF,0DAA0D;IAC1D,oCAAoC;IACpC,sCAAsC;IACtC,YAAY;IACZ,YAAY,EAAE,gEAAgE;IAC9E,cAAc;IACd,wBAAwB;AAC5B;;AAEA;IACI,oFAAoF;AACxF;;AAEA;IACI,qHAAqH;AACzH;;AAEA;IACI,eAAe;IACf,cAAc;AAClB;;AAEA;IACI,wDAAwD;AAC5D;;AAEA,kBAAkB;;AAElB;IACI,iBAAiB;IACjB,2EAA2E;IAC3E,mCAAmC;IACnC,sBAAsB;IACtB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,kBAAkB;IAClB,wBAAwB,EAAE,mDAAmD;IAC7E,kBAAkB;IAClB,kEAAkE;IAClE,gGAAgG;IAChG,sBAAsB;IACtB,UAAU;IACV,sBAAsB,EAAE,uBAAuB;AACnD;;AAEA,uBAAuB;AACvB;IACI,8DAA8D;IAC9D,gGAAgG;AACpG;;AAEA;IACI,8DAA8D;IAC9D,0DAA0D;IAC1D,UAAU;IACV,qBAAqB;AACzB;;AAEA;IACI,gEAAgE;IAChE,kBAAkB;IAClB,wDAAwD;IACxD,UAAU;AACd;;AAEA,6BAA6B;;AAE7B;IACI,2CAA2C;IAC3C,4CAA4C;IAC5C,+IAA+I;IAC/I,oGAAoG;IACpG,kBAAkB;IAClB,MAAM;AACV;;AAEA;IACI,2CAA2C;IAC3C,4CAA4C;IAC5C,sGAAsG;IACtG,gJAAgJ;IAChJ,kBAAkB;IAClB,OAAO;AACX;;AAEA;IACI,4DAA4D;IAC5D,wJAAwJ;AAC5J;;AAEA;IACI,2DAA2D;IAC3D,yJAAyJ;AAC7J;;AAEA,sBAAsB;;AAEtB;IACI,qCAAqC;IACrC,uCAAuC;IACvC,4CAA4C;;IAE5C;;mDAE+C;IAC/C,mBAAmB;AACvB;;AAEA;IACI,iBAAiB;AACrB;;AAEA;IACI,uCAAuC;IACvC,uGAAuG;IACvG,wGAAwG;IACxG,8CAA8C;AAClD;;AAEA;IACI,+BAA+B;IAC/B,gDAAgD;IAChD,kGAAkG;IAClG,WAAW;AACf;;AAEA,oBAAoB;;AAEpB;IACI,uCAAuC;IACvC,4CAA4C;AAChD;;AAEA;IACI,oBAAoB;IACpB,yCAAyC;IACzC,0CAA0C;AAC9C;;AAEA;IACI,8CAA8C;IAC9C,iBAAiB;IACjB,kBAAkB;IAClB,yGAAyG;IACzG,sGAAsG;IACtG,aAAa;IACb,sBAAsB;AAC1B;;AAEA;IACI,+BAA+B;IAC/B,+CAA+C;IAC/C,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;AACtB;;AAEA,4BAA4B;;AAE5B;IACI,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;IACpB,mBAAmB;IACnB,gBAAgB;AACpB;;AAEA;IACI,uCAAuC;AAC3C;;AAEA;IACI,wCAAwC;AAC5C;;AAEA;IACI,0CAA0C;AAC9C;;AAEA;IACI,uCAAuC;AAC3C;;AAEA;IACI,uCAAuC;AAC3C;;AAEA;IACI,wCAAwC;AAC5C;;AAEA;IACI,yCAAyC;IACzC,YAAY;IACZ,gBAAgB;AACpB;;AAEA,wBAAwB;;AAExB;IACI,iBAAiB;IACjB,uCAAuC;IACvC,4CAA4C;IAC5C,qCAAqC;IACrC,mBAAmB;;AAEvB;;AAEA;IACI,YAAY;IACZ,2CAA2C;IAC3C,8CAA8C;IAC9C,mBAAmB;IACnB,6BAA6B;IAC7B,eAAe;AACnB;;AAEA,sBAAsB;;AAEtB;IACI,yCAAyC;IACzC,0CAA0C;AAC9C;;AAEA;IACI,YAAY;IACZ,2CAA2C;IAC3C,iBAAiB;IACjB,kBAAkB;IAClB,gBAAgB;AACpB;;AAEA,0BAA0B;;AAE1B;IACI,uCAAuC;IACvC,qCAAqC;IACrC,4CAA4C;AAChD;;AAEA;IACI,mBAAmB;IACnB,uFAAuF;IACvF,gBAAgB;IAChB,eAAe;IACf,8CAA8C;IAC9C,YAAY,EAAE,gEAAgE;IAC9E,sBAAsB;IACtB,wBAAwB;IACxB,gBAAgB;IAChB,0DAA0D;IAC1D,oCAAoC;IACpC,sCAAsC;IACtC,mBAAmB;IACnB,wDAAwD;CAC3D,gBAAgB;CAChB,wBAAwB;CACxB,qBAAqB;IAClB,4BAA4B;CAC/B,qBAAqB;CACrB,iCAAiC;IAC9B,kDAAkD;AACtD;AACA;IACI,wDAAwD;AAC5D;;AAEA;IACI,2CAA2C;AAC/C;;AAEA;4CAC4C;AAC5C;IACI,kBAAkB;IAClB,uBAAuB;AAC3B;;AAEA,8BAA8B;;AAE9B;IACI,qCAAqC;IACrC,4CAA4C;;IAE5C;;iEAE6D;IAC7D,uBAAuB;AAC3B;;AAEA;IACI,uFAAuF;IACvF,0DAA0D;IAC1D,oCAAoC;IACpC,sCAAsC;IACtC,8CAA8C;IAC9C,wBAAwB;IACxB,cAAc;IACd,eAAe;;IAEf;;iEAE6D;IAC7D,gBAAgB;AACpB;;AAEA;IACI,wDAAwD;AAC5D;;AAEA;IACI,6CAA6C;IAC7C,4CAA4C;IAC5C,iEAAiE;IACjE,gFAAgF;IAChF,mFAAmF;AACvF;;;;AAIA,2BAA2B;;AAE3B;IACI,4CAA4C;AAChD;;AAEA;IACI,qCAAqC;IACrC,sCAAsC;AAC1C;;AAEA;IACI,2CAA2C;AAC/C;;AAEA,0BAA0B;;AAE1B;IACI,qCAAqC;IACrC,4CAA4C;AAChD;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,oBAAoB;IACpB,sBAAsB;IACtB,YAAY;IACZ,6DAA6D;AACjE;;AAEA;IACI,2CAA2C;IAC3C,gDAAgD;IAChD,sCAAsC;AAC1C;;AAEA;IACI,2CAA2C;IAC3C,gDAAgD;IAChD,2DAA2D;IAC3D,WAAW;AACf;;AAEA,yBAAyB;;AAEzB;IACI,qCAAqC;IACrC,uCAAuC;IACvC,4CAA4C;AAChD;;AAEA;IACI,YAAY;IACZ,cAAc;IACd,8CAA8C;AAClD;;AAEA;IACI,sCAAsC;IACtC,uCAAuC;IACvC,cAAc,EAAE,4DAA4D;IAC5E,oDAAoD;IACpD,oCAAoC;IACpC,uFAAuF;IACvF,iBAAiB;IACjB,YAAY;IACZ,cAAc;IACd,sBAAsB;IACtB,mBAAmB;IACnB,wBAAwB;AAC5B;;AAEA;IACI,4FAA4F;AAChG;;AAEA;IACI,wDAAwD;AAC5D;;AAEA;IACI,YAAY;IACZ,wBAAwB;IACxB,uCAAuC;IACvC,4CAA4C;IAC5C,oDAAoD;IACpD,oCAAoC;IACpC,uFAAuF;IACvF,sCAAsC;IACtC,qFAAqF;IACrF,YAAY,EAAE,gEAAgE;IAC9E,cAAc;IACd,sBAAsB;AAC1B;;AAEA;IACI,2CAA2C;AAC/C;;AAEA,wBAAwB;;AAExB;IACI,qCAAqC;IACrC,uCAAuC;IACvC,4CAA4C;AAChD;;AAEA;IACI,YAAY;IACZ,cAAc;IACd,YAAY,EAAE,gEAAgE;IAC9E,wBAAwB;IACxB,uCAAuC;IACvC,uFAAuF;IACvF,0DAA0D;IAC1D,oCAAoC;IACpC,sCAAsC;IACtC,qFAAqF;IACrF,sBAAsB;AAC1B;;AAEA;IACI,wDAAwD;AAC5D;;AAEA;IACI,mCAAmC;AACvC;;AAEA;IACI,2CAA2C;AAC/C;;AAEA,gBAAgB;;AAEhB;IACI,2CAA2C;IAC3C,aAAa;IACb,oBAAoB;AACxB;;AAEA;IACI,YAAY;IACZ,YAAY;AAChB;;AAEA;IACI,2CAA2C;AAC/C;;AAEA,eAAe;;AAEf;IACI,aAAa;IACb,sBAAsB;AAC1B;;AAEA;IACI,wFAAwF;IACxF,mBAAmB;IACnB,mBAAmB;AACvB;;AAEA;IACI,gDAAgD;IAChD,qBAAqB;IACrB,YAAY;IACZ,aAAa;AACjB;;AAEA;IACI,WAAW;IACX,sBAAsB;IACtB,SAAS;IACT,mCAAmC;IACnC,+BAA+B;IAC/B,4DAA4D;IAC5D,4CAA4C;IAC5C,YAAY;IACZ,cAAc;AAClB;;AAEA;IACI,8DAA8D;IAC9D,kFAAkF;AACtF;;AAEA;IACI,gDAAgD;IAChD,eAAe;IACf,kFAAkF;IAClF,oDAAoD;IACpD,8CAA8C;IAC9C,iBAAiB;IACjB,mCAAmC;IACnC,+BAA+B;IAC/B,4DAA4D;IAC5D,mBAAmB;IACnB,kBAAkB;AACtB;;AAEA;IACI,+BAA+B;IAC/B,+DAA+D;IAC/D,mCAAmC;IACnC,sFAAsF;IACtF,6CAA6C;IAC7C,iBAAiB;AACrB;;AAEA;IACI,kBAAkB;IAClB,sCAAsC;IACtC,uCAAuC;IACvC,WAAW;IACX,mDAAmD;IACnD,8CAA8C;IAC9C,kCAAkC;AACtC;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,mCAAmC;IACnC,+BAA+B;AACnC;;AAEA;IACI,gBAAgB;AACpB;;AAEA;6DAC6D;AAC7D;IACI,wBAAwB;IACxB,gBAAgB,EAAE,UAAU;AAChC;;AAEA;;;IAGI,oDAAoD;AACxD;;AAEA,qBAAqB;;AAErB;IACI,aAAa;IACb,sBAAsB;IACtB,oBAAoB;AACxB;;AAEA;IACI,wCAAwC;IACxC,eAAe;IACf,+BAA+B;IAC/B,yCAAyC;IACzC,oEAAoE;IACpE,8FAA8F;IAC9F,iBAAiB;AACrB;;AAEA;IACI,yCAAyC;IACzC,+BAA+B;AACnC;;AAEA;IACI,yCAAyC;IACzC,+BAA+B;IAC/B,eAAe;IACf,mBAAmB;AACvB;;AAEA;IACI,4CAA4C;IAC5C,yCAAyC;IACzC,+BAA+B;IAC/B,yEAAyE;IACzE,0EAA0E;IAC1E,2EAA2E;IAC3E,cAAc;AAClB;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,oBAAoB;AACxB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,gBAAgB;;AAEhB;IACI,sCAAsC;AAC1C;;AAEA;IACI,yCAAyC;IACzC,mBAAmB;IACnB,YAAY;IACZ,cAAc;IACd,iEAAiE;IACjE,4CAA4C;IAC5C,wEAAwE;IACxE,kBAAkB;AACtB;;;AAGA,kBAAkB;;AAElB;IACI,eAAe;IACf,YAAY;AAChB;;AAEA;;;;;CAKC;;AAED;IACI,aAAa;AACjB",sourcesContent:['/* Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*\n * We assume that the CSS variables in\n * https://github.com/jupyterlab/jupyterlab/blob/master/src/default-theme/variables.css\n * have been defined.\n */\n\n@import "./phosphor.css";\n\n:root {\n --jp-widgets-color: var(--jp-content-font-color1);\n --jp-widgets-label-color: var(--jp-widgets-color);\n --jp-widgets-readout-color: var(--jp-widgets-color);\n --jp-widgets-font-size: var(--jp-ui-font-size1);\n --jp-widgets-margin: 2px;\n --jp-widgets-inline-height: 28px;\n --jp-widgets-inline-width: 300px;\n --jp-widgets-inline-width-short: calc(var(--jp-widgets-inline-width) / 2 - var(--jp-widgets-margin));\n --jp-widgets-inline-width-tiny: calc(var(--jp-widgets-inline-width-short) / 2 - var(--jp-widgets-margin));\n --jp-widgets-inline-margin: 4px; /* margin between inline elements */\n --jp-widgets-inline-label-width: 80px;\n --jp-widgets-border-width: var(--jp-border-width);\n --jp-widgets-vertical-height: 200px;\n --jp-widgets-horizontal-tab-height: 24px;\n --jp-widgets-horizontal-tab-width: 144px;\n --jp-widgets-horizontal-tab-top-border: 2px;\n --jp-widgets-progress-thickness: 20px;\n --jp-widgets-container-padding: 15px;\n --jp-widgets-input-padding: 4px;\n --jp-widgets-radio-item-height-adjustment: 8px;\n --jp-widgets-radio-item-height: calc(var(--jp-widgets-inline-height) - var(--jp-widgets-radio-item-height-adjustment));\n --jp-widgets-slider-track-thickness: 4px;\n --jp-widgets-slider-border-width: var(--jp-widgets-border-width);\n --jp-widgets-slider-handle-size: 16px;\n --jp-widgets-slider-handle-border-color: var(--jp-border-color1);\n --jp-widgets-slider-handle-background-color: var(--jp-layout-color1);\n --jp-widgets-slider-active-handle-color: var(--jp-brand-color1);\n --jp-widgets-menu-item-height: 24px;\n --jp-widgets-dropdown-arrow: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxOCAxOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTggMTg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDpub25lO30KPC9zdHlsZT4KPHBhdGggZD0iTTUuMiw1LjlMOSw5LjdsMy44LTMuOGwxLjIsMS4ybC00LjksNWwtNC45LTVMNS4yLDUuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTAtMC42aDE4djE4SDBWLTAuNnoiLz4KPC9zdmc+Cg");\n --jp-widgets-input-color: var(--jp-ui-font-color1);\n --jp-widgets-input-background-color: var(--jp-layout-color1);\n --jp-widgets-input-border-color: var(--jp-border-color1);\n --jp-widgets-input-focus-border-color: var(--jp-brand-color2);\n --jp-widgets-input-border-width: var(--jp-widgets-border-width);\n --jp-widgets-disabled-opacity: 0.6;\n\n /* From Material Design Lite */\n --md-shadow-key-umbra-opacity: 0.2;\n --md-shadow-key-penumbra-opacity: 0.14;\n --md-shadow-ambient-shadow-opacity: 0.12;\n}\n\n.jupyter-widgets {\n margin: var(--jp-widgets-margin);\n box-sizing: border-box;\n color: var(--jp-widgets-color);\n overflow: visible;\n}\n\n.jp-Output-result > .jupyter-widgets {\n margin-left: 0;\n margin-right: 0;\n}\n\n/* vbox and hbox */\n\n.widget-inline-hbox {\n /* Horizontal widgets */\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: baseline;\n}\n\n.widget-inline-vbox {\n /* Vertical Widgets */\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.widget-box {\n box-sizing: border-box;\n display: flex;\n margin: 0;\n overflow: auto;\n}\n\n.widget-gridbox {\n box-sizing: border-box;\n display: grid;\n margin: 0;\n overflow: auto;\n}\n\n.widget-hbox {\n flex-direction: row;\n}\n\n.widget-vbox {\n flex-direction: column;\n}\n\n/* General Button Styling */\n\n.jupyter-button {\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 0px;\n padding-bottom: 0px;\n display: inline-block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n font-size: var(--jp-widgets-font-size);\n cursor: pointer;\n\n height: var(--jp-widgets-inline-height);\n border: 0px solid;\n line-height: var(--jp-widgets-inline-height);\n box-shadow: none;\n\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color2);\n border-color: var(--jp-border-color2);\n border: none;\n user-select: none;\n}\n\n.jupyter-button i.fa {\n margin-right: var(--jp-widgets-inline-margin);\n pointer-events: none;\n}\n\n.jupyter-button:empty:before {\n content: "\\200b"; /* zero-width space */\n}\n\n.jupyter-widgets.jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n.jupyter-button i.fa.center {\n margin-right: 0;\n}\n\n.jupyter-button:hover:enabled, .jupyter-button:focus:enabled {\n /* MD Lite 2dp shadow */\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 3px 1px -2px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity)),\n 0 1px 5px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity));\n}\n\n.jupyter-button:active, .jupyter-button.mod-active {\n /* MD Lite 4dp shadow */\n box-shadow: 0 4px 5px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 1px 10px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity)),\n 0 2px 4px -1px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity));\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color3);\n}\n\n.jupyter-button:focus:enabled {\n outline: 1px solid var(--jp-widgets-input-focus-border-color);\n}\n\n/* Button "Primary" Styling */\n\n.jupyter-button.mod-primary {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-brand-color1);\n}\n\n.jupyter-button.mod-primary.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-brand-color0);\n}\n\n.jupyter-button.mod-primary:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-brand-color0);\n}\n\n/* Button "Success" Styling */\n\n.jupyter-button.mod-success {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-success-color1);\n}\n\n.jupyter-button.mod-success.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-success-color0);\n}\n\n.jupyter-button.mod-success:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-success-color0);\n}\n\n /* Button "Info" Styling */\n\n.jupyter-button.mod-info {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-info-color1);\n}\n\n.jupyter-button.mod-info.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-info-color0);\n}\n\n.jupyter-button.mod-info:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-info-color0);\n}\n\n/* Button "Warning" Styling */\n\n.jupyter-button.mod-warning {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-warn-color1);\n}\n\n.jupyter-button.mod-warning.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-warn-color0);\n}\n\n.jupyter-button.mod-warning:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-warn-color0);\n}\n\n/* Button "Danger" Styling */\n\n.jupyter-button.mod-danger {\n color: var(--jp-ui-inverse-font-color1, var(--jp-inverse-ui-font-color1));\n background-color: var(--jp-error-color1);\n}\n\n.jupyter-button.mod-danger.mod-active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-error-color0);\n}\n\n.jupyter-button.mod-danger:active {\n color: var(--jp-ui-inverse-font-color0, var(--jp-inverse-ui-font-color0));\n background-color: var(--jp-error-color0);\n}\n\n/* Widget Button, Widget Toggle Button, Widget Upload */\n\n.widget-button, .widget-toggle-button, .widget-upload {\n width: var(--jp-widgets-inline-width-short);\n}\n\n/* Widget Label Styling */\n\n/* Override Bootstrap label css */\n.jupyter-widgets label {\n margin-bottom: initial;\n}\n\n.widget-label-basic {\n /* Basic Label */\n color: var(--jp-widgets-label-color);\n font-size: var(--jp-widgets-font-size);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-label {\n /* Label */\n color: var(--jp-widgets-label-color);\n font-size: var(--jp-widgets-font-size);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-inline-hbox .widget-label {\n /* Horizontal Widget Label */\n color: var(--jp-widgets-label-color);\n text-align: right;\n margin-right: calc( var(--jp-widgets-inline-margin) * 2 );\n width: var(--jp-widgets-inline-label-width);\n flex-shrink: 0;\n}\n\n.widget-inline-vbox .widget-label {\n /* Vertical Widget Label */\n color: var(--jp-widgets-label-color);\n text-align: center;\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* Widget Readout Styling */\n\n.widget-readout {\n color: var(--jp-widgets-readout-color);\n font-size: var(--jp-widgets-font-size);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n overflow: hidden;\n white-space: nowrap;\n text-align: center;\n}\n\n.widget-readout.overflow {\n /* Overflowing Readout */\n\n /* From Material Design Lite\n shadow-key-umbra-opacity: 0.2;\n shadow-key-penumbra-opacity: 0.14;\n shadow-ambient-shadow-opacity: 0.12;\n */\n -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n\n -moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n}\n\n.widget-inline-hbox .widget-readout {\n /* Horizontal Readout */\n text-align: center;\n max-width: var(--jp-widgets-inline-width-short);\n min-width: var(--jp-widgets-inline-width-tiny);\n margin-left: var(--jp-widgets-inline-margin);\n}\n\n.widget-inline-vbox .widget-readout {\n /* Vertical Readout */\n margin-top: var(--jp-widgets-inline-margin);\n /* as wide as the widget */\n width: inherit;\n}\n\n/* Widget Checkbox Styling */\n\n.widget-checkbox {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-checkbox input[type="checkbox"] {\n margin: 0px calc( var(--jp-widgets-inline-margin) * 2 ) 0px 0px;\n line-height: var(--jp-widgets-inline-height);\n font-size: large;\n flex-grow: 1;\n flex-shrink: 0;\n align-self: center;\n}\n\n/* Widget Valid Styling */\n\n.widget-valid {\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width-short);\n font-size: var(--jp-widgets-font-size);\n}\n\n.widget-valid i:before {\n line-height: var(--jp-widgets-inline-height);\n margin-right: var(--jp-widgets-inline-margin);\n margin-left: var(--jp-widgets-inline-margin);\n}\n\n.widget-valid.mod-valid i:before {\n color: green;\n}\n\n.widget-valid.mod-invalid i:before {\n color: red;\n}\n\n.widget-valid.mod-valid .widget-valid-readout {\n display: none;\n}\n\n/* Widget Text and TextArea Stying */\n\n.widget-textarea, .widget-text {\n width: var(--jp-widgets-inline-width);\n}\n\n.widget-text input[type="text"], .widget-text input[type="number"], .widget-text input[type="password"] {\n height: var(--jp-widgets-inline-height);\n}\n\n.widget-text input[type="text"]:disabled, .widget-text input[type="number"]:disabled, .widget-text input[type="password"]:disabled, .widget-textarea textarea:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n.widget-text input[type="text"], .widget-text input[type="number"], .widget-text input[type="password"], .widget-textarea textarea {\n box-sizing: border-box;\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n flex-grow: 1;\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n flex-shrink: 1;\n outline: none !important;\n}\n \n.widget-text input[type="text"], .widget-text input[type="password"], .widget-textarea textarea {\n padding: var(--jp-widgets-input-padding) calc( var(--jp-widgets-input-padding) * 2);\n}\n\n.widget-text input[type="number"] {\n padding: var(--jp-widgets-input-padding) 0 var(--jp-widgets-input-padding) calc(var(--jp-widgets-input-padding) * 2);\n}\n\n.widget-textarea textarea {\n height: inherit;\n width: inherit;\n}\n\n.widget-text input:focus, .widget-textarea textarea:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* Widget Slider */\n\n.widget-slider .ui-slider {\n /* Slider Track */\n border: var(--jp-widgets-slider-border-width) solid var(--jp-layout-color3);\n background: var(--jp-layout-color3);\n box-sizing: border-box;\n position: relative;\n border-radius: 0px;\n}\n\n.widget-slider .ui-slider .ui-slider-handle {\n /* Slider Handle */\n outline: none !important; /* focused slider handles are colored - see below */\n position: absolute;\n background-color: var(--jp-widgets-slider-handle-background-color);\n border: var(--jp-widgets-slider-border-width) solid var(--jp-widgets-slider-handle-border-color);\n box-sizing: border-box;\n z-index: 1;\n background-image: none; /* Override jquery-ui */\n}\n\n/* Override jquery-ui */\n.widget-slider .ui-slider .ui-slider-handle:hover, .widget-slider .ui-slider .ui-slider-handle:focus {\n background-color: var(--jp-widgets-slider-active-handle-color);\n border: var(--jp-widgets-slider-border-width) solid var(--jp-widgets-slider-active-handle-color);\n}\n\n.widget-slider .ui-slider .ui-slider-handle:active {\n background-color: var(--jp-widgets-slider-active-handle-color);\n border-color: var(--jp-widgets-slider-active-handle-color);\n z-index: 2;\n transform: scale(1.2);\n}\n\n.widget-slider .ui-slider .ui-slider-range {\n /* Interval between the two specified value of a double slider */\n position: absolute;\n background: var(--jp-widgets-slider-active-handle-color);\n z-index: 0;\n}\n\n/* Shapes of Slider Handles */\n\n.widget-hslider .ui-slider .ui-slider-handle {\n width: var(--jp-widgets-slider-handle-size);\n height: var(--jp-widgets-slider-handle-size);\n margin-top: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-handle-size)) / 2 - var(--jp-widgets-slider-border-width));\n margin-left: calc(var(--jp-widgets-slider-handle-size) / -2 + var(--jp-widgets-slider-border-width));\n border-radius: 50%;\n top: 0;\n}\n\n.widget-vslider .ui-slider .ui-slider-handle {\n width: var(--jp-widgets-slider-handle-size);\n height: var(--jp-widgets-slider-handle-size);\n margin-bottom: calc(var(--jp-widgets-slider-handle-size) / -2 + var(--jp-widgets-slider-border-width));\n margin-left: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-handle-size)) / 2 - var(--jp-widgets-slider-border-width));\n border-radius: 50%;\n left: 0;\n}\n\n.widget-hslider .ui-slider .ui-slider-range {\n height: calc( var(--jp-widgets-slider-track-thickness) * 2 );\n margin-top: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-track-thickness) * 2 ) / 2 - var(--jp-widgets-slider-border-width));\n}\n\n.widget-vslider .ui-slider .ui-slider-range {\n width: calc( var(--jp-widgets-slider-track-thickness) * 2 );\n margin-left: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-track-thickness) * 2 ) / 2 - var(--jp-widgets-slider-border-width));\n}\n\n/* Horizontal Slider */\n\n.widget-hslider {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n\n /* Override the align-items baseline. This way, the description and readout\n still seem to align their baseline properly, and we don\'t have to have\n align-self: stretch in the .slider-container. */\n align-items: center;\n}\n\n.widgets-slider .slider-container {\n overflow: visible;\n}\n\n.widget-hslider .slider-container {\n height: var(--jp-widgets-inline-height);\n margin-left: calc(var(--jp-widgets-slider-handle-size) / 2 - 2 * var(--jp-widgets-slider-border-width));\n margin-right: calc(var(--jp-widgets-slider-handle-size) / 2 - 2 * var(--jp-widgets-slider-border-width));\n flex: 1 1 var(--jp-widgets-inline-width-short);\n}\n\n.widget-hslider .ui-slider {\n /* Inner, invisible slide div */\n height: var(--jp-widgets-slider-track-thickness);\n margin-top: calc((var(--jp-widgets-inline-height) - var(--jp-widgets-slider-track-thickness)) / 2);\n width: 100%;\n}\n\n/* Vertical Slider */\n\n.widget-vbox .widget-label {\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-vslider {\n /* Vertical Slider */\n height: var(--jp-widgets-vertical-height);\n width: var(--jp-widgets-inline-width-tiny);\n}\n\n.widget-vslider .slider-container {\n flex: 1 1 var(--jp-widgets-inline-width-short);\n margin-left: auto;\n margin-right: auto;\n margin-bottom: calc(var(--jp-widgets-slider-handle-size) / 2 - 2 * var(--jp-widgets-slider-border-width));\n margin-top: calc(var(--jp-widgets-slider-handle-size) / 2 - 2 * var(--jp-widgets-slider-border-width));\n display: flex;\n flex-direction: column;\n}\n\n.widget-vslider .ui-slider-vertical {\n /* Inner, invisible slide div */\n width: var(--jp-widgets-slider-track-thickness);\n flex-grow: 1;\n margin-left: auto;\n margin-right: auto;\n}\n\n/* Widget Progress Styling */\n\n.progress-bar {\n -webkit-transition: none;\n -moz-transition: none;\n -ms-transition: none;\n -o-transition: none;\n transition: none;\n}\n\n.progress-bar {\n height: var(--jp-widgets-inline-height);\n}\n\n.progress-bar {\n background-color: var(--jp-brand-color1);\n}\n\n.progress-bar-success {\n background-color: var(--jp-success-color1);\n}\n\n.progress-bar-info {\n background-color: var(--jp-info-color1);\n}\n\n.progress-bar-warning {\n background-color: var(--jp-warn-color1);\n}\n\n.progress-bar-danger {\n background-color: var(--jp-error-color1);\n}\n\n.progress {\n background-color: var(--jp-layout-color2);\n border: none;\n box-shadow: none;\n}\n\n/* Horisontal Progress */\n\n.widget-hprogress {\n /* Progress Bar */\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width);\n align-items: center;\n\n}\n\n.widget-hprogress .progress {\n flex-grow: 1;\n margin-top: var(--jp-widgets-input-padding);\n margin-bottom: var(--jp-widgets-input-padding);\n align-self: stretch;\n /* Override bootstrap style */\n height: initial;\n}\n\n/* Vertical Progress */\n\n.widget-vprogress {\n height: var(--jp-widgets-vertical-height);\n width: var(--jp-widgets-inline-width-tiny);\n}\n\n.widget-vprogress .progress {\n flex-grow: 1;\n width: var(--jp-widgets-progress-thickness);\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 0;\n}\n\n/* Select Widget Styling */\n\n.widget-dropdown {\n height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-dropdown > select {\n padding-right: 20px;\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n border-radius: 0;\n height: inherit;\n flex: 1 1 var(--jp-widgets-inline-width-short);\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n box-sizing: border-box;\n outline: none !important;\n box-shadow: none;\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n vertical-align: top;\n padding-left: calc( var(--jp-widgets-input-padding) * 2);\n\tappearance: none;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n background-repeat: no-repeat;\n\tbackground-size: 20px;\n\tbackground-position: right center;\n background-image: var(--jp-widgets-dropdown-arrow);\n}\n.widget-dropdown > select:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.widget-dropdown > select:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* To disable the dotted border in Firefox around select controls.\n See http://stackoverflow.com/a/18853002 */\n.widget-dropdown > select:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 #000;\n}\n\n/* Select and SelectMultiple */\n\n.widget-select {\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n\n /* Because Firefox defines the baseline of a select as the bottom of the\n control, we align the entire control to the top and add padding to the\n select to get an approximate first line baseline alignment. */\n align-items: flex-start;\n}\n\n.widget-select > select {\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n flex: 1 1 var(--jp-widgets-inline-width-short);\n outline: none !important;\n overflow: auto;\n height: inherit;\n\n /* Because Firefox defines the baseline of a select as the bottom of the\n control, we align the entire control to the top and add padding to the\n select to get an approximate first line baseline alignment. */\n padding-top: 5px;\n}\n\n.widget-select > select:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.wiget-select > select > option {\n padding-left: var(--jp-widgets-input-padding);\n line-height: var(--jp-widgets-inline-height);\n /* line-height doesn\'t work on some browsers for select options */\n padding-top: calc(var(--jp-widgets-inline-height)-var(--jp-widgets-font-size)/2);\n padding-bottom: calc(var(--jp-widgets-inline-height)-var(--jp-widgets-font-size)/2);\n}\n\n\n\n/* Toggle Buttons Styling */\n\n.widget-toggle-buttons {\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-toggle-buttons .widget-toggle-button {\n margin-left: var(--jp-widgets-margin);\n margin-right: var(--jp-widgets-margin);\n}\n\n.widget-toggle-buttons .jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Radio Buttons Styling */\n\n.widget-radio {\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-radio-box {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n box-sizing: border-box;\n flex-grow: 1;\n margin-bottom: var(--jp-widgets-radio-item-height-adjustment);\n}\n\n.widget-radio-box label {\n height: var(--jp-widgets-radio-item-height);\n line-height: var(--jp-widgets-radio-item-height);\n font-size: var(--jp-widgets-font-size);\n}\n\n.widget-radio-box input {\n height: var(--jp-widgets-radio-item-height);\n line-height: var(--jp-widgets-radio-item-height);\n margin: 0 calc( var(--jp-widgets-input-padding) * 2 ) 0 1px;\n float: left;\n}\n\n/* Color Picker Styling */\n\n.widget-colorpicker {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-colorpicker > .widget-colorpicker-input {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: var(--jp-widgets-inline-width-tiny);\n}\n\n.widget-colorpicker input[type="color"] {\n width: var(--jp-widgets-inline-height);\n height: var(--jp-widgets-inline-height);\n padding: 0 2px; /* make the color square actually square on Chrome on OS X */\n background: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n border-left: none;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n align-self: stretch;\n outline: none !important;\n}\n\n.widget-colorpicker.concise input[type="color"] {\n border-left: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n}\n\n.widget-colorpicker input[type="color"]:focus, .widget-colorpicker input[type="text"]:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.widget-colorpicker input[type="text"] {\n flex-grow: 1;\n outline: none !important;\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n background: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n font-size: var(--jp-widgets-font-size);\n padding: var(--jp-widgets-input-padding) calc( var(--jp-widgets-input-padding) * 2 );\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n flex-shrink: 1;\n box-sizing: border-box;\n}\n\n.widget-colorpicker input[type="text"]:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Date Picker Styling */\n\n.widget-datepicker {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n.widget-datepicker input[type="date"] {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n outline: none !important;\n height: var(--jp-widgets-inline-height);\n border: var(--jp-widgets-input-border-width) solid var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n padding: var(--jp-widgets-input-padding) calc( var(--jp-widgets-input-padding) * 2 );\n box-sizing: border-box;\n}\n\n.widget-datepicker input[type="date"]:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.widget-datepicker input[type="date"]:invalid {\n border-color: var(--jp-warn-color1);\n}\n\n.widget-datepicker input[type="date"]:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Play Widget */\n\n.widget-play {\n width: var(--jp-widgets-inline-width-short);\n display: flex;\n align-items: stretch;\n}\n\n.widget-play .jupyter-button {\n flex-grow: 1;\n height: auto;\n}\n\n.widget-play .jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Tab Widget */\n\n.jupyter-widgets.widget-tab {\n display: flex;\n flex-direction: column;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar {\n /* Necessary so that a tab can be shifted down to overlay the border of the box below. */\n overflow-x: visible;\n overflow-y: visible;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content {\n /* Make sure that the tab grows from bottom up */\n align-items: flex-end;\n min-width: 0;\n min-height: 0;\n}\n\n.jupyter-widgets.widget-tab > .widget-tab-contents {\n width: 100%;\n box-sizing: border-box;\n margin: 0;\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n border: var(--jp-border-width) solid var(--jp-border-color1);\n padding: var(--jp-widgets-container-padding);\n flex-grow: 1;\n overflow: auto;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar {\n font: var(--jp-widgets-font-size) Helvetica, Arial, sans-serif;\n min-height: calc(var(--jp-widgets-horizontal-tab-height) + var(--jp-border-width));\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab {\n flex: 0 1 var(--jp-widgets-horizontal-tab-width);\n min-width: 35px;\n min-height: calc(var(--jp-widgets-horizontal-tab-height) + var(--jp-border-width));\n line-height: var(--jp-widgets-horizontal-tab-height);\n margin-left: calc(-1 * var(--jp-border-width));\n padding: 0px 10px;\n background: var(--jp-layout-color2);\n color: var(--jp-ui-font-color2);\n border: var(--jp-border-width) solid var(--jp-border-color1);\n border-bottom: none;\n position: relative;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current {\n color: var(--jp-ui-font-color0);\n /* We want the background to match the tab content background */\n background: var(--jp-layout-color1);\n min-height: calc(var(--jp-widgets-horizontal-tab-height) + 2 * var(--jp-border-width));\n transform: translateY(var(--jp-border-width));\n overflow: visible;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current:before {\n position: absolute;\n top: calc(-1 * var(--jp-border-width));\n left: calc(-1 * var(--jp-border-width));\n content: \'\';\n height: var(--jp-widgets-horizontal-tab-top-border);\n width: calc(100% + 2 * var(--jp-border-width));\n background: var(--jp-brand-color1);\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab:first-child {\n margin-left: 0;\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab:hover:not(.p-mod-current) {\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-mod-closable > .p-TabBar-tabCloseIcon {\n margin-left: 4px;\n}\n\n/* This font-awesome strategy may not work across FA4 and FA5, but we don\'t\nactually support closable tabs, so it really doesn\'t matter */\n.jupyter-widgets.widget-tab > .p-TabBar .p-mod-closable > .p-TabBar-tabCloseIcon:before {\n font-family: FontAwesome;\n content: \'\\f00d\'; /* close */\n}\n\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon,\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel,\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon {\n line-height: var(--jp-widgets-horizontal-tab-height);\n}\n\n/* Accordion Widget */\n\n.p-Collapse {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n\n.p-Collapse-header {\n padding: var(--jp-widgets-input-padding);\n cursor: pointer;\n color: var(--jp-ui-font-color2);\n background-color: var(--jp-layout-color2);\n border: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n padding: calc(var(--jp-widgets-container-padding) * 2 / 3) var(--jp-widgets-container-padding);\n font-weight: bold;\n}\n\n.p-Collapse-header:hover {\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n}\n\n.p-Collapse-open > .p-Collapse-header {\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color0);\n cursor: default;\n border-bottom: none;\n}\n\n.p-Collapse-contents {\n padding: var(--jp-widgets-container-padding);\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n border-left: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n border-right: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n border-bottom: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n overflow: auto;\n}\n\n.p-Accordion {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n\n.p-Accordion .p-Collapse {\n margin-bottom: 0;\n}\n\n.p-Accordion .p-Collapse + .p-Collapse {\n margin-top: 4px;\n}\n\n\n\n/* HTML widget */\n\n.widget-html, .widget-htmlmath {\n font-size: var(--jp-widgets-font-size);\n}\n\n.widget-html > .widget-html-content, .widget-htmlmath > .widget-html-content {\n /* Fill out the area in the HTML widget */\n align-self: stretch;\n flex-grow: 1;\n flex-shrink: 1;\n /* Makes sure the baseline is still aligned with other elements */\n line-height: var(--jp-widgets-inline-height);\n /* Make it possible to have absolutely-positioned elements in the html */\n position: relative;\n}\n\n\n/* Image widget */\n\n.widget-image {\n max-width: 100%;\n height: auto;\n}\n\n/* cursor fix: https://github.com/jupyter-widgets/ipywidgets/pull/3687\n Phosphor/Lumino sets the cursor, which we don\'t want. Otherwise\n a widget does not have the proper cursor when it is a child of an\n anchor tag. The two classes give it higher specificity than the\n phosphor/lumino classes.\n*/\n\n.jupyter-widgets.lm-Widget, .jupyter-widgets.p-Widget {\n cursor: unset;\n}\n'],sourceRoot:""}]);const f=u},7696:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n.lm-AccordionPanel[data-orientation='horizontal'] > .lm-AccordionPanel-title {\n /* Title is rotated for horizontal accordion panel using CSS */\n display: block;\n transform-origin: top left;\n transform: rotate(-90deg) translate(-100%);\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/accordionpanel.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;EACE,8DAA8D;EAC9D,cAAc;EACd,0BAA0B;EAC1B,0CAA0C;AAC5C",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n.lm-AccordionPanel[data-orientation='horizontal'] > .lm-AccordionPanel-title {\n /* Title is rotated for horizontal accordion panel using CSS */\n display: block;\n transform-origin: top left;\n transform: rotate(-90deg) translate(-100%);\n}\n"],sourceRoot:""}]);const a=s},9028:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-CommandPalette {\n display: flex;\n flex-direction: column;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-CommandPalette-search {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-content {\n flex: 1 1 auto;\n margin: 0;\n padding: 0;\n min-height: 0;\n overflow: auto;\n list-style-type: none;\n}\n\n.lm-CommandPalette-header {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.lm-CommandPalette-item {\n display: flex;\n flex-direction: row;\n}\n\n.lm-CommandPalette-itemIcon {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-itemContent {\n flex: 1 1 auto;\n overflow: hidden;\n}\n\n.lm-CommandPalette-itemShortcut {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-itemLabel {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.lm-close-icon {\n border: 1px solid transparent;\n background-color: transparent;\n position: absolute;\n z-index: 1;\n right: 3%;\n top: 0;\n bottom: 0;\n margin: auto;\n padding: 7px 0;\n display: none;\n vertical-align: middle;\n outline: 0;\n cursor: pointer;\n}\n.lm-close-icon:after {\n content: 'X';\n display: block;\n width: 15px;\n height: 15px;\n text-align: center;\n color: #000;\n font-weight: normal;\n font-size: 12px;\n cursor: pointer;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/commandpalette.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,aAAa;EACb,sBAAsB;EACtB,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,SAAS;EACT,UAAU;EACV,aAAa;EACb,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,gBAAgB;AAClB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,6BAA6B;EAC7B,6BAA6B;EAC7B,kBAAkB;EAClB,UAAU;EACV,SAAS;EACT,MAAM;EACN,SAAS;EACT,YAAY;EACZ,cAAc;EACd,aAAa;EACb,sBAAsB;EACtB,UAAU;EACV,eAAe;AACjB;AACA;EACE,YAAY;EACZ,cAAc;EACd,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,WAAW;EACX,mBAAmB;EACnB,eAAe;EACf,eAAe;AACjB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-CommandPalette {\n display: flex;\n flex-direction: column;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-CommandPalette-search {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-content {\n flex: 1 1 auto;\n margin: 0;\n padding: 0;\n min-height: 0;\n overflow: auto;\n list-style-type: none;\n}\n\n.lm-CommandPalette-header {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.lm-CommandPalette-item {\n display: flex;\n flex-direction: row;\n}\n\n.lm-CommandPalette-itemIcon {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-itemContent {\n flex: 1 1 auto;\n overflow: hidden;\n}\n\n.lm-CommandPalette-itemShortcut {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-itemLabel {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.lm-close-icon {\n border: 1px solid transparent;\n background-color: transparent;\n position: absolute;\n z-index: 1;\n right: 3%;\n top: 0;\n bottom: 0;\n margin: auto;\n padding: 7px 0;\n display: none;\n vertical-align: middle;\n outline: 0;\n cursor: pointer;\n}\n.lm-close-icon:after {\n content: 'X';\n display: block;\n width: 15px;\n height: 15px;\n text-align: center;\n color: #000;\n font-weight: normal;\n font-size: 12px;\n cursor: pointer;\n}\n"],sourceRoot:""}]);const a=s},9115:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-DockPanel {\n z-index: 0;\n}\n\n.lm-DockPanel-widget {\n z-index: 0;\n}\n\n.lm-DockPanel-tabBar {\n z-index: 1;\n}\n\n.lm-DockPanel-handle {\n z-index: 2;\n}\n\n.lm-DockPanel-handle.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-DockPanel-handle:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: '';\n}\n\n.lm-DockPanel-handle[data-orientation='horizontal'] {\n cursor: ew-resize;\n}\n\n.lm-DockPanel-handle[data-orientation='vertical'] {\n cursor: ns-resize;\n}\n\n.lm-DockPanel-handle[data-orientation='horizontal']:after {\n left: 50%;\n min-width: 8px;\n transform: translateX(-50%);\n}\n\n.lm-DockPanel-handle[data-orientation='vertical']:after {\n top: 50%;\n min-height: 8px;\n transform: translateY(-50%);\n}\n\n.lm-DockPanel-overlay {\n z-index: 3;\n box-sizing: border-box;\n pointer-events: none;\n}\n\n.lm-DockPanel-overlay.lm-mod-hidden {\n display: none !important;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/dockpanel.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,SAAS;EACT,cAAc;EACd,2BAA2B;AAC7B;;AAEA;EACE,QAAQ;EACR,eAAe;EACf,2BAA2B;AAC7B;;AAEA;EACE,UAAU;EACV,sBAAsB;EACtB,oBAAoB;AACtB;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-DockPanel {\n z-index: 0;\n}\n\n.lm-DockPanel-widget {\n z-index: 0;\n}\n\n.lm-DockPanel-tabBar {\n z-index: 1;\n}\n\n.lm-DockPanel-handle {\n z-index: 2;\n}\n\n.lm-DockPanel-handle.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-DockPanel-handle:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: '';\n}\n\n.lm-DockPanel-handle[data-orientation='horizontal'] {\n cursor: ew-resize;\n}\n\n.lm-DockPanel-handle[data-orientation='vertical'] {\n cursor: ns-resize;\n}\n\n.lm-DockPanel-handle[data-orientation='horizontal']:after {\n left: 50%;\n min-width: 8px;\n transform: translateX(-50%);\n}\n\n.lm-DockPanel-handle[data-orientation='vertical']:after {\n top: 50%;\n min-height: 8px;\n transform: translateY(-50%);\n}\n\n.lm-DockPanel-overlay {\n z-index: 3;\n box-sizing: border-box;\n pointer-events: none;\n}\n\n.lm-DockPanel-overlay.lm-mod-hidden {\n display: none !important;\n}\n"],sourceRoot:""}]);const a=s},7430:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o),a=n(5644),l=n(7696),d=n(9028),c=n(9115),u=n(3697),h=n(8470),f=n(6272),p=n(9158),A=n(4768),m=n(3169),g=s()(r());g.i(a.A),g.i(l.A),g.i(d.A),g.i(c.A),g.i(u.A),g.i(h.A),g.i(f.A),g.i(p.A),g.i(A.A),g.i(m.A),g.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/index.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n@import './widget.css';\n@import './accordionpanel.css';\n@import './commandpalette.css';\n@import './dockpanel.css';\n@import './menu.css';\n@import './menubar.css';\n@import './scrollbar.css';\n@import './splitpanel.css';\n@import './tabbar.css';\n@import './tabpanel.css';\n"],sourceRoot:""}]);const b=g},3697:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-Menu {\n z-index: 10000;\n position: absolute;\n white-space: nowrap;\n overflow-x: hidden;\n overflow-y: auto;\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-Menu-content {\n margin: 0;\n padding: 0;\n display: table;\n list-style-type: none;\n}\n\n.lm-Menu-item {\n display: table-row;\n}\n\n.lm-Menu-item.lm-mod-hidden,\n.lm-Menu-item.lm-mod-collapsed {\n display: none !important;\n}\n\n.lm-Menu-itemIcon,\n.lm-Menu-itemSubmenuIcon {\n display: table-cell;\n text-align: center;\n}\n\n.lm-Menu-itemLabel {\n display: table-cell;\n text-align: left;\n}\n\n.lm-Menu-itemShortcut {\n display: table-cell;\n text-align: right;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/menu.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,cAAc;EACd,kBAAkB;EAClB,mBAAmB;EACnB,kBAAkB;EAClB,gBAAgB;EAChB,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,SAAS;EACT,UAAU;EACV,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;;EAEE,wBAAwB;AAC1B;;AAEA;;EAEE,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,mBAAmB;EACnB,gBAAgB;AAClB;;AAEA;EACE,mBAAmB;EACnB,iBAAiB;AACnB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-Menu {\n z-index: 10000;\n position: absolute;\n white-space: nowrap;\n overflow-x: hidden;\n overflow-y: auto;\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-Menu-content {\n margin: 0;\n padding: 0;\n display: table;\n list-style-type: none;\n}\n\n.lm-Menu-item {\n display: table-row;\n}\n\n.lm-Menu-item.lm-mod-hidden,\n.lm-Menu-item.lm-mod-collapsed {\n display: none !important;\n}\n\n.lm-Menu-itemIcon,\n.lm-Menu-itemSubmenuIcon {\n display: table-cell;\n text-align: center;\n}\n\n.lm-Menu-itemLabel {\n display: table-cell;\n text-align: left;\n}\n\n.lm-Menu-itemShortcut {\n display: table-cell;\n text-align: right;\n}\n"],sourceRoot:""}]);const a=s},8470:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-MenuBar {\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-MenuBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: row;\n list-style-type: none;\n}\n\n.lm-MenuBar-item {\n box-sizing: border-box;\n}\n\n.lm-MenuBar-itemIcon,\n.lm-MenuBar-itemLabel {\n display: inline-block;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/menubar.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,SAAS;EACT,UAAU;EACV,aAAa;EACb,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;;EAEE,qBAAqB;AACvB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-MenuBar {\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-MenuBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: row;\n list-style-type: none;\n}\n\n.lm-MenuBar-item {\n box-sizing: border-box;\n}\n\n.lm-MenuBar-itemIcon,\n.lm-MenuBar-itemLabel {\n display: inline-block;\n}\n"],sourceRoot:""}]);const a=s},6272:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-ScrollBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-ScrollBar[data-orientation='horizontal'] {\n flex-direction: row;\n}\n\n.lm-ScrollBar[data-orientation='vertical'] {\n flex-direction: column;\n}\n\n.lm-ScrollBar-button {\n box-sizing: border-box;\n flex: 0 0 auto;\n}\n\n.lm-ScrollBar-track {\n box-sizing: border-box;\n position: relative;\n overflow: hidden;\n flex: 1 1 auto;\n}\n\n.lm-ScrollBar-thumb {\n box-sizing: border-box;\n position: absolute;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/scrollbar.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,sBAAsB;EACtB,cAAc;AAChB;;AAEA;EACE,sBAAsB;EACtB,kBAAkB;EAClB,gBAAgB;EAChB,cAAc;AAChB;;AAEA;EACE,sBAAsB;EACtB,kBAAkB;AACpB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-ScrollBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-ScrollBar[data-orientation='horizontal'] {\n flex-direction: row;\n}\n\n.lm-ScrollBar[data-orientation='vertical'] {\n flex-direction: column;\n}\n\n.lm-ScrollBar-button {\n box-sizing: border-box;\n flex: 0 0 auto;\n}\n\n.lm-ScrollBar-track {\n box-sizing: border-box;\n position: relative;\n overflow: hidden;\n flex: 1 1 auto;\n}\n\n.lm-ScrollBar-thumb {\n box-sizing: border-box;\n position: absolute;\n}\n"],sourceRoot:""}]);const a=s},9158:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-SplitPanel-child {\n z-index: 0;\n}\n\n.lm-SplitPanel-handle {\n z-index: 1;\n}\n\n.lm-SplitPanel-handle.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-SplitPanel-handle:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: '';\n}\n\n.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle {\n cursor: ew-resize;\n}\n\n.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle {\n cursor: ns-resize;\n}\n\n.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle:after {\n left: 50%;\n min-width: 8px;\n transform: translateX(-50%);\n}\n\n.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle:after {\n top: 50%;\n min-height: 8px;\n transform: translateY(-50%);\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/splitpanel.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,SAAS;EACT,cAAc;EACd,2BAA2B;AAC7B;;AAEA;EACE,QAAQ;EACR,eAAe;EACf,2BAA2B;AAC7B",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-SplitPanel-child {\n z-index: 0;\n}\n\n.lm-SplitPanel-handle {\n z-index: 1;\n}\n\n.lm-SplitPanel-handle.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-SplitPanel-handle:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: '';\n}\n\n.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle {\n cursor: ew-resize;\n}\n\n.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle {\n cursor: ns-resize;\n}\n\n.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle:after {\n left: 50%;\n min-width: 8px;\n transform: translateX(-50%);\n}\n\n.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle:after {\n top: 50%;\n min-height: 8px;\n transform: translateY(-50%);\n}\n"],sourceRoot:""}]);const a=s},4768:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-TabBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-TabBar[data-orientation='horizontal'] {\n flex-direction: row;\n align-items: flex-end;\n}\n\n.lm-TabBar[data-orientation='vertical'] {\n flex-direction: column;\n align-items: flex-end;\n}\n\n.lm-TabBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex: 1 1 auto;\n list-style-type: none;\n}\n\n.lm-TabBar[data-orientation='horizontal'] > .lm-TabBar-content {\n flex-direction: row;\n}\n\n.lm-TabBar[data-orientation='vertical'] > .lm-TabBar-content {\n flex-direction: column;\n}\n\n.lm-TabBar-tab {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n overflow: hidden;\n touch-action: none; /* Disable native Drag/Drop */\n}\n\n.lm-TabBar-tabIcon,\n.lm-TabBar-tabCloseIcon {\n flex: 0 0 auto;\n}\n\n.lm-TabBar-tabLabel {\n flex: 1 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.lm-TabBar-tabInput {\n user-select: all;\n width: 100%;\n box-sizing: border-box;\n}\n\n.lm-TabBar-tab.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-TabBar-addButton.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-TabBar.lm-mod-dragging .lm-TabBar-tab {\n position: relative;\n}\n\n.lm-TabBar.lm-mod-dragging[data-orientation='horizontal'] .lm-TabBar-tab {\n left: 0;\n transition: left 150ms ease;\n}\n\n.lm-TabBar.lm-mod-dragging[data-orientation='vertical'] .lm-TabBar-tab {\n top: 0;\n transition: top 150ms ease;\n}\n\n.lm-TabBar.lm-mod-dragging .lm-TabBar-tab.lm-mod-dragging {\n transition: none;\n}\n\n.lm-TabBar-tabLabel .lm-TabBar-tabInput {\n user-select: all;\n width: 100%;\n box-sizing: border-box;\n background: inherit;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/tabbar.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,sBAAsB;EACtB,qBAAqB;AACvB;;AAEA;EACE,SAAS;EACT,UAAU;EACV,aAAa;EACb,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,gBAAgB;EAChB,kBAAkB,EAAE,6BAA6B;AACnD;;AAEA;;EAEE,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;EAChB,WAAW;EACX,sBAAsB;AACxB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,OAAO;EACP,2BAA2B;AAC7B;;AAEA;EACE,MAAM;EACN,0BAA0B;AAC5B;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;EAChB,WAAW;EACX,sBAAsB;EACtB,mBAAmB;AACrB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-TabBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-TabBar[data-orientation='horizontal'] {\n flex-direction: row;\n align-items: flex-end;\n}\n\n.lm-TabBar[data-orientation='vertical'] {\n flex-direction: column;\n align-items: flex-end;\n}\n\n.lm-TabBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex: 1 1 auto;\n list-style-type: none;\n}\n\n.lm-TabBar[data-orientation='horizontal'] > .lm-TabBar-content {\n flex-direction: row;\n}\n\n.lm-TabBar[data-orientation='vertical'] > .lm-TabBar-content {\n flex-direction: column;\n}\n\n.lm-TabBar-tab {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n overflow: hidden;\n touch-action: none; /* Disable native Drag/Drop */\n}\n\n.lm-TabBar-tabIcon,\n.lm-TabBar-tabCloseIcon {\n flex: 0 0 auto;\n}\n\n.lm-TabBar-tabLabel {\n flex: 1 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.lm-TabBar-tabInput {\n user-select: all;\n width: 100%;\n box-sizing: border-box;\n}\n\n.lm-TabBar-tab.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-TabBar-addButton.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-TabBar.lm-mod-dragging .lm-TabBar-tab {\n position: relative;\n}\n\n.lm-TabBar.lm-mod-dragging[data-orientation='horizontal'] .lm-TabBar-tab {\n left: 0;\n transition: left 150ms ease;\n}\n\n.lm-TabBar.lm-mod-dragging[data-orientation='vertical'] .lm-TabBar-tab {\n top: 0;\n transition: top 150ms ease;\n}\n\n.lm-TabBar.lm-mod-dragging .lm-TabBar-tab.lm-mod-dragging {\n transition: none;\n}\n\n.lm-TabBar-tabLabel .lm-TabBar-tabInput {\n user-select: all;\n width: 100%;\n box-sizing: border-box;\n background: inherit;\n}\n"],sourceRoot:""}]);const a=s},3169:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-TabPanel-tabBar {\n z-index: 1;\n}\n\n.lm-TabPanel-stackedPanel {\n z-index: 0;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/tabpanel.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-TabPanel-tabBar {\n z-index: 1;\n}\n\n.lm-TabPanel-stackedPanel {\n z-index: 0;\n}\n"],sourceRoot:""}]);const a=s},5644:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-Widget {\n box-sizing: border-box;\n position: relative;\n overflow: hidden;\n}\n\n.lm-Widget.lm-mod-hidden {\n display: none !important;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/widget.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,sBAAsB;EACtB,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-Widget {\n box-sizing: border-box;\n position: relative;\n overflow: hidden;\n}\n\n.lm-Widget.lm-mod-hidden {\n display: none !important;\n}\n"],sourceRoot:""}]);const a=s},6048:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o),a=n(5059),l=s()(r());l.i(a.A),l.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n/*\nThis file is copied from the JupyterLab project to define default styling for\nwhen the widget styling is compiled down to eliminate CSS variables. We make one\nchange - we comment out the font import below.\n*/\n\n/*\nThe following CSS variables define the main, public API for styling JupyterLab.\nThese variables should be used by all plugins wherever possible. In other\nwords, plugins should not define custom colors, sizes, etc unless absolutely\nnecessary. This enables users to change the visual theme of JupyterLab\nby changing these variables.\n\nMany variables appear in an ordered sequence (0,1,2,3). These sequences\nare designed to work well together, so for example, `--jp-border-color1` should\nbe used with `--jp-layout-color1`. The numbers have the following meanings:\n\n* 0: super-primary, reserved for special emphasis\n* 1: primary, most important under normal situations\n* 2: secondary, next most important under normal situations\n* 3: tertiary, next most important under normal situations\n\nThroughout JupyterLab, we are mostly following principles from Google's\nMaterial Design when selecting colors. We are not, however, following\nall of MD as it is not optimized for dense, information rich UIs.\n*/\n\n/*\n * Optional monospace font for input/output prompt.\n */\n/* Commented out in ipywidgets since we don't need it. */\n/* @import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); */\n\n/*\n * Added for compatibility with output area\n */\n:root {\n --jp-icon-search: none;\n --jp-ui-select-caret: none;\n}\n\n:root {\n /* Borders\n\n The following variables, specify the visual styling of borders in JupyterLab.\n */\n\n --jp-border-width: 1px;\n --jp-border-color0: var(--md-grey-700);\n --jp-border-color1: var(--md-grey-500);\n --jp-border-color2: var(--md-grey-300);\n --jp-border-color3: var(--md-grey-100);\n\n /* UI Fonts\n\n The UI font CSS variables are used for the typography all of the JupyterLab\n user interface elements that are not directly user generated content.\n */\n\n --jp-ui-font-scale-factor: 1.2;\n --jp-ui-font-size0: calc(\n var(--jp-ui-font-size1) / var(--jp-ui-font-scale-factor)\n );\n --jp-ui-font-size1: 13px; /* Base font size */\n --jp-ui-font-size2: calc(\n var(--jp-ui-font-size1) * var(--jp-ui-font-scale-factor)\n );\n --jp-ui-font-size3: calc(\n var(--jp-ui-font-size2) * var(--jp-ui-font-scale-factor)\n );\n --jp-ui-icon-font-size: 14px; /* Ensures px perfect FontAwesome icons */\n --jp-ui-font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;\n\n /* Use these font colors against the corresponding main layout colors.\n In a light theme, these go from dark to light.\n */\n\n --jp-ui-font-color0: rgba(0, 0, 0, 1);\n --jp-ui-font-color1: rgba(0, 0, 0, 0.8);\n --jp-ui-font-color2: rgba(0, 0, 0, 0.5);\n --jp-ui-font-color3: rgba(0, 0, 0, 0.3);\n\n /* Use these against the brand/accent/warn/error colors.\n These will typically go from light to darker, in both a dark and light theme\n */\n\n --jp-ui-inverse-font-color0: rgba(255, 255, 255, 1);\n --jp-ui-inverse-font-color1: rgba(255, 255, 255, 1);\n --jp-ui-inverse-font-color2: rgba(255, 255, 255, 0.7);\n --jp-ui-inverse-font-color3: rgba(255, 255, 255, 0.5);\n\n /* Content Fonts\n\n Content font variables are used for typography of user generated content.\n */\n\n --jp-content-font-size: 13px;\n --jp-content-line-height: 1.5;\n --jp-content-font-color0: black;\n --jp-content-font-color1: black;\n --jp-content-font-color2: var(--md-grey-700);\n --jp-content-font-color3: var(--md-grey-500);\n\n --jp-ui-font-scale-factor: 1.2;\n --jp-ui-font-size0: calc(\n var(--jp-ui-font-size1) / var(--jp-ui-font-scale-factor)\n );\n --jp-ui-font-size1: 13px; /* Base font size */\n --jp-ui-font-size2: calc(\n var(--jp-ui-font-size1) * var(--jp-ui-font-scale-factor)\n );\n --jp-ui-font-size3: calc(\n var(--jp-ui-font-size2) * var(--jp-ui-font-scale-factor)\n );\n\n --jp-code-font-size: 13px;\n --jp-code-line-height: 1.307;\n --jp-code-padding: 5px;\n --jp-code-font-family: monospace;\n\n /* Layout\n\n The following are the main layout colors use in JupyterLab. In a light\n theme these would go from light to dark.\n */\n\n --jp-layout-color0: white;\n --jp-layout-color1: white;\n --jp-layout-color2: var(--md-grey-200);\n --jp-layout-color3: var(--md-grey-400);\n\n /* Brand/accent */\n\n --jp-brand-color0: var(--md-blue-700);\n --jp-brand-color1: var(--md-blue-500);\n --jp-brand-color2: var(--md-blue-300);\n --jp-brand-color3: var(--md-blue-100);\n\n --jp-accent-color0: var(--md-green-700);\n --jp-accent-color1: var(--md-green-500);\n --jp-accent-color2: var(--md-green-300);\n --jp-accent-color3: var(--md-green-100);\n\n /* State colors (warn, error, success, info) */\n\n --jp-warn-color0: var(--md-orange-700);\n --jp-warn-color1: var(--md-orange-500);\n --jp-warn-color2: var(--md-orange-300);\n --jp-warn-color3: var(--md-orange-100);\n\n --jp-error-color0: var(--md-red-700);\n --jp-error-color1: var(--md-red-500);\n --jp-error-color2: var(--md-red-300);\n --jp-error-color3: var(--md-red-100);\n\n --jp-success-color0: var(--md-green-700);\n --jp-success-color1: var(--md-green-500);\n --jp-success-color2: var(--md-green-300);\n --jp-success-color3: var(--md-green-100);\n\n --jp-info-color0: var(--md-cyan-700);\n --jp-info-color1: var(--md-cyan-500);\n --jp-info-color2: var(--md-cyan-300);\n --jp-info-color3: var(--md-cyan-100);\n\n /* Cell specific styles */\n\n --jp-cell-padding: 5px;\n --jp-cell-editor-background: #f7f7f7;\n --jp-cell-editor-border-color: #cfcfcf;\n --jp-cell-editor-background-edit: var(--jp-ui-layout-color1);\n --jp-cell-editor-border-color-edit: var(--jp-brand-color1);\n --jp-cell-prompt-width: 100px;\n --jp-cell-prompt-font-family: 'Roboto Mono', monospace;\n --jp-cell-prompt-letter-spacing: 0px;\n --jp-cell-prompt-opacity: 1;\n --jp-cell-prompt-opacity-not-active: 0.4;\n --jp-cell-prompt-font-color-not-active: var(--md-grey-700);\n /* A custom blend of MD grey and blue 600\n * See https://meyerweb.com/eric/tools/color-blend/#546E7A:1E88E5:5:hex */\n --jp-cell-inprompt-font-color: #307fc1;\n /* A custom blend of MD grey and orange 600\n * https://meyerweb.com/eric/tools/color-blend/#546E7A:F4511E:5:hex */\n --jp-cell-outprompt-font-color: #bf5b3d;\n\n /* Notebook specific styles */\n\n --jp-notebook-padding: 10px;\n --jp-notebook-scroll-padding: 100px;\n\n /* Console specific styles */\n\n --jp-console-background: var(--md-grey-100);\n\n /* Toolbar specific styles */\n\n --jp-toolbar-border-color: var(--md-grey-400);\n --jp-toolbar-micro-height: 8px;\n --jp-toolbar-background: var(--jp-layout-color0);\n --jp-toolbar-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.24);\n --jp-toolbar-header-margin: 4px 4px 0px 4px;\n --jp-toolbar-active-background: var(--md-grey-300);\n}\n","",{version:3,sources:["webpack://./../controls/css/labvariables.css"],names:[],mappings:"AAAA;;;8EAG8E;;AAE9E;;;;CAIC;;AAID;;;;;;;;;;;;;;;;;;;CAmBC;;AAED;;EAEE;AACF,wDAAwD;AACxD,wEAAwE;;AAExE;;EAEE;AACF;EACE,sBAAsB;EACtB,0BAA0B;AAC5B;;AAEA;EACE;;;IAGE;;EAEF,sBAAsB;EACtB,sCAAsC;EACtC,sCAAsC;EACtC,sCAAsC;EACtC,sCAAsC;;EAEtC;;;;GAIC;;EAED,8BAA8B;EAC9B;;GAEC;EACD,wBAAwB,EAAE,mBAAmB;EAC7C;;GAEC;EACD;;GAEC;EACD,4BAA4B,EAAE,yCAAyC;EACvE,mEAAmE;;EAEnE;;GAEC;;EAED,qCAAqC;EACrC,uCAAuC;EACvC,uCAAuC;EACvC,uCAAuC;;EAEvC;;IAEE;;EAEF,mDAAmD;EACnD,mDAAmD;EACnD,qDAAqD;EACrD,qDAAqD;;EAErD;;;GAGC;;EAED,4BAA4B;EAC5B,6BAA6B;EAC7B,+BAA+B;EAC/B,+BAA+B;EAC/B,4CAA4C;EAC5C,4CAA4C;;EAE5C,8BAA8B;EAC9B;;GAEC;EACD,wBAAwB,EAAE,mBAAmB;EAC7C;;GAEC;EACD;;GAEC;;EAED,yBAAyB;EACzB,4BAA4B;EAC5B,sBAAsB;EACtB,gCAAgC;;EAEhC;;;;GAIC;;EAED,yBAAyB;EACzB,yBAAyB;EACzB,sCAAsC;EACtC,sCAAsC;;EAEtC,iBAAiB;;EAEjB,qCAAqC;EACrC,qCAAqC;EACrC,qCAAqC;EACrC,qCAAqC;;EAErC,uCAAuC;EACvC,uCAAuC;EACvC,uCAAuC;EACvC,uCAAuC;;EAEvC,8CAA8C;;EAE9C,sCAAsC;EACtC,sCAAsC;EACtC,sCAAsC;EACtC,sCAAsC;;EAEtC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;;EAEpC,wCAAwC;EACxC,wCAAwC;EACxC,wCAAwC;EACxC,wCAAwC;;EAExC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;EACpC,oCAAoC;;EAEpC,yBAAyB;;EAEzB,sBAAsB;EACtB,oCAAoC;EACpC,sCAAsC;EACtC,4DAA4D;EAC5D,0DAA0D;EAC1D,6BAA6B;EAC7B,sDAAsD;EACtD,oCAAoC;EACpC,2BAA2B;EAC3B,wCAAwC;EACxC,0DAA0D;EAC1D;2EACyE;EACzE,sCAAsC;EACtC;uEACqE;EACrE,uCAAuC;;EAEvC,6BAA6B;;EAE7B,2BAA2B;EAC3B,mCAAmC;;EAEnC,4BAA4B;;EAE5B,2CAA2C;;EAE3C,4BAA4B;;EAE5B,6CAA6C;EAC7C,8BAA8B;EAC9B,gDAAgD;EAChD,4DAA4D;EAC5D,2CAA2C;EAC3C,kDAAkD;AACpD",sourcesContent:["/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n/*\nThis file is copied from the JupyterLab project to define default styling for\nwhen the widget styling is compiled down to eliminate CSS variables. We make one\nchange - we comment out the font import below.\n*/\n\n@import './materialcolors.css';\n\n/*\nThe following CSS variables define the main, public API for styling JupyterLab.\nThese variables should be used by all plugins wherever possible. In other\nwords, plugins should not define custom colors, sizes, etc unless absolutely\nnecessary. This enables users to change the visual theme of JupyterLab\nby changing these variables.\n\nMany variables appear in an ordered sequence (0,1,2,3). These sequences\nare designed to work well together, so for example, `--jp-border-color1` should\nbe used with `--jp-layout-color1`. The numbers have the following meanings:\n\n* 0: super-primary, reserved for special emphasis\n* 1: primary, most important under normal situations\n* 2: secondary, next most important under normal situations\n* 3: tertiary, next most important under normal situations\n\nThroughout JupyterLab, we are mostly following principles from Google's\nMaterial Design when selecting colors. We are not, however, following\nall of MD as it is not optimized for dense, information rich UIs.\n*/\n\n/*\n * Optional monospace font for input/output prompt.\n */\n/* Commented out in ipywidgets since we don't need it. */\n/* @import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); */\n\n/*\n * Added for compatibility with output area\n */\n:root {\n --jp-icon-search: none;\n --jp-ui-select-caret: none;\n}\n\n:root {\n /* Borders\n\n The following variables, specify the visual styling of borders in JupyterLab.\n */\n\n --jp-border-width: 1px;\n --jp-border-color0: var(--md-grey-700);\n --jp-border-color1: var(--md-grey-500);\n --jp-border-color2: var(--md-grey-300);\n --jp-border-color3: var(--md-grey-100);\n\n /* UI Fonts\n\n The UI font CSS variables are used for the typography all of the JupyterLab\n user interface elements that are not directly user generated content.\n */\n\n --jp-ui-font-scale-factor: 1.2;\n --jp-ui-font-size0: calc(\n var(--jp-ui-font-size1) / var(--jp-ui-font-scale-factor)\n );\n --jp-ui-font-size1: 13px; /* Base font size */\n --jp-ui-font-size2: calc(\n var(--jp-ui-font-size1) * var(--jp-ui-font-scale-factor)\n );\n --jp-ui-font-size3: calc(\n var(--jp-ui-font-size2) * var(--jp-ui-font-scale-factor)\n );\n --jp-ui-icon-font-size: 14px; /* Ensures px perfect FontAwesome icons */\n --jp-ui-font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;\n\n /* Use these font colors against the corresponding main layout colors.\n In a light theme, these go from dark to light.\n */\n\n --jp-ui-font-color0: rgba(0, 0, 0, 1);\n --jp-ui-font-color1: rgba(0, 0, 0, 0.8);\n --jp-ui-font-color2: rgba(0, 0, 0, 0.5);\n --jp-ui-font-color3: rgba(0, 0, 0, 0.3);\n\n /* Use these against the brand/accent/warn/error colors.\n These will typically go from light to darker, in both a dark and light theme\n */\n\n --jp-ui-inverse-font-color0: rgba(255, 255, 255, 1);\n --jp-ui-inverse-font-color1: rgba(255, 255, 255, 1);\n --jp-ui-inverse-font-color2: rgba(255, 255, 255, 0.7);\n --jp-ui-inverse-font-color3: rgba(255, 255, 255, 0.5);\n\n /* Content Fonts\n\n Content font variables are used for typography of user generated content.\n */\n\n --jp-content-font-size: 13px;\n --jp-content-line-height: 1.5;\n --jp-content-font-color0: black;\n --jp-content-font-color1: black;\n --jp-content-font-color2: var(--md-grey-700);\n --jp-content-font-color3: var(--md-grey-500);\n\n --jp-ui-font-scale-factor: 1.2;\n --jp-ui-font-size0: calc(\n var(--jp-ui-font-size1) / var(--jp-ui-font-scale-factor)\n );\n --jp-ui-font-size1: 13px; /* Base font size */\n --jp-ui-font-size2: calc(\n var(--jp-ui-font-size1) * var(--jp-ui-font-scale-factor)\n );\n --jp-ui-font-size3: calc(\n var(--jp-ui-font-size2) * var(--jp-ui-font-scale-factor)\n );\n\n --jp-code-font-size: 13px;\n --jp-code-line-height: 1.307;\n --jp-code-padding: 5px;\n --jp-code-font-family: monospace;\n\n /* Layout\n\n The following are the main layout colors use in JupyterLab. In a light\n theme these would go from light to dark.\n */\n\n --jp-layout-color0: white;\n --jp-layout-color1: white;\n --jp-layout-color2: var(--md-grey-200);\n --jp-layout-color3: var(--md-grey-400);\n\n /* Brand/accent */\n\n --jp-brand-color0: var(--md-blue-700);\n --jp-brand-color1: var(--md-blue-500);\n --jp-brand-color2: var(--md-blue-300);\n --jp-brand-color3: var(--md-blue-100);\n\n --jp-accent-color0: var(--md-green-700);\n --jp-accent-color1: var(--md-green-500);\n --jp-accent-color2: var(--md-green-300);\n --jp-accent-color3: var(--md-green-100);\n\n /* State colors (warn, error, success, info) */\n\n --jp-warn-color0: var(--md-orange-700);\n --jp-warn-color1: var(--md-orange-500);\n --jp-warn-color2: var(--md-orange-300);\n --jp-warn-color3: var(--md-orange-100);\n\n --jp-error-color0: var(--md-red-700);\n --jp-error-color1: var(--md-red-500);\n --jp-error-color2: var(--md-red-300);\n --jp-error-color3: var(--md-red-100);\n\n --jp-success-color0: var(--md-green-700);\n --jp-success-color1: var(--md-green-500);\n --jp-success-color2: var(--md-green-300);\n --jp-success-color3: var(--md-green-100);\n\n --jp-info-color0: var(--md-cyan-700);\n --jp-info-color1: var(--md-cyan-500);\n --jp-info-color2: var(--md-cyan-300);\n --jp-info-color3: var(--md-cyan-100);\n\n /* Cell specific styles */\n\n --jp-cell-padding: 5px;\n --jp-cell-editor-background: #f7f7f7;\n --jp-cell-editor-border-color: #cfcfcf;\n --jp-cell-editor-background-edit: var(--jp-ui-layout-color1);\n --jp-cell-editor-border-color-edit: var(--jp-brand-color1);\n --jp-cell-prompt-width: 100px;\n --jp-cell-prompt-font-family: 'Roboto Mono', monospace;\n --jp-cell-prompt-letter-spacing: 0px;\n --jp-cell-prompt-opacity: 1;\n --jp-cell-prompt-opacity-not-active: 0.4;\n --jp-cell-prompt-font-color-not-active: var(--md-grey-700);\n /* A custom blend of MD grey and blue 600\n * See https://meyerweb.com/eric/tools/color-blend/#546E7A:1E88E5:5:hex */\n --jp-cell-inprompt-font-color: #307fc1;\n /* A custom blend of MD grey and orange 600\n * https://meyerweb.com/eric/tools/color-blend/#546E7A:F4511E:5:hex */\n --jp-cell-outprompt-font-color: #bf5b3d;\n\n /* Notebook specific styles */\n\n --jp-notebook-padding: 10px;\n --jp-notebook-scroll-padding: 100px;\n\n /* Console specific styles */\n\n --jp-console-background: var(--md-grey-100);\n\n /* Toolbar specific styles */\n\n --jp-toolbar-border-color: var(--md-grey-400);\n --jp-toolbar-micro-height: 8px;\n --jp-toolbar-background: var(--jp-layout-color0);\n --jp-toolbar-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.24);\n --jp-toolbar-header-margin: 4px 4px 0px 4px;\n --jp-toolbar-active-background: var(--md-grey-300);\n}\n"],sourceRoot:""}]);const d=l},8594:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/* This file has code derived from Lumino CSS files, as noted below. The license for this Lumino code is:\n\nCopyright (c) 2019 Project Jupyter Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\nCopyright (c) 2014-2017, PhosphorJS Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n/*\n * The following section is derived from https://github.com/jupyterlab/lumino/blob/23b9d075ebc5b73ab148b6ebfc20af97f85714c4/packages/widgets/style/tabbar.css \n * We've scoped the rules so that they are consistent with exactly our code.\n */\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='horizontal'], /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar[data-orientation='horizontal'], /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar[data-orientation='horizontal'] {\n flex-direction: row;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='vertical'], /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar[data-orientation='vertical'], /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar[data-orientation='vertical'] {\n flex-direction: column;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar > .lm-TabBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex: 1 1 auto;\n list-style-type: none;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar[data-orientation='horizontal']\n > .p-TabBar-content,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar[data-orientation='horizontal']\n> .p-TabBar-content,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar[data-orientation='horizontal']\n > .lm-TabBar-content {\n flex-direction: row;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar[data-orientation='vertical']\n > .p-TabBar-content,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar[data-orientation='vertical']\n> .p-TabBar-content,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar[data-orientation='vertical']\n > .lm-TabBar-content {\n flex-direction: column;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabIcon,\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabCloseIcon {\n flex: 0 0 auto;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabLabel {\n flex: 1 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-hidden, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab.p-mod-hidden, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab.lm-mod-hidden {\n display: none !important;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar.lm-mod-dragging .lm-TabBar-tab {\n position: relative;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar.p-mod-dragging[data-orientation='horizontal']\n .p-TabBar-tab,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .p-TabBar.p-mod-dragging[data-orientation='horizontal']\n .p-TabBar-tab,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar.lm-mod-dragging[data-orientation='horizontal']\n .lm-TabBar-tab {\n left: 0;\n transition: left 150ms ease;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar.p-mod-dragging[data-orientation='vertical']\n .p-TabBar-tab,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar.p-mod-dragging[data-orientation='vertical']\n.p-TabBar-tab,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar.lm-mod-dragging[data-orientation='vertical']\n .lm-TabBar-tab {\n top: 0;\n transition: top 150ms ease;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar.p-mod-dragging\n .p-TabBar-tab.p-mod-dragging,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar.p-mod-dragging\n.p-TabBar-tab.p-mod-dragging,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar.lm-mod-dragging\n .lm-TabBar-tab.lm-mod-dragging {\n transition: none;\n}\n\n/* End tabbar.css */\n","",{version:3,sources:["webpack://./../controls/css/lumino.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DC;;AAED;;;EAGE;;AAEF,iBAAiB;AACjB;;;EAGE,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA,iBAAiB;AACjB;;;EAGE,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;;EAGE,sBAAsB;AACxB;;AAEA,iBAAiB;AACjB;;;EAGE,SAAS;EACT,UAAU;EACV,aAAa;EACb,cAAc;EACd,qBAAqB;AACvB;;AAEA,iBAAiB;AACjB;;;;;;;;;;;;EAYE,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;;;;;;;;;;;EAYE,sBAAsB;AACxB;;AAEA,iBAAiB;AACjB;;;EAGE,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA,iBAAiB;AACjB;;;;;;EAME,cAAc;AAChB;;AAEA,iBAAiB;AACjB;;;EAGE,cAAc;EACd,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;;EAGE,wBAAwB;AAC1B;;AAEA,iBAAiB;AACjB;;;EAGE,kBAAkB;AACpB;;AAEA,iBAAiB;AACjB;;;;;;;;;;;;EAYE,OAAO;EACP,2BAA2B;AAC7B;;AAEA,iBAAiB;AACjB;;;;;;;;;;;;EAYE,MAAM;EACN,0BAA0B;AAC5B;;AAEA,iBAAiB;AACjB;;;;;;;;;;;;EAYE,gBAAgB;AAClB;;AAEA,mBAAmB",sourcesContent:["/* This file has code derived from Lumino CSS files, as noted below. The license for this Lumino code is:\n\nCopyright (c) 2019 Project Jupyter Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\nCopyright (c) 2014-2017, PhosphorJS Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n/*\n * The following section is derived from https://github.com/jupyterlab/lumino/blob/23b9d075ebc5b73ab148b6ebfc20af97f85714c4/packages/widgets/style/tabbar.css \n * We've scoped the rules so that they are consistent with exactly our code.\n */\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='horizontal'], /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar[data-orientation='horizontal'], /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar[data-orientation='horizontal'] {\n flex-direction: row;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar[data-orientation='vertical'], /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar[data-orientation='vertical'], /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar[data-orientation='vertical'] {\n flex-direction: column;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar > .lm-TabBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex: 1 1 auto;\n list-style-type: none;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar[data-orientation='horizontal']\n > .p-TabBar-content,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar[data-orientation='horizontal']\n> .p-TabBar-content,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar[data-orientation='horizontal']\n > .lm-TabBar-content {\n flex-direction: row;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar[data-orientation='vertical']\n > .p-TabBar-content,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar[data-orientation='vertical']\n> .p-TabBar-content,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar[data-orientation='vertical']\n > .lm-TabBar-content {\n flex-direction: column;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabIcon,\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabCloseIcon {\n flex: 0 0 auto;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabLabel {\n flex: 1 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-hidden, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab.p-mod-hidden, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab.lm-mod-hidden {\n display: none !important;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar.lm-mod-dragging .lm-TabBar-tab {\n position: relative;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar.p-mod-dragging[data-orientation='horizontal']\n .p-TabBar-tab,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .p-TabBar.p-mod-dragging[data-orientation='horizontal']\n .p-TabBar-tab,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar.lm-mod-dragging[data-orientation='horizontal']\n .lm-TabBar-tab {\n left: 0;\n transition: left 150ms ease;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar.p-mod-dragging[data-orientation='vertical']\n .p-TabBar-tab,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar.p-mod-dragging[data-orientation='vertical']\n.p-TabBar-tab,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar.lm-mod-dragging[data-orientation='vertical']\n .lm-TabBar-tab {\n top: 0;\n transition: top 150ms ease;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar.p-mod-dragging\n .p-TabBar-tab.p-mod-dragging,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar.p-mod-dragging\n.p-TabBar-tab.p-mod-dragging,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar.lm-mod-dragging\n .lm-TabBar-tab.lm-mod-dragging {\n transition: none;\n}\n\n/* End tabbar.css */\n"],sourceRoot:""}]);const a=s},5059:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,'/**\n * The material design colors are adapted from google-material-color v1.2.6\n * https://github.com/danlevan/google-material-color\n * https://github.com/danlevan/google-material-color/blob/f67ca5f4028b2f1b34862f64b0ca67323f91b088/dist/palette.var.css\n *\n * The license for the material design color CSS variables is as follows (see\n * https://github.com/danlevan/google-material-color/blob/f67ca5f4028b2f1b34862f64b0ca67323f91b088/LICENSE)\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2014 Dan Le Van\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n:root {\n --md-red-50: #ffebee;\n --md-red-100: #ffcdd2;\n --md-red-200: #ef9a9a;\n --md-red-300: #e57373;\n --md-red-400: #ef5350;\n --md-red-500: #f44336;\n --md-red-600: #e53935;\n --md-red-700: #d32f2f;\n --md-red-800: #c62828;\n --md-red-900: #b71c1c;\n --md-red-A100: #ff8a80;\n --md-red-A200: #ff5252;\n --md-red-A400: #ff1744;\n --md-red-A700: #d50000;\n\n --md-pink-50: #fce4ec;\n --md-pink-100: #f8bbd0;\n --md-pink-200: #f48fb1;\n --md-pink-300: #f06292;\n --md-pink-400: #ec407a;\n --md-pink-500: #e91e63;\n --md-pink-600: #d81b60;\n --md-pink-700: #c2185b;\n --md-pink-800: #ad1457;\n --md-pink-900: #880e4f;\n --md-pink-A100: #ff80ab;\n --md-pink-A200: #ff4081;\n --md-pink-A400: #f50057;\n --md-pink-A700: #c51162;\n\n --md-purple-50: #f3e5f5;\n --md-purple-100: #e1bee7;\n --md-purple-200: #ce93d8;\n --md-purple-300: #ba68c8;\n --md-purple-400: #ab47bc;\n --md-purple-500: #9c27b0;\n --md-purple-600: #8e24aa;\n --md-purple-700: #7b1fa2;\n --md-purple-800: #6a1b9a;\n --md-purple-900: #4a148c;\n --md-purple-A100: #ea80fc;\n --md-purple-A200: #e040fb;\n --md-purple-A400: #d500f9;\n --md-purple-A700: #aa00ff;\n\n --md-deep-purple-50: #ede7f6;\n --md-deep-purple-100: #d1c4e9;\n --md-deep-purple-200: #b39ddb;\n --md-deep-purple-300: #9575cd;\n --md-deep-purple-400: #7e57c2;\n --md-deep-purple-500: #673ab7;\n --md-deep-purple-600: #5e35b1;\n --md-deep-purple-700: #512da8;\n --md-deep-purple-800: #4527a0;\n --md-deep-purple-900: #311b92;\n --md-deep-purple-A100: #b388ff;\n --md-deep-purple-A200: #7c4dff;\n --md-deep-purple-A400: #651fff;\n --md-deep-purple-A700: #6200ea;\n\n --md-indigo-50: #e8eaf6;\n --md-indigo-100: #c5cae9;\n --md-indigo-200: #9fa8da;\n --md-indigo-300: #7986cb;\n --md-indigo-400: #5c6bc0;\n --md-indigo-500: #3f51b5;\n --md-indigo-600: #3949ab;\n --md-indigo-700: #303f9f;\n --md-indigo-800: #283593;\n --md-indigo-900: #1a237e;\n --md-indigo-A100: #8c9eff;\n --md-indigo-A200: #536dfe;\n --md-indigo-A400: #3d5afe;\n --md-indigo-A700: #304ffe;\n\n --md-blue-50: #e3f2fd;\n --md-blue-100: #bbdefb;\n --md-blue-200: #90caf9;\n --md-blue-300: #64b5f6;\n --md-blue-400: #42a5f5;\n --md-blue-500: #2196f3;\n --md-blue-600: #1e88e5;\n --md-blue-700: #1976d2;\n --md-blue-800: #1565c0;\n --md-blue-900: #0d47a1;\n --md-blue-A100: #82b1ff;\n --md-blue-A200: #448aff;\n --md-blue-A400: #2979ff;\n --md-blue-A700: #2962ff;\n\n --md-light-blue-50: #e1f5fe;\n --md-light-blue-100: #b3e5fc;\n --md-light-blue-200: #81d4fa;\n --md-light-blue-300: #4fc3f7;\n --md-light-blue-400: #29b6f6;\n --md-light-blue-500: #03a9f4;\n --md-light-blue-600: #039be5;\n --md-light-blue-700: #0288d1;\n --md-light-blue-800: #0277bd;\n --md-light-blue-900: #01579b;\n --md-light-blue-A100: #80d8ff;\n --md-light-blue-A200: #40c4ff;\n --md-light-blue-A400: #00b0ff;\n --md-light-blue-A700: #0091ea;\n\n --md-cyan-50: #e0f7fa;\n --md-cyan-100: #b2ebf2;\n --md-cyan-200: #80deea;\n --md-cyan-300: #4dd0e1;\n --md-cyan-400: #26c6da;\n --md-cyan-500: #00bcd4;\n --md-cyan-600: #00acc1;\n --md-cyan-700: #0097a7;\n --md-cyan-800: #00838f;\n --md-cyan-900: #006064;\n --md-cyan-A100: #84ffff;\n --md-cyan-A200: #18ffff;\n --md-cyan-A400: #00e5ff;\n --md-cyan-A700: #00b8d4;\n\n --md-teal-50: #e0f2f1;\n --md-teal-100: #b2dfdb;\n --md-teal-200: #80cbc4;\n --md-teal-300: #4db6ac;\n --md-teal-400: #26a69a;\n --md-teal-500: #009688;\n --md-teal-600: #00897b;\n --md-teal-700: #00796b;\n --md-teal-800: #00695c;\n --md-teal-900: #004d40;\n --md-teal-A100: #a7ffeb;\n --md-teal-A200: #64ffda;\n --md-teal-A400: #1de9b6;\n --md-teal-A700: #00bfa5;\n\n --md-green-50: #e8f5e9;\n --md-green-100: #c8e6c9;\n --md-green-200: #a5d6a7;\n --md-green-300: #81c784;\n --md-green-400: #66bb6a;\n --md-green-500: #4caf50;\n --md-green-600: #43a047;\n --md-green-700: #388e3c;\n --md-green-800: #2e7d32;\n --md-green-900: #1b5e20;\n --md-green-A100: #b9f6ca;\n --md-green-A200: #69f0ae;\n --md-green-A400: #00e676;\n --md-green-A700: #00c853;\n\n --md-light-green-50: #f1f8e9;\n --md-light-green-100: #dcedc8;\n --md-light-green-200: #c5e1a5;\n --md-light-green-300: #aed581;\n --md-light-green-400: #9ccc65;\n --md-light-green-500: #8bc34a;\n --md-light-green-600: #7cb342;\n --md-light-green-700: #689f38;\n --md-light-green-800: #558b2f;\n --md-light-green-900: #33691e;\n --md-light-green-A100: #ccff90;\n --md-light-green-A200: #b2ff59;\n --md-light-green-A400: #76ff03;\n --md-light-green-A700: #64dd17;\n\n --md-lime-50: #f9fbe7;\n --md-lime-100: #f0f4c3;\n --md-lime-200: #e6ee9c;\n --md-lime-300: #dce775;\n --md-lime-400: #d4e157;\n --md-lime-500: #cddc39;\n --md-lime-600: #c0ca33;\n --md-lime-700: #afb42b;\n --md-lime-800: #9e9d24;\n --md-lime-900: #827717;\n --md-lime-A100: #f4ff81;\n --md-lime-A200: #eeff41;\n --md-lime-A400: #c6ff00;\n --md-lime-A700: #aeea00;\n\n --md-yellow-50: #fffde7;\n --md-yellow-100: #fff9c4;\n --md-yellow-200: #fff59d;\n --md-yellow-300: #fff176;\n --md-yellow-400: #ffee58;\n --md-yellow-500: #ffeb3b;\n --md-yellow-600: #fdd835;\n --md-yellow-700: #fbc02d;\n --md-yellow-800: #f9a825;\n --md-yellow-900: #f57f17;\n --md-yellow-A100: #ffff8d;\n --md-yellow-A200: #ffff00;\n --md-yellow-A400: #ffea00;\n --md-yellow-A700: #ffd600;\n\n --md-amber-50: #fff8e1;\n --md-amber-100: #ffecb3;\n --md-amber-200: #ffe082;\n --md-amber-300: #ffd54f;\n --md-amber-400: #ffca28;\n --md-amber-500: #ffc107;\n --md-amber-600: #ffb300;\n --md-amber-700: #ffa000;\n --md-amber-800: #ff8f00;\n --md-amber-900: #ff6f00;\n --md-amber-A100: #ffe57f;\n --md-amber-A200: #ffd740;\n --md-amber-A400: #ffc400;\n --md-amber-A700: #ffab00;\n\n --md-orange-50: #fff3e0;\n --md-orange-100: #ffe0b2;\n --md-orange-200: #ffcc80;\n --md-orange-300: #ffb74d;\n --md-orange-400: #ffa726;\n --md-orange-500: #ff9800;\n --md-orange-600: #fb8c00;\n --md-orange-700: #f57c00;\n --md-orange-800: #ef6c00;\n --md-orange-900: #e65100;\n --md-orange-A100: #ffd180;\n --md-orange-A200: #ffab40;\n --md-orange-A400: #ff9100;\n --md-orange-A700: #ff6d00;\n\n --md-deep-orange-50: #fbe9e7;\n --md-deep-orange-100: #ffccbc;\n --md-deep-orange-200: #ffab91;\n --md-deep-orange-300: #ff8a65;\n --md-deep-orange-400: #ff7043;\n --md-deep-orange-500: #ff5722;\n --md-deep-orange-600: #f4511e;\n --md-deep-orange-700: #e64a19;\n --md-deep-orange-800: #d84315;\n --md-deep-orange-900: #bf360c;\n --md-deep-orange-A100: #ff9e80;\n --md-deep-orange-A200: #ff6e40;\n --md-deep-orange-A400: #ff3d00;\n --md-deep-orange-A700: #dd2c00;\n\n --md-brown-50: #efebe9;\n --md-brown-100: #d7ccc8;\n --md-brown-200: #bcaaa4;\n --md-brown-300: #a1887f;\n --md-brown-400: #8d6e63;\n --md-brown-500: #795548;\n --md-brown-600: #6d4c41;\n --md-brown-700: #5d4037;\n --md-brown-800: #4e342e;\n --md-brown-900: #3e2723;\n\n --md-grey-50: #fafafa;\n --md-grey-100: #f5f5f5;\n --md-grey-200: #eeeeee;\n --md-grey-300: #e0e0e0;\n --md-grey-400: #bdbdbd;\n --md-grey-500: #9e9e9e;\n --md-grey-600: #757575;\n --md-grey-700: #616161;\n --md-grey-800: #424242;\n --md-grey-900: #212121;\n\n --md-blue-grey-50: #eceff1;\n --md-blue-grey-100: #cfd8dc;\n --md-blue-grey-200: #b0bec5;\n --md-blue-grey-300: #90a4ae;\n --md-blue-grey-400: #78909c;\n --md-blue-grey-500: #607d8b;\n --md-blue-grey-600: #546e7a;\n --md-blue-grey-700: #455a64;\n --md-blue-grey-800: #37474f;\n --md-blue-grey-900: #263238;\n}\n',"",{version:3,sources:["webpack://./../controls/css/materialcolors.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BE;AACF;EACE,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;;EAEtB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;;EAEzB,4BAA4B;EAC5B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;;EAE9B,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;;EAEzB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,2BAA2B;EAC3B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,4BAA4B;EAC5B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;;EAE7B,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;;EAExB,4BAA4B;EAC5B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;;EAE9B,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;;EAEzB,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;;EAExB,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;;EAEzB,4BAA4B;EAC5B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,6BAA6B;EAC7B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;EAC9B,8BAA8B;;EAE9B,sBAAsB;EACtB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;;EAEvB,qBAAqB;EACrB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;EACtB,sBAAsB;;EAEtB,0BAA0B;EAC1B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;EAC3B,2BAA2B;AAC7B",sourcesContent:['/**\n * The material design colors are adapted from google-material-color v1.2.6\n * https://github.com/danlevan/google-material-color\n * https://github.com/danlevan/google-material-color/blob/f67ca5f4028b2f1b34862f64b0ca67323f91b088/dist/palette.var.css\n *\n * The license for the material design color CSS variables is as follows (see\n * https://github.com/danlevan/google-material-color/blob/f67ca5f4028b2f1b34862f64b0ca67323f91b088/LICENSE)\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2014 Dan Le Van\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n:root {\n --md-red-50: #ffebee;\n --md-red-100: #ffcdd2;\n --md-red-200: #ef9a9a;\n --md-red-300: #e57373;\n --md-red-400: #ef5350;\n --md-red-500: #f44336;\n --md-red-600: #e53935;\n --md-red-700: #d32f2f;\n --md-red-800: #c62828;\n --md-red-900: #b71c1c;\n --md-red-A100: #ff8a80;\n --md-red-A200: #ff5252;\n --md-red-A400: #ff1744;\n --md-red-A700: #d50000;\n\n --md-pink-50: #fce4ec;\n --md-pink-100: #f8bbd0;\n --md-pink-200: #f48fb1;\n --md-pink-300: #f06292;\n --md-pink-400: #ec407a;\n --md-pink-500: #e91e63;\n --md-pink-600: #d81b60;\n --md-pink-700: #c2185b;\n --md-pink-800: #ad1457;\n --md-pink-900: #880e4f;\n --md-pink-A100: #ff80ab;\n --md-pink-A200: #ff4081;\n --md-pink-A400: #f50057;\n --md-pink-A700: #c51162;\n\n --md-purple-50: #f3e5f5;\n --md-purple-100: #e1bee7;\n --md-purple-200: #ce93d8;\n --md-purple-300: #ba68c8;\n --md-purple-400: #ab47bc;\n --md-purple-500: #9c27b0;\n --md-purple-600: #8e24aa;\n --md-purple-700: #7b1fa2;\n --md-purple-800: #6a1b9a;\n --md-purple-900: #4a148c;\n --md-purple-A100: #ea80fc;\n --md-purple-A200: #e040fb;\n --md-purple-A400: #d500f9;\n --md-purple-A700: #aa00ff;\n\n --md-deep-purple-50: #ede7f6;\n --md-deep-purple-100: #d1c4e9;\n --md-deep-purple-200: #b39ddb;\n --md-deep-purple-300: #9575cd;\n --md-deep-purple-400: #7e57c2;\n --md-deep-purple-500: #673ab7;\n --md-deep-purple-600: #5e35b1;\n --md-deep-purple-700: #512da8;\n --md-deep-purple-800: #4527a0;\n --md-deep-purple-900: #311b92;\n --md-deep-purple-A100: #b388ff;\n --md-deep-purple-A200: #7c4dff;\n --md-deep-purple-A400: #651fff;\n --md-deep-purple-A700: #6200ea;\n\n --md-indigo-50: #e8eaf6;\n --md-indigo-100: #c5cae9;\n --md-indigo-200: #9fa8da;\n --md-indigo-300: #7986cb;\n --md-indigo-400: #5c6bc0;\n --md-indigo-500: #3f51b5;\n --md-indigo-600: #3949ab;\n --md-indigo-700: #303f9f;\n --md-indigo-800: #283593;\n --md-indigo-900: #1a237e;\n --md-indigo-A100: #8c9eff;\n --md-indigo-A200: #536dfe;\n --md-indigo-A400: #3d5afe;\n --md-indigo-A700: #304ffe;\n\n --md-blue-50: #e3f2fd;\n --md-blue-100: #bbdefb;\n --md-blue-200: #90caf9;\n --md-blue-300: #64b5f6;\n --md-blue-400: #42a5f5;\n --md-blue-500: #2196f3;\n --md-blue-600: #1e88e5;\n --md-blue-700: #1976d2;\n --md-blue-800: #1565c0;\n --md-blue-900: #0d47a1;\n --md-blue-A100: #82b1ff;\n --md-blue-A200: #448aff;\n --md-blue-A400: #2979ff;\n --md-blue-A700: #2962ff;\n\n --md-light-blue-50: #e1f5fe;\n --md-light-blue-100: #b3e5fc;\n --md-light-blue-200: #81d4fa;\n --md-light-blue-300: #4fc3f7;\n --md-light-blue-400: #29b6f6;\n --md-light-blue-500: #03a9f4;\n --md-light-blue-600: #039be5;\n --md-light-blue-700: #0288d1;\n --md-light-blue-800: #0277bd;\n --md-light-blue-900: #01579b;\n --md-light-blue-A100: #80d8ff;\n --md-light-blue-A200: #40c4ff;\n --md-light-blue-A400: #00b0ff;\n --md-light-blue-A700: #0091ea;\n\n --md-cyan-50: #e0f7fa;\n --md-cyan-100: #b2ebf2;\n --md-cyan-200: #80deea;\n --md-cyan-300: #4dd0e1;\n --md-cyan-400: #26c6da;\n --md-cyan-500: #00bcd4;\n --md-cyan-600: #00acc1;\n --md-cyan-700: #0097a7;\n --md-cyan-800: #00838f;\n --md-cyan-900: #006064;\n --md-cyan-A100: #84ffff;\n --md-cyan-A200: #18ffff;\n --md-cyan-A400: #00e5ff;\n --md-cyan-A700: #00b8d4;\n\n --md-teal-50: #e0f2f1;\n --md-teal-100: #b2dfdb;\n --md-teal-200: #80cbc4;\n --md-teal-300: #4db6ac;\n --md-teal-400: #26a69a;\n --md-teal-500: #009688;\n --md-teal-600: #00897b;\n --md-teal-700: #00796b;\n --md-teal-800: #00695c;\n --md-teal-900: #004d40;\n --md-teal-A100: #a7ffeb;\n --md-teal-A200: #64ffda;\n --md-teal-A400: #1de9b6;\n --md-teal-A700: #00bfa5;\n\n --md-green-50: #e8f5e9;\n --md-green-100: #c8e6c9;\n --md-green-200: #a5d6a7;\n --md-green-300: #81c784;\n --md-green-400: #66bb6a;\n --md-green-500: #4caf50;\n --md-green-600: #43a047;\n --md-green-700: #388e3c;\n --md-green-800: #2e7d32;\n --md-green-900: #1b5e20;\n --md-green-A100: #b9f6ca;\n --md-green-A200: #69f0ae;\n --md-green-A400: #00e676;\n --md-green-A700: #00c853;\n\n --md-light-green-50: #f1f8e9;\n --md-light-green-100: #dcedc8;\n --md-light-green-200: #c5e1a5;\n --md-light-green-300: #aed581;\n --md-light-green-400: #9ccc65;\n --md-light-green-500: #8bc34a;\n --md-light-green-600: #7cb342;\n --md-light-green-700: #689f38;\n --md-light-green-800: #558b2f;\n --md-light-green-900: #33691e;\n --md-light-green-A100: #ccff90;\n --md-light-green-A200: #b2ff59;\n --md-light-green-A400: #76ff03;\n --md-light-green-A700: #64dd17;\n\n --md-lime-50: #f9fbe7;\n --md-lime-100: #f0f4c3;\n --md-lime-200: #e6ee9c;\n --md-lime-300: #dce775;\n --md-lime-400: #d4e157;\n --md-lime-500: #cddc39;\n --md-lime-600: #c0ca33;\n --md-lime-700: #afb42b;\n --md-lime-800: #9e9d24;\n --md-lime-900: #827717;\n --md-lime-A100: #f4ff81;\n --md-lime-A200: #eeff41;\n --md-lime-A400: #c6ff00;\n --md-lime-A700: #aeea00;\n\n --md-yellow-50: #fffde7;\n --md-yellow-100: #fff9c4;\n --md-yellow-200: #fff59d;\n --md-yellow-300: #fff176;\n --md-yellow-400: #ffee58;\n --md-yellow-500: #ffeb3b;\n --md-yellow-600: #fdd835;\n --md-yellow-700: #fbc02d;\n --md-yellow-800: #f9a825;\n --md-yellow-900: #f57f17;\n --md-yellow-A100: #ffff8d;\n --md-yellow-A200: #ffff00;\n --md-yellow-A400: #ffea00;\n --md-yellow-A700: #ffd600;\n\n --md-amber-50: #fff8e1;\n --md-amber-100: #ffecb3;\n --md-amber-200: #ffe082;\n --md-amber-300: #ffd54f;\n --md-amber-400: #ffca28;\n --md-amber-500: #ffc107;\n --md-amber-600: #ffb300;\n --md-amber-700: #ffa000;\n --md-amber-800: #ff8f00;\n --md-amber-900: #ff6f00;\n --md-amber-A100: #ffe57f;\n --md-amber-A200: #ffd740;\n --md-amber-A400: #ffc400;\n --md-amber-A700: #ffab00;\n\n --md-orange-50: #fff3e0;\n --md-orange-100: #ffe0b2;\n --md-orange-200: #ffcc80;\n --md-orange-300: #ffb74d;\n --md-orange-400: #ffa726;\n --md-orange-500: #ff9800;\n --md-orange-600: #fb8c00;\n --md-orange-700: #f57c00;\n --md-orange-800: #ef6c00;\n --md-orange-900: #e65100;\n --md-orange-A100: #ffd180;\n --md-orange-A200: #ffab40;\n --md-orange-A400: #ff9100;\n --md-orange-A700: #ff6d00;\n\n --md-deep-orange-50: #fbe9e7;\n --md-deep-orange-100: #ffccbc;\n --md-deep-orange-200: #ffab91;\n --md-deep-orange-300: #ff8a65;\n --md-deep-orange-400: #ff7043;\n --md-deep-orange-500: #ff5722;\n --md-deep-orange-600: #f4511e;\n --md-deep-orange-700: #e64a19;\n --md-deep-orange-800: #d84315;\n --md-deep-orange-900: #bf360c;\n --md-deep-orange-A100: #ff9e80;\n --md-deep-orange-A200: #ff6e40;\n --md-deep-orange-A400: #ff3d00;\n --md-deep-orange-A700: #dd2c00;\n\n --md-brown-50: #efebe9;\n --md-brown-100: #d7ccc8;\n --md-brown-200: #bcaaa4;\n --md-brown-300: #a1887f;\n --md-brown-400: #8d6e63;\n --md-brown-500: #795548;\n --md-brown-600: #6d4c41;\n --md-brown-700: #5d4037;\n --md-brown-800: #4e342e;\n --md-brown-900: #3e2723;\n\n --md-grey-50: #fafafa;\n --md-grey-100: #f5f5f5;\n --md-grey-200: #eeeeee;\n --md-grey-300: #e0e0e0;\n --md-grey-400: #bdbdbd;\n --md-grey-500: #9e9e9e;\n --md-grey-600: #757575;\n --md-grey-700: #616161;\n --md-grey-800: #424242;\n --md-grey-900: #212121;\n\n --md-blue-grey-50: #eceff1;\n --md-blue-grey-100: #cfd8dc;\n --md-blue-grey-200: #b0bec5;\n --md-blue-grey-300: #90a4ae;\n --md-blue-grey-400: #78909c;\n --md-blue-grey-500: #607d8b;\n --md-blue-grey-600: #546e7a;\n --md-blue-grey-700: #455a64;\n --md-blue-grey-800: #37474f;\n --md-blue-grey-900: #263238;\n}\n'],sourceRoot:""}]);const a=s},3708:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,'/*\n\nThe nouislider.css file is autogenerated from nouislider.less, which imports and wraps the nouislider/src/nouislider.less styles.\n\nMIT License\n\nCopyright (c) 2019 Léon Gersen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n/* The .widget-slider class is deprecated */\n.widget-slider,\n.jupyter-widget-slider {\n /* Functional styling;\n * These styles are required for noUiSlider to function.\n * You don\'t need to change these rules to apply your design.\n */\n /* Wrapper for all connect elements.\n */\n /* Offset direction\n */\n /* Give origins 0 height/width so they don\'t interfere with clicking the\n * connect elements.\n */\n /* Slider size and handle placement;\n */\n /* Styling;\n * Giving the connect element a border radius causes issues with using transform: scale\n */\n /* Handles and cursors;\n */\n /* Handle stripes;\n */\n /* Disabled state;\n */\n /* Base;\n *\n */\n /* Values;\n *\n */\n /* Markings;\n *\n */\n /* Horizontal layout;\n *\n */\n /* Vertical layout;\n *\n */\n /* Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n /* Custom CSS for nouislider */\n}\n.widget-slider .noUi-target,\n.jupyter-widget-slider .noUi-target,\n.widget-slider .noUi-target *,\n.jupyter-widget-slider .noUi-target * {\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-user-select: none;\n -ms-touch-action: none;\n touch-action: none;\n -ms-user-select: none;\n -moz-user-select: none;\n user-select: none;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n.widget-slider .noUi-target,\n.jupyter-widget-slider .noUi-target {\n position: relative;\n}\n.widget-slider .noUi-base,\n.jupyter-widget-slider .noUi-base,\n.widget-slider .noUi-connects,\n.jupyter-widget-slider .noUi-connects {\n width: 100%;\n height: 100%;\n position: relative;\n z-index: 1;\n}\n.widget-slider .noUi-connects,\n.jupyter-widget-slider .noUi-connects {\n overflow: hidden;\n z-index: 0;\n}\n.widget-slider .noUi-connect,\n.jupyter-widget-slider .noUi-connect,\n.widget-slider .noUi-origin,\n.jupyter-widget-slider .noUi-origin {\n will-change: transform;\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n -ms-transform-origin: 0 0;\n -webkit-transform-origin: 0 0;\n -webkit-transform-style: preserve-3d;\n transform-origin: 0 0;\n transform-style: flat;\n}\n.widget-slider .noUi-connect,\n.jupyter-widget-slider .noUi-connect {\n height: 100%;\n width: 100%;\n}\n.widget-slider .noUi-origin,\n.jupyter-widget-slider .noUi-origin {\n height: 10%;\n width: 10%;\n}\n.widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin,\n.jupyter-widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {\n left: 0;\n right: auto;\n}\n.widget-slider .noUi-vertical .noUi-origin,\n.jupyter-widget-slider .noUi-vertical .noUi-origin {\n width: 0;\n}\n.widget-slider .noUi-horizontal .noUi-origin,\n.jupyter-widget-slider .noUi-horizontal .noUi-origin {\n height: 0;\n}\n.widget-slider .noUi-handle,\n.jupyter-widget-slider .noUi-handle {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n position: absolute;\n}\n.widget-slider .noUi-touch-area,\n.jupyter-widget-slider .noUi-touch-area {\n height: 100%;\n width: 100%;\n}\n.widget-slider .noUi-state-tap .noUi-connect,\n.jupyter-widget-slider .noUi-state-tap .noUi-connect,\n.widget-slider .noUi-state-tap .noUi-origin,\n.jupyter-widget-slider .noUi-state-tap .noUi-origin {\n -webkit-transition: transform 0.3s;\n transition: transform 0.3s;\n}\n.widget-slider .noUi-state-drag *,\n.jupyter-widget-slider .noUi-state-drag * {\n cursor: inherit !important;\n}\n.widget-slider .noUi-horizontal,\n.jupyter-widget-slider .noUi-horizontal {\n height: 18px;\n}\n.widget-slider .noUi-horizontal .noUi-handle,\n.jupyter-widget-slider .noUi-horizontal .noUi-handle {\n width: 34px;\n height: 28px;\n right: -17px;\n top: -6px;\n}\n.widget-slider .noUi-vertical,\n.jupyter-widget-slider .noUi-vertical {\n width: 18px;\n}\n.widget-slider .noUi-vertical .noUi-handle,\n.jupyter-widget-slider .noUi-vertical .noUi-handle {\n width: 28px;\n height: 34px;\n right: -6px;\n top: -17px;\n}\n.widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle,\n.jupyter-widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {\n left: -17px;\n right: auto;\n}\n.widget-slider .noUi-target,\n.jupyter-widget-slider .noUi-target {\n background: #FAFAFA;\n border-radius: 4px;\n border: 1px solid #D3D3D3;\n box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;\n}\n.widget-slider .noUi-connects,\n.jupyter-widget-slider .noUi-connects {\n border-radius: 3px;\n}\n.widget-slider .noUi-connect,\n.jupyter-widget-slider .noUi-connect {\n background: #3FB8AF;\n}\n.widget-slider .noUi-draggable,\n.jupyter-widget-slider .noUi-draggable {\n cursor: ew-resize;\n}\n.widget-slider .noUi-vertical .noUi-draggable,\n.jupyter-widget-slider .noUi-vertical .noUi-draggable {\n cursor: ns-resize;\n}\n.widget-slider .noUi-handle,\n.jupyter-widget-slider .noUi-handle {\n border: 1px solid #D9D9D9;\n border-radius: 3px;\n background: #FFF;\n cursor: default;\n box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;\n}\n.widget-slider .noUi-active,\n.jupyter-widget-slider .noUi-active {\n box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;\n}\n.widget-slider .noUi-handle:before,\n.jupyter-widget-slider .noUi-handle:before,\n.widget-slider .noUi-handle:after,\n.jupyter-widget-slider .noUi-handle:after {\n content: "";\n display: block;\n position: absolute;\n height: 14px;\n width: 1px;\n background: #E8E7E6;\n left: 14px;\n top: 6px;\n}\n.widget-slider .noUi-handle:after,\n.jupyter-widget-slider .noUi-handle:after {\n left: 17px;\n}\n.widget-slider .noUi-vertical .noUi-handle:before,\n.jupyter-widget-slider .noUi-vertical .noUi-handle:before,\n.widget-slider .noUi-vertical .noUi-handle:after,\n.jupyter-widget-slider .noUi-vertical .noUi-handle:after {\n width: 14px;\n height: 1px;\n left: 6px;\n top: 14px;\n}\n.widget-slider .noUi-vertical .noUi-handle:after,\n.jupyter-widget-slider .noUi-vertical .noUi-handle:after {\n top: 17px;\n}\n.widget-slider [disabled] .noUi-connect,\n.jupyter-widget-slider [disabled] .noUi-connect {\n background: #B8B8B8;\n}\n.widget-slider [disabled].noUi-target,\n.jupyter-widget-slider [disabled].noUi-target,\n.widget-slider [disabled].noUi-handle,\n.jupyter-widget-slider [disabled].noUi-handle,\n.widget-slider [disabled] .noUi-handle,\n.jupyter-widget-slider [disabled] .noUi-handle {\n cursor: not-allowed;\n}\n.widget-slider .noUi-pips,\n.jupyter-widget-slider .noUi-pips,\n.widget-slider .noUi-pips *,\n.jupyter-widget-slider .noUi-pips * {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n.widget-slider .noUi-pips,\n.jupyter-widget-slider .noUi-pips {\n position: absolute;\n color: #999;\n}\n.widget-slider .noUi-value,\n.jupyter-widget-slider .noUi-value {\n position: absolute;\n white-space: nowrap;\n text-align: center;\n}\n.widget-slider .noUi-value-sub,\n.jupyter-widget-slider .noUi-value-sub {\n color: #ccc;\n font-size: 10px;\n}\n.widget-slider .noUi-marker,\n.jupyter-widget-slider .noUi-marker {\n position: absolute;\n background: #CCC;\n}\n.widget-slider .noUi-marker-sub,\n.jupyter-widget-slider .noUi-marker-sub {\n background: #AAA;\n}\n.widget-slider .noUi-marker-large,\n.jupyter-widget-slider .noUi-marker-large {\n background: #AAA;\n}\n.widget-slider .noUi-pips-horizontal,\n.jupyter-widget-slider .noUi-pips-horizontal {\n padding: 10px 0;\n height: 80px;\n top: 100%;\n left: 0;\n width: 100%;\n}\n.widget-slider .noUi-value-horizontal,\n.jupyter-widget-slider .noUi-value-horizontal {\n -webkit-transform: translate(-50%, 50%);\n transform: translate(-50%, 50%);\n}\n.noUi-rtl .widget-slider .noUi-value-horizontal,\n.noUi-rtl .jupyter-widget-slider .noUi-value-horizontal {\n -webkit-transform: translate(50%, 50%);\n transform: translate(50%, 50%);\n}\n.widget-slider .noUi-marker-horizontal.noUi-marker,\n.jupyter-widget-slider .noUi-marker-horizontal.noUi-marker {\n margin-left: -1px;\n width: 2px;\n height: 5px;\n}\n.widget-slider .noUi-marker-horizontal.noUi-marker-sub,\n.jupyter-widget-slider .noUi-marker-horizontal.noUi-marker-sub {\n height: 10px;\n}\n.widget-slider .noUi-marker-horizontal.noUi-marker-large,\n.jupyter-widget-slider .noUi-marker-horizontal.noUi-marker-large {\n height: 15px;\n}\n.widget-slider .noUi-pips-vertical,\n.jupyter-widget-slider .noUi-pips-vertical {\n padding: 0 10px;\n height: 100%;\n top: 0;\n left: 100%;\n}\n.widget-slider .noUi-value-vertical,\n.jupyter-widget-slider .noUi-value-vertical {\n -webkit-transform: translate(0, -50%);\n transform: translate(0, -50%);\n padding-left: 25px;\n}\n.noUi-rtl .widget-slider .noUi-value-vertical,\n.noUi-rtl .jupyter-widget-slider .noUi-value-vertical {\n -webkit-transform: translate(0, 50%);\n transform: translate(0, 50%);\n}\n.widget-slider .noUi-marker-vertical.noUi-marker,\n.jupyter-widget-slider .noUi-marker-vertical.noUi-marker {\n width: 5px;\n height: 2px;\n margin-top: -1px;\n}\n.widget-slider .noUi-marker-vertical.noUi-marker-sub,\n.jupyter-widget-slider .noUi-marker-vertical.noUi-marker-sub {\n width: 10px;\n}\n.widget-slider .noUi-marker-vertical.noUi-marker-large,\n.jupyter-widget-slider .noUi-marker-vertical.noUi-marker-large {\n width: 15px;\n}\n.widget-slider .noUi-tooltip,\n.jupyter-widget-slider .noUi-tooltip {\n display: block;\n position: absolute;\n border: 1px solid #D9D9D9;\n border-radius: 3px;\n background: #fff;\n color: #000;\n padding: 5px;\n text-align: center;\n white-space: nowrap;\n}\n.widget-slider .noUi-horizontal .noUi-tooltip,\n.jupyter-widget-slider .noUi-horizontal .noUi-tooltip {\n -webkit-transform: translate(-50%, 0);\n transform: translate(-50%, 0);\n left: 50%;\n bottom: 120%;\n}\n.widget-slider .noUi-vertical .noUi-tooltip,\n.jupyter-widget-slider .noUi-vertical .noUi-tooltip {\n -webkit-transform: translate(0, -50%);\n transform: translate(0, -50%);\n top: 50%;\n right: 120%;\n}\n.widget-slider .noUi-horizontal .noUi-origin > .noUi-tooltip,\n.jupyter-widget-slider .noUi-horizontal .noUi-origin > .noUi-tooltip {\n -webkit-transform: translate(50%, 0);\n transform: translate(50%, 0);\n left: auto;\n bottom: 10px;\n}\n.widget-slider .noUi-vertical .noUi-origin > .noUi-tooltip,\n.jupyter-widget-slider .noUi-vertical .noUi-origin > .noUi-tooltip {\n -webkit-transform: translate(0, -18px);\n transform: translate(0, -18px);\n top: auto;\n right: 28px;\n}\n.widget-slider .noUi-connect,\n.jupyter-widget-slider .noUi-connect {\n background: #2196f3;\n}\n.widget-slider .noUi-horizontal,\n.jupyter-widget-slider .noUi-horizontal {\n height: var(--jp-widgets-slider-track-thickness);\n}\n.widget-slider .noUi-vertical,\n.jupyter-widget-slider .noUi-vertical {\n width: var(--jp-widgets-slider-track-thickness);\n height: 100%;\n}\n.widget-slider .noUi-horizontal .noUi-handle,\n.jupyter-widget-slider .noUi-horizontal .noUi-handle {\n width: var(--jp-widgets-slider-handle-size);\n height: var(--jp-widgets-slider-handle-size);\n border-radius: 50%;\n top: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-handle-size)) / 2);\n right: calc(var(--jp-widgets-slider-handle-size) / -2);\n}\n.widget-slider .noUi-vertical .noUi-handle,\n.jupyter-widget-slider .noUi-vertical .noUi-handle {\n height: var(--jp-widgets-slider-handle-size);\n width: var(--jp-widgets-slider-handle-size);\n border-radius: 50%;\n right: calc((var(--jp-widgets-slider-handle-size) - var(--jp-widgets-slider-track-thickness)) / -2);\n top: calc(var(--jp-widgets-slider-handle-size) / -2);\n}\n.widget-slider .noUi-handle:after,\n.jupyter-widget-slider .noUi-handle:after {\n content: none;\n}\n.widget-slider .noUi-handle:before,\n.jupyter-widget-slider .noUi-handle:before {\n content: none;\n}\n.widget-slider .noUi-target,\n.jupyter-widget-slider .noUi-target {\n background: #fafafa;\n border-radius: 4px;\n border: 1px;\n /* box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB; */\n}\n.widget-slider .ui-slider,\n.jupyter-widget-slider .ui-slider {\n border: var(--jp-widgets-slider-border-width) solid var(--jp-layout-color3);\n background: var(--jp-layout-color3);\n box-sizing: border-box;\n position: relative;\n border-radius: 0px;\n}\n.widget-slider .noUi-handle,\n.jupyter-widget-slider .noUi-handle {\n width: var(--jp-widgets-slider-handle-size);\n border: 1px solid #d9d9d9;\n border-radius: 3px;\n background: #fff;\n cursor: default;\n box-shadow: none;\n outline: none;\n}\n.widget-slider .noUi-target:not([disabled]) .noUi-handle:hover,\n.jupyter-widget-slider .noUi-target:not([disabled]) .noUi-handle:hover,\n.widget-slider .noUi-target:not([disabled]) .noUi-handle:focus,\n.jupyter-widget-slider .noUi-target:not([disabled]) .noUi-handle:focus {\n background-color: var(--jp-widgets-slider-active-handle-color);\n border: var(--jp-widgets-slider-border-width) solid var(--jp-widgets-slider-active-handle-color);\n}\n.widget-slider [disabled].noUi-target,\n.jupyter-widget-slider [disabled].noUi-target {\n opacity: 0.35;\n}\n.widget-slider .noUi-connects,\n.jupyter-widget-slider .noUi-connects {\n overflow: visible;\n z-index: 0;\n background: var(--jp-layout-color3);\n}\n.widget-slider .noUi-vertical .noUi-connect,\n.jupyter-widget-slider .noUi-vertical .noUi-connect {\n width: calc(100% + 2px);\n right: -1px;\n}\n.widget-slider .noUi-horizontal .noUi-connect,\n.jupyter-widget-slider .noUi-horizontal .noUi-connect {\n height: calc(100% + 2px);\n top: -1px;\n}\n',"",{version:3,sources:["webpack://./../controls/css/nouislider.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;CAaC;AACD,2CAA2C;AAC3C;;EAEE;;;EAGA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA;;EAEA;EACA;;EAEA;EACA;;EAEA;EACA;;EAEA;EACA;;EAEA;EACA,8BAA8B;AAChC;AACA;;;;EAIE,2BAA2B;EAC3B,6CAA6C;EAC7C,yBAAyB;EACzB,sBAAsB;EACtB,kBAAkB;EAClB,qBAAqB;EACrB,sBAAsB;EACtB,iBAAiB;EACjB,2BAA2B;EAC3B,sBAAsB;AACxB;AACA;;EAEE,kBAAkB;AACpB;AACA;;;;EAIE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,UAAU;AACZ;AACA;;EAEE,gBAAgB;EAChB,UAAU;AACZ;AACA;;;;EAIE,sBAAsB;EACtB,kBAAkB;EAClB,UAAU;EACV,MAAM;EACN,QAAQ;EACR,yBAAyB;EACzB,6BAA6B;EAC7B,oCAAoC;EACpC,qBAAqB;EACrB,qBAAqB;AACvB;AACA;;EAEE,YAAY;EACZ,WAAW;AACb;AACA;;EAEE,WAAW;EACX,UAAU;AACZ;AACA;;EAEE,OAAO;EACP,WAAW;AACb;AACA;;EAEE,QAAQ;AACV;AACA;;EAEE,SAAS;AACX;AACA;;EAEE,mCAAmC;EACnC,2BAA2B;EAC3B,kBAAkB;AACpB;AACA;;EAEE,YAAY;EACZ,WAAW;AACb;AACA;;;;EAIE,kCAAkC;EAClC,0BAA0B;AAC5B;AACA;;EAEE,0BAA0B;AAC5B;AACA;;EAEE,YAAY;AACd;AACA;;EAEE,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,SAAS;AACX;AACA;;EAEE,WAAW;AACb;AACA;;EAEE,WAAW;EACX,YAAY;EACZ,WAAW;EACX,UAAU;AACZ;AACA;;EAEE,WAAW;EACX,WAAW;AACb;AACA;;EAEE,mBAAmB;EACnB,kBAAkB;EAClB,yBAAyB;EACzB,wDAAwD;AAC1D;AACA;;EAEE,kBAAkB;AACpB;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,iBAAiB;AACnB;AACA;;EAEE,iBAAiB;AACnB;AACA;;EAEE,yBAAyB;EACzB,kBAAkB;EAClB,gBAAgB;EAChB,eAAe;EACf,4EAA4E;AAC9E;AACA;;EAEE,yEAAyE;AAC3E;AACA;;;;EAIE,WAAW;EACX,cAAc;EACd,kBAAkB;EAClB,YAAY;EACZ,UAAU;EACV,mBAAmB;EACnB,UAAU;EACV,QAAQ;AACV;AACA;;EAEE,UAAU;AACZ;AACA;;;;EAIE,WAAW;EACX,WAAW;EACX,SAAS;EACT,SAAS;AACX;AACA;;EAEE,SAAS;AACX;AACA;;EAEE,mBAAmB;AACrB;AACA;;;;;;EAME,mBAAmB;AACrB;AACA;;;;EAIE,2BAA2B;EAC3B,sBAAsB;AACxB;AACA;;EAEE,kBAAkB;EAClB,WAAW;AACb;AACA;;EAEE,kBAAkB;EAClB,mBAAmB;EACnB,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,eAAe;AACjB;AACA;;EAEE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;;EAEE,gBAAgB;AAClB;AACA;;EAEE,gBAAgB;AAClB;AACA;;EAEE,eAAe;EACf,YAAY;EACZ,SAAS;EACT,OAAO;EACP,WAAW;AACb;AACA;;EAEE,uCAAuC;EACvC,+BAA+B;AACjC;AACA;;EAEE,sCAAsC;EACtC,8BAA8B;AAChC;AACA;;EAEE,iBAAiB;EACjB,UAAU;EACV,WAAW;AACb;AACA;;EAEE,YAAY;AACd;AACA;;EAEE,YAAY;AACd;AACA;;EAEE,eAAe;EACf,YAAY;EACZ,MAAM;EACN,UAAU;AACZ;AACA;;EAEE,qCAAqC;EACrC,6BAA6B;EAC7B,kBAAkB;AACpB;AACA;;EAEE,oCAAoC;EACpC,4BAA4B;AAC9B;AACA;;EAEE,UAAU;EACV,WAAW;EACX,gBAAgB;AAClB;AACA;;EAEE,WAAW;AACb;AACA;;EAEE,WAAW;AACb;AACA;;EAEE,cAAc;EACd,kBAAkB;EAClB,yBAAyB;EACzB,kBAAkB;EAClB,gBAAgB;EAChB,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,mBAAmB;AACrB;AACA;;EAEE,qCAAqC;EACrC,6BAA6B;EAC7B,SAAS;EACT,YAAY;AACd;AACA;;EAEE,qCAAqC;EACrC,6BAA6B;EAC7B,QAAQ;EACR,WAAW;AACb;AACA;;EAEE,oCAAoC;EACpC,4BAA4B;EAC5B,UAAU;EACV,YAAY;AACd;AACA;;EAEE,sCAAsC;EACtC,8BAA8B;EAC9B,SAAS;EACT,WAAW;AACb;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,gDAAgD;AAClD;AACA;;EAEE,+CAA+C;EAC/C,YAAY;AACd;AACA;;EAEE,2CAA2C;EAC3C,4CAA4C;EAC5C,kBAAkB;EAClB,gGAAgG;EAChG,sDAAsD;AACxD;AACA;;EAEE,4CAA4C;EAC5C,2CAA2C;EAC3C,kBAAkB;EAClB,mGAAmG;EACnG,oDAAoD;AACtD;AACA;;EAEE,aAAa;AACf;AACA;;EAEE,aAAa;AACf;AACA;;EAEE,mBAAmB;EACnB,kBAAkB;EAClB,WAAW;EACX,8DAA8D;AAChE;AACA;;EAEE,2EAA2E;EAC3E,mCAAmC;EACnC,sBAAsB;EACtB,kBAAkB;EAClB,kBAAkB;AACpB;AACA;;EAEE,2CAA2C;EAC3C,yBAAyB;EACzB,kBAAkB;EAClB,gBAAgB;EAChB,eAAe;EACf,gBAAgB;EAChB,aAAa;AACf;AACA;;;;EAIE,8DAA8D;EAC9D,gGAAgG;AAClG;AACA;;EAEE,aAAa;AACf;AACA;;EAEE,iBAAiB;EACjB,UAAU;EACV,mCAAmC;AACrC;AACA;;EAEE,uBAAuB;EACvB,WAAW;AACb;AACA;;EAEE,wBAAwB;EACxB,SAAS;AACX",sourcesContent:['/*\n\nThe nouislider.css file is autogenerated from nouislider.less, which imports and wraps the nouislider/src/nouislider.less styles.\n\nMIT License\n\nCopyright (c) 2019 Léon Gersen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n/* The .widget-slider class is deprecated */\n.widget-slider,\n.jupyter-widget-slider {\n /* Functional styling;\n * These styles are required for noUiSlider to function.\n * You don\'t need to change these rules to apply your design.\n */\n /* Wrapper for all connect elements.\n */\n /* Offset direction\n */\n /* Give origins 0 height/width so they don\'t interfere with clicking the\n * connect elements.\n */\n /* Slider size and handle placement;\n */\n /* Styling;\n * Giving the connect element a border radius causes issues with using transform: scale\n */\n /* Handles and cursors;\n */\n /* Handle stripes;\n */\n /* Disabled state;\n */\n /* Base;\n *\n */\n /* Values;\n *\n */\n /* Markings;\n *\n */\n /* Horizontal layout;\n *\n */\n /* Vertical layout;\n *\n */\n /* Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n /* Custom CSS for nouislider */\n}\n.widget-slider .noUi-target,\n.jupyter-widget-slider .noUi-target,\n.widget-slider .noUi-target *,\n.jupyter-widget-slider .noUi-target * {\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-user-select: none;\n -ms-touch-action: none;\n touch-action: none;\n -ms-user-select: none;\n -moz-user-select: none;\n user-select: none;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n.widget-slider .noUi-target,\n.jupyter-widget-slider .noUi-target {\n position: relative;\n}\n.widget-slider .noUi-base,\n.jupyter-widget-slider .noUi-base,\n.widget-slider .noUi-connects,\n.jupyter-widget-slider .noUi-connects {\n width: 100%;\n height: 100%;\n position: relative;\n z-index: 1;\n}\n.widget-slider .noUi-connects,\n.jupyter-widget-slider .noUi-connects {\n overflow: hidden;\n z-index: 0;\n}\n.widget-slider .noUi-connect,\n.jupyter-widget-slider .noUi-connect,\n.widget-slider .noUi-origin,\n.jupyter-widget-slider .noUi-origin {\n will-change: transform;\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n -ms-transform-origin: 0 0;\n -webkit-transform-origin: 0 0;\n -webkit-transform-style: preserve-3d;\n transform-origin: 0 0;\n transform-style: flat;\n}\n.widget-slider .noUi-connect,\n.jupyter-widget-slider .noUi-connect {\n height: 100%;\n width: 100%;\n}\n.widget-slider .noUi-origin,\n.jupyter-widget-slider .noUi-origin {\n height: 10%;\n width: 10%;\n}\n.widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin,\n.jupyter-widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {\n left: 0;\n right: auto;\n}\n.widget-slider .noUi-vertical .noUi-origin,\n.jupyter-widget-slider .noUi-vertical .noUi-origin {\n width: 0;\n}\n.widget-slider .noUi-horizontal .noUi-origin,\n.jupyter-widget-slider .noUi-horizontal .noUi-origin {\n height: 0;\n}\n.widget-slider .noUi-handle,\n.jupyter-widget-slider .noUi-handle {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n position: absolute;\n}\n.widget-slider .noUi-touch-area,\n.jupyter-widget-slider .noUi-touch-area {\n height: 100%;\n width: 100%;\n}\n.widget-slider .noUi-state-tap .noUi-connect,\n.jupyter-widget-slider .noUi-state-tap .noUi-connect,\n.widget-slider .noUi-state-tap .noUi-origin,\n.jupyter-widget-slider .noUi-state-tap .noUi-origin {\n -webkit-transition: transform 0.3s;\n transition: transform 0.3s;\n}\n.widget-slider .noUi-state-drag *,\n.jupyter-widget-slider .noUi-state-drag * {\n cursor: inherit !important;\n}\n.widget-slider .noUi-horizontal,\n.jupyter-widget-slider .noUi-horizontal {\n height: 18px;\n}\n.widget-slider .noUi-horizontal .noUi-handle,\n.jupyter-widget-slider .noUi-horizontal .noUi-handle {\n width: 34px;\n height: 28px;\n right: -17px;\n top: -6px;\n}\n.widget-slider .noUi-vertical,\n.jupyter-widget-slider .noUi-vertical {\n width: 18px;\n}\n.widget-slider .noUi-vertical .noUi-handle,\n.jupyter-widget-slider .noUi-vertical .noUi-handle {\n width: 28px;\n height: 34px;\n right: -6px;\n top: -17px;\n}\n.widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle,\n.jupyter-widget-slider .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {\n left: -17px;\n right: auto;\n}\n.widget-slider .noUi-target,\n.jupyter-widget-slider .noUi-target {\n background: #FAFAFA;\n border-radius: 4px;\n border: 1px solid #D3D3D3;\n box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;\n}\n.widget-slider .noUi-connects,\n.jupyter-widget-slider .noUi-connects {\n border-radius: 3px;\n}\n.widget-slider .noUi-connect,\n.jupyter-widget-slider .noUi-connect {\n background: #3FB8AF;\n}\n.widget-slider .noUi-draggable,\n.jupyter-widget-slider .noUi-draggable {\n cursor: ew-resize;\n}\n.widget-slider .noUi-vertical .noUi-draggable,\n.jupyter-widget-slider .noUi-vertical .noUi-draggable {\n cursor: ns-resize;\n}\n.widget-slider .noUi-handle,\n.jupyter-widget-slider .noUi-handle {\n border: 1px solid #D9D9D9;\n border-radius: 3px;\n background: #FFF;\n cursor: default;\n box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;\n}\n.widget-slider .noUi-active,\n.jupyter-widget-slider .noUi-active {\n box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;\n}\n.widget-slider .noUi-handle:before,\n.jupyter-widget-slider .noUi-handle:before,\n.widget-slider .noUi-handle:after,\n.jupyter-widget-slider .noUi-handle:after {\n content: "";\n display: block;\n position: absolute;\n height: 14px;\n width: 1px;\n background: #E8E7E6;\n left: 14px;\n top: 6px;\n}\n.widget-slider .noUi-handle:after,\n.jupyter-widget-slider .noUi-handle:after {\n left: 17px;\n}\n.widget-slider .noUi-vertical .noUi-handle:before,\n.jupyter-widget-slider .noUi-vertical .noUi-handle:before,\n.widget-slider .noUi-vertical .noUi-handle:after,\n.jupyter-widget-slider .noUi-vertical .noUi-handle:after {\n width: 14px;\n height: 1px;\n left: 6px;\n top: 14px;\n}\n.widget-slider .noUi-vertical .noUi-handle:after,\n.jupyter-widget-slider .noUi-vertical .noUi-handle:after {\n top: 17px;\n}\n.widget-slider [disabled] .noUi-connect,\n.jupyter-widget-slider [disabled] .noUi-connect {\n background: #B8B8B8;\n}\n.widget-slider [disabled].noUi-target,\n.jupyter-widget-slider [disabled].noUi-target,\n.widget-slider [disabled].noUi-handle,\n.jupyter-widget-slider [disabled].noUi-handle,\n.widget-slider [disabled] .noUi-handle,\n.jupyter-widget-slider [disabled] .noUi-handle {\n cursor: not-allowed;\n}\n.widget-slider .noUi-pips,\n.jupyter-widget-slider .noUi-pips,\n.widget-slider .noUi-pips *,\n.jupyter-widget-slider .noUi-pips * {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n.widget-slider .noUi-pips,\n.jupyter-widget-slider .noUi-pips {\n position: absolute;\n color: #999;\n}\n.widget-slider .noUi-value,\n.jupyter-widget-slider .noUi-value {\n position: absolute;\n white-space: nowrap;\n text-align: center;\n}\n.widget-slider .noUi-value-sub,\n.jupyter-widget-slider .noUi-value-sub {\n color: #ccc;\n font-size: 10px;\n}\n.widget-slider .noUi-marker,\n.jupyter-widget-slider .noUi-marker {\n position: absolute;\n background: #CCC;\n}\n.widget-slider .noUi-marker-sub,\n.jupyter-widget-slider .noUi-marker-sub {\n background: #AAA;\n}\n.widget-slider .noUi-marker-large,\n.jupyter-widget-slider .noUi-marker-large {\n background: #AAA;\n}\n.widget-slider .noUi-pips-horizontal,\n.jupyter-widget-slider .noUi-pips-horizontal {\n padding: 10px 0;\n height: 80px;\n top: 100%;\n left: 0;\n width: 100%;\n}\n.widget-slider .noUi-value-horizontal,\n.jupyter-widget-slider .noUi-value-horizontal {\n -webkit-transform: translate(-50%, 50%);\n transform: translate(-50%, 50%);\n}\n.noUi-rtl .widget-slider .noUi-value-horizontal,\n.noUi-rtl .jupyter-widget-slider .noUi-value-horizontal {\n -webkit-transform: translate(50%, 50%);\n transform: translate(50%, 50%);\n}\n.widget-slider .noUi-marker-horizontal.noUi-marker,\n.jupyter-widget-slider .noUi-marker-horizontal.noUi-marker {\n margin-left: -1px;\n width: 2px;\n height: 5px;\n}\n.widget-slider .noUi-marker-horizontal.noUi-marker-sub,\n.jupyter-widget-slider .noUi-marker-horizontal.noUi-marker-sub {\n height: 10px;\n}\n.widget-slider .noUi-marker-horizontal.noUi-marker-large,\n.jupyter-widget-slider .noUi-marker-horizontal.noUi-marker-large {\n height: 15px;\n}\n.widget-slider .noUi-pips-vertical,\n.jupyter-widget-slider .noUi-pips-vertical {\n padding: 0 10px;\n height: 100%;\n top: 0;\n left: 100%;\n}\n.widget-slider .noUi-value-vertical,\n.jupyter-widget-slider .noUi-value-vertical {\n -webkit-transform: translate(0, -50%);\n transform: translate(0, -50%);\n padding-left: 25px;\n}\n.noUi-rtl .widget-slider .noUi-value-vertical,\n.noUi-rtl .jupyter-widget-slider .noUi-value-vertical {\n -webkit-transform: translate(0, 50%);\n transform: translate(0, 50%);\n}\n.widget-slider .noUi-marker-vertical.noUi-marker,\n.jupyter-widget-slider .noUi-marker-vertical.noUi-marker {\n width: 5px;\n height: 2px;\n margin-top: -1px;\n}\n.widget-slider .noUi-marker-vertical.noUi-marker-sub,\n.jupyter-widget-slider .noUi-marker-vertical.noUi-marker-sub {\n width: 10px;\n}\n.widget-slider .noUi-marker-vertical.noUi-marker-large,\n.jupyter-widget-slider .noUi-marker-vertical.noUi-marker-large {\n width: 15px;\n}\n.widget-slider .noUi-tooltip,\n.jupyter-widget-slider .noUi-tooltip {\n display: block;\n position: absolute;\n border: 1px solid #D9D9D9;\n border-radius: 3px;\n background: #fff;\n color: #000;\n padding: 5px;\n text-align: center;\n white-space: nowrap;\n}\n.widget-slider .noUi-horizontal .noUi-tooltip,\n.jupyter-widget-slider .noUi-horizontal .noUi-tooltip {\n -webkit-transform: translate(-50%, 0);\n transform: translate(-50%, 0);\n left: 50%;\n bottom: 120%;\n}\n.widget-slider .noUi-vertical .noUi-tooltip,\n.jupyter-widget-slider .noUi-vertical .noUi-tooltip {\n -webkit-transform: translate(0, -50%);\n transform: translate(0, -50%);\n top: 50%;\n right: 120%;\n}\n.widget-slider .noUi-horizontal .noUi-origin > .noUi-tooltip,\n.jupyter-widget-slider .noUi-horizontal .noUi-origin > .noUi-tooltip {\n -webkit-transform: translate(50%, 0);\n transform: translate(50%, 0);\n left: auto;\n bottom: 10px;\n}\n.widget-slider .noUi-vertical .noUi-origin > .noUi-tooltip,\n.jupyter-widget-slider .noUi-vertical .noUi-origin > .noUi-tooltip {\n -webkit-transform: translate(0, -18px);\n transform: translate(0, -18px);\n top: auto;\n right: 28px;\n}\n.widget-slider .noUi-connect,\n.jupyter-widget-slider .noUi-connect {\n background: #2196f3;\n}\n.widget-slider .noUi-horizontal,\n.jupyter-widget-slider .noUi-horizontal {\n height: var(--jp-widgets-slider-track-thickness);\n}\n.widget-slider .noUi-vertical,\n.jupyter-widget-slider .noUi-vertical {\n width: var(--jp-widgets-slider-track-thickness);\n height: 100%;\n}\n.widget-slider .noUi-horizontal .noUi-handle,\n.jupyter-widget-slider .noUi-horizontal .noUi-handle {\n width: var(--jp-widgets-slider-handle-size);\n height: var(--jp-widgets-slider-handle-size);\n border-radius: 50%;\n top: calc((var(--jp-widgets-slider-track-thickness) - var(--jp-widgets-slider-handle-size)) / 2);\n right: calc(var(--jp-widgets-slider-handle-size) / -2);\n}\n.widget-slider .noUi-vertical .noUi-handle,\n.jupyter-widget-slider .noUi-vertical .noUi-handle {\n height: var(--jp-widgets-slider-handle-size);\n width: var(--jp-widgets-slider-handle-size);\n border-radius: 50%;\n right: calc((var(--jp-widgets-slider-handle-size) - var(--jp-widgets-slider-track-thickness)) / -2);\n top: calc(var(--jp-widgets-slider-handle-size) / -2);\n}\n.widget-slider .noUi-handle:after,\n.jupyter-widget-slider .noUi-handle:after {\n content: none;\n}\n.widget-slider .noUi-handle:before,\n.jupyter-widget-slider .noUi-handle:before {\n content: none;\n}\n.widget-slider .noUi-target,\n.jupyter-widget-slider .noUi-target {\n background: #fafafa;\n border-radius: 4px;\n border: 1px;\n /* box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB; */\n}\n.widget-slider .ui-slider,\n.jupyter-widget-slider .ui-slider {\n border: var(--jp-widgets-slider-border-width) solid var(--jp-layout-color3);\n background: var(--jp-layout-color3);\n box-sizing: border-box;\n position: relative;\n border-radius: 0px;\n}\n.widget-slider .noUi-handle,\n.jupyter-widget-slider .noUi-handle {\n width: var(--jp-widgets-slider-handle-size);\n border: 1px solid #d9d9d9;\n border-radius: 3px;\n background: #fff;\n cursor: default;\n box-shadow: none;\n outline: none;\n}\n.widget-slider .noUi-target:not([disabled]) .noUi-handle:hover,\n.jupyter-widget-slider .noUi-target:not([disabled]) .noUi-handle:hover,\n.widget-slider .noUi-target:not([disabled]) .noUi-handle:focus,\n.jupyter-widget-slider .noUi-target:not([disabled]) .noUi-handle:focus {\n background-color: var(--jp-widgets-slider-active-handle-color);\n border: var(--jp-widgets-slider-border-width) solid var(--jp-widgets-slider-active-handle-color);\n}\n.widget-slider [disabled].noUi-target,\n.jupyter-widget-slider [disabled].noUi-target {\n opacity: 0.35;\n}\n.widget-slider .noUi-connects,\n.jupyter-widget-slider .noUi-connects {\n overflow: visible;\n z-index: 0;\n background: var(--jp-layout-color3);\n}\n.widget-slider .noUi-vertical .noUi-connect,\n.jupyter-widget-slider .noUi-vertical .noUi-connect {\n width: calc(100% + 2px);\n right: -1px;\n}\n.widget-slider .noUi-horizontal .noUi-connect,\n.jupyter-widget-slider .noUi-horizontal .noUi-connect {\n height: calc(100% + 2px);\n top: -1px;\n}\n'],sourceRoot:""}]);const a=s},1911:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o),a=n(8594),l=n(3708),d=n(62),c=n.n(d),u=new URL(n(2426),n.b),h=s()(r());h.i(a.A),h.i(l.A);var f=c()(u);h.push([e.id,`/* Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*\n * We assume that the CSS variables in\n * https://github.com/jupyterlab/jupyterlab/blob/master/src/default-theme/variables.css\n * have been defined.\n */\n\n:root {\n --jp-widgets-color: var(--jp-content-font-color1);\n --jp-widgets-label-color: var(--jp-widgets-color);\n --jp-widgets-readout-color: var(--jp-widgets-color);\n --jp-widgets-font-size: var(--jp-ui-font-size1);\n --jp-widgets-margin: 2px;\n --jp-widgets-inline-height: 28px;\n --jp-widgets-inline-width: 300px;\n --jp-widgets-inline-width-short: calc(\n var(--jp-widgets-inline-width) / 2 - var(--jp-widgets-margin)\n );\n --jp-widgets-inline-width-tiny: calc(\n var(--jp-widgets-inline-width-short) / 2 - var(--jp-widgets-margin)\n );\n --jp-widgets-inline-margin: 4px; /* margin between inline elements */\n --jp-widgets-inline-label-width: 80px;\n --jp-widgets-border-width: var(--jp-border-width);\n --jp-widgets-vertical-height: 200px;\n --jp-widgets-horizontal-tab-height: 24px;\n --jp-widgets-horizontal-tab-width: 144px;\n --jp-widgets-horizontal-tab-top-border: 2px;\n --jp-widgets-progress-thickness: 20px;\n --jp-widgets-container-padding: 15px;\n --jp-widgets-input-padding: 4px;\n --jp-widgets-radio-item-height-adjustment: 8px;\n --jp-widgets-radio-item-height: calc(\n var(--jp-widgets-inline-height) -\n var(--jp-widgets-radio-item-height-adjustment)\n );\n --jp-widgets-slider-track-thickness: 4px;\n --jp-widgets-slider-border-width: var(--jp-widgets-border-width);\n --jp-widgets-slider-handle-size: 16px;\n --jp-widgets-slider-handle-border-color: var(--jp-border-color1);\n --jp-widgets-slider-handle-background-color: var(--jp-layout-color1);\n --jp-widgets-slider-active-handle-color: var(--jp-brand-color1);\n --jp-widgets-menu-item-height: 24px;\n --jp-widgets-dropdown-arrow: url(${f});\n --jp-widgets-input-color: var(--jp-ui-font-color1);\n --jp-widgets-input-background-color: var(--jp-layout-color1);\n --jp-widgets-input-border-color: var(--jp-border-color1);\n --jp-widgets-input-focus-border-color: var(--jp-brand-color2);\n --jp-widgets-input-border-width: var(--jp-widgets-border-width);\n --jp-widgets-disabled-opacity: 0.6;\n\n /* From Material Design Lite */\n --md-shadow-key-umbra-opacity: 0.2;\n --md-shadow-key-penumbra-opacity: 0.14;\n --md-shadow-ambient-shadow-opacity: 0.12;\n}\n\n.jupyter-widgets {\n margin: var(--jp-widgets-margin);\n box-sizing: border-box;\n color: var(--jp-widgets-color);\n overflow: visible;\n}\n\n.jp-Output-result > .jupyter-widgets {\n margin-left: 0;\n margin-right: 0;\n}\n\n/* vbox and hbox */\n\n/* <DEPRECATED> */\n.widget-inline-hbox, /* </DEPRECATED> */\n .jupyter-widget-inline-hbox {\n /* Horizontal widgets */\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: baseline;\n}\n\n/* <DEPRECATED> */\n.widget-inline-vbox, /* </DEPRECATED> */\n .jupyter-widget-inline-vbox {\n /* Vertical Widgets */\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* <DEPRECATED> */\n.widget-box, /* </DEPRECATED> */\n.jupyter-widget-box {\n box-sizing: border-box;\n display: flex;\n margin: 0;\n overflow: auto;\n}\n\n/* <DEPRECATED> */\n.widget-gridbox, /* </DEPRECATED> */\n.jupyter-widget-gridbox {\n box-sizing: border-box;\n display: grid;\n margin: 0;\n overflow: auto;\n}\n\n/* <DEPRECATED> */\n.widget-hbox, /* </DEPRECATED> */\n.jupyter-widget-hbox {\n flex-direction: row;\n}\n\n/* <DEPRECATED> */\n.widget-vbox, /* </DEPRECATED> */\n.jupyter-widget-vbox {\n flex-direction: column;\n}\n\n/* General Tags Styling */\n\n.jupyter-widget-tagsinput {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n overflow: auto;\n\n cursor: text;\n}\n\n.jupyter-widget-tag {\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 0px;\n padding-bottom: 0px;\n display: inline-block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n font-size: var(--jp-widgets-font-size);\n\n height: calc(var(--jp-widgets-inline-height) - 2px);\n border: 0px solid;\n line-height: calc(var(--jp-widgets-inline-height) - 2px);\n box-shadow: none;\n\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color2);\n border-color: var(--jp-border-color2);\n border: none;\n user-select: none;\n\n cursor: grab;\n transition: margin-left 200ms;\n margin: 1px 1px 1px 1px;\n}\n\n.jupyter-widget-tag.mod-active {\n /* MD Lite 4dp shadow */\n box-shadow: 0 4px 5px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 1px 10px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity)),\n 0 2px 4px -1px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity));\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color3);\n}\n\n.jupyter-widget-colortag {\n color: var(--jp-inverse-ui-font-color1);\n}\n\n.jupyter-widget-colortag.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n}\n\n.jupyter-widget-taginput {\n color: var(--jp-ui-font-color0);\n background-color: var(--jp-layout-color0);\n\n cursor: text;\n text-align: left;\n}\n\n.jupyter-widget-taginput:focus {\n outline: none;\n}\n\n.jupyter-widget-tag-close {\n margin-left: var(--jp-widgets-inline-margin);\n padding: 2px 0px 2px 2px;\n}\n\n.jupyter-widget-tag-close:hover {\n cursor: pointer;\n}\n\n/* Tag "Primary" Styling */\n\n.jupyter-widget-tag.mod-primary {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-brand-color1);\n}\n\n.jupyter-widget-tag.mod-primary.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-brand-color0);\n}\n\n/* Tag "Success" Styling */\n\n.jupyter-widget-tag.mod-success {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-success-color1);\n}\n\n.jupyter-widget-tag.mod-success.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-success-color0);\n}\n\n/* Tag "Info" Styling */\n\n.jupyter-widget-tag.mod-info {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-info-color1);\n}\n\n.jupyter-widget-tag.mod-info.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-info-color0);\n}\n\n/* Tag "Warning" Styling */\n\n.jupyter-widget-tag.mod-warning {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-warn-color1);\n}\n\n.jupyter-widget-tag.mod-warning.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-warn-color0);\n}\n\n/* Tag "Danger" Styling */\n\n.jupyter-widget-tag.mod-danger {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-error-color1);\n}\n\n.jupyter-widget-tag.mod-danger.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-error-color0);\n}\n\n/* General Button Styling */\n\n.jupyter-button {\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 0px;\n padding-bottom: 0px;\n display: inline-block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n font-size: var(--jp-widgets-font-size);\n cursor: pointer;\n\n height: var(--jp-widgets-inline-height);\n border: 0px solid;\n line-height: var(--jp-widgets-inline-height);\n box-shadow: none;\n\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color2);\n border-color: var(--jp-border-color2);\n border: none;\n user-select: none;\n}\n\n.jupyter-button i.fa {\n margin-right: var(--jp-widgets-inline-margin);\n pointer-events: none;\n}\n\n.jupyter-button:empty:before {\n content: '\\200b'; /* zero-width space */\n}\n\n.jupyter-widgets.jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n.jupyter-button i.fa.center {\n margin-right: 0;\n}\n\n.jupyter-button:hover:enabled,\n.jupyter-button:focus:enabled {\n /* MD Lite 2dp shadow */\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 3px 1px -2px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity)),\n 0 1px 5px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity));\n}\n\n.jupyter-button:active,\n.jupyter-button.mod-active {\n /* MD Lite 4dp shadow */\n box-shadow: 0 4px 5px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 1px 10px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity)),\n 0 2px 4px -1px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity));\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color3);\n}\n\n.jupyter-button:focus:enabled {\n outline: 1px solid var(--jp-widgets-input-focus-border-color);\n}\n\n/* Button "Primary" Styling */\n\n.jupyter-button.mod-primary {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-brand-color1);\n}\n\n.jupyter-button.mod-primary.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-brand-color0);\n}\n\n.jupyter-button.mod-primary:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-brand-color0);\n}\n\n/* Button "Success" Styling */\n\n.jupyter-button.mod-success {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-success-color1);\n}\n\n.jupyter-button.mod-success.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-success-color0);\n}\n\n.jupyter-button.mod-success:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-success-color0);\n}\n\n/* Button "Info" Styling */\n\n.jupyter-button.mod-info {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-info-color1);\n}\n\n.jupyter-button.mod-info.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-info-color0);\n}\n\n.jupyter-button.mod-info:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-info-color0);\n}\n\n/* Button "Warning" Styling */\n\n.jupyter-button.mod-warning {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-warn-color1);\n}\n\n.jupyter-button.mod-warning.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-warn-color0);\n}\n\n.jupyter-button.mod-warning:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-warn-color0);\n}\n\n/* Button "Danger" Styling */\n\n.jupyter-button.mod-danger {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-error-color1);\n}\n\n.jupyter-button.mod-danger.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-error-color0);\n}\n\n.jupyter-button.mod-danger:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-error-color0);\n}\n\n/* Widget Button, Widget Toggle Button, Widget Upload */\n\n/* <DEPRECATED> */\n.widget-button, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-toggle-button, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-upload, /* </DEPRECATED> */\n.jupyter-widget-button,\n.jupyter-widget-toggle-button,\n.jupyter-widget-upload {\n width: var(--jp-widgets-inline-width-short);\n}\n\n/* Widget Label Styling */\n\n/* Override Bootstrap label css */\n.jupyter-widgets label {\n margin-bottom: initial;\n}\n\n/* <DEPRECATED> */\n.widget-label-basic, /* </DEPRECATED> */\n.jupyter-widget-label-basic {\n /* Basic Label */\n color: var(--jp-widgets-label-color);\n font-size: var(--jp-widgets-font-size);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-label, /* </DEPRECATED> */\n.jupyter-widget-label {\n /* Label */\n color: var(--jp-widgets-label-color);\n font-size: var(--jp-widgets-font-size);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-inline-hbox .widget-label, /* </DEPRECATED> */\n.jupyter-widget-inline-hbox .jupyter-widget-label {\n /* Horizontal Widget Label */\n color: var(--jp-widgets-label-color);\n text-align: right;\n margin-right: calc(var(--jp-widgets-inline-margin) * 2);\n width: var(--jp-widgets-inline-label-width);\n flex-shrink: 0;\n}\n\n/* <DEPRECATED> */\n.widget-inline-vbox .widget-label, /* </DEPRECATED> */\n.jupyter-widget-inline-vbox .jupyter-widget-label {\n /* Vertical Widget Label */\n color: var(--jp-widgets-label-color);\n text-align: center;\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* Widget Readout Styling */\n\n/* <DEPRECATED> */\n.widget-readout, /* </DEPRECATED> */\n.jupyter-widget-readout {\n color: var(--jp-widgets-readout-color);\n font-size: var(--jp-widgets-font-size);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n overflow: hidden;\n white-space: nowrap;\n text-align: center;\n}\n\n/* <DEPRECATED> */\n.widget-readout.overflow, /* </DEPRECATED> */\n.jupyter-widget-readout.overflow {\n /* Overflowing Readout */\n\n /* From Material Design Lite\n shadow-key-umbra-opacity: 0.2;\n shadow-key-penumbra-opacity: 0.14;\n shadow-ambient-shadow-opacity: 0.12;\n */\n -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n\n -moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 1px -2px rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n}\n\n/* <DEPRECATED> */\n.widget-inline-hbox .widget-readout, /* </DEPRECATED> */\n.jupyter-widget-inline-hbox .jupyter-widget-readout {\n /* Horizontal Readout */\n text-align: center;\n max-width: var(--jp-widgets-inline-width-short);\n min-width: var(--jp-widgets-inline-width-tiny);\n margin-left: var(--jp-widgets-inline-margin);\n}\n\n/* <DEPRECATED> */\n.widget-inline-vbox .widget-readout, /* </DEPRECATED> */\n.jupyter-widget-inline-vbox .jupyter-widget-readout {\n /* Vertical Readout */\n margin-top: var(--jp-widgets-inline-margin);\n /* as wide as the widget */\n width: inherit;\n}\n\n/* Widget Checkbox Styling */\n\n/* <DEPRECATED> */\n.widget-checkbox, /* </DEPRECATED> */\n.jupyter-widget-checkbox {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-checkbox input[type='checkbox'], /* </DEPRECATED> */\n.jupyter-widget-checkbox input[type='checkbox'] {\n margin: 0px calc(var(--jp-widgets-inline-margin) * 2) 0px 0px;\n line-height: var(--jp-widgets-inline-height);\n font-size: large;\n flex-grow: 1;\n flex-shrink: 0;\n align-self: center;\n}\n\n/* Widget Valid Styling */\n\n/* <DEPRECATED> */\n.widget-valid, /* </DEPRECATED> */\n.jupyter-widget-valid {\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width-short);\n font-size: var(--jp-widgets-font-size);\n}\n\n/* <DEPRECATED> */\n.widget-valid i, /* </DEPRECATED> */\n.jupyter-widget-valid i {\n line-height: var(--jp-widgets-inline-height);\n margin-right: var(--jp-widgets-inline-margin);\n margin-left: var(--jp-widgets-inline-margin);\n}\n\n/* <DEPRECATED> */\n.widget-valid.mod-valid i, /* </DEPRECATED> */\n.jupyter-widget-valid.mod-valid i {\n color: green;\n}\n\n/* <DEPRECATED> */\n.widget-valid.mod-invalid i, /* </DEPRECATED> */\n.jupyter-widget-valid.mod-invalid i {\n color: red;\n}\n\n/* <DEPRECATED> */\n.widget-valid.mod-valid .widget-valid-readout, /* </DEPRECATED> */\n.jupyter-widget-valid.mod-valid .jupyter-widget-valid-readout {\n display: none;\n}\n\n/* Widget Text and TextArea Styling */\n\n/* <DEPRECATED> */\n.widget-textarea, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text, /* </DEPRECATED> */\n.jupyter-widget-textarea,\n.jupyter-widget-text {\n width: var(--jp-widgets-inline-width);\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='text'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='number'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='password'], /* </DEPRECATED> */\n.jupyter-widget-text input[type='text'],\n.jupyter-widget-text input[type='number'],\n.jupyter-widget-text input[type='password'] {\n height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='text']:disabled, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='number']:disabled, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='password']:disabled, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-textarea textarea:disabled, /* </DEPRECATED> */\n.jupyter-widget-text input[type='text']:disabled,\n.jupyter-widget-text input[type='number']:disabled,\n.jupyter-widget-text input[type='password']:disabled,\n.jupyter-widget-textarea textarea:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='text'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='number'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='password'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-textarea textarea, /* </DEPRECATED> */\n.jupyter-widget-text input[type='text'],\n.jupyter-widget-text input[type='number'],\n.jupyter-widget-text input[type='password'],\n.jupyter-widget-textarea textarea {\n box-sizing: border-box;\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n flex-grow: 1;\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n flex-shrink: 1;\n outline: none !important;\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='text'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='password'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-textarea textarea, /* </DEPRECATED> */\n.jupyter-widget-text input[type='text'],\n.jupyter-widget-text input[type='password'],\n.jupyter-widget-textarea textarea {\n padding: var(--jp-widgets-input-padding)\n calc(var(--jp-widgets-input-padding) * 2);\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='number'], /* </DEPRECATED> */\n.jupyter-widget-text input[type='number'] {\n padding: var(--jp-widgets-input-padding) 0 var(--jp-widgets-input-padding)\n calc(var(--jp-widgets-input-padding) * 2);\n}\n\n/* <DEPRECATED> */\n.widget-textarea textarea, /* </DEPRECATED> */\n.jupyter-widget-textarea textarea {\n height: inherit;\n width: inherit;\n}\n\n/* <DEPRECATED> */\n.widget-text input:focus, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-textarea textarea:focus, /* </DEPRECATED> */\n.jupyter-widget-text input:focus,\n.jupyter-widget-textarea textarea:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* Horizontal Slider */\n/* <DEPRECATED> */\n.widget-hslider, /* </DEPRECATED> */\n.jupyter-widget-hslider {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n\n /* Override the align-items baseline. This way, the description and readout\n still seem to align their baseline properly, and we don't have to have\n align-self: stretch in the .slider-container. */\n align-items: center;\n}\n\n/* <DEPRECATED> */\n.widgets-slider .slider-container, /* </DEPRECATED> */\n.jupyter-widgets-slider .slider-container {\n overflow: visible;\n}\n\n/* <DEPRECATED> */\n.widget-hslider .slider-container, /* </DEPRECATED> */\n.jupyter-widget-hslider .slider-container {\n margin-left: calc(\n var(--jp-widgets-slider-handle-size) / 2 - 2 *\n var(--jp-widgets-slider-border-width)\n );\n margin-right: calc(\n var(--jp-widgets-slider-handle-size) / 2 - 2 *\n var(--jp-widgets-slider-border-width)\n );\n flex: 1 1 var(--jp-widgets-inline-width-short);\n}\n\n/* Vertical Slider */\n\n/* <DEPRECATED> */\n.widget-vbox .widget-label, /* </DEPRECATED> */\n.jupyter-widget-vbox .jupyter-widget-label {\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-vslider, /* </DEPRECATED> */\n.jupyter-widget-vslider {\n /* Vertical Slider */\n height: var(--jp-widgets-vertical-height);\n width: var(--jp-widgets-inline-width-tiny);\n}\n\n/* <DEPRECATED> */\n.widget-vslider .slider-container, /* </DEPRECATED> */\n.jupyter-widget-vslider .slider-container {\n flex: 1 1 var(--jp-widgets-inline-width-short);\n margin-left: auto;\n margin-right: auto;\n margin-bottom: calc(\n var(--jp-widgets-slider-handle-size) / 2 - 2 *\n var(--jp-widgets-slider-border-width)\n );\n margin-top: calc(\n var(--jp-widgets-slider-handle-size) / 2 - 2 *\n var(--jp-widgets-slider-border-width)\n );\n display: flex;\n flex-direction: column;\n}\n\n/* Widget Progress Styling */\n\n.progress-bar {\n -webkit-transition: none;\n -moz-transition: none;\n -ms-transition: none;\n -o-transition: none;\n transition: none;\n}\n\n.progress-bar {\n height: var(--jp-widgets-inline-height);\n}\n\n.progress-bar {\n background-color: var(--jp-brand-color1);\n}\n\n.progress-bar-success {\n background-color: var(--jp-success-color1);\n}\n\n.progress-bar-info {\n background-color: var(--jp-info-color1);\n}\n\n.progress-bar-warning {\n background-color: var(--jp-warn-color1);\n}\n\n.progress-bar-danger {\n background-color: var(--jp-error-color1);\n}\n\n.progress {\n background-color: var(--jp-layout-color2);\n border: none;\n box-shadow: none;\n}\n\n/* Horisontal Progress */\n\n/* <DEPRECATED> */\n.widget-hprogress, /* </DEPRECATED> */\n.jupyter-widget-hprogress {\n /* Progress Bar */\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width);\n align-items: center;\n}\n\n/* <DEPRECATED> */\n.widget-hprogress .progress, /* </DEPRECATED> */\n.jupyter-widget-hprogress .progress {\n flex-grow: 1;\n margin-top: var(--jp-widgets-input-padding);\n margin-bottom: var(--jp-widgets-input-padding);\n align-self: stretch;\n /* Override bootstrap style */\n height: initial;\n}\n\n/* Vertical Progress */\n\n/* <DEPRECATED> */\n.widget-vprogress, /* </DEPRECATED> */\n.jupyter-widget-vprogress {\n height: var(--jp-widgets-vertical-height);\n width: var(--jp-widgets-inline-width-tiny);\n}\n\n/* <DEPRECATED> */\n.widget-vprogress .progress, /* </DEPRECATED> */\n.jupyter-widget-vprogress .progress {\n flex-grow: 1;\n width: var(--jp-widgets-progress-thickness);\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 0;\n}\n\n/* Select Widget Styling */\n\n/* <DEPRECATED> */\n.widget-dropdown, /* </DEPRECATED> */\n.jupyter-widget-dropdown {\n height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-dropdown > select, /* </DEPRECATED> */\n.jupyter-widget-dropdown > select {\n padding-right: 20px;\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n border-radius: 0;\n height: inherit;\n flex: 1 1 var(--jp-widgets-inline-width-short);\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n box-sizing: border-box;\n outline: none !important;\n box-shadow: none;\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n vertical-align: top;\n padding-left: calc(var(--jp-widgets-input-padding) * 2);\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n background-repeat: no-repeat;\n background-size: 20px;\n background-position: right center;\n background-image: var(--jp-widgets-dropdown-arrow);\n}\n/* <DEPRECATED> */\n.widget-dropdown > select:focus, /* </DEPRECATED> */\n.jupyter-widget-dropdown > select:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* <DEPRECATED> */\n.widget-dropdown > select:disabled, /* </DEPRECATED> */\n.jupyter-widget-dropdown > select:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* To disable the dotted border in Firefox around select controls.\n See http://stackoverflow.com/a/18853002 */\n/* <DEPRECATED> */\n.widget-dropdown > select:-moz-focusring, /* </DEPRECATED> */\n.jupyter-widget-dropdown > select:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 #000;\n}\n\n/* Select and SelectMultiple */\n\n/* <DEPRECATED> */\n.widget-select, /* </DEPRECATED> */\n.jupyter-widget-select {\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n\n /* Because Firefox defines the baseline of a select as the bottom of the\n control, we align the entire control to the top and add padding to the\n select to get an approximate first line baseline alignment. */\n align-items: flex-start;\n}\n\n/* <DEPRECATED> */\n.widget-select > select, /* </DEPRECATED> */\n.jupyter-widget-select > select {\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n flex: 1 1 var(--jp-widgets-inline-width-short);\n outline: none !important;\n overflow: auto;\n height: inherit;\n\n /* Because Firefox defines the baseline of a select as the bottom of the\n control, we align the entire control to the top and add padding to the\n select to get an approximate first line baseline alignment. */\n padding-top: 5px;\n}\n\n/* <DEPRECATED> */\n.widget-select > select:focus, /* </DEPRECATED> */\n.jupyter-widget-select > select:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.wiget-select > select > option,\n.jupyter-wiget-select > select > option {\n padding-left: var(--jp-widgets-input-padding);\n line-height: var(--jp-widgets-inline-height);\n /* line-height doesn't work on some browsers for select options */\n padding-top: calc(\n var(--jp-widgets-inline-height) - var(--jp-widgets-font-size) / 2\n );\n padding-bottom: calc(\n var(--jp-widgets-inline-height) - var(--jp-widgets-font-size) / 2\n );\n}\n\n/* Toggle Buttons Styling */\n\n/* <DEPRECATED> */\n.widget-toggle-buttons, /* </DEPRECATED> */\n.jupyter-widget-toggle-buttons {\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-toggle-buttons .widget-toggle-button, /* </DEPRECATED> */\n.jupyter-widget-toggle-buttons .jupyter-widget-toggle-button {\n margin-left: var(--jp-widgets-margin);\n margin-right: var(--jp-widgets-margin);\n}\n\n/* <DEPRECATED> */\n.widget-toggle-buttons .jupyter-button:disabled, /* </DEPRECATED> */\n.jupyter-widget-toggle-buttons .jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Radio Buttons Styling */\n\n/* <DEPRECATED> */\n.widget-radio, /* </DEPRECATED> */\n.jupyter-widget-radio {\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-radio-box, /* </DEPRECATED> */\n.jupyter-widget-radio-box {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n box-sizing: border-box;\n flex-grow: 1;\n margin-bottom: var(--jp-widgets-radio-item-height-adjustment);\n}\n\n/* <DEPRECATED> */\n.widget-radio-box-vertical, /* </DEPRECATED> */\n.jupyter-widget-radio-box-vertical {\n flex-direction: column;\n}\n\n/* <DEPRECATED> */\n.widget-radio-box-horizontal, /* </DEPRECATED> */\n.jupyter-widget-radio-box-horizontal {\n flex-direction: row;\n}\n\n/* <DEPRECATED> */\n.widget-radio-box label, /* </DEPRECATED> */\n.jupyter-widget-radio-box label {\n height: var(--jp-widgets-radio-item-height);\n line-height: var(--jp-widgets-radio-item-height);\n font-size: var(--jp-widgets-font-size);\n}\n\n.widget-radio-box-horizontal label,\n.jupyter-widget-radio-box-horizontal label {\n margin: 0 calc(var(--jp-widgets-input-padding) * 2) 0 0;\n}\n\n/* <DEPRECATED> */\n.widget-radio-box input, /* </DEPRECATED> */\n.jupyter-widget-radio-box input {\n height: var(--jp-widgets-radio-item-height);\n line-height: var(--jp-widgets-radio-item-height);\n margin: 0 calc(var(--jp-widgets-input-padding) * 2) 0 1px;\n float: left;\n}\n\n/* Color Picker Styling */\n\n/* <DEPRECATED> */\n.widget-colorpicker, /* </DEPRECATED> */\n.jupyter-widget-colorpicker {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker > .widget-colorpicker-input, /* </DEPRECATED> */\n.jupyter-widget-colorpicker > .jupyter-widget-colorpicker-input {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: var(--jp-widgets-inline-width-tiny);\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker input[type='color'], /* </DEPRECATED> */\n.jupyter-widget-colorpicker input[type='color'] {\n width: var(--jp-widgets-inline-height);\n height: var(--jp-widgets-inline-height);\n padding: 0 2px; /* make the color square actually square on Chrome on OS X */\n background: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n border-left: none;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n align-self: stretch;\n outline: none !important;\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker.concise input[type='color'], /* </DEPRECATED> */\n.jupyter-widget-colorpicker.concise input[type='color'] {\n border-left: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker input[type='color']:focus, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-colorpicker input[type='text']:focus, /* </DEPRECATED> */\n.jupyter-widget-colorpicker input[type='color']:focus,\n.jupyter-widget-colorpicker input[type='text']:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker input[type='text'], /* </DEPRECATED> */\n.jupyter-widget-colorpicker input[type='text'] {\n flex-grow: 1;\n outline: none !important;\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n background: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n font-size: var(--jp-widgets-font-size);\n padding: var(--jp-widgets-input-padding)\n calc(var(--jp-widgets-input-padding) * 2);\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n flex-shrink: 1;\n box-sizing: border-box;\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker input[type='text']:disabled, /* </DEPRECATED> */\n.jupyter-widget-colorpicker input[type='text']:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Date Picker Styling */\n\n/* <DEPRECATED> */\n.widget-datepicker, /* </DEPRECATED> */\n.jupyter-widget-datepicker {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-datepicker input[type='date'], /* </DEPRECATED> */\n.jupyter-widget-datepicker input[type='date'] {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n outline: none !important;\n height: var(--jp-widgets-inline-height);\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n padding: var(--jp-widgets-input-padding)\n calc(var(--jp-widgets-input-padding) * 2);\n box-sizing: border-box;\n}\n\n/* <DEPRECATED> */\n.widget-datepicker input[type='date']:focus, /* </DEPRECATED> */\n.jupyter-widget-datepicker input[type='date']:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* <DEPRECATED> */\n.widget-datepicker input[type='date']:invalid, /* </DEPRECATED> */\n.jupyter-widget-datepicker input[type='date']:invalid {\n border-color: var(--jp-warn-color1);\n}\n\n/* <DEPRECATED> */\n.widget-datepicker input[type='date']:disabled, /* </DEPRECATED> */\n.jupyter-widget-datepicker input[type='date']:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Play Widget */\n\n/* <DEPRECATED> */\n.widget-play, /* </DEPRECATED> */\n.jupyter-widget-play {\n width: var(--jp-widgets-inline-width-short);\n display: flex;\n align-items: stretch;\n}\n\n/* <DEPRECATED> */\n.widget-play .jupyter-button, /* </DEPRECATED> */\n.jupyter-widget-play .jupyter-button {\n flex-grow: 1;\n height: auto;\n}\n\n/* <DEPRECATED> */\n.widget-play .jupyter-button:disabled, /* </DEPRECATED> */\n.jupyter-widget-play .jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Tab Widget */\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab {\n display: flex;\n flex-direction: column;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar {\n /* Necessary so that a tab can be shifted down to overlay the border of the box below. */\n overflow-x: visible;\n overflow-y: visible;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar > .lm-TabBar-content {\n /* Make sure that the tab grows from bottom up */\n align-items: flex-end;\n min-width: 0;\n min-height: 0;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .widget-tab-contents, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .widget-tab-contents {\n width: 100%;\n box-sizing: border-box;\n margin: 0;\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n border: var(--jp-border-width) solid var(--jp-border-color1);\n padding: var(--jp-widgets-container-padding);\n flex-grow: 1;\n overflow: auto;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar {\n font: var(--jp-widgets-font-size) Helvetica, Arial, sans-serif;\n min-height: calc(\n var(--jp-widgets-horizontal-tab-height) + var(--jp-border-width)\n );\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab {\n flex: 0 1 var(--jp-widgets-horizontal-tab-width);\n min-width: 35px;\n min-height: calc(\n var(--jp-widgets-horizontal-tab-height) + var(--jp-border-width)\n );\n line-height: var(--jp-widgets-horizontal-tab-height);\n margin-left: calc(-1 * var(--jp-border-width));\n padding: 0px 10px;\n background: var(--jp-layout-color2);\n color: var(--jp-ui-font-color2);\n border: var(--jp-border-width) solid var(--jp-border-color1);\n border-bottom: none;\n position: relative;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab.lm-mod-current {\n color: var(--jp-ui-font-color0);\n /* We want the background to match the tab content background */\n background: var(--jp-layout-color1);\n min-height: calc(\n var(--jp-widgets-horizontal-tab-height) + 2 * var(--jp-border-width)\n );\n transform: translateY(var(--jp-border-width));\n overflow: visible;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current:before, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current:before, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab.lm-mod-current:before {\n position: absolute;\n top: calc(-1 * var(--jp-border-width));\n left: calc(-1 * var(--jp-border-width));\n content: '';\n height: var(--jp-widgets-horizontal-tab-top-border);\n width: calc(100% + 2 * var(--jp-border-width));\n background: var(--jp-brand-color1);\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab:first-child, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab:first-child, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab:first-child {\n margin-left: 0;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar\n .p-TabBar-tab:hover:not(.p-mod-current),\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .p-TabBar\n .p-TabBar-tab:hover:not(.p-mod-current),\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar\n .lm-TabBar-tab:hover:not(.lm-mod-current) {\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar\n .p-mod-closable\n > .p-TabBar-tabCloseIcon,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar\n.p-mod-closable\n> .p-TabBar-tabCloseIcon,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar\n .lm-mod-closable\n > .lm-TabBar-tabCloseIcon {\n margin-left: 4px;\n}\n\n/* This font-awesome strategy may not work across FA4 and FA5, but we don't\nactually support closable tabs, so it really doesn't matter */\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar\n .p-mod-closable\n > .p-TabBar-tabCloseIcon:before,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-widget-tab\n> .p-TabBar\n.p-mod-closable\n> .p-TabBar-tabCloseIcon:before,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar\n .lm-mod-closable\n > .lm-TabBar-tabCloseIcon:before {\n font-family: FontAwesome;\n content: '\\f00d'; /* close */\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabIcon,\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabLabel,\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabCloseIcon {\n line-height: var(--jp-widgets-horizontal-tab-height);\n}\n\n/* Accordion Widget */\n\n.jupyter-widget-Collapse {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n\n.jupyter-widget-Collapse-header {\n padding: var(--jp-widgets-input-padding);\n cursor: pointer;\n color: var(--jp-ui-font-color2);\n background-color: var(--jp-layout-color2);\n border: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n padding: calc(var(--jp-widgets-container-padding) * 2 / 3)\n var(--jp-widgets-container-padding);\n font-weight: bold;\n}\n\n.jupyter-widget-Collapse-header:hover {\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n}\n\n.jupyter-widget-Collapse-open > .jupyter-widget-Collapse-header {\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color0);\n cursor: default;\n border-bottom: none;\n}\n\n.jupyter-widget-Collapse-contents {\n padding: var(--jp-widgets-container-padding);\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n border-left: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n border-right: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n border-bottom: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n overflow: auto;\n}\n\n.jupyter-widget-Accordion {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n\n.jupyter-widget-Accordion .jupyter-widget-Collapse {\n margin-bottom: 0;\n}\n\n.jupyter-widget-Accordion .jupyter-widget-Collapse + .jupyter-widget-Collapse {\n margin-top: 4px;\n}\n\n/* HTML widget */\n\n/* <DEPRECATED> */\n.widget-html, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-htmlmath, /* </DEPRECATED> */\n.jupyter-widget-html,\n.jupyter-widget-htmlmath {\n font-size: var(--jp-widgets-font-size);\n}\n\n/* <DEPRECATED> */\n.widget-html > .widget-html-content, /* </DEPRECATED> */\n/* <DEPRECATED> */.widget-htmlmath > .widget-html-content, /* </DEPRECATED> */\n.jupyter-widget-html > .jupyter-widget-html-content,\n.jupyter-widget-htmlmath > .jupyter-widget-html-content {\n /* Fill out the area in the HTML widget */\n align-self: stretch;\n flex-grow: 1;\n flex-shrink: 1;\n /* Makes sure the baseline is still aligned with other elements */\n line-height: var(--jp-widgets-inline-height);\n /* Make it possible to have absolutely-positioned elements in the html */\n position: relative;\n}\n\n/* Image widget */\n\n/* <DEPRECATED> */\n.widget-image, /* </DEPRECATED> */\n.jupyter-widget-image {\n max-width: 100%;\n height: auto;\n}\n`,"",{version:3,sources:["webpack://./../controls/css/widgets-base.css"],names:[],mappings:"AAAA;;EAEE;;AAEF;;;;EAIE;;AAKF;EACE,iDAAiD;EACjD,iDAAiD;EACjD,mDAAmD;EACnD,+CAA+C;EAC/C,wBAAwB;EACxB,gCAAgC;EAChC,gCAAgC;EAChC;;GAEC;EACD;;GAEC;EACD,+BAA+B,EAAE,mCAAmC;EACpE,qCAAqC;EACrC,iDAAiD;EACjD,mCAAmC;EACnC,wCAAwC;EACxC,wCAAwC;EACxC,2CAA2C;EAC3C,qCAAqC;EACrC,oCAAoC;EACpC,+BAA+B;EAC/B,8CAA8C;EAC9C;;;GAGC;EACD,wCAAwC;EACxC,gEAAgE;EAChE,qCAAqC;EACrC,gEAAgE;EAChE,oEAAoE;EACpE,+DAA+D;EAC/D,mCAAmC;EACnC,oEAA4uB;EAC5uB,kDAAkD;EAClD,4DAA4D;EAC5D,wDAAwD;EACxD,6DAA6D;EAC7D,+DAA+D;EAC/D,kCAAkC;;EAElC,8BAA8B;EAC9B,kCAAkC;EAClC,sCAAsC;EACtC,wCAAwC;AAC1C;;AAEA;EACE,gCAAgC;EAChC,sBAAsB;EACtB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,cAAc;EACd,eAAe;AACjB;;AAEA,kBAAkB;;AAElB,iBAAiB;AACjB;;EAEE,uBAAuB;EACvB,sBAAsB;EACtB,aAAa;EACb,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA,iBAAiB;AACjB;;EAEE,qBAAqB;EACrB,sBAAsB;EACtB,aAAa;EACb,sBAAsB;EACtB,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;EAEE,sBAAsB;EACtB,aAAa;EACb,SAAS;EACT,cAAc;AAChB;;AAEA,iBAAiB;AACjB;;EAEE,sBAAsB;EACtB,aAAa;EACb,SAAS;EACT,cAAc;AAChB;;AAEA,iBAAiB;AACjB;;EAEE,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;EAEE,sBAAsB;AACxB;;AAEA,yBAAyB;;AAEzB;EACE,aAAa;EACb,mBAAmB;EACnB,eAAe;EACf,mBAAmB;EACnB,cAAc;;EAEd,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,gBAAgB;EAChB,mBAAmB;EACnB,qBAAqB;EACrB,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;EACvB,kBAAkB;EAClB,sCAAsC;;EAEtC,mDAAmD;EACnD,iBAAiB;EACjB,wDAAwD;EACxD,gBAAgB;;EAEhB,+BAA+B;EAC/B,yCAAyC;EACzC,qCAAqC;EACrC,YAAY;EACZ,iBAAiB;;EAEjB,YAAY;EACZ,6BAA6B;EAC7B,uBAAuB;AACzB;;AAEA;EACE,uBAAuB;EACvB;;oEAEkE;EAClE,+BAA+B;EAC/B,yCAAyC;AAC3C;;AAEA;EACE,uCAAuC;AACzC;;AAEA;EACE,uCAAuC;AACzC;;AAEA;EACE,+BAA+B;EAC/B,yCAAyC;;EAEzC,YAAY;EACZ,gBAAgB;AAClB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,4CAA4C;EAC5C,wBAAwB;AAC1B;;AAEA;EACE,eAAe;AACjB;;AAEA,0BAA0B;;AAE1B;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA,0BAA0B;;AAE1B;EACE,uCAAuC;EACvC,0CAA0C;AAC5C;;AAEA;EACE,uCAAuC;EACvC,0CAA0C;AAC5C;;AAEA,uBAAuB;;AAEvB;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA,0BAA0B;;AAE1B;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA,yBAAyB;;AAEzB;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA,2BAA2B;;AAE3B;EACE,kBAAkB;EAClB,mBAAmB;EACnB,gBAAgB;EAChB,mBAAmB;EACnB,qBAAqB;EACrB,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;EACvB,kBAAkB;EAClB,sCAAsC;EACtC,eAAe;;EAEf,uCAAuC;EACvC,iBAAiB;EACjB,4CAA4C;EAC5C,gBAAgB;;EAEhB,+BAA+B;EAC/B,yCAAyC;EACzC,qCAAqC;EACrC,YAAY;EACZ,iBAAiB;AACnB;;AAEA;EACE,6CAA6C;EAC7C,oBAAoB;AACtB;;AAEA;EACE,gBAAgB,EAAE,qBAAqB;AACzC;;AAEA;EACE,2CAA2C;AAC7C;;AAEA;EACE,eAAe;AACjB;;AAEA;;EAEE,uBAAuB;EACvB;;sEAEoE;AACtE;;AAEA;;EAEE,uBAAuB;EACvB;;oEAEkE;EAClE,+BAA+B;EAC/B,yCAAyC;AAC3C;;AAEA;EACE,6DAA6D;AAC/D;;AAEA,6BAA6B;;AAE7B;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA,6BAA6B;;AAE7B;EACE,uCAAuC;EACvC,0CAA0C;AAC5C;;AAEA;EACE,uCAAuC;EACvC,0CAA0C;AAC5C;;AAEA;EACE,uCAAuC;EACvC,0CAA0C;AAC5C;;AAEA,0BAA0B;;AAE1B;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA,6BAA6B;;AAE7B;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA;EACE,uCAAuC;EACvC,uCAAuC;AACzC;;AAEA,4BAA4B;;AAE5B;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA;EACE,uCAAuC;EACvC,wCAAwC;AAC1C;;AAEA,uDAAuD;;AAEvD,iBAAiB;AACjB;;;;;;EAME,2CAA2C;AAC7C;;AAEA,yBAAyB;;AAEzB,iCAAiC;AACjC;EACE,sBAAsB;AACxB;;AAEA,iBAAiB;AACjB;;EAEE,gBAAgB;EAChB,oCAAoC;EACpC,sCAAsC;EACtC,gBAAgB;EAChB,uBAAuB;EACvB,mBAAmB;EACnB,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,UAAU;EACV,oCAAoC;EACpC,sCAAsC;EACtC,gBAAgB;EAChB,uBAAuB;EACvB,mBAAmB;EACnB,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,4BAA4B;EAC5B,oCAAoC;EACpC,iBAAiB;EACjB,uDAAuD;EACvD,2CAA2C;EAC3C,cAAc;AAChB;;AAEA,iBAAiB;AACjB;;EAEE,0BAA0B;EAC1B,oCAAoC;EACpC,kBAAkB;EAClB,4CAA4C;AAC9C;;AAEA,2BAA2B;;AAE3B,iBAAiB;AACjB;;EAEE,sCAAsC;EACtC,sCAAsC;EACtC,uCAAuC;EACvC,4CAA4C;EAC5C,gBAAgB;EAChB,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA,iBAAiB;AACjB;;EAEE,wBAAwB;;EAExB;;;;MAII;EACJ;uEACqE;;EAErE;uEACqE;;EAErE;mCACiC;AACnC;;AAEA,iBAAiB;AACjB;;EAEE,uBAAuB;EACvB,kBAAkB;EAClB,+CAA+C;EAC/C,8CAA8C;EAC9C,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,qBAAqB;EACrB,2CAA2C;EAC3C,0BAA0B;EAC1B,cAAc;AAChB;;AAEA,4BAA4B;;AAE5B,iBAAiB;AACjB;;EAEE,qCAAqC;EACrC,uCAAuC;EACvC,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,6DAA6D;EAC7D,4CAA4C;EAC5C,gBAAgB;EAChB,YAAY;EACZ,cAAc;EACd,kBAAkB;AACpB;;AAEA,yBAAyB;;AAEzB,iBAAiB;AACjB;;EAEE,uCAAuC;EACvC,4CAA4C;EAC5C,2CAA2C;EAC3C,sCAAsC;AACxC;;AAEA,iBAAiB;AACjB;;EAEE,4CAA4C;EAC5C,6CAA6C;EAC7C,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,YAAY;AACd;;AAEA,iBAAiB;AACjB;;EAEE,UAAU;AACZ;;AAEA,iBAAiB;AACjB;;EAEE,aAAa;AACf;;AAEA,qCAAqC;;AAErC,iBAAiB;AACjB;;;;EAIE,qCAAqC;AACvC;;AAEA,iBAAiB;AACjB;;;;;;EAME,uCAAuC;AACzC;;AAEA,iBAAiB;AACjB;;;;;;;;EAQE,2CAA2C;AAC7C;;AAEA,iBAAiB;AACjB;;;;;;;;EAQE,sBAAsB;EACtB;wCACsC;EACtC,0DAA0D;EAC1D,oCAAoC;EACpC,sCAAsC;EACtC,YAAY;EACZ,YAAY,EAAE,gEAAgE;EAC9E,cAAc;EACd,wBAAwB;AAC1B;;AAEA,iBAAiB;AACjB;;;;;;EAME;6CAC2C;AAC7C;;AAEA,iBAAiB;AACjB;;EAEE;6CAC2C;AAC7C;;AAEA,iBAAiB;AACjB;;EAEE,eAAe;EACf,cAAc;AAChB;;AAEA,iBAAiB;AACjB;;;;EAIE,wDAAwD;AAC1D;;AAEA,sBAAsB;AACtB,iBAAiB;AACjB;;EAEE,qCAAqC;EACrC,uCAAuC;EACvC,4CAA4C;;EAE5C;;mDAEiD;EACjD,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;EAEE,iBAAiB;AACnB;;AAEA,iBAAiB;AACjB;;EAEE;;;GAGC;EACD;;;GAGC;EACD,8CAA8C;AAChD;;AAEA,oBAAoB;;AAEpB,iBAAiB;AACjB;;EAEE,uCAAuC;EACvC,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,oBAAoB;EACpB,yCAAyC;EACzC,0CAA0C;AAC5C;;AAEA,iBAAiB;AACjB;;EAEE,8CAA8C;EAC9C,iBAAiB;EACjB,kBAAkB;EAClB;;;GAGC;EACD;;;GAGC;EACD,aAAa;EACb,sBAAsB;AACxB;;AAEA,4BAA4B;;AAE5B;EACE,wBAAwB;EACxB,qBAAqB;EACrB,oBAAoB;EACpB,mBAAmB;EACnB,gBAAgB;AAClB;;AAEA;EACE,uCAAuC;AACzC;;AAEA;EACE,wCAAwC;AAC1C;;AAEA;EACE,0CAA0C;AAC5C;;AAEA;EACE,uCAAuC;AACzC;;AAEA;EACE,uCAAuC;AACzC;;AAEA;EACE,wCAAwC;AAC1C;;AAEA;EACE,yCAAyC;EACzC,YAAY;EACZ,gBAAgB;AAClB;;AAEA,wBAAwB;;AAExB,iBAAiB;AACjB;;EAEE,iBAAiB;EACjB,uCAAuC;EACvC,4CAA4C;EAC5C,qCAAqC;EACrC,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;EAEE,YAAY;EACZ,2CAA2C;EAC3C,8CAA8C;EAC9C,mBAAmB;EACnB,6BAA6B;EAC7B,eAAe;AACjB;;AAEA,sBAAsB;;AAEtB,iBAAiB;AACjB;;EAEE,yCAAyC;EACzC,0CAA0C;AAC5C;;AAEA,iBAAiB;AACjB;;EAEE,YAAY;EACZ,2CAA2C;EAC3C,iBAAiB;EACjB,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA,0BAA0B;;AAE1B,iBAAiB;AACjB;;EAEE,uCAAuC;EACvC,qCAAqC;EACrC,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,mBAAmB;EACnB;wCACsC;EACtC,gBAAgB;EAChB,eAAe;EACf,8CAA8C;EAC9C,YAAY,EAAE,gEAAgE;EAC9E,sBAAsB;EACtB,wBAAwB;EACxB,gBAAgB;EAChB,0DAA0D;EAC1D,oCAAoC;EACpC,sCAAsC;EACtC,mBAAmB;EACnB,uDAAuD;EACvD,gBAAgB;EAChB,wBAAwB;EACxB,qBAAqB;EACrB,4BAA4B;EAC5B,qBAAqB;EACrB,iCAAiC;EACjC,kDAAkD;AACpD;AACA,iBAAiB;AACjB;;EAEE,wDAAwD;AAC1D;;AAEA,iBAAiB;AACjB;;EAEE,2CAA2C;AAC7C;;AAEA;4CAC4C;AAC5C,iBAAiB;AACjB;;EAEE,kBAAkB;EAClB,uBAAuB;AACzB;;AAEA,8BAA8B;;AAE9B,iBAAiB;AACjB;;EAEE,qCAAqC;EACrC,4CAA4C;;EAE5C;;iEAE+D;EAC/D,uBAAuB;AACzB;;AAEA,iBAAiB;AACjB;;EAEE;wCACsC;EACtC,0DAA0D;EAC1D,oCAAoC;EACpC,sCAAsC;EACtC,8CAA8C;EAC9C,wBAAwB;EACxB,cAAc;EACd,eAAe;;EAEf;;iEAE+D;EAC/D,gBAAgB;AAClB;;AAEA,iBAAiB;AACjB;;EAEE,wDAAwD;AAC1D;;AAEA;;EAEE,6CAA6C;EAC7C,4CAA4C;EAC5C,iEAAiE;EACjE;;GAEC;EACD;;GAEC;AACH;;AAEA,2BAA2B;;AAE3B,iBAAiB;AACjB;;EAEE,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,qCAAqC;EACrC,sCAAsC;AACxC;;AAEA,iBAAiB;AACjB;;EAEE,2CAA2C;AAC7C;;AAEA,0BAA0B;;AAE1B,iBAAiB;AACjB;;EAEE,qCAAqC;EACrC,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,aAAa;EACb,sBAAsB;EACtB,oBAAoB;EACpB,sBAAsB;EACtB,YAAY;EACZ,6DAA6D;AAC/D;;AAEA,iBAAiB;AACjB;;EAEE,sBAAsB;AACxB;;AAEA,iBAAiB;AACjB;;EAEE,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;EAEE,2CAA2C;EAC3C,gDAAgD;EAChD,sCAAsC;AACxC;;AAEA;;EAEE,uDAAuD;AACzD;;AAEA,iBAAiB;AACjB;;EAEE,2CAA2C;EAC3C,gDAAgD;EAChD,yDAAyD;EACzD,WAAW;AACb;;AAEA,yBAAyB;;AAEzB,iBAAiB;AACjB;;EAEE,qCAAqC;EACrC,uCAAuC;EACvC,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,YAAY;EACZ,cAAc;EACd,8CAA8C;AAChD;;AAEA,iBAAiB;AACjB;;EAEE,sCAAsC;EACtC,uCAAuC;EACvC,cAAc,EAAE,4DAA4D;EAC5E,oDAAoD;EACpD,oCAAoC;EACpC;wCACsC;EACtC,iBAAiB;EACjB,YAAY;EACZ,cAAc;EACd,sBAAsB;EACtB,mBAAmB;EACnB,wBAAwB;AAC1B;;AAEA,iBAAiB;AACjB;;EAEE;wCACsC;AACxC;;AAEA,iBAAiB;AACjB;;;;EAIE,wDAAwD;AAC1D;;AAEA,iBAAiB;AACjB;;EAEE,YAAY;EACZ,wBAAwB;EACxB,uCAAuC;EACvC,4CAA4C;EAC5C,oDAAoD;EACpD,oCAAoC;EACpC;wCACsC;EACtC,sCAAsC;EACtC;6CAC2C;EAC3C,YAAY,EAAE,gEAAgE;EAC9E,cAAc;EACd,sBAAsB;AACxB;;AAEA,iBAAiB;AACjB;;EAEE,2CAA2C;AAC7C;;AAEA,wBAAwB;;AAExB,iBAAiB;AACjB;;EAEE,qCAAqC;EACrC,uCAAuC;EACvC,4CAA4C;AAC9C;;AAEA,iBAAiB;AACjB;;EAEE,YAAY;EACZ,cAAc;EACd,YAAY,EAAE,gEAAgE;EAC9E,wBAAwB;EACxB,uCAAuC;EACvC;wCACsC;EACtC,0DAA0D;EAC1D,oCAAoC;EACpC,sCAAsC;EACtC;6CAC2C;EAC3C,sBAAsB;AACxB;;AAEA,iBAAiB;AACjB;;EAEE,wDAAwD;AAC1D;;AAEA,iBAAiB;AACjB;;EAEE,mCAAmC;AACrC;;AAEA,iBAAiB;AACjB;;EAEE,2CAA2C;AAC7C;;AAEA,gBAAgB;;AAEhB,iBAAiB;AACjB;;EAEE,2CAA2C;EAC3C,aAAa;EACb,oBAAoB;AACtB;;AAEA,iBAAiB;AACjB;;EAEE,YAAY;EACZ,YAAY;AACd;;AAEA,iBAAiB;AACjB;;EAEE,2CAA2C;AAC7C;;AAEA,eAAe;;AAEf,iBAAiB;AACjB;;EAEE,aAAa;EACb,sBAAsB;AACxB;;AAEA,iBAAiB;AACjB;;;EAGE,wFAAwF;EACxF,mBAAmB;EACnB,mBAAmB;AACrB;;AAEA,iBAAiB;AACjB;;;EAGE,gDAAgD;EAChD,qBAAqB;EACrB,YAAY;EACZ,aAAa;AACf;;AAEA,iBAAiB;AACjB;;EAEE,WAAW;EACX,sBAAsB;EACtB,SAAS;EACT,mCAAmC;EACnC,+BAA+B;EAC/B,4DAA4D;EAC5D,4CAA4C;EAC5C,YAAY;EACZ,cAAc;AAChB;;AAEA,iBAAiB;AACjB;;;EAGE,8DAA8D;EAC9D;;GAEC;AACH;;AAEA,iBAAiB;AACjB;;;EAGE,gDAAgD;EAChD,eAAe;EACf;;GAEC;EACD,oDAAoD;EACpD,8CAA8C;EAC9C,iBAAiB;EACjB,mCAAmC;EACnC,+BAA+B;EAC/B,4DAA4D;EAC5D,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA,iBAAiB;AACjB;;;EAGE,+BAA+B;EAC/B,+DAA+D;EAC/D,mCAAmC;EACnC;;GAEC;EACD,6CAA6C;EAC7C,iBAAiB;AACnB;;AAEA,iBAAiB;AACjB;;;EAGE,kBAAkB;EAClB,sCAAsC;EACtC,uCAAuC;EACvC,WAAW;EACX,mDAAmD;EACnD,8CAA8C;EAC9C,kCAAkC;AACpC;;AAEA,iBAAiB;AACjB;;;EAGE,cAAc;AAChB;;AAEA,iBAAiB;AACjB;;;;;;;;;;;;EAYE,mCAAmC;EACnC,+BAA+B;AACjC;;AAEA,iBAAiB;AACjB;;;;;;;;;;;;;;;EAeE,gBAAgB;AAClB;;AAEA;6DAC6D;AAC7D,iBAAiB;AACjB;;;;;;;;;;;;;;;EAeE,wBAAwB;EACxB,gBAAgB,EAAE,UAAU;AAC9B;;AAEA,iBAAiB;AACjB;;;;;;;;;EASE,oDAAoD;AACtD;;AAEA,qBAAqB;;AAErB;EACE,aAAa;EACb,sBAAsB;EACtB,oBAAoB;AACtB;;AAEA;EACE,wCAAwC;EACxC,eAAe;EACf,+BAA+B;EAC/B,yCAAyC;EACzC,oEAAoE;EACpE;uCACqC;EACrC,iBAAiB;AACnB;;AAEA;EACE,yCAAyC;EACzC,+BAA+B;AACjC;;AAEA;EACE,yCAAyC;EACzC,+BAA+B;EAC/B,eAAe;EACf,mBAAmB;AACrB;;AAEA;EACE,4CAA4C;EAC5C,yCAAyC;EACzC,+BAA+B;EAC/B,yEAAyE;EACzE,0EAA0E;EAC1E,2EAA2E;EAC3E,cAAc;AAChB;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,oBAAoB;AACtB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,eAAe;AACjB;;AAEA,gBAAgB;;AAEhB,iBAAiB;AACjB;;;;EAIE,sCAAsC;AACxC;;AAEA,iBAAiB;AACjB;;;;EAIE,yCAAyC;EACzC,mBAAmB;EACnB,YAAY;EACZ,cAAc;EACd,iEAAiE;EACjE,4CAA4C;EAC5C,wEAAwE;EACxE,kBAAkB;AACpB;;AAEA,kBAAkB;;AAElB,iBAAiB;AACjB;;EAEE,eAAe;EACf,YAAY;AACd",sourcesContent:["/* Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*\n * We assume that the CSS variables in\n * https://github.com/jupyterlab/jupyterlab/blob/master/src/default-theme/variables.css\n * have been defined.\n */\n\n@import './lumino.css';\n@import './nouislider.css';\n\n:root {\n --jp-widgets-color: var(--jp-content-font-color1);\n --jp-widgets-label-color: var(--jp-widgets-color);\n --jp-widgets-readout-color: var(--jp-widgets-color);\n --jp-widgets-font-size: var(--jp-ui-font-size1);\n --jp-widgets-margin: 2px;\n --jp-widgets-inline-height: 28px;\n --jp-widgets-inline-width: 300px;\n --jp-widgets-inline-width-short: calc(\n var(--jp-widgets-inline-width) / 2 - var(--jp-widgets-margin)\n );\n --jp-widgets-inline-width-tiny: calc(\n var(--jp-widgets-inline-width-short) / 2 - var(--jp-widgets-margin)\n );\n --jp-widgets-inline-margin: 4px; /* margin between inline elements */\n --jp-widgets-inline-label-width: 80px;\n --jp-widgets-border-width: var(--jp-border-width);\n --jp-widgets-vertical-height: 200px;\n --jp-widgets-horizontal-tab-height: 24px;\n --jp-widgets-horizontal-tab-width: 144px;\n --jp-widgets-horizontal-tab-top-border: 2px;\n --jp-widgets-progress-thickness: 20px;\n --jp-widgets-container-padding: 15px;\n --jp-widgets-input-padding: 4px;\n --jp-widgets-radio-item-height-adjustment: 8px;\n --jp-widgets-radio-item-height: calc(\n var(--jp-widgets-inline-height) -\n var(--jp-widgets-radio-item-height-adjustment)\n );\n --jp-widgets-slider-track-thickness: 4px;\n --jp-widgets-slider-border-width: var(--jp-widgets-border-width);\n --jp-widgets-slider-handle-size: 16px;\n --jp-widgets-slider-handle-border-color: var(--jp-border-color1);\n --jp-widgets-slider-handle-background-color: var(--jp-layout-color1);\n --jp-widgets-slider-active-handle-color: var(--jp-brand-color1);\n --jp-widgets-menu-item-height: 24px;\n --jp-widgets-dropdown-arrow: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxOCAxOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTggMTg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDpub25lO30KPC9zdHlsZT4KPHBhdGggZD0iTTUuMiw1LjlMOSw5LjdsMy44LTMuOGwxLjIsMS4ybC00LjksNWwtNC45LTVMNS4yLDUuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTAtMC42aDE4djE4SDBWLTAuNnoiLz4KPC9zdmc+Cg');\n --jp-widgets-input-color: var(--jp-ui-font-color1);\n --jp-widgets-input-background-color: var(--jp-layout-color1);\n --jp-widgets-input-border-color: var(--jp-border-color1);\n --jp-widgets-input-focus-border-color: var(--jp-brand-color2);\n --jp-widgets-input-border-width: var(--jp-widgets-border-width);\n --jp-widgets-disabled-opacity: 0.6;\n\n /* From Material Design Lite */\n --md-shadow-key-umbra-opacity: 0.2;\n --md-shadow-key-penumbra-opacity: 0.14;\n --md-shadow-ambient-shadow-opacity: 0.12;\n}\n\n.jupyter-widgets {\n margin: var(--jp-widgets-margin);\n box-sizing: border-box;\n color: var(--jp-widgets-color);\n overflow: visible;\n}\n\n.jp-Output-result > .jupyter-widgets {\n margin-left: 0;\n margin-right: 0;\n}\n\n/* vbox and hbox */\n\n/* <DEPRECATED> */\n.widget-inline-hbox, /* </DEPRECATED> */\n .jupyter-widget-inline-hbox {\n /* Horizontal widgets */\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: baseline;\n}\n\n/* <DEPRECATED> */\n.widget-inline-vbox, /* </DEPRECATED> */\n .jupyter-widget-inline-vbox {\n /* Vertical Widgets */\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* <DEPRECATED> */\n.widget-box, /* </DEPRECATED> */\n.jupyter-widget-box {\n box-sizing: border-box;\n display: flex;\n margin: 0;\n overflow: auto;\n}\n\n/* <DEPRECATED> */\n.widget-gridbox, /* </DEPRECATED> */\n.jupyter-widget-gridbox {\n box-sizing: border-box;\n display: grid;\n margin: 0;\n overflow: auto;\n}\n\n/* <DEPRECATED> */\n.widget-hbox, /* </DEPRECATED> */\n.jupyter-widget-hbox {\n flex-direction: row;\n}\n\n/* <DEPRECATED> */\n.widget-vbox, /* </DEPRECATED> */\n.jupyter-widget-vbox {\n flex-direction: column;\n}\n\n/* General Tags Styling */\n\n.jupyter-widget-tagsinput {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n overflow: auto;\n\n cursor: text;\n}\n\n.jupyter-widget-tag {\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 0px;\n padding-bottom: 0px;\n display: inline-block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n font-size: var(--jp-widgets-font-size);\n\n height: calc(var(--jp-widgets-inline-height) - 2px);\n border: 0px solid;\n line-height: calc(var(--jp-widgets-inline-height) - 2px);\n box-shadow: none;\n\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color2);\n border-color: var(--jp-border-color2);\n border: none;\n user-select: none;\n\n cursor: grab;\n transition: margin-left 200ms;\n margin: 1px 1px 1px 1px;\n}\n\n.jupyter-widget-tag.mod-active {\n /* MD Lite 4dp shadow */\n box-shadow: 0 4px 5px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 1px 10px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity)),\n 0 2px 4px -1px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity));\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color3);\n}\n\n.jupyter-widget-colortag {\n color: var(--jp-inverse-ui-font-color1);\n}\n\n.jupyter-widget-colortag.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n}\n\n.jupyter-widget-taginput {\n color: var(--jp-ui-font-color0);\n background-color: var(--jp-layout-color0);\n\n cursor: text;\n text-align: left;\n}\n\n.jupyter-widget-taginput:focus {\n outline: none;\n}\n\n.jupyter-widget-tag-close {\n margin-left: var(--jp-widgets-inline-margin);\n padding: 2px 0px 2px 2px;\n}\n\n.jupyter-widget-tag-close:hover {\n cursor: pointer;\n}\n\n/* Tag \"Primary\" Styling */\n\n.jupyter-widget-tag.mod-primary {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-brand-color1);\n}\n\n.jupyter-widget-tag.mod-primary.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-brand-color0);\n}\n\n/* Tag \"Success\" Styling */\n\n.jupyter-widget-tag.mod-success {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-success-color1);\n}\n\n.jupyter-widget-tag.mod-success.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-success-color0);\n}\n\n/* Tag \"Info\" Styling */\n\n.jupyter-widget-tag.mod-info {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-info-color1);\n}\n\n.jupyter-widget-tag.mod-info.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-info-color0);\n}\n\n/* Tag \"Warning\" Styling */\n\n.jupyter-widget-tag.mod-warning {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-warn-color1);\n}\n\n.jupyter-widget-tag.mod-warning.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-warn-color0);\n}\n\n/* Tag \"Danger\" Styling */\n\n.jupyter-widget-tag.mod-danger {\n color: var(--jp-inverse-ui-font-color1);\n background-color: var(--jp-error-color1);\n}\n\n.jupyter-widget-tag.mod-danger.mod-active {\n color: var(--jp-inverse-ui-font-color0);\n background-color: var(--jp-error-color0);\n}\n\n/* General Button Styling */\n\n.jupyter-button {\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 0px;\n padding-bottom: 0px;\n display: inline-block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n font-size: var(--jp-widgets-font-size);\n cursor: pointer;\n\n height: var(--jp-widgets-inline-height);\n border: 0px solid;\n line-height: var(--jp-widgets-inline-height);\n box-shadow: none;\n\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color2);\n border-color: var(--jp-border-color2);\n border: none;\n user-select: none;\n}\n\n.jupyter-button i.fa {\n margin-right: var(--jp-widgets-inline-margin);\n pointer-events: none;\n}\n\n.jupyter-button:empty:before {\n content: '\\200b'; /* zero-width space */\n}\n\n.jupyter-widgets.jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n.jupyter-button i.fa.center {\n margin-right: 0;\n}\n\n.jupyter-button:hover:enabled,\n.jupyter-button:focus:enabled {\n /* MD Lite 2dp shadow */\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 3px 1px -2px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity)),\n 0 1px 5px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity));\n}\n\n.jupyter-button:active,\n.jupyter-button.mod-active {\n /* MD Lite 4dp shadow */\n box-shadow: 0 4px 5px 0 rgba(0, 0, 0, var(--md-shadow-key-penumbra-opacity)),\n 0 1px 10px 0 rgba(0, 0, 0, var(--md-shadow-ambient-shadow-opacity)),\n 0 2px 4px -1px rgba(0, 0, 0, var(--md-shadow-key-umbra-opacity));\n color: var(--jp-ui-font-color1);\n background-color: var(--jp-layout-color3);\n}\n\n.jupyter-button:focus:enabled {\n outline: 1px solid var(--jp-widgets-input-focus-border-color);\n}\n\n/* Button \"Primary\" Styling */\n\n.jupyter-button.mod-primary {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-brand-color1);\n}\n\n.jupyter-button.mod-primary.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-brand-color0);\n}\n\n.jupyter-button.mod-primary:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-brand-color0);\n}\n\n/* Button \"Success\" Styling */\n\n.jupyter-button.mod-success {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-success-color1);\n}\n\n.jupyter-button.mod-success.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-success-color0);\n}\n\n.jupyter-button.mod-success:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-success-color0);\n}\n\n/* Button \"Info\" Styling */\n\n.jupyter-button.mod-info {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-info-color1);\n}\n\n.jupyter-button.mod-info.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-info-color0);\n}\n\n.jupyter-button.mod-info:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-info-color0);\n}\n\n/* Button \"Warning\" Styling */\n\n.jupyter-button.mod-warning {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-warn-color1);\n}\n\n.jupyter-button.mod-warning.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-warn-color0);\n}\n\n.jupyter-button.mod-warning:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-warn-color0);\n}\n\n/* Button \"Danger\" Styling */\n\n.jupyter-button.mod-danger {\n color: var(--jp-ui-inverse-font-color1);\n background-color: var(--jp-error-color1);\n}\n\n.jupyter-button.mod-danger.mod-active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-error-color0);\n}\n\n.jupyter-button.mod-danger:active {\n color: var(--jp-ui-inverse-font-color0);\n background-color: var(--jp-error-color0);\n}\n\n/* Widget Button, Widget Toggle Button, Widget Upload */\n\n/* <DEPRECATED> */\n.widget-button, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-toggle-button, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-upload, /* </DEPRECATED> */\n.jupyter-widget-button,\n.jupyter-widget-toggle-button,\n.jupyter-widget-upload {\n width: var(--jp-widgets-inline-width-short);\n}\n\n/* Widget Label Styling */\n\n/* Override Bootstrap label css */\n.jupyter-widgets label {\n margin-bottom: initial;\n}\n\n/* <DEPRECATED> */\n.widget-label-basic, /* </DEPRECATED> */\n.jupyter-widget-label-basic {\n /* Basic Label */\n color: var(--jp-widgets-label-color);\n font-size: var(--jp-widgets-font-size);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-label, /* </DEPRECATED> */\n.jupyter-widget-label {\n /* Label */\n color: var(--jp-widgets-label-color);\n font-size: var(--jp-widgets-font-size);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-inline-hbox .widget-label, /* </DEPRECATED> */\n.jupyter-widget-inline-hbox .jupyter-widget-label {\n /* Horizontal Widget Label */\n color: var(--jp-widgets-label-color);\n text-align: right;\n margin-right: calc(var(--jp-widgets-inline-margin) * 2);\n width: var(--jp-widgets-inline-label-width);\n flex-shrink: 0;\n}\n\n/* <DEPRECATED> */\n.widget-inline-vbox .widget-label, /* </DEPRECATED> */\n.jupyter-widget-inline-vbox .jupyter-widget-label {\n /* Vertical Widget Label */\n color: var(--jp-widgets-label-color);\n text-align: center;\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* Widget Readout Styling */\n\n/* <DEPRECATED> */\n.widget-readout, /* </DEPRECATED> */\n.jupyter-widget-readout {\n color: var(--jp-widgets-readout-color);\n font-size: var(--jp-widgets-font-size);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n overflow: hidden;\n white-space: nowrap;\n text-align: center;\n}\n\n/* <DEPRECATED> */\n.widget-readout.overflow, /* </DEPRECATED> */\n.jupyter-widget-readout.overflow {\n /* Overflowing Readout */\n\n /* From Material Design Lite\n shadow-key-umbra-opacity: 0.2;\n shadow-key-penumbra-opacity: 0.14;\n shadow-ambient-shadow-opacity: 0.12;\n */\n -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n\n -moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2),\n 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 1px -2px rgba(0, 0, 0, 0.14),\n 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n}\n\n/* <DEPRECATED> */\n.widget-inline-hbox .widget-readout, /* </DEPRECATED> */\n.jupyter-widget-inline-hbox .jupyter-widget-readout {\n /* Horizontal Readout */\n text-align: center;\n max-width: var(--jp-widgets-inline-width-short);\n min-width: var(--jp-widgets-inline-width-tiny);\n margin-left: var(--jp-widgets-inline-margin);\n}\n\n/* <DEPRECATED> */\n.widget-inline-vbox .widget-readout, /* </DEPRECATED> */\n.jupyter-widget-inline-vbox .jupyter-widget-readout {\n /* Vertical Readout */\n margin-top: var(--jp-widgets-inline-margin);\n /* as wide as the widget */\n width: inherit;\n}\n\n/* Widget Checkbox Styling */\n\n/* <DEPRECATED> */\n.widget-checkbox, /* </DEPRECATED> */\n.jupyter-widget-checkbox {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-checkbox input[type='checkbox'], /* </DEPRECATED> */\n.jupyter-widget-checkbox input[type='checkbox'] {\n margin: 0px calc(var(--jp-widgets-inline-margin) * 2) 0px 0px;\n line-height: var(--jp-widgets-inline-height);\n font-size: large;\n flex-grow: 1;\n flex-shrink: 0;\n align-self: center;\n}\n\n/* Widget Valid Styling */\n\n/* <DEPRECATED> */\n.widget-valid, /* </DEPRECATED> */\n.jupyter-widget-valid {\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width-short);\n font-size: var(--jp-widgets-font-size);\n}\n\n/* <DEPRECATED> */\n.widget-valid i, /* </DEPRECATED> */\n.jupyter-widget-valid i {\n line-height: var(--jp-widgets-inline-height);\n margin-right: var(--jp-widgets-inline-margin);\n margin-left: var(--jp-widgets-inline-margin);\n}\n\n/* <DEPRECATED> */\n.widget-valid.mod-valid i, /* </DEPRECATED> */\n.jupyter-widget-valid.mod-valid i {\n color: green;\n}\n\n/* <DEPRECATED> */\n.widget-valid.mod-invalid i, /* </DEPRECATED> */\n.jupyter-widget-valid.mod-invalid i {\n color: red;\n}\n\n/* <DEPRECATED> */\n.widget-valid.mod-valid .widget-valid-readout, /* </DEPRECATED> */\n.jupyter-widget-valid.mod-valid .jupyter-widget-valid-readout {\n display: none;\n}\n\n/* Widget Text and TextArea Styling */\n\n/* <DEPRECATED> */\n.widget-textarea, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text, /* </DEPRECATED> */\n.jupyter-widget-textarea,\n.jupyter-widget-text {\n width: var(--jp-widgets-inline-width);\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='text'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='number'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='password'], /* </DEPRECATED> */\n.jupyter-widget-text input[type='text'],\n.jupyter-widget-text input[type='number'],\n.jupyter-widget-text input[type='password'] {\n height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='text']:disabled, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='number']:disabled, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='password']:disabled, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-textarea textarea:disabled, /* </DEPRECATED> */\n.jupyter-widget-text input[type='text']:disabled,\n.jupyter-widget-text input[type='number']:disabled,\n.jupyter-widget-text input[type='password']:disabled,\n.jupyter-widget-textarea textarea:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='text'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='number'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='password'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-textarea textarea, /* </DEPRECATED> */\n.jupyter-widget-text input[type='text'],\n.jupyter-widget-text input[type='number'],\n.jupyter-widget-text input[type='password'],\n.jupyter-widget-textarea textarea {\n box-sizing: border-box;\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n flex-grow: 1;\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n flex-shrink: 1;\n outline: none !important;\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='text'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-text input[type='password'], /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-textarea textarea, /* </DEPRECATED> */\n.jupyter-widget-text input[type='text'],\n.jupyter-widget-text input[type='password'],\n.jupyter-widget-textarea textarea {\n padding: var(--jp-widgets-input-padding)\n calc(var(--jp-widgets-input-padding) * 2);\n}\n\n/* <DEPRECATED> */\n.widget-text input[type='number'], /* </DEPRECATED> */\n.jupyter-widget-text input[type='number'] {\n padding: var(--jp-widgets-input-padding) 0 var(--jp-widgets-input-padding)\n calc(var(--jp-widgets-input-padding) * 2);\n}\n\n/* <DEPRECATED> */\n.widget-textarea textarea, /* </DEPRECATED> */\n.jupyter-widget-textarea textarea {\n height: inherit;\n width: inherit;\n}\n\n/* <DEPRECATED> */\n.widget-text input:focus, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-textarea textarea:focus, /* </DEPRECATED> */\n.jupyter-widget-text input:focus,\n.jupyter-widget-textarea textarea:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* Horizontal Slider */\n/* <DEPRECATED> */\n.widget-hslider, /* </DEPRECATED> */\n.jupyter-widget-hslider {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n\n /* Override the align-items baseline. This way, the description and readout\n still seem to align their baseline properly, and we don't have to have\n align-self: stretch in the .slider-container. */\n align-items: center;\n}\n\n/* <DEPRECATED> */\n.widgets-slider .slider-container, /* </DEPRECATED> */\n.jupyter-widgets-slider .slider-container {\n overflow: visible;\n}\n\n/* <DEPRECATED> */\n.widget-hslider .slider-container, /* </DEPRECATED> */\n.jupyter-widget-hslider .slider-container {\n margin-left: calc(\n var(--jp-widgets-slider-handle-size) / 2 - 2 *\n var(--jp-widgets-slider-border-width)\n );\n margin-right: calc(\n var(--jp-widgets-slider-handle-size) / 2 - 2 *\n var(--jp-widgets-slider-border-width)\n );\n flex: 1 1 var(--jp-widgets-inline-width-short);\n}\n\n/* Vertical Slider */\n\n/* <DEPRECATED> */\n.widget-vbox .widget-label, /* </DEPRECATED> */\n.jupyter-widget-vbox .jupyter-widget-label {\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-vslider, /* </DEPRECATED> */\n.jupyter-widget-vslider {\n /* Vertical Slider */\n height: var(--jp-widgets-vertical-height);\n width: var(--jp-widgets-inline-width-tiny);\n}\n\n/* <DEPRECATED> */\n.widget-vslider .slider-container, /* </DEPRECATED> */\n.jupyter-widget-vslider .slider-container {\n flex: 1 1 var(--jp-widgets-inline-width-short);\n margin-left: auto;\n margin-right: auto;\n margin-bottom: calc(\n var(--jp-widgets-slider-handle-size) / 2 - 2 *\n var(--jp-widgets-slider-border-width)\n );\n margin-top: calc(\n var(--jp-widgets-slider-handle-size) / 2 - 2 *\n var(--jp-widgets-slider-border-width)\n );\n display: flex;\n flex-direction: column;\n}\n\n/* Widget Progress Styling */\n\n.progress-bar {\n -webkit-transition: none;\n -moz-transition: none;\n -ms-transition: none;\n -o-transition: none;\n transition: none;\n}\n\n.progress-bar {\n height: var(--jp-widgets-inline-height);\n}\n\n.progress-bar {\n background-color: var(--jp-brand-color1);\n}\n\n.progress-bar-success {\n background-color: var(--jp-success-color1);\n}\n\n.progress-bar-info {\n background-color: var(--jp-info-color1);\n}\n\n.progress-bar-warning {\n background-color: var(--jp-warn-color1);\n}\n\n.progress-bar-danger {\n background-color: var(--jp-error-color1);\n}\n\n.progress {\n background-color: var(--jp-layout-color2);\n border: none;\n box-shadow: none;\n}\n\n/* Horisontal Progress */\n\n/* <DEPRECATED> */\n.widget-hprogress, /* </DEPRECATED> */\n.jupyter-widget-hprogress {\n /* Progress Bar */\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width);\n align-items: center;\n}\n\n/* <DEPRECATED> */\n.widget-hprogress .progress, /* </DEPRECATED> */\n.jupyter-widget-hprogress .progress {\n flex-grow: 1;\n margin-top: var(--jp-widgets-input-padding);\n margin-bottom: var(--jp-widgets-input-padding);\n align-self: stretch;\n /* Override bootstrap style */\n height: initial;\n}\n\n/* Vertical Progress */\n\n/* <DEPRECATED> */\n.widget-vprogress, /* </DEPRECATED> */\n.jupyter-widget-vprogress {\n height: var(--jp-widgets-vertical-height);\n width: var(--jp-widgets-inline-width-tiny);\n}\n\n/* <DEPRECATED> */\n.widget-vprogress .progress, /* </DEPRECATED> */\n.jupyter-widget-vprogress .progress {\n flex-grow: 1;\n width: var(--jp-widgets-progress-thickness);\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 0;\n}\n\n/* Select Widget Styling */\n\n/* <DEPRECATED> */\n.widget-dropdown, /* </DEPRECATED> */\n.jupyter-widget-dropdown {\n height: var(--jp-widgets-inline-height);\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-dropdown > select, /* </DEPRECATED> */\n.jupyter-widget-dropdown > select {\n padding-right: 20px;\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n border-radius: 0;\n height: inherit;\n flex: 1 1 var(--jp-widgets-inline-width-short);\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n box-sizing: border-box;\n outline: none !important;\n box-shadow: none;\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n vertical-align: top;\n padding-left: calc(var(--jp-widgets-input-padding) * 2);\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n background-repeat: no-repeat;\n background-size: 20px;\n background-position: right center;\n background-image: var(--jp-widgets-dropdown-arrow);\n}\n/* <DEPRECATED> */\n.widget-dropdown > select:focus, /* </DEPRECATED> */\n.jupyter-widget-dropdown > select:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* <DEPRECATED> */\n.widget-dropdown > select:disabled, /* </DEPRECATED> */\n.jupyter-widget-dropdown > select:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* To disable the dotted border in Firefox around select controls.\n See http://stackoverflow.com/a/18853002 */\n/* <DEPRECATED> */\n.widget-dropdown > select:-moz-focusring, /* </DEPRECATED> */\n.jupyter-widget-dropdown > select:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 #000;\n}\n\n/* Select and SelectMultiple */\n\n/* <DEPRECATED> */\n.widget-select, /* </DEPRECATED> */\n.jupyter-widget-select {\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n\n /* Because Firefox defines the baseline of a select as the bottom of the\n control, we align the entire control to the top and add padding to the\n select to get an approximate first line baseline alignment. */\n align-items: flex-start;\n}\n\n/* <DEPRECATED> */\n.widget-select > select, /* </DEPRECATED> */\n.jupyter-widget-select > select {\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n flex: 1 1 var(--jp-widgets-inline-width-short);\n outline: none !important;\n overflow: auto;\n height: inherit;\n\n /* Because Firefox defines the baseline of a select as the bottom of the\n control, we align the entire control to the top and add padding to the\n select to get an approximate first line baseline alignment. */\n padding-top: 5px;\n}\n\n/* <DEPRECATED> */\n.widget-select > select:focus, /* </DEPRECATED> */\n.jupyter-widget-select > select:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n.wiget-select > select > option,\n.jupyter-wiget-select > select > option {\n padding-left: var(--jp-widgets-input-padding);\n line-height: var(--jp-widgets-inline-height);\n /* line-height doesn't work on some browsers for select options */\n padding-top: calc(\n var(--jp-widgets-inline-height) - var(--jp-widgets-font-size) / 2\n );\n padding-bottom: calc(\n var(--jp-widgets-inline-height) - var(--jp-widgets-font-size) / 2\n );\n}\n\n/* Toggle Buttons Styling */\n\n/* <DEPRECATED> */\n.widget-toggle-buttons, /* </DEPRECATED> */\n.jupyter-widget-toggle-buttons {\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-toggle-buttons .widget-toggle-button, /* </DEPRECATED> */\n.jupyter-widget-toggle-buttons .jupyter-widget-toggle-button {\n margin-left: var(--jp-widgets-margin);\n margin-right: var(--jp-widgets-margin);\n}\n\n/* <DEPRECATED> */\n.widget-toggle-buttons .jupyter-button:disabled, /* </DEPRECATED> */\n.jupyter-widget-toggle-buttons .jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Radio Buttons Styling */\n\n/* <DEPRECATED> */\n.widget-radio, /* </DEPRECATED> */\n.jupyter-widget-radio {\n width: var(--jp-widgets-inline-width);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-radio-box, /* </DEPRECATED> */\n.jupyter-widget-radio-box {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n box-sizing: border-box;\n flex-grow: 1;\n margin-bottom: var(--jp-widgets-radio-item-height-adjustment);\n}\n\n/* <DEPRECATED> */\n.widget-radio-box-vertical, /* </DEPRECATED> */\n.jupyter-widget-radio-box-vertical {\n flex-direction: column;\n}\n\n/* <DEPRECATED> */\n.widget-radio-box-horizontal, /* </DEPRECATED> */\n.jupyter-widget-radio-box-horizontal {\n flex-direction: row;\n}\n\n/* <DEPRECATED> */\n.widget-radio-box label, /* </DEPRECATED> */\n.jupyter-widget-radio-box label {\n height: var(--jp-widgets-radio-item-height);\n line-height: var(--jp-widgets-radio-item-height);\n font-size: var(--jp-widgets-font-size);\n}\n\n.widget-radio-box-horizontal label,\n.jupyter-widget-radio-box-horizontal label {\n margin: 0 calc(var(--jp-widgets-input-padding) * 2) 0 0;\n}\n\n/* <DEPRECATED> */\n.widget-radio-box input, /* </DEPRECATED> */\n.jupyter-widget-radio-box input {\n height: var(--jp-widgets-radio-item-height);\n line-height: var(--jp-widgets-radio-item-height);\n margin: 0 calc(var(--jp-widgets-input-padding) * 2) 0 1px;\n float: left;\n}\n\n/* Color Picker Styling */\n\n/* <DEPRECATED> */\n.widget-colorpicker, /* </DEPRECATED> */\n.jupyter-widget-colorpicker {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker > .widget-colorpicker-input, /* </DEPRECATED> */\n.jupyter-widget-colorpicker > .jupyter-widget-colorpicker-input {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: var(--jp-widgets-inline-width-tiny);\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker input[type='color'], /* </DEPRECATED> */\n.jupyter-widget-colorpicker input[type='color'] {\n width: var(--jp-widgets-inline-height);\n height: var(--jp-widgets-inline-height);\n padding: 0 2px; /* make the color square actually square on Chrome on OS X */\n background: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n border-left: none;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n align-self: stretch;\n outline: none !important;\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker.concise input[type='color'], /* </DEPRECATED> */\n.jupyter-widget-colorpicker.concise input[type='color'] {\n border-left: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker input[type='color']:focus, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-colorpicker input[type='text']:focus, /* </DEPRECATED> */\n.jupyter-widget-colorpicker input[type='color']:focus,\n.jupyter-widget-colorpicker input[type='text']:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker input[type='text'], /* </DEPRECATED> */\n.jupyter-widget-colorpicker input[type='text'] {\n flex-grow: 1;\n outline: none !important;\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n background: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n font-size: var(--jp-widgets-font-size);\n padding: var(--jp-widgets-input-padding)\n calc(var(--jp-widgets-input-padding) * 2);\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n flex-shrink: 1;\n box-sizing: border-box;\n}\n\n/* <DEPRECATED> */\n.widget-colorpicker input[type='text']:disabled, /* </DEPRECATED> */\n.jupyter-widget-colorpicker input[type='text']:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Date Picker Styling */\n\n/* <DEPRECATED> */\n.widget-datepicker, /* </DEPRECATED> */\n.jupyter-widget-datepicker {\n width: var(--jp-widgets-inline-width);\n height: var(--jp-widgets-inline-height);\n line-height: var(--jp-widgets-inline-height);\n}\n\n/* <DEPRECATED> */\n.widget-datepicker input[type='date'], /* </DEPRECATED> */\n.jupyter-widget-datepicker input[type='date'] {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* This makes it possible for the flexbox to shrink this input */\n outline: none !important;\n height: var(--jp-widgets-inline-height);\n border: var(--jp-widgets-input-border-width) solid\n var(--jp-widgets-input-border-color);\n background-color: var(--jp-widgets-input-background-color);\n color: var(--jp-widgets-input-color);\n font-size: var(--jp-widgets-font-size);\n padding: var(--jp-widgets-input-padding)\n calc(var(--jp-widgets-input-padding) * 2);\n box-sizing: border-box;\n}\n\n/* <DEPRECATED> */\n.widget-datepicker input[type='date']:focus, /* </DEPRECATED> */\n.jupyter-widget-datepicker input[type='date']:focus {\n border-color: var(--jp-widgets-input-focus-border-color);\n}\n\n/* <DEPRECATED> */\n.widget-datepicker input[type='date']:invalid, /* </DEPRECATED> */\n.jupyter-widget-datepicker input[type='date']:invalid {\n border-color: var(--jp-warn-color1);\n}\n\n/* <DEPRECATED> */\n.widget-datepicker input[type='date']:disabled, /* </DEPRECATED> */\n.jupyter-widget-datepicker input[type='date']:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Play Widget */\n\n/* <DEPRECATED> */\n.widget-play, /* </DEPRECATED> */\n.jupyter-widget-play {\n width: var(--jp-widgets-inline-width-short);\n display: flex;\n align-items: stretch;\n}\n\n/* <DEPRECATED> */\n.widget-play .jupyter-button, /* </DEPRECATED> */\n.jupyter-widget-play .jupyter-button {\n flex-grow: 1;\n height: auto;\n}\n\n/* <DEPRECATED> */\n.widget-play .jupyter-button:disabled, /* </DEPRECATED> */\n.jupyter-widget-play .jupyter-button:disabled {\n opacity: var(--jp-widgets-disabled-opacity);\n}\n\n/* Tab Widget */\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab {\n display: flex;\n flex-direction: column;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar {\n /* Necessary so that a tab can be shifted down to overlay the border of the box below. */\n overflow-x: visible;\n overflow-y: visible;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar > .lm-TabBar-content {\n /* Make sure that the tab grows from bottom up */\n align-items: flex-end;\n min-width: 0;\n min-height: 0;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .widget-tab-contents, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .widget-tab-contents {\n width: 100%;\n box-sizing: border-box;\n margin: 0;\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n border: var(--jp-border-width) solid var(--jp-border-color1);\n padding: var(--jp-widgets-container-padding);\n flex-grow: 1;\n overflow: auto;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar {\n font: var(--jp-widgets-font-size) Helvetica, Arial, sans-serif;\n min-height: calc(\n var(--jp-widgets-horizontal-tab-height) + var(--jp-border-width)\n );\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab {\n flex: 0 1 var(--jp-widgets-horizontal-tab-width);\n min-width: 35px;\n min-height: calc(\n var(--jp-widgets-horizontal-tab-height) + var(--jp-border-width)\n );\n line-height: var(--jp-widgets-horizontal-tab-height);\n margin-left: calc(-1 * var(--jp-border-width));\n padding: 0px 10px;\n background: var(--jp-layout-color2);\n color: var(--jp-ui-font-color2);\n border: var(--jp-border-width) solid var(--jp-border-color1);\n border-bottom: none;\n position: relative;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab.lm-mod-current {\n color: var(--jp-ui-font-color0);\n /* We want the background to match the tab content background */\n background: var(--jp-layout-color1);\n min-height: calc(\n var(--jp-widgets-horizontal-tab-height) + 2 * var(--jp-border-width)\n );\n transform: translateY(var(--jp-border-width));\n overflow: visible;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current:before, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab.p-mod-current:before, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab.lm-mod-current:before {\n position: absolute;\n top: calc(-1 * var(--jp-border-width));\n left: calc(-1 * var(--jp-border-width));\n content: '';\n height: var(--jp-widgets-horizontal-tab-top-border);\n width: calc(100% + 2 * var(--jp-border-width));\n background: var(--jp-brand-color1);\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab:first-child, /* </DEPRECATED> */\n/* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab:first-child, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab:first-child {\n margin-left: 0;\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar\n .p-TabBar-tab:hover:not(.p-mod-current),\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .p-TabBar\n .p-TabBar-tab:hover:not(.p-mod-current),\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar\n .lm-TabBar-tab:hover:not(.lm-mod-current) {\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar\n .p-mod-closable\n > .p-TabBar-tabCloseIcon,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n> .p-TabBar\n.p-mod-closable\n> .p-TabBar-tabCloseIcon,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar\n .lm-mod-closable\n > .lm-TabBar-tabCloseIcon {\n margin-left: 4px;\n}\n\n/* This font-awesome strategy may not work across FA4 and FA5, but we don't\nactually support closable tabs, so it really doesn't matter */\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab\n > .p-TabBar\n .p-mod-closable\n > .p-TabBar-tabCloseIcon:before,\n/* </DEPRECATED> */\n/* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-widget-tab\n> .p-TabBar\n.p-mod-closable\n> .p-TabBar-tabCloseIcon:before,\n/* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab\n > .lm-TabBar\n .lm-mod-closable\n > .lm-TabBar-tabCloseIcon:before {\n font-family: FontAwesome;\n content: '\\f00d'; /* close */\n}\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */\n/* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabIcon,\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabLabel,\n.jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabCloseIcon {\n line-height: var(--jp-widgets-horizontal-tab-height);\n}\n\n/* Accordion Widget */\n\n.jupyter-widget-Collapse {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n\n.jupyter-widget-Collapse-header {\n padding: var(--jp-widgets-input-padding);\n cursor: pointer;\n color: var(--jp-ui-font-color2);\n background-color: var(--jp-layout-color2);\n border: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n padding: calc(var(--jp-widgets-container-padding) * 2 / 3)\n var(--jp-widgets-container-padding);\n font-weight: bold;\n}\n\n.jupyter-widget-Collapse-header:hover {\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n}\n\n.jupyter-widget-Collapse-open > .jupyter-widget-Collapse-header {\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color0);\n cursor: default;\n border-bottom: none;\n}\n\n.jupyter-widget-Collapse-contents {\n padding: var(--jp-widgets-container-padding);\n background-color: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n border-left: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n border-right: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n border-bottom: var(--jp-widgets-border-width) solid var(--jp-border-color1);\n overflow: auto;\n}\n\n.jupyter-widget-Accordion {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n\n.jupyter-widget-Accordion .jupyter-widget-Collapse {\n margin-bottom: 0;\n}\n\n.jupyter-widget-Accordion .jupyter-widget-Collapse + .jupyter-widget-Collapse {\n margin-top: 4px;\n}\n\n/* HTML widget */\n\n/* <DEPRECATED> */\n.widget-html, /* </DEPRECATED> */\n/* <DEPRECATED> */ .widget-htmlmath, /* </DEPRECATED> */\n.jupyter-widget-html,\n.jupyter-widget-htmlmath {\n font-size: var(--jp-widgets-font-size);\n}\n\n/* <DEPRECATED> */\n.widget-html > .widget-html-content, /* </DEPRECATED> */\n/* <DEPRECATED> */.widget-htmlmath > .widget-html-content, /* </DEPRECATED> */\n.jupyter-widget-html > .jupyter-widget-html-content,\n.jupyter-widget-htmlmath > .jupyter-widget-html-content {\n /* Fill out the area in the HTML widget */\n align-self: stretch;\n flex-grow: 1;\n flex-shrink: 1;\n /* Makes sure the baseline is still aligned with other elements */\n line-height: var(--jp-widgets-inline-height);\n /* Make it possible to have absolutely-positioned elements in the html */\n position: relative;\n}\n\n/* Image widget */\n\n/* <DEPRECATED> */\n.widget-image, /* </DEPRECATED> */\n.jupyter-widget-image {\n max-width: 100%;\n height: auto;\n}\n"],sourceRoot:""}]);const p=h},3450:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(2001),r=n.n(i),o=n(935),s=n.n(o)()(r());s.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-output .jp-OutputArea-prompt, /* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-output .jp-OutputArea-prompt {\n display: none;\n}\n","",{version:3,sources:["webpack://./css/output.css"],names:[],mappings:"AAAA;;;8EAG8E;;AAE9E,iBAAiB;AACjB;;EAEE,aAAa;AACf",sourcesContent:["/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n/* <DEPRECATED> */\n.jupyter-widgets.widget-output .jp-OutputArea-prompt, /* <DEPRECATED> */\n.jupyter-widgets.jupyter-widget-output .jp-OutputArea-prompt {\n display: none;\n}\n"],sourceRoot:""}]);const a=s},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);i&&s[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},62:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},2001:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),o="/*# ".concat(r," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},2743:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function r(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function a(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||r,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=i;var d=Array.isArray(n);return d===Array.isArray(e)?d?l.arrayMerge(e,n,l):function(e,t,n){var r={};return n.isMergeableObject(e)&&o(e).forEach((function(t){r[t]=i(e[t],n)})),o(t).forEach((function(o){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(s(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(o,n)(e[o],t[o],n):r[o]=i(t[o],n))})),r}(e,n,l):i(n,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return a(e,n,t)}),{})};var l=a;e.exports=l},6593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},5193:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)},r=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var a=s(n(3338)),l=n(2305),d=n(6593),c=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function u(e){return e.replace(/"/g,""")}var h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function f(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),i="",r=0;r<n.length;r++)i+=p(n[r],t);return i}function p(e,t){switch(e.type){case a.Root:return f(e.children,t);case a.Doctype:case a.Directive:return"<".concat(e.data,">");case a.Comment:return"\x3c!--".concat(e.data,"--\x3e");case a.CDATA:return function(e){return"<![CDATA[".concat(e.children[0].data,"]]>")}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=d.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&A.has(e.parent.name)&&(t=i(i({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=i(i({},t),{xmlMode:"foreign"}));var r="<".concat(e.name),o=function(e,t){var n;if(e){var i=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?u:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(n){var r,o,s=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(o=d.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==s?"".concat(n,'="').concat(i(s),'"'):n})).join(" ")}}(e.attribs,t);return o&&(r+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&h.has(e.name))?(t.xmlMode||(r+=" "),r+="/>"):(r+=">",e.children.length>0&&(r+=f(e.children,t)),!t.xmlMode&&h.has(e.name)||(r+="</".concat(e.name,">"))),r}(e,t);case a.Text:return function(e,t){var n,i=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&c.has(e.parent.name)||(i=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(i):(0,l.escapeText)(i)),i}(e,t)}}t.render=f,t.default=f;var A=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},3338:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},1138:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(3338),s=n(2888);r(n(2888),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,i=new s.Element(e,t,void 0,n);this.addNode(i),this.tagStack.push(i)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},2888:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=n(3338),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();t.Node=a;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=l;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=d;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=c;var u=function(e){function t(t,n){var i=e.call(this,n)||this;return i.name=t,i.type=s.ElementType.Directive,i}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=u;var h=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=p;var A=function(e){function t(t,n,i,r){void 0===i&&(i=[]),void 0===r&&(r="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var o=e.call(this,i)||this;return o.name=t,o.attribs=n,o.type=r,o}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,i;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(i=e["x-attribsPrefix"])||void 0===i?void 0:i[t]}}))},enumerable:!1,configurable:!0}),t}(h);function m(e){return(0,s.isTag)(e)}function g(e){return e.type===s.ElementType.CDATA}function b(e){return e.type===s.ElementType.Text}function v(e){return e.type===s.ElementType.Comment}function C(e){return e.type===s.ElementType.Directive}function y(e){return e.type===s.ElementType.Root}function w(e,t){var n;if(void 0===t&&(t=!1),b(e))n=new d(e.data);else if(v(e))n=new c(e.data);else if(m(e)){var i=t?_(e.children):[],r=new A(e.name,o({},e.attribs),i);i.forEach((function(e){return e.parent=r})),null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=r}else if(g(e)){i=t?_(e.children):[];var s=new f(i);i.forEach((function(e){return e.parent=s})),n=s}else if(y(e)){i=t?_(e.children):[];var a=new p(i);i.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!C(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new u(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function _(e){for(var t=e.map((function(e){return w(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=A,t.isTag=m,t.isCDATA=g,t.isText=b,t.isComment=v,t.isDirective=C,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},1206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var i=n(8642),r=n(8052);t.getFeed=function(e){var t=l(u,e);return t?"feed"===t.name?function(e){var t,n=e.children,i={type:"atom",items:(0,r.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,i={media:a(n)};c(i,"id","id",n),c(i,"title","title",n);var r=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;r&&(i.link=r);var o=d("summary",n)||d("content",n);o&&(i.description=o);var s=d("updated",n);return s&&(i.pubDate=new Date(s)),i}))};c(i,"id","id",n),c(i,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(i.link=o),c(i,"description","subtitle",n);var s=d("updated",n);return s&&(i.updated=new Date(s)),c(i,"author","email",n,!0),i}(t):function(e){var t,n,i=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,r.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:a(t)};c(n,"id","guid",t),c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t);var i=d("pubDate",t)||d("dc:date",t);return i&&(n.pubDate=new Date(i)),n}))};c(o,"title","title",i),c(o,"link","link",i),c(o,"description","description",i);var s=d("lastBuildDate",i);return s&&(o.updated=new Date(s)),c(o,"author","managingEditor",i,!0),o}(t):null};var o=["url","type","lang"],s=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function a(e){return(0,r.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},i=0,r=o;i<r.length;i++)t[d=r[i]]&&(n[d]=t[d]);for(var a=0,l=s;a<l.length;a++){var d;t[d=l[a]]&&(n[d]=parseInt(t[d],10))}return t.expression&&(n.expression=t.expression),n}))}function l(e,t){return(0,r.getElementsByTagName)(e,t,!0,1)[0]}function d(e,t,n){return void 0===n&&(n=!1),(0,i.textContent)((0,r.getElementsByTagName)(e,t,n,1)).trim()}function c(e,t,n,i,r){void 0===r&&(r=!1);var o=d(n,i,r);o&&(e[t]=o)}function u(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},3698:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var i,r=n(1138);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var s=(0,r.hasChildren)(e)?e:e.parent;s;)n.unshift(s),s=s.parent;for(s=(0,r.hasChildren)(t)?t:t.parent;s;)o.unshift(s),s=s.parent;for(var a=Math.min(n.length,o.length),l=0;l<a&&n[l]===o[l];)l++;if(0===l)return i.DISCONNECTED;var d=n[l-1],c=d.children,u=n[l],h=o[l];return c.indexOf(u)>c.indexOf(h)?d===t?i.FOLLOWING|i.CONTAINED_BY:i.FOLLOWING:d===e?i.PRECEDING|i.CONTAINS:i.PRECEDING}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var i=n.parent;i;i=i.parent)if(e.includes(i)){e.splice(t,1);break}}return e},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(i=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&i.PRECEDING?-1:n&i.FOLLOWING?1:0})),e}},6403:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,r(n(8642),t),r(n(5517),t),r(n(6178),t),r(n(1467),t),r(n(8052),t),r(n(3698),t),r(n(1206),t);var o=n(1138);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},8052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var i=n(1138),r=n(1467),o={tag_name:function(e){return"function"==typeof e?function(t){return(0,i.isTag)(t)&&e(t.name)}:"*"===e?i.isTag:function(t){return(0,i.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,i.isText)(t)&&e(t.data)}:function(t){return(0,i.isText)(t)&&t.data===e}}};function s(e,t){return"function"==typeof t?function(n){return(0,i.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,i.isTag)(n)&&n.attribs[e]===t}}function a(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](n):s(t,n)}));return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,i){void 0===i&&(i=1/0);var o=l(e);return o?(0,r.filter)(o,t,n,i):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,r.findOne)(s("id",e),t,n)},t.getElementsByTagName=function(e,t,n,i){return void 0===n&&(n=!0),void 0===i&&(i=1/0),(0,r.filter)(o.tag_name(e),t,n,i)},t.getElementsByTagType=function(e,t,n,i){return void 0===n&&(n=!0),void 0===i&&(i=1/0),(0,r.filter)(o.tag_type(e),t,n,i)}},6178:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var i=t.next=e.next;i&&(i.prev=t);var r=t.parent=e.parent;if(r){var o=r.children;o[o.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var i=e.children[e.children.length-2];i.next=t,t.prev=i}else t.prev=null},t.append=function(e,t){n(t);var i=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=i,r){if(r.prev=t,i){var o=i.children;o.splice(o.lastIndexOf(r),0,t)}}else i&&i.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var i=e.children[1];i.prev=t,t.next=i}else t.next=null},t.prepend=function(e,t){n(t);var i=e.parent;if(i){var r=i.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=i,t.prev=e.prev,t.next=e,e.prev=t}},1467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var i=n(1138);function r(e,t,n,r){for(var o=[],s=[t],a=[0];;)if(a[0]>=s[0].length){if(1===a.length)return o;s.shift(),a.shift()}else{var l=s[0][a[0]++];if(e(l)&&(o.push(l),--r<=0))return o;n&&(0,i.hasChildren)(l)&&l.children.length>0&&(a.unshift(0),s.unshift(l.children))}}t.filter=function(e,t,n,i){return void 0===n&&(n=!0),void 0===i&&(i=1/0),r(e,Array.isArray(t)?t:[t],n,i)},t.find=r,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,r){void 0===r&&(r=!0);for(var o=null,s=0;s<n.length&&!o;s++){var a=n[s];(0,i.isTag)(a)&&(t(a)?o=a:r&&a.children.length>0&&(o=e(t,a.children,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,i.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],r=[t],o=[0];;)if(o[0]>=r[0].length){if(1===r.length)return n;r.shift(),o.shift()}else{var s=r[0][o[0]++];(0,i.isTag)(s)&&(e(s)&&n.push(s),s.children.length>0&&(o.unshift(0),r.unshift(s.children)))}}},8642:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var r=n(1138),o=i(n(5193)),s=n(3338);function a(e,t){return(0,o.default)(e,t)}t.getOuterHTML=a,t.getInnerHTML=function(e,t){return(0,r.hasChildren)(e)?e.children.map((function(e){return a(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,r.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,r.isCDATA)(t)?e(t.children):(0,r.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,r.hasChildren)(t)&&!(0,r.isComment)(t)?e(t.children):(0,r.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,r.hasChildren)(t)&&(t.type===s.ElementType.Tag||(0,r.isCDATA)(t))?e(t.children):(0,r.isText)(t)?t.data:""}},5517:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var i=n(1138);function r(e){return(0,i.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=r,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return r(t);for(var n=[e],i=e.prev,s=e.next;null!=i;)n.unshift(i),i=i.prev;for(;null!=s;)n.push(s),s=s.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,i.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,i.isTag)(t);)t=t.prev;return t}},3379:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var a=s(n(7346));t.htmlDecodeTree=a.default;var l=s(n(8622));t.xmlDecodeTree=l.default;var d=o(n(2809));t.decodeCodePoint=d.default;var c,u,h,f,p=n(2809);function A(e){return e>=c.ZERO&&e<=c.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return p.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return p.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(c||(c={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(u=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(h||(h={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(f=t.DecodingMode||(t.DecodingMode={}));var m=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=h.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=f.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=h.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case h.EntityStart:return e.charCodeAt(t)===c.NUM?(this.state=h.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=h.NamedEntity,this.stateNamedEntity(e,t));case h.NumericStart:return this.stateNumericStart(e,t);case h.NumericDecimal:return this.stateNumericDecimal(e,t);case h.NumericHex:return this.stateNumericHex(e,t);case h.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===c.LOWER_X?(this.state=h.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=h.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,i){if(t!==n){var r=n-t;this.result=this.result*Math.pow(i,r)+parseInt(e.substr(t,r),i),this.consumed+=r}},e.prototype.stateNumericHex=function(e,t){for(var n,i=t;t<e.length;){var r=e.charCodeAt(t);if(!(A(r)||(n=r,n>=c.UPPER_A&&n<=c.UPPER_F||n>=c.LOWER_A&&n<=c.LOWER_F)))return this.addToNumericResult(e,i,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,i,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var i=e.charCodeAt(t);if(!A(i))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(i,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===c.SEMI)this.consumed+=1;else if(this.decodeMode===f.Strict)return 0;return this.emitCodePoint((0,d.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==c.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,i=n[this.treeIndex],r=(i&u.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=b(n,i,this.treeIndex+Math.max(1,r),o),this.treeIndex<0)return 0===this.result||this.decodeMode===f.Attribute&&(0===r||((s=o)===c.EQUALS||function(e){return e>=c.UPPER_A&&e<=c.UPPER_Z||e>=c.LOWER_A&&e<=c.LOWER_Z||A(e)}(s)))?0:this.emitNotTerminatedNamedEntity();if(0!=(r=((i=n[this.treeIndex])&u.VALUE_LENGTH)>>14)){if(o===c.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==f.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var s;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&u.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var i=this.decodeTree;return this.emitCodePoint(1===t?i[e]&~u.VALUE_LENGTH:i[e+1],n),3===t&&this.emitCodePoint(i[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case h.NamedEntity:return 0===this.result||this.decodeMode===f.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case h.NumericDecimal:return this.emitNumericEntity(0,2);case h.NumericHex:return this.emitNumericEntity(0,3);case h.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case h.EntityStart:return 0}},e}();function g(e){var t="",n=new m(e,(function(e){return t+=(0,d.fromCodePoint)(e)}));return function(e,i){for(var r=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(r,o),n.startEntity(i);var s=n.write(e,o+1);if(s<0){r=o+n.end();break}r=o+s,o=0===s?r+1:r}var a=t+e.slice(r);return t="",a}}function b(e,t,n,i){var r=(t&u.BRANCH_LENGTH)>>7,o=t&u.JUMP_TABLE;if(0===r)return 0!==o&&i===o?n:-1;if(o){var s=i-o;return s<0||s>=r?-1:e[n+s]-1}for(var a=n,l=a+r-1;a<=l;){var d=a+l>>>1,c=e[d];if(c<i)a=d+1;else{if(!(c>i))return e[d+r];l=d-1}}return-1}t.EntityDecoder=m,t.determineBranch=b;var v=g(a.default),C=g(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=f.Legacy),v(e,t)},t.decodeHTMLAttribute=function(e){return v(e,f.Attribute)},t.decodeHTMLStrict=function(e){return v(e,f.Strict)},t.decodeXML=function(e){return C(e,f.Strict)}},2809:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var i=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function r(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=i.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=r,t.default=function(e){return(0,t.fromCodePoint)(r(e))}},3231:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var r=i(n(8635)),o=n(7078),s=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function a(e,t){for(var n,i="",s=0;null!==(n=e.exec(t));){var a=n.index;i+=t.substring(s,a);var l=t.charCodeAt(a),d=r.default.get(l);if("object"==typeof d){if(a+1<t.length){var c=t.charCodeAt(a+1),u="number"==typeof d.n?d.n===c?d.o:void 0:d.n.get(c);if(void 0!==u){i+=u,s=e.lastIndex+=1;continue}}d=d.v}if(void 0!==d)i+=d,s=a+1;else{var h=(0,o.getCodePoint)(t,a);i+="&#x".concat(h.toString(16),";"),s=e.lastIndex+=Number(h!==l)}}return i+t.substr(s)}t.encodeHTML=function(e){return a(s,e)},t.encodeNonAsciiHTML=function(e){return a(o.xmlReplacer,e)}},7078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function i(e){for(var i,r="",o=0;null!==(i=t.xmlReplacer.exec(e));){var s=i.index,a=e.charCodeAt(s),l=n.get(a);void 0!==l?(r+=e.substring(o,s)+l,o=s+1):(r+="".concat(e.substring(o,s),"&#x").concat((0,t.getCodePoint)(e,s).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&a)))}return r+e.substr(o)}function r(e,t){return function(n){for(var i,r=0,o="";i=e.exec(n);)r!==i.index&&(o+=n.substring(r,i.index)),o+=t.get(i[0].charCodeAt(0)),r=i.index+1;return o+n.substring(r)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=i,t.escape=i,t.escapeUTF8=r(/[&<>'"]/g,n),t.escapeAttribute=r(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=r(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},7346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},8622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},8635:(e,t)=>{"use strict";function n(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(n([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(n([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(n([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(n([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]))},2305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var i,r,o=n(3379),s=n(3231),a=n(7078);function l(e,t){if(void 0===t&&(t=i.XML),("number"==typeof t?t:t.level)===i.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(i=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(r=t.EncodingMode||(t.EncodingMode={})),t.decode=l,t.decodeStrict=function(e,t){var n;void 0===t&&(t=i.XML);var r="number"==typeof t?{level:t}:t;return null!==(n=r.mode)&&void 0!==n||(r.mode=o.DecodingMode.Strict),l(e,r)},t.encode=function(e,t){void 0===t&&(t=i.XML);var n="number"==typeof t?{level:t}:t;return n.mode===r.UTF8?(0,a.escapeUTF8)(e):n.mode===r.Attribute?(0,a.escapeAttribute)(e):n.mode===r.Text?(0,a.escapeText)(e):n.level===i.HTML?n.mode===r.ASCII?(0,s.encodeNonAsciiHTML)(e):(0,s.encodeHTML)(e):(0,a.encodeXML)(e)};var d=n(7078);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return d.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return d.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return d.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return d.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return d.escapeText}});var c=n(3231);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return c.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return c.encodeHTML}});var u=n(3379);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return u.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return u.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return u.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})},2189:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},8792:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;0!=r--;){var s=o[r];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},4291:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var s=o(n(6439)),a=n(3379),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),d=new Set(["p"]),c=new Set(["thead","tbody"]),u=new Set(["dd","dt"]),h=new Set(["rt","rp"]),f=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",d],["h1",d],["h2",d],["h3",d],["h4",d],["h5",d],["h6",d],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",u],["dt",u],["address",d],["article",d],["aside",d],["blockquote",d],["details",d],["div",d],["dl",d],["fieldset",d],["figcaption",d],["figure",d],["footer",d],["form",d],["header",d],["hr",d],["main",d],["nav",d],["ol",d],["pre",d],["section",d],["table",d],["ul",d],["rt",h],["rp",h],["tbody",c],["tfoot",c]]),p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),A=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),g=/\s|\//,b=function(){function e(e,t){var n,i,r,o,a;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(i=t.lowerCaseAttributeNames)&&void 0!==i?i:!t.xmlMode,this.tokenizer=new(null!==(r=t.Tokenizer)&&void 0!==r?r:s.default)(this.options,this),null===(a=(o=this.cbs).onparserinit)||void 0===a||a.call(o,this)}return e.prototype.ontext=function(e,t){var n,i,r=this.getSlice(e,t);this.endIndex=t-1,null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,r),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,i=this.tokenizer.getSectionStart();this.endIndex=i-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,a.fromCodePoint)(e)),this.startIndex=i},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&p.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,i,r;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&f.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var s=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,s,!0)}this.isVoidElement(e)||(this.stack.push(e),A.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(r=(i=this.cbs).onopentagname)||void 0===r||r.call(i,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,i,r,o,s,a;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(A.has(l)||m.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(i=(n=this.cbs).onopentagname)||void 0===i||i.call(n,"br"),null===(o=(r=this.cbs).onopentag)||void 0===o||o.call(r,"br",{},!0),null===(a=(s=this.cbs).onclosetag)||void 0===a||a.call(s,"br",!1));else{var d=this.stack.lastIndexOf(l);if(-1!==d)if(this.cbs.onclosetag)for(var c=this.stack.length-d;c--;)this.cbs.onclosetag(this.stack.pop(),0!==c);else this.stack.length=d;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,i=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===i&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,i,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,a.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,i;this.endIndex=t,null===(i=(n=this.cbs).onattribute)||void 0===i||i.call(n,this.attribname,this.attribvalue,e===s.QuoteType.Double?'"':e===s.QuoteType.Single?"'":e===s.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(g),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var i=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(i),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var i=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(i),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var i,r,o,s;this.endIndex=t,null===(r=(i=this.cbs).oncomment)||void 0===r||r.call(i,this.getSlice(e,t-n)),null===(s=(o=this.cbs).oncommentend)||void 0===s||s.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var i,r,o,s,a,l,d,c,u,h;this.endIndex=t;var f=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(r=(i=this.cbs).oncdatastart)||void 0===r||r.call(i),null===(s=(o=this.cbs).ontext)||void 0===s||s.call(o,f),null===(l=(a=this.cbs).oncdataend)||void 0===l||l.call(a)):(null===(c=(d=this.cbs).oncomment)||void 0===c||c.call(d,"[CDATA[".concat(f,"]]")),null===(h=(u=this.cbs).oncommentend)||void 0===h||h.call(u)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,i;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(i=(n=this.cbs).onparserinit)||void 0===i||i.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=b},6439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var i,r,o,s=n(3379);function a(e){return e===i.Space||e===i.NewLine||e===i.Tab||e===i.FormFeed||e===i.CarriageReturn}function l(e){return e===i.Slash||e===i.Gt||a(e)}function d(e){return e>=i.Zero&&e<=i.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(i||(i={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(r||(r={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},u=function(){function e(e,t){var n=e.xmlMode,i=void 0!==n&&n,o=e.decodeEntities,a=void 0===o||o;this.cbs=t,this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=i,this.decodeEntities=a,this.entityTrie=i?s.xmlDecodeTree:s.htmlDecodeTree}return e.prototype.reset=function(){this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===i.Lt||!this.decodeEntities&&this.fastForwardTo(i.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===i.Amp&&(this.state=r.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===i.Gt||a(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===c.TitleEnd?this.decodeEntities&&e===i.Amp&&(this.state=r.BeforeEntity):this.fastForwardTo(i.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===i.Lt)},e.prototype.stateCDATASequence=function(e){e===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):function(e){return e>=i.LowerA&&e<=i.LowerZ||e>=i.UpperA&&e<=i.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=r.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===i.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===i.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==c.TitleEnd[2]?this.state=this.xmlMode||t!==c.ScriptEnd[2]?r.InTagName:r.BeforeSpecialS:this.startSpecial(c.TitleEnd,3)}else e===i.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){a(e)||(e===i.Gt?this.state=r.Text:(this.state=this.isTagStartChar(e)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===i.Gt||a(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===i.Gt||this.fastForwardTo(i.Gt))&&(this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===i.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===i.Slash?this.state=r.InSelfClosingTag:a(e)||(this.state=r.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===i.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):a(e)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===i.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===i.Eq?this.state=r.BeforeAttributeValue:e===i.Slash||e===i.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e)):a(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=r.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===i.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):e===i.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):a(e)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===i.DoubleQuote?o.Double:o.Single,this.index),this.state=r.BeforeAttributeName):this.decodeEntities&&e===i.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,i.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,i.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){a(e)||e===i.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===i.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===i.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=e===i.Dash?r.BeforeComment:r.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===i.Gt||this.fastForwardTo(i.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===i.Gt||this.fastForwardTo(i.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===i.Dash?(this.state=r.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===i.Gt||this.fastForwardTo(i.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):t===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===i.Number?this.state=r.BeforeNumericEntity:e===i.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=r.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,s.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&s.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===i.Semi){var r=this.index-this.entityExcess+1;r>this.sectionStart&&this.emitPartial(this.sectionStart,r),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&s.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~s.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===i.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===r.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,s.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===i.Semi?this.emitNumericEntity(!0):d(e)?(this.entityResult=10*this.entityResult+(e-i.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===i.Semi?this.emitNumericEntity(!0):d(e)?(this.entityResult=16*this.entityResult+(e-i.Zero),this.entityExcess++):function(e){return e>=i.UpperA&&e<=i.UpperF||e>=i.LowerA&&e<=i.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-i.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==r.InAttributeValueDq&&this.state!==r.InAttributeValueSq&&this.state!==r.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case r.Text:this.stateText(e);break;case r.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case r.InSpecialTag:this.stateInSpecialTag(e);break;case r.CDATASequence:this.stateCDATASequence(e);break;case r.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case r.InAttributeName:this.stateInAttributeName(e);break;case r.InCommentLike:this.stateInCommentLike(e);break;case r.InSpecialComment:this.stateInSpecialComment(e);break;case r.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case r.InTagName:this.stateInTagName(e);break;case r.InClosingTagName:this.stateInClosingTagName(e);break;case r.BeforeTagName:this.stateBeforeTagName(e);break;case r.AfterAttributeName:this.stateAfterAttributeName(e);break;case r.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case r.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case r.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case r.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case r.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case r.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case r.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case r.InDeclaration:this.stateInDeclaration(e);break;case r.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case r.BeforeComment:this.stateBeforeComment(e);break;case r.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case r.InNamedEntity:this.stateInNamedEntity(e);break;case r.BeforeEntity:this.stateBeforeEntity(e);break;case r.InHexEntity:this.stateInHexEntity(e);break;case r.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===r.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===r.InCommentLike?this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===r.InNumericEntity&&this.allowLegacyEntity()||this.state===r.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();t.default=u},5482:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var a=n(4291),l=n(4291);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var d=n(1138),c=n(1138);function u(e,t){var n=new d.DomHandler(void 0,t);return new a.Parser(n,t).end(e),n.root}function h(e,t){return u(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=u,t.parseDOM=h,t.createDomStream=function(e,t,n){var i=new d.DomHandler(e,t,n);return new a.Parser(i,t)};var f=n(6439);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return s(f).default}}),t.ElementType=o(n(3338));var p=n(6403),A=n(6403);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return A.getFeed}});var m={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=m),(0,p.getFeed)(h(e,t))},t.DomUtils=o(n(6403))},993:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,i;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(i=t.prototype)&&!1!==i.hasOwnProperty("isPrototypeOf"))}},6571:(e,t,n)=>{var i,r,o;!function(s){"use strict";r=[n(4651),n(2340)],void 0===(o="function"==typeof(i=function(e){return e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})?i.apply(t,r):i)||(e.exports=o)}()},5074:(e,t,n)=>{var i,r,o;!function(s){"use strict";r=[n(4651),n(2340)],void 0===(o="function"==typeof(i=function(e){return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?i.apply(t,r):i)||(e.exports=o)}()},2340:(e,t,n)=>{var i,r,o;!function(s){"use strict";r=[n(4651)],void 0===(o="function"==typeof(i=function(e){return e.ui=e.ui||{},e.ui.version="1.13.3"})?i.apply(t,r):i)||(e.exports=o)}()},8934:(e,t,n)=>{var i,r,o;!function(s){"use strict";r=[n(4651),n(2340)],i=function(e){var t,n=0,i=Array.prototype.hasOwnProperty,r=Array.prototype.slice;return e.cleanData=(t=e.cleanData,function(n){var i,r,o;for(o=0;null!=(r=n[o]);o++)(i=e._data(r,"events"))&&i.remove&&e(r).triggerHandler("remove");t(n)}),e.widget=function(t,n,i){var r,o,s,a={},l=t.split(".")[0],d=l+"-"+(t=t.split(".")[1]);return i||(i=n,n=e.Widget),Array.isArray(i)&&(i=e.extend.apply(null,[{}].concat(i))),e.expr.pseudos[d.toLowerCase()]=function(t){return!!e.data(t,d)},e[l]=e[l]||{},r=e[l][t],o=e[l][t]=function(e,t){if(!this||!this._createWidget)return new o(e,t);arguments.length&&this._createWidget(e,t)},e.extend(o,r,{version:i.version,_proto:e.extend({},i),_childConstructors:[]}),(s=new n).options=e.widget.extend({},s.options),e.each(i,(function(e,t){a[e]="function"==typeof t?function(){function i(){return n.prototype[e].apply(this,arguments)}function r(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,o=this._superApply;return this._super=i,this._superApply=r,e=t.apply(this,arguments),this._super=n,this._superApply=o,e}}():t})),o.prototype=e.widget.extend(s,{widgetEventPrefix:r&&s.widgetEventPrefix||t},a,{constructor:o,namespace:l,widgetName:t,widgetFullName:d}),r?(e.each(r._childConstructors,(function(t,n){var i=n.prototype;e.widget(i.namespace+"."+i.widgetName,o,n._proto)})),delete r._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var n,o,s=r.call(arguments,1),a=0,l=s.length;a<l;a++)for(n in s[a])o=s[a][n],i.call(s[a],n)&&void 0!==o&&(e.isPlainObject(o)?t[n]=e.isPlainObject(t[n])?e.widget.extend({},t[n],o):e.widget.extend({},o):t[n]=o);return t},e.widget.bridge=function(t,n){var i=n.prototype.widgetFullName||t;e.fn[t]=function(o){var s="string"==typeof o,a=r.call(arguments,1),l=this;return s?this.length||"instance"!==o?this.each((function(){var n,r=e.data(this,i);return"instance"===o?(l=r,!1):r?"function"!=typeof r[o]||"_"===o.charAt(0)?e.error("no such method '"+o+"' for "+t+" widget instance"):(n=r[o].apply(r,a))!==r&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+o+"'")})):l=void 0:(a.length&&(o=e.widget.extend.apply(null,[o].concat(a))),this.each((function(){var t=e.data(this,i);t?(t.option(o||{}),t._init&&t._init()):e.data(this,i,new n(o,this))}))),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,n){t._removeClass(n,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var i,r,o,s=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(s={},i=t.split("."),t=i.shift(),i.length){for(r=s[t]=e.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)r[i[o]]=r[i[o]]||{},r=r[i[o]];if(t=i.pop(),1===arguments.length)return void 0===r[t]?null:r[t];r[t]=n}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=n}return this._setOptions(s),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var n,i,r;for(n in t)r=this.classesElementLookup[n],t[n]!==this.options.classes[n]&&r&&r.length&&(i=e(r.get()),this._removeClass(r,n),i.addClass(this._classes({element:i,keys:n,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var n=[],i=this;function r(){var n=[];t.element.each((function(t,r){e.map(i.classesElementLookup,(function(e){return e})).some((function(e){return e.is(r)}))||n.push(r)})),i._on(e(n),{remove:"_untrackClassesElement"})}function o(o,s){var a,l;for(l=0;l<o.length;l++)a=i.classesElementLookup[o[l]]||e(),t.add?(r(),a=e(e.uniqueSort(a.get().concat(t.element.get())))):a=e(a.not(t.element).get()),i.classesElementLookup[o[l]]=a,n.push(o[l]),s&&t.classes[o[l]]&&n.push(t.classes[o[l]])}return(t=e.extend({element:this.element,classes:this.options.classes||{}},t)).keys&&o(t.keys.match(/\S+/g)||[],!0),t.extra&&o(t.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,(function(i,r){-1!==e.inArray(t.target,r)&&(n.classesElementLookup[i]=e(r.not(t.target).get()))})),this._off(e(t.target))},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,i){i="boolean"==typeof i?i:n;var r="string"==typeof e||null===e,o={extra:r?t:n,keys:r?e:t,element:r?this.element:e,add:i};return o.element.toggleClass(this._classes(o),i),this},_on:function(t,n,i){var r,o=this;"boolean"!=typeof t&&(i=n,n=t,t=!1),i?(n=r=e(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,r=this.widget()),e.each(i,(function(i,s){function a(){if(t||!0!==o.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof s?o[s]:s).apply(o,arguments)}"string"!=typeof s&&(a.guid=s.guid=s.guid||a.guid||e.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),d=l[1]+o.eventNamespace,c=l[2];c?r.on(d,c,a):n.on(d,a)}))},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(n),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var n=this;return setTimeout((function(){return("string"==typeof e?n[e]:e).apply(n,arguments)}),t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,i){var r,o,s=this.options[t];if(i=i||{},(n=e.Event(n)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(r in o)r in n||(n[r]=o[r]);return this.element.trigger(n,i),!("function"==typeof s&&!1===s.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,n){e.Widget.prototype["_"+t]=function(i,r,o){var s;"string"==typeof r&&(r={effect:r});var a=r?!0===r||"number"==typeof r?n:r.effect||n:t;"number"==typeof(r=r||{})?r={duration:r}:!0===r&&(r={}),s=!e.isEmptyObject(r),r.complete=o,r.delay&&i.delay(r.delay),s&&e.effects&&e.effects.effect[a]?i[t](r):a!==t&&i[a]?i[a](r.duration,r.easing,o):i.queue((function(n){e(this)[t](),o&&o.call(i[0]),n()}))}})),e.widget},void 0===(o=i.apply(t,r))||(e.exports=o)}()},8821:(e,t,n)=>{var i,r,o;!function(s){"use strict";r=[n(4651),n(6571),n(2340),n(8934)],void 0===(o="function"==typeof(i=function(e){var t=!1;return e(document).on("mouseup",(function(){t=!1})),e.widget("ui.mouse",{version:"1.13.3",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(n){if(!0===e.data(n.target,t.widgetName+".preventClickEvent"))return e.removeData(n.target,t.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(n){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(n),this._mouseDownEvent=n;var i=this,r=1===n.which,o=!("string"!=typeof this.options.cancel||!n.target.nodeName)&&e(n.target).closest(this.options.cancel).length;return!(r&&!o&&this._mouseCapture(n)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){i.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(n)&&this._mouseDelayMet(n)&&(this._mouseStarted=!1!==this._mouseStart(n),!this._mouseStarted)?(n.preventDefault(),0):(!0===e.data(n.target,this.widgetName+".preventClickEvent")&&e.removeData(n.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return i._mouseMove(e)},this._mouseUpDelegate=function(e){return i._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),n.preventDefault(),t=!0,0)))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(n){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,n.target===this._mouseDownEvent.target&&e.data(n.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(n)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,n.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?i.apply(t,r):i)||(e.exports=o)}()},1449:(e,t,n)=>{var i,r,o;!function(s){"use strict";r=[n(4651),n(8821),n(5074),n(2340),n(8934)],i=function(e){return e.widget("ui.slider",e.ui.mouse,{version:"1.13.3",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,n,i=this.options,r=this.element.find(".ui-slider-handle"),o=[];for(n=i.values&&i.values.length||1,r.length>n&&(r.slice(n).remove(),r=r.slice(0,n)),t=r.length;t<n;t++)o.push("<span tabindex='0'></span>");this.handles=r.add(e(o.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each((function(t){e(this).data("ui-slider-handle-index",t).attr("tabIndex",0)}))},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:Array.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=e("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==t.range&&"max"!==t.range||this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var n,i,r,o,s,a,l,d=this,c=this.options;return!c.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(n),r=this._valueMax()-this._valueMin()+1,this.handles.each((function(t){var n=Math.abs(i-d.values(t));(r>n||r===n&&(t===d._lastChangedValue||d.values(t)===c.min))&&(r=n,o=e(this),s=t)})),!1!==this._start(t,s)&&(this._mouseSliding=!0,this._handleIndex=s,this._addClass(o,null,"ui-state-active"),o.trigger("focus"),a=o.offset(),l=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:t.pageX-a.left-o.width()/2,top:t.pageY-a.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,s,i),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,i,r,o;return"horizontal"===this.orientation?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(i=n/t)>1&&(i=1),i<0&&(i=0),"vertical"===this.orientation&&(i=1-i),r=this._valueMax()-this._valueMin(),o=this._valueMin()+i*r,this._trimAlignValue(o)},_uiHash:function(e,t,n){var i={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(i.value=void 0!==t?t:this.values(e),i.values=n||this.values()),i},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,n){var i,r=this.value(),o=this.values();this._hasMultipleValues()&&(i=this.values(t?0:1),r=this.values(t),2===this.options.values.length&&!0===this.options.range&&(n=0===t?Math.min(i,n):Math.max(i,n)),o[t]=n),n!==r&&!1!==this._trigger("slide",e,this._uiHash(t,n,o))&&(this._hasMultipleValues()?this.values(t,n):this.value(n))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var n,i,r;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!Array.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(n=this.options.values,i=arguments[0],r=0;r<n.length;r+=1)n[r]=this._trimAlignValue(i[r]),this._change(null,r);this._refreshValue()},_setOption:function(e,t){var n,i=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(i=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),n=i-1;n>=0;n--)this._change(null,n);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,n,i;if(arguments.length)return t=this.options.values[e],this._trimAlignValue(t);if(this._hasMultipleValues()){for(n=this.options.values.slice(),i=0;i<n.length;i+=1)n[i]=this._trimAlignValue(n[i]);return n}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,n=(e-this._valueMin())%t,i=e-n;return 2*Math.abs(n)>=t&&(i+=n>0?t:-t),parseFloat(i.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),n=this.options.step;(e=Math.round((e-t)/n)*n+t)>this.options.max&&(e-=n),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return-1===n?0:t.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,n,i,r,o,s=this.options.range,a=this.options,l=this,d=!this._animateOff&&a.animate,c={};this._hasMultipleValues()?this.handles.each((function(i){n=(l.values(i)-l._valueMin())/(l._valueMax()-l._valueMin())*100,c["horizontal"===l.orientation?"left":"bottom"]=n+"%",e(this).stop(1,1)[d?"animate":"css"](c,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===i&&l.range.stop(1,1)[d?"animate":"css"]({left:n+"%"},a.animate),1===i&&l.range[d?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:a.animate})):(0===i&&l.range.stop(1,1)[d?"animate":"css"]({bottom:n+"%"},a.animate),1===i&&l.range[d?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:a.animate}))),t=n})):(i=this.value(),r=this._valueMin(),o=this._valueMax(),n=o!==r?(i-r)/(o-r)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[d?"animate":"css"](c,a.animate),"min"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[d?"animate":"css"]({width:n+"%"},a.animate),"max"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[d?"animate":"css"]({width:100-n+"%"},a.animate),"min"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[d?"animate":"css"]({height:n+"%"},a.animate),"max"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[d?"animate":"css"]({height:100-n+"%"},a.animate))},_handleEvents:{keydown:function(t){var n,i,r,o=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(e(t.target),null,"ui-state-active"),!1===this._start(t,o)))return}switch(r=this.options.step,n=i=this._hasMultipleValues()?this.values(o):this.value(),t.keyCode){case e.ui.keyCode.HOME:i=this._valueMin();break;case e.ui.keyCode.END:i=this._valueMax();break;case e.ui.keyCode.PAGE_UP:i=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(n===this._valueMax())return;i=this._trimAlignValue(n+r);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(n===this._valueMin())return;i=this._trimAlignValue(n-r)}this._slide(t,o,i)},keyup:function(t){var n=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,n),this._change(t,n),this._removeClass(e(t.target),null,"ui-state-active"))}}})},void 0===(o=i.apply(t,r))||(e.exports=o)}()},4651:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(i,r){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},d=o.push,c=o.indexOf,u={},h=u.toString,f=u.hasOwnProperty,p=f.toString,A=p.call(Object),m={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},b=function(e){return null!=e&&e===e.window},v=i.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var i,r,o=(n=n||v).createElement("script");if(o.text=e,t)for(i in C)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[h.call(e)]||"object":typeof e}var _="3.7.1",B=/HTML$/i,E=function(e,t){return new E.fn.init(e,t)};function x(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!g(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}E.fn=E.prototype={jquery:_,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:d,sort:o.sort,splice:o.splice},E.extend=E.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[a]||{},a++),"object"==typeof s||g(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(d&&i&&(E.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||E.isPlainObject(n)?n:{},r=!1,s[t]=E.extend(d,o,i)):void 0!==i&&(s[t]=i));return s},E.extend({expando:"jQuery"+(_+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==h.call(e)||(t=s(e))&&("function"!=typeof(n=f.call(t,"constructor")&&t.constructor)||p.call(n)!==A))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(x(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,r=e.nodeType;if(!r)for(;t=e[i++];)n+=E.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(x(Object(e))?E.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!B.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(x(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return l(s)},guid:1,support:m}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=o[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var T=o.pop,j=o.sort,D=o.splice,S="[\\x20\\t\\r\\n\\f]",I=new RegExp("^"+S+"+|((?:^|[^\\\\])(?:\\\\.)*)"+S+"+$","g");E.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var M=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function P(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}E.escapeSelector=function(e){return(e+"").replace(M,P)};var R=v,O=d;!function(){var e,t,n,r,s,l,d,u,h,p,A=O,g=E.expando,b=0,v=0,C=ee(),y=ee(),w=ee(),_=ee(),B=function(e,t){return e===t&&(s=!0),0},x="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="(?:\\\\[\\da-fA-F]{1,6}"+S+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",P="\\["+S+"*("+M+")(?:"+S+"*([*^$|!~]?=)"+S+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+S+"*\\]",L=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",N=new RegExp(S+"+","g"),z=new RegExp("^"+S+"*,"+S+"*"),F=new RegExp("^"+S+"*([>+~]|"+S+")"+S+"*"),q=new RegExp(S+"|>"),U=new RegExp(L),$=new RegExp("^"+M+"$"),H={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+S+"*(even|odd|(([+-]|)(\\d*)n|)"+S+"*(?:([+-]|)"+S+"*(\\d+)|))"+S+"*\\)|)","i"),bool:new RegExp("^(?:"+x+")$","i"),needsContext:new RegExp("^"+S+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+S+"*((?:-\\d)?\\d*)"+S+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+S+"?|\\\\([^\\r\\n\\f])","g"),J=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},X=function(){le()},Z=he((function(e){return!0===e.disabled&&k(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{A.apply(o=a.call(R.childNodes),R.childNodes),o[R.childNodes.length].nodeType}catch(e){A={apply:function(e,t){O.apply(e,a.call(t))},call:function(e){O.apply(e,a.call(arguments,1))}}}function Q(e,t,n,i){var r,o,s,a,d,c,f,p=t&&t.ownerDocument,b=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==b&&9!==b&&11!==b)return n;if(!i&&(le(t),t=t||l,u)){if(11!==b&&(d=G.exec(e)))if(r=d[1]){if(9===b){if(!(s=t.getElementById(r)))return n;if(s.id===r)return A.call(n,s),n}else if(p&&(s=p.getElementById(r))&&Q.contains(t,s)&&s.id===r)return A.call(n,s),n}else{if(d[2])return A.apply(n,t.getElementsByTagName(e)),n;if((r=d[3])&&t.getElementsByClassName)return A.apply(n,t.getElementsByClassName(r)),n}if(!(_[e+" "]||h&&h.test(e))){if(f=e,p=t,1===b&&(q.test(e)||F.test(e))){for((p=K.test(e)&&ae(t.parentNode)||t)==t&&m.scope||((a=t.getAttribute("id"))?a=E.escapeSelector(a):t.setAttribute("id",a=g)),o=(c=ce(e)).length;o--;)c[o]=(a?"#"+a:":scope")+" "+ue(c[o]);f=c.join(",")}try{return A.apply(n,p.querySelectorAll(f)),n}catch(t){_(e,!0)}finally{a===g&&t.removeAttribute("id")}}}return be(e.replace(I,"$1"),t,n,i)}function ee(){var e=[];return function n(i,r){return e.push(i+" ")>t.cacheLength&&delete n[e.shift()],n[i+" "]=r}}function te(e){return e[g]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return k(t,"input")&&t.type===e}}function re(e){return function(t){return(k(t,"input")||k(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Z(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return te((function(t){return t=+t,te((function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,i=e?e.ownerDocument||e:R;return i!=l&&9===i.nodeType&&i.documentElement?(d=(l=i).documentElement,u=!E.isXMLDoc(l),p=d.matches||d.webkitMatchesSelector||d.msMatchesSelector,d.msMatchesSelector&&R!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",X),m.getById=ne((function(e){return d.appendChild(e).id=E.expando,!l.getElementsByName||!l.getElementsByName(E.expando).length})),m.disconnectedMatch=ne((function(e){return p.call(e,"*")})),m.scope=ne((function(){return l.querySelectorAll(":scope")})),m.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),m.getById?(t.filter.ID=function(e){var t=e.replace(Y,J);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&u){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Y,J);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&u){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&u)return t.getElementsByClassName(e)},h=[],ne((function(e){var t;d.appendChild(e).innerHTML="<a id='"+g+"' href='' disabled='disabled'></a><select id='"+g+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+S+"*(?:value|"+x+")"),e.querySelectorAll("[id~="+g+"-]").length||h.push("~="),e.querySelectorAll("a#"+g+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),d.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+S+"*name"+S+"*="+S+"*(?:''|\"\")")})),m.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),B=function(e,t){if(e===t)return s=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==R&&Q.contains(R,e)?-1:t===l||t.ownerDocument==R&&Q.contains(R,t)?1:r?c.call(r,e)-c.call(r,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),u&&!_[t+" "]&&(!h||!h.test(t)))try{var n=p.call(e,t);if(n||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){_(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),E.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var i=t.attrHandle[n.toLowerCase()],r=i&&f.call(t.attrHandle,n.toLowerCase())?i(e,n,!u):void 0;return void 0!==r?r:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},E.uniqueSort=function(e){var t,n=[],i=0,o=0;if(s=!m.sortStable,r=!m.sortStable&&a.call(e,0),j.call(e,B),s){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)D.call(e,n[i],1)}return r=null,e},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(a.apply(this)))},t=E.expr={cacheLength:50,createPseudo:te,match:H,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Y,J),e[3]=(e[3]||e[4]||e[5]||"").replace(Y,J),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return H.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=ce(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Y,J).toLowerCase();return"*"===e?function(){return!0}:function(e){return k(e,t)}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+S+")"+e+"("+S+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=Q.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(N," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var d,c,u,h,f,p=o!==s?"nextSibling":"previousSibling",A=t.parentNode,m=a&&t.nodeName.toLowerCase(),v=!l&&!a,C=!1;if(A){if(o){for(;p;){for(u=t;u=u[p];)if(a?k(u,m):1===u.nodeType)return!1;f=p="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?A.firstChild:A.lastChild],s&&v){for(C=(h=(d=(c=A[g]||(A[g]={}))[e]||[])[0]===b&&d[1])&&d[2],u=h&&A.childNodes[h];u=++h&&u&&u[p]||(C=h=0)||f.pop();)if(1===u.nodeType&&++C&&u===t){c[e]=[b,h,C];break}}else if(v&&(C=h=(d=(c=t[g]||(t[g]={}))[e]||[])[0]===b&&d[1]),!1===C)for(;(u=++h&&u&&u[p]||(C=h=0)||f.pop())&&(!(a?k(u,m):1===u.nodeType)||!++C||(v&&((c=u[g]||(u[g]={}))[e]=[b,C]),u!==t)););return(C-=r)===i||C%i==0&&C/i>=0}}},PSEUDO:function(e,n){var i,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return r[g]?r(n):r.length>1?(i=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var i,o=r(e,n),s=o.length;s--;)e[i=c.call(e,o[s])]=!(t[i]=o[s])})):function(e){return r(e,0,i)}):r}},pseudos:{not:te((function(e){var t=[],n=[],i=ge(e.replace(I,"$1"));return i[g]?te((function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Q(e,t).length>0}})),contains:te((function(e){return e=e.replace(Y,J),function(t){return(t.textContent||E.text(t)).indexOf(e)>-1}})),lang:te((function(e){return $.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(Y,J).toLowerCase(),function(t){var n;do{if(n=u?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===d},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return k(e,"input")&&!!e.checked||k(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return V.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){return k(e,"input")&&"button"===e.type||k(e,"button")},text:function(e){var t;return k(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se((function(){return[0]})),last:se((function(e,t){return[t-1]})),eq:se((function(e,t,n){return[n<0?n+t:n]})),even:se((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:se((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:se((function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:se((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ie(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=re(e);function de(){}function ce(e,n){var i,r,o,s,a,l,d,c=y[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],d=t.preFilter;a;){for(s in i&&!(r=z.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=F.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(I," ")}),a=a.slice(i.length)),t.filter)!(r=H[s].exec(a))||d[s]&&!(r=d[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?Q.error(e):y(e,l).slice(0)}function ue(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function he(e,t,n){var i=t.dir,r=t.next,o=r||i,s=n&&"parentNode"===o,a=v++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var d,c,u=[b,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(c=t[g]||(t[g]={}),r&&k(t,r))t=t[i]||t;else{if((d=c[o])&&d[0]===b&&d[1]===a)return u[2]=d[2];if(c[o]=u,u[2]=e(t,n,l))return!0}return!1}}function fe(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function pe(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,d=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),d&&t.push(a)));return s}function Ae(e,t,n,i,r,o){return i&&!i[g]&&(i=Ae(i)),r&&!r[g]&&(r=Ae(r,o)),te((function(o,s,a,l){var d,u,h,f,p=[],m=[],g=s.length,b=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)Q(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),v=!e||!o&&t?b:pe(b,p,e,a,l);if(n?n(v,f=r||(o?e:g||i)?[]:s,a,l):f=v,i)for(d=pe(f,m),i(d,[],a,l),u=d.length;u--;)(h=d[u])&&(f[m[u]]=!(v[m[u]]=h));if(o){if(r||e){if(r){for(d=[],u=f.length;u--;)(h=f[u])&&d.push(v[u]=h);r(null,f=[],d,l)}for(u=f.length;u--;)(h=f[u])&&(d=r?c.call(o,h):p[u])>-1&&(o[d]=!(s[d]=h))}}else f=pe(f===s?f.splice(g,f.length):f),r?r(null,s,f,l):A.apply(s,f)}))}function me(e){for(var i,r,o,s=e.length,a=t.relative[e[0].type],l=a||t.relative[" "],d=a?1:0,u=he((function(e){return e===i}),l,!0),h=he((function(e){return c.call(i,e)>-1}),l,!0),f=[function(e,t,r){var o=!a&&(r||t!=n)||((i=t).nodeType?u(e,t,r):h(e,t,r));return i=null,o}];d<s;d++)if(r=t.relative[e[d].type])f=[he(fe(f),r)];else{if((r=t.filter[e[d].type].apply(null,e[d].matches))[g]){for(o=++d;o<s&&!t.relative[e[o].type];o++);return Ae(d>1&&fe(f),d>1&&ue(e.slice(0,d-1).concat({value:" "===e[d-2].type?"*":""})).replace(I,"$1"),r,d<o&&me(e.slice(d,o)),o<s&&me(e=e.slice(o)),o<s&&ue(e))}f.push(r)}return fe(f)}function ge(e,i){var r,o=[],s=[],a=w[e+" "];if(!a){for(i||(i=ce(e)),r=i.length;r--;)(a=me(i[r]))[g]?o.push(a):s.push(a);a=w(e,function(e,i){var r=i.length>0,o=e.length>0,s=function(s,a,d,c,h){var f,p,m,g=0,v="0",C=s&&[],y=[],w=n,_=s||o&&t.find.TAG("*",h),B=b+=null==w?1:Math.random()||.1,x=_.length;for(h&&(n=a==l||a||h);v!==x&&null!=(f=_[v]);v++){if(o&&f){for(p=0,a||f.ownerDocument==l||(le(f),d=!u);m=e[p++];)if(m(f,a||l,d)){A.call(c,f);break}h&&(b=B)}r&&((f=!m&&f)&&g--,s&&C.push(f))}if(g+=v,r&&v!==g){for(p=0;m=i[p++];)m(C,y,a,d);if(s){if(g>0)for(;v--;)C[v]||y[v]||(y[v]=T.call(c));y=pe(y)}A.apply(c,y),h&&!s&&y.length>0&&g+i.length>1&&E.uniqueSort(c)}return h&&(b=B,n=w),C};return r?te(s):s}(s,o)),a.selector=e}return a}function be(e,n,i,r){var o,s,a,l,d,c="function"==typeof e&&e,h=!r&&ce(e=c.selector||e);if(i=i||[],1===h.length){if((s=h[0]=h[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===n.nodeType&&u&&t.relative[s[1].type]){if(!(n=(t.find.ID(a.matches[0].replace(Y,J),n)||[])[0]))return i;c&&(n=n.parentNode),e=e.slice(s.shift().value.length)}for(o=H.needsContext.test(e)?0:s.length;o--&&(a=s[o],!t.relative[l=a.type]);)if((d=t.find[l])&&(r=d(a.matches[0].replace(Y,J),K.test(s[0].type)&&ae(n.parentNode)||n))){if(s.splice(o,1),!(e=r.length&&ue(s)))return A.apply(i,r),i;break}}return(c||ge(e,h))(r,n,!u,i,!n||K.test(e)&&ae(n.parentNode)||n),i}de.prototype=t.filters=t.pseudos,t.setFilters=new de,m.sortStable=g.split("").sort(B).join("")===g,le(),m.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),E.find=Q,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,Q.compile=ge,Q.select=be,Q.setDocument=le,Q.tokenize=ce,Q.escape=E.escapeSelector,Q.getText=E.text,Q.isXML=E.isXMLDoc,Q.selectors=E.expr,Q.support=E.support,Q.uniqueSort=E.uniqueSort}();var L=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&E(e).is(n))break;i.push(e)}return i},N=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},z=E.expr.match.needsContext,F=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function q(e,t,n){return g(t)?E.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?E.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?E.grep(e,(function(e){return c.call(t,e)>-1!==n})):E.filter(t,e,n)}E.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?E.find.matchesSelector(i,e)?[i]:[]:E.find.matches(e,E.grep(t,(function(e){return 1===e.nodeType})))},E.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(E(e).filter((function(){for(t=0;t<i;t++)if(E.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)E.find(e,r[t],n);return i>1?E.uniqueSort(n):n},filter:function(e){return this.pushStack(q(this,e||[],!1))},not:function(e){return this.pushStack(q(this,e||[],!0))},is:function(e){return!!q(this,"string"==typeof e&&z.test(e)?E(e):e||[],!1).length}});var U,$=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||U,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:$.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),F.test(i[1])&&E.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=v.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,U=E(v);var H=/^(?:parents|prev(?:Until|All))/,W={children:!0,contents:!0,next:!0,prev:!0};function V(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&E(e);if(!z.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(E(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return V(e,"nextSibling")},prev:function(e){return V(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return N((e.parentNode||{}).firstChild,e)},children:function(e){return N(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},(function(e,t){E.fn[e]=function(n,i){var r=E.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=E.filter(i,r)),this.length>1&&(W[e]||E.uniqueSort(r),H.test(e)&&r.reverse()),this.pushStack(r)}}));var G=/[^\x20\t\r\n\f]+/g;function K(e){return e}function Y(e){throw e}function J(e,t,n,i){var r;try{e&&g(r=e.promise)?r.call(e).done(t).fail(n):e&&g(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match(G)||[],(function(e,n){t[n]=!0})),t}(e):E.extend({},e);var t,n,i,r,o=[],s=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},d={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){E.each(n,(function(n,i){g(i)?e.unique&&d.has(i)||o.push(i):i&&i.length&&"string"!==w(i)&&t(i)}))}(arguments),n&&!t&&l()),this},remove:function(){return E.each(arguments,(function(e,t){for(var n;(n=E.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?E.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return E.Deferred((function(n){E.each(t,(function(t,i){var r=g(e[i[4]])&&e[i[4]];o[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,r){var o=0;function s(e,t,n,r){return function(){var a=this,l=arguments,d=function(){var i,d;if(!(e<o)){if((i=n.apply(a,l))===t.promise())throw new TypeError("Thenable self-resolution");d=i&&("object"==typeof i||"function"==typeof i)&&i.then,g(d)?r?d.call(i,s(o,t,K,r),s(o,t,Y,r)):(o++,d.call(i,s(o,t,K,r),s(o,t,Y,r),s(o,t,K,t.notifyWith))):(n!==K&&(a=void 0,l=[i]),(r||t.resolveWith)(a,l))}},c=r?d:function(){try{d()}catch(i){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(i,c.error),e+1>=o&&(n!==Y&&(a=void 0,l=[i]),t.rejectWith(a,l))}};e?c():(E.Deferred.getErrorHook?c.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(c.error=E.Deferred.getStackHook()),i.setTimeout(c))}}return E.Deferred((function(i){t[0][3].add(s(0,i,g(r)?r:K,i.notifyWith)),t[1][3].add(s(0,i,g(e)?e:K)),t[2][3].add(s(0,i,g(n)?n:Y))})).promise()},promise:function(e){return null!=e?E.extend(e,r):r}},o={};return E.each(t,(function(e,i){var s=i[2],a=i[5];r[i[1]]=s.add,a&&s.add((function(){n=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(i[3].fire),o[i[0]]=function(){return o[i[0]+"With"](this===o?void 0:this,arguments),this},o[i[0]+"With"]=s.fireWith})),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=a.call(arguments),o=E.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(J(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||g(r[n]&&r[n].then)))return o.then();for(;n--;)J(r[n],s(n),o.reject);return o.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&X.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){i.setTimeout((function(){throw e}))};var Z=E.Deferred();function Q(){v.removeEventListener("DOMContentLoaded",Q),i.removeEventListener("load",Q),E.ready()}E.fn.ready=function(e){return Z.then(e).catch((function(e){E.readyException(e)})),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||Z.resolveWith(v,[E]))}}),E.ready.then=Z.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?i.setTimeout(E.ready):(v.addEventListener("DOMContentLoaded",Q),i.addEventListener("load",Q));var ee=function(e,t,n,i,r,o,s){var a=0,l=e.length,d=null==n;if("object"===w(n))for(a in r=!0,n)ee(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,g(i)||(s=!0),d&&(s?(t.call(e,i),t=null):(d=t,t=function(e,t,n){return d.call(E(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:d?t.call(e):l?t(e[0],n):o},te=/^-ms-/,ne=/-([a-z])/g;function ie(e,t){return t.toUpperCase()}function re(e){return e.replace(te,"ms-").replace(ne,ie)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function se(){this.expando=E.expando+se.uid++}se.uid=1,se.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[re(t)]=n;else for(i in t)r[re(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][re(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(re):(t=re(t))in i?[t]:t.match(G)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||E.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.isEmptyObject(t)}};var ae=new se,le=new se,de=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function ue(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ce,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:de.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return le.hasData(e)||ae.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return ae.access(e,t,n)},_removeData:function(e,t){ae.remove(e,t)}}),E.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=le.get(o),1===o.nodeType&&!ae.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=re(i.slice(5)),ue(o,i,r[i]));ae.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=le.get(o,e))||void 0!==(n=ue(o,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),E.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ae.get(e,t),n&&(!i||Array.isArray(n)?i=ae.access(e,t,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),i=n.length,r=n.shift(),o=E._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,(function(){E.dequeue(e,t)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ae.get(e,n)||ae.access(e,n,{empty:E.Callbacks("once memory").add((function(){ae.remove(e,[t+"queue",n])}))})}}),E.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?E.queue(this[0],e):void 0===t?this:this.each((function(){var n=E.queue(this,e,t);E._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&E.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){E.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=E.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=ae.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var he=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=new RegExp("^(?:([+-])=|)("+he+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],Ae=v.documentElement,me=function(e){return E.contains(e.ownerDocument,e)},ge={composed:!0};Ae.getRootNode&&(me=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(ge)===e.ownerDocument});var be=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&me(e)&&"none"===E.css(e,"display")};function ve(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return E.css(e,t,"")},l=a(),d=n&&n[3]||(E.cssNumber[t]?"":"px"),c=e.nodeType&&(E.cssNumber[t]||"px"!==d&&+l)&&fe.exec(E.css(e,t));if(c&&c[3]!==d){for(l/=2,d=d||c[3],c=+l||1;s--;)E.style(e,t,c+d),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),c/=o;c*=2,E.style(e,t,c+d),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=d,i.start=c,i.end=r)),r}var Ce={};function ye(e){var t,n=e.ownerDocument,i=e.nodeName,r=Ce[i];return r||(t=n.body.appendChild(n.createElement(i)),r=E.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Ce[i]=r,r)}function we(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=ae.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&be(i)&&(r[o]=ye(i))):"none"!==n&&(r[o]="none",ae.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}E.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){be(this)?E(this).show():E(this).hide()}))}});var _e,Be,Ee=/^(?:checkbox|radio)$/i,xe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ke=/^$|^module$|\/(?:java|ecma)script/i;_e=v.createDocumentFragment().appendChild(v.createElement("div")),(Be=v.createElement("input")).setAttribute("type","radio"),Be.setAttribute("checked","checked"),Be.setAttribute("name","t"),_e.appendChild(Be),m.checkClone=_e.cloneNode(!0).cloneNode(!0).lastChild.checked,_e.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!_e.cloneNode(!0).lastChild.defaultValue,_e.innerHTML="<option></option>",m.option=!!_e.lastChild;var Te={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function je(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?E.merge([e],n):n}function De(e,t){for(var n=0,i=e.length;n<i;n++)ae.set(e[n],"globalEval",!t||ae.get(t[n],"globalEval"))}Te.tbody=Te.tfoot=Te.colgroup=Te.caption=Te.thead,Te.th=Te.td,m.option||(Te.optgroup=Te.option=[1,"<select multiple='multiple'>","</select>"]);var Se=/<|&#?\w+;/;function Ie(e,t,n,i,r){for(var o,s,a,l,d,c,u=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if((o=e[f])||0===o)if("object"===w(o))E.merge(h,o.nodeType?[o]:o);else if(Se.test(o)){for(s=s||u.appendChild(t.createElement("div")),a=(xe.exec(o)||["",""])[1].toLowerCase(),l=Te[a]||Te._default,s.innerHTML=l[1]+E.htmlPrefilter(o)+l[2],c=l[0];c--;)s=s.lastChild;E.merge(h,s.childNodes),(s=u.firstChild).textContent=""}else h.push(t.createTextNode(o));for(u.textContent="",f=0;o=h[f++];)if(i&&E.inArray(o,i)>-1)r&&r.push(o);else if(d=me(o),s=je(u.appendChild(o),"script"),d&&De(s),n)for(c=0;o=s[c++];)ke.test(o.type||"")&&n.push(o);return u}var Me=/^([^.]*)(?:\.(.+)|)/;function Pe(){return!0}function Re(){return!1}function Oe(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Oe(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Re;else if(!r)return e;return 1===o&&(s=r,r=function(e){return E().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=E.guid++)),e.each((function(){E.event.add(this,t,r,i,n)}))}function Le(e,t,n){n?(ae.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var n,i=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),ae.set(this,t,i),this[t](),n=ae.get(this,t),ae.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(ae.set(this,t,E.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Pe)}})):void 0===ae.get(e,t)&&E.event.add(e,t,Pe)}E.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,d,c,u,h,f,p,A,m=ae.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&E.find.matchesSelector(Ae,r),n.guid||(n.guid=E.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),d=(t=(t||"").match(G)||[""]).length;d--;)f=A=(a=Me.exec(t[d])||[])[1],p=(a[2]||"").split(".").sort(),f&&(u=E.event.special[f]||{},f=(r?u.delegateType:u.bindType)||f,u=E.event.special[f]||{},c=E.extend({type:f,origType:A,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,p,s)||e.addEventListener&&e.addEventListener(f,s)),u.add&&(u.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),E.event.global[f]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,d,c,u,h,f,p,A,m=ae.hasData(e)&&ae.get(e);if(m&&(l=m.events)){for(d=(t=(t||"").match(G)||[""]).length;d--;)if(f=A=(a=Me.exec(t[d])||[])[1],p=(a[2]||"").split(".").sort(),f){for(u=E.event.special[f]||{},h=l[f=(i?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)c=h[o],!r&&A!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,u.remove&&u.remove.call(e,c));s&&!h.length&&(u.teardown&&!1!==u.teardown.call(e,p,m.handle)||E.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)E.event.remove(e,f+t[d],n,i,!0);E.isEmptyObject(l)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=E.event.fix(e),d=(ae.get(this,"events")||Object.create(null))[l.type]||[],c=E.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=E.event.handlers.call(this,l,d),t=0;(r=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((E.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,d=e.target;if(l&&d.nodeType&&!("click"===e.type&&e.button>=1))for(;d!==this;d=d.parentNode||this)if(1===d.nodeType&&("click"!==e.type||!0!==d.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?E(r,this).index(d)>-1:E.find(r,this,null,[d]).length),s[r]&&o.push(i);o.length&&a.push({elem:d,handlers:o})}return d=this,l<t.length&&a.push({elem:d,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(E.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&k(t,"input")&&Le(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&k(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return Ee.test(t.type)&&t.click&&k(t,"input")&&ae.get(t,"click")||k(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Pe:Re,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Re,isPropagationStopped:Re,isImmediatePropagationStopped:Re,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Pe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Pe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Pe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(v.documentMode){var n=ae.get(this,"handle"),i=E.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else E.event.simulate(t,e.target,E.event.fix(e))}E.event.special[e]={setup:function(){var i;if(Le(this,e,!0),!v.documentMode)return!1;(i=ae.get(this,t))||this.addEventListener(t,n),ae.set(this,t,(i||0)+1)},trigger:function(){return Le(this,e),!0},teardown:function(){var e;if(!v.documentMode)return!1;(e=ae.get(this,t)-1)?ae.set(this,t,e):(this.removeEventListener(t,n),ae.remove(this,t))},_default:function(t){return ae.get(t.target,e)},delegateType:t},E.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=v.documentMode?this:i,o=ae.get(r,t);o||(v.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),ae.set(r,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=v.documentMode?this:i,o=ae.get(r,t)-1;o?ae.set(r,t,o):(v.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),ae.remove(r,t))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){E.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||E.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}})),E.fn.extend({on:function(e,t,n,i){return Oe(this,e,t,n,i)},one:function(e,t,n,i){return Oe(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,E(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Re),this.each((function(){E.event.remove(this,e,n,t)}))}});var Ne=/<script|<style|<link/i,ze=/checked\s*(?:[^=]|=\s*.checked.)/i,Fe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function qe(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Ue(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function $e(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,i,r,o,s,a;if(1===t.nodeType){if(ae.hasData(e)&&(a=ae.get(e).events))for(r in ae.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)E.event.add(t,r,a[r][n]);le.hasData(e)&&(o=le.access(e),s=E.extend({},o),le.set(t,s))}}function We(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ee.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ve(e,t,n,i){t=l(t);var r,o,s,a,d,c,u=0,h=e.length,f=h-1,p=t[0],A=g(p);if(A||h>1&&"string"==typeof p&&!m.checkClone&&ze.test(p))return e.each((function(r){var o=e.eq(r);A&&(t[0]=p.call(this,r,o.html())),Ve(o,t,n,i)}));if(h&&(o=(r=Ie(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=(s=E.map(je(r,"script"),Ue)).length;u<h;u++)d=r,u!==f&&(d=E.clone(d,!0,!0),a&&E.merge(s,je(d,"script"))),n.call(e[u],d,u);if(a)for(c=s[s.length-1].ownerDocument,E.map(s,$e),u=0;u<a;u++)d=s[u],ke.test(d.type||"")&&!ae.access(d,"globalEval")&&E.contains(c,d)&&(d.src&&"module"!==(d.type||"").toLowerCase()?E._evalUrl&&!d.noModule&&E._evalUrl(d.src,{nonce:d.nonce||d.getAttribute("nonce")},c):y(d.textContent.replace(Fe,""),d,c))}return e}function Ge(e,t,n){for(var i,r=t?E.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||E.cleanData(je(i)),i.parentNode&&(n&&me(i)&&De(je(i,"script")),i.parentNode.removeChild(i));return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=me(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(s=je(a),i=0,r=(o=je(e)).length;i<r;i++)We(o[i],s[i]);if(t)if(n)for(o=o||je(e),s=s||je(a),i=0,r=o.length;i<r;i++)He(o[i],s[i]);else He(e,a);return(s=je(a,"script")).length>0&&De(s,!l&&je(e,"script")),a},cleanData:function(e){for(var t,n,i,r=E.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[ae.expando]){if(t.events)for(i in t.events)r[i]?E.event.remove(n,i):E.removeEvent(n,i,t.handle);n[ae.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),E.fn.extend({detach:function(e){return Ge(this,e,!0)},remove:function(e){return Ge(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ve(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,e).appendChild(e)}))},prepend:function(){return Ve(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=qe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(je(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return E.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!Te[(xe.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(je(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ve(this,arguments,(function(t){var n=this.parentNode;E.inArray(this,e)<0&&(E.cleanData(je(this)),n&&n.replaceChild(t,this))}),e)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){E.fn[e]=function(e){for(var n,i=[],r=E(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),E(r[s])[t](n),d.apply(i,n.get());return this.pushStack(i)}}));var Ke=new RegExp("^("+he+")(?!px)[a-z%]+$","i"),Ye=/^--/,Je=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},Xe=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},Ze=new RegExp(pe.join("|"),"i");function Qe(e,t,n){var i,r,o,s,a=Ye.test(t),l=e.style;return(n=n||Je(e))&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(I,"$1")||void 0),""!==s||me(e)||(s=E.style(e,t)),!m.pixelBoxStyles()&&Ke.test(s)&&Ze.test(t)&&(i=l.width,r=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=i,l.minWidth=r,l.maxWidth=o)),void 0!==s?s+"":s}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){d.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ae.appendChild(d).appendChild(c);var e=i.getComputedStyle(c);n="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",s=36===t(e.right),r=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),Ae.removeChild(d),c=null}}function t(e){return Math.round(parseFloat(e))}var n,r,o,s,a,l,d=v.createElement("div"),c=v.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===c.style.backgroundClip,E.extend(m,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=v.createElement("table"),t=v.createElement("tr"),n=v.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",Ae.appendChild(e).appendChild(t).appendChild(n),r=i.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,Ae.removeChild(e)),a}}))}();var tt=["Webkit","Moz","ms"],nt=v.createElement("div").style,it={};function rt(e){return E.cssProps[e]||it[e]||(e in nt?e:it[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,st={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var i=fe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function dt(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0,d=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(d+=E.css(e,n+pe[s],!0,r)),i?("content"===n&&(l-=E.css(e,"padding"+pe[s],!0,r)),"margin"!==n&&(l-=E.css(e,"border"+pe[s]+"Width",!0,r))):(l+=E.css(e,"padding"+pe[s],!0,r),"padding"!==n?l+=E.css(e,"border"+pe[s]+"Width",!0,r):a+=E.css(e,"border"+pe[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l+d}function ct(e,t,n){var i=Je(e),r=(!m.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,i),o=r,s=Qe(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ke.test(s)){if(!n)return s;s="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&k(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===E.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===E.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+dt(e,t,n||(r?"border":"content"),o,i,s)+"px"}function ut(e,t,n,i,r){return new ut.prototype.init(e,t,n,i,r)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=re(t),l=Ye.test(t),d=e.style;if(l||(t=rt(a)),s=E.cssHooks[t]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:d[t];"string"==(o=typeof n)&&(r=fe.exec(n))&&r[1]&&(n=ve(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(E.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(d[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?d.setProperty(t,n):d[t]=n))}},css:function(e,t,n,i){var r,o,s,a=re(t);return Ye.test(t)||(t=rt(a)),(s=E.cssHooks[t]||E.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=Qe(e,t,i)),"normal"===r&&t in at&&(r=at[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),E.each(["height","width"],(function(e,t){E.cssHooks[t]={get:function(e,n,i){if(n)return!ot.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,i):Xe(e,st,(function(){return ct(e,t,i)}))},set:function(e,n,i){var r,o=Je(e),s=!m.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===E.css(e,"boxSizing",!1,o),l=i?dt(e,t,i,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-dt(e,t,"border",!1,o)-.5)),l&&(r=fe.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=E.css(e,t)),lt(0,n,l)}}})),E.cssHooks.marginLeft=et(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(e,t){E.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+pe[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(E.cssHooks[e+t].set=lt)})),E.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=Je(e),r=t.length;s<r;s++)o[t[s]]=E.css(e,t[s],!1,i);return o}return void 0!==n?E.style(e,t,n):E.css(e,t)}),e,t,arguments.length>1)}}),E.Tween=ut,ut.prototype={constructor:ut,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var e=ut.propHooks[this.prop];return e&&e.get?e.get(this):ut.propHooks._default.get(this)},run:function(e){var t,n=ut.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ut.propHooks._default.set(this),this}},ut.prototype.init.prototype=ut.prototype,ut.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}},ut.propHooks.scrollTop=ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=ut.prototype.init,E.fx.step={};var ht,ft,pt=/^(?:toggle|show|hide)$/,At=/queueHooks$/;function mt(){ft&&(!1===v.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(mt):i.setTimeout(mt,E.fx.interval),E.fx.tick())}function gt(){return i.setTimeout((function(){ht=void 0})),ht=Date.now()}function bt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=pe[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function vt(e,t,n){for(var i,r=(Ct.tweeners[t]||[]).concat(Ct.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function Ct(e,t,n){var i,r,o=0,s=Ct.prefilters.length,a=E.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=ht||gt(),n=Math.max(0,d.startTime+d.duration-t),i=1-(n/d.duration||0),o=0,s=d.tweens.length;o<s;o++)d.tweens[o].run(i);return a.notifyWith(e,[d,i,n]),i<1&&s?n:(s||a.notifyWith(e,[d,1,0]),a.resolveWith(e,[d]),!1)},d=a.promise({elem:e,props:E.extend({},t),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},n),originalProperties:t,originalOptions:n,startTime:ht||gt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=E.Tween(e,d.opts,t,n,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(i),i},stop:function(t){var n=0,i=t?d.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)d.tweens[n].run(1);return t?(a.notifyWith(e,[d,1,0]),a.resolveWith(e,[d,t])):a.rejectWith(e,[d,t]),this}}),c=d.props;for(function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=re(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=E.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(c,d.opts.specialEasing);o<s;o++)if(i=Ct.prefilters[o].call(d,e,c,d.opts))return g(i.stop)&&(E._queueHooks(d.elem,d.opts.queue).stop=i.stop.bind(i)),i;return E.map(c,vt,d),g(d.opts.start)&&d.opts.start.call(e,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),E.fx.timer(E.extend(l,{elem:e,anim:d,queue:d.opts.queue})),d}E.Animation=E.extend(Ct,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ve(n.elem,e,fe.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(G);for(var n,i=0,r=e.length;i<r;i++)n=e[i],Ct.tweeners[n]=Ct.tweeners[n]||[],Ct.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,l,d,c,u="width"in t||"height"in t,h=this,f={},p=e.style,A=e.nodeType&&be(e),m=ae.get(e,"fxshow");for(i in n.queue||(null==(s=E._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always((function(){h.always((function(){s.unqueued--,E.queue(e,"fx").length||s.empty.fire()}))}))),t)if(r=t[i],pt.test(r)){if(delete t[i],o=o||"toggle"===r,r===(A?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;A=!0}f[i]=m&&m[i]||E.style(e,i)}if((l=!E.isEmptyObject(t))||!E.isEmptyObject(f))for(i in u&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(d=m&&m.display)&&(d=ae.get(e,"display")),"none"===(c=E.css(e,"display"))&&(d?c=d:(we([e],!0),d=e.style.display||d,c=E.css(e,"display"),we([e]))),("inline"===c||"inline-block"===c&&null!=d)&&"none"===E.css(e,"float")&&(l||(h.done((function(){p.display=d})),null==d&&(c=p.display,d="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,f)l||(m?"hidden"in m&&(A=m.hidden):m=ae.access(e,"fxshow",{display:d}),o&&(m.hidden=!A),A&&we([e],!0),h.done((function(){for(i in A||we([e]),ae.remove(e,"fxshow"),f)E.style(e,i,f[i])}))),l=vt(A?m[i]:0,i,h),i in m||(m[i]=l.start,A&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?Ct.prefilters.unshift(e):Ct.prefilters.push(e)}}),E.speed=function(e,t,n){var i=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return E.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in E.fx.speeds?i.duration=E.fx.speeds[i.duration]:i.duration=E.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){g(i.old)&&i.old.call(this),i.queue&&E.dequeue(this,i.queue)},i},E.fn.extend({fadeTo:function(e,t,n,i){return this.filter(be).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=E.isEmptyObject(e),o=E.speed(t,n,i),s=function(){var t=Ct(this,E.extend({},e),o);(r||ae.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",o=E.timers,s=ae.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&At.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||E.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=ae.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=E.timers,s=i?i.length:0;for(n.finish=!0,E.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),E.each(["toggle","show","hide"],(function(e,t){var n=E.fn[t];E.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(bt(t,!0),e,i,r)}})),E.each({slideDown:bt("show"),slideUp:bt("hide"),slideToggle:bt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){E.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(ht=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),ht=void 0},E.fx.timer=function(e){E.timers.push(e),E.fx.start()},E.fx.interval=13,E.fx.start=function(){ft||(ft=!0,mt())},E.fx.stop=function(){ft=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(e,t){return e=E.fx&&E.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r)}}))},function(){var e=v.createElement("input"),t=v.createElement("select").appendChild(v.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=v.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var yt,wt=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return ee(this,E.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){E.removeAttr(this,e)}))}}),E.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(r=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=E.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&k(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(G);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=wt[t]||E.find.attr;wt[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=wt[s],wt[s]=r,r=null!=n(e,t,i)?s:null,wt[s]=o),r}}));var _t=/^(?:input|select|textarea|button)$/i,Bt=/^(?:a|area)$/i;function Et(e){return(e.match(G)||[]).join(" ")}function xt(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(G)||[]}E.fn.extend({prop:function(e,t){return ee(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[E.propFix[e]||e]}))}}),E.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,r=E.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||Bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(e){var t,n,i,r,o,s;return g(e)?this.each((function(t){E(this).addClass(e.call(this,t,xt(this)))})):(t=kt(e)).length?this.each((function(){if(i=xt(this),n=1===this.nodeType&&" "+Et(i)+" "){for(o=0;o<t.length;o++)r=t[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");s=Et(n),i!==s&&this.setAttribute("class",s)}})):this},removeClass:function(e){var t,n,i,r,o,s;return g(e)?this.each((function(t){E(this).removeClass(e.call(this,t,xt(this)))})):arguments.length?(t=kt(e)).length?this.each((function(){if(i=xt(this),n=1===this.nodeType&&" "+Et(i)+" "){for(o=0;o<t.length;o++)for(r=t[o];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");s=Et(n),i!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,i,r,o,s=typeof e,a="string"===s||Array.isArray(e);return g(e)?this.each((function(n){E(this).toggleClass(e.call(this,n,xt(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=kt(e),this.each((function(){if(a)for(o=E(this),r=0;r<n.length;r++)i=n[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else void 0!==e&&"boolean"!==s||((i=xt(this))&&ae.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":ae.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+Et(xt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Tt=/\r/g;E.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=g(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,E(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=E.map(r,(function(e){return null==e?"":e+""}))),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=E.valHooks[r.type]||E.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(Tt,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:Et(E.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!k(n.parentNode,"optgroup"))){if(t=E(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=E.makeArray(t),s=r.length;s--;)((i=r[s]).selected=E.inArray(E.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},m.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var jt=i.location,Dt={guid:Date.now()},St=/\?/;E.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var It=/^(?:focusinfocus|focusoutblur)$/,Mt=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,n,r){var o,s,a,l,d,c,u,h,p=[n||v],A=f.call(e,"type")?e.type:e,m=f.call(e,"namespace")?e.namespace.split("."):[];if(s=h=a=n=n||v,3!==n.nodeType&&8!==n.nodeType&&!It.test(A+E.event.triggered)&&(A.indexOf(".")>-1&&(m=A.split("."),A=m.shift(),m.sort()),d=A.indexOf(":")<0&&"on"+A,(e=e[E.expando]?e:new E.Event(A,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),u=E.event.special[A]||{},r||!u.trigger||!1!==u.trigger.apply(n,t))){if(!r&&!u.noBubble&&!b(n)){for(l=u.delegateType||A,It.test(l+A)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(n.ownerDocument||v)&&p.push(a.defaultView||a.parentWindow||i)}for(o=0;(s=p[o++])&&!e.isPropagationStopped();)h=s,e.type=o>1?l:u.bindType||A,(c=(ae.get(s,"events")||Object.create(null))[e.type]&&ae.get(s,"handle"))&&c.apply(s,t),(c=d&&s[d])&&c.apply&&oe(s)&&(e.result=c.apply(s,t),!1===e.result&&e.preventDefault());return e.type=A,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(p.pop(),t)||!oe(n)||d&&g(n[A])&&!b(n)&&((a=n[d])&&(n[d]=null),E.event.triggered=A,e.isPropagationStopped()&&h.addEventListener(A,Mt),n[A](),e.isPropagationStopped()&&h.removeEventListener(A,Mt),E.event.triggered=void 0,a&&(n[d]=a)),e.result}},simulate:function(e,t,n){var i=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(i,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each((function(){E.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}});var Pt=/\[\]$/,Rt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,i){var r;if(Array.isArray(t))E.each(t,(function(t,r){n||Pt.test(e)?i(e,r):Nt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==w(t))i(e,t);else for(r in t)Nt(e+"["+r+"]",t[r],n,i)}E.param=function(e,t){var n,i=[],r=function(e,t){var n=g(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,(function(){r(this.name,this.value)}));else for(n in e)Nt(n,e[n],t,r);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Lt.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!Ee.test(e))})).map((function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}})):{name:t.name,value:n.replace(Rt,"\r\n")}})).get()}});var zt=/%20/g,Ft=/#.*$/,qt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,$t=/^(?:GET|HEAD)$/,Ht=/^\/\//,Wt={},Vt={},Gt="*/".concat("*"),Kt=v.createElement("a");function Yt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(G)||[];if(g(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Jt(e,t,n,i){var r={},o=e===Vt;function s(a){var l;return r[a]=!0,E.each(e[a]||[],(function(e,a){var d=a(t,n,i);return"string"!=typeof d||o||r[d]?o?!(l=d):void 0:(t.dataTypes.unshift(d),s(d),!1)})),l}return s(t.dataTypes[0])||!r["*"]&&s("*")}function Xt(e,t){var n,i,r=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&E.extend(!0,e,i),e}Kt.href=jt.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,E.ajaxSettings),t):Xt(E.ajaxSettings,e)},ajaxPrefilter:Yt(Wt),ajaxTransport:Yt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,o,s,a,l,d,c,u,h,f=E.ajaxSetup({},t),p=f.context||f,A=f.context&&(p.nodeType||p.jquery)?E(p):E.event,m=E.Deferred(),g=E.Callbacks("once memory"),b=f.statusCode||{},C={},y={},w="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(d){if(!s)for(s={};t=Ut.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return d?o:null},setRequestHeader:function(e,t){return null==d&&(e=y[e.toLowerCase()]=y[e.toLowerCase()]||e,C[e]=t),this},overrideMimeType:function(e){return null==d&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(d)_.always(e[_.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),B(0,t),this}};if(m.promise(_),f.url=((e||f.url||jt.href)+"").replace(Ht,jt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(G)||[""],null==f.crossDomain){l=v.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Kt.protocol+"//"+Kt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=E.param(f.data,f.traditional)),Jt(Wt,f,t,_),d)return _;for(u in(c=E.event&&f.global)&&0==E.active++&&E.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!$t.test(f.type),r=f.url.replace(Ft,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(zt,"+")):(h=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(St.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(qt,"$1"),h=(St.test(r)?"&":"?")+"_="+Dt.guid+++h),f.url=r+h),f.ifModified&&(E.lastModified[r]&&_.setRequestHeader("If-Modified-Since",E.lastModified[r]),E.etag[r]&&_.setRequestHeader("If-None-Match",E.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&_.setRequestHeader("Content-Type",f.contentType),_.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Gt+"; q=0.01":""):f.accepts["*"]),f.headers)_.setRequestHeader(u,f.headers[u]);if(f.beforeSend&&(!1===f.beforeSend.call(p,_,f)||d))return _.abort();if(w="abort",g.add(f.complete),_.done(f.success),_.fail(f.error),n=Jt(Vt,f,t,_)){if(_.readyState=1,c&&A.trigger("ajaxSend",[_,f]),d)return _;f.async&&f.timeout>0&&(a=i.setTimeout((function(){_.abort("timeout")}),f.timeout));try{d=!1,n.send(C,B)}catch(e){if(d)throw e;B(-1,e)}}else B(-1,"No Transport");function B(e,t,s,l){var u,h,v,C,y,w=t;d||(d=!0,a&&i.clearTimeout(a),n=void 0,o=l||"",_.readyState=e>0?4:0,u=e>=200&&e<300||304===e,s&&(C=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(f,_,s)),!u&&E.inArray("script",f.dataTypes)>-1&&E.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),C=function(e,t,n,i){var r,o,s,a,l,d={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)d[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=d[l+" "+o]||d["* "+o]))for(r in d)if((a=r.split(" "))[1]===o&&(s=d[l+" "+a[0]]||d["* "+a[0]])){!0===s?s=d[r]:!0!==d[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(f,C,_,u),u?(f.ifModified&&((y=_.getResponseHeader("Last-Modified"))&&(E.lastModified[r]=y),(y=_.getResponseHeader("etag"))&&(E.etag[r]=y)),204===e||"HEAD"===f.type?w="nocontent":304===e?w="notmodified":(w=C.state,h=C.data,u=!(v=C.error))):(v=w,!e&&w||(w="error",e<0&&(e=0))),_.status=e,_.statusText=(t||w)+"",u?m.resolveWith(p,[h,w,_]):m.rejectWith(p,[_,w,v]),_.statusCode(b),b=void 0,c&&A.trigger(u?"ajaxSuccess":"ajaxError",[_,f,u?h:v]),g.fireWith(p,[_,w]),c&&(A.trigger("ajaxComplete",[_,f]),--E.active||E.event.trigger("ajaxStop")))}return _},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],(function(e,t){E[t]=function(e,n,i,r){return g(n)&&(r=r||i,i=n,n=void 0),E.ajax(E.extend({url:e,type:t,dataType:r,data:n,success:i},E.isPlainObject(e)&&e))}})),E.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){E(this).wrapInner(e.call(this,t))})):this.each((function(){var t=E(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){E(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Qt=E.ajaxSettings.xhr();m.cors=!!Qt&&"withCredentials"in Qt,m.ajax=Qt=!!Qt,E.ajaxTransport((function(e){var t,n;if(m.cors||Qt&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Zt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){t&&n()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),E.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),E.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=E("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||E.expando+"_"+Dt.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",(function(e,t,n){var r,o,s,a=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(nn,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||E.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments},n.always((function(){void 0===o?E(i).removeProp(r):i[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,tn.push(r)),s&&g(o)&&o(s[0]),s=o=void 0})),"script"})),m.createHTMLDocument=((en=v.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((i=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(i)):t=v),o=!n&&[],(r=F.exec(e))?[t.createElement(r[1])]:(r=Ie([e],t,o),o&&o.length&&E(o).remove(),E.merge([],r.childNodes)));var i,r,o},E.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=Et(e.slice(a)),e=e.slice(0,a)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&E.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(i?E("<div>").append(E.parseHTML(e)).find(i):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},E.expr.pseudos.animated=function(e){return E.grep(E.timers,(function(t){return e===t.elem})).length},E.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,d=E.css(e,"position"),c=E(e),u={};"static"===d&&(e.style.position="relative"),a=c.offset(),o=E.css(e,"top"),l=E.css(e,"left"),("absolute"===d||"fixed"===d)&&(o+l).indexOf("auto")>-1?(s=(i=c.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),g(t)&&(t=t.call(e,n,E.extend({},a))),null!=t.top&&(u.top=t.top-a.top+s),null!=t.left&&(u.left=t.left-a.left+r),"using"in t?t.using.call(e,u):c.css(u)}},E.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){E.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===E.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),r.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-E.css(i,"marginTop",!0),left:t.left-r.left-E.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||Ae}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;E.fn[e]=function(i){return ee(this,(function(e,i,r){var o;if(b(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),E.each(["top","left"],(function(e,t){E.cssHooks[t]=et(m.pixelPosition,(function(e,n){if(n)return n=Qe(e,t),Ke.test(n)?E(e).position()[t]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(e,t){E.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){E.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return ee(this,(function(t,n,r){var o;return b(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?E.css(t,n,a):E.style(t,n,r,a)}),t,s?r:void 0,s)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){E.fn[t]=function(e){return this.on(t,e)}})),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){E.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return i=a.call(arguments,2),r=function(){return e.apply(t||this,i.concat(a.call(arguments)))},r.guid=e.guid=e.guid||E.guid++,r},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=k,E.isFunction=g,E.isWindow=b,E.camelCase=re,E.type=w,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},E.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return E}.apply(t,[]))||(e.exports=n);var on=i.jQuery,sn=i.$;return E.noConflict=function(e){return i.$===E&&(i.$=sn),e&&i.jQuery===E&&(i.jQuery=on),E},void 0===r&&(i.jQuery=i.$=E),E}))},1645:e=>{"use strict";var t=e.exports=function(e,t,i){"function"==typeof t&&(i=t,t={}),n(t,"function"==typeof(i=t.cb||i)?i:i.pre||function(){},i.post||function(){},e,"",e)};function n(e,i,r,o,s,a,l,d,c,u){if(o&&"object"==typeof o&&!Array.isArray(o)){for(var h in i(o,s,a,l,d,c,u),o){var f=o[h];if(Array.isArray(f)){if(h in t.arrayKeywords)for(var p=0;p<f.length;p++)n(e,i,r,f[p],s+"/"+h+"/"+p,a,s,h,o,p)}else if(h in t.propsKeywords){if(f&&"object"==typeof f)for(var A in f)n(e,i,r,f[A],s+"/"+h+"/"+A.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,h,o,A)}else(h in t.keywords||e.allKeys&&!(h in t.skipKeywords))&&n(e,i,r,f,s+"/"+h,a,s,h,o)}r(o,s,a,l,d,c,u)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},9452:(e,t,n)=>{var i,r=/[&<>"'`]/g,o=RegExp(r.source),s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,a="object"==typeof self&&self&&self.Object===Object&&self,l=s||a||Function("return this")(),d=(i={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},function(e){return null==i?void 0:i[e]}),c=Object.prototype.toString,u=l.Symbol,h=u?u.prototype:void 0,f=h?h.toString:void 0;e.exports=function(e){var t;return(e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==c.call(e)}(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t))&&o.test(e)?e.replace(r,d):e}},3103:(e,t,n)=>{var i=n(4715)(n(8942),"DataView");e.exports=i},5098:(e,t,n)=>{var i=n(3305),r=n(9361),o=n(1112),s=n(5276),a=n(5071);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},1386:(e,t,n)=>{var i=n(2393),r=n(2049),o=n(7144),s=n(7452),a=n(3964);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},9770:(e,t,n)=>{var i=n(4715)(n(8942),"Map");e.exports=i},8250:(e,t,n)=>{var i=n(9753),r=n(5681),o=n(88),s=n(4732),a=n(9068);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},9413:(e,t,n)=>{var i=n(4715)(n(8942),"Promise");e.exports=i},4512:(e,t,n)=>{var i=n(4715)(n(8942),"Set");e.exports=i},3212:(e,t,n)=>{var i=n(8250),r=n(1877),o=n(8006);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=r,s.prototype.has=o,e.exports=s},1340:(e,t,n)=>{var i=n(1386),r=n(4103),o=n(1779),s=n(4162),a=n(7462),l=n(6638);function d(e){var t=this.__data__=new i(e);this.size=t.size}d.prototype.clear=r,d.prototype.delete=o,d.prototype.get=s,d.prototype.has=a,d.prototype.set=l,e.exports=d},5650:(e,t,n)=>{var i=n(8942).Symbol;e.exports=i},1623:(e,t,n)=>{var i=n(8942).Uint8Array;e.exports=i},9270:(e,t,n)=>{var i=n(4715)(n(8942),"WeakMap");e.exports=i},9847:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var s=e[n];t(s,n,e)&&(o[r++]=s)}return o}},358:(e,t,n)=>{var i=n(6137),r=n(3283),o=n(3142),s=n(5853),a=n(9632),l=n(8666),d=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&r(e),u=!n&&!c&&s(e),h=!n&&!c&&!u&&l(e),f=n||c||u||h,p=f?i(e.length,String):[],A=p.length;for(var m in e)!t&&!d.call(e,m)||f&&("length"==m||u&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,A))||p.push(m);return p}},1129:e=>{e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},6465:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},7034:(e,t,n)=>{var i=n(6285);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},8244:(e,t,n)=>{var i=n(1129),r=n(3142);e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},7379:(e,t,n)=>{var i=n(5650),r=n(8870),o=n(9005),s=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?r(e):o(e)}},6027:(e,t,n)=>{var i=n(7379),r=n(547);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},4687:(e,t,n)=>{var i=n(353),r=n(547);e.exports=function e(t,n,o,s,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:i(t,n,o,s,e,a))}},353:(e,t,n)=>{var i=n(1340),r=n(3934),o=n(8861),s=n(1182),a=n(8486),l=n(3142),d=n(5853),c=n(8666),u="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,A,m,g){var b=l(e),v=l(t),C=b?h:a(e),y=v?h:a(t),w=(C=C==u?f:C)==f,_=(y=y==u?f:y)==f,B=C==y;if(B&&d(e)){if(!d(t))return!1;b=!0,w=!1}if(B&&!w)return g||(g=new i),b||c(e)?r(e,t,n,A,m,g):o(e,t,C,n,A,m,g);if(!(1&n)){var E=w&&p.call(e,"__wrapped__"),x=_&&p.call(t,"__wrapped__");if(E||x){var k=E?e.value():e,T=x?t.value():t;return g||(g=new i),m(k,T,n,A,g)}}return!!B&&(g||(g=new i),s(e,t,n,A,m,g))}},9624:(e,t,n)=>{var i=n(3655),r=n(4759),o=n(1580),s=n(4066),a=/^\[object .+?Constructor\]$/,l=Function.prototype,d=Object.prototype,c=l.toString,u=d.hasOwnProperty,h=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(i(e)?h:a).test(s(e))}},674:(e,t,n)=>{var i=n(7379),r=n(5387),o=n(547),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!s[i(e)]}},195:(e,t,n)=>{var i=n(4882),r=n(8121),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6137:e=>{e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,n)=>{var i=n(8942)["__core-js_shared__"];e.exports=i},3934:(e,t,n)=>{var i=n(3212),r=n(6465),o=n(5568);e.exports=function(e,t,n,s,a,l){var d=1&n,c=e.length,u=t.length;if(c!=u&&!(d&&u>c))return!1;var h=l.get(e),f=l.get(t);if(h&&f)return h==t&&f==e;var p=-1,A=!0,m=2&n?new i:void 0;for(l.set(e,t),l.set(t,e);++p<c;){var g=e[p],b=t[p];if(s)var v=d?s(b,g,p,t,e,l):s(g,b,p,e,t,l);if(void 0!==v){if(v)continue;A=!1;break}if(m){if(!r(t,(function(e,t){if(!o(m,t)&&(g===e||a(g,e,n,s,l)))return m.push(t)}))){A=!1;break}}else if(g!==b&&!a(g,b,n,s,l)){A=!1;break}}return l.delete(e),l.delete(t),A}},8861:(e,t,n)=>{var i=n(5650),r=n(1623),o=n(6285),s=n(3934),a=n(5894),l=n(9828),d=i?i.prototype:void 0,c=d?d.valueOf:void 0;e.exports=function(e,t,n,i,d,u,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!u(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var p=1&i;if(f||(f=l),e.size!=t.size&&!p)return!1;var A=h.get(e);if(A)return A==t;i|=2,h.set(e,t);var m=s(f(e),f(t),i,d,u,h);return h.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},1182:(e,t,n)=>{var i=n(393),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,s,a){var l=1&n,d=i(e),c=d.length;if(c!=i(t).length&&!l)return!1;for(var u=c;u--;){var h=d[u];if(!(l?h in t:r.call(t,h)))return!1}var f=a.get(e),p=a.get(t);if(f&&p)return f==t&&p==e;var A=!0;a.set(e,t),a.set(t,e);for(var m=l;++u<c;){var g=e[h=d[u]],b=t[h];if(o)var v=l?o(b,g,h,t,e,a):o(g,b,h,e,t,a);if(!(void 0===v?g===b||s(g,b,n,o,a):v)){A=!1;break}m||(m="constructor"==h)}if(A&&!m){var C=e.constructor,y=t.constructor;C==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof C&&C instanceof C&&"function"==typeof y&&y instanceof y||(A=!1)}return a.delete(e),a.delete(t),A}},4967:(e,t,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},393:(e,t,n)=>{var i=n(8244),r=n(7979),o=n(1211);e.exports=function(e){return i(e,o,r)}},4700:(e,t,n)=>{var i=n(9067);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},4715:(e,t,n)=>{var i=n(9624),r=n(155);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},4784:(e,t,n)=>{var i=n(3766)(Object.getPrototypeOf,Object);e.exports=i},8870:(e,t,n)=>{var i=n(5650),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var i=!0}catch(e){}var r=s.call(e);return i&&(t?e[a]=n:delete e[a]),r}},7979:(e,t,n)=>{var i=n(9847),r=n(9306),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),i(s(e),(function(t){return o.call(e,t)})))}:r;e.exports=a},8486:(e,t,n)=>{var i=n(3103),r=n(9770),o=n(9413),s=n(4512),a=n(9270),l=n(7379),d=n(4066),c="[object Map]",u="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",A=d(i),m=d(r),g=d(o),b=d(s),v=d(a),C=l;(i&&C(new i(new ArrayBuffer(1)))!=p||r&&C(new r)!=c||o&&C(o.resolve())!=u||s&&C(new s)!=h||a&&C(new a)!=f)&&(C=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,i=n?d(n):"";if(i)switch(i){case A:return p;case m:return c;case g:return u;case b:return h;case v:return f}return t}),e.exports=C},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,n)=>{var i=n(4497);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,n)=>{var i=n(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},5276:(e,t,n)=>{var i=n(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},5071:(e,t,n)=>{var i=n(4497);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},9632:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,n)=>{var i,r=n(1950),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!o&&o in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,n)=>{var i=n(7034),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},7144:(e,t,n)=>{var i=n(7034);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},7452:(e,t,n)=>{var i=n(7034);e.exports=function(e){return i(this.__data__,e)>-1}},3964:(e,t,n)=>{var i=n(7034);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},9753:(e,t,n)=>{var i=n(5098),r=n(1386),o=n(9770);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},5681:(e,t,n)=>{var i=n(4700);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},88:(e,t,n)=>{var i=n(4700);e.exports=function(e){return i(this,e).get(e)}},4732:(e,t,n)=>{var i=n(4700);e.exports=function(e){return i(this,e).has(e)}},9068:(e,t,n)=>{var i=n(4700);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},5894:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}},4497:(e,t,n)=>{var i=n(4715)(Object,"create");e.exports=i},8121:(e,t,n)=>{var i=n(3766)(Object.keys,Object);e.exports=i},2306:(e,t,n)=>{e=n.nmd(e);var i=n(4967),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,s=o&&o.exports===r&&i.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},8942:(e,t,n)=>{var i=n(4967),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},9828:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},4103:(e,t,n)=>{var i=n(1386);e.exports=function(){this.__data__=new i,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,n)=>{var i=n(1386),r=n(9770),o=n(8250);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},4066:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,n)=>{var i=n(6027),r=n(547),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return r(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,n)=>{var i=n(3655),r=n(5387);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},5853:(e,t,n)=>{e=n.nmd(e);var i=n(8942),r=n(4772),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?i.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l},6343:(e,t,n)=>{var i=n(4687);e.exports=function(e,t){return i(e,t)}},3655:(e,t,n)=>{var i=n(7379),r=n(1580);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8360:(e,t,n)=>{var i=n(7379),r=n(4784),o=n(547),s=Function.prototype,a=Object.prototype,l=s.toString,d=a.hasOwnProperty,c=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=i(e))return!1;var t=r(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}},8666:(e,t,n)=>{var i=n(674),r=n(9460),o=n(2306),s=o&&o.isTypedArray,a=s?r(s):i;e.exports=a},1211:(e,t,n)=>{var i=n(358),r=n(195),o=n(6529);e.exports=function(e){return o(e)?i(e):r(e)}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},9600:e=>{"use strict";function t(e){return"number"==typeof e||!!/^0x[0-9a-f]+$/i.test(e)||/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function n(e,t){return"constructor"===t&&"function"==typeof e[t]||"__proto__"===t}e.exports=function(e,i){i||(i={});var r={bools:{},strings:{},unknownFn:null};"function"==typeof i.unknown&&(r.unknownFn=i.unknown),"boolean"==typeof i.boolean&&i.boolean?r.allBools=!0:[].concat(i.boolean).filter(Boolean).forEach((function(e){r.bools[e]=!0}));var o={};function s(e){return o[e].some((function(e){return r.bools[e]}))}Object.keys(i.alias||{}).forEach((function(e){o[e]=[].concat(i.alias[e]),o[e].forEach((function(t){o[t]=[e].concat(o[e].filter((function(e){return t!==e})))}))})),[].concat(i.string).filter(Boolean).forEach((function(e){r.strings[e]=!0,o[e]&&[].concat(o[e]).forEach((function(e){r.strings[e]=!0}))}));var a=i.default||{},l={_:[]};function d(e,t,i){for(var o=e,s=0;s<t.length-1;s++){var a=t[s];if(n(o,a))return;void 0===o[a]&&(o[a]={}),o[a]!==Object.prototype&&o[a]!==Number.prototype&&o[a]!==String.prototype||(o[a]={}),o[a]===Array.prototype&&(o[a]=[]),o=o[a]}var l=t[t.length-1];n(o,l)||(o!==Object.prototype&&o!==Number.prototype&&o!==String.prototype||(o={}),o===Array.prototype&&(o=[]),void 0===o[l]||r.bools[l]||"boolean"==typeof o[l]?o[l]=i:Array.isArray(o[l])?o[l].push(i):o[l]=[o[l],i])}function c(e,n,i){if(!i||!r.unknownFn||function(e,t){return r.allBools&&/^--[^=]+$/.test(t)||r.strings[e]||r.bools[e]||o[e]}(e,i)||!1!==r.unknownFn(i)){var s=!r.strings[e]&&t(n)?Number(n):n;d(l,e.split("."),s),(o[e]||[]).forEach((function(e){d(l,e.split("."),s)}))}}Object.keys(r.bools).forEach((function(e){c(e,void 0!==a[e]&&a[e])}));var u=[];-1!==e.indexOf("--")&&(u=e.slice(e.indexOf("--")+1),e=e.slice(0,e.indexOf("--")));for(var h=0;h<e.length;h++){var f,p,A=e[h];if(/^--.+=/.test(A)){var m=A.match(/^--([^=]+)=([\s\S]*)$/);f=m[1];var g=m[2];r.bools[f]&&(g="false"!==g),c(f,g,A)}else if(/^--no-.+/.test(A))c(f=A.match(/^--no-(.+)/)[1],!1,A);else if(/^--.+/.test(A))f=A.match(/^--(.+)/)[1],void 0===(p=e[h+1])||/^(-|--)[^-]/.test(p)||r.bools[f]||r.allBools||o[f]&&s(f)?/^(true|false)$/.test(p)?(c(f,"true"===p,A),h+=1):c(f,!r.strings[f]||"",A):(c(f,p,A),h+=1);else if(/^-[^-]+/.test(A)){for(var b=A.slice(1,-1).split(""),v=!1,C=0;C<b.length;C++)if("-"!==(p=A.slice(C+2))){if(/[A-Za-z]/.test(b[C])&&"="===p[0]){c(b[C],p.slice(1),A),v=!0;break}if(/[A-Za-z]/.test(b[C])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(p)){c(b[C],p,A),v=!0;break}if(b[C+1]&&b[C+1].match(/\W/)){c(b[C],A.slice(C+2),A),v=!0;break}c(b[C],!r.strings[b[C]]||"",A)}else c(b[C],p,A);f=A.slice(-1)[0],v||"-"===f||(!e[h+1]||/^(-|--)[^-]/.test(e[h+1])||r.bools[f]||o[f]&&s(f)?e[h+1]&&/^(true|false)$/.test(e[h+1])?(c(f,"true"===e[h+1],A),h+=1):c(f,!r.strings[f]||"",A):(c(f,e[h+1],A),h+=1))}else if(r.unknownFn&&!1===r.unknownFn(A)||l._.push(r.strings._||!t(A)?A:Number(A)),i.stopEarly){l._.push.apply(l._,e.slice(h+1));break}}return Object.keys(a).forEach((function(e){var t,n,i;t=l,n=e.split("."),i=t,n.slice(0,-1).forEach((function(e){i=i[e]||{}})),n[n.length-1]in i||(d(l,e.split("."),a[e]),(o[e]||[]).forEach((function(t){d(l,t.split("."),a[e])})))})),i["--"]?l["--"]=u.slice():u.forEach((function(e){l._.push(e)})),l}},8287:function(e,t){var n,i;void 0===(i="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,i=t.exec(e.substring(A));if(i)return n=i[0],A+=n.length,n}for(var i,r,o,s,a,l=e.length,d=/^[ \t\n\r\u000c]+/,c=/^[, \t\n\r\u000c]+/,u=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,f=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,A=0,m=[];;){if(n(c),A>=l)return m;i=n(u),r=[],","===i.slice(-1)?(i=i.replace(h,""),b()):g()}function g(){for(n(d),o="",s="in descriptor";;){if(a=e.charAt(A),"in descriptor"===s)if(t(a))o&&(r.push(o),o="",s="after descriptor");else{if(","===a)return A+=1,o&&r.push(o),void b();if("("===a)o+=a,s="in parens";else{if(""===a)return o&&r.push(o),void b();o+=a}}else if("in parens"===s)if(")"===a)o+=a,s="in descriptor";else{if(""===a)return r.push(o),void b();o+=a}else if("after descriptor"===s)if(t(a));else{if(""===a)return void b();s="in descriptor",A-=1}A+=1}}function b(){var t,n,o,s,a,l,d,c,u,h=!1,A={};for(s=0;s<r.length;s++)l=(a=r[s])[a.length-1],d=a.substring(0,a.length-1),c=parseInt(d,10),u=parseFloat(d),f.test(d)&&"w"===l?((t||n)&&(h=!0),0===c?h=!0:t=c):p.test(d)&&"x"===l?((t||n||o)&&(h=!0),u<0?h=!0:n=u):f.test(d)&&"h"===l?((o||n)&&(h=!0),0===c?h=!0:o=c):h=!0;h?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+a+"'."):(A.url=i,t&&(A.w=t),n&&(A.d=n),o&&(A.h=o),m.push(A))}}})?n.apply(t,[]):n)||(e.exports=i)},9942:e=>{"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,i="",r=0,o=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)n=e.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(i.length<2||2!==r||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",r=0):r=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),o=a,s=0;continue}}else if(2===i.length||1===i.length){i="",r=0,o=a,s=0;continue}t&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+e.slice(o+1,a):i=e.slice(o+1,a),r=a-o-1;o=a,s=0}else 46===n&&-1!==s?++s:s=-1}return i}var i={resolve:function(){for(var e,i="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(i=s+"/"+i,r=47===s.charCodeAt(0))}return i=n(i,!r),r?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&r&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var r=arguments[n];t(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=i.resolve(e))===(n=i.resolve(n)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var o=e.length,s=o-r,a=1;a<n.length&&47===n.charCodeAt(a);++a);for(var l=n.length-a,d=s<l?s:l,c=-1,u=0;u<=d;++u){if(u===d){if(l>d){if(47===n.charCodeAt(a+u))return n.slice(a+u+1);if(0===u)return n.slice(a+u)}else s>d&&(47===e.charCodeAt(r+u)?c=u:0===u&&(c=0));break}var h=e.charCodeAt(r+u);if(h!==n.charCodeAt(a+u))break;47===h&&(c=u)}var f="";for(u=r+c+1;u<=o;++u)u!==o&&47!==e.charCodeAt(u)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(a+c):(a+=c,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),i=47===n,r=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(n=e.charCodeAt(s))){if(!o){r=s;break}}else o=!1;return-1===r?i?"/":".":i&&1===r?"//":e.slice(0,r)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var i,r=0,o=-1,s=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(i=e.length-1;i>=0;--i){var d=e.charCodeAt(i);if(47===d){if(!s){r=i+1;break}}else-1===l&&(s=!1,l=i+1),a>=0&&(d===n.charCodeAt(a)?-1==--a&&(o=i):(a=-1,o=l))}return r===o?o=l:-1===o&&(o=e.length),e.slice(r,o)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){r=i+1;break}}else-1===o&&(s=!1,o=i+1);return-1===o?"":e.slice(r,o)},extname:function(e){t(e);for(var n=-1,i=0,r=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===r&&(o=!1,r=a+1),46===l?-1===n?n=a:1!==s&&(s=1):-1!==n&&(s=-1);else if(!o){i=a+1;break}}return-1===n||-1===r||0===s||1===s&&n===r-1&&n===i+1?"":e.slice(n,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+"/"+i:i}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i,r=e.charCodeAt(0),o=47===r;o?(n.root="/",i=1):i=0;for(var s=-1,a=0,l=-1,d=!0,c=e.length-1,u=0;c>=i;--c)if(47!==(r=e.charCodeAt(c)))-1===l&&(d=!1,l=c+1),46===r?-1===s?s=c:1!==u&&(u=1):-1!==s&&(u=-1);else if(!d){a=c+1;break}return-1===s||-1===l||0===u||1===u&&s===l-1&&s===a+1?-1!==l&&(n.base=n.name=0===a&&o?e.slice(1,l):e.slice(a,l)):(0===a&&o?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i},8952:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},697:(e,t,n)=>{"use strict";let i=n(2780);class r extends i{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=r,r.default=r,i.registerAtRule(r)},7910:(e,t,n)=>{"use strict";let i=n(1051);class r extends i{constructor(e){super(e),this.type="comment"}}e.exports=r,r.default=r},2780:(e,t,n)=>{"use strict";let i,r,o,s,{isClean:a,my:l}=n(2990),d=n(3531),c=n(7910),u=n(1051);function h(e){return e.map((e=>(e.nodes&&(e.nodes=h(e.nodes)),delete e.source,e)))}function f(e){if(e[a]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)f(t)}class p extends u{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,n,i=this.getIterator();for(;this.indexes[i]<this.proxyOf.nodes.length&&(t=this.indexes[i],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[i]+=1;return delete this.indexes[i],n}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,i=this.index(e),r=this.normalize(t,this.proxyOf.nodes[i]).reverse();i=this.index(e);for(let e of r)this.proxyOf.nodes.splice(i+1,0,e);for(let e in this.indexes)n=this.indexes[e],i<n&&(this.indexes[e]=n+r.length);return this.markDirty(),this}insertBefore(e,t){let n,i=this.index(e),r=0===i&&"prepend",o=this.normalize(t,this.proxyOf.nodes[i],r).reverse();i=this.index(e);for(let e of o)this.proxyOf.nodes.splice(i,0,e);for(let e in this.indexes)n=this.indexes[e],i<=n&&(this.indexes[e]=n+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=h(i(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new d(e)]}else if(e.selector)e=[new r(e)];else if(e.name)e=[new o(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new c(e)]}return e.map((e=>(e[l]||p.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[a]&&f(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,n))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let i;try{i=e(t,n)}catch(e){throw t.addToError(e)}return!1!==i&&t.walk&&(i=t.walk(e)),i}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,i)=>{if("atrule"===n.type&&e.test(n.name))return t(n,i)})):this.walk(((n,i)=>{if("atrule"===n.type&&n.name===e)return t(n,i)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,i)=>{if("decl"===n.type&&e.test(n.prop))return t(n,i)})):this.walk(((n,i)=>{if("decl"===n.type&&n.prop===e)return t(n,i)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,i)=>{if("rule"===n.type&&e.test(n.selector))return t(n,i)})):this.walk(((n,i)=>{if("rule"===n.type&&n.selector===e)return t(n,i)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}p.registerParse=e=>{i=e},p.registerRule=e=>{r=e},p.registerAtRule=e=>{o=e},p.registerRoot=e=>{s=e},e.exports=p,p.default=p,p.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,r.prototype):"decl"===e.type?Object.setPrototypeOf(e,d.prototype):"comment"===e.type?Object.setPrototypeOf(e,c.prototype):"root"===e.type&&Object.setPrototypeOf(e,s.prototype),e[l]=!0,e.nodes&&e.nodes.forEach((e=>{p.rebuild(e)}))}},6069:(e,t,n)=>{"use strict";let i=n(8952),r=n(3215);class o extends Error{constructor(e,t,n,i,r,s){super(e),this.name="CssSyntaxError",this.reason=e,r&&(this.file=r),i&&(this.source=i),s&&(this.plugin=s),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=i.isColorSupported),r&&e&&(t=r(t));let n,o,s=t.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,s.length),d=String(l).length;if(e){let{bold:e,gray:t,red:r}=i.createColors(!0);n=t=>e(r(t)),o=e=>t(e)}else n=o=e=>e;return s.slice(a,l).map(((e,t)=>{let i=a+1+t,r=" "+(" "+i).slice(-d)+" | ";if(i===this.line){let t=o(r.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+o(r)+e+"\n "+t+n("^")}return" "+o(r)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},3531:(e,t,n)=>{"use strict";let i=n(1051);class r extends i{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=r,r.default=r},7890:(e,t,n)=>{"use strict";let i,r,o=n(2780);class s extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new i(new r,this,e).stringify()}}s.registerLazyResult=e=>{i=e},s.registerProcessor=e=>{r=e},e.exports=s,s.default=s},2357:(e,t,n)=>{"use strict";let i=n(3531),r=n(833),o=n(7910),s=n(697),a=n(611),l=n(199),d=n(6825);function c(e,t){if(Array.isArray(e))return e.map((e=>c(e)));let{inputs:n,...u}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:a.prototype};n.map&&(n.map={...n.map,__proto__:r.prototype}),t.push(n)}}if(u.nodes&&(u.nodes=e.nodes.map((e=>c(e,t)))),u.source){let{inputId:e,...n}=u.source;u.source=n,null!=e&&(u.source.input=t[e])}if("root"===u.type)return new l(u);if("decl"===u.type)return new i(u);if("rule"===u.type)return new d(u);if("comment"===u.type)return new o(u);if("atrule"===u.type)return new s(u);throw new Error("Unknown node type: "+e.type)}e.exports=c,c.default=c},611:(e,t,n)=>{"use strict";let{SourceMapConsumer:i,SourceMapGenerator:r}=n(8645),{fileURLToPath:o,pathToFileURL:s}=n(588),{isAbsolute:a,resolve:l}=n(5324),{nanoid:d}=n(945),c=n(3215),u=n(6069),h=n(833),f=Symbol("fromOffsetCache"),p=Boolean(i&&r),A=Boolean(l&&a);class m{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!A||/^\w+:\/\//.test(t.from)||a(t.from)?this.file=t.from:this.file=l(t.from)),A&&p){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+d(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,n,i={}){let r,o,a;if(t&&"object"==typeof t){let e=t,i=n;if("number"==typeof e.offset){let i=this.fromOffset(e.offset);t=i.line,n=i.col}else t=e.line,n=e.column;if("number"==typeof i.offset){let e=this.fromOffset(i.offset);o=e.line,a=e.col}else o=i.line,a=i.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let l=this.origin(t,n,o,a);return r=l?new u(e,void 0===l.endLine?l.line:{column:l.column,line:l.line},void 0===l.endLine?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,i.plugin):new u(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:a,line:o},this.css,this.file,i.plugin),r.input={column:n,endColumn:a,endLine:o,line:t,source:this.css},this.file&&(s&&(r.input.url=s(this.file).toString()),r.input.file=this.file),r}fromOffset(e){let t,n;if(this[f])n=this[f];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let i=0,r=e.length;i<r;i++)n[i]=t,t+=e[i].length+1;this[f]=n}t=n[n.length-1];let i=0;if(e>=t)i=n.length-1;else{let t,r=n.length-2;for(;i<r;)if(t=i+(r-i>>1),e<n[t])r=t-1;else{if(!(e>=n[t+1])){i=t;break}i=t+1}}return{col:e-n[i]+1,line:i+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:l(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,i){if(!this.map)return!1;let r,l,d=this.map.consumer(),c=d.originalPositionFor({column:t,line:e});if(!c.source)return!1;"number"==typeof n&&(r=d.originalPositionFor({column:i,line:n})),l=a(c.source)?s(c.source):new URL(c.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let u={column:c.column,endColumn:r&&r.column,endLine:r&&r.line,line:c.line,url:l.toString()};if("file:"===l.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");u.file=o(l)}let h=d.sourceContentFor(c.source);return h&&(u.source=h),u}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}e.exports=m,m.default=m,c&&c.registerInput&&c.registerInput(m)},3907:(e,t,n)=>{"use strict";let{isClean:i,my:r}=n(2990),o=n(609),s=n(5930),a=n(2780),l=n(7890),d=(n(1393),n(8298)),c=n(3300),u=n(199);const h={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},p={Once:!0,postcssPlugin:!0,prepare:!0},A=0;function m(e){return"object"==typeof e&&"function"==typeof e.then}function g(e){let t=!1,n=h[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,A,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,A,n+"Exit"]:[n,n+"Exit"]}function b(e){let t;return t="document"===e.type?["Document",A,"DocumentExit"]:"root"===e.type?["Root",A,"RootExit"]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function v(e){return e[i]=!1,e.nodes&&e.nodes.forEach((e=>v(e))),e}let C={};class y{constructor(e,t,n){let i;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof y||t instanceof d)i=v(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=c;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{i=e(t,n)}catch(e){this.processed=!0,this.error=e}i&&!i[r]&&a.rebuild(i)}else i=v(t);this.result=new d(e,i,n),this.helpers={...C,postcss:C,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!f[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!p[n])if("object"==typeof t[n])for(let i in t[n])e(t,"*"===i?n:n+"-"+i.toLowerCase(),t[n][i]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(m(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[i];){e[i]=!0;let t=[b(e)];for(;t.length>0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=s;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[i];)e[i]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,i]of e){let e;this.result.lastPlugin=n;try{e=i(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let r,o=t.iterator;for(;r=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!r[i])return r[i]=!0,void e.push(b(r));t.iterator=0,delete n.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,e===A)return void(n.nodes&&n.nodes.length&&(n[i]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[i]=!0;let t=g(e);for(let n of t)if(n===A)e.nodes&&e.each((e=>{e[i]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}y.registerPostcss=e=>{C=e},e.exports=y,y.default=y,u.registerLazyResult(y),l.registerLazyResult(y)},2767:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){let i=[],r="",o=!1,s=0,a=!1,l="",d=!1;for(let n of e)d?d=!1:"\\"===n?d=!0:a?n===l&&(a=!1):'"'===n||"'"===n?(a=!0,l=n):"("===n?s+=1:")"===n?s>0&&(s-=1):0===s&&t.includes(n)&&(o=!0),o?(""!==r&&i.push(r.trim()),r="",o=!1):r+=n;return(n||""!==r)&&i.push(r.trim()),i}};e.exports=t,t.default=t},609:(e,t,n)=>{"use strict";let{SourceMapConsumer:i,SourceMapGenerator:r}=n(8645),{dirname:o,relative:s,resolve:a,sep:l}=n(5324),{pathToFileURL:d}=n(588),c=n(611),u=Boolean(i&&r),h=Boolean(o&&a&&s&&l);e.exports=class{constructor(e,t,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),r=e.root||o(e.file);!1===this.mapOpts.sourcesContent?(t=new i(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(r)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),h&&u&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=r.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new r({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new r({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((r,a,l)=>{if(this.css+=r,a&&"end"!==l&&(s.generated.line=n,s.generated.column=i-1,a.source&&a.source.start?(s.source=this.sourcePath(a),s.original.line=a.source.start.line,s.original.column=a.source.start.column-1,this.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,this.map.addMapping(s))),e=r.match(/\n/g),e?(n+=e.length,t=r.lastIndexOf("\n"),i=r.length-t):i+=r.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(s.source=this.sourcePath(a),s.original.line=a.source.end.line,s.original.column=a.source.end.column-1,s.generated.line=n,s.generated.column=i-2,this.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1,this.map.addMapping(s)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?o(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=o(a(n,this.mapOpts.annotation)));let i=s(n,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new c(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(d){let t=d(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===l&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},8424:(e,t,n)=>{"use strict";let i=n(609),r=n(5930),o=(n(1393),n(3300));const s=n(8298);class a{constructor(e,t,n){let o;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let a=r;this.result=new s(this._processor,o,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let d=new i(a,o,this._opts,t);if(d.isMap()){let[e,t]=d.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else d.clearAnnotation(),this.result.css=d.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=a,a.default=a},1051:(e,t,n)=>{"use strict";let{isClean:i,my:r}=n(2990),o=n(6069),s=n(9845),a=n(5930);function l(e,t){let n=new e.constructor;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;if("proxyCache"===i)continue;let r=e[i],o=typeof r;"parent"===i&&"object"===o?t&&(n[i]=t):"source"===i?n[i]=r:Array.isArray(r)?n[i]=r.map((e=>l(e,n))):("object"===o&&null!==r&&(r=l(r)),n[i]=r)}return n}class d{constructor(e={}){this.raws={},this[i]=!1,this[r]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new o(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[i]){this[i]=!1;let e=this;for(;e=e.parent;)e[i]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let i=(t=this.toString()).indexOf(e.word);-1!==i&&(n=this.positionInside(i,t))}return n}positionInside(e,t){let n=t||this.toString(),i=this.source.start.column,r=this.source.start.line;for(let t=0;t<e;t++)"\n"===n[t]?(i=1,r+=1):i+=1;return{column:i,line:r}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let i=this.toString(),r=i.indexOf(e.word);-1!==r&&(t=this.positionInside(r,i),n=this.positionInside(r+e.word.length,i))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}}raw(e,t){return(new s).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(t,i),t=i):this.parent.insertBefore(t,i);n||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let n={},i=null==t;t=t||new Map;let r=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let i=this[e];if(Array.isArray(i))n[e]=i.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof i&&i.toJSON)n[e]=i.toJSON(null,t);else if("source"===e){let o=t.get(i.input);null==o&&(o=r,t.set(i.input,r),r++),n[e]={end:i.end,inputId:o,start:i.start}}else n[e]=i}return i&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=a){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let i={node:this};for(let e in n)i[e]=n[e];return e.warn(t,i)}get proxyOf(){return this}}e.exports=d,d.default=d},3300:(e,t,n)=>{"use strict";let i=n(2780),r=n(612),o=n(611);function s(e,t){let n=new o(e,t),i=new r(n);try{i.parse()}catch(e){throw e}return i.root}e.exports=s,s.default=s,i.registerParse(s)},612:(e,t,n)=>{"use strict";let i=n(3531),r=n(1374),o=n(7910),s=n(697),a=n(199),l=n(6825);const d={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,i,r=new s;r.name=e[1].slice(1),""===r.name&&this.unnamedAtrule(r,e),this.init(r,e[2]);let o=!1,a=!1,l=[],d=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?d.push("("===t?")":"]"):"{"===t&&d.length>0?d.push("}"):t===d[d.length-1]&&d.pop(),0===d.length){if(";"===t){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(l.length>0){for(i=l.length-1,n=l[i];n&&"space"===n[0];)n=l[--i];n&&(r.source.end=this.getPosition(n[3]||n[2]),r.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),o&&(e=l[l.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),a&&(r.nodes=[],this.current=r)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,i=0;for(let r=t-1;r>=0&&(n=e[r],"space"===n[0]||(i+=1,2!==i));r--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,i,r=0;for(let[o,s]of e.entries()){if(t=s,n=t[0],"("===n&&(r+=1),")"===n&&(r-=1),0===r&&":"===n){if(i){if("word"===i[0]&&"progid"===i[1])continue;return o}this.doubleColon(t)}i=t}return!1}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=r(this.input)}decl(e,t){let n=new i;this.init(n,e[0][2]);let r,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],i=n[3]||n[2];if(i)return i}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(r=e.shift(),":"===r[0]){n.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),n.raws.between+=r[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let s,a=[];for(;e.length&&(s=e[0][0],"space"===s||"comment"===s);)a.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(r=e[t],"!important"===r[1].toLowerCase()){n.important=!0;let i=this.stringFrom(e,t);i=this.spacesFromEnd(e)+i," !important"!==i&&(n.raws.important=i);break}if("important"===r[1].toLowerCase()){let i=e.slice(0),r="";for(let e=t;e>0;e--){let t=i[e][0];if(0===r.trim().indexOf("!")&&"space"!==t)break;r=i.pop()[1]+r}0===r.trim().indexOf("!")&&(n.important=!0,n.raws.important=r,e=i)}if("space"!==r[0]&&"comment"!==r[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=a.map((e=>e[1])).join(""),a=[]),this.raw(n,"value",a.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,i=!1,r=null,o=[],s=e[1].startsWith("--"),a=[],l=e;for(;l;){if(n=l[0],a.push(l),"("===n||"["===n)r||(r=l),o.push("("===n?")":"]");else if(s&&i&&"{"===n)r||(r=l),o.push("}");else if(0===o.length){if(";"===n){if(i)return void this.decl(a,s);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(i=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(r=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(r),t&&i){if(!s)for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,i){let r,o,s,a,l=n.length,c="",u=!0;for(let e=0;e<l;e+=1)r=n[e],o=r[0],"space"!==o||e!==l-1||i?"comment"===o?(a=n[e-1]?n[e-1][0]:"empty",s=n[e+1]?n[e+1][0]:"empty",d[a]||d[s]||","===c.slice(-1)?u=!1:c+=r[1]):c+=r[1]:u=!1;if(!u){let i=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:i,value:c}}e[t]=c}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let i=t;i<e.length;i++)n+=e[i][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},9274:(e,t,n)=>{"use strict";let i=n(6069),r=n(3531),o=n(3907),s=n(2780),a=n(2315),l=n(5930),d=n(2357),c=n(7890),u=n(7107),h=n(7910),f=n(697),p=n(8298),A=n(611),m=n(3300),g=n(2767),b=n(6825),v=n(199),C=n(1051);function y(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new a(e)}y.plugin=function(e,t){let n,i=!1;function r(...n){console&&console.warn&&!i&&(i=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let r=t(...n);return r.postcssPlugin=e,r.postcssVersion=(new a).version,r}return Object.defineProperty(r,"postcss",{get:()=>(n||(n=r()),n)}),r.process=function(e,t,n){return y([r(n)]).process(e,t)},r},y.stringify=l,y.parse=m,y.fromJSON=d,y.list=g,y.comment=e=>new h(e),y.atRule=e=>new f(e),y.decl=e=>new r(e),y.rule=e=>new b(e),y.root=e=>new v(e),y.document=e=>new c(e),y.CssSyntaxError=i,y.Declaration=r,y.Container=s,y.Processor=a,y.Document=c,y.Comment=h,y.Warning=u,y.AtRule=f,y.Result=p,y.Input=A,y.Rule=b,y.Root=v,y.Node=C,o.registerPostcss(y),e.exports=y,y.default=y},833:(e,t,n)=>{"use strict";let{SourceMapConsumer:i,SourceMapGenerator:r}=n(8645),{existsSync:o,readFileSync:s}=n(8892),{dirname:a,join:l}=n(5324);class d{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,i=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=a(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new i(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}loadFile(e){if(this.root=a(e),o(e))return this.mapFile=e,s(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof i)return r.fromSourceMap(t).toString();if(t instanceof r)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(a(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=d,d.default=d},2315:(e,t,n)=>{"use strict";let i=n(8424),r=n(3907),o=n(7890),s=n(199);class a{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new r(this,e,t):new i(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=a,a.default=a,s.registerProcessor(a),o.registerProcessor(a)},8298:(e,t,n)=>{"use strict";let i=n(7107);class r{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new i(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}e.exports=r,r.default=r},199:(e,t,n)=>{"use strict";let i,r,o=n(2780);class s extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let i=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of i)e.raws.before=t.raws.before;return i}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new i(new r,this,e).stringify()}}s.registerLazyResult=e=>{i=e},s.registerProcessor=e=>{r=e},e.exports=s,s.default=s,o.registerRoot(s)},6825:(e,t,n)=>{"use strict";let i=n(2780),r=n(2767);class o extends i{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return r.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=o,o.default=o,i.registerRule(o)},9845:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let r=(e.raws.between||"")+(t?";":"");this.builder(n+i+r,e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let i=e.parent,r=0;for(;i&&"root"!==i.type;)r+=1,i=i.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<r;e++)n+=t}return n}block(e,t){let n,i=this.raw(e,"between","beforeOpen");this.builder(t+i+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let r=e.nodes[i],o=this.raw(r,"before");o&&this.builder(o),this.stringify(r,t!==i||n)}}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),t&&(i+=";"),this.builder(i,e)}document(e){this.body(e)}raw(e,n,i){let r;if(i||(i=n),n&&(r=e.raws[n],void 0!==r))return r;let o=e.parent;if("before"===i){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return t[i];let s=e.root();if(s.rawCache||(s.rawCache={}),void 0!==s.rawCache[i])return s.rawCache[i];if("before"===i||"after"===i)return this.beforeAfter(e,i);{let t="raw"+((a=i)[0].toUpperCase()+a.slice(1));this[t]?r=this[t](s,e):s.walk((e=>{if(r=e.raws[n],void 0!==r)return!1}))}var a;return void 0===r&&(r=t[i]),s.rawCache[i]=r,r}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let n=e[t],i=e.raws[t];return i&&i.value===n?i.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=n,n.default=n},5930:(e,t,n)=>{"use strict";let i=n(9845);function r(e,t){new i(t).stringify(e)}e.exports=r,r.default=r},2990:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},1374:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),i="\\".charCodeAt(0),r="/".charCodeAt(0),o="\n".charCodeAt(0),s=" ".charCodeAt(0),a="\f".charCodeAt(0),l="\t".charCodeAt(0),d="\r".charCodeAt(0),c="[".charCodeAt(0),u="]".charCodeAt(0),h="(".charCodeAt(0),f=")".charCodeAt(0),p="{".charCodeAt(0),A="}".charCodeAt(0),m=";".charCodeAt(0),g="*".charCodeAt(0),b=":".charCodeAt(0),v="@".charCodeAt(0),C=/[\t\n\f\r "#'()/;[\\\]{}]/g,y=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w=/.[\r\n"'(/\\]/,_=/[\da-f]/i;e.exports=function(e,B={}){let E,x,k,T,j,D,S,I,M,P,R=e.css.valueOf(),O=B.ignoreErrors,L=R.length,N=0,z=[],F=[];function q(t){throw e.error("Unclosed "+t,N)}return{back:function(e){F.push(e)},endOfFile:function(){return 0===F.length&&N>=L},nextToken:function(e){if(F.length)return F.pop();if(N>=L)return;let B=!!e&&e.ignoreUnclosed;switch(E=R.charCodeAt(N),E){case o:case s:case l:case d:case a:x=N;do{x+=1,E=R.charCodeAt(x)}while(E===s||E===o||E===l||E===d||E===a);P=["space",R.slice(N,x)],N=x-1;break;case c:case u:case p:case A:case b:case m:case f:{let e=String.fromCharCode(E);P=[e,e,N];break}case h:if(I=z.length?z.pop()[1]:"",M=R.charCodeAt(N+1),"url"===I&&M!==t&&M!==n&&M!==s&&M!==o&&M!==l&&M!==a&&M!==d){x=N;do{if(D=!1,x=R.indexOf(")",x+1),-1===x){if(O||B){x=N;break}q("bracket")}for(S=x;R.charCodeAt(S-1)===i;)S-=1,D=!D}while(D);P=["brackets",R.slice(N,x+1),N,x],N=x}else x=R.indexOf(")",N+1),T=R.slice(N,x+1),-1===x||w.test(T)?P=["(","(",N]:(P=["brackets",T,N,x],N=x);break;case t:case n:k=E===t?"'":'"',x=N;do{if(D=!1,x=R.indexOf(k,x+1),-1===x){if(O||B){x=N+1;break}q("string")}for(S=x;R.charCodeAt(S-1)===i;)S-=1,D=!D}while(D);P=["string",R.slice(N,x+1),N,x],N=x;break;case v:C.lastIndex=N+1,C.test(R),x=0===C.lastIndex?R.length-1:C.lastIndex-2,P=["at-word",R.slice(N,x+1),N,x],N=x;break;case i:for(x=N,j=!0;R.charCodeAt(x+1)===i;)x+=1,j=!j;if(E=R.charCodeAt(x+1),j&&E!==r&&E!==s&&E!==o&&E!==l&&E!==d&&E!==a&&(x+=1,_.test(R.charAt(x)))){for(;_.test(R.charAt(x+1));)x+=1;R.charCodeAt(x+1)===s&&(x+=1)}P=["word",R.slice(N,x+1),N,x],N=x;break;default:E===r&&R.charCodeAt(N+1)===g?(x=R.indexOf("*/",N+2)+1,0===x&&(O||B?x=R.length:q("comment")),P=["comment",R.slice(N,x+1),N,x],N=x):(y.lastIndex=N+1,y.test(R),x=0===y.lastIndex?R.length-1:y.lastIndex-2,P=["word",R.slice(N,x+1),N,x],z.push(P),N=x)}return N++,P},position:function(){return N}}}},1393:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},7107:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},1359:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function i(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var i,o,s=[];for(o in"string"!=typeof t&&(t="?"),e)if(n.call(e,o)){if((i=e[o])||null!=i&&!isNaN(i)||(i=""),o=r(o),i=r(i),null===o||null===i)continue;s.push(o+"="+i)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var o=i(t[1]),s=i(t[2]);null===o||null===s||o in r||(r[o]=s)}return r}},3062:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},7521:(e,t,n)=>{const i=n(5482),r=n(2189),{isPlainObject:o}=n(993),s=n(2743),a=n(8287),{parse:l}=n(9274),d=["img","audio","video","picture","svg","object","map","iframe","embed"],c=["script","style"];function u(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function h(e,t){return{}.hasOwnProperty.call(e,t)}function f(e,t){const n=[];return u(e,(function(e){t(e)&&n.push(e)})),n}e.exports=A;const p=/^[^\0\t\n\f\r /<=>]+$/;function A(e,t,n){if(null==e)return"";"number"==typeof e&&(e=e.toString());let g="",b="";function v(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=g.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){D.length&&(D[D.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){D.length&&d.includes(this.tag)&&D[D.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},A.defaults,t)).parser=Object.assign({},m,t.parser);const C=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};c.forEach((function(e){C(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const y=t.nonTextTags||["script","style","textarea","option"];let w,_;t.allowedAttributes&&(w={},_={},u(t.allowedAttributes,(function(e,t){w[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(r(e).replace(/\\\*/g,".*")):w[t].push(e)})),n.length&&(_[t]=new RegExp("^("+n.join("|")+")$"))})));const B={},E={},x={};u(t.allowedClasses,(function(e,t){if(w&&(h(w,t)||(w[t]=[]),w[t].push("class")),B[t]=e,Array.isArray(e)){const n=[];B[t]=[],x[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(r(e).replace(/\\\*/g,".*")):e instanceof RegExp?x[t].push(e):B[t].push(e)})),n.length&&(E[t]=new RegExp("^("+n.join("|")+")$"))}}));const k={};let T,j,D,S,I,M,P;u(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=A.simpleTransform(e)),"*"===t?T=n:k[t]=n}));let R=!1;L();const O=new i.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&L(),M)return void P++;const i=new v(e,n);D.push(i);let r=!1;const d=!!i.text;let c;if(h(k,e)&&(c=k[e](e,n),i.attribs=n=c.attribs,void 0!==c.text&&(i.innerText=c.text),e!==c.tagName&&(i.name=e=c.tagName,I[j]=c.tagName)),T&&(c=T(e,n),i.attribs=n=c.attribs,e!==c.tagName&&(i.name=e=c.tagName,I[j]=c.tagName)),(!C(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(h(e,t))return!1;return!0}(S)||null!=t.nestingLimit&&j>=t.nestingLimit)&&(r=!0,S[j]=!0,"discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||-1!==y.indexOf(e)&&(M=!0,P=1),S[j]=!0),j++,r){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return;b=g,g=""}g+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(i.innerText=""),(!w||h(w,e)||w["*"])&&u(n,(function(n,r){if(!p.test(r))return void delete i.attribs[r];if(""===n&&!t.allowedEmptyAttributes.includes(r)&&(t.nonBooleanAttributes.includes(r)||t.nonBooleanAttributes.includes("*")))return void delete i.attribs[r];let d=!1;if(!w||h(w,e)&&-1!==w[e].indexOf(r)||w["*"]&&-1!==w["*"].indexOf(r)||h(_,e)&&_[e].test(r)||_["*"]&&_["*"].test(r))d=!0;else if(w&&w[e])for(const t of w[e])if(o(t)&&t.name&&t.name===r){d=!0;let e="";if(!0===t.multiple){const i=n.split(" ");for(const n of i)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(d){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(r)&&z(e,n))return void delete i.attribs[r];if("script"===e&&"src"===r){let e=!0;try{const i=F(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===i.url.hostname})),r=(t.allowedScriptDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=!1}if(!e)return void delete i.attribs[r]}if("iframe"===e&&"src"===r){let e=!0;try{const i=F(n);if(i.isRelativeUrl)e=h(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.url.hostname})),r=(t.allowedIframeDomains||[]).find((function(e){return i.url.hostname===e||i.url.hostname.endsWith(`.${e}`)}));e=n||r}}catch(t){e=!1}if(!e)return void delete i.attribs[r]}if("srcset"===r)try{let e=a(n);if(e.forEach((function(e){z("srcset",e.url)&&(e.evil=!0)})),e=f(e,(function(e){return!e.evil})),!e.length)return void delete i.attribs[r];n=f(e,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),i.attribs[r]=n}catch(e){return void delete i.attribs[r]}if("class"===r){const t=B[e],o=B["*"],a=E[e],l=x[e],d=[a,E["*"]].concat(l).filter((function(e){return e}));if(!(c=n,u=t&&o?s(t,o):t||o,A=d,n=u?(c=c.split(/\s+/)).filter((function(e){return-1!==u.indexOf(e)||A.some((function(t){return t.test(e)}))})).join(" "):c).length)return void delete i.attribs[r]}if("style"===r)if(t.parseStyleAttributes)try{if(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let i;return i=t[n.selector]&&t["*"]?s(t[n.selector],t["*"]):t[n.selector]||t["*"],i&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return h(e,n.prop)&&e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n),t}}(i),[])),e}(l(e+" {"+n+"}",{map:!1}),t.allowedStyles)),0===n.length)return void delete i.attribs[r]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+n+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete i.attribs[r]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");g+=" "+r,n&&n.length?g+='="'+N(n,!0)+'"':t.allowedEmptyAttributes.includes(r)&&(g+='=""')}else delete i.attribs[r];var c,u,A})),-1!==t.selfClosing.indexOf(e)?g+=" />":(g+=">",!i.innerText||d||t.textFilter||(g+=N(i.innerText),R=!0)),r&&(g=b+N(g),b="")},ontext:function(e){if(M)return;const n=D[D.length-1];let i;if(n&&(i=n.tag,e=void 0!==n.innerText?n.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||C(i))if("discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||"script"!==i&&"style"!==i){const n=N(e,!1);t.textFilter&&!R?g+=t.textFilter(n,i):R||(g+=n)}else g+=e;else e="";D.length&&(D[D.length-1].text+=e)},onclosetag:function(e,n){if(M){if(P--,P)return;M=!1}const i=D.pop();if(!i)return;if(i.tag!==e)return void D.push(i);M=!!t.enforceHtmlBoundary&&"html"===e,j--;const r=S[j];if(r){if(delete S[j],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void i.updateParentNodeText();b=g,g=""}I[j]&&(e=I[j],delete I[j]),t.exclusiveFilter&&t.exclusiveFilter(i)?g=g.substr(0,i.tagPosition):(i.updateParentNodeMediaChildren(),i.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||n&&!C(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?r&&(g=b,b=""):(g+="</"+e+">",r&&(g=b+N(g),b=""),R=!1))}},t.parser);return O.write(e),O.end(),g;function L(){g="",j=0,D=[],S={},I={},M=!1,P=0}function N(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,""")),e}function z(e,n){for(n=n.replace(/[\x00-\x20]+/g,"");;){const e=n.indexOf("\x3c!--");if(-1===e)break;const t=n.indexOf("--\x3e",e+4);if(-1===t)break;n=n.substring(0,e)+n.substring(t+3)}const i=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!i)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const r=i[1].toLowerCase();return h(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(r):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(r)}function F(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}const m={decodeEntities:!0};A.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},A.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(i,r){let o;if(n)for(o in t)r[o]=t[o];else r=t;return{tagName:e,attribs:r}}}},1565:(e,t,n)=>{const i=Symbol("SemVer ANY");class r{static get ANY(){return i}constructor(e,t){if(t=o(t),e instanceof r){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),d("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===i?this.value="":this.value=this.operator+this.semver.version,d("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=i}toString(){return this.value}test(e){if(d("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=r;const o=n(3990),{safeRe:s,t:a}=n(2841),l=n(4004),d=n(1361),c=n(4517),u=n(7476)},7476:(e,t,n)=>{class i{constructor(e,t){if(t=o(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!m(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&p)|(this.options.loose&&A))+":"+e,n=r.get(t);if(n)return n;const i=this.options.loose,o=i?d[c.HYPHENRANGELOOSE]:d[c.HYPHENRANGE];e=e.replace(o,j(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(d[c.COMPARATORTRIM],u),a("comparator trim",e),e=e.replace(d[c.TILDETRIM],h),a("tilde trim",e),e=e.replace(d[c.CARETTRIM],f),a("caret trim",e);let l=e.split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>T(e,this.options)));i&&(l=l.filter((e=>(a("loose invalid filter",e,this.options),!!e.match(d[c.COMPARATORLOOSE]))))),a("range list",l);const g=new Map,b=l.map((e=>new s(e,this.options)));for(const e of b){if(m(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const C=[...g.values()];return r.set(t,C),C}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((n=>b(n,t)&&e.set.some((e=>b(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(D(this.set[t],e,this.options))return!0;return!1}}e.exports=i;const r=new(n(8953)),o=n(3990),s=n(1565),a=n(1361),l=n(4517),{safeRe:d,t:c,comparatorTrimReplace:u,tildeTrimReplace:h,caretTrimReplace:f}=n(2841),{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:A}=n(9543),m=e=>"<0.0.0-0"===e.value,g=e=>""===e.value,b=(e,t)=>{let n=!0;const i=e.slice();let r=i.pop();for(;n&&i.length;)n=i.every((e=>r.intersects(e,t))),r=i.pop();return n},v=(e,t)=>(a("comp",e,t),e=_(e,t),a("caret",e),e=y(e,t),a("tildes",e),e=E(e,t),a("xrange",e),e=k(e,t),a("stars",e),e),C=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{const n=t.loose?d[c.TILDELOOSE]:d[c.TILDE];return e.replace(n,((t,n,i,r,o)=>{let s;return a("tilde",e,t,n,i,r,o),C(n)?s="":C(i)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:C(r)?s=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:o?(a("replaceTilde pr",o),s=`>=${n}.${i}.${r}-${o} <${n}.${+i+1}.0-0`):s=`>=${n}.${i}.${r} <${n}.${+i+1}.0-0`,a("tilde return",s),s}))},_=(e,t)=>e.trim().split(/\s+/).map((e=>B(e,t))).join(" "),B=(e,t)=>{a("caret",e,t);const n=t.loose?d[c.CARETLOOSE]:d[c.CARET],i=t.includePrerelease?"-0":"";return e.replace(n,((t,n,r,o,s)=>{let l;return a("caret",e,t,n,r,o,s),C(n)?l="":C(r)?l=`>=${n}.0.0${i} <${+n+1}.0.0-0`:C(o)?l="0"===n?`>=${n}.${r}.0${i} <${n}.${+r+1}.0-0`:`>=${n}.${r}.0${i} <${+n+1}.0.0-0`:s?(a("replaceCaret pr",s),l="0"===n?"0"===r?`>=${n}.${r}.${o}-${s} <${n}.${r}.${+o+1}-0`:`>=${n}.${r}.${o}-${s} <${n}.${+r+1}.0-0`:`>=${n}.${r}.${o}-${s} <${+n+1}.0.0-0`):(a("no pr"),l="0"===n?"0"===r?`>=${n}.${r}.${o}${i} <${n}.${r}.${+o+1}-0`:`>=${n}.${r}.${o}${i} <${n}.${+r+1}.0-0`:`>=${n}.${r}.${o} <${+n+1}.0.0-0`),a("caret return",l),l}))},E=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const n=t.loose?d[c.XRANGELOOSE]:d[c.XRANGE];return e.replace(n,((n,i,r,o,s,l)=>{a("xRange",e,n,i,r,o,s,l);const d=C(r),c=d||C(o),u=c||C(s),h=u;return"="===i&&h&&(i=""),l=t.includePrerelease?"-0":"",d?n=">"===i||"<"===i?"<0.0.0-0":"*":i&&h?(c&&(o=0),s=0,">"===i?(i=">=",c?(r=+r+1,o=0,s=0):(o=+o+1,s=0)):"<="===i&&(i="<",c?r=+r+1:o=+o+1),"<"===i&&(l="-0"),n=`${i+r}.${o}.${s}${l}`):c?n=`>=${r}.0.0${l} <${+r+1}.0.0-0`:u&&(n=`>=${r}.${o}.0${l} <${r}.${+o+1}.0-0`),a("xRange return",n),n}))},k=(e,t)=>(a("replaceStars",e,t),e.trim().replace(d[c.STAR],"")),T=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),j=e=>(t,n,i,r,o,s,a,l,d,c,u,h)=>`${n=C(i)?"":C(r)?`>=${i}.0.0${e?"-0":""}`:C(o)?`>=${i}.${r}.0${e?"-0":""}`:s?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=C(d)?"":C(c)?`<${+d+1}.0.0-0`:C(u)?`<${d}.${+c+1}.0-0`:h?`<=${d}.${c}.${u}-${h}`:e?`<${d}.${c}.${+u+1}-0`:`<=${l}`}`.trim(),D=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(a(e[n].semver),e[n].semver!==s.ANY&&e[n].semver.prerelease.length>0){const i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}},4517:(e,t,n)=>{const i=n(1361),{MAX_LENGTH:r,MAX_SAFE_INTEGER:o}=n(9543),{safeRe:s,t:a}=n(2841),l=n(3990),{compareIdentifiers:d}=n(3806);class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>r)throw new TypeError(`version is longer than ${r} characters`);i("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(i("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),d(this.major,e.major)||d(this.minor,e.minor)||d(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],r=e.prerelease[t];if(i("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return d(n,r)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],r=e.build[t];if(i("build compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return d(n,r)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let i=this.prerelease.length;for(;--i>=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);if(-1===i){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let i=[t,e];!1===n&&(i=[t]),0===d(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},2281:(e,t,n)=>{const i=n(3955);e.exports=(e,t)=>{const n=i(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},4004:(e,t,n)=>{const i=n(8848),r=n(8220),o=n(9761),s=n(2386),a=n(1262),l=n(9639);e.exports=(e,t,n,d)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return i(e,n,d);case"!=":return r(e,n,d);case">":return o(e,n,d);case">=":return s(e,n,d);case"<":return a(e,n,d);case"<=":return l(e,n,d);default:throw new TypeError(`Invalid operator: ${t}`)}}},6783:(e,t,n)=>{const i=n(4517),r=n(3955),{safeRe:o,t:s}=n(2841);e.exports=(e,t)=>{if(e instanceof i)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const i=t.includePrerelease?o[s.COERCERTLFULL]:o[s.COERCERTL];let r;for(;(r=i.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i.lastIndex=r.index+r[1].length+r[2].length;i.lastIndex=-1}else n=e.match(t.includePrerelease?o[s.COERCEFULL]:o[s.COERCE]);if(null===n)return null;const a=n[2],l=n[3]||"0",d=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",u=t.includePrerelease&&n[6]?`+${n[6]}`:"";return r(`${a}.${l}.${d}${c}${u}`,t)}},6106:(e,t,n)=>{const i=n(4517);e.exports=(e,t,n)=>{const r=new i(e,n),o=new i(t,n);return r.compare(o)||r.compareBuild(o)}},2132:(e,t,n)=>{const i=n(7851);e.exports=(e,t)=>i(e,t,!0)},7851:(e,t,n)=>{const i=n(4517);e.exports=(e,t,n)=>new i(e,n).compare(new i(t,n))},3269:(e,t,n)=>{const i=n(3955);e.exports=(e,t)=>{const n=i(e,null,!0),r=i(t,null,!0),o=n.compare(r);if(0===o)return null;const s=o>0,a=s?n:r,l=s?r:n,d=!!a.prerelease.length;if(l.prerelease.length&&!d)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";const c=d?"pre":"";return n.major!==r.major?c+"major":n.minor!==r.minor?c+"minor":n.patch!==r.patch?c+"patch":"prerelease"}},8848:(e,t,n)=>{const i=n(7851);e.exports=(e,t,n)=>0===i(e,t,n)},9761:(e,t,n)=>{const i=n(7851);e.exports=(e,t,n)=>i(e,t,n)>0},2386:(e,t,n)=>{const i=n(7851);e.exports=(e,t,n)=>i(e,t,n)>=0},8868:(e,t,n)=>{const i=n(4517);e.exports=(e,t,n,r,o)=>{"string"==typeof n&&(o=r,r=n,n=void 0);try{return new i(e instanceof i?e.version:e,n).inc(t,r,o).version}catch(e){return null}}},1262:(e,t,n)=>{const i=n(7851);e.exports=(e,t,n)=>i(e,t,n)<0},9639:(e,t,n)=>{const i=n(7851);e.exports=(e,t,n)=>i(e,t,n)<=0},6381:(e,t,n)=>{const i=n(4517);e.exports=(e,t)=>new i(e,t).major},1353:(e,t,n)=>{const i=n(4517);e.exports=(e,t)=>new i(e,t).minor},8220:(e,t,n)=>{const i=n(7851);e.exports=(e,t,n)=>0!==i(e,t,n)},3955:(e,t,n)=>{const i=n(4517);e.exports=(e,t,n=!1)=>{if(e instanceof i)return e;try{return new i(e,t)}catch(e){if(!n)return null;throw e}}},6082:(e,t,n)=>{const i=n(4517);e.exports=(e,t)=>new i(e,t).patch},9428:(e,t,n)=>{const i=n(3955);e.exports=(e,t)=>{const n=i(e,t);return n&&n.prerelease.length?n.prerelease:null}},7555:(e,t,n)=>{const i=n(7851);e.exports=(e,t,n)=>i(t,e,n)},3810:(e,t,n)=>{const i=n(6106);e.exports=(e,t)=>e.sort(((e,n)=>i(n,e,t)))},7229:(e,t,n)=>{const i=n(7476);e.exports=(e,t,n)=>{try{t=new i(t,n)}catch(e){return!1}return t.test(e)}},4042:(e,t,n)=>{const i=n(6106);e.exports=(e,t)=>e.sort(((e,n)=>i(e,n,t)))},8474:(e,t,n)=>{const i=n(3955);e.exports=(e,t)=>{const n=i(e,t);return n?n.version:null}},2722:(e,t,n)=>{const i=n(2841),r=n(9543),o=n(4517),s=n(3806),a=n(3955),l=n(8474),d=n(2281),c=n(8868),u=n(3269),h=n(6381),f=n(1353),p=n(6082),A=n(9428),m=n(7851),g=n(7555),b=n(2132),v=n(6106),C=n(4042),y=n(3810),w=n(9761),_=n(1262),B=n(8848),E=n(8220),x=n(2386),k=n(9639),T=n(4004),j=n(6783),D=n(1565),S=n(7476),I=n(7229),M=n(6364),P=n(5039),R=n(5357),O=n(1280),L=n(7403),N=n(8854),z=n(7226),F=n(7183),q=n(8623),U=n(6486),$=n(583);e.exports={parse:a,valid:l,clean:d,inc:c,diff:u,major:h,minor:f,patch:p,prerelease:A,compare:m,rcompare:g,compareLoose:b,compareBuild:v,sort:C,rsort:y,gt:w,lt:_,eq:B,neq:E,gte:x,lte:k,cmp:T,coerce:j,Comparator:D,Range:S,satisfies:I,toComparators:M,maxSatisfying:P,minSatisfying:R,minVersion:O,validRange:L,outside:N,gtr:z,ltr:F,intersects:q,simplifyRange:U,subset:$,SemVer:o,re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},9543:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},1361:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},3806:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const i=t.test(e),r=t.test(n);return i&&r&&(e=+e,n=+n),e===n?0:i&&!r?-1:r&&!i?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},8953:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},3990:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},2841:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=n(9543),s=n(1361),a=(t=e.exports={}).re=[],l=t.safeRe=[],d=t.src=[],c=t.t={};let u=0;const h="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",o],[h,r]],p=(e,t,n)=>{const i=(e=>{for(const[t,n]of f)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),r=u++;s(e,r,t),c[e]=r,d[r]=t,a[r]=new RegExp(t,n?"g":void 0),l[r]=new RegExp(i,n?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),p("MAINVERSION",`(${d[c.NUMERICIDENTIFIER]})\\.(${d[c.NUMERICIDENTIFIER]})\\.(${d[c.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${d[c.NUMERICIDENTIFIERLOOSE]})\\.(${d[c.NUMERICIDENTIFIERLOOSE]})\\.(${d[c.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${d[c.NUMERICIDENTIFIER]}|${d[c.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${d[c.NUMERICIDENTIFIERLOOSE]}|${d[c.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${d[c.PRERELEASEIDENTIFIER]}(?:\\.${d[c.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${d[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[c.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${h}+`),p("BUILD",`(?:\\+(${d[c.BUILDIDENTIFIER]}(?:\\.${d[c.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${d[c.MAINVERSION]}${d[c.PRERELEASE]}?${d[c.BUILD]}?`),p("FULL",`^${d[c.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${d[c.MAINVERSIONLOOSE]}${d[c.PRERELEASELOOSE]}?${d[c.BUILD]}?`),p("LOOSE",`^${d[c.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${d[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${d[c.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${d[c.XRANGEIDENTIFIER]})(?:\\.(${d[c.XRANGEIDENTIFIER]})(?:\\.(${d[c.XRANGEIDENTIFIER]})(?:${d[c.PRERELEASE]})?${d[c.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${d[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[c.XRANGEIDENTIFIERLOOSE]})(?:${d[c.PRERELEASELOOSE]})?${d[c.BUILD]}?)?)?`),p("XRANGE",`^${d[c.GTLT]}\\s*${d[c.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${d[c.GTLT]}\\s*${d[c.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),p("COERCE",`${d[c.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",d[c.COERCEPLAIN]+`(?:${d[c.PRERELEASE]})?`+`(?:${d[c.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",d[c.COERCE],!0),p("COERCERTLFULL",d[c.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${d[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${d[c.LONETILDE]}${d[c.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${d[c.LONETILDE]}${d[c.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${d[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${d[c.LONECARET]}${d[c.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${d[c.LONECARET]}${d[c.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${d[c.GTLT]}\\s*(${d[c.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${d[c.GTLT]}\\s*(${d[c.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${d[c.GTLT]}\\s*(${d[c.LOOSEPLAIN]}|${d[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${d[c.XRANGEPLAIN]})\\s+-\\s+(${d[c.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${d[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[c.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7226:(e,t,n)=>{const i=n(8854);e.exports=(e,t,n)=>i(e,t,">",n)},8623:(e,t,n)=>{const i=n(7476);e.exports=(e,t,n)=>(e=new i(e,n),t=new i(t,n),e.intersects(t,n))},7183:(e,t,n)=>{const i=n(8854);e.exports=(e,t,n)=>i(e,t,"<",n)},5039:(e,t,n)=>{const i=n(4517),r=n(7476);e.exports=(e,t,n)=>{let o=null,s=null,a=null;try{a=new r(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&-1!==s.compare(e)||(o=e,s=new i(o,n)))})),o}},5357:(e,t,n)=>{const i=n(4517),r=n(7476);e.exports=(e,t,n)=>{let o=null,s=null,a=null;try{a=new r(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&1!==s.compare(e)||(o=e,s=new i(o,n)))})),o}},1280:(e,t,n)=>{const i=n(4517),r=n(7476),o=n(9761);e.exports=(e,t)=>{e=new r(e,t);let n=new i("0.0.0");if(e.test(n))return n;if(n=new i("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const r=e.set[t];let s=null;r.forEach((e=>{const t=new i(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!o(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!s||n&&!o(n,s)||(n=s)}return n&&e.test(n)?n:null}},8854:(e,t,n)=>{const i=n(4517),r=n(1565),{ANY:o}=r,s=n(7476),a=n(7229),l=n(9761),d=n(1262),c=n(9639),u=n(2386);e.exports=(e,t,n,h)=>{let f,p,A,m,g;switch(e=new i(e,h),t=new s(t,h),n){case">":f=l,p=c,A=d,m=">",g=">=";break;case"<":f=d,p=u,A=l,m="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,h))return!1;for(let n=0;n<t.set.length;++n){const i=t.set[n];let s=null,a=null;if(i.forEach((e=>{e.semver===o&&(e=new r(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,h)?s=e:A(e.semver,a.semver,h)&&(a=e)})),s.operator===m||s.operator===g)return!1;if((!a.operator||a.operator===m)&&p(e,a.semver))return!1;if(a.operator===g&&A(e,a.semver))return!1}return!0}},6486:(e,t,n)=>{const i=n(7229),r=n(7851);e.exports=(e,t,n)=>{const o=[];let s=null,a=null;const l=e.sort(((e,t)=>r(e,t,n)));for(const e of l)i(e,t,n)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);const d=[];for(const[e,t]of o)e===t?d.push(e):t||e!==l[0]?t?e===l[0]?d.push(`<=${t}`):d.push(`${e} - ${t}`):d.push(`>=${e}`):d.push("*");const c=d.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return c.length<u.length?c:t}},583:(e,t,n)=>{const i=n(7476),r=n(1565),{ANY:o}=r,s=n(7229),a=n(7851),l=[new r(">=0.0.0-0")],d=[new r(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?l:d}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=d}const i=new Set;let r,c,f,p,A,m,g;for(const t of e)">"===t.operator||">="===t.operator?r=u(r,t,n):"<"===t.operator||"<="===t.operator?c=h(c,t,n):i.add(t.semver);if(i.size>1)return null;if(r&&c){if(f=a(r.semver,c.semver,n),f>0)return null;if(0===f&&(">="!==r.operator||"<="!==c.operator))return null}for(const e of i){if(r&&!s(e,String(r),n))return null;if(c&&!s(e,String(c),n))return null;for(const i of t)if(!s(e,String(i),n))return!1;return!0}let b=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,v=!(!r||n.includePrerelease||!r.semver.prerelease.length)&&r.semver;b&&1===b.prerelease.length&&"<"===c.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,r)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(p=u(r,e,n),p===e&&p!==r)return!1}else if(">="===r.operator&&!s(r.semver,String(e),n))return!1;if(c)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(A=h(c,e,n),A===e&&A!==c)return!1}else if("<="===c.operator&&!s(c.semver,String(e),n))return!1;if(!e.operator&&(c||r)&&0!==f)return!1}return!(r&&m&&!c&&0!==f||c&&g&&!r&&0!==f||v||b)},u=(e,t,n)=>{if(!e)return t;const i=a(e.semver,t.semver,n);return i>0?e:i<0||">"===t.operator&&">="===e.operator?t:e},h=(e,t,n)=>{if(!e)return t;const i=a(e.semver,t.semver,n);return i<0?e:i>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new i(e,n),t=new i(t,n);let r=!1;e:for(const i of e.set){for(const e of t.set){const t=c(i,e,n);if(r=r||null!==t,t)continue e}if(r)return!1}return!0}},6364:(e,t,n)=>{const i=n(7476);e.exports=(e,t)=>new i(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},7403:(e,t,n)=>{const i=n(7476);e.exports=(e,t)=>{try{return new i(e,t).range||"*"}catch(e){return null}}},8717:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var i=n(2591),r=n.n(i),o=n(1740),s=n.n(o),a=n(8128),l=n.n(a),d=n(855),c=n.n(d),u=n(3051),h=n.n(u),f=n(3656),p=n.n(f),A=n(2751),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=h(),r()(A.A,m);const g=A.A&&A.A.locals?A.A.locals:void 0},1534:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var i=n(2591),r=n.n(i),o=n(1740),s=n.n(o),a=n(8128),l=n.n(a),d=n(855),c=n.n(d),u=n(3051),h=n.n(u),f=n(3656),p=n.n(f),A=n(1144),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=h(),r()(A.A,m);const g=A.A&&A.A.locals?A.A.locals:void 0},510:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var i=n(2591),r=n.n(i),o=n(1740),s=n.n(o),a=n(8128),l=n.n(a),d=n(855),c=n.n(d),u=n(3051),h=n.n(u),f=n(3656),p=n.n(f),A=n(6048),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=h(),r()(A.A,m);const g=A.A&&A.A.locals?A.A.locals:void 0},4570:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var i=n(2591),r=n.n(i),o=n(1740),s=n.n(o),a=n(8128),l=n.n(a),d=n(855),c=n.n(d),u=n(3051),h=n.n(u),f=n(3656),p=n.n(f),A=n(1911),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=h(),r()(A.A,m);const g=A.A&&A.A.locals?A.A.locals:void 0},2591:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var l=e[a],d=i.base?l[0]+i.base:l[0],c=o[d]||0,u="".concat(d," ").concat(c);o[d]=c+1;var h=n(u),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:u,updater:p,references:1})}s.push(u)}return s}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var l=i(e,r),d=0;d<o.length;d++){var c=n(o[d]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},8128:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},3051:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},855:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},1740:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},3656:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2862:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var i=t.length-1,r=1;r<i;++r)t[r]=t[r].slice(1,-1);return t[i]=t[i].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function i(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function r(e){return e.toUpperCase()}function o(e){var i="[A-Za-z]",r="[0-9]",o=t(r,"[A-Fa-f]"),s=n(n("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+n("%[89A-Fa-f]"+o+"%"+o+o)+"|"+n("%"+o+o)),a="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",l=t("[\\:\\/\\?\\#\\[\\]\\@]",a),d=e?"[\\uE000-\\uF8FF]":"[]",c=t(i,r,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),u=n(i+t(i,r,"[\\+\\-\\.]")+"*"),h=n(n(s+"|"+t(c,a,"[\\:]"))+"*"),f=(n(n("25[0-5]")+"|"+n("2[0-4]"+r)+"|"+n("1"+r+r)+"|"+n("[1-9]"+r)+"|"+r),n(n("25[0-5]")+"|"+n("2[0-4]"+r)+"|"+n("1"+r+r)+"|"+n("0?[1-9]"+r)+"|0?0?"+r)),p=n(f+"\\."+f+"\\."+f+"\\."+f),A=n(o+"{1,4}"),m=n(n(A+"\\:"+A)+"|"+p),g=n(n(A+"\\:")+"{6}"+m),b=n("\\:\\:"+n(A+"\\:")+"{5}"+m),v=n(n(A)+"?\\:\\:"+n(A+"\\:")+"{4}"+m),C=n(n(n(A+"\\:")+"{0,1}"+A)+"?\\:\\:"+n(A+"\\:")+"{3}"+m),y=n(n(n(A+"\\:")+"{0,2}"+A)+"?\\:\\:"+n(A+"\\:")+"{2}"+m),w=n(n(n(A+"\\:")+"{0,3}"+A)+"?\\:\\:"+A+"\\:"+m),_=n(n(n(A+"\\:")+"{0,4}"+A)+"?\\:\\:"+m),B=n(n(n(A+"\\:")+"{0,5}"+A)+"?\\:\\:"+A),E=n(n(n(A+"\\:")+"{0,6}"+A)+"?\\:\\:"),x=n([g,b,v,C,y,w,_,B,E].join("|")),k=n(n(c+"|"+s)+"+"),T=(n(x+"\\%25"+k),n(x+n("\\%25|\\%(?!"+o+"{2})")+k)),j=n("[vV]"+o+"+\\."+t(c,a,"[\\:]")+"+"),D=n("\\["+n(T+"|"+x+"|"+j)+"\\]"),S=n(n(s+"|"+t(c,a))+"*"),I=n(D+"|"+p+"(?!"+S+")|"+S),M=n(r+"*"),P=n(n(h+"@")+"?"+I+n("\\:"+M)+"?"),R=n(s+"|"+t(c,a,"[\\:\\@]")),O=n(R+"*"),L=n(R+"+"),N=n(n(s+"|"+t(c,a,"[\\@]"))+"+"),z=n(n("\\/"+O)+"*"),F=n("\\/"+n(L+z)+"?"),q=n(N+z),U=n(L+z),$="(?!"+R+")",H=(n(z+"|"+F+"|"+q+"|"+U+"|"+$),n(n(R+"|"+t("[\\/\\?]",d))+"*")),W=n(n(R+"|[\\/\\?]")+"*"),V=n(n("\\/\\/"+P+z)+"|"+F+"|"+U+"|"+$),G=n(u+"\\:"+V+n("\\?"+H)+"?"+n("\\#"+W)+"?"),K=n(n("\\/\\/"+P+z)+"|"+F+"|"+q+"|"+$),Y=n(K+n("\\?"+H)+"?"+n("\\#"+W)+"?");return n(G+"|"+Y),n(u+"\\:"+V+n("\\?"+H)+"?"),n(n("\\/\\/("+n("("+h+")@")+"?("+I+")"+n("\\:("+M+")")+"?)")+"?("+z+"|"+F+"|"+U+"|"+$+")"),n("\\?("+H+")"),n("\\#("+W+")"),n(n("\\/\\/("+n("("+h+")@")+"?("+I+")"+n("\\:("+M+")")+"?)")+"?("+z+"|"+F+"|"+q+"|"+$+")"),n("\\?("+H+")"),n("\\#("+W+")"),n(n("\\/\\/("+n("("+h+")@")+"?("+I+")"+n("\\:("+M+")")+"?)")+"?("+z+"|"+F+"|"+U+"|"+$+")"),n("\\?("+H+")"),n("\\#("+W+")"),n("("+h+")@"),n("\\:("+M+")"),{NOT_SCHEME:new RegExp(t("[^]",i,r,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",c,a),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",c,a),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",c,a),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",c,a),"g"),NOT_QUERY:new RegExp(t("[^\\%]",c,a,"[\\:\\@\\/\\?]",d),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",c,a,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",c,a),"g"),UNRESERVED:new RegExp(c,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",c,l),"g"),PCT_ENCODED:new RegExp(s,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+x+")"+n(n("\\%25|\\%(?!"+o+"{2})")+"("+k+")")+"?\\]?$")}}var s=o(!1),a=o(!0),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=2147483647,c=36,u=/^xn--/,h=/[^\0-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=Math.floor,m=String.fromCharCode;function g(e){throw new RangeError(p[e])}function b(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+function(e,t){for(var n=[],i=e.length;i--;)n[i]=t(e[i]);return n}((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t=[],n=0,i=e.length;n<i;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}var C=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},y=function(e,t,n){var i=0;for(e=n?A(e/700):e>>1,e+=A(e/t);e>455;i+=c)e=A(e/35);return A(i+36*e/(e+38))},w=function(e){var t,n=[],i=e.length,r=0,o=128,s=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var l=0;l<a;++l)e.charCodeAt(l)>=128&&g("not-basic"),n.push(e.charCodeAt(l));for(var u=a>0?a+1:0;u<i;){for(var h=r,f=1,p=c;;p+=c){u>=i&&g("invalid-input");var m=(t=e.charCodeAt(u++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:c;(m>=c||m>A((d-r)/f))&&g("overflow"),r+=m*f;var b=p<=s?1:p>=s+26?26:p-s;if(m<b)break;var v=c-b;f>A(d/v)&&g("overflow"),f*=v}var C=n.length+1;s=y(r-h,C,0==h),A(r/C)>d-o&&g("overflow"),o+=A(r/C),r%=C,n.splice(r++,0,o)}return String.fromCodePoint.apply(String,n)},_=function(e){var t=[],n=(e=v(e)).length,i=128,r=0,o=72,s=!0,a=!1,l=void 0;try{for(var u,h=e[Symbol.iterator]();!(s=(u=h.next()).done);s=!0){var f=u.value;f<128&&t.push(m(f))}}catch(e){a=!0,l=e}finally{try{!s&&h.return&&h.return()}finally{if(a)throw l}}var p=t.length,b=p;for(p&&t.push("-");b<n;){var w=d,_=!0,B=!1,E=void 0;try{for(var x,k=e[Symbol.iterator]();!(_=(x=k.next()).done);_=!0){var T=x.value;T>=i&&T<w&&(w=T)}}catch(e){B=!0,E=e}finally{try{!_&&k.return&&k.return()}finally{if(B)throw E}}var j=b+1;w-i>A((d-r)/j)&&g("overflow"),r+=(w-i)*j,i=w;var D=!0,S=!1,I=void 0;try{for(var M,P=e[Symbol.iterator]();!(D=(M=P.next()).done);D=!0){var R=M.value;if(R<i&&++r>d&&g("overflow"),R==i){for(var O=r,L=c;;L+=c){var N=L<=o?1:L>=o+26?26:L-o;if(O<N)break;var z=O-N,F=c-N;t.push(m(C(N+z%F,0))),O=A(z/F)}t.push(m(C(O,0))),o=y(r,j,b==p),r=0,++b}}}catch(e){S=!0,I=e}finally{try{!D&&P.return&&P.return()}finally{if(S)throw I}}++r,++i}return t.join("")},B={version:"2.1.0",ucs2:{decode:v,encode:function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))}},decode:w,encode:_,toASCII:function(e){return b(e,(function(e){return h.test(e)?"xn--"+_(e):e}))},toUnicode:function(e){return b(e,(function(e){return u.test(e)?w(e.slice(4).toLowerCase()):e}))}},E={};function x(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function k(e){for(var t="",n=0,i=e.length;n<i;){var r=parseInt(e.substr(n+1,2),16);if(r<128)t+=String.fromCharCode(r),n+=3;else if(r>=194&&r<224){if(i-n>=6){var o=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&r)<<6|63&o)}else t+=e.substr(n,6);n+=6}else if(r>=224){if(i-n>=9){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&r)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function T(e,t){function n(e){var n=k(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,x).replace(t.PCT_ENCODED,r)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,x).replace(t.PCT_ENCODED,r)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,x).replace(t.PCT_ENCODED,r)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,x).replace(t.PCT_ENCODED,r)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,x).replace(t.PCT_ENCODED,r)),e}function j(e){return e.replace(/^0*(.*)/,"$1")||"0"}function D(e,t){var n=e.match(t.IPV4ADDRESS)||[],i=l(n,2)[1];return i?i.split(".").map(j).join("."):e}function S(e,t){var n=e.match(t.IPV6ADDRESS)||[],i=l(n,3),r=i[1],o=i[2];if(r){for(var s=r.toLowerCase().split("::").reverse(),a=l(s,2),d=a[0],c=a[1],u=c?c.split(":").map(j):[],h=d.split(":").map(j),f=t.IPV4ADDRESS.test(h[h.length-1]),p=f?7:8,A=h.length-p,m=Array(p),g=0;g<p;++g)m[g]=u[g]||h[A+g]||"";f&&(m[p-1]=D(m[p-1],t));var b=m.reduce((function(e,t,n){if(!t||"0"===t){var i=e[e.length-1];i&&i.index+i.length===n?i.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],v=void 0;if(b&&b.length>1){var C=m.slice(0,b.index),y=m.slice(b.index+b.length);v=C.join(":")+"::"+y.join(":")}else v=m.join(":");return o&&(v+="%"+o),v}return e}var I=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,M=void 0==="".match(/(){0}/)[1];function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},i=!1!==t.iri?a:s;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var r=e.match(I);if(r){M?(n.scheme=r[1],n.userinfo=r[3],n.host=r[4],n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=r[7],n.fragment=r[8],isNaN(n.port)&&(n.port=r[5])):(n.scheme=r[1]||void 0,n.userinfo=-1!==e.indexOf("@")?r[3]:void 0,n.host=-1!==e.indexOf("//")?r[4]:void 0,n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=-1!==e.indexOf("?")?r[7]:void 0,n.fragment=-1!==e.indexOf("#")?r[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?r[4]:void 0)),n.host&&(n.host=S(D(n.host,i),i)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var o=E[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)T(n,i);else{if(n.host&&(t.domainHost||o&&o.domainHost))try{n.host=B.toASCII(n.host.replace(i.PCT_ENCODED,k).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}T(n,s)}o&&o.parse&&o.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}var R=/^\.\.?\//,O=/^\/\.(\/|$)/,L=/^\/\.\.(\/|$)/,N=/^\/?(?:.|\n)*?(?=\/|$)/;function z(e){for(var t=[];e.length;)if(e.match(R))e=e.replace(R,"");else if(e.match(O))e=e.replace(O,"/");else if(e.match(L))e=e.replace(L,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(N);if(!n)throw new Error("Unexpected dot segment condition");var i=n[0];e=e.slice(i.length),t.push(i)}return t.join("")}function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?a:s,i=[],r=E[(t.scheme||e.scheme||"").toLowerCase()];if(r&&r.serialize&&r.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||r&&r.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(n.PCT_ENCODED,k).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}T(e,n),"suffix"!==t.reference&&e.scheme&&(i.push(e.scheme),i.push(":"));var o=function(e,t){var n=!1!==t.iri?a:s,i=[];return void 0!==e.userinfo&&(i.push(e.userinfo),i.push("@")),void 0!==e.host&&i.push(S(D(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(i.push(":"),i.push(String(e.port))),i.length?i.join(""):void 0}(e,t);if(void 0!==o&&("suffix"!==t.reference&&i.push("//"),i.push(o),e.path&&"/"!==e.path.charAt(0)&&i.push("/")),void 0!==e.path){var l=e.path;t.absolutePath||r&&r.absolutePath||(l=z(l)),void 0===o&&(l=l.replace(/^\/\//,"/%2F")),i.push(l)}return void 0!==e.query&&(i.push("?"),i.push(e.query)),void 0!==e.fragment&&(i.push("#"),i.push(e.fragment)),i.join("")}function q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i={};return arguments[3]||(e=P(F(e,n),n),t=P(F(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=z(t.path||""),i.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=z(t.path||""),i.query=t.query):(t.path?("/"===t.path.charAt(0)?i.path=z(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:i.path=t.path:i.path="/"+t.path,i.path=z(i.path)),i.query=t.query):(i.path=e.path,void 0!==t.query?i.query=t.query:i.query=e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function U(e,t){return e&&e.toString().replace(t&&t.iri?a.PCT_ENCODED:s.PCT_ENCODED,k)}var $={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},H={scheme:"https",domainHost:$.domainHost,parse:$.parse,serialize:$.serialize};function W(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var V={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=W(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(W(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),i=l(n,2),r=i[0],o=i[1];e.path=r&&"/"!==r?r:void 0,e.query=o,e.resourceName=void 0}return e.fragment=void 0,e}},G={scheme:"wss",domainHost:V.domainHost,parse:V.parse,serialize:V.serialize},K={},Y="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",J="[0-9A-Fa-f]",X=n(n("%[EFef]"+J+"%"+J+J+"%"+J+J)+"|"+n("%[89A-Fa-f]"+J+"%"+J+J)+"|"+n("%"+J+J)),Z=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Q=new RegExp(Y,"g"),ee=new RegExp(X,"g"),te=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Z),"g"),ne=new RegExp(t("[^]",Y,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),ie=ne;function re(e){var t=k(e);return t.match(Q)?t:e}var oe={scheme:"mailto",parse:function(e,t){var n=e,i=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var r=!1,o={},s=n.query.split("&"),a=0,l=s.length;a<l;++a){var d=s[a].split("=");switch(d[0]){case"to":for(var c=d[1].split(","),u=0,h=c.length;u<h;++u)i.push(c[u]);break;case"subject":n.subject=U(d[1],t);break;case"body":n.body=U(d[1],t);break;default:r=!0,o[U(d[0],t)]=U(d[1],t)}}r&&(n.headers=o)}n.query=void 0;for(var f=0,p=i.length;f<p;++f){var A=i[f].split("@");if(A[0]=U(A[0]),t.unicodeSupport)A[1]=U(A[1],t).toLowerCase();else try{A[1]=B.toASCII(U(A[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}i[f]=A.join("@")}return n},serialize:function(e,t){var n,i=e,o=null!=(n=e.to)?n instanceof Array?n:"number"!=typeof n.length||n.split||n.setInterval||n.call?[n]:Array.prototype.slice.call(n):[];if(o){for(var s=0,a=o.length;s<a;++s){var l=String(o[s]),d=l.lastIndexOf("@"),c=l.slice(0,d).replace(ee,re).replace(ee,r).replace(te,x),u=l.slice(d+1);try{u=t.iri?B.toUnicode(u):B.toASCII(U(u,t).toLowerCase())}catch(e){i.error=i.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}o[s]=c+"@"+u}i.path=o.join(",")}var h=e.headers=e.headers||{};e.subject&&(h.subject=e.subject),e.body&&(h.body=e.body);var f=[];for(var p in h)h[p]!==K[p]&&f.push(p.replace(ee,re).replace(ee,r).replace(ne,x)+"="+h[p].replace(ee,re).replace(ee,r).replace(ie,x));return f.length&&(i.query=f.join("&")),i}},se=/^([^\:]+)\:(.*)/,ae={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(se),i=e;if(n){var r=t.scheme||i.scheme||"urn",o=n[1].toLowerCase(),s=n[2],a=r+":"+(t.nid||o),l=E[a];i.nid=o,i.nss=s,i.path=void 0,l&&(i=l.parse(i,t))}else i.error=i.error||"URN can not be parsed.";return i},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",i=e.nid,r=n+":"+(t.nid||i),o=E[r];o&&(e=o.serialize(e,t));var s=e,a=e.nss;return s.path=(i||t.nid)+":"+a,s}},le=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,de={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(le)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};E[$.scheme]=$,E[H.scheme]=H,E[V.scheme]=V,E[G.scheme]=G,E[oe.scheme]=oe,E[ae.scheme]=ae,E[de.scheme]=de,e.SCHEMES=E,e.pctEncChar=x,e.pctDecChars=k,e.parse=P,e.removeDotSegments=z,e.serialize=F,e.resolveComponents=q,e.resolve=function(e,t,n){var i=function(e,t){var n=e;if(t)for(var i in t)n[i]=t[i];return n}({scheme:"null"},n);return F(q(P(e,i),P(t,i),i,!0),i)},e.normalize=function(e,t){return"string"==typeof e?e=F(P(e,t),t):"object"===i(e)&&(e=P(F(e,t),t)),e},e.equal=function(e,t,n){return"string"==typeof e?e=F(P(e,n),n):"object"===i(e)&&(e=F(e,n)),"string"==typeof t?t=F(P(t,n),n):"object"===i(t)&&(t=F(t,n)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?a.ESCAPE:s.ESCAPE,x)},e.unescapeComponent=U,Object.defineProperty(e,"__esModule",{value:!0})}(t)},2225:(e,t,n)=>{"use strict";var i=n(3062),r=n(1359),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,d=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function u(e){return(e||"").toString().replace(o,"")}var h=[["#","hash"],["?","query"],function(e,t){return A(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function p(e){var t,i=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},r={},o=typeof(e=e||i);if("blob:"===e.protocol)r=new g(unescape(e.pathname),{});else if("string"===o)for(t in r=new g(e,{}),f)delete r[t];else if("object"===o){for(t in e)t in f||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=a.test(e.href))}return r}function A(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function m(e,t){e=(e=u(e)).replace(s,""),t=t||{};var n,i=d.exec(e),r=i[1]?i[1].toLowerCase():"",o=!!i[2],a=!!i[3],l=0;return o?a?(n=i[2]+i[3]+i[4],l=i[2].length+i[3].length):(n=i[2]+i[4],l=i[2].length):a?(n=i[3]+i[4],l=i[3].length):n=i[4],"file:"===r?l>=2&&(n=n.slice(2)):A(r)?n=i[4]:r?o&&(n=n.slice(2)):l>=2&&A(t.protocol)&&(n=i[4]),{protocol:r,slashes:o||A(r),slashesCount:l,rest:n}}function g(e,t,n){if(e=(e=u(e)).replace(s,""),!(this instanceof g))return new g(e,t,n);var o,a,l,d,f,b,v=h.slice(),C=typeof t,y=this,w=0;for("object"!==C&&"string"!==C&&(n=t,t=null),n&&"function"!=typeof n&&(n=r.parse),o=!(a=m(e||"",t=p(t))).protocol&&!a.slashes,y.slashes=a.slashes||o&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||c.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!A(y.protocol)))&&(v[3]=[/(.*)/,"pathname"]);w<v.length;w++)"function"!=typeof(d=v[w])?(l=d[0],b=d[1],l!=l?y[b]=e:"string"==typeof l?~(f="@"===l?e.lastIndexOf(l):e.indexOf(l))&&("number"==typeof d[2]?(y[b]=e.slice(0,f),e=e.slice(f+d[2])):(y[b]=e.slice(f),e=e.slice(0,f))):(f=l.exec(e))&&(y[b]=f[1],e=e.slice(0,f.index)),y[b]=y[b]||o&&d[3]&&t[b]||"",d[4]&&(y[b]=y[b].toLowerCase())):e=d(e,y);n&&(y.query=n(y.query)),o&&t.slashes&&"/"!==y.pathname.charAt(0)&&(""!==y.pathname||""!==t.pathname)&&(y.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),i=n.length,r=n[i-1],o=!1,s=0;i--;)"."===n[i]?n.splice(i,1):".."===n[i]?(n.splice(i,1),s++):s&&(0===i&&(o=!0),n.splice(i,1),s--);return o&&n.unshift(""),"."!==r&&".."!==r||n.push(""),n.join("/")}(y.pathname,t.pathname)),"/"!==y.pathname.charAt(0)&&A(y.protocol)&&(y.pathname="/"+y.pathname),i(y.port,y.protocol)||(y.host=y.hostname,y.port=""),y.username=y.password="",y.auth&&(~(f=y.auth.indexOf(":"))?(y.username=y.auth.slice(0,f),y.username=encodeURIComponent(decodeURIComponent(y.username)),y.password=y.auth.slice(f+1),y.password=encodeURIComponent(decodeURIComponent(y.password))):y.username=encodeURIComponent(decodeURIComponent(y.auth)),y.auth=y.password?y.username+":"+y.password:y.username),y.origin="file:"!==y.protocol&&A(y.protocol)&&y.host?y.protocol+"//"+y.host:"null",y.href=y.toString()}g.prototype={set:function(e,t,n){var o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||r.parse)(t)),o[e]=t;break;case"port":o[e]=t,i(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,l.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!n;break;case"pathname":case"hash":if(t){var s="pathname"===e?"/":"#";o[e]=t.charAt(0)!==s?s+t:t}else o[e]=t;break;case"username":case"password":o[e]=encodeURIComponent(t);break;case"auth":var a=t.indexOf(":");~a?(o.username=t.slice(0,a),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(a+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var d=0;d<h.length;d++){var c=h[d];c[4]&&(o[c[1]]=o[c[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&A(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=r.stringify);var t,n=this,i=n.host,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var s=o+(n.protocol&&n.slashes||A(n.protocol)?"//":"");return n.username?(s+=n.username,n.password&&(s+=":"+n.password),s+="@"):n.password?(s+=":"+n.password,s+="@"):"file:"!==n.protocol&&A(n.protocol)&&!i&&"/"!==n.pathname&&(s+="@"),(":"===i[i.length-1]||l.test(n.hostname)&&!n.port)&&(i+=":"),s+=i+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(s+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(s+=n.hash),s}},g.extractProtocol=m,g.location=p,g.trimLeft=u,g.qs=r,e.exports=g},9029:(e,t,n)=>{e.exports={v1:{state:n(3434),view:n(7838)},v2:{state:n(5373),view:n(5051)}}},2426:e=>{"use strict";e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxOCAxOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTggMTg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDpub25lO30KPC9zdHlsZT4KPHBhdGggZD0iTTUuMiw1LjlMOSw5LjdsMy44LTMuOGwxLjIsMS4ybC00LjksNWwtNC45LTVMNS4yLDUuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTAtMC42aDE4djE4SDBWLTAuNnoiLz4KPC9zdmc+Cg"},5738:(e,t,n)=>{"use strict";e.exports=n.p+"23f19bb08961f37aaf69.eot"},3284:(e,t,n)=>{"use strict";e.exports=n.p+"527940b104eb2ea366c8.ttf"},3188:(e,t,n)=>{"use strict";e.exports=n.p+"2285773e6b4b172f07d9.woff"},6574:(e,t,n)=>{"use strict";e.exports=n.p+"d878b0a6a1144760244f.woff2"},2322:(e,t,n)=>{"use strict";e.exports=n.p+"77206a6bb316fa0aded5.eot"},7020:(e,t,n)=>{"use strict";e.exports=n.p+"491974d108fe4002b2aa.ttf"},1583:(e,t,n)=>{"use strict";e.exports=n.p+"bb58e57c48a3e911f15f.woff"},8182:(e,t,n)=>{"use strict";e.exports=n.p+"7a3337626410ca2f4071.woff2"},630:(e,t,n)=>{"use strict";e.exports=n.p+"9bbb245e67a133f6e486.eot"},5920:(e,t,n)=>{"use strict";e.exports=n.p+"be9ee23c0c6390141475.ttf"},4832:(e,t,n)=>{"use strict";e.exports=n.p+"eeccf4f66002c6f2ba24.woff"},5890:(e,t,n)=>{"use strict";e.exports=n.p+"1551f4f60c37af51121f.woff2"},9465:(e,t,n)=>{"use strict";e.exports=n.p+"2f517e09eb2ca6650ff5.svg"},1207:(e,t,n)=>{"use strict";e.exports=n.p+"4689f52cc96215721344.svg"},2580:(e,t,n)=>{"use strict";e.exports=n.p+"7a8b4f130182d19a2d7c.svg"},2055:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__2055__},6840:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__6840__},1308:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__1308__},3215:()=>{},8892:()=>{},5324:()=>{},8645:()=>{},588:()=>{},945:e=>{e.exports={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let i="",r=n;for(;r--;)i+=e[Math.random()*e.length|0];return i}}},2562:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VERSION:()=>r,after:()=>Pt,all:()=>en,allKeys:()=>me,any:()=>tn,assign:()=>Pe,before:()=>Rt,bind:()=>wt,bindAll:()=>Et,chain:()=>bt,chunk:()=>Nn,clone:()=>Ne,collect:()=>Kt,compact:()=>kn,compose:()=>Mt,constant:()=>Z,contains:()=>nn,countBy:()=>gn,create:()=>Le,debounce:()=>Dt,default:()=>$n,defaults:()=>Re,defer:()=>Tt,delay:()=>kt,detect:()=>Wt,difference:()=>jn,drop:()=>En,each:()=>Gt,escape:()=>st,every:()=>en,extend:()=>Me,extendOwn:()=>Pe,filter:()=>Zt,find:()=>Wt,findIndex:()=>zt,findKey:()=>Lt,findLastIndex:()=>Ft,findWhere:()=>Vt,first:()=>Bn,flatten:()=>Tn,foldl:()=>Jt,foldr:()=>Xt,forEach:()=>Gt,functions:()=>Se,get:()=>$e,groupBy:()=>An,has:()=>He,head:()=>Bn,identity:()=>We,include:()=>nn,includes:()=>nn,indexBy:()=>mn,indexOf:()=>$t,initial:()=>_n,inject:()=>Jt,intersection:()=>Mn,invert:()=>De,invoke:()=>rn,isArguments:()=>Y,isArray:()=>V,isArrayBuffer:()=>L,isBoolean:()=>T,isDataView:()=>W,isDate:()=>M,isElement:()=>j,isEmpty:()=>le,isEqual:()=>Ae,isError:()=>R,isFinite:()=>J,isFunction:()=>F,isMap:()=>Be,isMatch:()=>de,isNaN:()=>X,isNull:()=>x,isNumber:()=>I,isObject:()=>E,isRegExp:()=>P,isSet:()=>xe,isString:()=>S,isSymbol:()=>O,isTypedArray:()=>re,isUndefined:()=>k,isWeakMap:()=>Ee,isWeakSet:()=>ke,iteratee:()=>Je,keys:()=>ae,last:()=>xn,lastIndexOf:()=>Ht,map:()=>Kt,mapObject:()=>Ze,matcher:()=>Ve,matches:()=>Ve,max:()=>an,memoize:()=>xt,methods:()=>Se,min:()=>ln,mixin:()=>Fn,negate:()=>It,noop:()=>Qe,now:()=>it,object:()=>On,omit:()=>wn,once:()=>Ot,pairs:()=>je,partial:()=>yt,partition:()=>bn,pick:()=>yn,pluck:()=>on,property:()=>Ge,propertyOf:()=>et,random:()=>nt,range:()=>Ln,reduce:()=>Jt,reduceRight:()=>Xt,reject:()=>Qt,rest:()=>En,restArguments:()=>B,result:()=>At,sample:()=>un,select:()=>Zt,shuffle:()=>hn,size:()=>vn,some:()=>tn,sortBy:()=>fn,sortedIndex:()=>qt,tail:()=>En,take:()=>Bn,tap:()=>ze,template:()=>pt,templateSettings:()=>lt,throttle:()=>jt,times:()=>tt,toArray:()=>cn,toPath:()=>Fe,transpose:()=>Pn,unescape:()=>at,union:()=>In,uniq:()=>Sn,unique:()=>Sn,uniqueId:()=>gt,unzip:()=>Pn,values:()=>Te,where:()=>sn,without:()=>Dn,wrap:()=>St,zip:()=>Rn});var i={};n.r(i),n.d(i,{VERSION:()=>r,after:()=>Pt,all:()=>en,allKeys:()=>me,any:()=>tn,assign:()=>Pe,before:()=>Rt,bind:()=>wt,bindAll:()=>Et,chain:()=>bt,chunk:()=>Nn,clone:()=>Ne,collect:()=>Kt,compact:()=>kn,compose:()=>Mt,constant:()=>Z,contains:()=>nn,countBy:()=>gn,create:()=>Le,debounce:()=>Dt,default:()=>qn,defaults:()=>Re,defer:()=>Tt,delay:()=>kt,detect:()=>Wt,difference:()=>jn,drop:()=>En,each:()=>Gt,escape:()=>st,every:()=>en,extend:()=>Me,extendOwn:()=>Pe,filter:()=>Zt,find:()=>Wt,findIndex:()=>zt,findKey:()=>Lt,findLastIndex:()=>Ft,findWhere:()=>Vt,first:()=>Bn,flatten:()=>Tn,foldl:()=>Jt,foldr:()=>Xt,forEach:()=>Gt,functions:()=>Se,get:()=>$e,groupBy:()=>An,has:()=>He,head:()=>Bn,identity:()=>We,include:()=>nn,includes:()=>nn,indexBy:()=>mn,indexOf:()=>$t,initial:()=>_n,inject:()=>Jt,intersection:()=>Mn,invert:()=>De,invoke:()=>rn,isArguments:()=>Y,isArray:()=>V,isArrayBuffer:()=>L,isBoolean:()=>T,isDataView:()=>W,isDate:()=>M,isElement:()=>j,isEmpty:()=>le,isEqual:()=>Ae,isError:()=>R,isFinite:()=>J,isFunction:()=>F,isMap:()=>Be,isMatch:()=>de,isNaN:()=>X,isNull:()=>x,isNumber:()=>I,isObject:()=>E,isRegExp:()=>P,isSet:()=>xe,isString:()=>S,isSymbol:()=>O,isTypedArray:()=>re,isUndefined:()=>k,isWeakMap:()=>Ee,isWeakSet:()=>ke,iteratee:()=>Je,keys:()=>ae,last:()=>xn,lastIndexOf:()=>Ht,map:()=>Kt,mapObject:()=>Ze,matcher:()=>Ve,matches:()=>Ve,max:()=>an,memoize:()=>xt,methods:()=>Se,min:()=>ln,mixin:()=>Fn,negate:()=>It,noop:()=>Qe,now:()=>it,object:()=>On,omit:()=>wn,once:()=>Ot,pairs:()=>je,partial:()=>yt,partition:()=>bn,pick:()=>yn,pluck:()=>on,property:()=>Ge,propertyOf:()=>et,random:()=>nt,range:()=>Ln,reduce:()=>Jt,reduceRight:()=>Xt,reject:()=>Qt,rest:()=>En,restArguments:()=>B,result:()=>At,sample:()=>un,select:()=>Zt,shuffle:()=>hn,size:()=>vn,some:()=>tn,sortBy:()=>fn,sortedIndex:()=>qt,tail:()=>En,take:()=>Bn,tap:()=>ze,template:()=>pt,templateSettings:()=>lt,throttle:()=>jt,times:()=>tt,toArray:()=>cn,toPath:()=>Fe,transpose:()=>Pn,unescape:()=>at,union:()=>In,uniq:()=>Sn,unique:()=>Sn,uniqueId:()=>gt,unzip:()=>Pn,values:()=>Te,where:()=>sn,without:()=>Dn,wrap:()=>St,zip:()=>Rn});var r="1.13.7",o="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},s=Array.prototype,a=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,d=s.push,c=s.slice,u=a.toString,h=a.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,A=Array.isArray,m=Object.keys,g=Object.create,b=f&&ArrayBuffer.isView,v=isNaN,C=isFinite,y=!{toString:null}.propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=Math.pow(2,53)-1;function B(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),i=Array(n),r=0;r<n;r++)i[r]=arguments[r+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var o=Array(t+1);for(r=0;r<t;r++)o[r]=arguments[r];return o[t]=i,e.apply(this,o)}}function E(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function x(e){return null===e}function k(e){return void 0===e}function T(e){return!0===e||!1===e||"[object Boolean]"===u.call(e)}function j(e){return!(!e||1!==e.nodeType)}function D(e){var t="[object "+e+"]";return function(e){return u.call(e)===t}}const S=D("String"),I=D("Number"),M=D("Date"),P=D("RegExp"),R=D("Error"),O=D("Symbol"),L=D("ArrayBuffer");var N=D("Function"),z=o.document&&o.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof z&&(N=function(e){return"function"==typeof e||!1});const F=N,q=D("Object");var U=p&&(!/\[native code\]/.test(String(DataView))||q(new DataView(new ArrayBuffer(8)))),$="undefined"!=typeof Map&&q(new Map),H=D("DataView");const W=U?function(e){return null!=e&&F(e.getInt8)&&L(e.buffer)}:H,V=A||D("Array");function G(e,t){return null!=e&&h.call(e,t)}var K=D("Arguments");!function(){K(arguments)||(K=function(e){return G(e,"callee")})}();const Y=K;function J(e){return!O(e)&&C(e)&&!isNaN(parseFloat(e))}function X(e){return I(e)&&v(e)}function Z(e){return function(){return e}}function Q(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=_}}function ee(e){return function(t){return null==t?void 0:t[e]}}const te=ee("byteLength"),ne=Q(te);var ie=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const re=f?function(e){return b?b(e)&&!W(e):ne(e)&&ie.test(u.call(e))}:Z(!1),oe=ee("length");function se(e,t){t=function(e){for(var t={},n=e.length,i=0;i<n;++i)t[e[i]]=!0;return{contains:function(e){return!0===t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=w.length,i=e.constructor,r=F(i)&&i.prototype||a,o="constructor";for(G(e,o)&&!t.contains(o)&&t.push(o);n--;)(o=w[n])in e&&e[o]!==r[o]&&!t.contains(o)&&t.push(o)}function ae(e){if(!E(e))return[];if(m)return m(e);var t=[];for(var n in e)G(e,n)&&t.push(n);return y&&se(e,t),t}function le(e){if(null==e)return!0;var t=oe(e);return"number"==typeof t&&(V(e)||S(e)||Y(e))?0===t:0===oe(ae(e))}function de(e,t){var n=ae(t),i=n.length;if(null==e)return!i;for(var r=Object(e),o=0;o<i;o++){var s=n[o];if(t[s]!==r[s]||!(s in r))return!1}return!0}function ce(e){return e instanceof ce?e:this instanceof ce?void(this._wrapped=e):new ce(e)}function ue(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,te(e))}ce.VERSION=r,ce.prototype.value=function(){return this._wrapped},ce.prototype.valueOf=ce.prototype.toJSON=ce.prototype.value,ce.prototype.toString=function(){return String(this._wrapped)};var he="[object DataView]";function fe(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var r=typeof e;return("function"===r||"object"===r||"object"==typeof t)&&pe(e,t,n,i)}function pe(e,t,n,i){e instanceof ce&&(e=e._wrapped),t instanceof ce&&(t=t._wrapped);var r=u.call(e);if(r!==u.call(t))return!1;if(U&&"[object Object]"==r&&W(e)){if(!W(t))return!1;r=he}switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return l.valueOf.call(e)===l.valueOf.call(t);case"[object ArrayBuffer]":case he:return pe(ue(e),ue(t),n,i)}var o="[object Array]"===r;if(!o&&re(e)){if(te(e)!==te(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,a=t.constructor;if(s!==a&&!(F(s)&&s instanceof s&&F(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}i=i||[];for(var d=(n=n||[]).length;d--;)if(n[d]===e)return i[d]===t;if(n.push(e),i.push(t),o){if((d=e.length)!==t.length)return!1;for(;d--;)if(!fe(e[d],t[d],n,i))return!1}else{var c,h=ae(e);if(d=h.length,ae(t).length!==d)return!1;for(;d--;)if(!G(t,c=h[d])||!fe(e[c],t[c],n,i))return!1}return n.pop(),i.pop(),!0}function Ae(e,t){return fe(e,t)}function me(e){if(!E(e))return[];var t=[];for(var n in e)t.push(n);return y&&se(e,t),t}function ge(e){var t=oe(e);return function(n){if(null==n)return!1;var i=me(n);if(oe(i))return!1;for(var r=0;r<t;r++)if(!F(n[e[r]]))return!1;return e!==we||!F(n[be])}}var be="forEach",ve=["clear","delete"],Ce=["get","has","set"],ye=ve.concat(be,Ce),we=ve.concat(Ce),_e=["add"].concat(ve,be,"has");const Be=$?ge(ye):D("Map"),Ee=$?ge(we):D("WeakMap"),xe=$?ge(_e):D("Set"),ke=D("WeakSet");function Te(e){for(var t=ae(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=e[t[r]];return i}function je(e){for(var t=ae(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=[t[r],e[t[r]]];return i}function De(e){for(var t={},n=ae(e),i=0,r=n.length;i<r;i++)t[e[n[i]]]=n[i];return t}function Se(e){var t=[];for(var n in e)F(e[n])&&t.push(n);return t.sort()}function Ie(e,t){return function(n){var i=arguments.length;if(t&&(n=Object(n)),i<2||null==n)return n;for(var r=1;r<i;r++)for(var o=arguments[r],s=e(o),a=s.length,l=0;l<a;l++){var d=s[l];t&&void 0!==n[d]||(n[d]=o[d])}return n}}const Me=Ie(me),Pe=Ie(ae),Re=Ie(me,!0);function Oe(e){if(!E(e))return{};if(g)return g(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Le(e,t){var n=Oe(e);return t&&Pe(n,t),n}function Ne(e){return E(e)?V(e)?e.slice():Me({},e):e}function ze(e,t){return t(e),e}function Fe(e){return V(e)?e:[e]}function qe(e){return ce.toPath(e)}function Ue(e,t){for(var n=t.length,i=0;i<n;i++){if(null==e)return;e=e[t[i]]}return n?e:void 0}function $e(e,t,n){var i=Ue(e,qe(t));return k(i)?n:i}function He(e,t){for(var n=(t=qe(t)).length,i=0;i<n;i++){var r=t[i];if(!G(e,r))return!1;e=e[r]}return!!n}function We(e){return e}function Ve(e){return e=Pe({},e),function(t){return de(t,e)}}function Ge(e){return e=qe(e),function(t){return Ue(t,e)}}function Ke(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,r){return e.call(t,n,i,r)};case 4:return function(n,i,r,o){return e.call(t,n,i,r,o)}}return function(){return e.apply(t,arguments)}}function Ye(e,t,n){return null==e?We:F(e)?Ke(e,t,n):E(e)&&!V(e)?Ve(e):Ge(e)}function Je(e,t){return Ye(e,t,1/0)}function Xe(e,t,n){return ce.iteratee!==Je?ce.iteratee(e,t):Ye(e,t,n)}function Ze(e,t,n){t=Xe(t,n);for(var i=ae(e),r=i.length,o={},s=0;s<r;s++){var a=i[s];o[a]=t(e[a],a,e)}return o}function Qe(){}function et(e){return null==e?Qe:function(t){return $e(e,t)}}function tt(e,t,n){var i=Array(Math.max(0,e));t=Ke(t,n,1);for(var r=0;r<e;r++)i[r]=t(r);return i}function nt(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}ce.toPath=Fe,ce.iteratee=Je;const it=Date.now||function(){return(new Date).getTime()};function rt(e){var t=function(t){return e[t]},n="(?:"+ae(e).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(r,t):e}}const ot={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},st=rt(ot),at=rt(De(ot)),lt=ce.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var dt=/(.)^/,ct={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ut=/\\|'|\r|\n|\u2028|\u2029/g;function ht(e){return"\\"+ct[e]}var ft=/^\s*(\w|\$)+\s*$/;function pt(e,t,n){!t&&n&&(t=n),t=Re({},t,ce.templateSettings);var i=RegExp([(t.escape||dt).source,(t.interpolate||dt).source,(t.evaluate||dt).source].join("|")+"|$","g"),r=0,o="__p+='";e.replace(i,(function(t,n,i,s,a){return o+=e.slice(r,a).replace(ut,ht),r=a+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),t})),o+="';\n";var s,a=t.variable;if(a){if(!ft.test(a))throw new Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{s=new Function(a,"_",o)}catch(e){throw e.source=o,e}var l=function(e){return s.call(this,e,ce)};return l.source="function("+a+"){\n"+o+"}",l}function At(e,t,n){var i=(t=qe(t)).length;if(!i)return F(n)?n.call(e):n;for(var r=0;r<i;r++){var o=null==e?void 0:e[t[r]];void 0===o&&(o=n,r=i),e=F(o)?o.call(e):o}return e}var mt=0;function gt(e){var t=++mt+"";return e?e+t:t}function bt(e){var t=ce(e);return t._chain=!0,t}function vt(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var o=Oe(e.prototype),s=e.apply(o,r);return E(s)?s:o}var Ct=B((function(e,t){var n=Ct.placeholder,i=function(){for(var r=0,o=t.length,s=Array(o),a=0;a<o;a++)s[a]=t[a]===n?arguments[r++]:t[a];for(;r<arguments.length;)s.push(arguments[r++]);return vt(e,i,this,this,s)};return i}));Ct.placeholder=ce;const yt=Ct,wt=B((function(e,t,n){if(!F(e))throw new TypeError("Bind must be called on a function");var i=B((function(r){return vt(e,i,t,this,n.concat(r))}));return i})),_t=Q(oe);function Bt(e,t,n,i){if(i=i||[],t||0===t){if(t<=0)return i.concat(e)}else t=1/0;for(var r=i.length,o=0,s=oe(e);o<s;o++){var a=e[o];if(_t(a)&&(V(a)||Y(a)))if(t>1)Bt(a,t-1,n,i),r=i.length;else for(var l=0,d=a.length;l<d;)i[r++]=a[l++];else n||(i[r++]=a)}return i}const Et=B((function(e,t){var n=(t=Bt(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=wt(e[i],e)}return e}));function xt(e,t){var n=function(i){var r=n.cache,o=""+(t?t.apply(this,arguments):i);return G(r,o)||(r[o]=e.apply(this,arguments)),r[o]};return n.cache={},n}const kt=B((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),Tt=yt(kt,ce,1);function jt(e,t,n){var i,r,o,s,a=0;n||(n={});var l=function(){a=!1===n.leading?0:it(),i=null,s=e.apply(r,o),i||(r=o=null)},d=function(){var d=it();a||!1!==n.leading||(a=d);var c=t-(d-a);return r=this,o=arguments,c<=0||c>t?(i&&(clearTimeout(i),i=null),a=d,s=e.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(l,c)),s};return d.cancel=function(){clearTimeout(i),a=0,i=r=o=null},d}function Dt(e,t,n){var i,r,o,s,a,l=function(){var d=it()-r;t>d?i=setTimeout(l,t-d):(i=null,n||(s=e.apply(a,o)),i||(o=a=null))},d=B((function(d){return a=this,o=d,r=it(),i||(i=setTimeout(l,t),n&&(s=e.apply(a,o))),s}));return d.cancel=function(){clearTimeout(i),i=o=a=null},d}function St(e,t){return yt(t,e)}function It(e){return function(){return!e.apply(this,arguments)}}function Mt(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}}function Pt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Rt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const Ot=yt(Rt,2);function Lt(e,t,n){t=Xe(t,n);for(var i,r=ae(e),o=0,s=r.length;o<s;o++)if(t(e[i=r[o]],i,e))return i}function Nt(e){return function(t,n,i){n=Xe(n,i);for(var r=oe(t),o=e>0?0:r-1;o>=0&&o<r;o+=e)if(n(t[o],o,t))return o;return-1}}const zt=Nt(1),Ft=Nt(-1);function qt(e,t,n,i){for(var r=(n=Xe(n,i,1))(t),o=0,s=oe(e);o<s;){var a=Math.floor((o+s)/2);n(e[a])<r?o=a+1:s=a}return o}function Ut(e,t,n){return function(i,r,o){var s=0,a=oe(i);if("number"==typeof o)e>0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return i[o=n(i,r)]===r?o:-1;if(r!=r)return(o=t(c.call(i,s,a),X))>=0?o+s:-1;for(o=e>0?s:a-1;o>=0&&o<a;o+=e)if(i[o]===r)return o;return-1}}const $t=Ut(1,zt,qt),Ht=Ut(-1,Ft);function Wt(e,t,n){var i=(_t(e)?zt:Lt)(e,t,n);if(void 0!==i&&-1!==i)return e[i]}function Vt(e,t){return Wt(e,Ve(t))}function Gt(e,t,n){var i,r;if(t=Ke(t,n),_t(e))for(i=0,r=e.length;i<r;i++)t(e[i],i,e);else{var o=ae(e);for(i=0,r=o.length;i<r;i++)t(e[o[i]],o[i],e)}return e}function Kt(e,t,n){t=Xe(t,n);for(var i=!_t(e)&&ae(e),r=(i||e).length,o=Array(r),s=0;s<r;s++){var a=i?i[s]:s;o[s]=t(e[a],a,e)}return o}function Yt(e){return function(t,n,i,r){var o=arguments.length>=3;return function(t,n,i,r){var o=!_t(t)&&ae(t),s=(o||t).length,a=e>0?0:s-1;for(r||(i=t[o?o[a]:a],a+=e);a>=0&&a<s;a+=e){var l=o?o[a]:a;i=n(i,t[l],l,t)}return i}(t,Ke(n,r,4),i,o)}}const Jt=Yt(1),Xt=Yt(-1);function Zt(e,t,n){var i=[];return t=Xe(t,n),Gt(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}function Qt(e,t,n){return Zt(e,It(Xe(t)),n)}function en(e,t,n){t=Xe(t,n);for(var i=!_t(e)&&ae(e),r=(i||e).length,o=0;o<r;o++){var s=i?i[o]:o;if(!t(e[s],s,e))return!1}return!0}function tn(e,t,n){t=Xe(t,n);for(var i=!_t(e)&&ae(e),r=(i||e).length,o=0;o<r;o++){var s=i?i[o]:o;if(t(e[s],s,e))return!0}return!1}function nn(e,t,n,i){return _t(e)||(e=Te(e)),("number"!=typeof n||i)&&(n=0),$t(e,t,n)>=0}const rn=B((function(e,t,n){var i,r;return F(t)?r=t:(t=qe(t),i=t.slice(0,-1),t=t[t.length-1]),Kt(e,(function(e){var o=r;if(!o){if(i&&i.length&&(e=Ue(e,i)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))}));function on(e,t){return Kt(e,Ge(t))}function sn(e,t){return Zt(e,Ve(t))}function an(e,t,n){var i,r,o=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=_t(e)?e:Te(e)).length;a<l;a++)null!=(i=e[a])&&i>o&&(o=i);else t=Xe(t,n),Gt(e,(function(e,n,i){((r=t(e,n,i))>s||r===-1/0&&o===-1/0)&&(o=e,s=r)}));return o}function ln(e,t,n){var i,r,o=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=_t(e)?e:Te(e)).length;a<l;a++)null!=(i=e[a])&&i<o&&(o=i);else t=Xe(t,n),Gt(e,(function(e,n,i){((r=t(e,n,i))<s||r===1/0&&o===1/0)&&(o=e,s=r)}));return o}var dn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function cn(e){return e?V(e)?c.call(e):S(e)?e.match(dn):_t(e)?Kt(e,We):Te(e):[]}function un(e,t,n){if(null==t||n)return _t(e)||(e=Te(e)),e[nt(e.length-1)];var i=cn(e),r=oe(i);t=Math.max(Math.min(t,r),0);for(var o=r-1,s=0;s<t;s++){var a=nt(s,o),l=i[s];i[s]=i[a],i[a]=l}return i.slice(0,t)}function hn(e){return un(e,1/0)}function fn(e,t,n){var i=0;return t=Xe(t,n),on(Kt(e,(function(e,n,r){return{value:e,index:i++,criteria:t(e,n,r)}})).sort((function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index})),"value")}function pn(e,t){return function(n,i,r){var o=t?[[],[]]:{};return i=Xe(i,r),Gt(n,(function(t,r){var s=i(t,r,n);e(o,t,s)})),o}}const An=pn((function(e,t,n){G(e,n)?e[n].push(t):e[n]=[t]})),mn=pn((function(e,t,n){e[n]=t})),gn=pn((function(e,t,n){G(e,n)?e[n]++:e[n]=1})),bn=pn((function(e,t,n){e[n?0:1].push(t)}),!0);function vn(e){return null==e?0:_t(e)?e.length:ae(e).length}function Cn(e,t,n){return t in n}const yn=B((function(e,t){var n={},i=t[0];if(null==e)return n;F(i)?(t.length>1&&(i=Ke(i,t[1])),t=me(e)):(i=Cn,t=Bt(t,!1,!1),e=Object(e));for(var r=0,o=t.length;r<o;r++){var s=t[r],a=e[s];i(a,s,e)&&(n[s]=a)}return n})),wn=B((function(e,t){var n,i=t[0];return F(i)?(i=It(i),t.length>1&&(n=t[1])):(t=Kt(Bt(t,!1,!1),String),i=function(e,n){return!nn(t,n)}),yn(e,i,n)}));function _n(e,t,n){return c.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Bn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:_n(e,e.length-t)}function En(e,t,n){return c.call(e,null==t||n?1:t)}function xn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:En(e,Math.max(0,e.length-t))}function kn(e){return Zt(e,Boolean)}function Tn(e,t){return Bt(e,t,!1)}const jn=B((function(e,t){return t=Bt(t,!0,!0),Zt(e,(function(e){return!nn(t,e)}))})),Dn=B((function(e,t){return jn(e,t)}));function Sn(e,t,n,i){T(t)||(i=n,n=t,t=!1),null!=n&&(n=Xe(n,i));for(var r=[],o=[],s=0,a=oe(e);s<a;s++){var l=e[s],d=n?n(l,s,e):l;t&&!n?(s&&o===d||r.push(l),o=d):n?nn(o,d)||(o.push(d),r.push(l)):nn(r,l)||r.push(l)}return r}const In=B((function(e){return Sn(Bt(e,!0,!0))}));function Mn(e){for(var t=[],n=arguments.length,i=0,r=oe(e);i<r;i++){var o=e[i];if(!nn(t,o)){var s;for(s=1;s<n&&nn(arguments[s],o);s++);s===n&&t.push(o)}}return t}function Pn(e){for(var t=e&&an(e,oe).length||0,n=Array(t),i=0;i<t;i++)n[i]=on(e,i);return n}const Rn=B(Pn);function On(e,t){for(var n={},i=0,r=oe(e);i<r;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n}function Ln(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),o=0;o<i;o++,e+=n)r[o]=e;return r}function Nn(e,t){if(null==t||t<1)return[];for(var n=[],i=0,r=e.length;i<r;)n.push(c.call(e,i,i+=t));return n}function zn(e,t){return e._chain?ce(t).chain():t}function Fn(e){return Gt(Se(e),(function(t){var n=ce[t]=e[t];ce.prototype[t]=function(){var e=[this._wrapped];return d.apply(e,arguments),zn(this,n.apply(ce,e))}})),ce}Gt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=s[e];ce.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),zn(this,n)}})),Gt(["concat","join","slice"],(function(e){var t=s[e];ce.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),zn(this,e)}}));const qn=ce;var Un=Fn(i);Un._=Un;const $n=Un},9500:e=>{"use strict";e.exports={rE:"3.1.6"}},3770:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},3928:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},8330:e=>{"use strict";e.exports={rE:"1.0.13"}},3434:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-04/schema#","description":"Jupyter Interactive Widget State JSON schema.","type":"object","properties":{"version_major":{"description":"Format version (major)","type":"number","minimum":1,"maximum":1},"version_minor":{"description":"Format version (minor)","type":"number"},"state":{"description":"Model State for All Widget Models","type":"object","additionalProperties":{"type":"object","properties":{"model_name":{"description":"Name of the JavaScript class holding the model implementation","type":"string"},"model_module":{"description":"Name of the JavaScript module holding the model implementation","type":"string"},"model_module_version":{"description":"Semver range for the JavaScript module holding the model implementation","type":"string"},"state":{"description":"Serialized state of the model","type":"object","additional_properties":true}},"required":["model_name","model_module","state"],"additionalProperties":false}}},"required":["version_major","version_minor","state"],"additionalProperties":false}')},7838:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-04/schema#","description":"Jupyter Interactive Widget View JSON schema.","type":"object","properties":{"version_major":{"description":"Format version (major)","type":"number","minimum":1,"maximum":1},"version_minor":{"description":"Format version (minor)","type":"number"},"model_id":{"description":"Unique identifier of the widget model to be displayed","type":"string"}},"required":["model_id"],"additionalProperties":false}')},5373:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","description":"Jupyter Interactive Widget State JSON schema.","type":"object","properties":{"version_major":{"description":"Format version (major)","type":"number","minimum":2,"maximum":2},"version_minor":{"description":"Format version (minor)","type":"number","minimum":0,"maximum":0},"state":{"description":"Model State for All Widget Models - keys are model ids, values are model state","type":"object","additionalProperties":{"type":"object","properties":{"model_name":{"description":"Name of the JavaScript class holding the model implementation","type":"string"},"model_module":{"description":"Name of the JavaScript module holding the model implementation","type":"string"},"model_module_version":{"description":"Semver range for the JavaScript module holding the model implementation","type":"string"},"state":{"description":"Serialized state of the model","type":"object"},"buffers":{"description":"Binary buffers in the state","type":"array","items":{"type":"object","properties":{"path":{"description":"A path for a binary buffer value.","type":"array","items":{"description":"An object key or array index","type":["string","number"]}},"data":{"description":"A binary buffer encoded as specified in the \'encoding\' property","type":"string"},"encoding":{"description":"The encoding of the buffer data","type":"string","oneOf":[{"const":"hex","description":"Base 16 encoding, as specified in RFC 4648, section 8 (https://tools.ietf.org/html/rfc4648#section-8)"},{"const":"base64","description":"Base 64 encoding, as specified in RFC 4648, section 4 (https://tools.ietf.org/html/rfc4648#section-4)"}]}},"required":["path","data","encoding"]}}},"required":["model_name","model_module","state"]}}},"required":["version_major","version_minor","state"]}')},5051:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","description":"Jupyter Interactive Widget View JSON schema.","type":"object","properties":{"version_major":{"description":"Format version (major)","type":"number","minimum":2,"maximum":2},"version_minor":{"description":"Format version (minor)","type":"number"},"model_id":{"description":"Unique identifier of the widget model to be displayed","type":"string"}},"required":["model_id"]}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),__webpack_require__.p="",__webpack_require__.b=document.baseURI||self.location.href,__webpack_require__.nc=void 0;var __webpack_exports__={},module,url;return module=__webpack_require__(1308),url=new URL(module.uri,document.location),url.pathname=url.pathname.slice(0,url.pathname.lastIndexOf("/")+1),__webpack_require__.p=`${url.origin}${url.pathname}`,(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{HTMLManager:()=>xn,generateEmbedScript:()=>Hn,requireLoader:()=>Un,version:()=>$n});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{OutputModel:()=>_t,OutputView:()=>Bt});var t=__webpack_require__(2722),n=__webpack_require__(2055);const i="1.0.0";class r extends n.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"OutputModel",_view_name:"OutputView",_model_module:"@jupyter-widgets/output",_view_module:"@jupyter-widgets/output",_model_module_version:i,_view_module_version:i})}}class o extends n.DOMWidgetView{}var s=__webpack_require__(5764);function a(e){return"execute_result"===e.output_type}function l(e){return"display_data"===e.output_type}function d(e){return"stream"===e.output_type}var c,u,h,f,p,A,m=__webpack_require__(8135),g=__webpack_require__(3992);class b{constructor(e={}){if(this._array=[],this._isDisposed=!1,this._changed=new g.Signal(this),e.values)for(const t of e.values)this._array.push(t);this._itemCmp=e.itemCmp||c.itemCmp}get type(){return"List"}get changed(){return this._changed}get length(){return this._array.length}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,g.Signal.clearData(this),this.clear())}[Symbol.iterator](){return this._array[Symbol.iterator]()}get(e){return this._array[e]}set(e,t){const n=this._array[e];if(void 0===t)throw new Error("Cannot set an undefined item");(0,this._itemCmp)(n,t)||(this._array[e]=t,this._changed.emit({type:"set",oldIndex:e,newIndex:e,oldValues:[n],newValues:[t]}))}push(e){const t=this._array.push(e);return this._changed.emit({type:"add",oldIndex:-1,newIndex:this.length-1,oldValues:[],newValues:[e]}),t}insert(e,t){e===this._array.length?this._array.push(t):m.Rw.insert(this._array,e,t),this._changed.emit({type:"add",oldIndex:-2,newIndex:e,oldValues:[],newValues:[t]})}removeValue(e){const t=this._itemCmp,n=m.Rw.findFirstIndex(this._array,(n=>t(n,e)));return this.remove(n),n}remove(e){const t=m.Rw.removeAt(this._array,e);if(void 0!==t)return this._changed.emit({type:"remove",oldIndex:e,newIndex:-1,newValues:[],oldValues:[t]}),t}clear(){const e=this._array.slice();this._array.length=0,this._changed.emit({type:"remove",oldIndex:0,newIndex:0,newValues:[],oldValues:e})}move(e,t){if(this.length<=1||e===t)return;const n=[this._array[e]];m.Rw.move(this._array,e,t),this._changed.emit({type:"move",oldIndex:e,newIndex:t,oldValues:n,newValues:n})}pushAll(e){const t=this.length;for(const t of e)this._array.push(t);return this._changed.emit({type:"add",oldIndex:-1,newIndex:t,oldValues:[],newValues:Array.from(e)}),this.length}insertAll(e,t){const n=e;for(const n of t)m.Rw.insert(this._array,e++,n);this._changed.emit({type:"add",oldIndex:-2,newIndex:n,oldValues:[],newValues:Array.from(t)})}removeRange(e,t){const n=this._array.slice(e,t);for(let n=e;n<t;n++)m.Rw.removeAt(this._array,e);return this._changed.emit({type:"remove",oldIndex:e,newIndex:-1,oldValues:n,newValues:[]}),this.length}}!function(e){e.itemCmp=function(e,t){return e===t}}(c||(c={}));class v{constructor(){this._first=null,this._last=null,this._size=0}get isEmpty(){return 0===this._size}get size(){return this._size}get length(){return this._size}get first(){return this._first?this._first.value:void 0}get last(){return this._last?this._last.value:void 0}get firstNode(){return this._first}get lastNode(){return this._last}*[Symbol.iterator](){let e=this._first;for(;e;)yield e.value,e=e.next}*retro(){let e=this._last;for(;e;)yield e.value,e=e.prev}*nodes(){let e=this._first;for(;e;)yield e,e=e.next}*retroNodes(){let e=this._last;for(;e;)yield e,e=e.prev}assign(e){this.clear();for(const t of e)this.addLast(t)}push(e){this.addLast(e)}pop(){return this.removeLast()}shift(e){this.addFirst(e)}unshift(){return this.removeFirst()}addFirst(e){let t=new u.LinkedListNode(this,e);return this._first?(t.next=this._first,this._first.prev=t,this._first=t):(this._first=t,this._last=t),this._size++,t}addLast(e){let t=new u.LinkedListNode(this,e);return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._first=t,this._last=t),this._size++,t}insertBefore(e,t){if(!t||t===this._first)return this.addFirst(e);if(!(t instanceof u.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");let n=new u.LinkedListNode(this,e),i=t,r=i.prev;return n.next=i,n.prev=r,i.prev=n,r.next=n,this._size++,n}insertAfter(e,t){if(!t||t===this._last)return this.addLast(e);if(!(t instanceof u.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");let n=new u.LinkedListNode(this,e),i=t,r=i.next;return n.next=r,n.prev=i,i.next=n,r.prev=n,this._size++,n}removeFirst(){let e=this._first;if(e)return e===this._last?(this._first=null,this._last=null):(this._first=e.next,this._first.prev=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value}removeLast(){let e=this._last;if(e)return e===this._first?(this._first=null,this._last=null):(this._last=e.prev,this._last.next=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value}removeNode(e){if(!(e instanceof u.LinkedListNode)||e.list!==this)throw new Error("Node is not owned by the list.");let t=e;t===this._first&&t===this._last?(this._first=null,this._last=null):t===this._first?(this._first=t.next,this._first.prev=null):t===this._last?(this._last=t.prev,this._last.next=null):(t.next.prev=t.prev,t.prev.next=t.next),t.list=null,t.next=null,t.prev=null,this._size--}clear(){let e=this._first;for(;e;){let t=e.next;e.list=null,e.prev=null,e.next=null,e=t}this._first=null,this._last=null,this._size=0}}!function(e){e.from=function(t){let n=new e;return n.assign(t),n}}(v||(v={})),function(e){e.LinkedListNode=class{constructor(e,t){this.list=null,this.next=null,this.prev=null,this.list=e,this.value=t}}}(u||(u={}));class C{constructor(e){this.type=e}get isConflatable(){return!1}conflate(e){return!1}}!function(e){let t=null;const n=(i=Promise.resolve(),e=>{let t=!1;return i.then((()=>!t&&e())),()=>{t=!0}});var i;function r(e,t){let n=s.get(e);if(!n||0===n.length)return void c(e,t);let i=(0,m.Si)((0,m.$0)(n),(n=>!n||function(e,t,n){let i=!0;try{i="function"==typeof e?e(t,n):e.messageHook(t,n)}catch(e){l(e)}return i}(n,e,t)));i&&c(e,t)}e.sendMessage=r,e.postMessage=function(e,t){t.isConflatable&&(0,m.zN)(o,(n=>n.handler===e&&!!n.msg&&n.msg.type===t.type&&!!n.msg.isConflatable&&n.msg.conflate(t)))||u(e,t)},e.installMessageHook=function(e,t){let n=s.get(e);n&&-1!==n.indexOf(t)||(n?n.push(t):s.set(e,[t]))},e.removeMessageHook=function(e,t){let n=s.get(e);if(!n)return;let i=n.indexOf(t);-1!==i&&(n[i]=null,f(n))},e.clearData=function(e){let t=s.get(e);t&&t.length>0&&(m.Rw.fill(t,null),f(t));for(const t of o)t.handler===e&&(t.handler=null,t.msg=null)},e.flush=function(){d||null===t||(t(),t=null,d=!0,h(),d=!1)},e.getExceptionHandler=function(){return l},e.setExceptionHandler=function(e){let t=l;return l=e,t};const o=new v,s=new WeakMap,a=new Set;let l=e=>{console.error(e)},d=!1;function c(e,t){try{e.processMessage(t)}catch(e){l(e)}}function u(e,i){o.addLast({handler:e,msg:i}),null===t&&(t=n(h))}function h(){if(t=null,o.isEmpty)return;let e={handler:null,msg:null};for(o.addLast(e);;){let t=o.removeFirst();if(t===e)return;t.handler&&t.msg&&r(t.handler,t.msg)}}function f(e){0===a.size&&n(p),a.add(e)}function p(){a.forEach(A),a.clear()}function A(e){m.Rw.removeAllWhere(e,g)}function g(e){return null===e}}(h||(h={}));class y{constructor(e={}){if(this._map=new Map,this._changed=new g.Signal(this),this._isDisposed=!1,this._itemCmp=e.itemCmp||f.itemCmp,e.values)for(const t in e.values)this._map.set(t,e.values[t])}get type(){return"Map"}get changed(){return this._changed}get isDisposed(){return this._isDisposed}get size(){return this._map.size}set(e,t){const n=this._map.get(e);if(void 0===t)throw Error("Cannot set an undefined value, use remove");const i=this._itemCmp;return void 0!==n&&i(n,t)||(this._map.set(e,t),this._changed.emit({type:n?"change":"add",key:e,oldValue:n,newValue:t})),n}get(e){return this._map.get(e)}has(e){return this._map.has(e)}keys(){const e=[];return this._map.forEach(((t,n)=>{e.push(n)})),e}values(){const e=[];return this._map.forEach(((t,n)=>{e.push(t)})),e}delete(e){const t=this._map.get(e);return this._map.delete(e)&&this._changed.emit({type:"remove",key:e,oldValue:t,newValue:void 0}),t}clear(){const e=this.keys();for(let t=0;t<e.length;t++)this.delete(e[t])}dispose(){this.isDisposed||(this._isDisposed=!0,g.Signal.clearData(this),this._map.clear())}}!function(e){e.itemCmp=function(e,t){return e===t}}(f||(f={}));class w extends y{constructor(e={}){super({itemCmp:s.JSONExt.deepEqual,values:e.values})}toJSON(){const e=Object.create(null),t=this.keys();for(const n of t){const t=this.get(n);void 0!==t&&(e[n]=s.JSONExt.deepCopy(t))}return e}}!function(e){e.ChangeMessage=class extends C{constructor(e,t){super(e),this.args=t}}}(w||(w={}));class _{constructor(e){this._changed=new g.Signal(this),this._raw={};const{data:t,metadata:n,trusted:i}=p.getBundleOptions(e);this._data=new w({values:t}),this._rawData=t,this._metadata=new w({values:n}),this._rawMetadata=n,this.trusted=i;const r=e.value;for(const e in r)switch(e){case"data":case"metadata":break;default:this._raw[e]=p.extract(r,e)}this.type=r.output_type,a(r)?this.executionCount=r.execution_count:this.executionCount=null}get changed(){return this._changed}dispose(){this._data.dispose(),this._metadata.dispose(),g.Signal.clearData(this)}get data(){return this._rawData}get metadata(){return this._rawMetadata}setData(e){e.data&&(this._updateObservable(this._data,e.data),this._rawData=e.data),e.metadata&&(this._updateObservable(this._metadata,e.metadata),this._rawMetadata=e.metadata),this._changed.emit()}toJSON(){const e={};for(const t in this._raw)e[t]=p.extract(this._raw,t);switch(this.type){case"display_data":case"execute_result":case"update_display_data":e.data=this.data,e.metadata=this.metadata}return delete e.transient,e}_updateObservable(e,t){const n=e.keys(),i=Object.keys(t);for(const t of n)-1===i.indexOf(t)&&e.delete(t);for(const n of i){const i=e.get(n),r=t[n];i!==r&&e.set(n,r)}}}!function(e){e.getData=function(e){return p.getData(e)},e.getMetadata=function(e){return p.getMetadata(e)}}(_||(_={})),function(e){function t(e){let t={};if(a(e)||l(e)||function(e){return"update_display_data"===e.output_type}(e))t=e.data;else if(d(e))"stderr"===e.name?t["application/vnd.jupyter.stderr"]=e.text:t["application/vnd.jupyter.stdout"]=e.text;else if(function(e){return"error"===e.output_type}(e)){t["application/vnd.jupyter.error"]=e;const n=e.traceback.join("\n");t["application/vnd.jupyter.stderr"]=n||`${e.ename}: ${e.evalue}`}return function(e){const t=Object.create(null);for(const n in e)t[n]=i(e,n);return t}(t)}function n(e){const t=Object.create(null);if(a(e)||l(e))for(const n in e.metadata)t[n]=i(e.metadata,n);return t}function i(e,t){const n=e[t];return void 0===n||s.JSONExt.isPrimitive(n)?n:JSON.parse(JSON.stringify(n))}e.getData=t,e.getMetadata=n,e.getBundleOptions=function(e){return{data:t(e.value),metadata:n(e.value),trusted:!!e.trusted}},e.extract=i}(p||(p={}));class B{constructor(e={}){if(this.clearNext=!1,this._lastStream="",this._trusted=!1,this._isDisposed=!1,this._stateChanged=new g.Signal(this),this._changed=new g.Signal(this),this._trusted=!!e.trusted,this.contentFactory=e.contentFactory||B.defaultContentFactory,this.list=new b,e.values)for(const t of e.values){const e=this._add(t)-1;this.list.get(e).changed.connect(this._onGenericChange,this)}this.list.changed.connect(this._onListChanged,this)}get stateChanged(){return this._stateChanged}get changed(){return this._changed}get length(){return this.list?this.list.length:0}get trusted(){return this._trusted}set trusted(e){if(e===this._trusted)return;const t=this._trusted=e;for(let e=0;e<this.list.length;e++){const n=this.list.get(e),i=n.toJSON(),r=this._createItem({value:i,trusted:t});this.list.set(e,r),n.dispose()}}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,this.list.dispose(),g.Signal.clearData(this))}get(e){return this.list.get(e)}set(e,t){t=s.JSONExt.deepCopy(t),A.normalize(t);const n=this._createItem({value:t,trusted:this._trusted});this.list.set(e,n)}add(e){return this.clearNext&&(this.clear(),this.clearNext=!1),this._add(e)}clear(e=!1){if(this._lastStream="",e)this.clearNext=!0;else{for(const e of this.list)e.dispose();this.list.clear()}}fromJSON(e){this.clear();for(const t of e)this._add(t)}toJSON(){return Array.from((0,m.Tj)(this.list,(e=>e.toJSON())))}_add(e){const t=this._trusted;if(e=s.JSONExt.deepCopy(e),A.normalize(e),d(e)&&this._lastStream&&e.name===this._lastName&&this.shouldCombine({value:e,lastModel:this.list.get(this.length-1)})){this._lastStream+=e.text,this._lastStream=A.removeOverwrittenChars(this._lastStream),e.text=this._lastStream;const n=this._createItem({value:e,trusted:t}),i=this.length-1,r=this.list.get(i);return this.list.set(i,n),r.dispose(),this.length}d(e)&&(e.text=A.removeOverwrittenChars(e.text));const n=this._createItem({value:e,trusted:t});return d(e)?(this._lastStream=e.text,this._lastName=e.name):this._lastStream="",this.list.push(n)}shouldCombine(e){return!0}_createItem(e){return this.contentFactory.createOutputModel(e)}_onListChanged(e,t){switch(t.type){case"add":t.newValues.forEach((e=>{e.changed.connect(this._onGenericChange,this)}));break;case"remove":t.oldValues.forEach((e=>{e.changed.disconnect(this._onGenericChange,this)}));break;case"set":t.newValues.forEach((e=>{e.changed.connect(this._onGenericChange,this)})),t.oldValues.forEach((e=>{e.changed.disconnect(this._onGenericChange,this)}))}this._changed.emit(t)}_onGenericChange(e){let t,n=null;for(t=0;t<this.list.length&&(n=this.list.get(t),n!==e);t++);null!=n&&(this._stateChanged.emit(t),this._changed.emit({type:"set",newIndex:t,oldIndex:t,oldValues:[n],newValues:[n]}))}}!function(e){class t{createOutputModel(e){return new _(e)}}e.ContentFactory=t,e.defaultContentFactory=new t}(B||(B={})),function(e){e.normalize=function(e){d(e)&&Array.isArray(e.text)&&(e.text=e.text.join("\n"))},e.removeOverwrittenChars=function(e){return function(e){for(e=e.replace(/\r+\n/gm,"\n");e.search(/\r[^$]/g)>-1;){const t=e.match(/^(.*)\r+/m)[1];let n=e.match(/\r+(.*)$/m)[1];n+=t.slice(n.length,t.length),e=e.replace(/\r+.*$/m,"\r").replace(/^.*\r/m,n)}return e}(function(e){let t=e;do{t=(e=t).replace(/[^\n]\x08/gm,"")}while(t.length<e.length);return e}(e))}}(A||(A={}));var E,x,k,T,j,D,S,I=__webpack_require__(1670);!function(e){e.copyText=function(e){const t=document.body,n=i=>{i.preventDefault(),i.stopPropagation(),i.clipboardData.setData("text",e),t.removeEventListener("copy",n,!0)};t.addEventListener("copy",n,!0),document.execCommand("copy")}}(E||(E={})),function(e){e.boxSizing=function(e){let t=window.getComputedStyle(e),n=parseFloat(t.borderTopWidth)||0,i=parseFloat(t.borderLeftWidth)||0,r=parseFloat(t.borderRightWidth)||0,o=parseFloat(t.borderBottomWidth)||0,s=parseFloat(t.paddingTop)||0,a=parseFloat(t.paddingLeft)||0,l=parseFloat(t.paddingRight)||0,d=parseFloat(t.paddingBottom)||0;return{borderTop:n,borderLeft:i,borderRight:r,borderBottom:o,paddingTop:s,paddingLeft:a,paddingRight:l,paddingBottom:d,horizontalSum:i+a+l+r,verticalSum:n+s+d+o}},e.sizeLimits=function(e){let t=window.getComputedStyle(e),n=parseFloat(t.minWidth)||0,i=parseFloat(t.minHeight)||0,r=parseFloat(t.maxWidth)||1/0,o=parseFloat(t.maxHeight)||1/0;return r=Math.max(n,r),o=Math.max(i,o),{minWidth:n,minHeight:i,maxWidth:r,maxHeight:o}},e.hitTest=function(e,t,n){let i=e.getBoundingClientRect();return t>=i.left&&t<i.right&&n>=i.top&&n<i.bottom},e.scrollIntoViewIfNeeded=function(e,t){let n=e.getBoundingClientRect(),i=t.getBoundingClientRect();i.top<=n.top&&i.bottom>=n.bottom||(i.top<n.top&&i.height<=n.height||i.bottom>n.bottom&&i.height>=n.height?e.scrollTop-=n.top-i.top:(i.top<n.top&&i.height>n.height||i.bottom>n.bottom&&i.height<n.height)&&(e.scrollTop-=n.bottom-i.bottom))}}(x||(x={})),function(e){e.IS_MAC=!!navigator.platform.match(/Mac/i),e.IS_WIN=!!navigator.platform.match(/Win/i),e.IS_IE=/Trident/.test(navigator.userAgent),e.IS_EDGE=/Edge/.test(navigator.userAgent),e.accelKey=function(t){return e.IS_MAC?t.metaKey:t.ctrlKey}}(k||(k={})),function(e){e.calculateSpecificity=function(e){if(e in j.specificityCache)return j.specificityCache[e];let t=j.calculateSingle(e);return j.specificityCache[e]=t},e.isValid=function(e){if(e in j.validityCache)return j.validityCache[e];let t=!0;try{j.testElem.querySelector(e)}catch(e){t=!1}return j.validityCache[e]=t},e.matches=function(e,t){return j.protoMatchFunc.call(e,t)}}(T||(T={})),function(e){e.specificityCache=Object.create(null),e.validityCache=Object.create(null),e.testElem=document.createElement("div"),e.protoMatchFunc=(()=>{let e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){let t=this,n=t.ownerDocument?t.ownerDocument.querySelectorAll(e):[];return-1!==Array.prototype.indexOf.call(n,t)}})(),e.calculateSingle=function(e){let d=0,c=0,u=0;function h(t){let n=e.match(t);return null!==n&&(e=e.slice(n[0].length),!0)}for(e=(e=e.split(",",1)[0]).replace(l," $1 ");e.length>0;)if(h(t))d++;else if(h(n))c++;else if(h(i))c++;else if(h(o))u++;else if(h(s))c++;else if(h(r))u++;else if(!h(a))return 0;return d=Math.min(d,255),c=Math.min(c,255),u=Math.min(u,255),d<<16|c<<8|u};const t=/^#[^\s\+>~#\.\[:]+/,n=/^\.[^\s\+>~#\.\[:]+/,i=/^\[[^\]]+\]/,r=/^[^\s\+>~#\.\[:]+/,o=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,s=/^:[^\s\+>~#\.\[:]+/,a=/^[\s\+>~\*]+/,l=/:not\(([^\)]+)\)/g}(j||(j={}));class M{constructor(){this._first=null,this._last=null,this._size=0}get isEmpty(){return 0===this._size}get size(){return this._size}get length(){return this._size}get first(){return this._first?this._first.value:void 0}get last(){return this._last?this._last.value:void 0}get firstNode(){return this._first}get lastNode(){return this._last}*[Symbol.iterator](){let e=this._first;for(;e;)yield e.value,e=e.next}*retro(){let e=this._last;for(;e;)yield e.value,e=e.prev}*nodes(){let e=this._first;for(;e;)yield e,e=e.next}*retroNodes(){let e=this._last;for(;e;)yield e,e=e.prev}assign(e){this.clear();for(const t of e)this.addLast(t)}push(e){this.addLast(e)}pop(){return this.removeLast()}shift(e){this.addFirst(e)}unshift(){return this.removeFirst()}addFirst(e){let t=new D.LinkedListNode(this,e);return this._first?(t.next=this._first,this._first.prev=t,this._first=t):(this._first=t,this._last=t),this._size++,t}addLast(e){let t=new D.LinkedListNode(this,e);return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._first=t,this._last=t),this._size++,t}insertBefore(e,t){if(!t||t===this._first)return this.addFirst(e);if(!(t instanceof D.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");let n=new D.LinkedListNode(this,e),i=t,r=i.prev;return n.next=i,n.prev=r,i.prev=n,r.next=n,this._size++,n}insertAfter(e,t){if(!t||t===this._last)return this.addLast(e);if(!(t instanceof D.LinkedListNode)||t.list!==this)throw new Error("Reference node is not owned by the list.");let n=new D.LinkedListNode(this,e),i=t,r=i.next;return n.next=r,n.prev=i,i.next=n,r.prev=n,this._size++,n}removeFirst(){let e=this._first;if(e)return e===this._last?(this._first=null,this._last=null):(this._first=e.next,this._first.prev=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value}removeLast(){let e=this._last;if(e)return e===this._first?(this._first=null,this._last=null):(this._last=e.prev,this._last.next=null),e.list=null,e.next=null,e.prev=null,this._size--,e.value}removeNode(e){if(!(e instanceof D.LinkedListNode)||e.list!==this)throw new Error("Node is not owned by the list.");let t=e;t===this._first&&t===this._last?(this._first=null,this._last=null):t===this._first?(this._first=t.next,this._first.prev=null):t===this._last?(this._last=t.prev,this._last.next=null):(t.next.prev=t.prev,t.prev.next=t.next),t.list=null,t.next=null,t.prev=null,this._size--}clear(){let e=this._first;for(;e;){let t=e.next;e.list=null,e.prev=null,e.next=null,e=t}this._first=null,this._last=null,this._size=0}}!function(e){e.from=function(t){let n=new e;return n.assign(t),n}}(M||(M={})),function(e){e.LinkedListNode=class{constructor(e,t){this.list=null,this.next=null,this.prev=null,this.list=e,this.value=t}}}(D||(D={}));class P{constructor(e){this.type=e}get isConflatable(){return!1}conflate(e){return!1}}class R extends P{get isConflatable(){return!0}conflate(e){return!0}}!function(e){let t=null;const n=(i=Promise.resolve(),e=>{let t=!1;return i.then((()=>!t&&e())),()=>{t=!0}});var i;function r(e,t){let n=s.get(e);if(!n||0===n.length)return void c(e,t);let i=(0,m.Si)((0,m.$0)(n),(n=>!n||function(e,t,n){let i=!0;try{i="function"==typeof e?e(t,n):e.messageHook(t,n)}catch(e){l(e)}return i}(n,e,t)));i&&c(e,t)}e.sendMessage=r,e.postMessage=function(e,t){t.isConflatable&&(0,m.zN)(o,(n=>n.handler===e&&!!n.msg&&n.msg.type===t.type&&!!n.msg.isConflatable&&n.msg.conflate(t)))||u(e,t)},e.installMessageHook=function(e,t){let n=s.get(e);n&&-1!==n.indexOf(t)||(n?n.push(t):s.set(e,[t]))},e.removeMessageHook=function(e,t){let n=s.get(e);if(!n)return;let i=n.indexOf(t);-1!==i&&(n[i]=null,f(n))},e.clearData=function(e){let t=s.get(e);t&&t.length>0&&(m.Rw.fill(t,null),f(t));for(const t of o)t.handler===e&&(t.handler=null,t.msg=null)},e.flush=function(){d||null===t||(t(),t=null,d=!0,h(),d=!1)},e.getExceptionHandler=function(){return l},e.setExceptionHandler=function(e){let t=l;return l=e,t};const o=new M,s=new WeakMap,a=new Set;let l=e=>{console.error(e)},d=!1;function c(e,t){try{e.processMessage(t)}catch(e){l(e)}}function u(e,i){o.addLast({handler:e,msg:i}),null===t&&(t=n(h))}function h(){if(t=null,o.isEmpty)return;let e={handler:null,msg:null};for(o.addLast(e);;){let t=o.removeFirst();if(t===e)return;t.handler&&t.msg&&r(t.handler,t.msg)}}function f(e){0===a.size&&n(p),a.add(e)}function p(){a.forEach(A),a.clear()}function A(e){m.Rw.removeAllWhere(e,g)}function g(e){return null===e}}(S||(S={}));var O,L,N,z,F,q,U=__webpack_require__(6573),$=__webpack_require__(7556);class H{constructor(e){this._onScrollFrame=()=>{if(!this._scrollTarget)return;let{element:e,edge:t,distance:n}=this._scrollTarget,i=O.SCROLL_EDGE_SIZE-n,r=Math.pow(i/O.SCROLL_EDGE_SIZE,2),o=Math.max(1,Math.round(r*O.SCROLL_EDGE_SIZE));switch(t){case"top":e.scrollTop-=o;break;case"left":e.scrollLeft-=o;break;case"right":e.scrollLeft+=o;break;case"bottom":e.scrollTop+=o}requestAnimationFrame(this._onScrollFrame)},this._disposed=!1,this._dropAction="none",this._override=null,this._currentTarget=null,this._currentElement=null,this._promise=null,this._scrollTarget=null,this._resolve=null,this.document=e.document||document,this.mimeData=e.mimeData,this.dragImage=e.dragImage||null,this.proposedAction=e.proposedAction||"copy",this.supportedActions=e.supportedActions||"all",this.source=e.source||null}dispose(){if(!this._disposed){if(this._disposed=!0,this._currentTarget){let e=new PointerEvent("pointerup",{bubbles:!0,cancelable:!0,clientX:-1,clientY:-1});O.dispatchDragLeave(this,this._currentTarget,null,e)}this._finalize("none")}}get isDisposed(){return this._disposed}start(e,t){if(this._disposed)return Promise.resolve("none");if(this._promise)return this._promise;this._addListeners(),this._attachDragImage(e,t),this._promise=new Promise((e=>{this._resolve=e}));let n=new PointerEvent("pointermove",{bubbles:!0,cancelable:!0,clientX:e,clientY:t});return document.dispatchEvent(n),this._promise}handleEvent(e){switch(e.type){case"pointermove":this._evtPointerMove(e);break;case"pointerup":this._evtPointerUp(e);break;case"keydown":this._evtKeyDown(e);break;default:e.preventDefault(),e.stopPropagation()}}moveDragImage(e,t){this.dragImage&&(this.dragImage.style.transform=`translate(${e}px, ${t}px)`)}_evtPointerMove(e){e.preventDefault(),e.stopPropagation(),this._updateCurrentTarget(e),this._updateDragScroll(e),this.moveDragImage(e.clientX,e.clientY)}_evtPointerUp(e){if(e.preventDefault(),e.stopPropagation(),0!==e.button)return;if(this._updateCurrentTarget(e),!this._currentTarget)return void this._finalize("none");if("none"===this._dropAction)return O.dispatchDragLeave(this,this._currentTarget,null,e),void this._finalize("none");let t=O.dispatchDrop(this,this._currentTarget,e);this._finalize(t)}_evtKeyDown(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&this.dispose()}_addListeners(){document.addEventListener("pointerdown",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("pointerup",this,!0),document.addEventListener("pointerenter",this,!0),document.addEventListener("pointerleave",this,!0),document.addEventListener("pointerover",this,!0),document.addEventListener("pointerout",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("keyup",this,!0),document.addEventListener("keypress",this,!0),document.addEventListener("contextmenu",this,!0)}_removeListeners(){document.removeEventListener("pointerdown",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointerenter",this,!0),document.removeEventListener("pointerleave",this,!0),document.removeEventListener("pointerover",this,!0),document.removeEventListener("pointerout",this,!0),document.removeEventListener("keydown",this,!0),document.removeEventListener("keyup",this,!0),document.removeEventListener("keypress",this,!0),document.removeEventListener("contextmenu",this,!0)}_updateDragScroll(e){let t=O.findScrollTarget(e);(this._scrollTarget||t)&&(this._scrollTarget||setTimeout(this._onScrollFrame,500),this._scrollTarget=t)}_updateCurrentTarget(e){let t=this._currentTarget,n=this._currentTarget,i=this._currentElement,r=O.findElementBehindBackdrop(e,this.document);this._currentElement=r,r!==i&&r!==n&&O.dispatchDragExit(this,n,r,e),r!==i&&r!==n&&(n=O.dispatchDragEnter(this,r,n,e)),n!==t&&(this._currentTarget=n,O.dispatchDragLeave(this,t,n,e));let o=O.dispatchDragOver(this,n,e);this._setDropAction(o)}_attachDragImage(e,t){if(!this.dragImage)return;this.dragImage.classList.add("lm-mod-drag-image");let n=this.dragImage.style;n.pointerEvents="none",n.position="fixed",n.transform=`translate(${e}px, ${t}px)`,(this.document instanceof Document?this.document.body:this.document.firstElementChild).appendChild(this.dragImage)}_detachDragImage(){if(!this.dragImage)return;let e=this.dragImage.parentNode;e&&e.removeChild(this.dragImage)}_setDropAction(e){if(e=O.validateAction(e,this.supportedActions),!this._override||this._dropAction!==e)switch(e){case"none":this._dropAction=e,this._override=H.overrideCursor("no-drop",this.document);break;case"copy":this._dropAction=e,this._override=H.overrideCursor("copy",this.document);break;case"link":this._dropAction=e,this._override=H.overrideCursor("alias",this.document);break;case"move":this._dropAction=e,this._override=H.overrideCursor("move",this.document)}}_finalize(e){let t=this._resolve;this._removeListeners(),this._detachDragImage(),this._override&&(this._override.dispose(),this._override=null),this.mimeData.clear(),this._disposed=!0,this._dropAction="none",this._currentTarget=null,this._currentElement=null,this._scrollTarget=null,this._promise=null,this._resolve=null,t&&t(e)}}function W(){return K.keyboardLayout}!function(e){class t extends DragEvent{constructor(e,t){super(t.type,{bubbles:!0,cancelable:!0,altKey:e.altKey,button:e.button,clientX:e.clientX,clientY:e.clientY,ctrlKey:e.ctrlKey,detail:0,metaKey:e.metaKey,relatedTarget:t.related,screenX:e.screenX,screenY:e.screenY,shiftKey:e.shiftKey,view:window});const{drag:n}=t;this.dropAction="none",this.mimeData=n.mimeData,this.proposedAction=n.proposedAction,this.supportedActions=n.supportedActions,this.source=n.source}}e.Event=t,e.overrideCursor=function(e,t=document){return O.overrideCursor(e,t)}}(H||(H={})),function(e){function t(t,r=document){if(t){if(n&&t==n.event)return n.element;e.cursorBackdrop.style.zIndex="-1000";const i=r.elementFromPoint(t.clientX,t.clientY);return e.cursorBackdrop.style.zIndex="",n={event:t,element:i},i}{const t=e.cursorBackdrop.style.transform;if(i&&t===i.transform)return i.element;const n=e.cursorBackdrop.getBoundingClientRect();e.cursorBackdrop.style.zIndex="-1000";const o=r.elementFromPoint(n.left+n.width/2,n.top+n.height/2);return e.cursorBackdrop.style.zIndex="",i={transform:t,element:o},o}}e.SCROLL_EDGE_SIZE=20,e.validateAction=function(e,t){return r[e]&o[t]?e:"none"},e.findElementBehindBackdrop=t;let n=null,i=null;e.findScrollTarget=function(n){let i=n.clientX,r=n.clientY,o=t(n);for(;o;o=o.parentElement){if(!o.hasAttribute("data-lm-dragscroll"))continue;let t=0,n=0;o===document.body&&(t=window.pageXOffset,n=window.pageYOffset);let s=o.getBoundingClientRect(),a=s.top+n,l=s.left+t,d=l+s.width,c=a+s.height;if(i<l||i>=d||r<a||r>=c)continue;let u,h=i-l+1,f=r-a+1,p=d-i,A=c-r,m=Math.min(h,f,p,A);if(m>e.SCROLL_EDGE_SIZE)continue;switch(m){case A:u="bottom";break;case f:u="top";break;case p:u="right";break;case h:u="left";break;default:throw"unreachable"}let g,b=o.scrollWidth-o.clientWidth,v=o.scrollHeight-o.clientHeight;switch(u){case"top":g=v>0&&o.scrollTop>0;break;case"left":g=b>0&&o.scrollLeft>0;break;case"right":g=b>0&&o.scrollLeft<b;break;case"bottom":g=v>0&&o.scrollTop<v;break;default:throw"unreachable"}if(g)return{element:o,edge:u,distance:m}}return null},e.dispatchDragEnter=function(e,t,n,i){if(!t)return null;let r=new H.Event(i,{drag:e,related:n,type:"lm-dragenter"});if(!t.dispatchEvent(r))return t;const o=e.document instanceof Document?e.document.body:e.document.firstElementChild;return t===o?n:(r=new H.Event(i,{drag:e,related:n,type:"lm-dragenter"}),o.dispatchEvent(r),o)},e.dispatchDragExit=function(e,t,n,i){if(!t)return;let r=new H.Event(i,{drag:e,related:n,type:"lm-dragexit"});t.dispatchEvent(r)},e.dispatchDragLeave=function(e,t,n,i){if(!t)return;let r=new H.Event(i,{drag:e,related:n,type:"lm-dragleave"});t.dispatchEvent(r)},e.dispatchDragOver=function(e,t,n){if(!t)return"none";let i=new H.Event(n,{drag:e,related:null,type:"lm-dragover"});return t.dispatchEvent(i)?"none":i.dropAction},e.dispatchDrop=function(e,t,n){if(!t)return"none";let i=new H.Event(n,{drag:e,related:null,type:"lm-drop"});return t.dispatchEvent(i)?"none":i.dropAction};const r={none:0,copy:1,link:2,move:4},o={none:r.none,copy:r.copy,link:r.link,move:r.move,"copy-link":r.copy|r.link,"copy-move":r.copy|r.move,"link-move":r.link|r.move,all:r.copy|r.link|r.move};function s(t){e.cursorBackdrop&&(e.cursorBackdrop.style.transform=`translate(${t.clientX}px, ${t.clientY}px)`)}function a(n){if(!e.cursorBackdrop)return;let i=t();if(!i)return;const r=i.closest("[data-lm-dragscroll]");r&&(r.scrollTop+=e.cursorBackdrop.scrollTop-d,r.scrollLeft+=e.cursorBackdrop.scrollLeft-d,l())}function l(){e.cursorBackdrop.scrollTop=d,e.cursorBackdrop.scrollLeft=d}e.overrideCursor=function(t,n=document){let i=++c;const r=n instanceof Document?n.body:n.firstElementChild;return e.cursorBackdrop.isConnected||(e.cursorBackdrop.style.transform="scale(0)",r.appendChild(e.cursorBackdrop),l(),document.addEventListener("pointermove",s,{capture:!0,passive:!0}),e.cursorBackdrop.addEventListener("scroll",a,{capture:!0,passive:!0})),e.cursorBackdrop.style.cursor=t,new $.DisposableDelegate((()=>{i===c&&e.cursorBackdrop.isConnected&&(document.removeEventListener("pointermove",s,!0),e.cursorBackdrop.removeEventListener("scroll",a,!0),r.removeChild(e.cursorBackdrop))}))};const d=500;let c=0;e.cursorBackdrop=function(){const e=document.createElement("div");return e.classList.add("lm-cursor-backdrop"),e}()}(O||(O={})),function(e){e.copyText=function(e){const t=document.body,n=i=>{i.preventDefault(),i.stopPropagation(),i.clipboardData.setData("text",e),t.removeEventListener("copy",n,!0)};t.addEventListener("copy",n,!0),document.execCommand("copy")}}(L||(L={})),function(e){e.boxSizing=function(e){let t=window.getComputedStyle(e),n=parseFloat(t.borderTopWidth)||0,i=parseFloat(t.borderLeftWidth)||0,r=parseFloat(t.borderRightWidth)||0,o=parseFloat(t.borderBottomWidth)||0,s=parseFloat(t.paddingTop)||0,a=parseFloat(t.paddingLeft)||0,l=parseFloat(t.paddingRight)||0,d=parseFloat(t.paddingBottom)||0;return{borderTop:n,borderLeft:i,borderRight:r,borderBottom:o,paddingTop:s,paddingLeft:a,paddingRight:l,paddingBottom:d,horizontalSum:i+a+l+r,verticalSum:n+s+d+o}},e.sizeLimits=function(e){let t=window.getComputedStyle(e),n=parseFloat(t.minWidth)||0,i=parseFloat(t.minHeight)||0,r=parseFloat(t.maxWidth)||1/0,o=parseFloat(t.maxHeight)||1/0;return r=Math.max(n,r),o=Math.max(i,o),{minWidth:n,minHeight:i,maxWidth:r,maxHeight:o}},e.hitTest=function(e,t,n){let i=e.getBoundingClientRect();return t>=i.left&&t<i.right&&n>=i.top&&n<i.bottom},e.scrollIntoViewIfNeeded=function(e,t){let n=e.getBoundingClientRect(),i=t.getBoundingClientRect();i.top<=n.top&&i.bottom>=n.bottom||(i.top<n.top&&i.height<=n.height||i.bottom>n.bottom&&i.height>=n.height?e.scrollTop-=n.top-i.top:(i.top<n.top&&i.height>n.height||i.bottom>n.bottom&&i.height<n.height)&&(e.scrollTop-=n.bottom-i.bottom))}}(N||(N={})),function(e){e.IS_MAC=!!navigator.platform.match(/Mac/i),e.IS_WIN=!!navigator.platform.match(/Win/i),e.IS_IE=/Trident/.test(navigator.userAgent),e.IS_EDGE=/Edge/.test(navigator.userAgent),e.accelKey=function(t){return e.IS_MAC?t.metaKey:t.ctrlKey}}(z||(z={})),function(e){e.calculateSpecificity=function(e){if(e in q.specificityCache)return q.specificityCache[e];let t=q.calculateSingle(e);return q.specificityCache[e]=t},e.isValid=function(e){if(e in q.validityCache)return q.validityCache[e];let t=!0;try{q.testElem.querySelector(e)}catch(e){t=!1}return q.validityCache[e]=t},e.matches=function(e,t){return q.protoMatchFunc.call(e,t)}}(F||(F={})),function(e){e.specificityCache=Object.create(null),e.validityCache=Object.create(null),e.testElem=document.createElement("div"),e.protoMatchFunc=(()=>{let e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){let t=this,n=t.ownerDocument?t.ownerDocument.querySelectorAll(e):[];return-1!==Array.prototype.indexOf.call(n,t)}})(),e.calculateSingle=function(e){let d=0,c=0,u=0;function h(t){let n=e.match(t);return null!==n&&(e=e.slice(n[0].length),!0)}for(e=(e=e.split(",",1)[0]).replace(l," $1 ");e.length>0;)if(h(t))d++;else if(h(n))c++;else if(h(i))c++;else if(h(o))u++;else if(h(s))c++;else if(h(r))u++;else if(!h(a))return 0;return d=Math.min(d,255),c=Math.min(c,255),u=Math.min(u,255),d<<16|c<<8|u};const t=/^#[^\s\+>~#\.\[:]+/,n=/^\.[^\s\+>~#\.\[:]+/,i=/^\[[^\]]+\]/,r=/^[^\s\+>~#\.\[:]+/,o=/^(::[^\s\+>~#\.\[:]+|:first-line|:first-letter|:before|:after)/,s=/^:[^\s\+>~#\.\[:]+/,a=/^[\s\+>~\*]+/,l=/:not\(([^\)]+)\)/g}(q||(q={}));class V{constructor(e,t,n=[]){this.name=e,this._codes=t,this._keys=V.extractKeys(t),this._modifierKeys=V.convertToKeySet(n)}keys(){return Object.keys(this._keys)}isValidKey(e){return e in this._keys}isModifierKey(e){return e in this._modifierKeys}keyForKeydownEvent(e){return this._codes[e.keyCode]||""}}!function(e){e.extractKeys=function(e){let t=Object.create(null);for(let n in e)t[e[n]]=!0;return t},e.convertToKeySet=function(e){let t=Object(null);for(let n=0,i=e.length;n<i;++n)t[e[n]]=!0;return t}}(V||(V={}));const G=new V("en-us",{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},["Shift","Ctrl","Alt","Meta"]);var K,Y,J,X,Z,Q,ee,te;!function(e){e.keyboardLayout=G}(K||(K={}));class ne{constructor(){this._timerID=0,this._replaying=!1,this._keystrokes=[],this._keydownEvents=[],this._keyBindings=[],this._exactKeyMatch=null,this._commands=new Map,this._commandChanged=new g.Signal(this),this._commandExecuted=new g.Signal(this),this._keyBindingChanged=new g.Signal(this),this._holdKeyBindingPromises=new Map}get commandChanged(){return this._commandChanged}get commandExecuted(){return this._commandExecuted}get keyBindingChanged(){return this._keyBindingChanged}get keyBindings(){return this._keyBindings}listCommands(){return Array.from(this._commands.keys())}hasCommand(e){return this._commands.has(e)}addCommand(e,t){if(this._commands.has(e))throw new Error(`Command '${e}' already registered.`);return this._commands.set(e,Y.createCommand(t)),this._commandChanged.emit({id:e,type:"added"}),new $.DisposableDelegate((()=>{this._commands.delete(e),this._commandChanged.emit({id:e,type:"removed"})}))}notifyCommandChanged(e){if(void 0!==e&&!this._commands.has(e))throw new Error(`Command '${e}' is not registered.`);this._commandChanged.emit({id:e,type:e?"changed":"many-changed"})}describedBy(e,t=s.JSONExt.emptyObject){var n;let i=this._commands.get(e);return Promise.resolve(null!==(n=null==i?void 0:i.describedBy.call(void 0,t))&&void 0!==n?n:{args:null})}label(e,t=s.JSONExt.emptyObject){var n;let i=this._commands.get(e);return null!==(n=null==i?void 0:i.label.call(void 0,t))&&void 0!==n?n:""}mnemonic(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return n?n.mnemonic.call(void 0,t):-1}icon(e,t=s.JSONExt.emptyObject){var n;return null===(n=this._commands.get(e))||void 0===n?void 0:n.icon.call(void 0,t)}iconClass(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return n?n.iconClass.call(void 0,t):""}iconLabel(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return n?n.iconLabel.call(void 0,t):""}caption(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return n?n.caption.call(void 0,t):""}usage(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return n?n.usage.call(void 0,t):""}className(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return n?n.className.call(void 0,t):""}dataset(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return n?n.dataset.call(void 0,t):{}}isEnabled(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return!!n&&n.isEnabled.call(void 0,t)}isToggled(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return!!n&&n.isToggled.call(void 0,t)}isToggleable(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return!!n&&n.isToggleable}isVisible(e,t=s.JSONExt.emptyObject){let n=this._commands.get(e);return!!n&&n.isVisible.call(void 0,t)}execute(e,t=s.JSONExt.emptyObject){let n,i=this._commands.get(e);if(!i)return Promise.reject(new Error(`Command '${e}' not registered.`));try{n=i.execute.call(void 0,t)}catch(e){n=Promise.reject(e)}let r=Promise.resolve(n);return this._commandExecuted.emit({id:e,args:t,result:r}),r}addKeyBinding(e){let t=Y.createKeyBinding(e);return this._keyBindings.push(t),this._keyBindingChanged.emit({binding:t,type:"added"}),new $.DisposableDelegate((()=>{m.Rw.removeFirstOf(this._keyBindings,t),this._keyBindingChanged.emit({binding:t,type:"removed"})}))}processKeydownEvent(e){if(e.defaultPrevented||this._replaying||ne.isModifierKeyPressed(e))return;const t=ne.keystrokeForKeydownEvent(e);if(!t)return this._replayKeydownEvents(),void this._clearPendingState();this._keystrokes.push(t);const{exact:n,partial:i}=Y.matchKeyBinding(this._keyBindings,this._keystrokes,e),r=0!==i.length;return n||r?(((null==n?void 0:n.preventDefault)||i.some((e=>e.preventDefault)))&&(e.preventDefault(),e.stopPropagation()),this._keydownEvents.push(e),n&&!r?(this._executeKeyBinding(n),void this._clearPendingState()):(n&&(this._exactKeyMatch=n),void this._startTimer())):(this._replayKeydownEvents(),void this._clearPendingState())}holdKeyBindingExecution(e,t){this._holdKeyBindingPromises.set(e,t)}_startTimer(){this._clearTimer(),this._timerID=window.setTimeout((()=>{this._onPendingTimeout()}),Y.CHORD_TIMEOUT)}_clearTimer(){0!==this._timerID&&(clearTimeout(this._timerID),this._timerID=0)}_replayKeydownEvents(){0!==this._keydownEvents.length&&(this._replaying=!0,this._keydownEvents.forEach(Y.replayKeyEvent),this._replaying=!1)}async _executeKeyBinding(e){if(0!==this._holdKeyBindingPromises.size){const e=[...this._keydownEvents],t=(await Promise.race([Promise.all(e.map((async e=>{var t;return null!==(t=this._holdKeyBindingPromises.get(e))&&void 0!==t?t:Promise.resolve(!0)}))),new Promise((e=>{setTimeout((()=>e([!1])),Y.KEYBINDING_HOLD_TIMEOUT)}))])).every(Boolean);if(this._holdKeyBindingPromises.clear(),!t)return}let{command:t,args:n}=e,i={_luminoEvent:{type:"keybinding",keys:e.keys},...n};if(this.hasCommand(t)&&this.isEnabled(t,i))await this.execute(t,i);else{let n=this.hasCommand(t)?"enabled":"registered",i=`Cannot execute key binding '${e.keys.join(", ")}':`,r=`command '${t}' is not ${n}.`;console.warn(`${i} ${r}`)}}_clearPendingState(){this._clearTimer(),this._exactKeyMatch=null,this._keystrokes.length=0,this._keydownEvents.length=0}_onPendingTimeout(){this._timerID=0,this._exactKeyMatch?this._executeKeyBinding(this._exactKeyMatch):this._replayKeydownEvents(),this._clearPendingState()}}!function(e){function t(e){let t="",n=!1,i=!1,r=!1,o=!1;for(let s of e.split(/\s+/))"Accel"===s?z.IS_MAC?i=!0:r=!0:"Alt"===s?n=!0:"Cmd"===s?i=!0:"Ctrl"===s?r=!0:"Shift"===s?o=!0:s.length>0&&(t=s);return{cmd:i,ctrl:r,alt:n,shift:o,key:t}}function n(e){let n="",i=t(e);return i.ctrl&&(n+="Ctrl "),i.alt&&(n+="Alt "),i.shift&&(n+="Shift "),i.cmd&&z.IS_MAC&&(n+="Cmd "),n+i.key}e.parseKeystroke=t,e.normalizeKeystroke=n,e.normalizeKeys=function(e){let t;return t=z.IS_WIN?e.winKeys||e.keys:z.IS_MAC?e.macKeys||e.keys:e.linuxKeys||e.keys,t.map(n)},e.formatKeystroke=function(e){return"string"==typeof e?n(e):e.map(n).join(", ");function n(e){let n=[],i=z.IS_MAC?" ":"+",r=t(e);return r.ctrl&&n.push("Ctrl"),r.alt&&n.push("Alt"),r.shift&&n.push("Shift"),z.IS_MAC&&r.cmd&&n.push("Cmd"),n.push(r.key),n.map(Y.formatKey).join(i)}},e.isModifierKeyPressed=function(e){let t=W(),n=t.keyForKeydownEvent(e);return t.isModifierKey(n)},e.keystrokeForKeydownEvent=function(e){let t=W(),n=t.keyForKeydownEvent(e);if(!n||t.isModifierKey(n))return"";let i=[];return e.ctrlKey&&i.push("Ctrl"),e.altKey&&i.push("Alt"),e.shiftKey&&i.push("Shift"),e.metaKey&&z.IS_MAC&&i.push("Cmd"),i.push(n),i.join(" ")}}(ne||(ne={})),function(e){e.CHORD_TIMEOUT=1e3,e.KEYBINDING_HOLD_TIMEOUT=1e3,e.createCommand=function(e){return{execute:e.execute,describedBy:c("function"==typeof e.describedBy?e.describedBy:{args:null,...e.describedBy},(()=>({args:null}))),label:c(e.label,i),mnemonic:c(e.mnemonic,r),icon:c(e.icon,d),iconClass:c(e.iconClass,i),iconLabel:c(e.iconLabel,i),caption:c(e.caption,i),usage:c(e.usage,i),className:c(e.className,i),dataset:c(e.dataset,l),isEnabled:e.isEnabled||o,isToggled:e.isToggled||a,isToggleable:e.isToggleable||!!e.isToggled,isVisible:e.isVisible||o}},e.createKeyBinding=function(e){var t;return{keys:ne.normalizeKeys(e),selector:u(e),command:e.command,args:e.args||s.JSONExt.emptyObject,preventDefault:null===(t=e.preventDefault)||void 0===t||t}},e.matchKeyBinding=function(e,t,n){let i=null,r=[],o=1/0,s=0;for(let a=0,l=e.length;a<l;++a){let l=e[a],d=h(l.keys,t);if(0===d)continue;if(2===d){-1!==f(l.selector,n)&&r.push(l);continue}let c=f(l.selector,n);if(-1===c||c>o)continue;let u=F.calculateSpecificity(l.selector);(!i||c<o||u>=s)&&(i=l,o=c,s=u)}return{exact:i,partial:r}},e.replayKeyEvent=function(e){e.target.dispatchEvent(function(e){let t=document.createEvent("Event"),n=e.bubbles||!0,i=e.cancelable||!0;return t.initEvent(e.type||"keydown",n,i),t.key=e.key||"",t.keyCode=e.keyCode||0,t.which=e.keyCode||0,t.ctrlKey=e.ctrlKey||!1,t.altKey=e.altKey||!1,t.shiftKey=e.shiftKey||!1,t.metaKey=e.metaKey||!1,t.view=e.view||window,t}(e))},e.formatKey=function(e){return z.IS_MAC?t.hasOwnProperty(e)?t[e]:e:n.hasOwnProperty(e)?n[e]:e};const t={Backspace:"⌫",Tab:"⇥",Enter:"⏎",Shift:"⇧",Ctrl:"⌃",Alt:"⌥",Escape:"⎋",PageUp:"⇞",PageDown:"⇟",End:"↘",Home:"↖",ArrowLeft:"←",ArrowUp:"↑",ArrowRight:"→",ArrowDown:"↓",Delete:"⌦",Cmd:"⌘"},n={Escape:"Esc",PageUp:"Page Up",PageDown:"Page Down",ArrowLeft:"Left",ArrowUp:"Up",ArrowRight:"Right",ArrowDown:"Down",Delete:"Del"},i=()=>"",r=()=>-1,o=()=>!0,a=()=>!1,l=()=>({}),d=()=>{};function c(e,t){return void 0===e?t:"function"==typeof e?e:()=>e}function u(e){if(-1!==e.selector.indexOf(","))throw new Error(`Selector cannot contain commas: ${e.selector}`);if(!F.isValid(e.selector))throw new Error(`Invalid selector: ${e.selector}`);return e.selector}function h(e,t){if(e.length<t.length)return 0;for(let n=0,i=t.length;n<i;++n)if(e[n]!==t[n])return 0;return e.length>t.length?2:1}function f(e,t){let n=t.target,i=t.currentTarget;for(let t=0;null!==n;n=n.parentElement,++t){if(n.hasAttribute("data-lm-suppress-shortcuts"))return-1;if(F.matches(n,e))return t;if(n===i)return-1}return-1}}(Y||(Y={}));class ie{constructor(e){this.type="text",this.content=e}}class re{constructor(e,t,n,i){this.type="element",this.tag=e,this.attrs=t,this.children=n,this.renderer=i}}function oe(e){let t,n={},i=[];for(let e=1,o=arguments.length;e<o;++e){let o=arguments[e];"string"==typeof o?i.push(new ie(o)):o instanceof ie||o instanceof re?i.push(o):o instanceof Array?r(i,o):1!==e&&2!==e||!o||"object"!=typeof o||("render"in o?t=o:n=o)}return new re(e,n,i,t);function r(e,t){for(let n of t)"string"==typeof n?e.push(new ie(n)):(n instanceof ie||n instanceof re)&&e.push(n)}}!function(e){e.a=e.bind(void 0,"a"),e.abbr=e.bind(void 0,"abbr"),e.address=e.bind(void 0,"address"),e.area=e.bind(void 0,"area"),e.article=e.bind(void 0,"article"),e.aside=e.bind(void 0,"aside"),e.audio=e.bind(void 0,"audio"),e.b=e.bind(void 0,"b"),e.bdi=e.bind(void 0,"bdi"),e.bdo=e.bind(void 0,"bdo"),e.blockquote=e.bind(void 0,"blockquote"),e.br=e.bind(void 0,"br"),e.button=e.bind(void 0,"button"),e.canvas=e.bind(void 0,"canvas"),e.caption=e.bind(void 0,"caption"),e.cite=e.bind(void 0,"cite"),e.code=e.bind(void 0,"code"),e.col=e.bind(void 0,"col"),e.colgroup=e.bind(void 0,"colgroup"),e.data=e.bind(void 0,"data"),e.datalist=e.bind(void 0,"datalist"),e.dd=e.bind(void 0,"dd"),e.del=e.bind(void 0,"del"),e.dfn=e.bind(void 0,"dfn"),e.div=e.bind(void 0,"div"),e.dl=e.bind(void 0,"dl"),e.dt=e.bind(void 0,"dt"),e.em=e.bind(void 0,"em"),e.embed=e.bind(void 0,"embed"),e.fieldset=e.bind(void 0,"fieldset"),e.figcaption=e.bind(void 0,"figcaption"),e.figure=e.bind(void 0,"figure"),e.footer=e.bind(void 0,"footer"),e.form=e.bind(void 0,"form"),e.h1=e.bind(void 0,"h1"),e.h2=e.bind(void 0,"h2"),e.h3=e.bind(void 0,"h3"),e.h4=e.bind(void 0,"h4"),e.h5=e.bind(void 0,"h5"),e.h6=e.bind(void 0,"h6"),e.header=e.bind(void 0,"header"),e.hr=e.bind(void 0,"hr"),e.i=e.bind(void 0,"i"),e.iframe=e.bind(void 0,"iframe"),e.img=e.bind(void 0,"img"),e.input=e.bind(void 0,"input"),e.ins=e.bind(void 0,"ins"),e.kbd=e.bind(void 0,"kbd"),e.label=e.bind(void 0,"label"),e.legend=e.bind(void 0,"legend"),e.li=e.bind(void 0,"li"),e.main=e.bind(void 0,"main"),e.map=e.bind(void 0,"map"),e.mark=e.bind(void 0,"mark"),e.meter=e.bind(void 0,"meter"),e.nav=e.bind(void 0,"nav"),e.noscript=e.bind(void 0,"noscript"),e.object=e.bind(void 0,"object"),e.ol=e.bind(void 0,"ol"),e.optgroup=e.bind(void 0,"optgroup"),e.option=e.bind(void 0,"option"),e.output=e.bind(void 0,"output"),e.p=e.bind(void 0,"p"),e.param=e.bind(void 0,"param"),e.pre=e.bind(void 0,"pre"),e.progress=e.bind(void 0,"progress"),e.q=e.bind(void 0,"q"),e.rp=e.bind(void 0,"rp"),e.rt=e.bind(void 0,"rt"),e.ruby=e.bind(void 0,"ruby"),e.s=e.bind(void 0,"s"),e.samp=e.bind(void 0,"samp"),e.section=e.bind(void 0,"section"),e.select=e.bind(void 0,"select"),e.small=e.bind(void 0,"small"),e.source=e.bind(void 0,"source"),e.span=e.bind(void 0,"span"),e.strong=e.bind(void 0,"strong"),e.sub=e.bind(void 0,"sub"),e.summary=e.bind(void 0,"summary"),e.sup=e.bind(void 0,"sup"),e.table=e.bind(void 0,"table"),e.tbody=e.bind(void 0,"tbody"),e.td=e.bind(void 0,"td"),e.textarea=e.bind(void 0,"textarea"),e.tfoot=e.bind(void 0,"tfoot"),e.th=e.bind(void 0,"th"),e.thead=e.bind(void 0,"thead"),e.time=e.bind(void 0,"time"),e.title=e.bind(void 0,"title"),e.tr=e.bind(void 0,"tr"),e.track=e.bind(void 0,"track"),e.u=e.bind(void 0,"u"),e.ul=e.bind(void 0,"ul"),e.var_=e.bind(void 0,"var"),e.video=e.bind(void 0,"video"),e.wbr=e.bind(void 0,"wbr")}(oe||(oe={})),function(e){e.realize=function(e){return X.createDOMNode(e)},e.render=function(e,t){let n=X.hostMap.get(t)||[],i=X.asContentArray(e);X.hostMap.set(t,i),X.updateContent(t,n,i)}}(J||(J={})),function(e){function t(e){let n=arguments[1]||null;const r=arguments[2]||null;if(n)n.insertBefore(t(e),r);else{if("text"===e.type)return document.createTextNode(e.content);if(n=document.createElement(e.tag),function(e,t){for(let n in t)n in i||("on"===n.substr(0,2)?e[n]=t[n]:e.setAttribute(n,t[n]));void 0!==t.className&&e.setAttribute("class",t.className),void 0!==t.htmlFor&&e.setAttribute("for",t.htmlFor),t.dataset&&function(e,t){for(let n in t)e.setAttribute(`data-${n}`,t[n])}(e,t.dataset),t.style&&function(e,t){let n,i=e.style;for(n in t)i[n]=t[n]}(e,t.style)}(n,e.attrs),e.renderer)return e.renderer.render(n,{attrs:e.attrs,children:e.children}),n;for(let i=0,r=e.children.length;i<r;++i)t(e.children[i],n)}return n}function n(e,t,i,r){for(let o=t.length-1;o>=i;--o){const i=t[o],s=r?e.lastChild:e.childNodes[o];"text"===i.type||(i.renderer&&i.renderer.unrender?i.renderer.unrender(s,{attrs:i.attrs,children:i.children}):n(s,i.children,0,!1)),r&&e.removeChild(s)}}e.hostMap=new WeakMap,e.asContentArray=function(e){return e?e instanceof Array?e:[e]:[]},e.createDOMNode=t,e.updateContent=function e(i,o,s){if(o===s)return;let a=function(e,t){let n=e.firstChild,i=Object.create(null);for(let e of t)"element"===e.type&&e.attrs.key&&(i[e.attrs.key]={vNode:e,element:n}),n=n.nextSibling;return i}(i,o),l=o.slice(),d=i.firstChild,c=s.length;for(let n=0;n<c;++n){if(n>=l.length){t(s[n],i);continue}let o=l[n],c=s[n];if(o===c){d=d.nextSibling;continue}if("text"===o.type&&"text"===c.type){d.textContent!==c.content&&(d.textContent=c.content),d=d.nextSibling;continue}if("text"===o.type||"text"===c.type){m.Rw.insert(l,n,c),t(c,i,d);continue}if(!o.renderer!=!c.renderer){m.Rw.insert(l,n,c),t(c,i,d);continue}let u=c.attrs.key;if(u&&u in a){let e=a[u];e.vNode!==o&&(m.Rw.move(l,l.indexOf(e.vNode,n+1),n),i.insertBefore(e.element,d),o=e.vNode,d=e.element)}if(o===c){d=d.nextSibling;continue}let h=o.attrs.key;h&&h!==u?(m.Rw.insert(l,n,c),t(c,i,d)):o.tag===c.tag?(r(d,o.attrs,c.attrs),c.renderer?c.renderer.render(d,{attrs:c.attrs,children:c.children}):e(d,o.children,c.children),d=d.nextSibling):(m.Rw.insert(l,n,c),t(c,i,d))}n(i,l,c,!0)};const i={key:!0,className:!0,htmlFor:!0,dataset:!0,style:!0};function r(e,t,n){if(t===n)return;let r;for(r in t)r in i||r in n||("on"===r.substr(0,2)?e[r]=null:e.removeAttribute(r));for(r in n)r in i||t[r]===n[r]||("on"===r.substr(0,2)?e[r]=n[r]:e.setAttribute(r,n[r]));t.className!==n.className&&(void 0!==n.className?e.setAttribute("class",n.className):e.removeAttribute("class")),t.htmlFor!==n.htmlFor&&(void 0!==n.htmlFor?e.setAttribute("for",n.htmlFor):e.removeAttribute("for")),t.dataset!==n.dataset&&function(e,t,n){for(let i in t)i in n||e.removeAttribute(`data-${i}`);for(let i in n)t[i]!==n[i]&&e.setAttribute(`data-${i}`,n[i])}(e,t.dataset||{},n.dataset||{}),t.style!==n.style&&function(e,t,n){let i,r=e.style;for(i in t)i in n||(r[i]="");for(i in n)t[i]!==n[i]&&(r[i]=n[i])}(e,t.style||{},n.style||{})}}(X||(X={}));class se{constructor(){this.sizeHint=0,this.minSize=0,this.maxSize=1/0,this.stretch=1,this.size=0,this.done=!1}}!function(e){e.calc=function(e,t){let n=e.length;if(0===n)return t;let i=0,r=0,o=0,s=0,a=0;for(let t=0;t<n;++t){let n=e[t],l=n.minSize,d=n.maxSize,c=n.sizeHint;n.done=!1,n.size=Math.max(l,Math.min(c,d)),o+=n.size,i+=l,r+=d,n.stretch>0&&(s+=n.stretch,a++)}if(t===o)return 0;if(t<=i){for(let t=0;t<n;++t){let n=e[t];n.size=n.minSize}return t-i}if(t>=r){for(let t=0;t<n;++t){let n=e[t];n.size=n.maxSize}return t-r}let l=.01,d=n;if(t<o){let i=o-t;for(;a>0&&i>l;){let t=i,r=s;for(let o=0;o<n;++o){let n=e[o];if(n.done||0===n.stretch)continue;let l=n.stretch*t/r;n.size-l<=n.minSize?(i-=n.size-n.minSize,s-=n.stretch,n.size=n.minSize,n.done=!0,d--,a--):(i-=l,n.size-=l)}}for(;d>0&&i>l;){let t=i/d;for(let r=0;r<n;++r){let n=e[r];n.done||(n.size-t<=n.minSize?(i-=n.size-n.minSize,n.size=n.minSize,n.done=!0,d--):(i-=t,n.size-=t))}}}else{let i=t-o;for(;a>0&&i>l;){let t=i,r=s;for(let o=0;o<n;++o){let n=e[o];if(n.done||0===n.stretch)continue;let l=n.stretch*t/r;n.size+l>=n.maxSize?(i-=n.maxSize-n.size,s-=n.stretch,n.size=n.maxSize,n.done=!0,d--,a--):(i-=l,n.size+=l)}}for(;d>0&&i>l;){let t=i/d;for(let r=0;r<n;++r){let n=e[r];n.done||(n.size+t>=n.maxSize?(i-=n.maxSize-n.size,n.size=n.maxSize,n.done=!0,d--):(i-=t,n.size+=t))}}}return 0},e.adjust=function(e,t,n){0!==e.length&&0!==n&&(n>0?function(e,t,n){let i=0;for(let n=0;n<=t;++n){let t=e[n];i+=t.maxSize-t.size}let r=0;for(let n=t+1,i=e.length;n<i;++n){let t=e[n];r+=t.size-t.minSize}let o=n=Math.min(n,i,r);for(let n=t;n>=0&&o>0;--n){let t=e[n],i=t.maxSize-t.size;i>=o?(t.sizeHint=t.size+o,o=0):(t.sizeHint=t.size+i,o-=i)}let s=n;for(let n=t+1,i=e.length;n<i&&s>0;++n){let t=e[n],i=t.size-t.minSize;i>=s?(t.sizeHint=t.size-s,s=0):(t.sizeHint=t.size-i,s-=i)}}(e,t,n):function(e,t,n){let i=0;for(let n=t+1,r=e.length;n<r;++n){let t=e[n];i+=t.maxSize-t.size}let r=0;for(let n=0;n<=t;++n){let t=e[n];r+=t.size-t.minSize}let o=n=Math.min(n,i,r);for(let n=t+1,i=e.length;n<i&&o>0;++n){let t=e[n],i=t.maxSize-t.size;i>=o?(t.sizeHint=t.size+o,o=0):(t.sizeHint=t.size+i,o-=i)}let s=n;for(let n=t;n>=0&&s>0;--n){let t=e[n],i=t.size-t.minSize;i>=s?(t.sizeHint=t.size-s,s=0):(t.sizeHint=t.size-i,s-=i)}}(e,t,-n))}}(Z||(Z={}));class ae{constructor(e){this._label="",this._caption="",this._mnemonic=-1,this._icon=void 0,this._iconClass="",this._iconLabel="",this._className="",this._closable=!1,this._changed=new g.Signal(this),this._isDisposed=!1,this.owner=e.owner,void 0!==e.label&&(this._label=e.label),void 0!==e.mnemonic&&(this._mnemonic=e.mnemonic),void 0!==e.icon&&(this._icon=e.icon),void 0!==e.iconClass&&(this._iconClass=e.iconClass),void 0!==e.iconLabel&&(this._iconLabel=e.iconLabel),void 0!==e.caption&&(this._caption=e.caption),void 0!==e.className&&(this._className=e.className),void 0!==e.closable&&(this._closable=e.closable),this._dataset=e.dataset||{}}get changed(){return this._changed}get label(){return this._label}set label(e){this._label!==e&&(this._label=e,this._changed.emit(void 0))}get mnemonic(){return this._mnemonic}set mnemonic(e){this._mnemonic!==e&&(this._mnemonic=e,this._changed.emit(void 0))}get icon(){return this._icon}set icon(e){this._icon!==e&&(this._icon=e,this._changed.emit(void 0))}get iconClass(){return this._iconClass}set iconClass(e){this._iconClass!==e&&(this._iconClass=e,this._changed.emit(void 0))}get iconLabel(){return this._iconLabel}set iconLabel(e){this._iconLabel!==e&&(this._iconLabel=e,this._changed.emit(void 0))}get caption(){return this._caption}set caption(e){this._caption!==e&&(this._caption=e,this._changed.emit(void 0))}get className(){return this._className}set className(e){this._className!==e&&(this._className=e,this._changed.emit(void 0))}get closable(){return this._closable}set closable(e){this._closable!==e&&(this._closable=e,this._changed.emit(void 0))}get dataset(){return this._dataset}set dataset(e){this._dataset!==e&&(this._dataset=e,this._changed.emit(void 0))}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,g.Signal.clearData(this))}}class le{constructor(e={}){this._flags=0,this._layout=null,this._parent=null,this._disposed=new g.Signal(this),this._hiddenMode=le.HiddenMode.Display,this.node=Q.createNode(e),this.addClass("lm-Widget")}dispose(){this.isDisposed||(this.setFlag(le.Flag.IsDisposed),this._disposed.emit(void 0),this.parent?this.parent=null:this.isAttached&&le.detach(this),this._layout&&(this._layout.dispose(),this._layout=null),this.title.dispose(),g.Signal.clearData(this),S.clearData(this),U.AttachedProperty.clearData(this))}get disposed(){return this._disposed}get isDisposed(){return this.testFlag(le.Flag.IsDisposed)}get isAttached(){return this.testFlag(le.Flag.IsAttached)}get isHidden(){return this.testFlag(le.Flag.IsHidden)}get isVisible(){return this.testFlag(le.Flag.IsVisible)}get title(){return Q.titleProperty.get(this)}get id(){return this.node.id}set id(e){this.node.id=e}get dataset(){return this.node.dataset}get hiddenMode(){return this._hiddenMode}set hiddenMode(e){this._hiddenMode!==e&&(this.isHidden&&this._toggleHidden(!1),e==le.HiddenMode.Scale?this.node.style.willChange="transform":this.node.style.willChange="auto",this._hiddenMode=e,this.isHidden&&this._toggleHidden(!0))}get parent(){return this._parent}set parent(e){if(this._parent!==e){if(e&&this.contains(e))throw new Error("Invalid parent widget.");if(this._parent&&!this._parent.isDisposed){let e=new le.ChildMessage("child-removed",this);S.sendMessage(this._parent,e)}if(this._parent=e,this._parent&&!this._parent.isDisposed){let e=new le.ChildMessage("child-added",this);S.sendMessage(this._parent,e)}this.isDisposed||S.sendMessage(this,le.Msg.ParentChanged)}}get layout(){return this._layout}set layout(e){if(this._layout!==e){if(this.testFlag(le.Flag.DisallowLayout))throw new Error("Cannot set widget layout.");if(this._layout)throw new Error("Cannot change widget layout.");if(e.parent)throw new Error("Cannot change layout parent.");this._layout=e,e.parent=this}}*children(){this._layout&&(yield*this._layout)}contains(e){for(let t=e;t;t=t._parent)if(t===this)return!0;return!1}hasClass(e){return this.node.classList.contains(e)}addClass(e){this.node.classList.add(e)}removeClass(e){this.node.classList.remove(e)}toggleClass(e,t){return!0===t?(this.node.classList.add(e),!0):!1===t?(this.node.classList.remove(e),!1):this.node.classList.toggle(e)}update(){S.postMessage(this,le.Msg.UpdateRequest)}fit(){S.postMessage(this,le.Msg.FitRequest)}activate(){S.postMessage(this,le.Msg.ActivateRequest)}close(){S.sendMessage(this,le.Msg.CloseRequest)}show(){if(this.testFlag(le.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||S.sendMessage(this,le.Msg.BeforeShow),this.clearFlag(le.Flag.IsHidden),this._toggleHidden(!1),!this.isAttached||this.parent&&!this.parent.isVisible||S.sendMessage(this,le.Msg.AfterShow),this.parent)){let e=new le.ChildMessage("child-shown",this);S.sendMessage(this.parent,e)}}hide(){if(!this.testFlag(le.Flag.IsHidden)&&(!this.isAttached||this.parent&&!this.parent.isVisible||S.sendMessage(this,le.Msg.BeforeHide),this.setFlag(le.Flag.IsHidden),this._toggleHidden(!0),!this.isAttached||this.parent&&!this.parent.isVisible||S.sendMessage(this,le.Msg.AfterHide),this.parent)){let e=new le.ChildMessage("child-hidden",this);S.sendMessage(this.parent,e)}}setHidden(e){e?this.hide():this.show()}testFlag(e){return!!(this._flags&e)}setFlag(e){this._flags|=e}clearFlag(e){this._flags&=~e}processMessage(e){switch(e.type){case"resize":this.notifyLayout(e),this.onResize(e);break;case"update-request":this.notifyLayout(e),this.onUpdateRequest(e);break;case"fit-request":this.notifyLayout(e),this.onFitRequest(e);break;case"before-show":this.notifyLayout(e),this.onBeforeShow(e);break;case"after-show":this.setFlag(le.Flag.IsVisible),this.notifyLayout(e),this.onAfterShow(e);break;case"before-hide":this.notifyLayout(e),this.onBeforeHide(e);break;case"after-hide":this.clearFlag(le.Flag.IsVisible),this.notifyLayout(e),this.onAfterHide(e);break;case"before-attach":this.notifyLayout(e),this.onBeforeAttach(e);break;case"after-attach":this.isHidden||this.parent&&!this.parent.isVisible||this.setFlag(le.Flag.IsVisible),this.setFlag(le.Flag.IsAttached),this.notifyLayout(e),this.onAfterAttach(e);break;case"before-detach":this.notifyLayout(e),this.onBeforeDetach(e);break;case"after-detach":this.clearFlag(le.Flag.IsVisible),this.clearFlag(le.Flag.IsAttached),this.notifyLayout(e),this.onAfterDetach(e);break;case"activate-request":this.notifyLayout(e),this.onActivateRequest(e);break;case"close-request":this.notifyLayout(e),this.onCloseRequest(e);break;case"child-added":this.notifyLayout(e),this.onChildAdded(e);break;case"child-removed":this.notifyLayout(e),this.onChildRemoved(e);break;default:this.notifyLayout(e)}}notifyLayout(e){this._layout&&this._layout.processParentMessage(e)}onCloseRequest(e){this.parent?this.parent=null:this.isAttached&&le.detach(this)}onResize(e){}onUpdateRequest(e){}onFitRequest(e){}onActivateRequest(e){}onBeforeShow(e){}onAfterShow(e){}onBeforeHide(e){}onAfterHide(e){}onBeforeAttach(e){}onAfterAttach(e){}onBeforeDetach(e){}onAfterDetach(e){}onChildAdded(e){}onChildRemoved(e){}_toggleHidden(e){if(e)switch(this._hiddenMode){case le.HiddenMode.Display:this.addClass("lm-mod-hidden");break;case le.HiddenMode.Scale:this.node.style.transform="scale(0)",this.node.setAttribute("aria-hidden","true");break;case le.HiddenMode.ContentVisibility:this.node.style.contentVisibility="hidden",this.node.style.zIndex="-1"}else switch(this._hiddenMode){case le.HiddenMode.Display:this.removeClass("lm-mod-hidden");break;case le.HiddenMode.Scale:this.node.style.transform="",this.node.removeAttribute("aria-hidden");break;case le.HiddenMode.ContentVisibility:this.node.style.contentVisibility="",this.node.style.zIndex=""}}}!function(e){var t,n,i;(t=e.HiddenMode||(e.HiddenMode={}))[t.Display=0]="Display",t[t.Scale=1]="Scale",t[t.ContentVisibility=2]="ContentVisibility",(n=e.Flag||(e.Flag={}))[n.IsDisposed=1]="IsDisposed",n[n.IsAttached=2]="IsAttached",n[n.IsHidden=4]="IsHidden",n[n.IsVisible=8]="IsVisible",n[n.DisallowLayout=16]="DisallowLayout",(i=e.Msg||(e.Msg={})).BeforeShow=new P("before-show"),i.AfterShow=new P("after-show"),i.BeforeHide=new P("before-hide"),i.AfterHide=new P("after-hide"),i.BeforeAttach=new P("before-attach"),i.AfterAttach=new P("after-attach"),i.BeforeDetach=new P("before-detach"),i.AfterDetach=new P("after-detach"),i.ParentChanged=new P("parent-changed"),i.UpdateRequest=new R("update-request"),i.FitRequest=new R("fit-request"),i.ActivateRequest=new R("activate-request"),i.CloseRequest=new R("close-request"),e.ChildMessage=class extends P{constructor(e,t){super(e),this.child=t}};class r extends P{constructor(e,t){super("resize"),this.width=e,this.height=t}}e.ResizeMessage=r,function(e){e.UnknownSize=new e(-1,-1)}(r=e.ResizeMessage||(e.ResizeMessage={})),e.attach=function(t,n,i=null){if(t.parent)throw new Error("Cannot attach a child widget.");if(t.isAttached||t.node.isConnected)throw new Error("Widget is already attached.");if(!n.isConnected)throw new Error("Host is not attached.");S.sendMessage(t,e.Msg.BeforeAttach),n.insertBefore(t.node,i),S.sendMessage(t,e.Msg.AfterAttach)},e.detach=function(t){if(t.parent)throw new Error("Cannot detach a child widget.");if(!t.isAttached||!t.node.isConnected)throw new Error("Widget is not attached.");S.sendMessage(t,e.Msg.BeforeDetach),t.node.parentNode.removeChild(t.node),S.sendMessage(t,e.Msg.AfterDetach)}}(le||(le={})),function(e){e.titleProperty=new U.AttachedProperty({name:"title",create:e=>new ae({owner:e})}),e.createNode=function(e){return e.node||document.createElement(e.tag||"div")}}(Q||(Q={}));class de{constructor(e={}){this._disposed=!1,this._parent=null,this._fitPolicy=e.fitPolicy||"set-min-size"}dispose(){this._parent=null,this._disposed=!0,g.Signal.clearData(this),U.AttachedProperty.clearData(this)}get isDisposed(){return this._disposed}get parent(){return this._parent}set parent(e){if(this._parent!==e){if(this._parent)throw new Error("Cannot change parent widget.");if(e.layout!==this)throw new Error("Invalid parent widget.");this._parent=e,this.init()}}get fitPolicy(){return this._fitPolicy}set fitPolicy(e){if(this._fitPolicy!==e&&(this._fitPolicy=e,this._parent)){let e=this._parent.node.style;e.minWidth="",e.minHeight="",e.maxWidth="",e.maxHeight="",this._parent.fit()}}processParentMessage(e){switch(e.type){case"resize":this.onResize(e);break;case"update-request":this.onUpdateRequest(e);break;case"fit-request":this.onFitRequest(e);break;case"before-show":this.onBeforeShow(e);break;case"after-show":this.onAfterShow(e);break;case"before-hide":this.onBeforeHide(e);break;case"after-hide":this.onAfterHide(e);break;case"before-attach":this.onBeforeAttach(e);break;case"after-attach":this.onAfterAttach(e);break;case"before-detach":this.onBeforeDetach(e);break;case"after-detach":this.onAfterDetach(e);break;case"child-removed":this.onChildRemoved(e);break;case"child-shown":this.onChildShown(e);break;case"child-hidden":this.onChildHidden(e)}}init(){for(const e of this)e.parent=this.parent}onResize(e){for(const e of this)S.sendMessage(e,le.ResizeMessage.UnknownSize)}onUpdateRequest(e){for(const e of this)S.sendMessage(e,le.ResizeMessage.UnknownSize)}onBeforeAttach(e){for(const t of this)S.sendMessage(t,e)}onAfterAttach(e){for(const t of this)S.sendMessage(t,e)}onBeforeDetach(e){for(const t of this)S.sendMessage(t,e)}onAfterDetach(e){for(const t of this)S.sendMessage(t,e)}onBeforeShow(e){for(const t of this)t.isHidden||S.sendMessage(t,e)}onAfterShow(e){for(const t of this)t.isHidden||S.sendMessage(t,e)}onBeforeHide(e){for(const t of this)t.isHidden||S.sendMessage(t,e)}onAfterHide(e){for(const t of this)t.isHidden||S.sendMessage(t,e)}onChildRemoved(e){this.removeWidget(e.child)}onFitRequest(e){}onChildShown(e){}onChildHidden(e){}}!function(e){e.getHorizontalAlignment=function(e){return ee.horizontalAlignmentProperty.get(e)},e.setHorizontalAlignment=function(e,t){ee.horizontalAlignmentProperty.set(e,t)},e.getVerticalAlignment=function(e){return ee.verticalAlignmentProperty.get(e)},e.setVerticalAlignment=function(e,t){ee.verticalAlignmentProperty.set(e,t)}}(de||(de={}));class ce{constructor(e){this._top=NaN,this._left=NaN,this._width=NaN,this._height=NaN,this._minWidth=0,this._minHeight=0,this._maxWidth=1/0,this._maxHeight=1/0,this._disposed=!1,this.widget=e,this.widget.node.style.position="absolute",this.widget.node.style.contain="strict"}dispose(){if(this._disposed)return;this._disposed=!0;let e=this.widget.node.style;e.position="",e.top="",e.left="",e.width="",e.height="",e.contain=""}get minWidth(){return this._minWidth}get minHeight(){return this._minHeight}get maxWidth(){return this._maxWidth}get maxHeight(){return this._maxHeight}get isDisposed(){return this._disposed}get isHidden(){return this.widget.isHidden}get isVisible(){return this.widget.isVisible}get isAttached(){return this.widget.isAttached}fit(){let e=x.sizeLimits(this.widget.node);this._minWidth=e.minWidth,this._minHeight=e.minHeight,this._maxWidth=e.maxWidth,this._maxHeight=e.maxHeight}update(e,t,n,i){let r=Math.max(this._minWidth,Math.min(n,this._maxWidth)),o=Math.max(this._minHeight,Math.min(i,this._maxHeight));if(r<n)switch(de.getHorizontalAlignment(this.widget)){case"left":break;case"center":e+=(n-r)/2;break;case"right":e+=n-r;break;default:throw"unreachable"}if(o<i)switch(de.getVerticalAlignment(this.widget)){case"top":break;case"center":t+=(i-o)/2;break;case"bottom":t+=i-o;break;default:throw"unreachable"}let s=!1,a=this.widget.node.style;if(this._top!==t&&(this._top=t,a.top=`${t}px`),this._left!==e&&(this._left=e,a.left=`${e}px`),this._width!==r&&(s=!0,this._width=r,a.width=`${r}px`),this._height!==o&&(s=!0,this._height=o,a.height=`${o}px`),s){let e=new le.ResizeMessage(r,o);S.sendMessage(this.widget,e)}}}!function(e){function t(e){e.parent&&e.parent.layout&&e.parent.update()}e.horizontalAlignmentProperty=new U.AttachedProperty({name:"horizontalAlignment",create:()=>"center",changed:t}),e.verticalAlignmentProperty=new U.AttachedProperty({name:"verticalAlignment",create:()=>"top",changed:t})}(ee||(ee={}));class ue extends de{constructor(){super(...arguments),this._widgets=[]}dispose(){for(;this._widgets.length>0;)this._widgets.pop().dispose();super.dispose()}get widgets(){return this._widgets}*[Symbol.iterator](){yield*this._widgets}addWidget(e){this.insertWidget(this._widgets.length,e)}insertWidget(e,t){t.parent=this.parent;let n=this._widgets.indexOf(t),i=Math.max(0,Math.min(e,this._widgets.length));if(-1===n)return m.Rw.insert(this._widgets,i,t),void(this.parent&&this.attachWidget(i,t));i===this._widgets.length&&i--,n!==i&&(m.Rw.move(this._widgets,n,i),this.parent&&this.moveWidget(n,i,t))}removeWidget(e){this.removeWidgetAt(this._widgets.indexOf(e))}removeWidgetAt(e){let t=m.Rw.removeAt(this._widgets,e);t&&this.parent&&this.detachWidget(e,t)}init(){super.init();let e=0;for(const t of this)this.attachWidget(e++,t)}attachWidget(e,t){let n=this.parent.node.children[e];this.parent.isAttached&&S.sendMessage(t,le.Msg.BeforeAttach),this.parent.node.insertBefore(t.node,n),this.parent.isAttached&&S.sendMessage(t,le.Msg.AfterAttach)}moveWidget(e,t,n){this.parent.isAttached&&S.sendMessage(n,le.Msg.BeforeDetach),this.parent.node.removeChild(n.node),this.parent.isAttached&&S.sendMessage(n,le.Msg.AfterDetach);let i=this.parent.node.children[t];this.parent.isAttached&&S.sendMessage(n,le.Msg.BeforeAttach),this.parent.node.insertBefore(n.node,i),this.parent.isAttached&&S.sendMessage(n,le.Msg.AfterAttach)}detachWidget(e,t){this.parent.isAttached&&S.sendMessage(t,le.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&S.sendMessage(t,le.Msg.AfterDetach)}}!function(e){e.clampDimension=function(e){return Math.max(0,Math.floor(e))}}(te||(te={}));var he,fe,pe,Ae,me,ge,be,ve,Ce,ye,we=te;class _e extends ue{constructor(e){super(),this.widgetOffset=0,this._fixed=0,this._spacing=4,this._dirty=!1,this._hasNormedSizes=!1,this._sizers=[],this._items=[],this._handles=[],this._box=null,this._alignment="start",this._orientation="horizontal",this.renderer=e.renderer,void 0!==e.orientation&&(this._orientation=e.orientation),void 0!==e.alignment&&(this._alignment=e.alignment),void 0!==e.spacing&&(this._spacing=te.clampDimension(e.spacing))}dispose(){for(const e of this._items)e.dispose();this._box=null,this._items.length=0,this._sizers.length=0,this._handles.length=0,super.dispose()}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this.parent&&(this.parent.dataset.orientation=e,this.parent.fit()))}get alignment(){return this._alignment}set alignment(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))}get spacing(){return this._spacing}set spacing(e){e=te.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())}get handles(){return this._handles}absoluteSizes(){return this._sizers.map((e=>e.size))}relativeSizes(){return he.normalize(this._sizers.map((e=>e.size)))}setRelativeSizes(e,t=!0){let n=this._sizers.length,i=e.slice(0,n);for(;i.length<n;)i.push(0);let r=he.normalize(i);for(let e=0;e<n;++e){let t=this._sizers[e];t.sizeHint=r[e],t.size=r[e]}this._hasNormedSizes=!0,t&&this.parent&&this.parent.update()}moveHandle(e,t){let n,i=this._handles[e];if(i&&!i.classList.contains("lm-mod-hidden")&&(n="horizontal"===this._orientation?t-i.offsetLeft:t-i.offsetTop,0!==n)){for(let e of this._sizers)e.size>0&&(e.sizeHint=e.size);Z.adjust(this._sizers,e,n),this.parent&&this.parent.update()}}init(){this.parent.dataset.orientation=this.orientation,this.parent.dataset.alignment=this.alignment,super.init()}attachWidget(e,t){let n=new ce(t),i=he.createHandle(this.renderer),r=he.averageSize(this._sizers),o=he.createSizer(r);m.Rw.insert(this._items,e,n),m.Rw.insert(this._sizers,e,o),m.Rw.insert(this._handles,e,i),this.parent.isAttached&&S.sendMessage(t,le.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.node.appendChild(i),this.parent.isAttached&&S.sendMessage(t,le.Msg.AfterAttach),this.parent.fit()}moveWidget(e,t,n){m.Rw.move(this._items,e,t),m.Rw.move(this._sizers,e,t),m.Rw.move(this._handles,e,t),this.parent.fit()}detachWidget(e,t){let n=m.Rw.removeAt(this._items,e),i=m.Rw.removeAt(this._handles,e);m.Rw.removeAt(this._sizers,e),this.parent.isAttached&&S.sendMessage(t,le.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.node.removeChild(i),this.parent.isAttached&&S.sendMessage(t,le.Msg.AfterDetach),n.dispose(),this.parent.fit()}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}updateItemPosition(e,t,n,i,r,o,s){const a=this._items[e];if(a.isHidden)return;let l=this._handles[e].style;t?(n+=this.widgetOffset,a.update(n,i,s,r),n+=s,l.top=`${i}px`,l.left=`${n}px`,l.width=`${this._spacing}px`,l.height=`${r}px`):(i+=this.widgetOffset,a.update(n,i,o,s),i+=s,l.top=`${i}px`,l.left=`${n}px`,l.width=`${o}px`,l.height=`${this._spacing}px`)}_fit(){let e=0,t=-1;for(let n=0,i=this._items.length;n<i;++n)this._items[n].isHidden?this._handles[n].classList.add("lm-mod-hidden"):(this._handles[n].classList.remove("lm-mod-hidden"),t=n,e++);-1!==t&&this._handles[t].classList.add("lm-mod-hidden"),this._fixed=this._spacing*Math.max(0,e-1)+this.widgetOffset*this._items.length;let n="horizontal"===this._orientation,i=n?this._fixed:0,r=n?0:this._fixed;for(let e=0,t=this._items.length;e<t;++e){let t=this._items[e],o=this._sizers[e];o.size>0&&(o.sizeHint=o.size),t.isHidden?(o.minSize=0,o.maxSize=0):(t.fit(),o.stretch=_e.getStretch(t.widget),n?(o.minSize=t.minWidth,o.maxSize=t.maxWidth,i+=t.minWidth,r=Math.max(r,t.minHeight)):(o.minSize=t.minHeight,o.maxSize=t.maxHeight,r+=t.minHeight,i=Math.max(i,t.minWidth)))}let o=this._box=x.boxSizing(this.parent.node);i+=o.horizontalSum,r+=o.verticalSum;let s=this.parent.node.style;s.minWidth=`${i}px`,s.minHeight=`${r}px`,this._dirty=!0,this.parent.parent&&S.sendMessage(this.parent.parent,le.Msg.FitRequest),this._dirty&&S.sendMessage(this.parent,le.Msg.UpdateRequest)}_update(e,t){this._dirty=!1;let n=0;for(let e=0,t=this._items.length;e<t;++e)n+=+!this._items[e].isHidden;if(0===n&&0===this.widgetOffset)return;e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=x.boxSizing(this.parent.node));let i=this._box.paddingTop,r=this._box.paddingLeft,o=e-this._box.horizontalSum,s=t-this._box.verticalSum,a=0,l=0,d="horizontal"===this._orientation;if(n>0){let e;if(e=d?Math.max(0,o-this._fixed):Math.max(0,s-this._fixed),this._hasNormedSizes){for(let t of this._sizers)t.sizeHint*=e;this._hasNormedSizes=!1}let t=Z.calc(this._sizers,e);if(t>0)switch(this._alignment){case"start":break;case"center":a=0,l=t/2;break;case"end":a=0,l=t;break;case"justify":a=t/n,l=0;break;default:throw"unreachable"}}for(let e=0,t=this._items.length;e<t;++e){const t=this._items[e].isHidden?0:this._sizers[e].size+a;this.updateItemPosition(e,d,d?r+l:r,d?i:i+l,s,o,t);const n=this.widgetOffset+(this._handles[e].classList.contains("lm-mod-hidden")?0:this._spacing);d?r+=t+n:i+=t+n}}}!function(e){e.getStretch=function(e){return he.stretchProperty.get(e)},e.setStretch=function(e,t){he.stretchProperty.set(e,t)}}(_e||(_e={})),function(e){e.stretchProperty=new U.AttachedProperty({name:"stretch",create:()=>0,coerce:(e,t)=>Math.max(0,Math.floor(t)),changed:function(e){e.parent&&e.parent.layout instanceof _e&&e.parent.fit()}}),e.createSizer=function(e){let t=new se;return t.sizeHint=Math.floor(e),t},e.createHandle=function(e){let t=e.createHandle();return t.style.position="absolute",t.style.contain="style",t},e.averageSize=function(e){return e.reduce(((e,t)=>e+t.size),0)/e.length||0},e.normalize=function(e){let t=e.length;if(0===t)return[];let n=e.reduce(((e,t)=>e+Math.abs(t)),0);return 0===n?e.map((e=>1/t)):e.map((e=>e/n))}}(he||(he={}));class Be extends _e{constructor(e){super({...e,orientation:e.orientation||"vertical"}),this._titles=[],this.titleSpace=e.titleSpace||22}get titleSpace(){return this.widgetOffset}set titleSpace(e){e=we.clampDimension(e),this.widgetOffset!==e&&(this.widgetOffset=e,this.parent&&this.parent.fit())}get titles(){return this._titles}dispose(){this.isDisposed||(this._titles.length=0,super.dispose())}updateTitle(e,t){const n=this._titles[e],i=n.classList.contains("lm-mod-expanded"),r=fe.createTitle(this.renderer,t.title,i);this._titles[e]=r,this.parent.node.replaceChild(r,n)}insertWidget(e,t){t.id||(t.id=`id-${s.UUID.uuid4()}`),super.insertWidget(e,t)}attachWidget(e,t){const n=fe.createTitle(this.renderer,t.title);m.Rw.insert(this._titles,e,n),this.parent.node.appendChild(n),t.node.setAttribute("role","region"),t.node.setAttribute("aria-labelledby",n.id),super.attachWidget(e,t)}moveWidget(e,t,n){m.Rw.move(this._titles,e,t),super.moveWidget(e,t,n)}detachWidget(e,t){const n=m.Rw.removeAt(this._titles,e);this.parent.node.removeChild(n),super.detachWidget(e,t)}updateItemPosition(e,t,n,i,r,o,s){const a=this._titles[e].style;a.top=`${i}px`,a.left=`${n}px`,a.height=`${this.widgetOffset}px`,a.width=t?`${r}px`:`${o}px`,super.updateItemPosition(e,t,n,i,r,o,s)}}!function(e){e.createTitle=function(e,t,n=!0){const i=e.createSectionTitle(t);return i.style.position="absolute",i.style.contain="strict",i.setAttribute("aria-label",`${t.label} Section`),i.setAttribute("aria-expanded",n?"true":"false"),i.setAttribute("aria-controls",t.owner.id),n&&i.classList.add("lm-mod-expanded"),i}}(fe||(fe={}));class Ee extends le{constructor(e={}){super(),this.addClass("lm-Panel"),this.layout=pe.createLayout(e)}get widgets(){return this.layout.widgets}addWidget(e){this.layout.addWidget(e)}insertWidget(e,t){this.layout.insertWidget(e,t)}}!function(e){e.createLayout=function(e){return e.layout||new ue}}(pe||(pe={}));class xe extends Ee{constructor(e={}){super({layout:Ae.createLayout(e)}),this._handleMoved=new g.Signal(this),this._pressData=null,this.addClass("lm-SplitPanel")}dispose(){this._releaseMouse(),super.dispose()}get orientation(){return this.layout.orientation}set orientation(e){this.layout.orientation=e}get alignment(){return this.layout.alignment}set alignment(e){this.layout.alignment=e}get spacing(){return this.layout.spacing}set spacing(e){this.layout.spacing=e}get renderer(){return this.layout.renderer}get handleMoved(){return this._handleMoved}get handles(){return this.layout.handles}relativeSizes(){return this.layout.relativeSizes()}setRelativeSizes(e,t=!0){this.layout.setRelativeSizes(e,t)}handleEvent(e){switch(e.type){case"pointerdown":this._evtPointerDown(e);break;case"pointermove":this._evtPointerMove(e);break;case"pointerup":this._evtPointerUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("pointerdown",this)}onAfterDetach(e){this.node.removeEventListener("pointerdown",this),this._releaseMouse()}onChildAdded(e){e.child.addClass("lm-SplitPanel-child"),this._releaseMouse()}onChildRemoved(e){e.child.removeClass("lm-SplitPanel-child"),this._releaseMouse()}_evtKeyDown(e){this._pressData&&(e.preventDefault(),e.stopPropagation()),27===e.keyCode&&this._releaseMouse()}_evtPointerDown(e){if(0!==e.button)return;let t,n=this.layout,i=m.Rw.findFirstIndex(n.handles,(t=>t.contains(e.target)));if(-1===i)return;e.preventDefault(),e.stopPropagation(),document.addEventListener("pointerup",this,!0),document.addEventListener("pointermove",this,!0),document.addEventListener("keydown",this,!0),document.addEventListener("contextmenu",this,!0);let r=n.handles[i],o=r.getBoundingClientRect();t="horizontal"===n.orientation?e.clientX-o.left:e.clientY-o.top;let s=window.getComputedStyle(r),a=H.overrideCursor(s.cursor);this._pressData={index:i,delta:t,override:a}}_evtPointerMove(e){let t;e.preventDefault(),e.stopPropagation();let n=this.layout,i=this.node.getBoundingClientRect();t="horizontal"===n.orientation?e.clientX-i.left-this._pressData.delta:e.clientY-i.top-this._pressData.delta,n.moveHandle(this._pressData.index,t)}_evtPointerUp(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse())}_releaseMouse(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._handleMoved.emit(),document.removeEventListener("keydown",this,!0),document.removeEventListener("pointerup",this,!0),document.removeEventListener("pointermove",this,!0),document.removeEventListener("contextmenu",this,!0))}}!function(e){class t{createHandle(){let e=document.createElement("div");return e.className="lm-SplitPanel-handle",e}}e.Renderer=t,e.defaultRenderer=new t,e.getStretch=function(e){return _e.getStretch(e)},e.setStretch=function(e,t){_e.setStretch(e,t)}}(xe||(xe={})),function(e){e.createLayout=function(e){return e.layout||new _e({renderer:e.renderer||xe.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing})}}(Ae||(Ae={}));class ke extends xe{constructor(e={}){super({...e,layout:me.createLayout(e)}),this._widgetSizesCache=new WeakMap,this._expansionToggled=new g.Signal(this),this.addClass("lm-AccordionPanel")}get renderer(){return this.layout.renderer}get titleSpace(){return this.layout.titleSpace}set titleSpace(e){this.layout.titleSpace=e}get titles(){return this.layout.titles}get expansionToggled(){return this._expansionToggled}addWidget(e){super.addWidget(e),e.title.changed.connect(this._onTitleChanged,this)}collapse(e){const t=this.layout.widgets[e];t&&!t.isHidden&&this._toggleExpansion(e)}expand(e){const t=this.layout.widgets[e];t&&t.isHidden&&this._toggleExpansion(e)}insertWidget(e,t){super.insertWidget(e,t),t.title.changed.connect(this._onTitleChanged,this)}handleEvent(e){switch(super.handleEvent(e),e.type){case"click":this._evtClick(e);break;case"keydown":this._eventKeyDown(e)}}onBeforeAttach(e){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),super.onBeforeAttach(e)}onAfterDetach(e){super.onAfterDetach(e),this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this)}_onTitleChanged(e){const t=m.Rw.findFirstIndex(this.widgets,(t=>t.contains(e.owner)));t>=0&&(this.layout.updateTitle(t,e.owner),this.update())}_computeWidgetSize(e){const t=this.layout,n=t.widgets[e];if(!n)return;const i=n.isHidden,r=t.absoluteSizes(),o=(i?-1:1)*this.spacing,s=r.reduce(((e,t)=>e+t));let a=[...r];if(i){const t=this._widgetSizesCache.get(n);if(!t)return;a[e]+=t;const i=a.map((e=>e-t>0)).lastIndexOf(!0);-1===i?a.forEach(((n,i)=>{i!==e&&(a[i]-=r[i]/s*(t-o))})):a[i]-=t-o}else{const t=r[e];this._widgetSizesCache.set(n,t),a[e]=0;const i=a.map((e=>e>0)).lastIndexOf(!0);if(-1===i)return;a[i]=r[i]+t+o}return a.map((e=>e/(s+o)))}_evtClick(e){const t=e.target;if(t){const n=m.Rw.findFirstIndex(this.titles,(e=>e.contains(t)));n>=0&&(e.preventDefault(),e.stopPropagation(),this._toggleExpansion(n))}}_eventKeyDown(e){if(e.defaultPrevented)return;const t=e.target;let n=!1;if(t){const i=m.Rw.findFirstIndex(this.titles,(e=>e.contains(t)));if(i>=0){const r=e.keyCode.toString();if(e.key.match(/Space|Enter/)||r.match(/13|32/))t.click(),n=!0;else if("horizontal"===this.orientation?e.key.match(/ArrowLeft|ArrowRight/)||r.match(/37|39/):e.key.match(/ArrowUp|ArrowDown/)||r.match(/38|40/)){const t=e.key.match(/ArrowLeft|ArrowUp/)||r.match(/37|38/)?-1:1,o=this.titles.length,s=(i+o+t)%o;this.titles[s].focus(),n=!0}else"End"===e.key||"35"===r?(this.titles[this.titles.length-1].focus(),n=!0):"Home"!==e.key&&"36"!==r||(this.titles[0].focus(),n=!0)}n&&e.preventDefault()}}_toggleExpansion(e){const t=this.titles[e],n=this.layout.widgets[e],i=this._computeWidgetSize(e);i&&this.setRelativeSizes(i,!1),n.isHidden?(t.classList.add("lm-mod-expanded"),t.setAttribute("aria-expanded","true"),n.show()):(t.classList.remove("lm-mod-expanded"),t.setAttribute("aria-expanded","false"),n.hide()),this._expansionToggled.emit(e)}}!function(e){class t extends xe.Renderer{constructor(){super(),this.titleClassName="lm-AccordionPanel-title",this._titleID=0,this._titleKeys=new WeakMap,this._uuid=++t._nInstance}createCollapseIcon(e){return document.createElement("span")}createSectionTitle(e){const t=document.createElement("h3");t.setAttribute("tabindex","0"),t.id=this.createTitleKey(e),t.className=this.titleClassName;for(const n in e.dataset)t.dataset[n]=e.dataset[n];t.appendChild(this.createCollapseIcon(e)).className="lm-AccordionPanel-titleCollapser";const n=t.appendChild(document.createElement("span"));return n.className="lm-AccordionPanel-titleLabel",n.textContent=e.label,n.title=e.caption||e.label,t}createTitleKey(e){let t=this._titleKeys.get(e);return void 0===t&&(t=`title-key-${this._uuid}-${this._titleID++}`,this._titleKeys.set(e,t)),t}}t._nInstance=0,e.Renderer=t,e.defaultRenderer=new t}(ke||(ke={})),function(e){e.createLayout=function(e){return e.layout||new Be({renderer:e.renderer||ke.defaultRenderer,orientation:e.orientation,alignment:e.alignment,spacing:e.spacing,titleSpace:e.titleSpace})}}(me||(me={}));class Te extends ue{constructor(e={}){super(),this._fixed=0,this._spacing=4,this._dirty=!1,this._sizers=[],this._items=[],this._box=null,this._alignment="start",this._direction="top-to-bottom",void 0!==e.direction&&(this._direction=e.direction),void 0!==e.alignment&&(this._alignment=e.alignment),void 0!==e.spacing&&(this._spacing=we.clampDimension(e.spacing))}dispose(){for(const e of this._items)e.dispose();this._box=null,this._items.length=0,this._sizers.length=0,super.dispose()}get direction(){return this._direction}set direction(e){this._direction!==e&&(this._direction=e,this.parent&&(this.parent.dataset.direction=e,this.parent.fit()))}get alignment(){return this._alignment}set alignment(e){this._alignment!==e&&(this._alignment=e,this.parent&&(this.parent.dataset.alignment=e,this.parent.update()))}get spacing(){return this._spacing}set spacing(e){e=we.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())}init(){this.parent.dataset.direction=this.direction,this.parent.dataset.alignment=this.alignment,super.init()}attachWidget(e,t){m.Rw.insert(this._items,e,new ce(t)),m.Rw.insert(this._sizers,e,new se),this.parent.isAttached&&S.sendMessage(t,le.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&S.sendMessage(t,le.Msg.AfterAttach),this.parent.fit()}moveWidget(e,t,n){m.Rw.move(this._items,e,t),m.Rw.move(this._sizers,e,t),this.parent.update()}detachWidget(e,t){let n=m.Rw.removeAt(this._items,e);m.Rw.removeAt(this._sizers,e),this.parent.isAttached&&S.sendMessage(t,le.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&S.sendMessage(t,le.Msg.AfterDetach),n.dispose(),this.parent.fit()}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}_fit(){let e=0;for(let t=0,n=this._items.length;t<n;++t)e+=+!this._items[t].isHidden;this._fixed=this._spacing*Math.max(0,e-1);let t=ge.isHorizontal(this._direction),n=t?this._fixed:0,i=t?0:this._fixed;for(let e=0,r=this._items.length;e<r;++e){let r=this._items[e],o=this._sizers[e];r.isHidden?(o.minSize=0,o.maxSize=0):(r.fit(),o.sizeHint=Te.getSizeBasis(r.widget),o.stretch=Te.getStretch(r.widget),t?(o.minSize=r.minWidth,o.maxSize=r.maxWidth,n+=r.minWidth,i=Math.max(i,r.minHeight)):(o.minSize=r.minHeight,o.maxSize=r.maxHeight,i+=r.minHeight,n=Math.max(n,r.minWidth)))}let r=this._box=x.boxSizing(this.parent.node);n+=r.horizontalSum,i+=r.verticalSum;let o=this.parent.node.style;o.minWidth=`${n}px`,o.minHeight=`${i}px`,this._dirty=!0,this.parent.parent&&S.sendMessage(this.parent.parent,le.Msg.FitRequest),this._dirty&&S.sendMessage(this.parent,le.Msg.UpdateRequest)}_update(e,t){this._dirty=!1;let n=0;for(let e=0,t=this._items.length;e<t;++e)n+=+!this._items[e].isHidden;if(0===n)return;e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=x.boxSizing(this.parent.node));let i,r=this._box.paddingTop,o=this._box.paddingLeft,s=e-this._box.horizontalSum,a=t-this._box.verticalSum;switch(this._direction){case"left-to-right":i=Z.calc(this._sizers,Math.max(0,s-this._fixed));break;case"top-to-bottom":i=Z.calc(this._sizers,Math.max(0,a-this._fixed));break;case"right-to-left":i=Z.calc(this._sizers,Math.max(0,s-this._fixed)),o+=s;break;case"bottom-to-top":i=Z.calc(this._sizers,Math.max(0,a-this._fixed)),r+=a;break;default:throw"unreachable"}let l=0,d=0;if(i>0)switch(this._alignment){case"start":break;case"center":l=0,d=i/2;break;case"end":l=0,d=i;break;case"justify":l=i/n,d=0;break;default:throw"unreachable"}for(let e=0,t=this._items.length;e<t;++e){let t=this._items[e];if(t.isHidden)continue;let n=this._sizers[e].size;switch(this._direction){case"left-to-right":t.update(o+d,r,n+l,a),o+=n+l+this._spacing;break;case"top-to-bottom":t.update(o,r+d,s,n+l),r+=n+l+this._spacing;break;case"right-to-left":t.update(o-d-n-l,r,n+l,a),o-=n+l+this._spacing;break;case"bottom-to-top":t.update(o,r-d-n-l,s,n+l),r-=n+l+this._spacing;break;default:throw"unreachable"}}}}!function(e){e.getStretch=function(e){return ge.stretchProperty.get(e)},e.setStretch=function(e,t){ge.stretchProperty.set(e,t)},e.getSizeBasis=function(e){return ge.sizeBasisProperty.get(e)},e.setSizeBasis=function(e,t){ge.sizeBasisProperty.set(e,t)}}(Te||(Te={})),function(e){function t(e){e.parent&&e.parent.layout instanceof Te&&e.parent.fit()}e.stretchProperty=new U.AttachedProperty({name:"stretch",create:()=>0,coerce:(e,t)=>Math.max(0,Math.floor(t)),changed:t}),e.sizeBasisProperty=new U.AttachedProperty({name:"sizeBasis",create:()=>0,coerce:(e,t)=>Math.max(0,Math.floor(t)),changed:t}),e.isHorizontal=function(e){return"left-to-right"===e||"right-to-left"===e},e.clampSpacing=function(e){return Math.max(0,Math.floor(e))}}(ge||(ge={}));class je extends Ee{constructor(e={}){super({layout:be.createLayout(e)}),this.addClass("lm-BoxPanel")}get direction(){return this.layout.direction}set direction(e){this.layout.direction=e}get alignment(){return this.layout.alignment}set alignment(e){this.layout.alignment=e}get spacing(){return this.layout.spacing}set spacing(e){this.layout.spacing=e}onChildAdded(e){e.child.addClass("lm-BoxPanel-child")}onChildRemoved(e){e.child.removeClass("lm-BoxPanel-child")}}!function(e){e.getStretch=function(e){return Te.getStretch(e)},e.setStretch=function(e,t){Te.setStretch(e,t)},e.getSizeBasis=function(e){return Te.getSizeBasis(e)},e.setSizeBasis=function(e,t){Te.setSizeBasis(e,t)}}(je||(je={})),function(e){e.createLayout=function(e){return e.layout||new Te(e)}}(be||(be={}));class De extends le{constructor(e){super({node:ve.createNode()}),this._activeIndex=-1,this._items=[],this._results=null,this.addClass("lm-CommandPalette"),this.setFlag(le.Flag.DisallowLayout),this.commands=e.commands,this.renderer=e.renderer||De.defaultRenderer,this.commands.commandChanged.connect(this._onGenericChange,this),this.commands.keyBindingChanged.connect(this._onGenericChange,this)}dispose(){this._items.length=0,this._results=null,super.dispose()}get searchNode(){return this.node.getElementsByClassName("lm-CommandPalette-search")[0]}get inputNode(){return this.node.getElementsByClassName("lm-CommandPalette-input")[0]}get contentNode(){return this.node.getElementsByClassName("lm-CommandPalette-content")[0]}get items(){return this._items}addItem(e){let t=ve.createItem(this.commands,e);return this._items.push(t),this.refresh(),t}addItems(e){const t=e.map((e=>ve.createItem(this.commands,e)));return t.forEach((e=>this._items.push(e))),this.refresh(),t}removeItem(e){this.removeItemAt(this._items.indexOf(e))}removeItemAt(e){m.Rw.removeAt(this._items,e)&&this.refresh()}clearItems(){0!==this._items.length&&(this._items.length=0,this.refresh())}refresh(){this._results=null,""!==this.inputNode.value?this.node.getElementsByClassName("lm-close-icon")[0].style.display="inherit":this.node.getElementsByClassName("lm-close-icon")[0].style.display="none",this.update()}handleEvent(e){switch(e.type){case"click":this._evtClick(e);break;case"keydown":this._evtKeyDown(e);break;case"input":this.refresh();break;case"focus":case"blur":this._toggleFocused()}}onBeforeAttach(e){this.node.addEventListener("click",this),this.node.addEventListener("keydown",this),this.node.addEventListener("input",this),this.node.addEventListener("focus",this,!0),this.node.addEventListener("blur",this,!0)}onAfterDetach(e){this.node.removeEventListener("click",this),this.node.removeEventListener("keydown",this),this.node.removeEventListener("input",this),this.node.removeEventListener("focus",this,!0),this.node.removeEventListener("blur",this,!0)}onAfterShow(e){this.update(),super.onAfterShow(e)}onActivateRequest(e){if(this.isAttached){let e=this.inputNode;e.focus(),e.select()}}onUpdateRequest(e){if(this.isHidden)return;let t=this.inputNode.value,n=this.contentNode,i=this._results;if(i||(i=this._results=ve.search(this._items,t),this._activeIndex=t?m.Rw.findFirstIndex(i,ve.canActivate):-1),!t&&0===i.length)return void J.render(null,n);if(t&&0===i.length){let e=this.renderer.renderEmptyMessage({query:t});return void J.render(e,n)}let r=this.renderer,o=this._activeIndex,s=new Array(i.length);for(let e=0,t=i.length;e<t;++e){let t=i[e];if("header"===t.type){let n=t.indices,i=t.category;s[e]=r.renderHeader({category:i,indices:n})}else{let n=t.item,i=t.indices,a=e===o;s[e]=r.renderItem({item:n,indices:i,active:a})}}if(J.render(s,n),o<0||o>=i.length)n.scrollTop=0;else{let e=n.children[o];x.scrollIntoViewIfNeeded(n,e)}}_evtClick(e){if(0!==e.button)return;if(e.target.classList.contains("lm-close-icon"))return this.inputNode.value="",void this.refresh();let t=m.Rw.findFirstIndex(this.contentNode.children,(t=>t.contains(e.target)));-1!==t&&(e.preventDefault(),e.stopPropagation(),this._execute(t))}_evtKeyDown(e){if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey))switch(e.keyCode){case 13:e.preventDefault(),e.stopPropagation(),this._execute(this._activeIndex);break;case 38:e.preventDefault(),e.stopPropagation(),this._activatePreviousItem();break;case 40:e.preventDefault(),e.stopPropagation(),this._activateNextItem()}}_activateNextItem(){if(!this._results||0===this._results.length)return;let e=this._activeIndex,t=this._results.length,n=e<t-1?e+1:0,i=0===n?t-1:n-1;this._activeIndex=m.Rw.findFirstIndex(this._results,ve.canActivate,n,i),this.update()}_activatePreviousItem(){if(!this._results||0===this._results.length)return;let e=this._activeIndex,t=this._results.length,n=e<=0?t-1:e-1,i=n===t-1?0:n+1;this._activeIndex=m.Rw.findLastIndex(this._results,ve.canActivate,n,i),this.update()}_execute(e){if(!this._results)return;let t=this._results[e];if(t){if("header"===t.type){let e=this.inputNode;return e.value=`${t.category.toLowerCase()} `,e.focus(),void this.refresh()}t.item.isEnabled&&(this.commands.execute(t.item.command,t.item.args),this.inputNode.value="",this.refresh())}}_toggleFocused(){let e=document.activeElement===this.inputNode;this.toggleClass("lm-mod-focused",e)}_onGenericChange(){this.refresh()}}!function(e){class t{renderHeader(e){let t=this.formatHeader(e);return oe.li({className:"lm-CommandPalette-header"},t)}renderItem(e){let t=this.createItemClass(e),n=this.createItemDataset(e);return e.item.isToggleable?oe.li({className:t,dataset:n,role:"menuitemcheckbox","aria-checked":`${e.item.isToggled}`},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e)):oe.li({className:t,dataset:n,role:"menuitem"},this.renderItemIcon(e),this.renderItemContent(e),this.renderItemShortcut(e))}renderEmptyMessage(e){let t=this.formatEmptyMessage(e);return oe.li({className:"lm-CommandPalette-emptyMessage"},t)}renderItemIcon(e){let t=this.createIconClass(e);return oe.div({className:t},e.item.icon,e.item.iconLabel)}renderItemContent(e){return oe.div({className:"lm-CommandPalette-itemContent"},this.renderItemLabel(e),this.renderItemCaption(e))}renderItemLabel(e){let t=this.formatItemLabel(e);return oe.div({className:"lm-CommandPalette-itemLabel"},t)}renderItemCaption(e){let t=this.formatItemCaption(e);return oe.div({className:"lm-CommandPalette-itemCaption"},t)}renderItemShortcut(e){let t=this.formatItemShortcut(e);return oe.div({className:"lm-CommandPalette-itemShortcut"},t)}createItemClass(e){let t="lm-CommandPalette-item";e.item.isEnabled||(t+=" lm-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled"),e.active&&(t+=" lm-mod-active");let n=e.item.className;return n&&(t+=` ${n}`),t}createItemDataset(e){return{...e.item.dataset,command:e.item.command}}createIconClass(e){let t="lm-CommandPalette-itemIcon",n=e.item.iconClass;return n?`${t} ${n}`:t}formatHeader(e){return e.indices&&0!==e.indices.length?m.fY.highlight(e.category,e.indices,oe.mark):e.category}formatEmptyMessage(e){return`No commands found that match '${e.query}'`}formatItemShortcut(e){let t=e.item.keyBinding;return t?ne.formatKeystroke(t.keys):null}formatItemLabel(e){return e.indices&&0!==e.indices.length?m.fY.highlight(e.item.label,e.indices,oe.mark):e.item.label}formatItemCaption(e){return e.item.caption}}e.Renderer=t,e.defaultRenderer=new t}(De||(De={})),function(e){function t(e,t){let n=e.category.toLowerCase(),i=`${n} ${e.label.toLowerCase()}`,r=1/0,o=null,s=/\b\w/g;for(;;){let e=s.exec(i);if(!e)break;let n=m.fY.matchSumOfDeltas(i,t,e.index);if(!n)break;n.score<=r&&(r=n.score,o=n.indices)}if(!o||r===1/0)return null;let a=n.length+1,l=m.Rw.lowerBound(o,a,((e,t)=>e-t)),d=o.slice(0,l),c=o.slice(l);for(let e=0,t=c.length;e<t;++e)c[e]-=a;return 0===d.length?{matchType:0,categoryIndices:null,labelIndices:c,score:r,item:e}:0===c.length?{matchType:1,categoryIndices:d,labelIndices:null,score:r,item:e}:{matchType:2,categoryIndices:d,labelIndices:c,score:r,item:e}}function n(e,t){let n=e.matchType-t.matchType;if(0!==n)return n;let i=e.score-t.score;if(0!==i)return i;let r=0,o=0;switch(e.matchType){case 0:r=e.labelIndices[0],o=t.labelIndices[0];break;case 1:case 2:r=e.categoryIndices[0],o=t.categoryIndices[0]}if(r!==o)return r-o;let s=e.item.category.localeCompare(t.item.category);if(0!==s)return s;let a=e.item.rank,l=t.item.rank;return a!==l?a<l?-1:1:e.item.label.localeCompare(t.item.label)}e.createNode=function(){let e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("input"),r=document.createElement("ul"),o=document.createElement("button");return t.className="lm-CommandPalette-search",n.className="lm-CommandPalette-wrapper",i.className="lm-CommandPalette-input",o.className="lm-close-icon",r.className="lm-CommandPalette-content",r.setAttribute("role","menu"),i.spellcheck=!1,n.appendChild(i),n.appendChild(o),t.appendChild(n),e.appendChild(t),e.appendChild(r),e},e.createItem=function(e,t){return new i(e,t)},e.search=function(e,i){let r=function(e,n){n=n.replace(/\s+/g,"").toLowerCase();let i=[];for(let r=0,o=e.length;r<o;++r){let o=e[r];if(!o.isVisible)continue;if(!n){i.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:o});continue}let s=t(o,n);s&&(o.isEnabled||(s.score+=1e3),i.push(s))}return i}(e,i);return r.sort(n),function(e){let t=new Array(e.length);m.Rw.fill(t,!1);let n=[];for(let i=0,r=e.length;i<r;++i){if(t[i])continue;let{item:o,categoryIndices:s}=e[i],a=o.category;n.push({type:"header",category:a,indices:s});for(let o=i;o<r;++o){if(t[o])continue;let{item:i,labelIndices:r}=e[o];i.category===a&&(n.push({type:"item",item:i,indices:r}),t[o]=!0)}}return n}(r)},e.canActivate=function(e){return"item"===e.type&&e.item.isEnabled};class i{constructor(e,t){this._commands=e,this.category=t.category.trim().replace(/\s+/g," "),this.command=t.command,this.args=t.args||s.JSONExt.emptyObject,this.rank=void 0!==t.rank?t.rank:1/0}get label(){return this._commands.label(this.command,this.args)}get icon(){return this._commands.icon(this.command,this.args)}get iconClass(){return this._commands.iconClass(this.command,this.args)}get iconLabel(){return this._commands.iconLabel(this.command,this.args)}get caption(){return this._commands.caption(this.command,this.args)}get className(){return this._commands.className(this.command,this.args)}get dataset(){return this._commands.dataset(this.command,this.args)}get isEnabled(){return this._commands.isEnabled(this.command,this.args)}get isToggled(){return this._commands.isToggled(this.command,this.args)}get isToggleable(){return this._commands.isToggleable(this.command,this.args)}get isVisible(){return this._commands.isVisible(this.command,this.args)}get keyBinding(){let{command:e,args:t}=this;return m.Rw.findLastValue(this._commands.keyBindings,(n=>n.command===e&&s.JSONExt.deepEqual(n.args,t)))||null}}}(ve||(ve={}));class Se extends le{constructor(e){super({node:Ce.createNode()}),this._childIndex=-1,this._activeIndex=-1,this._openTimerID=0,this._closeTimerID=0,this._items=[],this._childMenu=null,this._parentMenu=null,this._aboutToClose=new g.Signal(this),this._menuRequested=new g.Signal(this),this.addClass("lm-Menu"),this.setFlag(le.Flag.DisallowLayout),this.commands=e.commands,this.renderer=e.renderer||Se.defaultRenderer}dispose(){this.close(),this._items.length=0,super.dispose()}get aboutToClose(){return this._aboutToClose}get menuRequested(){return this._menuRequested}get parentMenu(){return this._parentMenu}get childMenu(){return this._childMenu}get rootMenu(){let e=this;for(;e._parentMenu;)e=e._parentMenu;return e}get leafMenu(){let e=this;for(;e._childMenu;)e=e._childMenu;return e}get contentNode(){return this.node.getElementsByClassName("lm-Menu-content")[0]}get activeItem(){return this._items[this._activeIndex]||null}set activeItem(e){this.activeIndex=e?this._items.indexOf(e):-1}get activeIndex(){return this._activeIndex}set activeIndex(e){(e<0||e>=this._items.length)&&(e=-1),-1===e||Ce.canActivate(this._items[e])||(e=-1),this._activeIndex!==e&&(this._activeIndex=e,this._activeIndex>=0&&this.contentNode.childNodes[this._activeIndex]&&this.contentNode.childNodes[this._activeIndex].focus(),this.update())}get items(){return this._items}activateNextItem(){let e=this._items.length,t=this._activeIndex,n=t<e-1?t+1:0,i=0===n?e-1:n-1;this.activeIndex=m.Rw.findFirstIndex(this._items,Ce.canActivate,n,i)}activatePreviousItem(){let e=this._items.length,t=this._activeIndex,n=t<=0?e-1:t-1,i=n===e-1?0:n+1;this.activeIndex=m.Rw.findLastIndex(this._items,Ce.canActivate,n,i)}triggerActiveItem(){if(!this.isAttached)return;let e=this.activeItem;if(!e)return;if(this._cancelOpenTimer(),this._cancelCloseTimer(),"submenu"===e.type)return void this._openChildMenu(!0);this.rootMenu.close();let{command:t,args:n}=e;this.commands.isEnabled(t,n)?this.commands.execute(t,n):console.log(`Command '${t}' is disabled.`)}addItem(e){return this.insertItem(this._items.length,e)}insertItem(e,t){this.isAttached&&this.close(),this.activeIndex=-1;let n=Math.max(0,Math.min(e,this._items.length)),i=Ce.createItem(this,t);return m.Rw.insert(this._items,n,i),this.update(),i}removeItem(e){this.removeItemAt(this._items.indexOf(e))}removeItemAt(e){this.isAttached&&this.close(),this.activeIndex=-1,m.Rw.removeAt(this._items,e)&&this.update()}clearItems(){this.isAttached&&this.close(),this.activeIndex=-1,0!==this._items.length&&(this._items.length=0,this.update())}open(e,t,n={}){if(this.isAttached)return;let i=n.forceX||!1,r=n.forceY||!1;Ce.openRootMenu(this,e,t,i,r),this.activate()}handleEvent(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mouseup":this._evtMouseUp(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseenter":this._evtMouseEnter(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"mousedown":this._evtMouseDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mouseup",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("mouseenter",this),this.node.addEventListener("mouseleave",this),this.node.addEventListener("contextmenu",this),document.addEventListener("mousedown",this,!0)}onAfterDetach(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mouseup",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("mouseenter",this),this.node.removeEventListener("mouseleave",this),this.node.removeEventListener("contextmenu",this),document.removeEventListener("mousedown",this,!0)}onActivateRequest(e){this.isAttached&&this.node.focus()}onUpdateRequest(e){let t=this._items,n=this.renderer,i=this._activeIndex,r=Ce.computeCollapsed(t),o=new Array(t.length);for(let e=0,s=t.length;e<s;++e){let s=t[e],a=e===i,l=r[e];o[e]=n.renderItem({item:s,active:a,collapsed:l,onfocus:()=>{this.activeIndex=e}})}J.render(o,this.contentNode)}onCloseRequest(e){this._cancelOpenTimer(),this._cancelCloseTimer(),this.activeIndex=-1;let t=this._childMenu;t&&(this._childIndex=-1,this._childMenu=null,t._parentMenu=null,t.close());let n=this._parentMenu;n&&(this._parentMenu=null,n._childIndex=-1,n._childMenu=null,n.activate()),this.isAttached&&this._aboutToClose.emit(void 0),super.onCloseRequest(e)}_evtKeyDown(e){e.preventDefault(),e.stopPropagation();let t=e.keyCode;if(13===t)return void this.triggerActiveItem();if(27===t)return void this.close();if(37===t)return void(this._parentMenu?this.close():this._menuRequested.emit("previous"));if(38===t)return void this.activatePreviousItem();if(39===t){let e=this.activeItem;return void(e&&"submenu"===e.type?this.triggerActiveItem():this.rootMenu._menuRequested.emit("next"))}if(40===t)return void this.activateNextItem();let n=W().keyForKeydownEvent(e);if(!n)return;let i=this._activeIndex+1,r=Ce.findMnemonic(this._items,n,i);-1===r.index||r.multiple?-1!==r.index?this.activeIndex=r.index:-1!==r.auto&&(this.activeIndex=r.auto):(this.activeIndex=r.index,this.triggerActiveItem())}_evtMouseUp(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this.triggerActiveItem())}_evtMouseMove(e){let t=m.Rw.findFirstIndex(this.contentNode.children,(t=>x.hitTest(t,e.clientX,e.clientY)));if(t===this._activeIndex)return;if(this.activeIndex=t,t=this.activeIndex,t===this._childIndex)return this._cancelOpenTimer(),void this._cancelCloseTimer();-1!==this._childIndex&&this._startCloseTimer(),this._cancelOpenTimer();let n=this.activeItem;n&&"submenu"===n.type&&n.submenu&&this._startOpenTimer()}_evtMouseEnter(e){for(let e=this._parentMenu;e;e=e._parentMenu)e._cancelOpenTimer(),e._cancelCloseTimer(),e.activeIndex=e._childIndex}_evtMouseLeave(e){if(this._cancelOpenTimer(),!this._childMenu)return void(this.activeIndex=-1);let{clientX:t,clientY:n}=e;x.hitTest(this._childMenu.node,t,n)?this._cancelCloseTimer():(this.activeIndex=-1,this._startCloseTimer())}_evtMouseDown(e){this._parentMenu||(Ce.hitTestMenus(this,e.clientX,e.clientY)?(e.preventDefault(),e.stopPropagation()):this.close())}_openChildMenu(e=!1){let t=this.activeItem;if(!t||"submenu"!==t.type||!t.submenu)return void this._closeChildMenu();let n=t.submenu;if(n===this._childMenu)return;Se.saveWindowData(),this._closeChildMenu(),this._childMenu=n,this._childIndex=this._activeIndex,n._parentMenu=this,S.sendMessage(this,le.Msg.UpdateRequest);let i=this.contentNode.children[this._activeIndex];Ce.openSubmenu(n,i),e&&(n.activeIndex=-1,n.activateNextItem()),n.activate()}_closeChildMenu(){this._childMenu&&this._childMenu.close()}_startOpenTimer(){0===this._openTimerID&&(this._openTimerID=window.setTimeout((()=>{this._openTimerID=0,this._openChildMenu()}),Ce.TIMER_DELAY))}_startCloseTimer(){0===this._closeTimerID&&(this._closeTimerID=window.setTimeout((()=>{this._closeTimerID=0,this._closeChildMenu()}),Ce.TIMER_DELAY))}_cancelOpenTimer(){0!==this._openTimerID&&(clearTimeout(this._openTimerID),this._openTimerID=0)}_cancelCloseTimer(){0!==this._closeTimerID&&(clearTimeout(this._closeTimerID),this._closeTimerID=0)}static saveWindowData(){Ce.saveWindowData()}}!function(e){class t{renderItem(e){let t=this.createItemClass(e),n=this.createItemDataset(e),i=this.createItemARIA(e);return oe.li({className:t,dataset:n,tabindex:"0",onfocus:e.onfocus,...i},this.renderIcon(e),this.renderLabel(e),this.renderShortcut(e),this.renderSubmenu(e))}renderIcon(e){let t=this.createIconClass(e);return oe.div({className:t},e.item.icon,e.item.iconLabel)}renderLabel(e){let t=this.formatLabel(e);return oe.div({className:"lm-Menu-itemLabel"},t)}renderShortcut(e){let t=this.formatShortcut(e);return oe.div({className:"lm-Menu-itemShortcut"},t)}renderSubmenu(e){return oe.div({className:"lm-Menu-itemSubmenuIcon"})}createItemClass(e){let t="lm-Menu-item";e.item.isEnabled||(t+=" lm-mod-disabled"),e.item.isToggled&&(t+=" lm-mod-toggled"),e.item.isVisible||(t+=" lm-mod-hidden"),e.active&&(t+=" lm-mod-active"),e.collapsed&&(t+=" lm-mod-collapsed");let n=e.item.className;return n&&(t+=` ${n}`),t}createItemDataset(e){let t,{type:n,command:i,dataset:r}=e.item;return t="command"===n?{...r,type:n,command:i}:{...r,type:n},t}createIconClass(e){let t="lm-Menu-itemIcon",n=e.item.iconClass;return n?`${t} ${n}`:t}createItemARIA(e){let t={};switch(e.item.type){case"separator":t.role="presentation";break;case"submenu":t["aria-haspopup"]="true",e.item.isEnabled||(t["aria-disabled"]="true");break;default:e.item.isEnabled||(t["aria-disabled"]="true"),t.role="menuitem"}return t}formatLabel(e){let{label:t,mnemonic:n}=e.item;if(n<0||n>=t.length)return t;let i=t.slice(0,n),r=t.slice(n+1),o=t[n];return[i,oe.span({className:"lm-Menu-itemMnemonic"},o),r]}formatShortcut(e){let t=e.item.keyBinding;return t?ne.formatKeystroke(t.keys):null}}e.Renderer=t,e.defaultRenderer=new t}(Se||(Se={})),function(e){e.TIMER_DELAY=300,e.SUBMENU_OVERLAP=3;let t=null,n=0;function i(){return n>0?(n--,t):o()}function r(e){return"separator"!==e.type&&e.isEnabled&&e.isVisible}function o(){return{pageXOffset:window.pageXOffset,pageYOffset:window.pageYOffset,clientWidth:document.documentElement.clientWidth,clientHeight:document.documentElement.clientHeight}}e.saveWindowData=function(){t=o(),n++},e.createNode=function(){let e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-Menu-content",e.appendChild(t),t.setAttribute("role","menu"),e.tabIndex=0,e},e.canActivate=r,e.createItem=function(e,t){return new a(e.commands,t)},e.hitTestMenus=function(e,t,n){for(let i=e;i;i=i.childMenu)if(x.hitTest(i.node,t,n))return!0;return!1},e.computeCollapsed=function(e){let t=new Array(e.length);m.Rw.fill(t,!1);let n=0,i=e.length;for(;n<i;++n){let i=e[n];if(i.isVisible){if("separator"!==i.type)break;t[n]=!0}}let r=i-1;for(;r>=0;--r){let n=e[r];if(n.isVisible){if("separator"!==n.type)break;t[r]=!0}}let o=!1;for(;++n<r;){let i=e[n];i.isVisible&&("separator"!==i.type?o=!1:o?t[n]=!0:o=!0)}return t},e.openRootMenu=function(e,t,n,r,o){const s=i();let a=s.pageXOffset,l=s.pageYOffset,d=s.clientWidth,c=s.clientHeight;S.sendMessage(e,le.Msg.UpdateRequest);let u=c-(o?n:0),h=e.node,f=h.style;f.opacity="0",f.maxHeight=`${u}px`,le.attach(e,document.body);let{width:p,height:A}=h.getBoundingClientRect();!r&&t+p>a+d&&(t=a+d-p),!o&&n+A>l+c&&(n>l+c?n=l+c-A:n-=A),f.transform=`translate(${Math.max(0,t)}px, ${Math.max(0,n)}px`,f.opacity="1"},e.openSubmenu=function(t,n){const r=i();let o=r.pageXOffset,s=r.pageYOffset,a=r.clientWidth,l=r.clientHeight;S.sendMessage(t,le.Msg.UpdateRequest);let d=l,c=t.node,u=c.style;u.opacity="0",u.maxHeight=`${d}px`,le.attach(t,document.body);let{width:h,height:f}=c.getBoundingClientRect(),p=x.boxSizing(t.node),A=n.getBoundingClientRect(),m=A.right-e.SUBMENU_OVERLAP;m+h>o+a&&(m=A.left+e.SUBMENU_OVERLAP-h);let g=A.top-p.borderTop-p.paddingTop;g+f>s+l&&(g=A.bottom+p.borderBottom+p.paddingBottom-f),u.transform=`translate(${Math.max(0,m)}px, ${Math.max(0,g)}px`,u.opacity="1"},e.findMnemonic=function(e,t,n){let i=-1,o=-1,s=!1,a=t.toUpperCase();for(let t=0,l=e.length;t<l;++t){let d=(t+n)%l,c=e[d];if(!r(c))continue;let u=c.label;if(0===u.length)continue;let h=c.mnemonic;h>=0&&h<u.length?u[h].toUpperCase()===a&&(-1===i?i=d:s=!0):-1===o&&u[0].toUpperCase()===a&&(o=d)}return{index:i,multiple:s,auto:o}};class a{constructor(e,t){this._commands=e,this.type=t.type||"command",this.command=t.command||"",this.args=t.args||s.JSONExt.emptyObject,this.submenu=t.submenu||null}get label(){return"command"===this.type?this._commands.label(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.label:""}get mnemonic(){return"command"===this.type?this._commands.mnemonic(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.mnemonic:-1}get icon(){return"command"===this.type?this._commands.icon(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.icon:void 0}get iconClass(){return"command"===this.type?this._commands.iconClass(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconClass:""}get iconLabel(){return"command"===this.type?this._commands.iconLabel(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.iconLabel:""}get caption(){return"command"===this.type?this._commands.caption(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.caption:""}get className(){return"command"===this.type?this._commands.className(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.className:""}get dataset(){return"command"===this.type?this._commands.dataset(this.command,this.args):"submenu"===this.type&&this.submenu?this.submenu.title.dataset:{}}get isEnabled(){return"command"===this.type?this._commands.isEnabled(this.command,this.args):"submenu"!==this.type||null!==this.submenu}get isToggled(){return"command"===this.type&&this._commands.isToggled(this.command,this.args)}get isVisible(){return"command"===this.type?this._commands.isVisible(this.command,this.args):"submenu"!==this.type||null!==this.submenu}get keyBinding(){if("command"===this.type){let{command:e,args:t}=this;return m.Rw.findLastValue(this._commands.keyBindings,(n=>n.command===e&&s.JSONExt.deepEqual(n.args,t)))||null}return null}}}(Ce||(Ce={})),function(e){function t(e,t){let n=e.rank,i=t.rank;return n!==i?n<i?-1:1:e.id-t.id}function n(e,n){let i=T.calculateSpecificity(e.selector),r=T.calculateSpecificity(n.selector);return i!==r?r-i:t(e,n)}e.createItem=function(e,t){let n=function(e){if(-1!==e.indexOf(","))throw new Error(`Selector cannot contain commas: ${e}`);if(!T.isValid(e))throw new Error(`Invalid selector: ${e}`);return e}(e.selector),i=void 0!==e.rank?e.rank:1/0;return{...e,selector:n,rank:i,id:t}},e.matchItems=function(e,i,r,o){let s=i.target;if(!s)return null;let a=i.currentTarget;if(!a)return null;if(!a.contains(s)&&(s=document.elementFromPoint(i.clientX,i.clientY),!s||!a.contains(s)))return null;let l=[],d=e.slice();for(;null!==s;){let e=[];for(let t=0,n=d.length;t<n;++t){let n=d[t];n&&T.matches(s,n.selector)&&(e.push(n),d[t]=null)}if(0!==e.length&&(r&&e.sort(o?n:t),l.push(...e)),s===a)break;s=s.parentElement}return r||l.sort(o?n:t),l}}(ye||(ye={}));const Ie=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Home","End"];class Me extends le{constructor(e={}){super({node:Pe.createNode()}),this._currentIndex=-1,this._titles=[],this._titlesEditable=!1,this._previousTitle=null,this._dragData=null,this._addButtonEnabled=!1,this._tabMoved=new g.Signal(this),this._currentChanged=new g.Signal(this),this._addRequested=new g.Signal(this),this._tabCloseRequested=new g.Signal(this),this._tabDetachRequested=new g.Signal(this),this._tabActivateRequested=new g.Signal(this),this.addClass("lm-TabBar"),this.contentNode.setAttribute("role","tablist"),this.setFlag(le.Flag.DisallowLayout),this._document=e.document||document,this.tabsMovable=e.tabsMovable||!1,this.titlesEditable=e.titlesEditable||!1,this.allowDeselect=e.allowDeselect||!1,this.addButtonEnabled=e.addButtonEnabled||!1,this.insertBehavior=e.insertBehavior||"select-tab-if-needed",this.name=e.name||"",this.orientation=e.orientation||"horizontal",this.removeBehavior=e.removeBehavior||"select-tab-after",this.renderer=e.renderer||Me.defaultRenderer}dispose(){this._releaseMouse(),this._titles.length=0,this._previousTitle=null,super.dispose()}get currentChanged(){return this._currentChanged}get tabMoved(){return this._tabMoved}get tabActivateRequested(){return this._tabActivateRequested}get addRequested(){return this._addRequested}get tabCloseRequested(){return this._tabCloseRequested}get tabDetachRequested(){return this._tabDetachRequested}get document(){return this._document}get titlesEditable(){return this._titlesEditable}set titlesEditable(e){this._titlesEditable=e}get currentTitle(){return this._titles[this._currentIndex]||null}set currentTitle(e){this.currentIndex=e?this._titles.indexOf(e):-1}get currentIndex(){return this._currentIndex}set currentIndex(e){if((e<0||e>=this._titles.length)&&(e=-1),this._currentIndex===e)return;let t=this._currentIndex,n=this._titles[t]||null,i=e,r=this._titles[i]||null;this._currentIndex=i,this._previousTitle=n,this.update(),this._currentChanged.emit({previousIndex:t,previousTitle:n,currentIndex:i,currentTitle:r})}get name(){return this._name}set name(e){this._name=e,e?this.contentNode.setAttribute("aria-label",e):this.contentNode.removeAttribute("aria-label")}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._releaseMouse(),this._orientation=e,this.dataset.orientation=e,this.contentNode.setAttribute("aria-orientation",e))}get addButtonEnabled(){return this._addButtonEnabled}set addButtonEnabled(e){this._addButtonEnabled!==e&&(this._addButtonEnabled=e,e?this.addButtonNode.classList.remove("lm-mod-hidden"):this.addButtonNode.classList.add("lm-mod-hidden"))}get titles(){return this._titles}get contentNode(){return this.node.getElementsByClassName("lm-TabBar-content")[0]}get addButtonNode(){return this.node.getElementsByClassName("lm-TabBar-addButton")[0]}addTab(e){return this.insertTab(this._titles.length,e)}insertTab(e,t){this._releaseMouse();let n=Pe.asTitle(t),i=this._titles.indexOf(n),r=Math.max(0,Math.min(e,this._titles.length));return-1===i?(m.Rw.insert(this._titles,r,n),n.changed.connect(this._onTitleChanged,this),this.update(),this._adjustCurrentForInsert(r,n),n):(r===this._titles.length&&r--,i===r||(m.Rw.move(this._titles,i,r),this.update(),this._adjustCurrentForMove(i,r)),n)}removeTab(e){this.removeTabAt(this._titles.indexOf(e))}removeTabAt(e){this._releaseMouse();let t=m.Rw.removeAt(this._titles,e);t&&(t.changed.disconnect(this._onTitleChanged,this),t===this._previousTitle&&(this._previousTitle=null),this.update(),this._adjustCurrentForRemove(e,t))}clearTabs(){if(0===this._titles.length)return;this._releaseMouse();for(let e of this._titles)e.changed.disconnect(this._onTitleChanged,this);let e=this.currentIndex,t=this.currentTitle;this._currentIndex=-1,this._previousTitle=null,this._titles.length=0,this.update(),-1!==e&&this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null})}releaseMouse(){this._releaseMouse()}handleEvent(e){switch(e.type){case"pointerdown":this._evtPointerDown(e);break;case"pointermove":this._evtPointerMove(e);break;case"pointerup":this._evtPointerUp(e);break;case"dblclick":this._evtDblClick(e);break;case"keydown":e.eventPhase===Event.CAPTURING_PHASE?this._evtKeyDownCapturing(e):this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("pointerdown",this),this.node.addEventListener("dblclick",this),this.node.addEventListener("keydown",this)}onAfterDetach(e){this.node.removeEventListener("pointerdown",this),this.node.removeEventListener("dblclick",this),this.node.removeEventListener("keydown",this),this._releaseMouse()}onUpdateRequest(e){var t;let n=this._titles,i=this.renderer,r=this.currentTitle,o=new Array(n.length);const s=null!==(t=this._getCurrentTabindex())&&void 0!==t?t:this._currentIndex>-1?this._currentIndex:0;for(let e=0,t=n.length;e<t;++e){let a=n[e],l=a===r,d=l?t:t-e-1,c=s===e?0:-1;o[e]=i.renderTab({title:a,current:l,zIndex:d,tabIndex:c})}J.render(o,this.contentNode)}_getCurrentTabindex(){let e=null;const t=this.contentNode.querySelector('li[tabindex="0"]');return t?e=[...this.contentNode.children].indexOf(t):this._addButtonEnabled&&"0"===this.addButtonNode.getAttribute("tabindex")&&(e=-1),e}_evtDblClick(e){if(!this.titlesEditable)return;let t=this.contentNode.children,n=m.Rw.findFirstIndex(t,(t=>x.hitTest(t,e.clientX,e.clientY)));if(-1===n)return;let i=this.titles[n],r=t[n].querySelector(".lm-TabBar-tabLabel");if(r&&r.contains(e.target)){let e=i.label||"",t=r.innerHTML;r.innerHTML="";let n=document.createElement("input");n.classList.add("lm-TabBar-tabInput"),n.value=e,r.appendChild(n);let o=()=>{n.removeEventListener("blur",o),r.innerHTML=t,this.node.addEventListener("keydown",this)};n.addEventListener("dblclick",(e=>e.stopPropagation())),n.addEventListener("blur",o),n.addEventListener("keydown",(e=>{"Enter"===e.key?(""!==n.value&&(i.label=i.caption=n.value),o()):"Escape"===e.key&&o()})),this.node.removeEventListener("keydown",this),n.select(),n.focus(),r.children.length>0&&r.children[0].focus()}}_evtKeyDownCapturing(e){e.eventPhase===Event.CAPTURING_PHASE&&(e.preventDefault(),e.stopPropagation(),"Escape"===e.key&&this._releaseMouse())}_evtKeyDown(e){var t,n,i;if("Tab"!==e.key&&e.eventPhase!==Event.CAPTURING_PHASE)if("Enter"===e.key||"Spacebar"===e.key||" "===e.key){const t=document.activeElement;if(this.addButtonEnabled&&this.addButtonNode.contains(t))e.preventDefault(),e.stopPropagation(),this._addRequested.emit();else{const n=m.Rw.findFirstIndex(this.contentNode.children,(e=>e.contains(t)));n>=0&&(e.preventDefault(),e.stopPropagation(),this.currentIndex=n)}}else if(Ie.includes(e.key)){const r=[...this.contentNode.children];if(this.addButtonEnabled&&r.push(this.addButtonNode),r.length<=1)return;e.preventDefault(),e.stopPropagation();let o,s=r.indexOf(document.activeElement);-1===s&&(s=this._currentIndex),"ArrowRight"===e.key&&"horizontal"===this._orientation||"ArrowDown"===e.key&&"vertical"===this._orientation?o=null!==(t=r[s+1])&&void 0!==t?t:r[0]:"ArrowLeft"===e.key&&"horizontal"===this._orientation||"ArrowUp"===e.key&&"vertical"===this._orientation?o=null!==(n=r[s-1])&&void 0!==n?n:r[r.length-1]:"Home"===e.key?o=r[0]:"End"===e.key&&(o=r[r.length-1]),o&&(null===(i=r[s])||void 0===i||i.setAttribute("tabindex","-1"),null==o||o.setAttribute("tabindex","0"),o.focus())}}_evtPointerDown(e){if(0!==e.button&&1!==e.button)return;if(this._dragData)return;if(e.target.classList.contains("lm-TabBar-tabInput"))return;let t=this.addButtonEnabled&&this.addButtonNode.contains(e.target),n=this.contentNode.children,i=m.Rw.findFirstIndex(n,(t=>x.hitTest(t,e.clientX,e.clientY)));if(-1===i&&!t)return;if(e.preventDefault(),e.stopPropagation(),this._dragData={tab:n[i],index:i,pressX:e.clientX,pressY:e.clientY,tabPos:-1,tabSize:-1,tabPressPos:-1,targetIndex:-1,tabLayout:null,contentRect:null,override:null,dragActive:!1,dragAborted:!1,detachRequested:!1},this.document.addEventListener("pointerup",this,!0),1===e.button||t)return;let r=n[i].querySelector(this.renderer.closeIconSelector);r&&r.contains(e.target)||(this.tabsMovable&&(this.document.addEventListener("pointermove",this,!0),this.document.addEventListener("keydown",this,!0),this.document.addEventListener("contextmenu",this,!0)),this.allowDeselect&&this.currentIndex===i?this.currentIndex=-1:this.currentIndex=i,-1!==this.currentIndex&&this._tabActivateRequested.emit({index:this.currentIndex,title:this.currentTitle}))}_evtPointerMove(e){let t=this._dragData;if(!t)return;e.preventDefault(),e.stopPropagation();let n=this.contentNode.children;if(t.dragActive||Pe.dragExceeded(t,e)){if(!t.dragActive){let e=t.tab.getBoundingClientRect();"horizontal"===this._orientation?(t.tabPos=t.tab.offsetLeft,t.tabSize=e.width,t.tabPressPos=t.pressX-e.left):(t.tabPos=t.tab.offsetTop,t.tabSize=e.height,t.tabPressPos=t.pressY-e.top),t.tabPressOffset={x:t.pressX-e.left,y:t.pressY-e.top},t.tabLayout=Pe.snapTabLayout(n,this._orientation),t.contentRect=this.contentNode.getBoundingClientRect(),t.override=H.overrideCursor("default"),t.tab.classList.add("lm-mod-dragging"),this.addClass("lm-mod-dragging"),t.dragActive=!0}if(!t.detachRequested&&Pe.detachExceeded(t,e)){t.detachRequested=!0;let i=t.index,r=e.clientX,o=e.clientY,s=n[i],a=this._titles[i];if(this._tabDetachRequested.emit({index:i,title:a,tab:s,clientX:r,clientY:o,offset:t.tabPressOffset}),t.dragAborted)return}Pe.layoutTabs(n,t,e,this._orientation)}}_evtPointerUp(e){if(0!==e.button&&1!==e.button)return;const t=this._dragData;if(!t)return;if(e.preventDefault(),e.stopPropagation(),this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),!t.dragActive){if(this._dragData=null,this.addButtonEnabled&&this.addButtonNode.contains(e.target))return void this._addRequested.emit(void 0);let n=this.contentNode.children,i=m.Rw.findFirstIndex(n,(t=>x.hitTest(t,e.clientX,e.clientY)));if(i!==t.index)return;let r=this._titles[i];if(!r.closable)return;if(1===e.button)return void this._tabCloseRequested.emit({index:i,title:r});let o=n[i].querySelector(this.renderer.closeIconSelector);return o&&o.contains(e.target)?void this._tabCloseRequested.emit({index:i,title:r}):void 0}if(0!==e.button)return;Pe.finalizeTabPosition(t,this._orientation),t.tab.classList.remove("lm-mod-dragging");let n=Pe.parseTransitionDuration(t.tab);setTimeout((()=>{if(t.dragAborted)return;this._dragData=null,Pe.resetTabPositions(this.contentNode.children,this._orientation),t.override.dispose(),this.removeClass("lm-mod-dragging");let e=t.index,n=t.targetIndex;-1!==n&&e!==n&&(m.Rw.move(this._titles,e,n),this._adjustCurrentForMove(e,n),this._tabMoved.emit({fromIndex:e,toIndex:n,title:this._titles[n]}),S.sendMessage(this,le.Msg.UpdateRequest))}),n)}_releaseMouse(){let e=this._dragData;e&&(this._dragData=null,this.document.removeEventListener("pointermove",this,!0),this.document.removeEventListener("pointerup",this,!0),this.document.removeEventListener("keydown",this,!0),this.document.removeEventListener("contextmenu",this,!0),e.dragAborted=!0,e.dragActive&&(Pe.resetTabPositions(this.contentNode.children,this._orientation),e.override.dispose(),e.tab.classList.remove("lm-mod-dragging"),this.removeClass("lm-mod-dragging")))}_adjustCurrentForInsert(e,t){let n=this.currentTitle,i=this._currentIndex,r=this.insertBehavior;if("select-tab"===r||"select-tab-if-needed"===r&&-1===i)return this._currentIndex=e,this._previousTitle=n,void this._currentChanged.emit({previousIndex:i,previousTitle:n,currentIndex:e,currentTitle:t});i>=e&&this._currentIndex++}_adjustCurrentForMove(e,t){this._currentIndex===e?this._currentIndex=t:this._currentIndex<e&&this._currentIndex>=t?this._currentIndex++:this._currentIndex>e&&this._currentIndex<=t&&this._currentIndex--}_adjustCurrentForRemove(e,t){let n=this._currentIndex,i=this.removeBehavior;if(n===e){if(0===this._titles.length)return this._currentIndex=-1,void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null});if("select-tab-after"===i)return this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-tab-before"===i)return this._currentIndex=Math.max(0,e-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});if("select-previous-tab"===i)return this._previousTitle?(this._currentIndex=this._titles.indexOf(this._previousTitle),this._previousTitle=null):this._currentIndex=Math.min(e,this._titles.length-1),void this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:this._currentIndex,currentTitle:this.currentTitle});this._currentIndex=-1,this._currentChanged.emit({previousIndex:e,previousTitle:t,currentIndex:-1,currentTitle:null})}else n>e&&this._currentIndex--}_onTitleChanged(e){this.update()}}var Pe,Re,Oe,Le,Ne,ze,Fe,qe;!function(e){class t{constructor(){this.closeIconSelector=".lm-TabBar-tabCloseIcon",this._tabID=0,this._tabKeys=new WeakMap,this._uuid=++t._nInstance}renderTab(e){let t=e.title.caption,n=this.createTabKey(e),i=n,r=this.createTabStyle(e),o=this.createTabClass(e),s=this.createTabDataset(e),a=this.createTabARIA(e);return e.title.closable?oe.li({id:i,key:n,className:o,title:t,style:r,dataset:s,...a},this.renderIcon(e),this.renderLabel(e),this.renderCloseIcon(e)):oe.li({id:i,key:n,className:o,title:t,style:r,dataset:s,...a},this.renderIcon(e),this.renderLabel(e))}renderIcon(e){const{title:t}=e;let n=this.createIconClass(e);return oe.div({className:n},t.icon,t.iconLabel)}renderLabel(e){return oe.div({className:"lm-TabBar-tabLabel"},e.title.label)}renderCloseIcon(e){return oe.div({className:"lm-TabBar-tabCloseIcon"})}createTabKey(e){let t=this._tabKeys.get(e.title);return void 0===t&&(t=`tab-key-${this._uuid}-${this._tabID++}`,this._tabKeys.set(e.title,t)),t}createTabStyle(e){return{zIndex:`${e.zIndex}`}}createTabClass(e){let t="lm-TabBar-tab";return e.title.className&&(t+=` ${e.title.className}`),e.title.closable&&(t+=" lm-mod-closable"),e.current&&(t+=" lm-mod-current"),t}createTabDataset(e){return e.title.dataset}createTabARIA(e){var t;return{role:"tab","aria-selected":e.current.toString(),tabindex:`${null!==(t=e.tabIndex)&&void 0!==t?t:"-1"}`}}createIconClass(e){let t="lm-TabBar-tabIcon",n=e.title.iconClass;return n?`${t} ${n}`:t}}t._nInstance=0,e.Renderer=t,e.defaultRenderer=new t,e.addButtonSelector=".lm-TabBar-addButton"}(Me||(Me={})),function(e){e.DRAG_THRESHOLD=5,e.DETACH_THRESHOLD=20,e.createNode=function(){let e=document.createElement("div"),t=document.createElement("ul");t.setAttribute("role","tablist"),t.className="lm-TabBar-content",e.appendChild(t);let n=document.createElement("div");return n.className="lm-TabBar-addButton lm-mod-hidden",n.setAttribute("tabindex","-1"),n.setAttribute("role","button"),e.appendChild(n),e},e.asTitle=function(e){return e instanceof ae?e:new ae(e)},e.parseTransitionDuration=function(e){let t=window.getComputedStyle(e);return 1e3*(parseFloat(t.transitionDuration)||0)},e.snapTabLayout=function(e,t){let n=new Array(e.length);for(let i=0,r=e.length;i<r;++i){let r=e[i],o=window.getComputedStyle(r);n[i]="horizontal"===t?{pos:r.offsetLeft,size:r.offsetWidth,margin:parseFloat(o.marginLeft)||0}:{pos:r.offsetTop,size:r.offsetHeight,margin:parseFloat(o.marginTop)||0}}return n},e.dragExceeded=function(t,n){let i=Math.abs(n.clientX-t.pressX),r=Math.abs(n.clientY-t.pressY);return i>=e.DRAG_THRESHOLD||r>=e.DRAG_THRESHOLD},e.detachExceeded=function(t,n){let i=t.contentRect;return n.clientX<i.left-e.DETACH_THRESHOLD||n.clientX>=i.right+e.DETACH_THRESHOLD||n.clientY<i.top-e.DETACH_THRESHOLD||n.clientY>=i.bottom+e.DETACH_THRESHOLD},e.layoutTabs=function(e,t,n,i){let r,o,s,a;"horizontal"===i?(r=t.pressX,o=n.clientX-t.contentRect.left,s=n.clientX,a=t.contentRect.width):(r=t.pressY,o=n.clientY-t.contentRect.top,s=n.clientY,a=t.contentRect.height);let l=t.index,d=o-t.tabPressPos,c=d+t.tabSize;for(let n=0,o=e.length;n<o;++n){let o,u=t.tabLayout[n],h=u.pos+(u.size>>1);if(n<t.index&&d<h)o=`${t.tabSize+t.tabLayout[n+1].margin}px`,l=Math.min(l,n);else if(n>t.index&&c>h)o=-t.tabSize-u.margin+"px",l=Math.max(l,n);else if(n===t.index){let e=s-r,n=a-(t.tabPos+t.tabSize);o=`${Math.max(-t.tabPos,Math.min(e,n))}px`}else o="";"horizontal"===i?e[n].style.left=o:e[n].style.top=o}t.targetIndex=l},e.finalizeTabPosition=function(e,t){let n,i;if(n="horizontal"===t?e.contentRect.width:e.contentRect.height,e.targetIndex===e.index)i=0;else if(e.targetIndex>e.index){let t=e.tabLayout[e.targetIndex];i=t.pos+t.size-e.tabSize-e.tabPos}else i=e.tabLayout[e.targetIndex].pos-e.tabPos;let r=n-(e.tabPos+e.tabSize),o=Math.max(-e.tabPos,Math.min(i,r));"horizontal"===t?e.tab.style.left=`${o}px`:e.tab.style.top=`${o}px`},e.resetTabPositions=function(e,t){for(const n of e)"horizontal"===t?n.style.left="":n.style.top=""}}(Pe||(Pe={}));class Ue extends de{constructor(e){super(),this._spacing=4,this._dirty=!1,this._root=null,this._box=null,this._items=new Map,this.renderer=e.renderer,void 0!==e.spacing&&(this._spacing=we.clampDimension(e.spacing)),this._document=e.document||document,this._hiddenMode=void 0!==e.hiddenMode?e.hiddenMode:le.HiddenMode.Display}dispose(){let e=this[Symbol.iterator]();this._items.forEach((e=>{e.dispose()})),this._box=null,this._root=null,this._items.clear();for(const t of e)t.dispose();super.dispose()}get hiddenMode(){return this._hiddenMode}set hiddenMode(e){if(this._hiddenMode!==e){this._hiddenMode=e;for(const e of this.tabBars())if(e.titles.length>1)for(const t of e.titles)t.owner.hiddenMode=this._hiddenMode}}get spacing(){return this._spacing}set spacing(e){e=we.clampDimension(e),this._spacing!==e&&(this._spacing=e,this.parent&&this.parent.fit())}get isEmpty(){return null===this._root}[Symbol.iterator](){return this._root?this._root.iterAllWidgets():(0,m.Ie)()}widgets(){return this._root?this._root.iterUserWidgets():(0,m.Ie)()}selectedWidgets(){return this._root?this._root.iterSelectedWidgets():(0,m.Ie)()}tabBars(){return this._root?this._root.iterTabBars():(0,m.Ie)()}handles(){return this._root?this._root.iterHandles():(0,m.Ie)()}moveHandle(e,t,n){let i=e.classList.contains("lm-mod-hidden");if(!this._root||i)return;let r,o=this._root.findSplitNode(e);o&&(r="horizontal"===o.node.orientation?t-e.offsetLeft:n-e.offsetTop,0!==r&&(o.node.holdSizes(),Z.adjust(o.node.sizers,o.index,r),this.parent&&this.parent.update()))}saveLayout(){return this._root?(this._root.holdAllSizes(),{main:this._root.createConfig()}):{main:null}}restoreLayout(e){let t,n=new Set;t=e.main?Re.normalizeAreaConfig(e.main,n):null;let i=this.widgets(),r=this.tabBars(),o=this.handles();this._root=null;for(const e of i)n.has(e)||(e.parent=null);for(const e of r)e.dispose();for(const e of o)e.parentNode&&e.parentNode.removeChild(e);for(const e of n)e.parent=this.parent;this._root=t?Re.realizeAreaConfig(t,{createTabBar:e=>this._createTabBar(),createHandle:()=>this._createHandle()},this._document):null,this.parent&&(n.forEach((e=>{this.attachWidget(e)})),this.parent.fit())}addWidget(e,t={}){let n=t.ref||null,i=t.mode||"tab-after",r=null;if(this._root&&n&&(r=this._root.findTabNode(n)),n&&!r)throw new Error("Reference widget is not in the layout.");switch(e.parent=this.parent,i){case"tab-after":this._insertTab(e,n,r,!0);break;case"tab-before":this._insertTab(e,n,r,!1);break;case"split-top":this._insertSplit(e,n,r,"vertical",!1);break;case"split-left":this._insertSplit(e,n,r,"horizontal",!1);break;case"split-right":this._insertSplit(e,n,r,"horizontal",!0);break;case"split-bottom":this._insertSplit(e,n,r,"vertical",!0);break;case"merge-top":this._insertSplit(e,n,r,"vertical",!1,!0);break;case"merge-left":this._insertSplit(e,n,r,"horizontal",!1,!0);break;case"merge-right":this._insertSplit(e,n,r,"horizontal",!0,!0);break;case"merge-bottom":this._insertSplit(e,n,r,"vertical",!0,!0)}this.parent&&(this.attachWidget(e),this.parent.fit())}removeWidget(e){this._removeWidget(e),this.parent&&(this.detachWidget(e),this.parent.fit())}hitTestTabAreas(e,t){if(!this._root||!this.parent||!this.parent.isVisible)return null;this._box||(this._box=x.boxSizing(this.parent.node));let n=this.parent.node.getBoundingClientRect(),i=e-n.left-this._box.borderLeft,r=t-n.top-this._box.borderTop,o=this._root.hitTestTabNodes(i,r);if(!o)return null;let{tabBar:s,top:a,left:l,width:d,height:c}=o,u=this._box.borderLeft+this._box.borderRight,h=this._box.borderTop+this._box.borderBottom;return{tabBar:s,x:i,y:r,top:a,left:l,right:n.width-u-(l+d),bottom:n.height-h-(a+c),width:d,height:c}}init(){super.init();for(const e of this)this.attachWidget(e);for(const e of this.handles())this.parent.node.appendChild(e);this.parent.fit()}attachWidget(e){this.parent.node!==e.node.parentNode&&(this._items.set(e,new ce(e)),this.parent.isAttached&&S.sendMessage(e,le.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&S.sendMessage(e,le.Msg.AfterAttach))}detachWidget(e){if(this.parent.node!==e.node.parentNode)return;this.parent.isAttached&&S.sendMessage(e,le.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&S.sendMessage(e,le.Msg.AfterDetach);let t=this._items.get(e);t&&(this._items.delete(e),t.dispose())}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}_removeWidget(e){if(!this._root)return;let t=this._root.findTabNode(e);if(!t)return;if(Re.removeAria(e),t.tabBar.titles.length>1)return t.tabBar.removeTab(e.title),void(this._hiddenMode===le.HiddenMode.Scale&&1==t.tabBar.titles.length&&(t.tabBar.titles[0].owner.hiddenMode=le.HiddenMode.Display));if(t.tabBar.dispose(),this._root===t)return void(this._root=null);this._root.holdAllSizes();let n=t.parent;t.parent=null;let i=m.Rw.removeFirstOf(n.children,t),r=m.Rw.removeAt(n.handles,i);if(m.Rw.removeAt(n.sizers,i),r.parentNode&&r.parentNode.removeChild(r),n.children.length>1)return void n.syncHandles();let o=n.parent;n.parent=null;let s=n.children[0],a=n.handles[0];if(n.children.length=0,n.handles.length=0,n.sizers.length=0,a.parentNode&&a.parentNode.removeChild(a),this._root===n)return s.parent=null,void(this._root=s);let l=o,d=l.children.indexOf(n);if(s instanceof Re.TabLayoutNode)return s.parent=l,void(l.children[d]=s);let c=m.Rw.removeAt(l.handles,d);m.Rw.removeAt(l.children,d),m.Rw.removeAt(l.sizers,d),c.parentNode&&c.parentNode.removeChild(c);for(let e=0,t=s.children.length;e<t;++e){let t=s.children[e],n=s.handles[e],i=s.sizers[e];m.Rw.insert(l.children,d+e,t),m.Rw.insert(l.handles,d+e,n),m.Rw.insert(l.sizers,d+e,i),t.parent=l}s.children.length=0,s.handles.length=0,s.sizers.length=0,s.parent=null,l.syncHandles()}_createTabNode(e){let t=new Re.TabLayoutNode(this._createTabBar());return t.tabBar.addTab(e.title),Re.addAria(e,t.tabBar),t}_insertTab(e,t,n,i){if(e===t)return;if(!this._root){let t=new Re.TabLayoutNode(this._createTabBar());return t.tabBar.addTab(e.title),this._root=t,void Re.addAria(e,t.tabBar)}let r;n||(n=this._root.findFirstTabNode()),-1===n.tabBar.titles.indexOf(e.title)&&(this._removeWidget(e),e.hide()),r=t?n.tabBar.titles.indexOf(t.title):n.tabBar.currentIndex,this._hiddenMode===le.HiddenMode.Scale?0===n.tabBar.titles.length?e.hiddenMode=le.HiddenMode.Display:1==n.tabBar.titles.length?n.tabBar.titles[0].owner.hiddenMode=le.HiddenMode.Scale:e.hiddenMode=le.HiddenMode.Scale:e.hiddenMode=this._hiddenMode,n.tabBar.insertTab(r+(i?1:0),e.title),Re.addAria(e,n.tabBar)}_insertSplit(e,t,n,i,r,o=!1){if(e===t&&n&&1===n.tabBar.titles.length)return;if(this._removeWidget(e),!this._root)return void(this._root=this._createTabNode(e));if(!n||!n.parent){let t=this._splitRoot(i),o=r?t.children.length:0;t.normalizeSizes();let s=Re.createSizer(n?1:Re.GOLDEN_RATIO),a=this._createTabNode(e);return m.Rw.insert(t.children,o,a),m.Rw.insert(t.sizers,o,s),m.Rw.insert(t.handles,o,this._createHandle()),a.parent=t,t.normalizeSizes(),void t.syncHandles()}let s=n.parent;if(s.orientation===i){let t=s.children.indexOf(n);if(o){let n=t+(r?1:-1),i=s.children[n];if(i instanceof Re.TabLayoutNode)return this._insertTab(e,null,i,!0),void++i.tabBar.currentIndex}s.normalizeSizes();let i=s.sizers[t].sizeHint/=2,a=t+(r?1:0),l=this._createTabNode(e);return m.Rw.insert(s.children,a,l),m.Rw.insert(s.sizers,a,Re.createSizer(i)),m.Rw.insert(s.handles,a,this._createHandle()),l.parent=s,void s.syncHandles()}let a=m.Rw.removeFirstOf(s.children,n),l=new Re.SplitLayoutNode(i);l.normalized=!0,l.children.push(n),l.sizers.push(Re.createSizer(.5)),l.handles.push(this._createHandle()),n.parent=l;let d=r?1:0,c=this._createTabNode(e);m.Rw.insert(l.children,d,c),m.Rw.insert(l.sizers,d,Re.createSizer(.5)),m.Rw.insert(l.handles,d,this._createHandle()),c.parent=l,l.syncHandles(),m.Rw.insert(s.children,a,l),l.parent=s}_splitRoot(e){let t=this._root;if(t instanceof Re.SplitLayoutNode&&t.orientation===e)return t;let n=this._root=new Re.SplitLayoutNode(e);return t&&(n.children.push(t),n.sizers.push(Re.createSizer(0)),n.handles.push(this._createHandle()),t.parent=n),n}_fit(){let e=0,t=0;if(this._root){let n=this._root.fit(this._spacing,this._items);e=n.minWidth,t=n.minHeight}let n=this._box=x.boxSizing(this.parent.node);e+=n.horizontalSum,t+=n.verticalSum;let i=this.parent.node.style;i.minWidth=`${e}px`,i.minHeight=`${t}px`,this._dirty=!0,this.parent.parent&&S.sendMessage(this.parent.parent,le.Msg.FitRequest),this._dirty&&S.sendMessage(this.parent,le.Msg.UpdateRequest)}_update(e,t){if(this._dirty=!1,!this._root)return;e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=x.boxSizing(this.parent.node));let n=this._box.paddingTop,i=this._box.paddingLeft,r=e-this._box.horizontalSum,o=t-this._box.verticalSum;this._root.update(n,i,r,o,this._spacing,this._items)}_createTabBar(){let e=this.renderer.createTabBar(this._document);return e.orientation="horizontal",this.parent&&this.attachWidget(e),e}_createHandle(){let e=this.renderer.createHandle(),t=e.style;return t.position="absolute",t.contain="strict",t.top="0",t.left="0",t.width="0",t.height="0",this.parent&&this.parent.node.appendChild(e),e}}!function(e){function t(e){let t=new se;return t.sizeHint=e,t.size=e,t}e.GOLDEN_RATIO=.618,e.createSizer=t,e.normalizeAreaConfig=function e(t,n){let i;return i="tab-area"===t.type?function(e,t){if(0===e.widgets.length)return null;let n=[];for(const i of e.widgets)t.has(i)||(t.add(i),n.push(i));if(0===n.length)return null;let i=e.currentIndex;return-1!==i&&(i<0||i>=n.length)&&(i=0),{type:"tab-area",widgets:n,currentIndex:i}}(t,n):function(t,n){let i=t.orientation,r=[],o=[];for(let s=0,a=t.children.length;s<a;++s){let a=e(t.children[s],n);a&&("tab-area"===a.type||a.orientation!==i?(r.push(a),o.push(Math.abs(t.sizes[s]||0))):(r.push(...a.children),o.push(...a.sizes)))}return 0===r.length?null:1===r.length?r[0]:{type:"split-area",orientation:i,children:r,sizes:o}}(t,n),i},e.realizeAreaConfig=function r(o,s,a){let l;return l="tab-area"===o.type?function(t,i,r){let o=i.createTabBar(r);for(const n of t.widgets)n.hide(),o.addTab(n.title),e.addAria(n,o);return o.currentIndex=t.currentIndex,new n(o)}(o,s,a):function(e,n,o){let s=new i(e.orientation);return e.children.forEach(((i,a)=>{let l=r(i,n,o),d=t(e.sizes[a]),c=n.createHandle();s.children.push(l),s.handles.push(c),s.sizers.push(d),l.parent=s})),s.syncHandles(),s.normalizeSizes(),s}(o,s,a),l};class n{constructor(e){this.parent=null,this._top=0,this._left=0,this._width=0,this._height=0;let t=new se,n=new se;t.stretch=0,n.stretch=1,this.tabBar=e,this.sizers=[t,n]}get top(){return this._top}get left(){return this._left}get width(){return this._width}get height(){return this._height}*iterAllWidgets(){yield this.tabBar,yield*this.iterUserWidgets()}*iterUserWidgets(){for(const e of this.tabBar.titles)yield e.owner}*iterSelectedWidgets(){let e=this.tabBar.currentTitle;e&&(yield e.owner)}*iterTabBars(){yield this.tabBar}*iterHandles(){}findTabNode(e){return-1!==this.tabBar.titles.indexOf(e.title)?this:null}findSplitNode(e){return null}findFirstTabNode(){return this}hitTestTabNodes(e,t){return e<this._left||e>=this._left+this._width||t<this._top||t>=this._top+this._height?null:this}createConfig(){return{type:"tab-area",widgets:this.tabBar.titles.map((e=>e.owner)),currentIndex:this.tabBar.currentIndex}}holdAllSizes(){}fit(e,t){let n=0,i=0,r=t.get(this.tabBar),o=this.tabBar.currentTitle,s=o?t.get(o.owner):void 0,[a,l]=this.sizers;return r&&r.fit(),s&&s.fit(),r&&!r.isHidden?(n=Math.max(n,r.minWidth),i+=r.minHeight,a.minSize=r.minHeight,a.maxSize=r.maxHeight):(a.minSize=0,a.maxSize=0),s&&!s.isHidden?(n=Math.max(n,s.minWidth),i+=s.minHeight,l.minSize=s.minHeight,l.maxSize=1/0):(l.minSize=0,l.maxSize=1/0),{minWidth:n,minHeight:i,maxWidth:1/0,maxHeight:1/0}}update(e,t,n,i,r,o){this._top=t,this._left=e,this._width=n,this._height=i;let s=o.get(this.tabBar),a=this.tabBar.currentTitle,l=a?o.get(a.owner):void 0;if(Z.calc(this.sizers,i),s&&!s.isHidden){let i=this.sizers[0].size;s.update(e,t,n,i),t+=i}if(l&&!l.isHidden){let i=this.sizers[1].size;l.update(e,t,n,i)}}}e.TabLayoutNode=n;class i{constructor(e){this.parent=null,this.normalized=!1,this.children=[],this.sizers=[],this.handles=[],this.orientation=e}*iterAllWidgets(){for(const e of this.children)yield*e.iterAllWidgets()}*iterUserWidgets(){for(const e of this.children)yield*e.iterUserWidgets()}*iterSelectedWidgets(){for(const e of this.children)yield*e.iterSelectedWidgets()}*iterTabBars(){for(const e of this.children)yield*e.iterTabBars()}*iterHandles(){yield*this.handles;for(const e of this.children)yield*e.iterHandles()}findTabNode(e){for(let t=0,n=this.children.length;t<n;++t){let n=this.children[t].findTabNode(e);if(n)return n}return null}findSplitNode(e){let t=this.handles.indexOf(e);if(-1!==t)return{index:t,node:this};for(let t=0,n=this.children.length;t<n;++t){let n=this.children[t].findSplitNode(e);if(n)return n}return null}findFirstTabNode(){return 0===this.children.length?null:this.children[0].findFirstTabNode()}hitTestTabNodes(e,t){for(let n=0,i=this.children.length;n<i;++n){let i=this.children[n].hitTestTabNodes(e,t);if(i)return i}return null}createConfig(){let e=this.orientation,t=this.createNormalizedSizes();return{type:"split-area",orientation:e,children:this.children.map((e=>e.createConfig())),sizes:t}}syncHandles(){this.handles.forEach(((e,t)=>{e.setAttribute("data-orientation",this.orientation),t===this.handles.length-1?e.classList.add("lm-mod-hidden"):e.classList.remove("lm-mod-hidden")}))}holdSizes(){for(const e of this.sizers)e.sizeHint=e.size}holdAllSizes(){for(const e of this.children)e.holdAllSizes();this.holdSizes()}normalizeSizes(){let e=this.sizers.length;if(0===e)return;this.holdSizes();let t=this.sizers.reduce(((e,t)=>e+t.sizeHint),0);if(0===t)for(const t of this.sizers)t.size=t.sizeHint=1/e;else for(const e of this.sizers)e.size=e.sizeHint/=t;this.normalized=!0}createNormalizedSizes(){let e=this.sizers.length;if(0===e)return[];let t=this.sizers.map((e=>e.size)),n=t.reduce(((e,t)=>e+t),0);if(0===n)for(let n=t.length-1;n>-1;n--)t[n]=1/e;else for(let e=t.length-1;e>-1;e--)t[e]/=n;return t}fit(e,t){let n="horizontal"===this.orientation,i=Math.max(0,this.children.length-1)*e,r=n?i:0,o=n?0:i;for(let i=0,s=this.children.length;i<s;++i){let s=this.children[i].fit(e,t);n?(o=Math.max(o,s.minHeight),r+=s.minWidth,this.sizers[i].minSize=s.minWidth):(r=Math.max(r,s.minWidth),o+=s.minHeight,this.sizers[i].minSize=s.minHeight)}return{minWidth:r,minHeight:o,maxWidth:1/0,maxHeight:1/0}}update(e,t,n,i,r,o){let s="horizontal"===this.orientation,a=Math.max(0,this.children.length-1)*r,l=Math.max(0,(s?n:i)-a);if(this.normalized){for(const e of this.sizers)e.sizeHint*=l;this.normalized=!1}Z.calc(this.sizers,l);for(let a=0,l=this.children.length;a<l;++a){let l=this.children[a],d=this.sizers[a].size,c=this.handles[a].style;s?(l.update(e,t,d,i,r,o),e+=d,c.top=`${t}px`,c.left=`${e}px`,c.width=`${r}px`,c.height=`${i}px`,e+=r):(l.update(e,t,n,d,r,o),t+=d,c.top=`${t}px`,c.left=`${e}px`,c.width=`${n}px`,c.height=`${r}px`,t+=r)}}}e.SplitLayoutNode=i,e.addAria=function(e,t){e.node.setAttribute("role","tabpanel");let n=t.renderer;if(n instanceof Me.Renderer){let t=n.createTabKey({title:e.title,current:!1,zIndex:0});e.node.setAttribute("aria-labelledby",t)}},e.removeAria=function(e){e.node.removeAttribute("role"),e.node.removeAttribute("aria-labelledby")}}(Re||(Re={}));class $e extends le{constructor(e={}){super(),this._drag=null,this._tabsMovable=!0,this._tabsConstrained=!1,this._addButtonEnabled=!1,this._pressData=null,this._layoutModified=new g.Signal(this),this._addRequested=new g.Signal(this),this.addClass("lm-DockPanel"),this._document=e.document||document,this._mode=e.mode||"multiple-document",this._renderer=e.renderer||$e.defaultRenderer,this._edges=e.edges||Oe.DEFAULT_EDGES,void 0!==e.tabsMovable&&(this._tabsMovable=e.tabsMovable),void 0!==e.tabsConstrained&&(this._tabsConstrained=e.tabsConstrained),void 0!==e.addButtonEnabled&&(this._addButtonEnabled=e.addButtonEnabled),this.dataset.mode=this._mode;let t={createTabBar:()=>this._createTabBar(),createHandle:()=>this._createHandle()};this.layout=new Ue({document:this._document,renderer:t,spacing:e.spacing,hiddenMode:e.hiddenMode}),this.overlay=e.overlay||new $e.Overlay,this.node.appendChild(this.overlay.node)}dispose(){this._releaseMouse(),this.overlay.hide(0),this._drag&&this._drag.dispose(),super.dispose()}get hiddenMode(){return this.layout.hiddenMode}set hiddenMode(e){this.layout.hiddenMode=e}get layoutModified(){return this._layoutModified}get addRequested(){return this._addRequested}get renderer(){return this.layout.renderer}get spacing(){return this.layout.spacing}set spacing(e){this.layout.spacing=e}get mode(){return this._mode}set mode(e){if(this._mode===e)return;this._mode=e,this.dataset.mode=e;let t=this.layout;switch(e){case"multiple-document":for(const e of t.tabBars())e.show();break;case"single-document":t.restoreLayout(Oe.createSingleDocumentConfig(this));break;default:throw"unreachable"}S.postMessage(this,Oe.LayoutModified)}get tabsMovable(){return this._tabsMovable}set tabsMovable(e){this._tabsMovable=e;for(const t of this.tabBars())t.tabsMovable=e}get tabsConstrained(){return this._tabsConstrained}set tabsConstrained(e){this._tabsConstrained=e}get addButtonEnabled(){return this._addButtonEnabled}set addButtonEnabled(e){this._addButtonEnabled=e;for(const t of this.tabBars())t.addButtonEnabled=e}get isEmpty(){return this.layout.isEmpty}*widgets(){yield*this.layout.widgets()}*selectedWidgets(){yield*this.layout.selectedWidgets()}*tabBars(){yield*this.layout.tabBars()}*handles(){yield*this.layout.handles()}selectWidget(e){let t=(0,m.I6)(this.tabBars(),(t=>-1!==t.titles.indexOf(e.title)));if(!t)throw new Error("Widget is not contained in the dock panel.");t.currentTitle=e.title}activateWidget(e){this.selectWidget(e),e.activate()}saveLayout(){return this.layout.saveLayout()}restoreLayout(e){this._mode="multiple-document",this.layout.restoreLayout(e),(k.IS_EDGE||k.IS_IE)&&S.flush(),S.postMessage(this,Oe.LayoutModified)}addWidget(e,t={}){"single-document"===this._mode?this.layout.addWidget(e):this.layout.addWidget(e,t),S.postMessage(this,Oe.LayoutModified)}processMessage(e){"layout-modified"===e.type?this._layoutModified.emit(void 0):super.processMessage(e)}handleEvent(e){switch(e.type){case"lm-dragenter":this._evtDragEnter(e);break;case"lm-dragleave":this._evtDragLeave(e);break;case"lm-dragover":this._evtDragOver(e);break;case"lm-drop":this._evtDrop(e);break;case"pointerdown":this._evtPointerDown(e);break;case"pointermove":this._evtPointerMove(e);break;case"pointerup":this._evtPointerUp(e);break;case"keydown":this._evtKeyDown(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("lm-dragenter",this),this.node.addEventListener("lm-dragleave",this),this.node.addEventListener("lm-dragover",this),this.node.addEventListener("lm-drop",this),this.node.addEventListener("pointerdown",this)}onAfterDetach(e){this.node.removeEventListener("lm-dragenter",this),this.node.removeEventListener("lm-dragleave",this),this.node.removeEventListener("lm-dragover",this),this.node.removeEventListener("lm-drop",this),this.node.removeEventListener("pointerdown",this),this._releaseMouse()}onChildAdded(e){Oe.isGeneratedTabBarProperty.get(e.child)||e.child.addClass("lm-DockPanel-widget")}onChildRemoved(e){Oe.isGeneratedTabBarProperty.get(e.child)||(e.child.removeClass("lm-DockPanel-widget"),S.postMessage(this,Oe.LayoutModified))}_evtDragEnter(e){e.mimeData.hasData("application/vnd.lumino.widget-factory")&&(e.preventDefault(),e.stopPropagation())}_evtDragLeave(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||(e.stopPropagation(),this.overlay.hide(1))}_evtDragOver(e){e.preventDefault(),this._tabsConstrained&&e.source!==this||"invalid"===this._showOverlay(e.clientX,e.clientY)?e.dropAction="none":(e.stopPropagation(),e.dropAction=e.proposedAction)}_evtDrop(e){if(e.preventDefault(),this.overlay.hide(0),"none"===e.proposedAction)return void(e.dropAction="none");let{clientX:t,clientY:n}=e,{zone:i,target:r}=Oe.findDropTarget(this,t,n,this._edges);if(this._tabsConstrained&&e.source!==this||"invalid"===i)return void(e.dropAction="none");let o=e.mimeData.getData("application/vnd.lumino.widget-factory");if("function"!=typeof o)return void(e.dropAction="none");let s=o();if(!(s instanceof le))return void(e.dropAction="none");if(s.contains(this))return void(e.dropAction="none");let a=r?Oe.getDropRef(r.tabBar):null;switch(i){case"root-all":this.addWidget(s);break;case"root-top":this.addWidget(s,{mode:"split-top"});break;case"root-left":this.addWidget(s,{mode:"split-left"});break;case"root-right":this.addWidget(s,{mode:"split-right"});break;case"root-bottom":this.addWidget(s,{mode:"split-bottom"});break;case"widget-all":case"widget-tab":this.addWidget(s,{mode:"tab-after",ref:a});break;case"widget-top":this.addWidget(s,{mode:"split-top",ref:a});break;case"widget-left":this.addWidget(s,{mode:"split-left",ref:a});break;case"widget-right":this.addWidget(s,{mode:"split-right",ref:a});break;case"widget-bottom":this.addWidget(s,{mode:"split-bottom",ref:a});break;default:throw"unreachable"}e.dropAction=e.proposedAction,e.stopPropagation(),this.activateWidget(s)}_evtKeyDown(e){e.preventDefault(),e.stopPropagation(),27===e.keyCode&&(this._releaseMouse(),S.postMessage(this,Oe.LayoutModified))}_evtPointerDown(e){if(0!==e.button)return;let t=this.layout,n=e.target,i=(0,m.I6)(t.handles(),(e=>e.contains(n)));if(!i)return;e.preventDefault(),e.stopPropagation(),this._document.addEventListener("keydown",this,!0),this._document.addEventListener("pointerup",this,!0),this._document.addEventListener("pointermove",this,!0),this._document.addEventListener("contextmenu",this,!0);let r=i.getBoundingClientRect(),o=e.clientX-r.left,s=e.clientY-r.top,a=window.getComputedStyle(i),l=H.overrideCursor(a.cursor,this._document);this._pressData={handle:i,deltaX:o,deltaY:s,override:l}}_evtPointerMove(e){if(!this._pressData)return;e.preventDefault(),e.stopPropagation();let t=this.node.getBoundingClientRect(),n=e.clientX-t.left-this._pressData.deltaX,i=e.clientY-t.top-this._pressData.deltaY;this.layout.moveHandle(this._pressData.handle,n,i)}_evtPointerUp(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),this._releaseMouse(),S.postMessage(this,Oe.LayoutModified))}_releaseMouse(){this._pressData&&(this._pressData.override.dispose(),this._pressData=null,this._document.removeEventListener("keydown",this,!0),this._document.removeEventListener("pointerup",this,!0),this._document.removeEventListener("pointermove",this,!0),this._document.removeEventListener("contextmenu",this,!0))}_showOverlay(e,t){let n,i,r,o,{zone:s,target:a}=Oe.findDropTarget(this,e,t,this._edges);if("invalid"===s)return this.overlay.hide(100),s;let l=x.boxSizing(this.node),d=this.node.getBoundingClientRect();switch(s){case"root-all":n=l.paddingTop,i=l.paddingLeft,r=l.paddingRight,o=l.paddingBottom;break;case"root-top":n=l.paddingTop,i=l.paddingLeft,r=l.paddingRight,o=d.height*Oe.GOLDEN_RATIO;break;case"root-left":n=l.paddingTop,i=l.paddingLeft,r=d.width*Oe.GOLDEN_RATIO,o=l.paddingBottom;break;case"root-right":n=l.paddingTop,i=d.width*Oe.GOLDEN_RATIO,r=l.paddingRight,o=l.paddingBottom;break;case"root-bottom":n=d.height*Oe.GOLDEN_RATIO,i=l.paddingLeft,r=l.paddingRight,o=l.paddingBottom;break;case"widget-all":n=a.top,i=a.left,r=a.right,o=a.bottom;break;case"widget-top":n=a.top,i=a.left,r=a.right,o=a.bottom+a.height/2;break;case"widget-left":n=a.top,i=a.left,r=a.right+a.width/2,o=a.bottom;break;case"widget-right":n=a.top,i=a.left+a.width/2,r=a.right,o=a.bottom;break;case"widget-bottom":n=a.top+a.height/2,i=a.left,r=a.right,o=a.bottom;break;case"widget-tab":{const e=a.tabBar.node.getBoundingClientRect().height;n=a.top,i=a.left,r=a.right,o=a.bottom+a.height-e;break}default:throw"unreachable"}return this.overlay.show({top:n,left:i,right:r,bottom:o}),s}_createTabBar(){let e=this._renderer.createTabBar(this._document);return Oe.isGeneratedTabBarProperty.set(e,!0),"single-document"===this._mode&&e.hide(),e.tabsMovable=this._tabsMovable,e.allowDeselect=!1,e.addButtonEnabled=this._addButtonEnabled,e.removeBehavior="select-previous-tab",e.insertBehavior="select-tab-if-needed",e.tabMoved.connect(this._onTabMoved,this),e.currentChanged.connect(this._onCurrentChanged,this),e.tabCloseRequested.connect(this._onTabCloseRequested,this),e.tabDetachRequested.connect(this._onTabDetachRequested,this),e.tabActivateRequested.connect(this._onTabActivateRequested,this),e.addRequested.connect(this._onTabAddRequested,this),e}_createHandle(){return this._renderer.createHandle()}_onTabMoved(){S.postMessage(this,Oe.LayoutModified)}_onCurrentChanged(e,t){let{previousTitle:n,currentTitle:i}=t;n&&n.owner.hide(),i&&i.owner.show(),(k.IS_EDGE||k.IS_IE)&&S.flush(),S.postMessage(this,Oe.LayoutModified)}_onTabAddRequested(e){this._addRequested.emit(e)}_onTabActivateRequested(e,t){t.title.owner.activate()}_onTabCloseRequested(e,t){t.title.owner.close()}_onTabDetachRequested(e,t){if(this._drag)return;e.releaseMouse();let{title:n,tab:i,clientX:r,clientY:o,offset:a}=t,l=new s.MimeData;l.setData("application/vnd.lumino.widget-factory",(()=>n.owner));let d=i.cloneNode(!0);a&&(d.style.top=`-${a.y}px`,d.style.left=`-${a.x}px`),this._drag=new H({document:this._document,mimeData:l,dragImage:d,proposedAction:"move",supportedActions:"move",source:this}),i.classList.add("lm-mod-hidden"),this._drag.start(r,o).then((()=>{this._drag=null,i.classList.remove("lm-mod-hidden")}))}}!function(e){e.Overlay=class{constructor(){this._timer=-1,this._hidden=!0,this.node=document.createElement("div"),this.node.classList.add("lm-DockPanel-overlay"),this.node.classList.add("lm-mod-hidden"),this.node.style.position="absolute",this.node.style.contain="strict"}show(e){let t=this.node.style;t.top=`${e.top}px`,t.left=`${e.left}px`,t.right=`${e.right}px`,t.bottom=`${e.bottom}px`,clearTimeout(this._timer),this._timer=-1,this._hidden&&(this._hidden=!1,this.node.classList.remove("lm-mod-hidden"))}hide(e){if(!this._hidden)return e<=0?(clearTimeout(this._timer),this._timer=-1,this._hidden=!0,void this.node.classList.add("lm-mod-hidden")):void(-1===this._timer&&(this._timer=window.setTimeout((()=>{this._timer=-1,this._hidden=!0,this.node.classList.add("lm-mod-hidden")}),e)))}};class t{createTabBar(e){let t=new Me({document:e});return t.addClass("lm-DockPanel-tabBar"),t}createHandle(){let e=document.createElement("div");return e.className="lm-DockPanel-handle",e}}e.Renderer=t,e.defaultRenderer=new t}($e||($e={})),function(e){e.GOLDEN_RATIO=.618,e.DEFAULT_EDGES={top:12,right:40,bottom:40,left:40},e.LayoutModified=new R("layout-modified"),e.isGeneratedTabBarProperty=new U.AttachedProperty({name:"isGeneratedTabBar",create:()=>!1}),e.createSingleDocumentConfig=function(e){if(e.isEmpty)return{main:null};let t=Array.from(e.widgets()),n=e.selectedWidgets().next().value,i=n?t.indexOf(n):-1;return{main:{type:"tab-area",widgets:t,currentIndex:i}}},e.findDropTarget=function(e,t,n,i){if(!x.hitTest(e.node,t,n))return{zone:"invalid",target:null};let r=e.layout;if(r.isEmpty)return{zone:"root-all",target:null};if("multiple-document"===e.mode){let r=e.node.getBoundingClientRect(),o=t-r.left+1,s=n-r.top+1,a=r.right-t,l=r.bottom-n;switch(Math.min(s,a,l,o)){case s:if(s<i.top)return{zone:"root-top",target:null};break;case a:if(a<i.right)return{zone:"root-right",target:null};break;case l:if(l<i.bottom)return{zone:"root-bottom",target:null};break;case o:if(o<i.left)return{zone:"root-left",target:null};break;default:throw"unreachable"}}let o=r.hitTestTabAreas(t,n);if(!o)return{zone:"invalid",target:null};if("single-document"===e.mode)return{zone:"widget-all",target:o};let s=o.x-o.left+1,a=o.y-o.top+1,l=o.left+o.width-o.x,d=o.top+o.height-o.y;if(a<o.tabBar.node.getBoundingClientRect().height)return{zone:"widget-tab",target:o};let c,u=Math.round(o.width/3),h=Math.round(o.height/3);if(s>u&&l>u&&a>h&&d>h)return{zone:"widget-all",target:o};switch(s/=u,a/=h,l/=u,d/=h,Math.min(s,a,l,d)){case s:c="widget-left";break;case a:c="widget-top";break;case l:c="widget-right";break;case d:c="widget-bottom";break;default:throw"unreachable"}return{zone:c,target:o}},e.getDropRef=function(e){return 0===e.titles.length?null:e.currentTitle?e.currentTitle.owner:e.titles[e.titles.length-1].owner}}(Oe||(Oe={}));class He{constructor(){this._counter=0,this._widgets=[],this._activeWidget=null,this._currentWidget=null,this._numbers=new Map,this._nodes=new Map,this._activeChanged=new g.Signal(this),this._currentChanged=new g.Signal(this)}dispose(){if(!(this._counter<0)){this._counter=-1,g.Signal.clearData(this);for(const e of this._widgets)e.node.removeEventListener("focus",this,!0),e.node.removeEventListener("blur",this,!0);this._activeWidget=null,this._currentWidget=null,this._nodes.clear(),this._numbers.clear(),this._widgets.length=0}}get currentChanged(){return this._currentChanged}get activeChanged(){return this._activeChanged}get isDisposed(){return this._counter<0}get currentWidget(){return this._currentWidget}get activeWidget(){return this._activeWidget}get widgets(){return this._widgets}focusNumber(e){let t=this._numbers.get(e);return void 0===t?-1:t}has(e){return this._numbers.has(e)}add(e){if(this._numbers.has(e))return;let t=e.node.contains(document.activeElement),n=t?this._counter++:-1;this._widgets.push(e),this._numbers.set(e,n),this._nodes.set(e.node,e),e.node.addEventListener("focus",this,!0),e.node.addEventListener("blur",this,!0),e.disposed.connect(this._onWidgetDisposed,this),t&&this._setWidgets(e,e)}remove(e){if(!this._numbers.has(e))return;if(e.disposed.disconnect(this._onWidgetDisposed,this),e.node.removeEventListener("focus",this,!0),e.node.removeEventListener("blur",this,!0),m.Rw.removeFirstOf(this._widgets,e),this._nodes.delete(e.node),this._numbers.delete(e),this._currentWidget!==e)return;let t=this._widgets.filter((e=>-1!==this._numbers.get(e))),n=(0,m.T9)(t,((e,t)=>this._numbers.get(e)-this._numbers.get(t)))||null;this._setWidgets(n,null)}handleEvent(e){switch(e.type){case"focus":this._evtFocus(e);break;case"blur":this._evtBlur(e)}}_setWidgets(e,t){let n=this._currentWidget;this._currentWidget=e;let i=this._activeWidget;this._activeWidget=t,n!==e&&this._currentChanged.emit({oldValue:n,newValue:e}),i!==t&&this._activeChanged.emit({oldValue:i,newValue:t})}_evtFocus(e){let t=this._nodes.get(e.currentTarget);t!==this._currentWidget&&this._numbers.set(t,this._counter++),this._setWidgets(t,t)}_evtBlur(e){let t=this._nodes.get(e.currentTarget),n=e.relatedTarget;n&&(t.node.contains(n)||(0,m.I6)(this._widgets,(e=>e.node.contains(n))))||this._setWidgets(this._currentWidget,null)}_onWidgetDisposed(e){this.remove(e)}}class We extends de{constructor(e={}){super(e),this._dirty=!1,this._rowSpacing=4,this._columnSpacing=4,this._items=[],this._rowStarts=[],this._columnStarts=[],this._rowSizers=[new se],this._columnSizers=[new se],this._box=null,void 0!==e.rowCount&&Le.reallocSizers(this._rowSizers,e.rowCount),void 0!==e.columnCount&&Le.reallocSizers(this._columnSizers,e.columnCount),void 0!==e.rowSpacing&&(this._rowSpacing=Le.clampValue(e.rowSpacing)),void 0!==e.columnSpacing&&(this._columnSpacing=Le.clampValue(e.columnSpacing))}dispose(){for(const e of this._items){let t=e.widget;e.dispose(),t.dispose()}this._box=null,this._items.length=0,this._rowStarts.length=0,this._rowSizers.length=0,this._columnStarts.length=0,this._columnSizers.length=0,super.dispose()}get rowCount(){return this._rowSizers.length}set rowCount(e){e!==this.rowCount&&(Le.reallocSizers(this._rowSizers,e),this.parent&&this.parent.fit())}get columnCount(){return this._columnSizers.length}set columnCount(e){e!==this.columnCount&&(Le.reallocSizers(this._columnSizers,e),this.parent&&this.parent.fit())}get rowSpacing(){return this._rowSpacing}set rowSpacing(e){e=Le.clampValue(e),this._rowSpacing!==e&&(this._rowSpacing=e,this.parent&&this.parent.fit())}get columnSpacing(){return this._columnSpacing}set columnSpacing(e){e=Le.clampValue(e),this._columnSpacing!==e&&(this._columnSpacing=e,this.parent&&this.parent.fit())}rowStretch(e){let t=this._rowSizers[e];return t?t.stretch:-1}setRowStretch(e,t){let n=this._rowSizers[e];n&&(t=Le.clampValue(t),n.stretch!==t&&(n.stretch=t,this.parent&&this.parent.update()))}columnStretch(e){let t=this._columnSizers[e];return t?t.stretch:-1}setColumnStretch(e,t){let n=this._columnSizers[e];n&&(t=Le.clampValue(t),n.stretch!==t&&(n.stretch=t,this.parent&&this.parent.update()))}*[Symbol.iterator](){for(const e of this._items)yield e.widget}addWidget(e){-1===m.Rw.findFirstIndex(this._items,(t=>t.widget===e))&&(this._items.push(new ce(e)),this.parent&&this.attachWidget(e))}removeWidget(e){let t=m.Rw.findFirstIndex(this._items,(t=>t.widget===e));if(-1===t)return;let n=m.Rw.removeAt(this._items,t);this.parent&&this.detachWidget(e),n.dispose()}init(){super.init();for(const e of this)this.attachWidget(e)}attachWidget(e){this.parent.isAttached&&S.sendMessage(e,le.Msg.BeforeAttach),this.parent.node.appendChild(e.node),this.parent.isAttached&&S.sendMessage(e,le.Msg.AfterAttach),this.parent.fit()}detachWidget(e){this.parent.isAttached&&S.sendMessage(e,le.Msg.BeforeDetach),this.parent.node.removeChild(e.node),this.parent.isAttached&&S.sendMessage(e,le.Msg.AfterDetach),this.parent.fit()}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}_fit(){for(let e=0,t=this.rowCount;e<t;++e)this._rowSizers[e].minSize=0;for(let e=0,t=this.columnCount;e<t;++e)this._columnSizers[e].minSize=0;let e=this._items.filter((e=>!e.isHidden));for(let t=0,n=e.length;t<n;++t)e[t].fit();let t=this.rowCount-1,n=this.columnCount-1;e.sort(Le.rowSpanCmp);for(let n=0,i=e.length;n<i;++n){let i=e[n],r=We.getCellConfig(i.widget),o=Math.min(r.row,t),s=Math.min(r.row+r.rowSpan-1,t);Le.distributeMin(this._rowSizers,o,s,i.minHeight)}e.sort(Le.columnSpanCmp);for(let t=0,i=e.length;t<i;++t){let i=e[t],r=We.getCellConfig(i.widget),o=Math.min(r.column,n),s=Math.min(r.column+r.columnSpan-1,n);Le.distributeMin(this._columnSizers,o,s,i.minWidth)}if("set-no-constraint"===this.fitPolicy)return void S.sendMessage(this.parent,le.Msg.UpdateRequest);let i=t*this._rowSpacing,r=n*this._columnSpacing;for(let e=0,t=this.rowCount;e<t;++e)i+=this._rowSizers[e].minSize;for(let e=0,t=this.columnCount;e<t;++e)r+=this._columnSizers[e].minSize;let o=this._box=x.boxSizing(this.parent.node);r+=o.horizontalSum,i+=o.verticalSum;let s=this.parent.node.style;s.minWidth=`${r}px`,s.minHeight=`${i}px`,this._dirty=!0,this.parent.parent&&S.sendMessage(this.parent.parent,le.Msg.FitRequest),this._dirty&&S.sendMessage(this.parent,le.Msg.UpdateRequest)}_update(e,t){this._dirty=!1,e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=x.boxSizing(this.parent.node));let n=this._box.paddingTop,i=this._box.paddingLeft,r=e-this._box.horizontalSum,o=t-this._box.verticalSum,s=this.rowCount-1,a=this.columnCount-1,l=s*this._rowSpacing,d=a*this._columnSpacing;Z.calc(this._rowSizers,Math.max(0,o-l)),Z.calc(this._columnSizers,Math.max(0,r-d));for(let e=0,t=n,i=this.rowCount;e<i;++e)this._rowStarts[e]=t,t+=this._rowSizers[e].size+this._rowSpacing;for(let e=0,t=i,n=this.columnCount;e<n;++e)this._columnStarts[e]=t,t+=this._columnSizers[e].size+this._columnSpacing;for(let e=0,t=this._items.length;e<t;++e){let t=this._items[e];if(t.isHidden)continue;let n=We.getCellConfig(t.widget),i=Math.min(n.row,s),r=Math.min(n.column,a),o=Math.min(n.row+n.rowSpan-1,s),l=Math.min(n.column+n.columnSpan-1,a),d=this._columnStarts[r],c=this._rowStarts[i],u=this._columnStarts[l]+this._columnSizers[l].size-d,h=this._rowStarts[o]+this._rowSizers[o].size-c;t.update(d,c,u,h)}}}!function(e){e.getCellConfig=function(e){return Le.cellConfigProperty.get(e)},e.setCellConfig=function(e,t){Le.cellConfigProperty.set(e,Le.normalizeConfig(t))}}(We||(We={})),function(e){e.cellConfigProperty=new U.AttachedProperty({name:"cellConfig",create:()=>({row:0,column:0,rowSpan:1,columnSpan:1}),changed:function(e){e.parent&&e.parent.layout instanceof We&&e.parent.fit()}}),e.normalizeConfig=function(e){return{row:Math.max(0,Math.floor(e.row||0)),column:Math.max(0,Math.floor(e.column||0)),rowSpan:Math.max(1,Math.floor(e.rowSpan||0)),columnSpan:Math.max(1,Math.floor(e.columnSpan||0))}},e.clampValue=function(e){return Math.max(0,Math.floor(e))},e.rowSpanCmp=function(t,n){let i=e.cellConfigProperty.get(t.widget),r=e.cellConfigProperty.get(n.widget);return i.rowSpan-r.rowSpan},e.columnSpanCmp=function(t,n){let i=e.cellConfigProperty.get(t.widget),r=e.cellConfigProperty.get(n.widget);return i.columnSpan-r.columnSpan},e.reallocSizers=function(e,t){for(t=Math.max(1,Math.floor(t));e.length<t;)e.push(new se);e.length>t&&(e.length=t)},e.distributeMin=function(e,t,n,i){if(n<t)return;if(t===n){let n=e[t];return void(n.minSize=Math.max(n.minSize,i))}let r=0;for(let i=t;i<=n;++i)r+=e[i].minSize;if(r>=i)return;let o=(i-r)/(n-t+1);for(let i=t;i<=n;++i)e[i].minSize+=o}}(Le||(Le={}));class Ve extends le{constructor(e={}){super({node:Ne.createNode()}),this._activeIndex=-1,this._tabFocusIndex=0,this._menus=[],this._childMenu=null,this._overflowMenu=null,this._menuItemSizes=[],this._overflowIndex=-1,this.addClass("lm-MenuBar"),this.setFlag(le.Flag.DisallowLayout),this.renderer=e.renderer||Ve.defaultRenderer,this._forceItemsPosition=e.forceItemsPosition||{forceX:!0,forceY:!0},this._overflowMenuOptions=e.overflowMenuOptions||{isVisible:!0}}dispose(){this._closeChildMenu(),this._menus.length=0,super.dispose()}get childMenu(){return this._childMenu}get overflowIndex(){return this._overflowIndex}get overflowMenu(){return this._overflowMenu}get contentNode(){return this.node.getElementsByClassName("lm-MenuBar-content")[0]}get activeMenu(){return this._menus[this._activeIndex]||null}set activeMenu(e){this.activeIndex=e?this._menus.indexOf(e):-1}get activeIndex(){return this._activeIndex}set activeIndex(e){(e<0||e>=this._menus.length)&&(e=-1),e>-1&&0===this._menus[e].items.length&&(e=-1),this._activeIndex!==e&&(this._activeIndex=e,this.update())}get menus(){return this._menus}openActiveMenu(){-1!==this._activeIndex&&(this._openChildMenu(),this._childMenu&&(this._childMenu.activeIndex=-1,this._childMenu.activateNextItem()))}addMenu(e,t=!0){this.insertMenu(this._menus.length,e,t)}insertMenu(e,t,n=!0){this._closeChildMenu();let i=this._menus.indexOf(t),r=Math.max(0,Math.min(e,this._menus.length));if(-1===i)return m.Rw.insert(this._menus,r,t),t.addClass("lm-MenuBar-menu"),t.aboutToClose.connect(this._onMenuAboutToClose,this),t.menuRequested.connect(this._onMenuMenuRequested,this),t.title.changed.connect(this._onTitleChanged,this),void(n&&this.update());r===this._menus.length&&r--,i!==r&&(m.Rw.move(this._menus,i,r),n&&this.update())}removeMenu(e,t=!0){this.removeMenuAt(this._menus.indexOf(e),t)}removeMenuAt(e,t=!0){this._closeChildMenu();let n=m.Rw.removeAt(this._menus,e);n&&(n.aboutToClose.disconnect(this._onMenuAboutToClose,this),n.menuRequested.disconnect(this._onMenuMenuRequested,this),n.title.changed.disconnect(this._onTitleChanged,this),n.removeClass("lm-MenuBar-menu"),t&&this.update())}clearMenus(){if(0!==this._menus.length){this._closeChildMenu();for(let e of this._menus)e.aboutToClose.disconnect(this._onMenuAboutToClose,this),e.menuRequested.disconnect(this._onMenuMenuRequested,this),e.title.changed.disconnect(this._onTitleChanged,this),e.removeClass("lm-MenuBar-menu");this._menus.length=0,this.update()}}handleEvent(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"focusout":this._evtFocusOut(e);break;case"contextmenu":e.preventDefault(),e.stopPropagation()}}onBeforeAttach(e){this.node.addEventListener("keydown",this),this.node.addEventListener("mousedown",this),this.node.addEventListener("mousemove",this),this.node.addEventListener("focusout",this),this.node.addEventListener("contextmenu",this)}onAfterDetach(e){this.node.removeEventListener("keydown",this),this.node.removeEventListener("mousedown",this),this.node.removeEventListener("mousemove",this),this.node.removeEventListener("focusout",this),this.node.removeEventListener("contextmenu",this),this._closeChildMenu()}onActivateRequest(e){this.isAttached&&this._focusItemAt(0)}onResize(e){this.update(),super.onResize(e)}onUpdateRequest(e){var t;let n=this._menus,i=this.renderer,r=this._activeIndex,o=this._tabFocusIndex>=0&&this._tabFocusIndex<n.length?this._tabFocusIndex:0,s=this._overflowIndex>-1?this._overflowIndex:n.length,a=0,l=!1;s=null!==this._overflowMenu?s-1:s;let d=new Array(s);for(let e=0;e<s;++e)d[e]=i.renderItem({title:n[e].title,active:e===r,tabbable:e===o,disabled:0===n[e].items.length,onfocus:()=>{this._tabFocusIndex=e,this.activeIndex=e}}),a+=this._menuItemSizes[e],n[e].title.label===this._overflowMenuOptions.title&&(l=!0,s--);if(this._overflowMenuOptions.isVisible)if(this._overflowIndex>-1&&!l){if(null===this._overflowMenu){const e=null!==(t=this._overflowMenuOptions.title)&&void 0!==t?t:"...";this._overflowMenu=new Se({commands:new ne}),this._overflowMenu.title.label=e,this._overflowMenu.title.mnemonic=0,this.addMenu(this._overflowMenu,!1)}for(let e=n.length-2;e>=s;e--){const t=this.menus[e];t.title.mnemonic=0,this._overflowMenu.insertItem(0,{type:"submenu",submenu:t}),this.removeMenu(t,!1)}d[s]=i.renderItem({title:this._overflowMenu.title,active:s===r&&0!==n[s].items.length,tabbable:s===o,disabled:0===n[s].items.length,onfocus:()=>{this._tabFocusIndex=s,this.activeIndex=s}}),s++}else if(null!==this._overflowMenu){let e=this._overflowMenu.items,t=this.node.offsetWidth,r=this._overflowMenu.items.length;for(let l=0;l<r;++l){let r=n.length-1-l;if(t-a>this._menuItemSizes[r]){let t=e[0].submenu;this._overflowMenu.removeItemAt(0),this.insertMenu(s,t,!1),d[s]=i.renderItem({title:t.title,active:!1,tabbable:s===o,disabled:0===n[s].items.length,onfocus:()=>{this._tabFocusIndex=s,this.activeIndex=s}}),s++}}0===this._overflowMenu.items.length&&(this.removeMenu(this._overflowMenu,!1),d.pop(),this._overflowMenu=null,this._overflowIndex=-1)}J.render(d,this.contentNode),this._updateOverflowIndex()}_updateOverflowIndex(){if(!this._overflowMenuOptions.isVisible)return;const e=this.contentNode.childNodes;let t=this.node.offsetWidth,n=0,i=-1,r=e.length;if(0==this._menuItemSizes.length)for(let o=0;o<r;o++){let r=e[o];n+=r.offsetWidth,this._menuItemSizes.push(r.offsetWidth),n>t&&-1===i&&(i=o)}else for(let e=0;e<this._menuItemSizes.length;e++)if(n+=this._menuItemSizes[e],n>t){i=e;break}this._overflowIndex=i}_evtKeyDown(e){let t=e.keyCode;if(9===t)return void(this.activeIndex=-1);if(e.preventDefault(),e.stopPropagation(),13===t||32===t||38===t||40===t){if(this.activeIndex=this._tabFocusIndex,this.activeIndex!==this._tabFocusIndex)return;return void this.openActiveMenu()}if(27===t)return this._closeChildMenu(),void this._focusItemAt(this.activeIndex);if(37===t||39===t){let e=37===t?-1:1,n=this._tabFocusIndex+e,i=this._menus.length;for(let t=0;t<i;t++){let r=(i+n+e*t)%i;if(this._menus[r].items.length)return void this._focusItemAt(r)}return}let n=W().keyForKeydownEvent(e);if(!n)return;let i=this._activeIndex+1,r=Ne.findMnemonic(this._menus,n,i);-1===r.index||r.multiple?-1!==r.index?(this.activeIndex=r.index,this._focusItemAt(this.activeIndex)):-1!==r.auto&&(this.activeIndex=r.auto,this._focusItemAt(this.activeIndex)):(this.activeIndex=r.index,this.openActiveMenu())}_evtMouseDown(e){if(!x.hitTest(this.node,e.clientX,e.clientY))return;e.stopPropagation(),e.stopImmediatePropagation();let t=m.Rw.findFirstIndex(this.contentNode.children,(t=>x.hitTest(t,e.clientX,e.clientY)));if(-1!==t){if(0===e.button)if(this._childMenu)this._closeChildMenu(),this.activeIndex=t;else{e.preventDefault();const n=this._positionForMenu(t);Se.saveWindowData(),this.activeIndex=t,this._openChildMenu(n)}}else this._closeChildMenu()}_evtMouseMove(e){let t=m.Rw.findFirstIndex(this.contentNode.children,(t=>x.hitTest(t,e.clientX,e.clientY)));if(t===this._activeIndex)return;if(-1===t&&this._childMenu)return;const n=t>=0&&this._childMenu?this._positionForMenu(t):null;Se.saveWindowData(),this.activeIndex=t,n&&this._openChildMenu(n)}_positionForMenu(e){let t=this.contentNode.children[e],{left:n,bottom:i}=t.getBoundingClientRect();return{top:i,left:n}}_evtFocusOut(e){this._childMenu||this.node.contains(e.relatedTarget)||(this.activeIndex=-1)}_focusItemAt(e){const t=this.contentNode.childNodes[e];t&&t.focus()}_openChildMenu(e={}){let t=this.activeMenu;if(!t)return void this._closeChildMenu();let n=this._childMenu;if(n===t)return;this._childMenu=t,n?n.close():document.addEventListener("mousedown",this,!0),this._tabFocusIndex=this.activeIndex,S.sendMessage(this,le.Msg.UpdateRequest);let{left:i,top:r}=e;void 0!==i&&void 0!==r||({left:i,top:r}=this._positionForMenu(this._activeIndex)),n||this.addClass("lm-mod-active"),t.items.length>0&&t.open(i,r,this._forceItemsPosition)}_closeChildMenu(){if(!this._childMenu)return;this.removeClass("lm-mod-active"),document.removeEventListener("mousedown",this,!0);let e=this._childMenu;this._childMenu=null,e.close(),this.activeIndex=-1}_onMenuAboutToClose(e){e===this._childMenu&&(this.removeClass("lm-mod-active"),document.removeEventListener("mousedown",this,!0),this._childMenu=null,this.activeIndex=-1)}_onMenuMenuRequested(e,t){if(e!==this._childMenu)return;let n=this._activeIndex,i=this._menus.length;switch(t){case"next":this.activeIndex=n===i-1?0:n+1;break;case"previous":this.activeIndex=0===n?i-1:n-1}this.openActiveMenu()}_onTitleChanged(){this.update()}}!function(e){class t{renderItem(e){let t=this.createItemClass(e),n=this.createItemDataset(e),i=this.createItemARIA(e);return oe.li({className:t,dataset:n,...e.disabled?{}:{tabindex:e.tabbable?"0":"-1"},onfocus:e.onfocus,...i},this.renderIcon(e),this.renderLabel(e))}renderIcon(e){let t=this.createIconClass(e);return oe.div({className:t},e.title.icon,e.title.iconLabel)}renderLabel(e){let t=this.formatLabel(e);return oe.div({className:"lm-MenuBar-itemLabel"},t)}createItemClass(e){let t="lm-MenuBar-item";return e.title.className&&(t+=` ${e.title.className}`),e.active&&!e.disabled&&(t+=" lm-mod-active"),t}createItemDataset(e){return e.title.dataset}createItemARIA(e){return{role:"menuitem","aria-haspopup":"true","aria-disabled":e.disabled?"true":"false"}}createIconClass(e){let t="lm-MenuBar-itemIcon",n=e.title.iconClass;return n?`${t} ${n}`:t}formatLabel(e){let{label:t,mnemonic:n}=e.title;if(n<0||n>=t.length)return t;let i=t.slice(0,n),r=t.slice(n+1),o=t[n];return[i,oe.span({className:"lm-MenuBar-itemMnemonic"},o),r]}}e.Renderer=t,e.defaultRenderer=new t}(Ve||(Ve={})),function(e){e.createNode=function(){let e=document.createElement("div"),t=document.createElement("ul");return t.className="lm-MenuBar-content",e.appendChild(t),t.setAttribute("role","menubar"),e},e.findMnemonic=function(e,t,n){let i=-1,r=-1,o=!1,s=t.toUpperCase();for(let t=0,a=e.length;t<a;++t){let l=(t+n)%a,d=e[l].title;if(0===d.label.length)continue;let c=d.mnemonic;c>=0&&c<d.label.length?d.label[c].toUpperCase()===s&&(-1===i?i=l:o=!0):-1===r&&d.label[0].toUpperCase()===s&&(r=l)}return{index:i,multiple:o,auto:r}}}(Ne||(Ne={})),function(e){e.createNode=function(){let e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div"),r=document.createElement("div");return t.className="lm-ScrollBar-button",n.className="lm-ScrollBar-button",t.dataset.action="decrement",n.dataset.action="increment",i.className="lm-ScrollBar-track",r.className="lm-ScrollBar-thumb",i.appendChild(r),e.appendChild(t),e.appendChild(i),e.appendChild(n),e},e.findPart=function(e,t){return e.thumbNode.contains(t)?"thumb":e.trackNode.contains(t)?"track":e.decrementNode.contains(t)?"decrement":e.incrementNode.contains(t)?"increment":null}}(ze||(ze={})),Symbol.iterator;class Ge extends ue{constructor(e={}){super(e),this._dirty=!1,this._items=[],this._box=null,this._hiddenMode=void 0!==e.hiddenMode?e.hiddenMode:le.HiddenMode.Display}get hiddenMode(){return this._hiddenMode}set hiddenMode(e){this._hiddenMode!==e&&(this._hiddenMode=e,this.widgets.length>1&&this.widgets.forEach((e=>{e.hiddenMode=this._hiddenMode})))}dispose(){for(const e of this._items)e.dispose();this._box=null,this._items.length=0,super.dispose()}attachWidget(e,t){this._hiddenMode===le.HiddenMode.Scale&&this._items.length>0?(1===this._items.length&&(this.widgets[0].hiddenMode=le.HiddenMode.Scale),t.hiddenMode=le.HiddenMode.Scale):t.hiddenMode=le.HiddenMode.Display,m.Rw.insert(this._items,e,new ce(t)),this.parent.isAttached&&S.sendMessage(t,le.Msg.BeforeAttach),this.parent.node.appendChild(t.node),this.parent.isAttached&&S.sendMessage(t,le.Msg.AfterAttach),this.parent.fit()}moveWidget(e,t,n){m.Rw.move(this._items,e,t),this.parent.update()}detachWidget(e,t){let n=m.Rw.removeAt(this._items,e);this.parent.isAttached&&S.sendMessage(t,le.Msg.BeforeDetach),this.parent.node.removeChild(t.node),this.parent.isAttached&&S.sendMessage(t,le.Msg.AfterDetach),n.widget.node.style.zIndex="",this._hiddenMode===le.HiddenMode.Scale&&(t.hiddenMode=le.HiddenMode.Display,1===this._items.length&&(this._items[0].widget.hiddenMode=le.HiddenMode.Display)),n.dispose(),this.parent.fit()}onBeforeShow(e){super.onBeforeShow(e),this.parent.update()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}onChildShown(e){this.parent.fit()}onChildHidden(e){this.parent.fit()}onResize(e){this.parent.isVisible&&this._update(e.width,e.height)}onUpdateRequest(e){this.parent.isVisible&&this._update(-1,-1)}onFitRequest(e){this.parent.isAttached&&this._fit()}_fit(){let e=0,t=0;for(let n=0,i=this._items.length;n<i;++n){let i=this._items[n];i.isHidden||(i.fit(),e=Math.max(e,i.minWidth),t=Math.max(t,i.minHeight))}let n=this._box=x.boxSizing(this.parent.node);e+=n.horizontalSum,t+=n.verticalSum;let i=this.parent.node.style;i.minWidth=`${e}px`,i.minHeight=`${t}px`,this._dirty=!0,this.parent.parent&&S.sendMessage(this.parent.parent,le.Msg.FitRequest),this._dirty&&S.sendMessage(this.parent,le.Msg.UpdateRequest)}_update(e,t){this._dirty=!1;let n=0;for(let e=0,t=this._items.length;e<t;++e)n+=+!this._items[e].isHidden;if(0===n)return;e<0&&(e=this.parent.node.offsetWidth),t<0&&(t=this.parent.node.offsetHeight),this._box||(this._box=x.boxSizing(this.parent.node));let i=this._box.paddingTop,r=this._box.paddingLeft,o=e-this._box.horizontalSum,s=t-this._box.verticalSum;for(let e=0,t=this._items.length;e<t;++e){let t=this._items[e];t.isHidden||(t.widget.node.style.zIndex=`${e}`,t.update(r,i,o,s))}}}!function(e){e.createLayout=function(e){return e.layout||new Ge}}(Fe||(Fe={})),function(e){e.orientationFromPlacement=function(e){return t[e]},e.directionFromPlacement=function(e){return n[e]};const t={top:"horizontal",left:"vertical",right:"vertical",bottom:"horizontal"},n={top:"top-to-bottom",left:"left-to-right",right:"right-to-left",bottom:"bottom-to-top"}}(qe||(qe={}));class Ke{constructor(e){this._currentChanged=new g.Signal(this),this._deferred=null,this._isDisposed=!1,this._widgetAdded=new g.Signal(this),this._widgetUpdated=new g.Signal(this);const t=this._focusTracker=new He,n=this._pool=new I.RestorablePool(e);this.namespace=e.namespace,t.currentChanged.connect(((e,t)=>{t.newValue!==this.currentWidget&&(n.current=t.newValue)}),this),n.added.connect(((e,t)=>{this._widgetAdded.emit(t)}),this),n.currentChanged.connect(((e,i)=>{null===i&&t.currentWidget?n.current=t.currentWidget:(this.onCurrentChanged(i),this._currentChanged.emit(i))}),this),n.updated.connect(((e,t)=>{this._widgetUpdated.emit(t)}),this)}get currentChanged(){return this._currentChanged}get currentWidget(){return this._pool.current||null}get restored(){return this._deferred?Promise.resolve():this._pool.restored}get size(){return this._pool.size}get widgetAdded(){return this._widgetAdded}get widgetUpdated(){return this._widgetUpdated}async add(e){this._focusTracker.add(e),await this._pool.add(e),this._focusTracker.activeWidget||(this._pool.current=e)}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,this._pool.dispose(),this._focusTracker.dispose(),g.Signal.clearData(this))}find(e){return this._pool.find(e)}forEach(e){return this._pool.forEach(e)}filter(e){return this._pool.filter(e)}inject(e){return this._pool.inject(e)}has(e){return this._pool.has(e)}async restore(e){const t=this._deferred;return t?(this._deferred=null,this._pool.restore(t)):e?this._pool.restore(e):void console.warn("No options provided to restore the tracker.")}defer(e){this._deferred=e}async save(e){return this._pool.save(e)}onCurrentChanged(e){}}var Ye=__webpack_require__(7883);function Je(e){return e.replace("-","_")}class Xe{constructor(e){e=e||{},this._defaults={domain:"messages",locale:document.documentElement.getAttribute("lang")||"en",pluralFunc:function(e){return{nplurals:2,plural:1!=e?1:0}},contextDelimiter:String.fromCharCode(4),stringsPrefix:""},this._locale=(e.locale||this._defaults.locale).replace("_","-"),this._domain=Je(e.domain||this._defaults.domain),this._contextDelimiter=e.contextDelimiter||this._defaults.contextDelimiter,this._stringsPrefix=e.stringsPrefix||this._defaults.stringsPrefix,this._pluralFuncs={},this._dictionary={},this._pluralForms={},e.messages&&(this._dictionary[this._domain]={},this._dictionary[this._domain][this._locale]=e.messages),e.pluralForms&&(this._pluralForms[this._locale]=e.pluralForms)}setContextDelimiter(e){this._contextDelimiter=e}getContextDelimiter(){return this._contextDelimiter}setLocale(e){this._locale=e.replace("_","-")}getLocale(){return this._locale}setDomain(e){this._domain=Je(e)}getDomain(){return this._domain}setStringsPrefix(e){this._stringsPrefix=e}getStringsPrefix(){return this._stringsPrefix}static strfmt(e,...t){return e.replace(/%%/g,"%% ").replace(/%(\d+)/g,(function(e,n){return t[n-1]})).replace(/%% /g,"%")}loadJSON(e,t){if(!e[""]||!e[""].language||!e[""].pluralForms)throw new Error(`Wrong jsonData, it must have an empty key ("") with "language" and "pluralForms" information: ${e}`);t=Je(t);let n=e[""],i=JSON.parse(JSON.stringify(e));delete i[""],this.setMessages(t||this._defaults.domain,n.language,i,n.pluralForms)}__(e,...t){return this.gettext(e,...t)}_n(e,t,n,...i){return this.ngettext(e,t,n,...i)}_p(e,t,...n){return this.pgettext(e,t,...n)}_np(e,t,n,i,...r){return this.npgettext(e,t,n,i,...r)}gettext(e,...t){return this.dcnpgettext("","",e,"",0,...t)}ngettext(e,t,n,...i){return this.dcnpgettext("","",e,t,n,...i)}pgettext(e,t,...n){return this.dcnpgettext("",e,t,"",0,...n)}npgettext(e,t,n,i,...r){return this.dcnpgettext("",e,t,n,i,...r)}dcnpgettext(e,t,n,i,r,...o){let s;e=Je(e)||this._domain;let a=t?t+this._contextDelimiter+n:n,l={pluralForm:!1},d=!1,c=this._locale,u=this.expandLocale(this._locale);for(let t in u)if(c=u[t],d=this._dictionary[e]&&this._dictionary[e][c]&&this._dictionary[e][c][a],d=i?d&&this._dictionary[e][c][a].length>1:d&&1==this._dictionary[e][c][a].length,d){l.locale=c;break}if(d?s=this._dictionary[e][c][a]:(s=[n],l.pluralFunc=this._defaults.pluralFunc),!i)return this.t(s,r,l,...o);l.pluralForm=!0;let h=d?s:[n,i];return this.t(h,r,l,...o)}expandLocale(e){let t=[e],n=e.lastIndexOf("-");for(;n>0;)e=e.slice(0,n),t.push(e),n=e.lastIndexOf("-");return t}getPluralFunc(e){if(!new RegExp("^\\s*nplurals\\s*=\\s*[0-9]+\\s*;\\s*plural\\s*=\\s*(?:\\s|[-\\?\\|&=!<>+*/%:;n0-9_()])+").test(e))throw new Error(Xe.strfmt('The plural form "%1" is not valid',e));return new Function("n","let plural, nplurals; "+e+" return { nplurals: nplurals, plural: (plural === true ? 1 : (plural ? plural : 0)) };")}removeContext(e){return-1!==e.indexOf(this._contextDelimiter)?e.split(this._contextDelimiter)[1]:e}t(e,t,n,...i){if(!n.pluralForm)return this._stringsPrefix+Xe.strfmt(this.removeContext(e[0]),...i);let r;return n.pluralFunc?r=n.pluralFunc(t):(this._pluralFuncs[n.locale||""]||(this._pluralFuncs[n.locale||""]=this.getPluralFunc(this._pluralForms[n.locale||""])),r=this._pluralFuncs[n.locale||""](t)),(void 0===!r.plural||r.plural>r.nplurals||e.length<=r.plural)&&(r.plural=0),this._stringsPrefix+Xe.strfmt(this.removeContext(e[r.plural]),...[t].concat(i))}setMessages(e,t,n,i){e=Je(e),i&&(this._pluralForms[t]=i),this._dictionary[e]||(this._dictionary[e]={}),this._dictionary[e][t]=n}}const Ze=new class{constructor(e){this.languageCode="en",this._languageBundle=e}load(e){return this._languageBundle}}(new class{__(e,...t){return this.gettext(e,...t)}_n(e,t,n,...i){return this.ngettext(e,t,n,...i)}_p(e,t,...n){return this.pgettext(e,t,...n)}_np(e,t,n,i,...r){return this.npgettext(e,t,n,i,...r)}gettext(e,...t){return Xe.strfmt(e,...t)}ngettext(e,t,n,...i){return Xe.strfmt(1==n?e:t,...[n].concat(i))}pgettext(e,t,...n){return Xe.strfmt(t,...n)}npgettext(e,t,n,i,...r){return this.ngettext(t,n,i,...r)}dcnpgettext(e,t,n,i,r,...o){return this.ngettext(n,i,r,...o)}});var Qe=__webpack_require__(8925);new s.Token("@jupyterlab/translation:ITranslatorConnector","A service to connect to the server translation endpoint."),I.DataConnector,new s.Token("@jupyterlab/translation:ITranslator","A service to translate strings.");const et="jp-OutputArea-child",tt="jp-OutputArea-output",nt="jp-OutputArea-prompt";class it extends le{constructor(e){var t,n,i,r;super(),this.outputLengthChanged=new g.Signal(this),this._onIOPub=e=>{const t=this.model,n=e.header.msg_type;let i;const r=(e.content.transient||{}).display_id;let o;switch(n){case"execute_result":case"display_data":case"stream":case"error":i={...e.content,output_type:n},t.add(i);break;case"clear_output":{const n=e.content.wait;t.clear(n);break}case"update_display_data":if(i={...e.content,output_type:"display_data"},o=this._displayIdMap.get(r),o)for(const e of o)t.set(e,i);break;case"status":"idle"===e.content.execution_state&&(this._pendingInput=!1)}r&&"display_data"===n&&(o=this._displayIdMap.get(r)||[],o.push(t.length-1),this._displayIdMap.set(r,o))},this._onExecuteReply=e=>{const t=this.model,n=e.content;if("ok"!==n.status)return;const i=n&&n.payload;if(!i||!i.length)return;const r=i.filter((e=>"page"===e.source));if(!r.length)return;const o={output_type:"display_data",data:JSON.parse(JSON.stringify(r[0])).data,metadata:{}};t.add(o)},this._displayIdMap=new Map,this._minHeightTimeout=null,this._inputRequested=new g.Signal(this),this._toggleScrolling=new g.Signal(this),this._initialize=new g.Signal(this),this._outputTracker=new Ke({namespace:s.UUID.uuid4()}),this._inputHistoryScope="global",this._pendingInput=!1,super.layout=new ue,this.addClass("jp-OutputArea"),this.contentFactory=null!==(t=e.contentFactory)&&void 0!==t?t:it.defaultContentFactory,this.rendermime=e.rendermime,this._maxNumberOutputs=null!==(n=e.maxNumberOutputs)&&void 0!==n?n:1/0,this._translator=null!==(i=e.translator)&&void 0!==i?i:Ze,this._inputHistoryScope=null!==(r=e.inputHistoryScope)&&void 0!==r?r:"global";const o=this.model=e.model;for(let e=0;e<Math.min(o.length,this._maxNumberOutputs+1);e++){const t=o.get(e);this._insertOutput(e,t)}o.changed.connect(this.onModelChanged,this),o.stateChanged.connect(this.onStateChanged,this),e.promptOverlay&&this._addPromptOverlay()}get layout(){return super.layout}get widgets(){return this.layout.widgets}get future(){return this._future}set future(e){if(this.model.isDisposed)throw Error("Model is disposed");this._future!==e&&(this._future&&this._future.dispose(),this._future=e,e.done.finally((()=>{this._pendingInput=!1})).catch((()=>{})),this.model.clear(),this.widgets.length&&(this._clear(),this.outputLengthChanged.emit(Math.min(this.model.length,this._maxNumberOutputs))),e.onIOPub=this._onIOPub,e.onReply=this._onExecuteReply,e.onStdin=t=>{Ye.KernelMessage.isInputRequestMsg(t)&&this.onInputRequest(t,e)})}get inputRequested(){return this._inputRequested}get pendingInput(){return this._pendingInput}get maxNumberOutputs(){return this._maxNumberOutputs}set maxNumberOutputs(e){if(e<=0)return void console.warn("OutputArea.maxNumberOutputs must be strictly positive.");const t=this._maxNumberOutputs;this._maxNumberOutputs=e,t<e&&this._showTrimmedOutputs(t)}dispose(){this._future&&(this._future.dispose(),this._future=null),this._displayIdMap.clear(),this._outputTracker.dispose(),super.dispose()}onModelChanged(e,t){switch(t.type){case"add":this._insertOutput(t.newIndex,t.newValues[0]);break;case"remove":if(this.widgets.length)if(0===this.model.length)this._clear();else{const e=t.oldIndex;for(let n=0;n<t.oldValues.length&&e<this.widgets.length;++n){const t=this.widgets[e];t.parent=null,t.dispose()}this._moveDisplayIdIndices(e,t.oldValues.length),this._preventHeightChangeJitter()}break;case"set":this._setOutput(t.newIndex,t.newValues[0])}this.outputLengthChanged.emit(Math.min(this.model.length,this._maxNumberOutputs))}get toggleScrolling(){return this._toggleScrolling}get initialize(){return this._initialize}_addPromptOverlay(){const e=document.createElement("div");e.className="jp-OutputArea-promptOverlay",e.addEventListener("click",(()=>{this._toggleScrolling.emit()})),this.node.appendChild(e),requestAnimationFrame((()=>{this._initialize.emit()}))}_moveDisplayIdIndices(e,t){this._displayIdMap.forEach((n=>{const i=e+t;for(let r=n.length-1;r>=0;--r){const o=n[r];o>=e&&o<i?n.splice(r,1):o>=i&&(n[r]-=t)}}))}onStateChanged(e,t){const n=Math.min(this.model.length,this._maxNumberOutputs);if(t){if(t>=this._maxNumberOutputs)return;this._setOutput(t,this.model.get(t))}else for(let e=0;e<n;e++)this._setOutput(e,this.model.get(e));this.outputLengthChanged.emit(n)}_clear(){if(!this.widgets.length)return;const e=this.widgets.length;for(let t=0;t<e;t++){const e=this.widgets[0];e.parent=null,e.dispose()}this._displayIdMap.clear(),this._preventHeightChangeJitter()}_preventHeightChangeJitter(){const e=this.node.getBoundingClientRect();this.node.style.minHeight=`${e.height}px`,this._minHeightTimeout&&window.clearTimeout(this._minHeightTimeout),this._minHeightTimeout=window.setTimeout((()=>{this.isDisposed||(this.node.style.minHeight="")}),50)}onInputRequest(e,t){const n=this.contentFactory,i=e.content.prompt,r=e.content.password,o=new Ee;o.addClass(et),o.addClass("jp-OutputArea-stdin-item");const s=n.createOutputPrompt();s.addClass(nt),o.addWidget(s),this._pendingInput=!0;const a=n.createStdin({parent_header:e.header,prompt:i,password:r,future:t,translator:this._translator,inputHistoryScope:this._inputHistoryScope});a.addClass(tt),o.addWidget(a),this.model.length>=this.maxNumberOutputs&&(this.maxNumberOutputs=this.model.length),this._inputRequested.emit(a);const l=a.node.getElementsByTagName("input")[0];a.value.then((e=>{this.model.length>=this.maxNumberOutputs&&(this.maxNumberOutputs=this.model.length+1),o.addClass("jp-OutputArea-stdin-hiding"),this.model.add({output_type:"stream",name:"stdin",text:e+"\n"}),l.focus(),this._pendingInput=!1,window.setTimeout((()=>{const e=document.activeElement;o.dispose(),e&&e instanceof HTMLElement&&e.focus()}),500)})),this.layout.addWidget(o)}_setOutput(e,t){if(e>=this._maxNumberOutputs)return;const n=this.layout.widgets[e],i=n.widgets?n.widgets.filter((e=>"renderModel"in e)).pop():n,r=this.rendermime.preferredMimeType(t.data,t.trusted?"any":"ensure");st.currentPreferredMimetype.get(i)===r&&it.isIsolated(r,t.metadata)===i instanceof st.IsolatedRenderer?i.renderModel(t):(this.layout.widgets[e].dispose(),this._insertOutput(e,t))}_insertOutput(e,t){if(e>this._maxNumberOutputs)return;const n=this.layout;if(e===this._maxNumberOutputs){const t=new st.TrimmedOutputs(this._maxNumberOutputs,(()=>{const e=this._maxNumberOutputs;this._maxNumberOutputs=1/0,this._showTrimmedOutputs(e)}));n.insertWidget(e,this._wrappedOutput(t))}else{let i=this.createOutputItem(t);i?i.toggleClass("jp-OutputArea-executeResult",null!==t.executionCount):i=new le,this._outputTracker.has(i)||this._outputTracker.add(i),n.insertWidget(e,i)}}get outputTracker(){return this._outputTracker}_showTrimmedOutputs(e){this.widgets[e].dispose();for(let t=e;t<this.model.length;t++)this._insertOutput(t,this.model.get(t));this.outputLengthChanged.emit(Math.min(this.model.length,this._maxNumberOutputs))}createOutputItem(e){const t=this.createRenderedMimetype(e);return t?this._wrappedOutput(t,e.executionCount):null}createRenderedMimetype(e){const t=this.rendermime.preferredMimeType(e.data,e.trusted?"any":"ensure");if(!t)return null;let n=this.rendermime.createRenderer(t);return!0===it.isIsolated(t,e.metadata)&&(n=new st.IsolatedRenderer(n)),st.currentPreferredMimetype.set(n,t),n.renderModel(e).catch((e=>{const t=document.createElement("pre"),i=this._translator.load("jupyterlab");t.textContent=i.__("Javascript Error: %1",e.message),n.node.appendChild(t),n.node.className="lm-Widget jp-RenderedText",n.node.setAttribute("data-mime-type","application/vnd.jupyter.stderr")})),n}_wrappedOutput(e,t=null){const n=new st.OutputPanel;n.addClass(et);const i=this.contentFactory.createOutputPrompt();return i.executionCount=t,i.addClass(nt),n.addWidget(i),e.addClass(tt),n.addWidget(e),n}}!function(e){e.execute=async function(e,t,n,i){var r;let o=!0;i&&Array.isArray(i.tags)&&-1!==i.tags.indexOf("raises-exception")&&(o=!1);const s={code:e,stop_on_error:o},a=null===(r=n.session)||void 0===r?void 0:r.kernel;if(!a)throw new Error("Session has no kernel.");const l=a.requestExecute(s,!1,i);return t.future=l,l.done},e.isIsolated=function(e,t){const n=t[e];return n&&void 0!==n.isolated?!!n.isolated:!!t.isolated};class t{createOutputPrompt(){return new rt}createStdin(e){return new ot(e)}}e.ContentFactory=t,e.defaultContentFactory=new t}(it||(it={}));class rt extends le{constructor(){super(),this._executionCount=null,this.addClass("jp-OutputPrompt")}get executionCount(){return this._executionCount}set executionCount(e){this._executionCount=e,this.node.textContent=null===e?"":`[${e}]:`}}class ot extends le{static _historyIx(e,t){const n=ot._history.get(e);if(!n)return;const i=n.length;return t<=0?i+t:void 0}static _historyAt(e,t){const n=ot._history.get(e);if(!n)return;const i=n.length,r=ot._historyIx(e,t);return void 0!==r&&r<i?n[r]:void 0}static _historyPush(e,t){const n=ot._history.get(e);n.push(t),n.length>1e3&&n.shift()}static _historySearch(e,t,n,i=!0){const r=ot._history.get(e),o=r.length,s=ot._historyIx(e,n),a=e=>-1!==e.search(t);if(void 0!==s)if(i){if(0===s)return;const e=r.slice(0,s).findLastIndex(a);if(-1!==e)return e-o}else{if(s>=o-1)return;const e=r.slice(s+1).findIndex(a);if(-1!==e)return e-o+s+1}}constructor(e){var t;super({node:st.createInputWidgetNode(e.prompt,e.password)}),this._promise=new s.PromiseDelegate,this._resolved=!1,this.addClass("jp-Stdin"),this._future=e.future,this._historyIndex=0,this._historyKey="session"===e.inputHistoryScope?e.parent_header.session:"",this._historyPat="",this._parentHeader=e.parent_header,this._password=e.password,this._trans=(null!==(t=e.translator)&&void 0!==t?t:Ze).load("jupyterlab"),this._value=e.prompt+" ",this._input=this.node.getElementsByTagName("input")[0],this._password?this._input.placeholder="":this._input.placeholder=this._trans.__("↑↓ for history. Search history with c-↑/c-↓"),ot._history.has(this._historyKey)||ot._history.set(this._historyKey,[])}get value(){return this._promise.promise.then((()=>this._value))}handleEvent(e){if(this._resolved)return void e.preventDefault();const t=this._input;if("keydown"===e.type)if("Enter"===e.key)this.resetSearch(),this._future.sendInputReply({status:"ok",value:t.value},this._parentHeader),this._password?this._value+="········":(this._value+=t.value,ot._historyPush(this._historyKey,t.value)),this._resolved=!0,this._promise.resolve(void 0);else if("Escape"===e.key)this.resetSearch(),t.blur();else if(!e.ctrlKey||"ArrowUp"!==e.key&&"ArrowDown"!==e.key){if("ArrowUp"===e.key){this.resetSearch();const n=ot._historyAt(this._historyKey,this._historyIndex-1);n&&(0===this._historyIndex&&(this._valueCache=t.value),this._setInputValue(n),--this._historyIndex,e.preventDefault())}else if("ArrowDown"===e.key)if(this.resetSearch(),0===this._historyIndex);else if(-1===this._historyIndex)this._setInputValue(this._valueCache),++this._historyIndex;else{const e=ot._historyAt(this._historyKey,this._historyIndex+1);e&&(this._setInputValue(e),++this._historyIndex)}}else{""===this._historyPat&&(this._historyPat=t.value);const n="ArrowUp"===e.key,i=ot._historySearch(this._historyKey,this._historyPat,this._historyIndex,n);if(void 0!==i){const n=ot._historyAt(this._historyKey,i);void 0!==n&&(0===this._historyIndex&&(this._valueCache=t.value),this._setInputValue(n),this._historyIndex=i,e.preventDefault())}}}resetSearch(){this._historyPat=""}onAfterAttach(e){this._input.addEventListener("keydown",this),this._input.focus()}onBeforeDetach(e){this._input.removeEventListener("keydown",this)}_setInputValue(e){this._input.value=e,this._input.setSelectionRange(e.length,e.length)}}var st;ot._history=new Map,function(e){e.createInputWidgetNode=function(e,t){const n=document.createElement("div"),i=document.createElement("pre");i.className="jp-Stdin-prompt",i.textContent=e;const r=document.createElement("input");return r.className="jp-Stdin-input",t&&(r.type="password"),n.appendChild(i),i.appendChild(r),n},e.IsolatedRenderer=class extends le{constructor(e){super({node:document.createElement("iframe")}),this.addClass("jp-mod-isolated"),this._wrapped=e;const t=this.node;t.frameBorder="0",t.scrolling="auto",t.addEventListener("load",(()=>{t.contentDocument.open(),t.contentDocument.write(this._wrapped.node.innerHTML),t.contentDocument.close();const e=t.contentDocument.body;t.style.height=`${e.scrollHeight}px`,t.heightChangeObserver=new ResizeObserver((()=>{t.style.height=`${e.scrollHeight}px`})),t.heightChangeObserver.observe(e)}))}renderModel(e){return this._wrapped.renderModel(e)}},e.currentPreferredMimetype=new U.AttachedProperty({name:"preferredMimetype",create:e=>""}),e.OutputPanel=class extends Ee{constructor(e){super(e)}_onContext(e){this.node.focus()}onAfterAttach(e){super.onAfterAttach(e),this.node.addEventListener("contextmenu",this._onContext.bind(this))}onBeforeDetach(e){super.onAfterDetach(e),this.node.removeEventListener("contextmenu",this._onContext.bind(this))}},e.TrimmedOutputs=class extends le{constructor(e,t){const n=document.createElement("div"),i=`The first ${e} are displayed`;n.insertAdjacentHTML("afterbegin",`<a title=${i}>\n <pre>Show more outputs</pre>\n </a>`),super({node:n}),this._onClick=t,this.addClass("jp-TrimmedOutputs"),this.addClass("jp-RenderedHTMLCommon")}handleEvent(e){"click"===e.type&&this._onClick(e)}onAfterAttach(e){super.onAfterAttach(e),this.node.addEventListener("click",this)}onBeforeDetach(e){super.onBeforeDetach(e),this.node.removeEventListener("click",this)}}}(st||(st={}));var at=__webpack_require__(4651),lt=__webpack_require__.n(at),dt=__webpack_require__(2591),ct=__webpack_require__.n(dt),ut=__webpack_require__(1740),ht=__webpack_require__.n(ut),ft=__webpack_require__(8128),pt=__webpack_require__.n(ft),At=__webpack_require__(855),mt=__webpack_require__.n(At),gt=__webpack_require__(3051),bt=__webpack_require__.n(gt),vt=__webpack_require__(3656),Ct=__webpack_require__.n(vt),yt=__webpack_require__(3450),wt={};wt.styleTagTransform=Ct(),wt.setAttributes=mt(),wt.insert=pt().bind(null,"head"),wt.domAPI=ht(),wt.insertStyleElement=bt(),ct()(yt.A,wt),yt.A&&yt.A.locals&&yt.A.locals;class _t extends r{defaults(){return Object.assign(Object.assign({},super.defaults()),{msg_id:"",outputs:[]})}initialize(e,t){super.initialize(e,t),this._outputs=new B({trusted:!0}),this.listenTo(this,"change:outputs",this.setOutputs),this.setOutputs()}get outputs(){return this._outputs}clear_output(e=!1){this._outputs.clear(e)}setOutputs(e,t,n){n&&n.newMessage||(this.clear_output(),this._outputs.fromJSON(JSON.parse(JSON.stringify(this.get("outputs")))))}}class Bt extends o{_createElement(e){return this.luminoWidget=new n.JupyterLuminoPanelWidget({view:this}),this.luminoWidget.node}_setElement(e){if(this.el||e!==this.luminoWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.luminoWidget.node,this.$el=lt()(this.luminoWidget.node)}render(){super.render(),this._outputView=new it({rendermime:this.model.widget_manager.renderMime,model:this.model.outputs}),this.luminoWidget.insertWidget(0,this._outputView),this.luminoWidget.addClass("jupyter-widgets"),this.luminoWidget.addClass("widget-output"),this.update()}remove(){return this._outputView.dispose(),super.remove()}}var Et=__webpack_require__(7991);function xt(e){const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2)t[n/2]=parseInt(e.slice(n,n+2),16);return t.buffer}function kt(e){return(0,Et.iI)(new Uint8Array(e))}function Tt(e){return(0,Et.bg)(e).buffer}const jt=/(\$\$?|\\(?:begin|end)\{[a-z]*\*?\}|\\[{}$]|[{}]|(?:\n\s*)+|@@\d+@@|\\\\(?:\(|\)|\[|\]))/i;function Dt(e,t,n,i,r){let o=r.slice(e,t+1).join("").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");for(navigator&&"Microsoft Internet Explorer"===navigator.appName&&(o=o.replace(/(%[^\n]*)\n/g,"$1<br/>\n"));t>e;)r[t]="",t--;return r[e]="@@"+i.length+"@@",n&&(o=n(o)),i.push(o),r}var St=__webpack_require__(7521),It=__webpack_require__.n(St);const Mt=n.PROTOCOL_VERSION.split(".",1)[0];class Pt{constructor(){this.comm_target_name="jupyter.widget",this._models=Object.create(null)}setViewOptions(e={}){return e}create_view(e,t={}){const i=(0,n.uuid)(),r=e.state_change=e.state_change.then((async()=>{const r=e.get("_view_name"),o=e.get("_view_module");try{const n=new(await this.loadViewClass(r,o,e.get("_view_module_version")))({model:e,options:this.setViewOptions(t)});return n.listenTo(e,"destroy",n.remove),await n.render(),n.once("remove",(()=>{e.views&&delete e.views[i]})),n}catch(i){console.error(`Could not create a view for model id ${e.model_id}`);const s=`Failed to create view for '${r}' from module '${o}' with model '${e.name}' from module '${e.module}'`,a=new(n.createErrorWidgetModel(i,s)),l=new n.ErrorWidgetView({model:a,options:this.setViewOptions(t)});return await l.render(),l}}));return e.views&&(e.views[i]=r),r}callbacks(e){return{}}async get_model(e){const t=this._models[e];if(void 0===t)throw new Error("widget model not found");return t}has_model(e){return void 0!==this._models[e]}handle_comm_open(e,t){const i=(t.metadata||{}).version||"";if(i.split(".",1)[0]!==Mt){const e=`Wrong widget protocol version: received protocol version '${i}', but was expecting major version '${Mt}'`;return console.error(e),Promise.reject(e)}const r=t.content.data,o=r.buffer_paths||[],s=t.buffers||[];return(0,n.put_buffers)(r.state,o,s),this.new_model({model_name:r.state._model_name,model_module:r.state._model_module,model_module_version:r.state._model_module_version,comm:e},r.state).catch((0,n.reject)("Could not create a model.",!0))}new_widget(e,t={}){let i;if(void 0===e.view_name||void 0===e.view_module||void 0===e.view_module_version)return Promise.reject("new_widget(...) must be given view information in the options.");i=e.comm?Promise.resolve(e.comm):this._create_comm(this.comm_target_name,e.model_id,{state:{_model_module:e.model_module,_model_module_version:e.model_module_version,_model_name:e.model_name,_view_module:e.view_module,_view_module_version:e.view_module_version,_view_name:e.view_name}},{version:n.PROTOCOL_VERSION});const r=Object.assign({},e);return i.then((e=>(r.comm=e,this.new_model(r,t).then((e=>(e.sync("create",e),e))))),(()=>(r.model_id||(r.model_id=(0,n.uuid)()),this.new_model(r,t))))}register_model(e,t){this._models[e]=t,t.then((t=>{t.once("comm:close",(()=>{delete this._models[e]}))}))}async new_model(e,t={}){var n,i;const r=null!==(n=e.model_id)&&void 0!==n?n:null===(i=e.comm)||void 0===i?void 0:i.comm_id;if(!r)throw new Error("Neither comm nor model_id provided in options object. At least one must exist.");e.model_id=r;const o=this._make_model(e,t);return this.register_model(r,o),await o}async _loadFromKernel(){let e,t;try{const i=await this._create_comm("jupyter.widget.control",(0,n.uuid)(),{},{version:"1.0.0"});await new Promise(((n,r)=>{i.on_msg((i=>{e=i.content.data,"update_states"===e.method?(t=(i.buffers||[]).map((e=>e instanceof DataView?e:new DataView(e instanceof ArrayBuffer?e:e.buffer))),n(null)):console.warn(`\n Unknown ${e.method} message on the Control channel\n `)})),i.on_close((()=>r("Control comm was closed too early"))),i.send({method:"request_states"},{}),setTimeout((()=>r("Control comm did not respond in time")),4e3)})),i.close()}catch(e){return this._loadFromKernelModels()}const i=e.states,r={},o={};for(let n=0;n<e.buffer_paths.length;n++){const[i,...s]=e.buffer_paths[n],a=t[n];r[i]||(r[i]=[],o[i]=[]),r[i].push(s),o[i].push(a)}const s=await Promise.all(Object.keys(i).map((async e=>({widget_id:e,comm:this.has_model(e)?void 0:await this._create_comm("jupyter.widget",e)}))));await Promise.all(s.map((async({widget_id:e,comm:t})=>{const s=i[e];e in r&&(0,n.put_buffers)(s,r[e],o[e]);try{if(t)await this.new_model({model_name:s.model_name,model_module:s.model_module,model_module_version:s.model_module_version,model_id:e,comm:t},s.state);else{const t=await this.get_model(e),n=await t.constructor._deserialize_state(s.state,this);t.set_state(n)}}catch(e){console.error(e)}})))}async _loadFromKernelModels(){const e=await this._get_comm_info(),t=await Promise.all(Object.keys(e).map((async e=>{if(this.has_model(e))return;const t=await this._create_comm(this.comm_target_name,e);let i="";const r=new s.PromiseDelegate;return t.on_msg((e=>{if(e.parent_header.msg_id===i&&"comm_msg"===e.header.msg_type&&"update"===e.content.data.method){const i=e.content.data,o=i.buffer_paths||[],s=e.buffers||[];(0,n.put_buffers)(i.state,o,s),r.resolve({comm:t,msg:e})}})),i=t.send({method:"request_state"},this.callbacks(void 0)),r.promise})));await Promise.all(t.map((async e=>{if(!e)return;const t=e.msg.content;await this.new_model({model_name:t.data.state._model_name,model_module:t.data.state._model_module,model_module_version:t.data.state._model_module_version,comm:e.comm},t.data.state)})))}async _make_model(e,t={}){const i=e.model_id,r=this.loadModelClass(e.model_name,e.model_module,e.model_module_version);let o;const s=(e,t)=>new(n.createErrorWidgetModel(e,t));try{o=await r}catch(e){const t="Could not instantiate widget";return console.error(t),s(e,t)}if(!o){const t="Could not instantiate widget";return console.error(t),s(new Error(`Cannot find model module ${e.model_module}@${e.model_module_version}, ${e.model_name}`),t)}let a;try{const n=await o._deserialize_state(t,this);a=new o(n,{widget_manager:this,model_id:i,comm:e.comm})}catch(t){console.error(t),a=s(t,`Model class '${e.model_name}' from module '${e.model_module}' is loaded but can not be instantiated`)}return a.name=e.model_name,a.module=e.model_module,a}clear_state(){return(0,n.resolvePromisesDict)(this._models).then((e=>{Object.keys(e).forEach((t=>e[t].close())),this._models=Object.create(null)}))}get_state(e={}){const t=Object.keys(this._models).map((e=>this._models[e]));return Promise.all(t).then((t=>function(e,t={}){const i={};return e.forEach((e=>{const r=e.model_id,o=(0,n.remove_buffers)(e.serialize(e.get_state(t.drop_defaults))),s=o.buffers.map(((e,t)=>({data:kt(e),path:o.buffer_paths[t],encoding:"base64"})));i[r]={model_name:e.name,model_module:e.module,model_module_version:e.get("_model_module_version"),state:o.state},s.length>0&&(i[r].buffers=s)})),{version_major:2,version_minor:0,state:i}}(t,e)))}set_state(e){if(!(e.version_major&&e.version_major<=2))throw"Unsupported widget state format";const t=e.state;return this._get_comm_info().then((e=>Promise.all(Object.keys(t).map((i=>{const r={base64:Tt,hex:xt},o=t[i],s=o.state;if(o.buffers){const e=o.buffers.map((e=>e.path)),t=o.buffers.map((e=>new DataView(r[e.encoding](e.data))));(0,n.put_buffers)(o.state,e,t)}if(this.has_model(i))return this.get_model(i).then((e=>e.constructor._deserialize_state(s||{},this).then((t=>(e.set_state(t),e)))));const a={model_id:i,model_name:o.model_name,model_module:o.model_module,model_module_version:o.model_module_version};return Object.prototype.hasOwnProperty.call(e,"model_id")?this._create_comm(this.comm_target_name,i).then((e=>(a.comm=e,this.new_model(a)))):this.new_model(a,s)})))))}disconnect(){Object.keys(this._models).forEach((e=>{this._models[e].then((e=>{e.comm_live=!1}))}))}resolveUrl(e){return Promise.resolve(e)}inline_sanitize(e){const t=function(e){const t=[];let n,i=null,r=null,o=null,s=0;/`/.test(e)?(e=e.replace(/~/g,"~T").replace(/(^|[^\\])(`+)([^\n]*?[^`\n])\2(?!`)/gm,(e=>e.replace(/\$/g,"~D"))),n=e=>e.replace(/~([TD])/g,((e,t)=>"T"===t?"~":"$"))):n=e=>e;let a=e.replace(/\r\n?/g,"\n").split(jt);for(let e=1,l=a.length;e<l;e+=2){const l=a[e];"@"===l.charAt(0)?(a[e]="@@"+t.length+"@@",t.push(l)):null!==i?l===r?s?o=e:(a=Dt(i,e,n,t,a),i=null,r=null,o=null):l.match(/\n.*\n/)?(null!==o&&(e=o,a=Dt(i,e,n,t,a)),i=null,r=null,o=null,s=0):"{"===l?s++:"}"===l&&s&&s--:"$"===l||"$$"===l?(i=e,r=l,s=0):"\\\\("===l||"\\\\["===l?(i=e,r="("===l.slice(-1)?"\\\\)":"\\\\]",s=0):"begin"===l.substr(1,5)&&(i=e,r="\\end"+l.substr(6),s=0)}return null!==i&&null!==o&&(a=Dt(i,o,n,t,a),i=null,r=null,o=null),{text:n(a.join("")),math:t}}(e);var n,i,r;return i=(n=t.text,It()(n,{allowedTags:["a","abbr","b","code","em","i","img","li","ol","span","strong","ul"],allowedAttributes:{"*":["aria-*","class","style","title"],a:["href"],img:["src"],style:["media","type"]}})),r=t.math,i.replace(/@@(\d+)@@/g,((e,t)=>{let n=r[t];return"\\\\("===n.substr(0,3)&&"\\\\)"===n.substr(n.length-3)?n="\\("+n.substring(3,n.length-3)+"\\)":"\\\\["===n.substr(0,3)&&"\\\\]"===n.substr(n.length-3)&&(n="\\["+n.substring(3,n.length-3)+"\\]"),n}))}async loadModelClass(e,t,i){try{const n=this.loadClass(e,t,i);return await n,n}catch(i){console.error(i);const r=`Failed to load model class '${e}' from module '${t}'`;return n.createErrorWidgetModel(i,r)}}async loadViewClass(e,t,i){try{const n=this.loadClass(e,t,i);return await n,n}catch(i){console.error(i);const r=`Failed to load view class '${e}' from module '${t}'`;return n.createErrorWidgetView(i,r)}}filterExistingModelState(e){let t=e.state;return t=Object.keys(t).filter((e=>!this.has_model(e))).reduce(((e,n)=>(e[n]=t[n],e)),{}),Object.assign(Object.assign({},e),{state:t})}}var Rt,Ot,Lt=__webpack_require__(9640),Nt=__webpack_require__(1622),zt=__webpack_require__.n(Nt);class Ft{static reg(e){return new RegExp("^"+e+"$","i")}}Ft.N={integer:"[+-]?[0-9]+",integer_pos:"[+]?[0-9]+",integer_zero_ff:"([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",number:"[+-]?([0-9]*[.])?[0-9]+(e-?[0-9]*)?",number_pos:"[+]?([0-9]*[.])?[0-9]+(e-?[0-9]*)?",number_zero_hundred:"[+]?(([0-9]|[1-9][0-9])([.][0-9]+)?|100)",number_zero_one:"[+]?(1([.][0]+)?|0?([.][0-9]+)?)"},Ft.B={angle:`(${Ft.N.number}(deg|rad|grad|turn)|0)`,frequency:`${Ft.N.number}(Hz|kHz)`,ident:String.raw`-?([_a-z]|[\xA0-\xFF]|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])([_a-z0-9-]|[\xA0-\xFF]|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])*`,len_or_perc:`(0|${Ft.N.number}(px|em|rem|ex|in|cm|mm|pt|pc|%))`,length:`(${Ft.N.number}(px|em|rem|ex|in|cm|mm|pt|pc)|0)`,length_pos:`(${Ft.N.number_pos}(px|em|rem|ex|in|cm|mm|pt|pc)|0)`,percentage:`${Ft.N.number}%`,percentage_pos:`${Ft.N.number_pos}%`,percentage_zero_hundred:`${Ft.N.number_zero_hundred}%`,string:String.raw`(\"([^\n\r\f\\"]|\\\n|\r\n|\r|\f|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])*\")|(\'([^\n\r\f\\']|\\\n|\r\n|\r|\f|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])*\')`,time:`${Ft.N.number}(s|ms)`,url:"url\\(.*?\\)",z_index:"[+-]?[0-9]{1,7}"},Ft.A={absolute_size:"xx-small|x-small|small|medium|large|x-large|xx-large",attachment:"scroll|fixed|local",bg_origin:"border-box|padding-box|content-box",border_style:"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset",box:"border-box|padding-box|content-box",display_inside:"auto|block|table|flex|grid",display_outside:"block-level|inline-level|none|table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption",ending_shape:"circle|ellipse",generic_family:"serif|sans-serif|cursive|fantasy|monospace",generic_voice:"male|female|child",relative_size:"smaller|larger",repeat_style:"repeat-x|repeat-y|((?:repeat|space|round|no-repeat)(?:\\s*(?:repeat|space|round|no-repeat))?)",side_or_corner:"(left|right)?\\s*(top|bottom)?",single_animation_direction:"normal|reverse|alternate|alternate-reverse",single_animation_fill_mode:"none|forwards|backwards|both",single_animation_play_state:"running|paused"},Ft._COLOR={hex:"\\#(0x)?[0-9a-f]+",name:"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|transparent|violet|wheat|white|whitesmoke|yellow|yellowgreen",rgb:String.raw`rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)`,rgba:String.raw`rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(${Ft.N.integer_zero_ff}|${Ft.N.number_zero_one}|${Ft.B.percentage_zero_hundred})\s*\)`},Ft._C={alpha:`${Ft.N.integer_zero_ff}|${Ft.N.number_zero_one}|${Ft.B.percentage_zero_hundred}`,alphavalue:Ft.N.number_zero_one,bg_position:`((${Ft.B.len_or_perc}|left|center|right|top|bottom)\\s*){1,4}`,bg_size:`(${Ft.B.length_pos}|${Ft.B.percentage}|auto){1,2}|cover|contain`,border_width:`thin|medium|thick|${Ft.B.length}`,bottom:`${Ft.B.length}|auto`,color:`${Ft._COLOR.hex}|${Ft._COLOR.rgb}|${Ft._COLOR.rgba}|${Ft._COLOR.name}`,color_stop_length:`(${Ft.B.len_or_perc}\\s*){1,2}`,linear_color_hint:`${Ft.B.len_or_perc}`,family_name:`${Ft.B.string}|(${Ft.B.ident}\\s*)+`,image_decl:Ft.B.url,left:`${Ft.B.length}|auto`,loose_quotable_words:`(${Ft.B.ident})+`,margin_width:`${Ft.B.len_or_perc}|auto`,padding_width:`${Ft.B.length_pos}|${Ft.B.percentage_pos}`,page_url:Ft.B.url,position:`((${Ft.B.len_or_perc}|left|center|right|top|bottom)\\s*){1,4}`,right:`${Ft.B.length}|auto`,shadow:"",size:`closest-side|farthest-side|closest-corner|farthest-corner|${Ft.B.length}|(${Ft.B.len_or_perc})\\s+(${Ft.B.len_or_perc})`,top:`${Ft.B.length}|auto`},Ft._C1={image_list:`image\\(\\s*(${Ft.B.url})*\\s*(${Ft.B.url}|${Ft._C.color})\\s*\\)`,linear_color_stop:`(${Ft._C.color})(\\s*${Ft._C.color_stop_length})?`,shadow:`((${Ft._C.color})\\s+((${Ft.B.length})\\s*){2,4}(s+inset)?)|((inset\\s+)?((${Ft.B.length})\\s*){2,4}\\s*(${Ft._C.color})?)`},Ft._C2={color_stop_list:`((${Ft._C1.linear_color_stop})(\\s*(${Ft._C.linear_color_hint}))?\\s*,\\s*)+(${Ft._C1.linear_color_stop})`,shape:`rect\\(\\s*(${Ft._C.top})\\s*,\\s*(${Ft._C.right})\\s*,\\s*(${Ft._C.bottom})\\s*,\\s*(${Ft._C.left})\\s*\\)`},Ft._C3={linear_gradient:`linear-gradient\\((((${Ft.B.angle})|to\\s+(${Ft.A.side_or_corner}))\\s*,\\s*)?\\s*(${Ft._C2.color_stop_list})\\s*\\)`,radial_gradient:`radial-gradient\\(((((${Ft.A.ending_shape})|(${Ft._C.size}))\\s*)*\\s*(at\\s+${Ft._C.position})?\\s*,\\s*)?\\s*(${Ft._C2.color_stop_list})\\s*\\)`},Ft._C4={image:`${Ft.B.url}|${Ft._C3.linear_gradient}|${Ft._C3.radial_gradient}|${Ft._C1.image_list}`,bg_image:`(${Ft.B.url}|${Ft._C3.linear_gradient}|${Ft._C3.radial_gradient}|${Ft._C1.image_list})|none`},Ft.C={...Ft._C,...Ft._C1,...Ft._C2,...Ft._C3,...Ft._C4},Ft.AP={border_collapse:"collapse|separate",box:"normal|none|contents",box_sizing:"content-box|padding-box|border-box",caption_side:"top|bottom",clear:"none|left|right|both",direction:"ltr|rtl",empty_cells:"show|hide",float:"left|right|none",font_stretch:"normal|wider|narrower|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",font_style:"normal|italic|oblique",font_variant:"normal|small-caps",font_weight:"normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900",list_style_position:"inside|outside",list_style_type:"disc|circle|square|decimal|decimal-leading-zero|lower-roman|upper-roman|lower-greek|lower-latin|upper-latin|armenian|georgian|lower-alpha|upper-alpha|none",overflow:"visible|hidden|scroll|auto",overflow_wrap:"normal|break-word",overflow_x:"visible|hidden|scroll|auto|no-display|no-content",page_break_after:"auto|always|avoid|left|right",page_break_before:"auto|always|avoid|left|right",page_break_inside:"avoid|auto",position:"static|relative|absolute",resize:"none|both|horizontal|vertical",speak:"normal|none|spell-out",speak_header:"once|always",speak_numeral:"digits|continuous",speak_punctuation:"code|none",table_layout:"auto|fixed",text_align:"left|right|center|justify",text_decoration:"none|((underline|overline|line-through|blink)\\s*)+",text_transform:"capitalize|uppercase|lowercase|none",text_wrap:"normal|unrestricted|none|suppress",unicode_bidi:"normal|embed|bidi-override",visibility:"visible|hidden|collapse",white_space:"normal|pre|nowrap|pre-wrap|pre-line",word_break:"normal|keep-all|break-all"},Ft._CP={background_attachment:`${Ft.A.attachment}(,\\s*${Ft.A.attachment})*`,background_color:Ft.C.color,background_origin:`${Ft.A.box}(,\\s*${Ft.A.box})*`,background_repeat:`${Ft.A.repeat_style}(,\\s*${Ft.A.repeat_style})*`,border:`((${Ft.C.border_width}|${Ft.A.border_style}|${Ft.C.color})\\s*){1,3}`,border_radius:`((${Ft.B.len_or_perc})\\s*){1,4}(\\/\\s*((${Ft.B.len_or_perc})\\s*){1,4})?`,border_spacing:`${Ft.B.length}\\s*(${Ft.B.length})?`,border_top_color:Ft.C.color,border_top_style:Ft.A.border_style,border_width:`((${Ft.C.border_width})\\s*){1,4}`,color:Ft.C.color,cursor:`(${Ft.B.url}(\\s*,\\s*)?)*(auto|crosshair|default|pointer|move|e-resize|ne-resize|nw-resize|n-resize|se-resize|sw-resize|s-resize|w-resize|text|wait|help|progress|all-scroll|col-resize|hand|no-drop|not-allowed|row-resize|vertical-text)`,display:`inline|block|list-item|run-in|inline-list-item|inline-block|table|inline-table|table-cell|table-caption|flex|inline-flex|grid|inline-grid|${Ft.A.display_inside}|${Ft.A.display_outside}|inherit|inline-box|inline-stack`,display_outside:Ft.A.display_outside,elevation:`${Ft.B.angle}|below|level|above|higher|lower`,font_family:`(${Ft.C.family_name}|${Ft.A.generic_family})(,\\s*(${Ft.C.family_name}|${Ft.A.generic_family}))*`,height:`${Ft.B.length}|${Ft.B.percentage}|auto`,letter_spacing:`normal|${Ft.B.length}`,list_style_image:`${Ft.C.image}|none`,margin_right:Ft.C.margin_width,max_height:`${Ft.B.length_pos}|${Ft.B.percentage_pos}|none|auto`,min_height:`${Ft.B.length_pos}|${Ft.B.percentage_pos}|auto`,opacity:Ft.C.alphavalue,outline_color:`${Ft.C.color}|invert`,outline_width:Ft.C.border_width,padding:`((${Ft.C.padding_width})\\s*){1,4}`,padding_top:Ft.C.padding_width,pitch_range:Ft.N.number,right:`${Ft.B.length}|${Ft.B.percentage}|auto`,stress:Ft.N.number,text_indent:`${Ft.B.length}|${Ft.B.percentage}`,text_shadow:`none|${Ft.C.shadow}(,\\s*(${Ft.C.shadow}))*`,volume:`${Ft.N.number_pos}|${Ft.B.percentage_pos}|silent|x-soft|soft|medium|loud|x-loud`,word_wrap:Ft.AP.overflow_wrap,zoom:`normal|${Ft.N.number_pos}|${Ft.B.percentage_pos}`,backface_visibility:Ft.AP.visibility,background_clip:`${Ft.A.box}(,\\s*(${Ft.A.box}))*`,background_position:`${Ft.C.bg_position}(,\\s*(${Ft.C.bg_position}))*`,border_bottom_color:Ft.C.color,border_bottom_style:Ft.A.border_style,border_color:`((${Ft.C.color})\\s*){1,4}`,border_left_color:Ft.C.color,border_right_color:Ft.C.color,border_style:`((${Ft.A.border_style})\\s*){1,4}`,border_top_left_radius:`(${Ft.B.length}|${Ft.B.percentage})(\\s*(${Ft.B.length}|${Ft.B.percentage}))?`,border_top_width:Ft.C.border_width,box_shadow:`none|${Ft.C.shadow}(,\\s*(${Ft.C.shadow}))*`,clip:`${Ft.C.shape}|auto`,display_inside:Ft.A.display_inside,font_size:`${Ft.A.absolute_size}|${Ft.A.relative_size}|${Ft.B.length_pos}|${Ft.B.percentage_pos}`,line_height:`normal|${Ft.N.number_pos}|${Ft.B.length_pos}|${Ft.B.percentage_pos}`,margin_left:Ft.C.margin_width,max_width:`${Ft.B.length_pos}|${Ft.B.percentage_pos}|none|auto`,outline_style:Ft.A.border_style,padding_bottom:Ft.C.padding_width,padding_right:Ft.C.padding_width,perspective:`none|${Ft.B.length}`,richness:Ft.N.number,text_overflow:`((clip|ellipsis|${Ft.B.string})\\s*){1,2}`,top:`${Ft.B.length}|${Ft.B.percentage}|auto`,width:`${Ft.B.length_pos}|${Ft.B.percentage_pos}|auto`,z_index:`auto|${Ft.B.z_index}`,background:`(((${Ft.C.bg_position}\\s*(\\/\\s*${Ft.C.bg_size})?)|(${Ft.A.repeat_style})|(${Ft.A.attachment})|(${Ft.A.bg_origin})|(${Ft.C.bg_image})|(${Ft.C.color}))\\s*)+`,background_size:`${Ft.C.bg_size}(,\\s*${Ft.C.bg_size})*`,border_bottom_left_radius:`(${Ft.B.length}|${Ft.B.percentage})(\\s*(${Ft.B.length}|${Ft.B.percentage}))?`,border_bottom_width:Ft.C.border_width,border_left_style:Ft.A.border_style,border_right_style:Ft.A.border_style,border_top:`((${Ft.C.border_width}|${Ft.A.border_style}|${Ft.C.color})\\s*){1,3}`,bottom:`${Ft.B.len_or_perc}|auto`,list_style:`((${Ft.AP.list_style_type}|${Ft.AP.list_style_position}|${Ft.C.image}|none})\\s*){1,3}`,margin_top:Ft.C.margin_width,outline:`((${Ft.C.color}|invert|${Ft.A.border_style}|${Ft.C.border_width})\\s*){1,3}`,overflow_y:Ft.AP.overflow_x,pitch:`${Ft.B.frequency}|x-low|low|medium|high|x-high`,vertical_align:`baseline|sub|super|top|text-top|middle|bottom|text-bottom|${Ft.B.len_or_perc}`,word_spacing:`normal|${Ft.B.length}`,background_image:`${Ft.C.bg_image}(,\\s*${Ft.C.bg_image})*`,border_bottom_right_radius:`(${Ft.B.length}|${Ft.B.percentage})(\\s*(${Ft.B.length}|${Ft.B.percentage}))?`,border_left_width:Ft.C.border_width,border_right_width:Ft.C.border_width,left:`${Ft.B.len_or_perc}|auto`,margin_bottom:Ft.C.margin_width,pause_after:`${Ft.B.time}|${Ft.B.percentage}`,speech_rate:`${Ft.N.number}|x-slow|slow|medium|fast|x-fast|faster|slower`,transition_duration:`${Ft.B.time}(,\\s*${Ft.B.time})*`,border_bottom:`((${Ft.C.border_width}|${Ft.A.border_style}|${Ft.C.color})\\s*){1,3}`,border_right:`((${Ft.C.border_width}|${Ft.A.border_style}|${Ft.C.color})\\s*){1,3}`,margin:`((${Ft.C.margin_width})\\s*){1,4}`,padding_left:Ft.C.padding_width,border_left:`((${Ft.C.border_width}|${Ft.A.border_style}|${Ft.C.color})\\s*){1,3}`,quotes:`(${Ft.B.string}\\s*${Ft.B.string})+|none`,border_top_right_radius:`(${Ft.B.length}|${Ft.B.percentage})(\\s*(${Ft.B.length}|${Ft.B.percentage}))?`,min_width:`${Ft.B.length_pos}|${Ft.B.percentage_pos}|auto`},Ft._CP1={font:`(((((${Ft.AP.font_style}|${Ft.AP.font_variant}|${Ft.AP.font_weight})\\s*){1,3})?\\s*(${Ft._CP.font_size})\\s*(\\/\\s*(${Ft._CP.line_height}))?\\s+(${Ft._CP.font_family}))|caption|icon|menu|message-box|small-caption|status-bar)`},Ft.CP={...Ft._CP,...Ft._CP1},Ft.BORDER_COLLAPSE=Ft.reg(Ft.AP.border_collapse),Ft.BOX=Ft.reg(Ft.AP.box),Ft.BOX_SIZING=Ft.reg(Ft.AP.box_sizing),Ft.CAPTION_SIDE=Ft.reg(Ft.AP.caption_side),Ft.CLEAR=Ft.reg(Ft.AP.clear),Ft.DIRECTION=Ft.reg(Ft.AP.direction),Ft.EMPTY_CELLS=Ft.reg(Ft.AP.empty_cells),Ft.FLOAT=Ft.reg(Ft.AP.float),Ft.FONT_STRETCH=Ft.reg(Ft.AP.font_stretch),Ft.FONT_STYLE=Ft.reg(Ft.AP.font_style),Ft.FONT_VARIANT=Ft.reg(Ft.AP.font_variant),Ft.FONT_WEIGHT=Ft.reg(Ft.AP.font_weight),Ft.LIST_STYLE_POSITION=Ft.reg(Ft.AP.list_style_position),Ft.LIST_STYLE_TYPE=Ft.reg(Ft.AP.list_style_type),Ft.OVERFLOW=Ft.reg(Ft.AP.overflow),Ft.OVERFLOW_WRAP=Ft.reg(Ft.AP.overflow_wrap),Ft.OVERFLOW_X=Ft.reg(Ft.AP.overflow_x),Ft.PAGE_BREAK_AFTER=Ft.reg(Ft.AP.page_break_after),Ft.PAGE_BREAK_BEFORE=Ft.reg(Ft.AP.page_break_before),Ft.PAGE_BREAK_INSIDE=Ft.reg(Ft.AP.page_break_inside),Ft.POSITION=Ft.reg(Ft.AP.position),Ft.RESIZE=Ft.reg(Ft.AP.resize),Ft.SPEAK=Ft.reg(Ft.AP.speak),Ft.SPEAK_HEADER=Ft.reg(Ft.AP.speak_header),Ft.SPEAK_NUMERAL=Ft.reg(Ft.AP.speak_numeral),Ft.SPEAK_PUNCTUATION=Ft.reg(Ft.AP.speak_punctuation),Ft.TABLE_LAYOUT=Ft.reg(Ft.AP.table_layout),Ft.TEXT_ALIGN=Ft.reg(Ft.AP.text_align),Ft.TEXT_DECORATION=Ft.reg(Ft.AP.text_decoration),Ft.TEXT_TRANSFORM=Ft.reg(Ft.AP.text_transform),Ft.TEXT_WRAP=Ft.reg(Ft.AP.text_wrap),Ft.UNICODE_BIDI=Ft.reg(Ft.AP.unicode_bidi),Ft.VISIBILITY=Ft.reg(Ft.AP.visibility),Ft.WHITE_SPACE=Ft.reg(Ft.AP.white_space),Ft.WORD_BREAK=Ft.reg(Ft.AP.word_break),Ft.BACKGROUND_ATTACHMENT=Ft.reg(Ft.CP.background_attachment),Ft.BACKGROUND_COLOR=Ft.reg(Ft.CP.background_color),Ft.BACKGROUND_ORIGIN=Ft.reg(Ft.CP.background_origin),Ft.BACKGROUND_REPEAT=Ft.reg(Ft.CP.background_repeat),Ft.BORDER=Ft.reg(Ft.CP.border),Ft.BORDER_RADIUS=Ft.reg(Ft.CP.border_radius),Ft.BORDER_SPACING=Ft.reg(Ft.CP.border_spacing),Ft.BORDER_TOP_COLOR=Ft.reg(Ft.CP.border_top_color),Ft.BORDER_TOP_STYLE=Ft.reg(Ft.CP.border_top_style),Ft.BORDER_WIDTH=Ft.reg(Ft.CP.border_width),Ft.COLOR=Ft.reg(Ft.CP.color),Ft.CURSOR=Ft.reg(Ft.CP.cursor),Ft.DISPLAY=Ft.reg(Ft.CP.display),Ft.DISPLAY_OUTSIDE=Ft.reg(Ft.CP.display_outside),Ft.ELEVATION=Ft.reg(Ft.CP.elevation),Ft.FONT_FAMILY=Ft.reg(Ft.CP.font_family),Ft.HEIGHT=Ft.reg(Ft.CP.height),Ft.LETTER_SPACING=Ft.reg(Ft.CP.letter_spacing),Ft.LIST_STYLE_IMAGE=Ft.reg(Ft.CP.list_style_image),Ft.MARGIN_RIGHT=Ft.reg(Ft.CP.margin_right),Ft.MAX_HEIGHT=Ft.reg(Ft.CP.max_height),Ft.MIN_HEIGHT=Ft.reg(Ft.CP.min_height),Ft.OPACITY=Ft.reg(Ft.CP.opacity),Ft.OUTLINE_COLOR=Ft.reg(Ft.CP.outline_color),Ft.OUTLINE_WIDTH=Ft.reg(Ft.CP.outline_width),Ft.PADDING=Ft.reg(Ft.CP.padding),Ft.PADDING_TOP=Ft.reg(Ft.CP.padding_top),Ft.PITCH_RANGE=Ft.reg(Ft.CP.pitch_range),Ft.RIGHT=Ft.reg(Ft.CP.right),Ft.STRESS=Ft.reg(Ft.CP.stress),Ft.TEXT_INDENT=Ft.reg(Ft.CP.text_indent),Ft.TEXT_SHADOW=Ft.reg(Ft.CP.text_shadow),Ft.VOLUME=Ft.reg(Ft.CP.volume),Ft.WORD_WRAP=Ft.reg(Ft.CP.word_wrap),Ft.ZOOM=Ft.reg(Ft.CP.zoom),Ft.BACKFACE_VISIBILITY=Ft.reg(Ft.CP.backface_visibility),Ft.BACKGROUND_CLIP=Ft.reg(Ft.CP.background_clip),Ft.BACKGROUND_POSITION=Ft.reg(Ft.CP.background_position),Ft.BORDER_BOTTOM_COLOR=Ft.reg(Ft.CP.border_bottom_color),Ft.BORDER_BOTTOM_STYLE=Ft.reg(Ft.CP.border_bottom_style),Ft.BORDER_COLOR=Ft.reg(Ft.CP.border_color),Ft.BORDER_LEFT_COLOR=Ft.reg(Ft.CP.border_left_color),Ft.BORDER_RIGHT_COLOR=Ft.reg(Ft.CP.border_right_color),Ft.BORDER_STYLE=Ft.reg(Ft.CP.border_style),Ft.BORDER_TOP_LEFT_RADIUS=Ft.reg(Ft.CP.border_top_left_radius),Ft.BORDER_TOP_WIDTH=Ft.reg(Ft.CP.border_top_width),Ft.BOX_SHADOW=Ft.reg(Ft.CP.box_shadow),Ft.CLIP=Ft.reg(Ft.CP.clip),Ft.DISPLAY_INSIDE=Ft.reg(Ft.CP.display_inside),Ft.FONT_SIZE=Ft.reg(Ft.CP.font_size),Ft.LINE_HEIGHT=Ft.reg(Ft.CP.line_height),Ft.MARGIN_LEFT=Ft.reg(Ft.CP.margin_left),Ft.MAX_WIDTH=Ft.reg(Ft.CP.max_width),Ft.OUTLINE_STYLE=Ft.reg(Ft.CP.outline_style),Ft.PADDING_BOTTOM=Ft.reg(Ft.CP.padding_bottom),Ft.PADDING_RIGHT=Ft.reg(Ft.CP.padding_right),Ft.PERSPECTIVE=Ft.reg(Ft.CP.perspective),Ft.RICHNESS=Ft.reg(Ft.CP.richness),Ft.TEXT_OVERFLOW=Ft.reg(Ft.CP.text_overflow),Ft.TOP=Ft.reg(Ft.CP.top),Ft.WIDTH=Ft.reg(Ft.CP.width),Ft.Z_INDEX=Ft.reg(Ft.CP.z_index),Ft.BACKGROUND=Ft.reg(Ft.CP.background),Ft.BACKGROUND_SIZE=Ft.reg(Ft.CP.background_size),Ft.BORDER_BOTTOM_LEFT_RADIUS=Ft.reg(Ft.CP.border_bottom_left_radius),Ft.BORDER_BOTTOM_WIDTH=Ft.reg(Ft.CP.border_bottom_width),Ft.BORDER_LEFT_STYLE=Ft.reg(Ft.CP.border_left_style),Ft.BORDER_RIGHT_STYLE=Ft.reg(Ft.CP.border_right_style),Ft.BORDER_TOP=Ft.reg(Ft.CP.border_top),Ft.BOTTOM=Ft.reg(Ft.CP.bottom),Ft.LIST_STYLE=Ft.reg(Ft.CP.list_style),Ft.MARGIN_TOP=Ft.reg(Ft.CP.margin_top),Ft.OUTLINE=Ft.reg(Ft.CP.outline),Ft.OVERFLOW_Y=Ft.reg(Ft.CP.overflow_y),Ft.PITCH=Ft.reg(Ft.CP.pitch),Ft.VERTICAL_ALIGN=Ft.reg(Ft.CP.vertical_align),Ft.WORD_SPACING=Ft.reg(Ft.CP.word_spacing),Ft.BACKGROUND_IMAGE=Ft.reg(Ft.CP.background_image),Ft.BORDER_BOTTOM_RIGHT_RADIUS=Ft.reg(Ft.CP.border_bottom_right_radius),Ft.BORDER_LEFT_WIDTH=Ft.reg(Ft.CP.border_left_width),Ft.BORDER_RIGHT_WIDTH=Ft.reg(Ft.CP.border_right_width),Ft.LEFT=Ft.reg(Ft.CP.left),Ft.MARGIN_BOTTOM=Ft.reg(Ft.CP.margin_bottom),Ft.PAUSE_AFTER=Ft.reg(Ft.CP.pause_after),Ft.SPEECH_RATE=Ft.reg(Ft.CP.speech_rate),Ft.TRANSITION_DURATION=Ft.reg(Ft.CP.transition_duration),Ft.BORDER_BOTTOM=Ft.reg(Ft.CP.border_bottom),Ft.BORDER_RIGHT=Ft.reg(Ft.CP.border_right),Ft.MARGIN=Ft.reg(Ft.CP.margin),Ft.PADDING_LEFT=Ft.reg(Ft.CP.padding_left),Ft.BORDER_LEFT=Ft.reg(Ft.CP.border_left),Ft.FONT=Ft.reg(Ft.CP.font),Ft.QUOTES=Ft.reg(Ft.CP.quotes),Ft.BORDER_TOP_RIGHT_RADIUS=Ft.reg(Ft.CP.border_top_right_radius),Ft.MIN_WIDTH=Ft.reg(Ft.CP.min_width);class qt{constructor(){this._autolink=!0,this._options={allowedTags:["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blockquote","br","button","canvas","caption","center","cite","code","col","colgroup","colspan","command","data","datalist","dd","del","details","dfn","dir","div","dl","dt","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","img","input","ins","kbd","label","legend","li","map","mark","menu","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rowspan","s","samp","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"],allowedAttributes:{"*":["class","dir","draggable","hidden","id","inert","itemprop","itemref","itemscope","lang","spellcheck","style","title","translate"],a:["accesskey","coords","href","hreflang","name","rel","shape","tabindex","target","type"],area:["accesskey","alt","coords","href","nohref","shape","tabindex"],audio:["autoplay","controls","loop","mediagroup","muted","preload","src"],bdo:["dir"],blockquote:["cite"],br:["clear"],button:["accesskey","data-commandlinker-args","data-commandlinker-command","disabled","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],command:["checked","command","disabled","icon","label","radiogroup","type"],data:["value"],del:["cite","datetime"],details:["open"],dir:["compact"],div:["align"],dl:["compact"],fieldset:["disabled"],font:["color","face","size"],form:["accept","autocomplete","enctype","method","name","novalidate"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],hr:["align","noshade","size","width"],iframe:["align","frameborder","height","marginheight","marginwidth","width"],img:["align","alt","border","height","hspace","ismap","name","src","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","checked","disabled","inputmode","ismap","list","max","maxlength","min","multiple","name","placeholder","readonly","required","size","src","step","tabindex","type","usemap","value"],ins:["cite","datetime"],label:["accesskey","for"],legend:["accesskey","align"],li:["type","value"],map:["name"],menu:["compact","label","type"],meter:["high","low","max","min","value"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","name"],p:["align"],pre:["width"],progress:["max","min","value"],q:["cite"],select:["autocomplete","disabled","multiple","name","required","size","tabindex"],source:["type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","cols","disabled","inputmode","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","srclang"],ul:["compact","type"],video:["autoplay","controls","height","loop","mediagroup","muted","poster","preload","src","width"]},allowedStyles:{"*":{"backface-visibility":[Ft.BACKFACE_VISIBILITY],background:[Ft.BACKGROUND],"background-attachment":[Ft.BACKGROUND_ATTACHMENT],"background-clip":[Ft.BACKGROUND_CLIP],"background-color":[Ft.BACKGROUND_COLOR],"background-image":[Ft.BACKGROUND_IMAGE],"background-origin":[Ft.BACKGROUND_ORIGIN],"background-position":[Ft.BACKGROUND_POSITION],"background-repeat":[Ft.BACKGROUND_REPEAT],"background-size":[Ft.BACKGROUND_SIZE],border:[Ft.BORDER],"border-bottom":[Ft.BORDER_BOTTOM],"border-bottom-color":[Ft.BORDER_BOTTOM_COLOR],"border-bottom-left-radius":[Ft.BORDER_BOTTOM_LEFT_RADIUS],"border-bottom-right-radius":[Ft.BORDER_BOTTOM_RIGHT_RADIUS],"border-bottom-style":[Ft.BORDER_BOTTOM_STYLE],"border-bottom-width":[Ft.BORDER_BOTTOM_WIDTH],"border-collapse":[Ft.BORDER_COLLAPSE],"border-color":[Ft.BORDER_COLOR],"border-left":[Ft.BORDER_LEFT],"border-left-color":[Ft.BORDER_LEFT_COLOR],"border-left-style":[Ft.BORDER_LEFT_STYLE],"border-left-width":[Ft.BORDER_LEFT_WIDTH],"border-radius":[Ft.BORDER_RADIUS],"border-right":[Ft.BORDER_RIGHT],"border-right-color":[Ft.BORDER_RIGHT_COLOR],"border-right-style":[Ft.BORDER_RIGHT_STYLE],"border-right-width":[Ft.BORDER_RIGHT_WIDTH],"border-spacing":[Ft.BORDER_SPACING],"border-style":[Ft.BORDER_STYLE],"border-top":[Ft.BORDER_TOP],"border-top-color":[Ft.BORDER_TOP_COLOR],"border-top-left-radius":[Ft.BORDER_TOP_LEFT_RADIUS],"border-top-right-radius":[Ft.BORDER_TOP_RIGHT_RADIUS],"border-top-style":[Ft.BORDER_TOP_STYLE],"border-top-width":[Ft.BORDER_TOP_WIDTH],"border-width":[Ft.BORDER_WIDTH],bottom:[Ft.BOTTOM],box:[Ft.BOX],"box-shadow":[Ft.BOX_SHADOW],"box-sizing":[Ft.BOX_SIZING],"caption-side":[Ft.CAPTION_SIDE],clear:[Ft.CLEAR],clip:[Ft.CLIP],color:[Ft.COLOR],cursor:[Ft.CURSOR],direction:[Ft.DIRECTION],display:[Ft.DISPLAY],"display-inside":[Ft.DISPLAY_INSIDE],"display-outside":[Ft.DISPLAY_OUTSIDE],elevation:[Ft.ELEVATION],"empty-cells":[Ft.EMPTY_CELLS],float:[Ft.FLOAT],font:[Ft.FONT],"font-family":[Ft.FONT_FAMILY],"font-size":[Ft.FONT_SIZE],"font-stretch":[Ft.FONT_STRETCH],"font-style":[Ft.FONT_STYLE],"font-variant":[Ft.FONT_VARIANT],"font-weight":[Ft.FONT_WEIGHT],height:[Ft.HEIGHT],left:[Ft.LEFT],"letter-spacing":[Ft.LETTER_SPACING],"line-height":[Ft.LINE_HEIGHT],"list-style":[Ft.LIST_STYLE],"list-style-image":[Ft.LIST_STYLE_IMAGE],"list-style-position":[Ft.LIST_STYLE_POSITION],"list-style-type":[Ft.LIST_STYLE_TYPE],margin:[Ft.MARGIN],"margin-bottom":[Ft.MARGIN_BOTTOM],"margin-left":[Ft.MARGIN_LEFT],"margin-right":[Ft.MARGIN_RIGHT],"margin-top":[Ft.MARGIN_TOP],"max-height":[Ft.MAX_HEIGHT],"max-width":[Ft.MAX_WIDTH],"min-height":[Ft.MIN_HEIGHT],"min-width":[Ft.MIN_WIDTH],opacity:[Ft.OPACITY],outline:[Ft.OUTLINE],"outline-color":[Ft.OUTLINE_COLOR],"outline-style":[Ft.OUTLINE_STYLE],"outline-width":[Ft.OUTLINE_WIDTH],overflow:[Ft.OVERFLOW],"overflow-wrap":[Ft.OVERFLOW_WRAP],"overflow-x":[Ft.OVERFLOW_X],"overflow-y":[Ft.OVERFLOW_Y],padding:[Ft.PADDING],"padding-bottom":[Ft.PADDING_BOTTOM],"padding-left":[Ft.PADDING_LEFT],"padding-right":[Ft.PADDING_RIGHT],"padding-top":[Ft.PADDING_TOP],"page-break-after":[Ft.PAGE_BREAK_AFTER],"page-break-before":[Ft.PAGE_BREAK_BEFORE],"page-break-inside":[Ft.PAGE_BREAK_INSIDE],"pause-after":[Ft.PAUSE_AFTER],perspective:[Ft.PERSPECTIVE],pitch:[Ft.PITCH],"pitch-range":[Ft.PITCH_RANGE],position:[Ft.POSITION],quotes:[Ft.QUOTES],resize:[Ft.RESIZE],richness:[Ft.RICHNESS],right:[Ft.RIGHT],speak:[Ft.SPEAK],"speak-header":[Ft.SPEAK_HEADER],"speak-numeral":[Ft.SPEAK_NUMERAL],"speak-punctuation":[Ft.SPEAK_PUNCTUATION],"speech-rate":[Ft.SPEECH_RATE],stress:[Ft.STRESS],"table-layout":[Ft.TABLE_LAYOUT],"text-align":[Ft.TEXT_ALIGN],"text-decoration":[Ft.TEXT_DECORATION],"text-indent":[Ft.TEXT_INDENT],"text-overflow":[Ft.TEXT_OVERFLOW],"text-shadow":[Ft.TEXT_SHADOW],"text-transform":[Ft.TEXT_TRANSFORM],"text-wrap":[Ft.TEXT_WRAP],top:[Ft.TOP],"unicode-bidi":[Ft.UNICODE_BIDI],"vertical-align":[Ft.VERTICAL_ALIGN],visibility:[Ft.VISIBILITY],volume:[Ft.VOLUME],"white-space":[Ft.WHITE_SPACE],width:[Ft.WIDTH],"word-break":[Ft.WORD_BREAK],"word-spacing":[Ft.WORD_SPACING],"word-wrap":[Ft.WORD_WRAP],"z-index":[Ft.Z_INDEX],zoom:[Ft.ZOOM]}},transformTags:{a:zt().simpleTransform("a",{rel:"nofollow"}),input:zt().simpleTransform("input",{disabled:"disabled"})},allowedSchemes:[...zt().defaults.allowedSchemes],allowedSchemesByTag:{img:zt().defaults.allowedSchemes.concat(["attachment"])},allowedSchemesAppliedToAttributes:["href","cite"]}}sanitize(e,t){return zt()(e,{...this._options,...t||{}})}getAutolink(){return this._autolink}setAllowedSchemes(e){this._options.allowedSchemes=[...e]}setAutolink(e){this._autolink=e}}class Ut{constructor(e={}){this.trusted=!!e.trusted,this._data=e.data||{},this._metadata=e.metadata||{},this._callback=e.callback||Rt.noOp}get data(){return this._data}get metadata(){return this._metadata}setData(e){this._data=e.data||this._data,this._metadata=e.metadata||this._metadata,this._callback(e)}}!function(e){e.noOp=function(){}}(Rt||(Rt={}));class $t{constructor(e={}){var t,n,i,r,o,s;if(this._id=0,this._ranks={},this._types=null,this._factories={},this.translator=null!==(t=e.translator)&&void 0!==t?t:Ze,this.resolver=null!==(n=e.resolver)&&void 0!==n?n:null,this.linkHandler=null!==(i=e.linkHandler)&&void 0!==i?i:null,this.latexTypesetter=null!==(r=e.latexTypesetter)&&void 0!==r?r:null,this.markdownParser=null!==(o=e.markdownParser)&&void 0!==o?o:null,this.sanitizer=null!==(s=e.sanitizer)&&void 0!==s?s:new qt,e.initialFactories)for(const t of e.initialFactories)this.addFactory(t)}get mimeTypes(){return this._types||(this._types=Ot.sortedTypes(this._ranks))}preferredMimeType(e,t="ensure"){if("ensure"===t||"prefer"===t)for(const t of this.mimeTypes)if(t in e&&this._factories[t].safe)return t;if("ensure"!==t)for(const t of this.mimeTypes)if(t in e)return t}createRenderer(e){if(!(e in this._factories))throw new Error(`No factory for mime type: '${e}'`);return this._factories[e].createRenderer({mimeType:e,resolver:this.resolver,sanitizer:this.sanitizer,linkHandler:this.linkHandler,latexTypesetter:this.latexTypesetter,markdownParser:this.markdownParser,translator:this.translator})}createModel(e={}){return new Ut(e)}clone(e={}){var t,n,i,r,o,s,a,l,d,c;const u=new $t({resolver:null!==(n=null!==(t=e.resolver)&&void 0!==t?t:this.resolver)&&void 0!==n?n:void 0,sanitizer:null!==(r=null!==(i=e.sanitizer)&&void 0!==i?i:this.sanitizer)&&void 0!==r?r:void 0,linkHandler:null!==(s=null!==(o=e.linkHandler)&&void 0!==o?o:this.linkHandler)&&void 0!==s?s:void 0,latexTypesetter:null!==(l=null!==(a=e.latexTypesetter)&&void 0!==a?a:this.latexTypesetter)&&void 0!==l?l:void 0,markdownParser:null!==(c=null!==(d=e.markdownParser)&&void 0!==d?d:this.markdownParser)&&void 0!==c?c:void 0,translator:this.translator});return u._factories={...this._factories},u._ranks={...this._ranks},u._id=this._id,u}getFactory(e){return this._factories[e]}addFactory(e,t){void 0===t&&void 0===(t=e.defaultRank)&&(t=100);for(const n of e.mimeTypes)this._factories[n]=e,this._ranks[n]={rank:t,id:this._id++};this._types=null}removeMimeType(e){delete this._factories[e],delete this._ranks[e],this._types=null}getRank(e){const t=this._ranks[e];return t&&t.rank}setRank(e,t){if(!this._ranks[e])return;const n=this._id++;this._ranks[e]={rank:t,id:n},this._types=null}}!function(e){e.UrlResolver=class{constructor(e){this._path=e.path,this._contents=e.contents}get path(){return this._path}set path(e){this._path=e}async resolveUrl(e){if(this.isLocal(e)){const t=encodeURI(Qe.PathExt.dirname(this.path));e=Qe.PathExt.resolve(t,e)}return e}async getDownloadUrl(e){return this.isLocal(e)?this._contents.getDownloadUrl(decodeURIComponent(e)):e}isLocal(e,t=!1){return!this.isMalformed(e)&&(Qe.URLExt.isLocal(e,t)||!!this._contents.driveName(decodeURI(e)))}async resolvePath(e){const t=Qe.PageConfig.getOption("rootUri").replace("file://","");if(e.startsWith("~/")&&t.startsWith("/home/")&&(e=t.split("/").slice(0,3).join("/")+e.substring(1)),e.startsWith(t)||e.startsWith("./"))try{const n=e.replace(t,"");return{path:(await this._contents.get(n,{content:!1})).path,scope:"server"}}catch(t){return console.warn(`Could not resolve location of ${e} on server`),null}return{path:e,scope:"kernel"}}isMalformed(e){try{return decodeURI(e),!1}catch(e){if(e instanceof URIError)return!0;throw e}}}}($t||($t={})),function(e){e.sortedTypes=function(e){return Object.keys(e).sort(((t,n)=>{const i=e[t],r=e[n];return i.rank!==r.rank?i.rank-r.rank:i.id-r.id}))}}(Ot||(Ot={}));var Ht=__webpack_require__(9452),Wt=__webpack_require__.n(Ht);const Vt=/(\$\$?|\\(?:begin|end)\{[a-z]*\*?\}|\\[{}$]|[{}]|(?:\n\s*)+|@@\d+@@|\\\\(?:\(|\)|\[|\]))/i;function Gt(e,t,n,i,r){let o=r.slice(e,t+1).join("").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");for(navigator&&"Microsoft Internet Explorer"===navigator.appName&&(o=o.replace(/(%[^\n]*)\n/g,"$1<br/>\n"));t>e;)r[t]="",t--;return r[e]="@@"+i.length+"@@",n&&(o=n(o)),i.push(o),r}function Kt(e){let{host:t,source:n,trusted:i,sanitizer:r,resolver:o,linkHandler:s,shouldTypeset:a,latexTypesetter:l,translator:d}=e;d=d||Ze;const c=null==d?void 0:d.load("jupyterlab");let u,h=n;if(!n)return t.textContent="",Promise.resolve(void 0);if(i||(h=`${n}`,n=r.sanitize(n)),t.innerHTML=n,t.getElementsByTagName("script").length>0)if(i)Xt.evalInnerHTMLScriptTags(t);else{const e=document.createElement("div"),n=document.createElement("pre");n.textContent=c.__("This HTML output contains inline scripts. Are you sure that you want to run arbitrary Javascript within your JupyterLab session?");const i=document.createElement("button");i.textContent=c.__("Run"),i.onclick=e=>{t.innerHTML=h,Xt.evalInnerHTMLScriptTags(t),t.firstChild&&t.removeChild(t.firstChild)},e.appendChild(n),e.appendChild(i),t.insertBefore(e,t.firstChild)}return Xt.handleDefaults(t,o),u=o?Xt.handleUrls(t,o,s):Promise.resolve(void 0),u.then((()=>{a&&l&&l.typeset(t)}))}async function Yt(e){const{host:t,source:n,markdownParser:i,...r}=e;if(!n)return void(t.textContent="");let o="";if(i){const e=function(e){const t=[];let n,i=null,r=null,o=null,s=0;e.includes("`")||e.includes("~~~")?(e=e.replace(/~/g,"~T").replace(/^(?<fence>`{3,}|(~T){3,})[^`\n]*\n([\s\S]*?)^\k<fence>`*$/gm,(e=>e.replace(/\$/g,"~D"))).replace(/(^|[^\\])(`+)([^\n]*?[^`\n])\2(?!`)/gm,(e=>e.replace(/\$/g,"~D"))),n=e=>e.replace(/~([TD])/g,((e,t)=>"T"===t?"~":"$"))):n=e=>e;let a=e.replace(/\r\n?/g,"\n").split(Vt);for(let e=1,l=a.length;e<l;e+=2){const l=a[e];"@"===l.charAt(0)?(a[e]="@@"+t.length+"@@",t.push(l)):null!==i?l===r?s?o=e:(a=Gt(i,e,n,t,a),i=null,r=null,o=null):l.match(/\n.*\n/)?(null!==o&&(e=o,a=Gt(i,e,n,t,a)),i=null,r=null,o=null,s=0):"{"===l?s++:"}"===l&&s&&s--:"$"===l||"$$"===l?(i=e,r=l,s=0):"\\\\("===l||"\\\\["===l?(i=e,r="("===l.slice(-1)?"\\\\)":"\\\\]",s=0):"begin"===l.substr(1,5)&&(i=e,r="\\end"+l.substr(6),s=0)}return null!==i&&null!==o&&(a=Gt(i,o,n,t,a),i=null,r=null,o=null),{text:n(a.join("")),math:t}}(n);o=await i.render(e.text),s=o,a=e.math,o=s.replace(/@@(\d+)@@/g,((e,t)=>{let n=a[t];return"\\\\("===n.substr(0,3)&&"\\\\)"===n.substr(n.length-3)?n="\\("+n.substring(3,n.length-3)+"\\)":"\\\\["===n.substr(0,3)&&"\\\\]"===n.substr(n.length-3)&&(n="\\["+n.substring(3,n.length-3)+"\\]"),n}))}else o=`<pre>${n}</pre>`;var s,a;await Kt({host:t,source:o,...r}),Xt.headerAnchors(t)}var Jt,Xt;!function(e){e.createHeaderId=function(e){var t;return(null!==(t=e.textContent)&&void 0!==t?t:"").replace(/ /g,"-")}}(Yt||(Yt={})),function(e){const t="\\u0000-\\u0020\\u007f-\\u009f";e.webLinkRegex=new RegExp("(?<path>(?:[a-zA-Z][a-zA-Z0-9+.-]{2,}:\\/\\/|data:|www\\.)[^\\s"+t+'"]{2,}[^\\s'+t+"\"'(){}\\[\\],:;.!?])","ug");const n=new RegExp(`(${/(?:[a-zA-Z]:(?:(?:\\|\/)[\w\.-]*)+)/.source}|${/(?:(?:\~|\.)(?:(?:\\|\/)[\w\.-]*)+)/.source})`),i=navigator.userAgent.indexOf("Windows")>=0;e.pathLinkRegex=new RegExp(`(?<path>${i?n.source:/((?:\~|\.)?(?:\/[\w\.-]*)+)/.source})${/(?:(?:\:|", line )(?<line>[\d]+))?(?:\:(?<column>[\d]+))?/.source}`,"g")}(Jt||(Jt={}));class Zt{constructor(){this.regex=Jt.webLinkRegex}createAnchor(e,t){const n=document.createElement("a");return n.href=e.startsWith("www.")?"https://"+e:e,n.rel="noopener",n.target="_blank",n.appendChild(document.createTextNode(t)),n}processPath(e){const t=e.slice(-1),n=-1!==[">","<"].indexOf(t)?e.length-1:e.length;return e.slice(0,n)}processLabel(e){return this.processPath(e)}}class Qt{constructor(){this.regex=Jt.pathLinkRegex}createAnchor(e,t,n){const i=document.createElement("a");i.dataset.path=e;const r=parseInt(n.line,10);let o=isNaN(r)?"":"line="+(r-1);return i.dataset.locator=o,i.appendChild(document.createTextNode(t)),i}}function en(e,t){const n=[];t.checkWeb&&n.push(new Zt),t.checkPaths&&n.push(new Qt);const i=[],r=(e,t)=>{if(t>=n.length)return void i.push(document.createTextNode(e));const o=n[t];let s,a=0;const l=o.regex;for(l.lastIndex=0;null!=(s=l.exec(e));){const n=e.substring(a,s.index);n&&r(n,t+1);const{path:l,...d}=s.groups,c=o.processPath?o.processPath(l):l,u=o.processLabel?o.processLabel(s[0]):s[0];i.push(o.createAnchor(c,u,d)),a=s.index+u.length}const d=e.substring(a);d&&r(d,t+1)};return r(e,0),i}function tn(e,t){var n,i;const r=e.cloneNode();r.textContent=null===(n=e.textContent)||void 0===n?void 0:n.slice(0,t);const o=e.cloneNode();return o.textContent=null===(i=e.textContent)||void 0===i?void 0:i.slice(t),{pre:r,post:o}}function*nn(e){var t;let n,i=0;for(let r of e)n=i+((null===(t=r.textContent)||void 0===t?void 0:t.length)||0),yield{node:r,start:i,end:n,isText:r.nodeType===Node.TEXT_NODE},i=n}function rn(e){var t,n;const{host:i,sanitizer:r,source:o}=e,s=r.sanitize(Xt.ansiSpan(o),{allowedTags:["span"]}),a=document.createElement("pre");a.innerHTML=s;const l=a.textContent;let d;if(l){const e=null===(n=null===(t=r.getAutolink)||void 0===t?void 0:t.call(r))||void 0===n||n?en(l,{checkWeb:!0,checkPaths:!1}):[document.createTextNode(s)];d=on(Array.from(a.childNodes),e)}else d=document.createElement("pre");return i.appendChild(d),Promise.resolve(void 0)}function on(e,t){const n=document.createElement("pre");let i=!1;const r=[];for(let n of function*(e,t){var n,i;let r=nn(e),o=nn(t),s=r.next(),a=o.next();for(;!s.done&&!a.done;){let e=s.value,t=a.value;if(e.isText&&e.start<=t.start&&e.end>=t.end)yield[null,t.node],a=o.next();else if(t.isText&&t.start<=e.start&&t.end>=e.end)yield[e.node,null],s=r.next();else if(e.end===t.end&&e.start===t.start)yield[e.node,t.node],s=r.next(),a=o.next();else if(e.end>t.end){let{pre:i,post:r}=tn(e.node,t.end-e.start);t.start<e.start&&(t.node.textContent=null===(n=t.node.textContent)||void 0===n?void 0:n.slice(e.start-t.start)),yield[i,t.node],e.node=r,e.start=t.end,a=o.next()}else{if(!(t.end>e.end))throw new Error(`Unexpected intersection: ${JSON.stringify(e)} ${JSON.stringify(t)}`);{let{pre:n,post:o}=tn(t.node,e.end-t.start);e.start<t.start&&(e.node.textContent=null===(i=e.node.textContent)||void 0===i?void 0:i.slice(t.start-e.start)),yield[e.node,n],t.node=o,t.start=e.end,s=r.next()}}}}(e,t)){if(!n[0]){r.push(n[1]),i=n[1].nodeType!==Node.TEXT_NODE;continue}if(!n[1]){r.push(n[0]),i=!1;continue}let[e,t]=n;const o=r[r.length-1];i&&t.href===o.href?o.appendChild(e):t.nodeType!==Node.TEXT_NODE?(t.textContent="",t.appendChild(e),r.push(t),i=!0):(r.push(e),i=!1)}for(const e of r)n.appendChild(e);return n}!function(e){async function t(e,t,n){const i=e.getAttribute(t)||"",r=n.isLocal?n.isLocal(i):Qe.URLExt.isLocal(i);if(i&&r)try{const r=await n.resolveUrl(i);let o=await n.getDownloadUrl(r);"data:"!==Qe.URLExt.parse(o).protocol&&(o+=(/\?/.test(o)?"&":"?")+(new Date).getTime()),e.setAttribute(t,o)}catch(n){throw e.setAttribute(t,""),n}}function n(e,t,n){let i=e.getAttribute("href")||"";const r=t.isLocal?t.isLocal(i):Qe.URLExt.isLocal(i);if(!i||!r)return Promise.resolve(void 0);const o=e.hash;if(o){if(o===i)return e.target="_self",Promise.resolve(void 0);i=i.replace(o,"")}return t.resolveUrl(i).then((i=>{const r=decodeURIComponent(i);return n&&n.handleLink(e,r,o),t.getDownloadUrl(i)})).then((t=>{e.href=t+o})).catch((t=>{e.href=""}))}async function i(e,t,n){let i=e.dataset.path||"",r=e.dataset.locator?"#"+e.dataset.locator:"";delete e.dataset.path,delete e.dataset.locator;const o=!0,s=t.isLocal?t.isLocal(i,o):Qe.URLExt.isLocal(i,o);if(!(i&&s&&t.resolvePath&&n&&n.handlePath))return e.replaceWith(...e.childNodes),Promise.resolve(void 0);try{const o=await t.resolvePath(i);if(!o)return console.log("Path resolution bailing: does not exist"),Promise.resolve(void 0);n.handlePath(e,o.path,o.scope,r),e.href=o.path+r}catch(t){console.warn("Path anchor error:",t),e.href="#linking-failed-see-console"}}e.evalInnerHTMLScriptTags=function(e){const t=Array.from(e.getElementsByTagName("script"));for(const e of t){if(!e.parentNode)continue;const t=document.createElement("script"),n=e.attributes;for(let e=0,i=n.length;e<i;++e){const{name:i,value:r}=n[e];t.setAttribute(i,r)}t.textContent=e.textContent,e.parentNode.replaceChild(t,e)}},e.handleDefaults=function(e,t){const n=e.getElementsByTagName("a");for(let e=0;e<n.length;e++){const i=n[e];if(!(i instanceof HTMLAnchorElement))continue;const r=i.href,o=t&&t.isLocal?t.isLocal(r):Qe.URLExt.isLocal(r);i.target||(i.target=o?"_self":"_blank"),o||(i.rel="noopener")}const i=e.getElementsByTagName("img");for(let e=0;e<i.length;e++)i[e].alt||(i[e].alt="Image")},e.handleUrls=function(e,i,r){const o=[],s=e.querySelectorAll("*[src]");for(let e=0;e<s.length;e++)o.push(t(s[e],"src",i));const a=e.getElementsByTagName("a");for(let e=0;e<a.length;e++)o.push(n(a[e],i,r));const l=e.getElementsByTagName("link");for(let e=0;e<l.length;e++)o.push(t(l[e],"href",i));return Promise.all(o).then((()=>{}))},e.handlePaths=async function(e,t,n){const r=e.getElementsByTagName("a");for(let e=0;e<r.length;e++)await i(r[e],t,n)},e.headerAnchors=function(e){const t=["h1","h2","h3","h4","h5","h6"];for(const n of t){const t=e.getElementsByTagName(n);for(let e=0;e<t.length;e++){const n=t[e];n.id=Yt.createHeaderId(n);const i=document.createElement("a");i.target="_self",i.textContent="¶",i.href="#"+n.id,i.classList.add("jp-InternalAnchorLink"),n.appendChild(i)}}};const r=["ansi-black","ansi-red","ansi-green","ansi-yellow","ansi-blue","ansi-magenta","ansi-cyan","ansi-white","ansi-black-intense","ansi-red-intense","ansi-green-intense","ansi-yellow-intense","ansi-blue-intense","ansi-magenta-intense","ansi-cyan-intense","ansi-white-intense"];function o(e,t,n,i,o,s,a){if(e){const l=[],d=[];i&&"number"==typeof t&&0<=t&&t<8&&(t+=8),s&&([t,n]=[n,t]),"number"==typeof t?l.push(r[t]+"-fg"):t.length?d.push(`color: rgb(${t})`):s&&l.push("ansi-default-inverse-fg"),"number"==typeof n?l.push(r[n]+"-bg"):n.length?d.push(`background-color: rgb(${n})`):s&&l.push("ansi-default-inverse-bg"),i&&l.push("ansi-bold"),o&&l.push("ansi-underline"),l.length||d.length?(a.push("<span"),l.length&&a.push(` class="${l.join(" ")}"`),d.length&&a.push(` style="${d.join("; ")}"`),a.push(">"),a.push(e),a.push("</span>")):a.push(e)}}function s(e){let t,n,i;const r=e.shift();if(2===r&&e.length>=3){if(t=e.shift(),n=e.shift(),i=e.shift(),[t,n,i].some((e=>e<0||255<e)))throw new RangeError("Invalid range for RGB colors")}else{if(!(5===r&&e.length>=1))throw new RangeError("Invalid extended color specification");{const r=e.shift();if(r<0)throw new RangeError("Color index must be >= 0");if(r<16)return r;if(r<232)t=Math.floor((r-16)/36),t=t>0?55+40*t:0,n=Math.floor((r-16)%36/6),n=n>0?55+40*n:0,i=(r-16)%6,i=i>0?55+40*i:0;else{if(!(r<256))throw new RangeError("Color index must be < 256");t=n=i=10*(r-232)+8}}}return[t,n,i]}e.ansiSpan=function(e){const t=/\x1b\[(.*?)([@-~])/g;let n,i=[],r=[],a=!1,l=!1,d=!1;const c=[],u=[];let h=0;for(e=Wt()(e),e+="[m";n=t.exec(e);){if("m"===n[2]){const e=n[1].split(";");for(let t=0;t<e.length;t++){const n=e[t];if(""===n)u.push(0);else{if(-1===n.search(/^\d+$/)){u.length=0;break}u.push(parseInt(n,10))}}}for(o(e.substring(h,n.index),i,r,a,l,d,c),h=t.lastIndex;u.length;){const e=u.shift();switch(e){case 0:i=r=[],a=!1,l=!1,d=!1;break;case 1:case 5:a=!0;break;case 4:l=!0;break;case 7:d=!0;break;case 21:case 22:a=!1;break;case 24:l=!1;break;case 27:d=!1;break;case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:i=e-30;break;case 38:try{i=s(u)}catch(e){u.length=0}break;case 39:i=[];break;case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:r=e-40;break;case 48:try{r=s(u)}catch(e){u.length=0}break;case 49:r=[];break;case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:i=e-90+8;break;case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:r=e-100+8}}}return c.join("")}}(Xt||(Xt={}));class sn extends le{constructor(e){var t,n;super(),this.mimeType=e.mimeType,this.sanitizer=e.sanitizer,this.resolver=e.resolver,this.linkHandler=e.linkHandler,this.translator=null!==(t=e.translator)&&void 0!==t?t:Ze,this.latexTypesetter=e.latexTypesetter,this.markdownParser=null!==(n=e.markdownParser)&&void 0!==n?n:null,this.node.dataset.mimeType=this.mimeType}async renderModel(e,t){if(!t)for(;this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.toggleClass("jp-mod-trusted",e.trusted),await this.render(e);const{fragment:n}=e.metadata;n&&this.setFragment(n)}setFragment(e){}}class an extends sn{constructor(e){super(e),this.addClass("jp-RenderedHTMLCommon")}setFragment(e){let t;try{t=this.node.querySelector(e.startsWith("#")?`#${CSS.escape(e.slice(1))}`:e)}catch(e){console.warn("Unable to set URI fragment identifier.",e)}t&&t.scrollIntoView()}}class ln extends an{constructor(e){super(e),this._rendered=Promise.resolve(),this.addClass("jp-RenderedHTML")}render(e){return this._rendered=Kt({host:this.node,source:String(e.data[this.mimeType]),trusted:e.trusted,resolver:this.resolver,sanitizer:this.sanitizer,linkHandler:this.linkHandler,shouldTypeset:this.isAttached,latexTypesetter:this.latexTypesetter,translator:this.translator})}onAfterAttach(e){this._rendered.then((()=>{this.latexTypesetter&&this.latexTypesetter.typeset(this.node)})).catch(console.warn)}}class dn extends sn{constructor(e){super(e),this._rendered=Promise.resolve(),this.addClass("jp-RenderedLatex")}render(e){return this._rendered=function(e){const{host:t,source:n,shouldTypeset:i,latexTypesetter:r}=e;return t.textContent=n,i&&r&&r.typeset(t),Promise.resolve(void 0)}({host:this.node,source:String(e.data[this.mimeType]),shouldTypeset:this.isAttached,latexTypesetter:this.latexTypesetter})}onAfterAttach(e){this._rendered.then((()=>{this.latexTypesetter&&this.latexTypesetter.typeset(this.node)})).catch(console.warn)}}class cn extends sn{constructor(e){super(e),this.addClass("jp-RenderedImage")}render(e){const t=e.metadata[this.mimeType];return function(e){const{host:t,mimeType:n,source:i,width:r,height:o,needsBackground:s,unconfined:a}=e;t.textContent="";const l=document.createElement("img");return l.src=`data:${n};base64,${i}`,"number"==typeof o&&(l.height=o),"number"==typeof r&&(l.width=r),"light"===s?l.classList.add("jp-needs-light-background"):"dark"===s&&l.classList.add("jp-needs-dark-background"),!0===a&&l.classList.add("jp-mod-unconfined"),t.appendChild(l),Promise.resolve(void 0)}({host:this.node,mimeType:this.mimeType,source:String(e.data[this.mimeType]),width:t&&t.width,height:t&&t.height,needsBackground:e.metadata.needs_background,unconfined:t&&t.unconfined})}}class un extends an{constructor(e){super(e),this._rendered=Promise.resolve(),this.addClass("jp-RenderedMarkdown")}render(e){return this._rendered=Yt({host:this.node,source:String(e.data[this.mimeType]),trusted:e.trusted,resolver:this.resolver,sanitizer:this.sanitizer,linkHandler:this.linkHandler,shouldTypeset:this.isAttached,latexTypesetter:this.latexTypesetter,markdownParser:this.markdownParser,translator:this.translator})}async renderModel(e){await super.renderModel(e,!0)}onAfterAttach(e){this._rendered.then((()=>{this.latexTypesetter&&this.latexTypesetter.typeset(this.node)})).catch(console.warn)}}class hn extends sn{constructor(e){super(e),this._rendered=Promise.resolve(),this.addClass("jp-RenderedSVG")}render(e){const t=e.metadata[this.mimeType];return this._rendered=function(e){let{host:t,source:n,trusted:i,unconfined:r}=e;if(!n)return t.textContent="",Promise.resolve(void 0);if(!i)return t.textContent="Cannot display an untrusted SVG. Maybe you need to run the cell?",Promise.resolve(void 0);n.search("<svg[^>]+xmlns=[^>]+svg")<0&&(n=n.replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"'));const o=new Image;return o.src=`data:image/svg+xml,${encodeURIComponent(n)}`,t.appendChild(o),!0===r&&t.classList.add("jp-mod-unconfined"),Promise.resolve()}({host:this.node,source:String(e.data[this.mimeType]),trusted:e.trusted,unconfined:t&&t.unconfined,translator:this.translator})}onAfterAttach(e){this._rendered.then((()=>{this.latexTypesetter&&this.latexTypesetter.typeset(this.node)})).catch(console.warn)}}class fn extends sn{constructor(e){super(e),this.addClass("jp-RenderedText")}render(e){return rn({host:this.node,sanitizer:this.sanitizer,source:String(e.data[this.mimeType]),translator:this.translator})}}class pn extends sn{constructor(e){super(e),this.addClass("jp-RenderedText")}render(e){return function(e){var t,n;const{host:i,linkHandler:r,sanitizer:o,resolver:s,source:a}=e,l=o.sanitize(Xt.ansiSpan(a),{allowedTags:["span"]}),d=document.createElement("pre");d.innerHTML=l;const c=d.textContent;let u,h;if(c){const e=null===(n=null===(t=o.getAutolink)||void 0===t?void 0:t.call(o))||void 0===n||n?en(c,{checkWeb:!0,checkPaths:!0}):[document.createTextNode(l)];u=on(Array.from(d.childNodes),e)}else u=document.createElement("pre");return i.appendChild(u),h=s?Xt.handlePaths(i,s,r):Promise.resolve(void 0),h}({host:this.node,sanitizer:this.sanitizer,source:String(e.data[this.mimeType]),linkHandler:this.linkHandler,resolver:this.resolver,translator:this.translator})}}class An extends sn{constructor(e){super(e),this.addClass("jp-RenderedJavaScript")}render(e){const t=this.translator.load("jupyterlab");return rn({host:this.node,sanitizer:this.sanitizer,source:t.__("JavaScript output is disabled in JupyterLab"),translator:this.translator})}}const mn={safe:!0,mimeTypes:["text/html"],defaultRank:50,createRenderer:e=>new ln(e)},gn={safe:!0,mimeTypes:["image/bmp","image/png","image/jpeg","image/gif","image/webp"],defaultRank:90,createRenderer:e=>new cn(e)},bn={safe:!0,mimeTypes:["text/latex"],defaultRank:70,createRenderer:e=>new dn(e)},vn={safe:!0,mimeTypes:["text/markdown"],defaultRank:60,createRenderer:e=>new un(e)},Cn={safe:!1,mimeTypes:["image/svg+xml"],defaultRank:80,createRenderer:e=>new hn(e)},yn={safe:!0,mimeTypes:["application/vnd.jupyter.stderr"],defaultRank:110,createRenderer:e=>new pn(e)},wn={safe:!0,mimeTypes:["text/plain","application/vnd.jupyter.stdout"],defaultRank:120,createRenderer:e=>new fn(e)},_n={safe:!1,mimeTypes:["text/javascript","application/javascript"],defaultRank:110,createRenderer:e=>new An(e)},Bn=[mn,vn,bn,Cn,gn,_n,yn,wn];class En extends le{constructor(e,t){super(),this.mimeType=e.mimeType,this._manager=t}async renderModel(e){const t=e.data[this.mimeType];if(!this._manager.has_model(t.model_id))return this.node.textContent="Error creating widget: could not find model",void this.addClass("jupyter-widgets");try{const e=await this._manager.get_model(t.model_id),n=await this._manager.create_view(e);le.attach(n.luminoWidget||n.pWidget,this.node)}catch(e){console.log("Error displaying widget"),console.log(e),this.node.textContent="Error displaying widget",this.addClass("jupyter-widgets")}}}class xn extends Pt{constructor(e){super(),this.loader=null==e?void 0:e.loader,this.renderMime=new $t({initialFactories:Bn}),this.renderMime.addFactory({safe:!1,mimeTypes:["application/vnd.jupyter.widget-view+json"],createRenderer:e=>new En(e,this)},0),this._viewList=new Set,window.addEventListener("resize",(()=>{this._viewList.forEach((e=>{Lt.Mu.postMessage(e.luminoWidget||e.pWidget,le.ResizeMessage.UnknownSize)}))}))}async display_view(e,t){let i;try{i=await e}catch(t){const r=`Could not create a view for ${e}`;console.error(r);const o=new(n.createErrorWidgetModel(t,r));i=new n.ErrorWidgetView({model:o}),i.render()}le.attach(i.luminoWidget||i.pWidget,t),this._viewList.add(i),i.once("remove",(()=>{this._viewList.delete(i)}))}_get_comm_info(){return Promise.resolve({})}_create_comm(e,t,n,i,r){return Promise.resolve({on_close:()=>{},on_msg:()=>{},close:()=>{}})}loadClass(n,i,r){return new Promise(((n,o)=>{"@jupyter-widgets/base"!==i&&"@jupyter-widgets/controls"!==i||(r=`^${r}`),"@jupyter-widgets/base"===i?n(__webpack_require__("1.2.0"===(0,t.maxSatisfying)(["1.2.0","2.0.0"],r)?2176:2055)):"@jupyter-widgets/controls"===i?"1.5.0"===(0,t.maxSatisfying)(["1.5.0","2.0.0"],r)?(__webpack_require__(1534),""===getComputedStyle(document.documentElement).getPropertyValue("--jp-layout-color0")&&__webpack_require__(8717),n(__webpack_require__(244))):(__webpack_require__(4570),""===getComputedStyle(document.documentElement).getPropertyValue("--jp-layout-color0")&&__webpack_require__(510),n(__webpack_require__(6840))):"@jupyter-widgets/output"===i?n(e):void 0!==this.loader?n(this.loader(i,r)):o(`Could not load module ${i}@${r}`)})).then((e=>e[n]?e[n]:Promise.reject(`Class ${n} not found in module ${i}@${r}`)))}}var kn=__webpack_require__(4971),Tn={};Tn.styleTagTransform=Ct(),Tn.setAttributes=mt(),Tn.insert=pt().bind(null,"head"),Tn.domAPI=ht(),Tn.insertStyleElement=bt(),ct()(kn.A,Tn),kn.A&&kn.A.locals&&kn.A.locals;var jn=__webpack_require__(7143),Dn={};Dn.styleTagTransform=Ct(),Dn.setAttributes=mt(),Dn.insert=pt().bind(null,"head"),Dn.domAPI=ht(),Dn.insertStyleElement=bt(),ct()(jn.A,Dn),jn.A&&jn.A.locals&&jn.A.locals;var Sn=__webpack_require__(7430),In={};In.styleTagTransform=Ct(),In.setAttributes=mt(),In.insert=pt().bind(null,"head"),In.domAPI=ht(),In.insertStyleElement=bt(),ct()(Sn.A,In),Sn.A&&Sn.A.locals&&Sn.A.locals;var Mn=__webpack_require__(1601),Pn=__webpack_require__.n(Mn);__webpack_require__.p=window.__jupyter_widgets_assets_path__||__webpack_require__.p;const Rn=__webpack_require__(9029).v2.state,On=__webpack_require__(9029).v2.view,Ln=new(Pn());Ln.compile(Rn),Ln.compile(On);const Nn=function(e){return new Promise(((t,n)=>{const i=window.requirejs;void 0===i?n("Requirejs is needed, please ensure it is loaded on the page."):i(e,t,n)}))};let zn="https://cdn.jsdelivr.net/npm/",Fn=!1;const qn=document.getElementsByTagName("script");function Un(e,t){const n=window.requirejs;if(void 0===n)throw new Error("Requirejs is needed, please ensure it is loaded on the page.");function i(){const i={paths:{}};return i.paths[e]=function(e,t){let n=e,i="index",r=e.indexOf("/");return-1!=r&&"@"==e[0]&&(r=e.indexOf("/",r+1)),-1!=r&&(i=e.substr(r+1),n=e.substr(0,r)),`${zn}${n}@${t}/dist/${i}`}(e,t),n.config(i),Nn([`${e}`])}return Fn?(console.log(`Loading from ${zn} for ${e}@${t}`),i()):Nn([`${e}`]).catch((r=>{const o=r.requireModules&&r.requireModules[0];if(o)return n.undef(o),console.log(`Falling back to ${zn} for ${e}@${t}`),i()}))}Array.prototype.forEach.call(qn,(e=>{zn=e.getAttribute("data-jupyter-widgets-cdn")||zn,Fn=Fn||e.hasAttribute("data-jupyter-widgets-cdn-only")}));const $n=__webpack_require__(8330).rE;function Hn(e,t){return`<img src=${t} class="jupyter-widget">\n<script type="application/vnd.jupyter.widgets-state+json">${JSON.stringify(e)}<\/script>`}})(),__webpack_exports__})())); |
| 25 |
//# sourceMappingURL=index.js.map; |
| 26 |
|
| 27 |
/*! For license information please see libembed-amd.js.LICENSE.txt */ |
| 28 |
define("@jupyter-widgets/html-manager/dist/libembed-amd",["module"],(e=>(()=>{var t={1601:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=o(5319),f=o(2431),a=o(1672),A=o(3928),r=["/properties"],c="http://json-schema.org/draft-07/schema";class i extends n.default{_addVocabularies(){super._addVocabularies(),f.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(A,r):A;this.addMetaSchema(e,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=i,e.exports=t=i,e.exports.Ajv=i,Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var s=o(6223);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return s.KeywordCxt}});var l=o(7898);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var b=o(5031);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return b.default}});var C=o(5748);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return C.default}})},3277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class o{}t._CodeOrName=o,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends o{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class f extends o{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function a(e,...t){const o=[e[0]];let n=0;for(;n<t.length;)c(o,t[n]),o.push(e[++n]);return new f(o)}t._Code=f,t.nil=new f(""),t._=a;const A=new f("+");function r(e,...t){const o=[s(e[0])];let n=0;for(;n<t.length;)o.push(A),c(o,t[n]),o.push(A,s(e[++n]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===A){const o=i(e[t-1],e[t+1]);if(void 0!==o){e.splice(t-1,3,o);continue}e[t++]="+"}t++}}(o),new f(o)}function c(e,t){var o;t instanceof f?e.push(...t._items):t instanceof n?e.push(t):e.push("number"==typeof(o=t)||"boolean"==typeof o||null===o?o:s(Array.isArray(o)?o.join(","):o))}function i(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof n||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof n?void 0:`"${e}${t.slice(1)}`}function s(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=r,t.addCodeArg=c,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:r`${e}${t}`},t.stringify=function(e){return new f(s(e))},t.safeStringify=s,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new f(`.${e}`):a`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new f(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new f(e.toString())}},7898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=o(3277),f=o(6930);var a=o(3277);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return a.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return a.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return a.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return a.Name}});var A=o(6930);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return A.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return A.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return A.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return A.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class r{optimizeNodes(){return this}optimizeNames(e,t){return this}}class c extends r{constructor(e,t,o){super(),this.varKind=e,this.name=t,this.rhs=o}render({es5:e,_n:t}){const o=e?f.varKinds.var:this.varKind,n=void 0===this.rhs?"":` = ${this.rhs}`;return`${o} ${this.name}${n};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=S(this.rhs,e,t)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class i extends r{constructor(e,t,o){super(),this.lhs=e,this.rhs=t,this.sideEffects=o}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof n.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=S(this.rhs,e,t),this}get names(){return x(this.lhs instanceof n.Name?{}:{...this.lhs.names},this.rhs)}}class s extends i{constructor(e,t,o,n){super(e,o,n),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class l extends r{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class b extends r{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class C extends r{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class d extends r{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=S(this.code,e,t),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class m extends r{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,o)=>t+o.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const o=e[t].optimizeNodes();Array.isArray(o)?e.splice(t,1,...o):o?e[t]=o:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:o}=this;let n=o.length;for(;n--;){const f=o[n];f.optimizeNames(e,t)||(P(e,f.names),o.splice(n,1))}return o.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>q(e,t.names)),{})}}class u extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class B extends m{}class h extends u{}h.kind="else";class p extends u{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new h(e):e}return t?!1===e?t instanceof p?t:t.nodes:this.nodes.length?this:new p(j(e),t instanceof p?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var o;if(this.else=null===(o=this.else)||void 0===o?void 0:o.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=S(this.condition,e,t),this}get names(){const e=super.names;return x(e,this.condition),this.else&&q(e,this.else.names),e}}p.kind="if";class g extends u{}g.kind="for";class w extends g{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=S(this.iteration,e,t),this}get names(){return q(super.names,this.iteration.names)}}class y extends g{constructor(e,t,o,n){super(),this.varKind=e,this.name=t,this.from=o,this.to=n}render(e){const t=e.es5?f.varKinds.var:this.varKind,{name:o,from:n,to:a}=this;return`for(${t} ${o}=${n}; ${o}<${a}; ${o}++)`+super.render(e)}get names(){const e=x(super.names,this.from);return x(e,this.to)}}class v extends g{constructor(e,t,o,n){super(),this.loop=e,this.varKind=t,this.name=o,this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=S(this.iterable,e,t),this}get names(){return q(super.names,this.iterable.names)}}class k extends u{constructor(e,t,o){super(),this.name=e,this.args=t,this.async=o}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}k.kind="func";class E extends m{render(e){return"return "+super.render(e)}}E.kind="return";class $ extends u{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var o,n;return super.optimizeNames(e,t),null===(o=this.catch)||void 0===o||o.optimizeNames(e,t),null===(n=this.finally)||void 0===n||n.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&q(e,this.catch.names),this.finally&&q(e,this.finally.names),e}}class F extends u{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}F.kind="catch";class _ extends u{render(e){return"finally"+super.render(e)}}function q(e,t){for(const o in t)e[o]=(e[o]||0)+(t[o]||0);return e}function x(e,t){return t instanceof n._CodeOrName?q(e,t.names):e}function S(e,t,o){return e instanceof n.Name?a(e):(f=e)instanceof n._Code&&f._items.some((e=>e instanceof n.Name&&1===t[e.str]&&void 0!==o[e.str]))?new n._Code(e._items.reduce(((e,t)=>(t instanceof n.Name&&(t=a(t)),t instanceof n._Code?e.push(...t._items):e.push(t),e)),[])):e;var f;function a(e){const n=o[e.str];return void 0===n||1!==t[e.str]?e:(delete t[e.str],n)}}function P(e,t){for(const o in t)e[o]=(e[o]||0)-(t[o]||0)}function j(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:n._`!${O(e)}`}_.kind="finally",t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new f.Scope({parent:e}),this._nodes=[new B]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const o=this._extScope.value(e,t);return(this._values[o.prefix]||(this._values[o.prefix]=new Set)).add(o),o}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,o,n){const f=this._scope.toName(t);return void 0!==o&&n&&(this._constants[f.str]=o),this._leafNode(new c(e,f,o)),f}const(e,t,o){return this._def(f.varKinds.const,e,t,o)}let(e,t,o){return this._def(f.varKinds.let,e,t,o)}var(e,t,o){return this._def(f.varKinds.var,e,t,o)}assign(e,t,o){return this._leafNode(new i(e,t,o))}add(e,o){return this._leafNode(new s(e,t.operators.ADD,o))}code(e){return"function"==typeof e?e():e!==n.nil&&this._leafNode(new d(e)),this}object(...e){const t=["{"];for(const[o,f]of e)t.length>1&&t.push(","),t.push(o),(o!==f||this.opts.es5)&&(t.push(":"),(0,n.addCodeArg)(t,f));return t.push("}"),new n._Code(t)}if(e,t,o){if(this._blockNode(new p(e)),t&&o)this.code(t).else().code(o).endIf();else if(t)this.code(t).endIf();else if(o)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new p(e))}else(){return this._elseNode(new h)}endIf(){return this._endBlockNode(p,h)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,o,n,a=(this.opts.es5?f.varKinds.var:f.varKinds.let)){const A=this._scope.toName(e);return this._for(new y(a,A,t,o),(()=>n(A)))}forOf(e,t,o,a=f.varKinds.const){const A=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,n._`${e}.length`,(t=>{this.var(A,n._`${e}[${t}]`),o(A)}))}return this._for(new v("of",a,A,t),(()=>o(A)))}forIn(e,t,o,a=(this.opts.es5?f.varKinds.var:f.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,n._`Object.keys(${t})`,o);const A=this._scope.toName(e);return this._for(new v("in",a,A,t),(()=>o(A)))}endFor(){return this._endBlockNode(g)}label(e){return this._leafNode(new l(e))}break(e){return this._leafNode(new b(e))}return(e){const t=new E;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(e,t,o){if(!t&&!o)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new $;if(this._blockNode(n),this.code(e),t){const e=this.name("e");this._currNode=n.catch=new F(e),t(e)}return o&&(this._currNode=n.finally=new _,this.code(o)),this._endBlockNode(F,_)}throw(e){return this._leafNode(new C(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const o=this._nodes.length-t;if(o<0||void 0!==e&&o!==e)throw new Error(`CodeGen: wrong number of nodes: ${o} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=n.nil,o,f){return this._blockNode(new k(e,t,o)),f&&this.code(f).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const o=this._currNode;if(o instanceof e||t&&o instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof p))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=j;const T=N(t.operators.AND);t.and=function(...e){return e.reduce(T)};const D=N(t.operators.OR);function N(e){return(t,o)=>t===n.nil?o:o===n.nil?t:n._`${O(t)} ${e} ${O(o)}`}function O(e){return e instanceof n.Name?e:n._`(${e})`}t.or=function(...e){return e.reduce(D)}},6930:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=o(3277);class f extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var a;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(a||(t.UsedValueState=a={})),t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class A{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,o;if((null===(o=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===o?void 0:o.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=A;class r extends n.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:o}){this.value=e,this.scopePath=n._`.${new n.Name(t)}[${o}]`}}t.ValueScopeName=r;const c=n._`\n`;t.ValueScope=class extends A{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?c:n.nil}}get(){return this._scope}name(e){return new r(e,this._newName(e))}value(e,t){var o;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e),{prefix:f}=n,a=null!==(o=t.key)&&void 0!==o?o:t.ref;let A=this._values[f];if(A){const e=A.get(a);if(e)return e}else A=this._values[f]=new Map;A.set(a,n);const r=this._scope[f]||(this._scope[f]=[]),c=r.length;return r[c]=t.ref,n.setValue(t,{property:f,itemIndex:c}),n}getValue(e,t){const o=this._values[e];if(o)return o.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return n._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,o){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,o)}_reduceValues(e,o,A={},r){let c=n.nil;for(const i in e){const s=e[i];if(!s)continue;const l=A[i]=A[i]||new Map;s.forEach((e=>{if(l.has(e))return;l.set(e,a.Started);let A=o(e);if(A){const o=this.opts.es5?t.varKinds.var:t.varKinds.const;c=n._`${c}${o} ${e} = ${A};${this.opts._n}`}else{if(!(A=null==r?void 0:r(e)))throw new f(e);c=n._`${c}${A}${this.opts._n}`}l.set(e,a.Completed)}))}return c}}},9409:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=o(7898),f=o(458),a=o(3036);function A(e,t){const o=e.const("err",t);e.if(n._`${a.default.vErrors} === null`,(()=>e.assign(a.default.vErrors,n._`[${o}]`)),n._`${a.default.vErrors}.push(${o})`),e.code(n._`${a.default.errors}++`)}function r(e,t){const{gen:o,validateName:f,schemaEnv:a}=e;a.$async?o.throw(n._`new ${e.ValidationError}(${t})`):(o.assign(n._`${f}.errors`,t),o.return(!1))}t.keywordError={message:({keyword:e})=>n.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?n.str`"${e}" keyword must be ${t} ($data)`:n.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,o=t.keywordError,f,a){const{it:c}=e,{gen:s,compositeRule:l,allErrors:b}=c,C=i(e,o,f);(null!=a?a:l||b)?A(s,C):r(c,n._`[${C}]`)},t.reportExtraError=function(e,o=t.keywordError,n){const{it:f}=e,{gen:c,compositeRule:s,allErrors:l}=f;A(c,i(e,o,n)),s||l||r(f,a.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(a.default.errors,t),e.if(n._`${a.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(n._`${a.default.vErrors}.length`,t)),(()=>e.assign(a.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:o,data:f,errsCount:A,it:r}){if(void 0===A)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",A,a.default.errors,(A=>{e.const(c,n._`${a.default.vErrors}[${A}]`),e.if(n._`${c}.instancePath === undefined`,(()=>e.assign(n._`${c}.instancePath`,(0,n.strConcat)(a.default.instancePath,r.errorPath)))),e.assign(n._`${c}.schemaPath`,n.str`${r.errSchemaPath}/${t}`),r.opts.verbose&&(e.assign(n._`${c}.schema`,o),e.assign(n._`${c}.data`,f))}))};const c={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function i(e,t,o){const{createErrors:f}=e.it;return!1===f?n._`{}`:function(e,t,o={}){const{gen:f,it:A}=e,r=[s(A,o),l(e,o)];return function(e,{params:t,message:o},f){const{keyword:A,data:r,schemaValue:i,it:s}=e,{opts:l,propertyName:b,topSchemaRef:C,schemaPath:d}=s;f.push([c.keyword,A],[c.params,"function"==typeof t?t(e):t||n._`{}`]),l.messages&&f.push([c.message,"function"==typeof o?o(e):o]),l.verbose&&f.push([c.schema,i],[c.parentSchema,n._`${C}${d}`],[a.default.data,r]),b&&f.push([c.propertyName,b])}(e,t,r),f.object(...r)}(e,t,o)}function s({errorPath:e},{instancePath:t}){const o=t?n.str`${e}${(0,f.getErrorPath)(t,f.Type.Str)}`:e;return[a.default.instancePath,(0,n.strConcat)(a.default.instancePath,o)]}function l({keyword:e,it:{errSchemaPath:t}},{schemaPath:o,parentSchema:a}){let A=a?t:n.str`${t}/${e}`;return o&&(A=n.str`${A}${(0,f.getErrorPath)(o,f.Type.Str)}`),[c.schemaPath,A]}},9392:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const n=o(7898),f=o(5031),a=o(3036),A=o(4856),r=o(458),c=o(6223);class i{constructor(e){var t;let o;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(o=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,A.normalizeId)(null==o?void 0:o[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==o?void 0:o.$async,this.refs={}}}function s(e){const t=b.call(this,e);if(t)return t;const o=(0,A.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:r,lines:i}=this.opts.code,{ownProperties:s}=this.opts,l=new n.CodeGen(this.scope,{es5:r,lines:i,ownProperties:s});let C;e.$async&&(C=l.scopeValue("Error",{ref:f.default,code:n._`require("ajv/dist/runtime/validation_error").default`}));const d=l.scopeName("validate");e.validateName=d;const m={gen:l,allErrors:this.opts.allErrors,data:a.default.data,parentData:a.default.parentData,parentDataProperty:a.default.parentDataProperty,dataNames:[a.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,n.stringify)(e.schema)}:{ref:e.schema}),validateName:d,ValidationError:C,schema:e.schema,schemaEnv:e,rootId:o,baseId:e.baseId||o,schemaPath:n.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:n._`""`,opts:this.opts,self:this};let u;try{this._compilations.add(e),(0,c.validateFunctionCode)(m),l.optimize(this.opts.code.optimize);const t=l.toString();u=`${l.scopeRefs(a.default.scope)}return ${t}`,this.opts.code.process&&(u=this.opts.code.process(u,e));const o=new Function(`${a.default.self}`,`${a.default.scope}`,u)(this,this.scope.get());if(this.scope.value(d,{ref:o}),o.errors=null,o.schema=e.schema,o.schemaEnv=e,e.$async&&(o.$async=!0),!0===this.opts.code.source&&(o.source={validateName:d,validateCode:t,scopeValues:l._values}),this.opts.unevaluated){const{props:e,items:t}=m;o.evaluated={props:e instanceof n.Name?void 0:e,items:t instanceof n.Name?void 0:t,dynamicProps:e instanceof n.Name,dynamicItems:t instanceof n.Name},o.source&&(o.source.evaluated=(0,n.stringify)(o.evaluated))}return e.validate=o,e}catch(t){throw delete e.validate,delete e.validateName,u&&this.logger.error("Error compiling schema, function code:",u),t}finally{this._compilations.delete(e)}}function l(e){return(0,A.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:s.call(this,e)}function b(e){for(const n of this._compilations)if(o=e,(t=n).schema===o.schema&&t.root===o.root&&t.baseId===o.baseId)return n;var t,o}function C(e,t){let o;for(;"string"==typeof(o=this.refs[t]);)t=o;return o||this.schemas[t]||d.call(this,e,t)}function d(e,t){const o=this.opts.uriResolver.parse(t),n=(0,A._getFullPath)(this.opts.uriResolver,o);let f=(0,A.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===f)return u.call(this,o,e);const a=(0,A.normalizeId)(n),r=this.refs[a]||this.schemas[a];if("string"==typeof r){const t=d.call(this,e,r);if("object"!=typeof(null==t?void 0:t.schema))return;return u.call(this,o,t)}if("object"==typeof(null==r?void 0:r.schema)){if(r.validate||s.call(this,r),a===(0,A.normalizeId)(t)){const{schema:t}=r,{schemaId:o}=this.opts,n=t[o];return n&&(f=(0,A.resolveUrl)(this.opts.uriResolver,f,n)),new i({schema:t,schemaId:o,root:e,baseId:f})}return u.call(this,o,r)}}t.SchemaEnv=i,t.compileSchema=s,t.resolveRef=function(e,t,o){var n;o=(0,A.resolveUrl)(this.opts.uriResolver,t,o);const f=e.refs[o];if(f)return f;let a=C.call(this,e,o);if(void 0===a){const f=null===(n=e.localRefs)||void 0===n?void 0:n[o],{schemaId:A}=this.opts;f&&(a=new i({schema:f,schemaId:A,root:e,baseId:t}))}return void 0!==a?e.refs[o]=l.call(this,a):void 0},t.getCompilingSchema=b,t.resolveSchema=d;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function u(e,{baseId:t,schema:o,root:n}){var f;if("/"!==(null===(f=e.fragment)||void 0===f?void 0:f[0]))return;for(const n of e.fragment.slice(1).split("/")){if("boolean"==typeof o)return;const e=o[(0,r.unescapeFragment)(n)];if(void 0===e)return;const f="object"==typeof(o=e)&&o[this.opts.schemaId];!m.has(n)&&f&&(t=(0,A.resolveUrl)(this.opts.uriResolver,t,f))}let a;if("boolean"!=typeof o&&o.$ref&&!(0,r.schemaHasRulesButRef)(o,this.RULES)){const e=(0,A.resolveUrl)(this.opts.uriResolver,t,o.$ref);a=d.call(this,n,e)}const{schemaId:c}=this.opts;return a=a||new i({schema:o,schemaId:c,root:n,baseId:t}),a.schema!==a.root.schema?a:void 0}},3036:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t.default=f},5748:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(4856);class f extends Error{constructor(e,t,o,f){super(f||`can't resolve reference ${o} from id ${t}`),this.missingRef=(0,n.resolveUrl)(e,t,o),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t.default=f},4856:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=o(458),f=o(8792),a=o(1645),A=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!c(e):!!t&&i(e)<=t)};const r=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function c(e){for(const t in e){if(r.has(t))return!0;const o=e[t];if(Array.isArray(o)&&o.some(c))return!0;if("object"==typeof o&&c(o))return!0}return!1}function i(e){let t=0;for(const o in e){if("$ref"===o)return 1/0;if(t++,!A.has(o)&&("object"==typeof e[o]&&(0,n.eachItem)(e[o],(e=>t+=i(e))),t===1/0))return 1/0}return t}function s(e,t="",o){!1!==o&&(t=C(t));const n=e.parse(t);return l(e,n)}function l(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=s,t._getFullPath=l;const b=/#\/?$/;function C(e){return e?e.replace(b,""):""}t.normalizeId=C,t.resolveUrl=function(e,t,o){return o=C(o),e.resolve(t,o)};const d=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:o,uriResolver:n}=this.opts,A=C(e[o]||t),r={"":A},c=s(n,A,!1),i={},l=new Set;return a(e,{allKeys:!0},((e,t,n,f)=>{if(void 0===f)return;const a=c+t;let A=r[f];function s(t){const o=this.opts.uriResolver.resolve;if(t=C(A?o(A,t):t),l.has(t))throw m(t);l.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?b(e,n.schema,t):t!==C(a)&&("#"===t[0]?(b(e,i[t],t),i[t]=e):this.refs[t]=a),t}function u(e){if("string"==typeof e){if(!d.test(e))throw new Error(`invalid anchor "${e}"`);s.call(this,`#${e}`)}}"string"==typeof e[o]&&(A=s.call(this,e[o])),u.call(this,e.$anchor),u.call(this,e.$dynamicAnchor),r[t]=A})),i;function b(e,t,o){if(void 0!==t&&!f(e,t))throw m(o)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const o=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&o.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=o(7898),f=o(3277);function a(e,t=e.schema){const{opts:o,self:n}=e;if(!o.strictSchema)return;if("boolean"==typeof t)return;const f=n.RULES.keywords;for(const o in t)f[o]||d(e,`unknown keyword: "${o}"`)}function A(e,t){if("boolean"==typeof e)return!e;for(const o in e)if(t[o])return!0;return!1}function r(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function i({mergeNames:e,mergeToName:t,mergeValues:o,resultToName:f}){return(a,A,r,c)=>{const i=void 0===r?A:r instanceof n.Name?(A instanceof n.Name?e(a,A,r):t(a,A,r),r):A instanceof n.Name?(t(a,r,A),A):o(A,r);return c!==n.Name||i instanceof n.Name?i:f(a,i)}}function s(e,t){if(!0===t)return e.var("props",!0);const o=e.var("props",n._`{}`);return void 0!==t&&l(e,o,t),o}function l(e,t,o){Object.keys(o).forEach((o=>e.assign(n._`${t}${(0,n.getProperty)(o)}`,!0)))}t.toHash=function(e){const t={};for(const o of e)t[o]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(a(e,t),!A(t,e.self.RULES.all))},t.checkUnknownRules=a,t.schemaHasRules=A,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const o in e)if("$ref"!==o&&t.all[o])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},o,f,a){if(!a){if("number"==typeof o||"boolean"==typeof o)return o;if("string"==typeof o)return n._`${o}`}return n._`${e}${t}${(0,n.getProperty)(f)}`},t.unescapeFragment=function(e){return c(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(r(e))},t.escapeJsonPointer=r,t.unescapeJsonPointer=c,t.eachItem=function(e,t){if(Array.isArray(e))for(const o of e)t(o);else t(e)},t.mergeEvaluated={props:i({mergeNames:(e,t,o)=>e.if(n._`${o} !== true && ${t} !== undefined`,(()=>{e.if(n._`${t} === true`,(()=>e.assign(o,!0)),(()=>e.assign(o,n._`${o} || {}`).code(n._`Object.assign(${o}, ${t})`)))})),mergeToName:(e,t,o)=>e.if(n._`${o} !== true`,(()=>{!0===t?e.assign(o,!0):(e.assign(o,n._`${o} || {}`),l(e,o,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:s}),items:i({mergeNames:(e,t,o)=>e.if(n._`${o} !== true && ${t} !== undefined`,(()=>e.assign(o,n._`${t} === true ? true : ${o} > ${t} ? ${o} : ${t}`))),mergeToName:(e,t,o)=>e.if(n._`${o} !== true`,(()=>e.assign(o,!0===t||n._`${o} > ${t} ? ${o} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=s,t.setEvaluated=l;const b={};var C;function d(e,t,o=e.opts.strictSchema){if(o){if(t=`strict mode: ${t}`,!0===o)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:b[t.code]||(b[t.code]=new f._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(C||(t.Type=C={})),t.getErrorPath=function(e,t,o){if(e instanceof n.Name){const f=t===C.Num;return o?f?n._`"[" + ${e} + "]"`:n._`"['" + ${e} + "']"`:f?n._`"/" + ${e}`:n._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return o?(0,n.getProperty)(e).toString():"/"+r(e)},t.checkStrictMode=d},4758:(e,t)=>{"use strict";function o(e,t){return t.rules.some((t=>n(e,t)))}function n(e,t){var o;return void 0!==e[t.keyword]||(null===(o=t.definition.implements)||void 0===o?void 0:o.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},n){const f=t.RULES.types[n];return f&&!0!==f&&o(e,f)},t.shouldUseGroup=o,t.shouldUseRule=n},5948:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=o(9409),f=o(7898),a=o(3036),A={message:"boolean schema is false"};function r(e,t){const{gen:o,data:f}=e,a={gen:o,keyword:"false schema",data:f,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,n.reportError)(a,A,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:o,validateName:n}=e;!1===o?r(e,!1):"object"==typeof o&&!0===o.$async?t.return(a.default.data):(t.assign(f._`${n}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:o,schema:n}=e;!1===n?(o.var(t,!1),r(e)):o.var(t,!0)}},9003:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=o(383),f=o(4758),a=o(9409),A=o(7898),r=o(458);var c;function i(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(c||(t.DataType=c={})),t.getSchemaTypes=function(e){const t=i(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=i,t.coerceAndCheckDataType=function(e,t){const{gen:o,data:n,opts:a}=e,r=function(e,t){return t?e.filter((e=>s.has(e)||"array"===t&&"array"===e)):[]}(t,a.coerceTypes),i=t.length>0&&!(0===r.length&&1===t.length&&(0,f.schemaHasRulesForType)(e,t[0]));if(i){const f=b(t,n,a.strictNumbers,c.Wrong);o.if(f,(()=>{r.length?function(e,t,o){const{gen:n,data:f,opts:a}=e,r=n.let("dataType",A._`typeof ${f}`),c=n.let("coerced",A._`undefined`);"array"===a.coerceTypes&&n.if(A._`${r} == 'object' && Array.isArray(${f}) && ${f}.length == 1`,(()=>n.assign(f,A._`${f}[0]`).assign(r,A._`typeof ${f}`).if(b(t,f,a.strictNumbers),(()=>n.assign(c,f))))),n.if(A._`${c} !== undefined`);for(const e of o)(s.has(e)||"array"===e&&"array"===a.coerceTypes)&&i(e);function i(e){switch(e){case"string":return void n.elseIf(A._`${r} == "number" || ${r} == "boolean"`).assign(c,A._`"" + ${f}`).elseIf(A._`${f} === null`).assign(c,A._`""`);case"number":return void n.elseIf(A._`${r} == "boolean" || ${f} === null |
| 29 |
|| (${r} == "string" && ${f} && ${f} == +${f})`).assign(c,A._`+${f}`);case"integer":return void n.elseIf(A._`${r} === "boolean" || ${f} === null |
| 30 |
|| (${r} === "string" && ${f} && ${f} == +${f} && !(${f} % 1))`).assign(c,A._`+${f}`);case"boolean":return void n.elseIf(A._`${f} === "false" || ${f} === 0 || ${f} === null`).assign(c,!1).elseIf(A._`${f} === "true" || ${f} === 1`).assign(c,!0);case"null":return n.elseIf(A._`${f} === "" || ${f} === 0 || ${f} === false`),void n.assign(c,null);case"array":n.elseIf(A._`${r} === "string" || ${r} === "number" |
| 31 |
|| ${r} === "boolean" || ${f} === null`).assign(c,A._`[${f}]`)}}n.else(),d(e),n.endIf(),n.if(A._`${c} !== undefined`,(()=>{n.assign(f,c),function({gen:e,parentData:t,parentDataProperty:o},n){e.if(A._`${t} !== undefined`,(()=>e.assign(A._`${t}[${o}]`,n)))}(e,c)}))}(e,t,r):d(e)}))}return i};const s=new Set(["string","number","integer","boolean","null"]);function l(e,t,o,n=c.Correct){const f=n===c.Correct?A.operators.EQ:A.operators.NEQ;let a;switch(e){case"null":return A._`${t} ${f} null`;case"array":a=A._`Array.isArray(${t})`;break;case"object":a=A._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":a=r(A._`!(${t} % 1) && !isNaN(${t})`);break;case"number":a=r();break;default:return A._`typeof ${t} ${f} ${e}`}return n===c.Correct?a:(0,A.not)(a);function r(e=A.nil){return(0,A.and)(A._`typeof ${t} == "number"`,e,o?A._`isFinite(${t})`:A.nil)}}function b(e,t,o,n){if(1===e.length)return l(e[0],t,o,n);let f;const a=(0,r.toHash)(e);if(a.array&&a.object){const e=A._`typeof ${t} != "object"`;f=a.null?e:A._`!${t} || ${e}`,delete a.null,delete a.array,delete a.object}else f=A.nil;a.number&&delete a.integer;for(const e in a)f=(0,A.and)(f,l(e,t,o,n));return f}t.checkDataType=l,t.checkDataTypes=b;const C={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?A._`{type: ${e}}`:A._`{type: ${t}}`};function d(e){const t=function(e){const{gen:t,data:o,schema:n}=e,f=(0,r.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:o,schema:n.type,schemaCode:f,schemaValue:f,parentSchema:n,params:{},it:e}}(e);(0,a.reportError)(t,C)}t.reportTypeError=d},6841:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const n=o(7898),f=o(458);function a(e,t,o){const{gen:a,compositeRule:A,data:r,opts:c}=e;if(void 0===o)return;const i=n._`${r}${(0,n.getProperty)(t)}`;if(A)return void(0,f.checkStrictMode)(e,`default is ignored for: ${i}`);let s=n._`${i} === undefined`;"empty"===c.useDefaults&&(s=n._`${s} || ${i} === null || ${i} === ""`),a.if(s,n._`${i} = ${(0,n.stringify)(o)}`)}t.assignDefaults=function(e,t){const{properties:o,items:n}=e.schema;if("object"===t&&o)for(const t in o)a(e,t,o[t].default);else"array"===t&&Array.isArray(n)&&n.forEach(((t,o)=>a(e,o,t.default)))}},6223:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const n=o(5948),f=o(9003),a=o(4758),A=o(9003),r=o(6841),c=o(9348),i=o(3322),s=o(7898),l=o(3036),b=o(4856),C=o(458),d=o(9409);function m({gen:e,validateName:t,schema:o,schemaEnv:n,opts:f},a){f.code.es5?e.func(t,s._`${l.default.data}, ${l.default.valCxt}`,n.$async,(()=>{e.code(s._`"use strict"; ${u(o,f)}`),function(e,t){e.if(l.default.valCxt,(()=>{e.var(l.default.instancePath,s._`${l.default.valCxt}.${l.default.instancePath}`),e.var(l.default.parentData,s._`${l.default.valCxt}.${l.default.parentData}`),e.var(l.default.parentDataProperty,s._`${l.default.valCxt}.${l.default.parentDataProperty}`),e.var(l.default.rootData,s._`${l.default.valCxt}.${l.default.rootData}`),t.dynamicRef&&e.var(l.default.dynamicAnchors,s._`${l.default.valCxt}.${l.default.dynamicAnchors}`)}),(()=>{e.var(l.default.instancePath,s._`""`),e.var(l.default.parentData,s._`undefined`),e.var(l.default.parentDataProperty,s._`undefined`),e.var(l.default.rootData,l.default.data),t.dynamicRef&&e.var(l.default.dynamicAnchors,s._`{}`)}))}(e,f),e.code(a)})):e.func(t,s._`${l.default.data}, ${function(e){return s._`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${e.dynamicRef?s._`, ${l.default.dynamicAnchors}={}`:s.nil}}={}`}(f)}`,n.$async,(()=>e.code(u(o,f)).code(a)))}function u(e,t){const o="object"==typeof e&&e[t.schemaId];return o&&(t.code.source||t.code.process)?s._`/*# sourceURL=${o} */`:s.nil}function B({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const o in e)if(t.RULES.all[o])return!0;return!1}function h(e){return"boolean"!=typeof e.schema}function p(e){(0,C.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:o,opts:n,self:f}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,C.schemaHasRulesButRef)(t,f.RULES)&&f.logger.warn(`$ref: keywords ignored in schema at path "${o}"`)}(e)}function g(e,t){if(e.opts.jtd)return y(e,[],!1,t);const o=(0,f.getSchemaTypes)(e.schema);y(e,o,!(0,f.coerceAndCheckDataType)(e,o),t)}function w({gen:e,schemaEnv:t,schema:o,errSchemaPath:n,opts:f}){const a=o.$comment;if(!0===f.$comment)e.code(s._`${l.default.self}.logger.log(${a})`);else if("function"==typeof f.$comment){const o=s.str`${n}/$comment`,f=e.scopeValue("root",{ref:t.root});e.code(s._`${l.default.self}.opts.$comment(${a}, ${o}, ${f}.schema)`)}}function y(e,t,o,n){const{gen:f,schema:r,data:c,allErrors:i,opts:b,self:d}=e,{RULES:m}=d;function u(C){(0,a.shouldUseGroup)(r,C)&&(C.type?(f.if((0,A.checkDataType)(C.type,c,b.strictNumbers)),v(e,C),1===t.length&&t[0]===C.type&&o&&(f.else(),(0,A.reportTypeError)(e)),f.endIf()):v(e,C),i||f.if(s._`${l.default.errors} === ${n||0}`))}!r.$ref||!b.ignoreKeywordsWithRef&&(0,C.schemaHasRulesButRef)(r,m)?(b.jtd||function(e,t){!e.schemaEnv.meta&&e.opts.strictTypes&&(function(e,t){t.length&&(e.dataTypes.length?(t.forEach((t=>{k(e.dataTypes,t)||E(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const o=[];for(const n of e.dataTypes)k(t,n)?o.push(n):t.includes("integer")&&"number"===n&&o.push("integer");e.dataTypes=o}(e,t)):e.dataTypes=t)}(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&E(e,"use allowUnionTypes to allow union type keyword")}(e,t),function(e,t){const o=e.self.RULES.all;for(const n in o){const f=o[n];if("object"==typeof f&&(0,a.shouldUseRule)(e.schema,f)){const{type:o}=f.definition;o.length&&!o.some((e=>{return n=e,(o=t).includes(n)||"number"===n&&o.includes("integer");var o,n}))&&E(e,`missing type "${o.join(",")}" for keyword "${n}"`)}}}(e,e.dataTypes))}(e,t),f.block((()=>{for(const e of m.rules)u(e);u(m.post)}))):f.block((()=>F(e,"$ref",m.all.$ref.definition)))}function v(e,t){const{gen:o,schema:n,opts:{useDefaults:f}}=e;f&&(0,r.assignDefaults)(e,t.type),o.block((()=>{for(const o of t.rules)(0,a.shouldUseRule)(n,o)&&F(e,o.keyword,o.definition,t.type)}))}function k(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function E(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,C.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){h(e)&&(p(e),B(e))?function(e){const{schema:t,opts:o,gen:n}=e;m(e,(()=>{o.$comment&&t.$comment&&w(e),function(e){const{schema:t,opts:o}=e;void 0!==t.default&&o.useDefaults&&o.strictSchema&&(0,C.checkStrictMode)(e,"default is ignored in the schema root")}(e),n.let(l.default.vErrors,null),n.let(l.default.errors,0),o.unevaluated&&function(e){const{gen:t,validateName:o}=e;e.evaluated=t.const("evaluated",s._`${o}.evaluated`),t.if(s._`${e.evaluated}.dynamicProps`,(()=>t.assign(s._`${e.evaluated}.props`,s._`undefined`))),t.if(s._`${e.evaluated}.dynamicItems`,(()=>t.assign(s._`${e.evaluated}.items`,s._`undefined`)))}(e),g(e),function(e){const{gen:t,schemaEnv:o,validateName:n,ValidationError:f,opts:a}=e;o.$async?t.if(s._`${l.default.errors} === 0`,(()=>t.return(l.default.data)),(()=>t.throw(s._`new ${f}(${l.default.vErrors})`))):(t.assign(s._`${n}.errors`,l.default.vErrors),a.unevaluated&&function({gen:e,evaluated:t,props:o,items:n}){o instanceof s.Name&&e.assign(s._`${t}.props`,o),n instanceof s.Name&&e.assign(s._`${t}.items`,n)}(e),t.return(s._`${l.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,n.topBoolOrEmptySchema)(e)))};class ${constructor(e,t,o){if((0,c.validateKeywordUsage)(e,t,o),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=o,this.data=e.data,this.schema=e.schema[o],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,C.schemaRefOrVal)(e,this.schema,o,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",x(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${o} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",l.default.errors))}result(e,t,o){this.failResult((0,s.not)(e),t,o)}failResult(e,t,o){this.gen.if(e),o?o():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,s.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(s._`${t} !== undefined && (${(0,s.or)(this.invalid$data(),e)})`)}error(e,t,o){if(t)return this.setParams(t),this._error(e,o),void this.setParams({});this._error(e,o)}_error(e,t){(e?d.reportExtraError:d.reportError)(this,this.def.error,t)}$dataError(){(0,d.reportError)(this,this.def.$dataError||d.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,d.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,o=s.nil){this.gen.block((()=>{this.check$data(e,o),t()}))}check$data(e=s.nil,t=s.nil){if(!this.$data)return;const{gen:o,schemaCode:n,schemaType:f,def:a}=this;o.if((0,s.or)(s._`${n} === undefined`,t)),e!==s.nil&&o.assign(e,!0),(f.length||a.validateSchema)&&(o.elseIf(this.invalid$data()),this.$dataError(),e!==s.nil&&o.assign(e,!1)),o.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:o,def:n,it:f}=this;return(0,s.or)(function(){if(o.length){if(!(t instanceof s.Name))throw new Error("ajv implementation error");const e=Array.isArray(o)?o:[o];return s._`${(0,A.checkDataTypes)(e,t,f.opts.strictNumbers,A.DataType.Wrong)}`}return s.nil}(),function(){if(n.validateSchema){const o=e.scopeValue("validate$data",{ref:n.validateSchema});return s._`!${o}(${t})`}return s.nil}())}subschema(e,t){const o=(0,i.getSubschema)(this.it,e);(0,i.extendSubschemaData)(o,this.it,e),(0,i.extendSubschemaMode)(o,e);const f={...this.it,...o,items:void 0,props:void 0};return function(e,t){h(e)&&(p(e),B(e))?function(e,t){const{schema:o,gen:n,opts:f}=e;f.$comment&&o.$comment&&w(e),function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,b.resolveUrl)(e.opts.uriResolver,e.baseId,t))}(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const a=n.const("_errs",l.default.errors);g(e,a),n.var(t,s._`${a} === ${l.default.errors}`)}(e,t):(0,n.boolOrEmptySchema)(e,t)}(f,t),f}mergeEvaluated(e,t){const{it:o,gen:n}=this;o.opts.unevaluated&&(!0!==o.props&&void 0!==e.props&&(o.props=C.mergeEvaluated.props(n,e.props,o.props,t)),!0!==o.items&&void 0!==e.items&&(o.items=C.mergeEvaluated.items(n,e.items,o.items,t)))}mergeValidEvaluated(e,t){const{it:o,gen:n}=this;if(o.opts.unevaluated&&(!0!==o.props||!0!==o.items))return n.if(t,(()=>this.mergeEvaluated(e,s.Name))),!0}}function F(e,t,o,n){const f=new $(e,o,t);"code"in o?o.code(f,n):f.$data&&o.validate?(0,c.funcKeywordCode)(f,o):"macro"in o?(0,c.macroKeywordCode)(f,o):(o.compile||o.validate)&&(0,c.funcKeywordCode)(f,o)}t.KeywordCxt=$;const _=/^\/(?:[^~]|~0|~1)*$/,q=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function x(e,{dataLevel:t,dataNames:o,dataPathArr:n}){let f,a;if(""===e)return l.default.rootData;if("/"===e[0]){if(!_.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);f=e,a=l.default.rootData}else{const A=q.exec(e);if(!A)throw new Error(`Invalid JSON-pointer: ${e}`);const r=+A[1];if(f=A[2],"#"===f){if(r>=t)throw new Error(c("property/index",r));return n[t-r]}if(r>t)throw new Error(c("data",r));if(a=o[t-r],!f)return a}let A=a;const r=f.split("/");for(const e of r)e&&(a=s._`${a}${(0,s.getProperty)((0,C.unescapeJsonPointer)(e))}`,A=s._`${A} && ${a}`);return A;function c(e,o){return`Cannot access ${e} ${o} levels up, current level is ${t}`}}t.getData=x},9348:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const n=o(7898),f=o(3036),a=o(4450),A=o(9409);function r(e){const{gen:t,data:o,it:f}=e;t.if(f.parentData,(()=>t.assign(o,n._`${f.parentData}[${f.parentDataProperty}]`)))}function c(e,t,o){if(void 0===o)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof o?{ref:o}:{ref:o,code:(0,n.stringify)(o)})}t.macroKeywordCode=function(e,t){const{gen:o,keyword:f,schema:a,parentSchema:A,it:r}=e,i=t.macro.call(r.self,a,A,r),s=c(o,f,i);!1!==r.opts.validateSchema&&r.self.validateSchema(i,!0);const l=o.name("valid");e.subschema({schema:i,schemaPath:n.nil,errSchemaPath:`${r.errSchemaPath}/${f}`,topSchemaRef:s,compositeRule:!0},l),e.pass(l,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var o;const{gen:i,keyword:s,schema:l,parentSchema:b,$data:C,it:d}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(d,t);const m=!C&&t.compile?t.compile.call(d.self,l,b,d):t.validate,u=c(i,s,m),B=i.let("valid");function h(o=(t.async?n._`await `:n.nil)){const A=d.opts.passContext?f.default.this:f.default.self,r=!("compile"in t&&!C||!1===t.schema);i.assign(B,n._`${o}${(0,a.callValidateCode)(e,u,A,r)}`,t.modifying)}function p(e){var o;i.if((0,n.not)(null!==(o=t.valid)&&void 0!==o?o:B),e)}e.block$data(B,(function(){if(!1===t.errors)h(),t.modifying&&r(e),p((()=>e.error()));else{const o=t.async?function(){const e=i.let("ruleErrs",null);return i.try((()=>h(n._`await `)),(t=>i.assign(B,!1).if(n._`${t} instanceof ${d.ValidationError}`,(()=>i.assign(e,n._`${t}.errors`)),(()=>i.throw(t))))),e}():function(){const e=n._`${u}.errors`;return i.assign(e,null),h(n.nil),e}();t.modifying&&r(e),p((()=>function(e,t){const{gen:o}=e;o.if(n._`Array.isArray(${t})`,(()=>{o.assign(f.default.vErrors,n._`${f.default.vErrors} === null ? ${t} : ${f.default.vErrors}.concat(${t})`).assign(f.default.errors,n._`${f.default.vErrors}.length`),(0,A.extendErrors)(e)}),(()=>e.error()))}(e,o)))}})),e.ok(null!==(o=t.valid)&&void 0!==o?o:B)},t.validSchemaType=function(e,t,o=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||o&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:o,errSchemaPath:n},f,a){if(Array.isArray(f.keyword)?!f.keyword.includes(a):f.keyword!==a)throw new Error("ajv implementation error");const A=f.dependencies;if(null==A?void 0:A.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${a}: ${A.join(",")}`);if(f.validateSchema&&!f.validateSchema(e[a])){const e=`keyword "${a}" value is invalid at path "${n}": `+o.errorsText(f.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);o.logger.error(e)}}},3322:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const n=o(7898),f=o(458);t.getSubschema=function(e,{keyword:t,schemaProp:o,schema:a,schemaPath:A,errSchemaPath:r,topSchemaRef:c}){if(void 0!==t&&void 0!==a)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const a=e.schema[t];return void 0===o?{schema:a,schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:a[o],schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(t)}${(0,n.getProperty)(o)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,f.escapeFragment)(o)}`}}if(void 0!==a){if(void 0===A||void 0===r||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:a,schemaPath:A,topSchemaRef:c,errSchemaPath:r}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:o,dataPropType:a,data:A,dataTypes:r,propertyName:c}){if(void 0!==A&&void 0!==o)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:i}=t;if(void 0!==o){const{errorPath:A,dataPathArr:r,opts:c}=t;s(i.let("data",n._`${t.data}${(0,n.getProperty)(o)}`,!0)),e.errorPath=n.str`${A}${(0,f.getErrorPath)(o,a,c.jsPropertySyntax)}`,e.parentDataProperty=n._`${o}`,e.dataPathArr=[...r,e.parentDataProperty]}function s(o){e.data=o,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,o]}void 0!==A&&(s(A instanceof n.Name?A:i.let("data",A,!0)),void 0!==c&&(e.propertyName=c)),r&&(e.dataTypes=r)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:o,compositeRule:n,createErrors:f,allErrors:a}){void 0!==n&&(e.compositeRule=n),void 0!==f&&(e.createErrors=f),void 0!==a&&(e.allErrors=a),e.jtdDiscriminator=t,e.jtdMetadata=o}},5319:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=o(6223);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var f=o(7898);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return f._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return f.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return f.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return f.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return f.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return f.CodeGen}});const a=o(5031),A=o(5748),r=o(383),c=o(9392),i=o(7898),s=o(4856),l=o(9003),b=o(458),C=o(3770),d=o(7903),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const u=["removeAdditional","useDefaults","coerceTypes"],B=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),h={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},p={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function g(e){var t,o,n,f,a,A,r,c,i,s,l,b,C,u,B,h,p,g,w,y,v,k,E,$,F;const _=e.strict,q=null===(t=e.code)||void 0===t?void 0:t.optimize,x=!0===q||void 0===q?1:q||0,S=null!==(n=null===(o=e.code)||void 0===o?void 0:o.regExp)&&void 0!==n?n:m,P=null!==(f=e.uriResolver)&&void 0!==f?f:d.default;return{strictSchema:null===(A=null!==(a=e.strictSchema)&&void 0!==a?a:_)||void 0===A||A,strictNumbers:null===(c=null!==(r=e.strictNumbers)&&void 0!==r?r:_)||void 0===c||c,strictTypes:null!==(s=null!==(i=e.strictTypes)&&void 0!==i?i:_)&&void 0!==s?s:"log",strictTuples:null!==(b=null!==(l=e.strictTuples)&&void 0!==l?l:_)&&void 0!==b?b:"log",strictRequired:null!==(u=null!==(C=e.strictRequired)&&void 0!==C?C:_)&&void 0!==u&&u,code:e.code?{...e.code,optimize:x,regExp:S}:{optimize:x,regExp:S},loopRequired:null!==(B=e.loopRequired)&&void 0!==B?B:200,loopEnum:null!==(h=e.loopEnum)&&void 0!==h?h:200,meta:null===(p=e.meta)||void 0===p||p,messages:null===(g=e.messages)||void 0===g||g,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(y=e.schemaId)&&void 0!==y?y:"$id",addUsedSchema:null===(v=e.addUsedSchema)||void 0===v||v,validateSchema:null===(k=e.validateSchema)||void 0===k||k,validateFormats:null===(E=e.validateFormats)||void 0===E||E,unicodeRegExp:null===($=e.unicodeRegExp)||void 0===$||$,int32range:null===(F=e.int32range)||void 0===F||F,uriResolver:P}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...g(e)};const{es5:t,lines:o}=this.opts.code;this.scope=new i.ValueScope({scope:{},prefixes:B,es5:t,lines:o}),this.logger=function(e){if(!1===e)return _;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const n=e.validateFormats;e.validateFormats=!1,this.RULES=(0,r.getRules)(),y.call(this,h,e,"NOT SUPPORTED"),y.call(this,p,e,"DEPRECATED","warn"),this._metaOpts=F.call(this),e.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&$.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),k.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:o}=this.opts;let n=C;"id"===o&&(n={...C},n.id=n.$id,delete n.$id),t&&e&&this.addMetaSchema(n,n[o],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let o;if("string"==typeof e){if(o=this.getSchema(e),!o)throw new Error(`no schema with key or ref "${e}"`)}else o=this.compile(e);const n=o(t);return"$async"in o||(this.errors=o.errors),n}compile(e,t){const o=this._addSchema(e,t);return o.validate||this._compileSchemaEnv(o)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:o}=this.opts;return n.call(this,e,t);async function n(e,t){await f.call(this,e.$schema);const o=this._addSchema(e,t);return o.validate||a.call(this,o)}async function f(e){e&&!this.getSchema(e)&&await n.call(this,{$ref:e},!0)}async function a(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof A.default))throw t;return r.call(this,t),await c.call(this,t.missingSchema),a.call(this,e)}}function r({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){const o=await i.call(this,e);this.refs[e]||await f.call(this,o.$schema),this.refs[e]||this.addSchema(o,e,t)}async function i(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=o(e))}finally{delete this._loading[e]}}}addSchema(e,t,o,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,o,n);return this}let f;if("object"==typeof e){const{schemaId:t}=this.opts;if(f=e[t],void 0!==f&&"string"!=typeof f)throw new Error(`schema ${t} must be string`)}return t=(0,s.normalizeId)(t||f),this._checkUnique(t),this.schemas[t]=this._addSchema(e,o,t,n,!0),this}addMetaSchema(e,t,o=this.opts.validateSchema){return this.addSchema(e,t,!0,o),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let o;if(o=e.$schema,void 0!==o&&"string"!=typeof o)throw new Error("$schema must be a string");if(o=o||this.opts.defaultMeta||this.defaultMeta(),!o)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const n=this.validate(o,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return n}getSchema(e){let t;for(;"string"==typeof(t=v.call(this,e));)e=t;if(void 0===t){const{schemaId:o}=this.opts,n=new c.SchemaEnv({schema:{},schemaId:o});if(t=c.resolveSchema.call(this,n,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=v.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let o=e[this.opts.schemaId];return o&&(o=(0,s.normalizeId)(o),delete this.schemas[o],delete this.refs[o]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let o;if("string"==typeof e)o=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=o);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(o=(t=e).keyword,Array.isArray(o)&&!o.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(x.call(this,o,t),!t)return(0,b.eachItem)(o,(e=>S.call(this,e))),this;j.call(this,t);const n={...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)};return(0,b.eachItem)(o,0===n.type.length?e=>S.call(this,e,n):e=>n.type.forEach((t=>S.call(this,e,n,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const o of t.rules){const t=o.rules.findIndex((t=>t.keyword===e));t>=0&&o.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:o="data"}={}){return e&&0!==e.length?e.map((e=>`${o}${e.instancePath} ${e.message}`)).reduce(((e,o)=>e+t+o)):"No errors"}$dataMetaSchema(e,t){const o=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let f=e;for(const e of t)f=f[e];for(const e in o){const t=o[e];if("object"!=typeof t)continue;const{$data:n}=t.definition,a=f[e];n&&a&&(f[e]=D(a))}}return e}_removeAllSchemas(e,t){for(const o in e){const n=e[o];t&&!t.test(o)||("string"==typeof n?delete e[o]:n&&!n.meta&&(this._cache.delete(n.schema),delete e[o]))}}_addSchema(e,t,o,n=this.opts.validateSchema,f=this.opts.addUsedSchema){let a;const{schemaId:A}=this.opts;if("object"==typeof e)a=e[A];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let r=this._cache.get(e);if(void 0!==r)return r;o=(0,s.normalizeId)(a||o);const i=s.getSchemaRefs.call(this,e,o);return r=new c.SchemaEnv({schema:e,schemaId:A,meta:t,baseId:o,localRefs:i}),this._cache.set(r.schema,r),f&&!o.startsWith("#")&&(o&&this._checkUnique(o),this.refs[o]=r),n&&this.validateSchema(e,!0),r}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):c.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{c.compileSchema.call(this,e)}finally{this.opts=t}}}function y(e,t,o,n="error"){for(const f in e){const a=f;a in t&&this.logger[n](`${o}: option ${f}. ${e[a]}`)}}function v(e){return e=(0,s.normalizeId)(e),this.schemas[e]||this.refs[e]}function k(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function E(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function $(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const o=e[t];o.keyword||(o.keyword=t),this.addKeyword(o)}}}function F(){const e={...this.opts};for(const t of u)delete e[t];return e}w.ValidationError=a.default,w.MissingRefError=A.default,t.default=w;const _={log(){},warn(){},error(){}},q=/^[a-z_$][a-z0-9_$:-]*$/i;function x(e,t){const{RULES:o}=this;if((0,b.eachItem)(e,(e=>{if(o.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!q.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function S(e,t,o){var n;const f=null==t?void 0:t.post;if(o&&f)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:a}=this;let A=f?a.post:a.rules.find((({type:e})=>e===o));if(A||(A={type:o,rules:[]},a.rules.push(A)),a.keywords[e]=!0,!t)return;const r={keyword:e,definition:{...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)}};t.before?P.call(this,A,r,t.before):A.rules.push(r),a.all[e]=r,null===(n=t.implements)||void 0===n||n.forEach((e=>this.addKeyword(e)))}function P(e,t,o){const n=e.rules.findIndex((e=>e.keyword===o));n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${o} is not defined`))}function j(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=D(t)),e.validateSchema=this.compile(t,!0))}const T={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function D(e){return{anyOf:[e,T]}}},2725:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(8792);n.code='require("ajv/dist/runtime/equal").default',t.default=n},6308:(e,t)=>{"use strict";function o(e){const t=e.length;let o,n=0,f=0;for(;f<t;)n++,o=e.charCodeAt(f++),o>=55296&&o<=56319&&f<t&&(o=e.charCodeAt(f),56320==(64512&o)&&f++);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,o.code='require("ajv/dist/runtime/ucs2length").default'},7903:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(2862);n.code='require("ajv/dist/runtime/uri").default',t.default=n},5031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class o extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=o},3426:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const n=o(7898),f=o(458),a={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>n.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>n._`{limit: ${e}}`},code(e){const{parentSchema:t,it:o}=e,{items:n}=t;Array.isArray(n)?A(e,n):(0,f.checkStrictMode)(o,'"additionalItems" is ignored when "items" is not an array of schemas')}};function A(e,t){const{gen:o,schema:a,data:A,keyword:r,it:c}=e;c.items=!0;const i=o.const("len",n._`${A}.length`);if(!1===a)e.setParams({len:t.length}),e.pass(n._`${i} <= ${t.length}`);else if("object"==typeof a&&!(0,f.alwaysValidSchema)(c,a)){const a=o.var("valid",n._`${i} <= ${t.length}`);o.if((0,n.not)(a),(()=>function(a){o.forRange("i",t.length,i,(t=>{e.subschema({keyword:r,dataProp:t,dataPropType:f.Type.Num},a),c.allErrors||o.if((0,n.not)(a),(()=>o.break()))}))}(a))),e.ok(a)}}t.validateAdditionalItems=A,t.default=a},2697:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(4450),f=o(7898),a=o(3036),A=o(458),r={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>f._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:o,parentSchema:r,data:c,errsCount:i,it:s}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:l,opts:b}=s;if(s.props=!0,"all"!==b.removeAdditional&&(0,A.alwaysValidSchema)(s,o))return;const C=(0,n.allSchemaProperties)(r.properties),d=(0,n.allSchemaProperties)(r.patternProperties);function m(e){t.code(f._`delete ${c}[${e}]`)}function u(n){if("all"===b.removeAdditional||b.removeAdditional&&!1===o)m(n);else{if(!1===o)return e.setParams({additionalProperty:n}),e.error(),void(l||t.break());if("object"==typeof o&&!(0,A.alwaysValidSchema)(s,o)){const o=t.name("valid");"failing"===b.removeAdditional?(B(n,o,!1),t.if((0,f.not)(o),(()=>{e.reset(),m(n)}))):(B(n,o),l||t.if((0,f.not)(o),(()=>t.break())))}}}function B(t,o,n){const f={keyword:"additionalProperties",dataProp:t,dataPropType:A.Type.Str};!1===n&&Object.assign(f,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(f,o)}t.forIn("key",c,(o=>{C.length||d.length?t.if(function(o){let a;if(C.length>8){const e=(0,A.schemaRefOrVal)(s,r.properties,"properties");a=(0,n.isOwnProperty)(t,e,o)}else a=C.length?(0,f.or)(...C.map((e=>f._`${o} === ${e}`))):f.nil;return d.length&&(a=(0,f.or)(a,...d.map((t=>f._`${(0,n.usePattern)(e,t)}.test(${o})`)))),(0,f.not)(a)}(o),(()=>u(o))):u(o)})),e.ok(f._`${i} === ${a.default.errors}`)}};t.default=r},9355:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(458),f={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:o,it:f}=e;if(!Array.isArray(o))throw new Error("ajv implementation error");const a=t.name("valid");o.forEach(((t,o)=>{if((0,n.alwaysValidSchema)(f,t))return;const A=e.subschema({keyword:"allOf",schemaProp:o},a);e.ok(a),e.mergeEvaluated(A)}))}};t.default=f},9430:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:o(4450).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=n},5724:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(458),a={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?n.str`must contain at least ${e} valid item(s)`:n.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?n._`{minContains: ${e}}`:n._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:o,parentSchema:a,data:A,it:r}=e;let c,i;const{minContains:s,maxContains:l}=a;r.opts.next?(c=void 0===s?1:s,i=l):c=1;const b=t.const("len",n._`${A}.length`);if(e.setParams({min:c,max:i}),void 0===i&&0===c)return void(0,f.checkStrictMode)(r,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==i&&c>i)return(0,f.checkStrictMode)(r,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,f.alwaysValidSchema)(r,o)){let t=n._`${b} >= ${c}`;return void 0!==i&&(t=n._`${t} && ${b} <= ${i}`),void e.pass(t)}r.items=!0;const C=t.name("valid");function d(){const e=t.name("_valid"),o=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(n._`${e}++`),void 0===i?t.if(n._`${e} >= ${c}`,(()=>t.assign(C,!0).break())):(t.if(n._`${e} > ${i}`,(()=>t.assign(C,!1).break())),1===c?t.assign(C,!0):t.if(n._`${e} >= ${c}`,(()=>t.assign(C,!0))))}(o)))))}function m(o,n){t.forRange("i",0,b,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:f.Type.Num,compositeRule:!0},o),n()}))}void 0===i&&1===c?m(C,(()=>t.if(C,(()=>t.break())))):0===c?(t.let(C,!0),void 0!==i&&t.if(n._`${A}.length > 0`,d)):(t.let(C,!1),d()),e.result(C,(()=>e.reset()))}};t.default=a},9868:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=o(7898),f=o(458),a=o(4450);t.error={message:({params:{property:e,depsCount:t,deps:o}})=>{const f=1===t?"property":"properties";return n.str`must have ${f} ${o} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:o,missingProperty:f}})=>n._`{property: ${e}, |
| 32 |
missingProperty: ${f}, |
| 33 |
depsCount: ${t}, |
| 34 |
deps: ${o}}`};const A={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,o]=function({schema:e}){const t={},o={};for(const n in e)"__proto__"!==n&&((Array.isArray(e[n])?t:o)[n]=e[n]);return[t,o]}(e);r(e,t),c(e,o)}};function r(e,t=e.schema){const{gen:o,data:f,it:A}=e;if(0===Object.keys(t).length)return;const r=o.let("missing");for(const c in t){const i=t[c];if(0===i.length)continue;const s=(0,a.propertyInData)(o,f,c,A.opts.ownProperties);e.setParams({property:c,depsCount:i.length,deps:i.join(", ")}),A.allErrors?o.if(s,(()=>{for(const t of i)(0,a.checkReportMissingProp)(e,t)})):(o.if(n._`${s} && (${(0,a.checkMissingProp)(e,i,r)})`),(0,a.reportMissingProp)(e,r),o.else())}}function c(e,t=e.schema){const{gen:o,data:n,keyword:A,it:r}=e,c=o.name("valid");for(const i in t)(0,f.alwaysValidSchema)(r,t[i])||(o.if((0,a.propertyInData)(o,n,i,r.opts.ownProperties),(()=>{const t=e.subschema({keyword:A,schemaProp:i},c);e.mergeValidEvaluated(t,c)}),(()=>o.var(c,!0))),e.ok(c))}t.validatePropertyDeps=r,t.validateSchemaDeps=c,t.default=A},510:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(458),a={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>n.str`must match "${e.ifClause}" schema`,params:({params:e})=>n._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:o,it:a}=e;void 0===o.then&&void 0===o.else&&(0,f.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const r=A(a,"then"),c=A(a,"else");if(!r&&!c)return;const i=t.let("valid",!0),s=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(t)}(),e.reset(),r&&c){const o=t.let("ifClause");e.setParams({ifClause:o}),t.if(s,l("then",o),l("else",o))}else r?t.if(s,l("then")):t.if((0,n.not)(s),l("else"));function l(o,f){return()=>{const a=e.subschema({keyword:o},s);t.assign(i,s),e.mergeValidEvaluated(a,i),f?t.assign(f,n._`${o}`):e.setParams({ifClause:o})}}e.pass(i,(()=>e.error(!0)))}};function A(e,t){const o=e.schema[t];return void 0!==o&&!(0,f.alwaysValidSchema)(e,o)}t.default=a},8225:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(3426),f=o(1349),a=o(4153),A=o(9753),r=o(5724),c=o(9868),i=o(7486),s=o(2697),l=o(9660),b=o(8422),C=o(5532),d=o(9430),m=o(8768),u=o(9355),B=o(510),h=o(5255);t.default=function(e=!1){const t=[C.default,d.default,m.default,u.default,B.default,h.default,i.default,s.default,c.default,l.default,b.default];return e?t.push(f.default,A.default):t.push(n.default,a.default),t.push(r.default),t}},4153:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const n=o(7898),f=o(458),a=o(4450),A={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:o}=e;if(Array.isArray(t))return r(e,"additionalItems",t);o.items=!0,(0,f.alwaysValidSchema)(o,t)||e.ok((0,a.validateArray)(e))}};function r(e,t,o=e.schema){const{gen:a,parentSchema:A,data:r,keyword:c,it:i}=e;!function(e){const{opts:n,errSchemaPath:a}=i,A=o.length,r=A===e.minItems&&(A===e.maxItems||!1===e[t]);if(n.strictTuples&&!r){const e=`"${c}" is ${A}-tuple, but minItems or maxItems/${t} are not specified or different at path "${a}"`;(0,f.checkStrictMode)(i,e,n.strictTuples)}}(A),i.opts.unevaluated&&o.length&&!0!==i.items&&(i.items=f.mergeEvaluated.items(a,o.length,i.items));const s=a.name("valid"),l=a.const("len",n._`${r}.length`);o.forEach(((t,o)=>{(0,f.alwaysValidSchema)(i,t)||(a.if(n._`${l} > ${o}`,(()=>e.subschema({keyword:c,schemaProp:o,dataProp:o},s))),e.ok(s))}))}t.validateTuple=r,t.default=A},9753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(458),a=o(4450),A=o(3426),r={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>n.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>n._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:o,it:n}=e,{prefixItems:r}=o;n.items=!0,(0,f.alwaysValidSchema)(n,t)||(r?(0,A.validateAdditionalItems)(e,r):e.ok((0,a.validateArray)(e)))}};t.default=r},5532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(458),f={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:o,it:f}=e;if((0,n.alwaysValidSchema)(f,o))return void e.fail();const a=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=f},8768:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(458),a={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>n._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:o,parentSchema:a,it:A}=e;if(!Array.isArray(o))throw new Error("ajv implementation error");if(A.opts.discriminator&&a.discriminator)return;const r=o,c=t.let("valid",!1),i=t.let("passing",null),s=t.name("_valid");e.setParams({passing:i}),t.block((function(){r.forEach(((o,a)=>{let r;(0,f.alwaysValidSchema)(A,o)?t.var(s,!0):r=e.subschema({keyword:"oneOf",schemaProp:a,compositeRule:!0},s),a>0&&t.if(n._`${s} && ${c}`).assign(c,!1).assign(i,n._`[${i}, ${a}]`).else(),t.if(s,(()=>{t.assign(c,!0),t.assign(i,a),r&&e.mergeEvaluated(r,n.Name)}))}))})),e.result(c,(()=>e.reset()),(()=>e.error(!0)))}};t.default=a},8422:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(4450),f=o(7898),a=o(458),A=o(458),r={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:o,data:r,parentSchema:c,it:i}=e,{opts:s}=i,l=(0,n.allSchemaProperties)(o),b=l.filter((e=>(0,a.alwaysValidSchema)(i,o[e])));if(0===l.length||b.length===l.length&&(!i.opts.unevaluated||!0===i.props))return;const C=s.strictSchema&&!s.allowMatchingProperties&&c.properties,d=t.name("valid");!0===i.props||i.props instanceof f.Name||(i.props=(0,A.evaluatedPropsToName)(t,i.props));const{props:m}=i;function u(e){for(const t in C)new RegExp(e).test(t)&&(0,a.checkStrictMode)(i,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function B(o){t.forIn("key",r,(a=>{t.if(f._`${(0,n.usePattern)(e,o)}.test(${a})`,(()=>{const n=b.includes(o);n||e.subschema({keyword:"patternProperties",schemaProp:o,dataProp:a,dataPropType:A.Type.Str},d),i.opts.unevaluated&&!0!==m?t.assign(f._`${m}[${a}]`,!0):n||i.allErrors||t.if((0,f.not)(d),(()=>t.break()))}))}))}!function(){for(const e of l)C&&u(e),i.allErrors?B(e):(t.var(d,!0),B(e),t.if(d))}()}};t.default=r},1349:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(4153),f={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,n.validateTuple)(e,"items")};t.default=f},9660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(6223),f=o(4450),a=o(458),A=o(2697),r={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:o,parentSchema:r,data:c,it:i}=e;"all"===i.opts.removeAdditional&&void 0===r.additionalProperties&&A.default.code(new n.KeywordCxt(i,A.default,"additionalProperties"));const s=(0,f.allSchemaProperties)(o);for(const e of s)i.definedProperties.add(e);i.opts.unevaluated&&s.length&&!0!==i.props&&(i.props=a.mergeEvaluated.props(t,(0,a.toHash)(s),i.props));const l=s.filter((e=>!(0,a.alwaysValidSchema)(i,o[e])));if(0===l.length)return;const b=t.name("valid");for(const o of l)C(o)?d(o):(t.if((0,f.propertyInData)(t,c,o,i.opts.ownProperties)),d(o),i.allErrors||t.else().var(b,!0),t.endIf()),e.it.definedProperties.add(o),e.ok(b);function C(e){return i.opts.useDefaults&&!i.compositeRule&&void 0!==o[e].default}function d(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},b)}}};t.default=r},7486:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(458),a={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>n._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:o,data:a,it:A}=e;if((0,f.alwaysValidSchema)(A,o))return;const r=t.name("valid");t.forIn("key",a,(o=>{e.setParams({propertyName:o}),e.subschema({keyword:"propertyNames",data:o,dataTypes:["string"],propertyName:o,compositeRule:!0},r),t.if((0,n.not)(r),(()=>{e.error(!0),A.allErrors||t.break()}))})),e.ok(r)}};t.default=a},5255:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(458),f={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:o}){void 0===t.if&&(0,n.checkStrictMode)(o,`"${e}" without "if" is ignored`)}};t.default=f},4450:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const n=o(7898),f=o(458),a=o(3036),A=o(458);function r(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:n._`Object.prototype.hasOwnProperty`})}function c(e,t,o){return n._`${r(e)}.call(${t}, ${o})`}function i(e,t,o,f){const a=n._`${t}${(0,n.getProperty)(o)} === undefined`;return f?(0,n.or)(a,(0,n.not)(c(e,t,o))):a}function s(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:o,data:f,it:a}=e;o.if(i(o,f,t,a.opts.ownProperties),(()=>{e.setParams({missingProperty:n._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:o}},f,a){return(0,n.or)(...f.map((f=>(0,n.and)(i(e,t,f,o.ownProperties),n._`${a} = ${f}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=r,t.isOwnProperty=c,t.propertyInData=function(e,t,o,f){const a=n._`${t}${(0,n.getProperty)(o)} !== undefined`;return f?n._`${a} && ${c(e,t,o)}`:a},t.noPropertyInData=i,t.allSchemaProperties=s,t.schemaProperties=function(e,t){return s(t).filter((o=>!(0,f.alwaysValidSchema)(e,t[o])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:o,topSchemaRef:f,schemaPath:A,errorPath:r},it:c},i,s,l){const b=l?n._`${e}, ${t}, ${f}${A}`:t,C=[[a.default.instancePath,(0,n.strConcat)(a.default.instancePath,r)],[a.default.parentData,c.parentData],[a.default.parentDataProperty,c.parentDataProperty],[a.default.rootData,a.default.rootData]];c.opts.dynamicRef&&C.push([a.default.dynamicAnchors,a.default.dynamicAnchors]);const d=n._`${b}, ${o.object(...C)}`;return s!==n.nil?n._`${i}.call(${s}, ${d})`:n._`${i}(${d})`};const l=n._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},o){const f=t.unicodeRegExp?"u":"",{regExp:a}=t.code,r=a(o,f);return e.scopeValue("pattern",{key:r.toString(),ref:r,code:n._`${"new RegExp"===a.code?l:(0,A.useFunc)(e,a)}(${o}, ${f})`})},t.validateArray=function(e){const{gen:t,data:o,keyword:a,it:A}=e,r=t.name("valid");if(A.allErrors){const e=t.let("valid",!0);return c((()=>t.assign(e,!1))),e}return t.var(r,!0),c((()=>t.break())),r;function c(A){const c=t.const("len",n._`${o}.length`);t.forRange("i",0,c,(o=>{e.subschema({keyword:a,dataProp:o,dataPropType:f.Type.Num},r),t.if((0,n.not)(r),A)}))}},t.validateUnion=function(e){const{gen:t,schema:o,keyword:a,it:A}=e;if(!Array.isArray(o))throw new Error("ajv implementation error");if(o.some((e=>(0,f.alwaysValidSchema)(A,e)))&&!A.opts.unevaluated)return;const r=t.let("valid",!1),c=t.name("_valid");t.block((()=>o.forEach(((o,f)=>{const A=e.subschema({keyword:a,schemaProp:f,compositeRule:!0},c);t.assign(r,n._`${r} || ${c}`),e.mergeValidEvaluated(A,c)||t.if((0,n.not)(r))})))),e.result(r,(()=>e.reset()),(()=>e.error(!0)))}},3946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=o},3839:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(3946),f=o(6138),a=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",n.default,f.default];t.default=a},6138:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const n=o(5748),f=o(4450),a=o(7898),A=o(3036),r=o(9392),c=o(458),i={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:o,it:f}=e,{baseId:A,schemaEnv:c,validateName:i,opts:b,self:C}=f,{root:d}=c;if(("#"===o||"#/"===o)&&A===d.baseId)return function(){if(c===d)return l(e,i,c,c.$async);const o=t.scopeValue("root",{ref:d});return l(e,a._`${o}.validate`,d,d.$async)}();const m=r.resolveRef.call(C,d,A,o);if(void 0===m)throw new n.default(f.opts.uriResolver,A,o);return m instanceof r.SchemaEnv?function(t){const o=s(e,t);l(e,o,t,t.$async)}(m):function(n){const f=t.scopeValue("schema",!0===b.code.source?{ref:n,code:(0,a.stringify)(n)}:{ref:n}),A=t.name("valid"),r=e.subschema({schema:n,dataTypes:[],schemaPath:a.nil,topSchemaRef:f,errSchemaPath:o},A);e.mergeEvaluated(r),e.ok(A)}(m)}};function s(e,t){const{gen:o}=e;return t.validate?o.scopeValue("validate",{ref:t.validate}):a._`${o.scopeValue("wrapper",{ref:t})}.validate`}function l(e,t,o,n){const{gen:r,it:i}=e,{allErrors:s,schemaEnv:l,opts:b}=i,C=b.passContext?A.default.this:a.nil;function d(e){const t=a._`${e}.errors`;r.assign(A.default.vErrors,a._`${A.default.vErrors} === null ? ${t} : ${A.default.vErrors}.concat(${t})`),r.assign(A.default.errors,a._`${A.default.vErrors}.length`)}function m(e){var t;if(!i.opts.unevaluated)return;const n=null===(t=null==o?void 0:o.validate)||void 0===t?void 0:t.evaluated;if(!0!==i.props)if(n&&!n.dynamicProps)void 0!==n.props&&(i.props=c.mergeEvaluated.props(r,n.props,i.props));else{const t=r.var("props",a._`${e}.evaluated.props`);i.props=c.mergeEvaluated.props(r,t,i.props,a.Name)}if(!0!==i.items)if(n&&!n.dynamicItems)void 0!==n.items&&(i.items=c.mergeEvaluated.items(r,n.items,i.items));else{const t=r.var("items",a._`${e}.evaluated.items`);i.items=c.mergeEvaluated.items(r,t,i.items,a.Name)}}n?function(){if(!l.$async)throw new Error("async schema referenced by sync schema");const o=r.let("valid");r.try((()=>{r.code(a._`await ${(0,f.callValidateCode)(e,t,C)}`),m(t),s||r.assign(o,!0)}),(e=>{r.if(a._`!(${e} instanceof ${i.ValidationError})`,(()=>r.throw(e))),d(e),s||r.assign(o,!1)})),e.ok(o)}():e.result((0,f.callValidateCode)(e,t,C),(()=>m(t)),(()=>d(t)))}t.getValidate=s,t.callRef=l,t.default=i},1672:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(8925),a=o(9392),A=o(458),r={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===f.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:o}})=>n._`{error: ${e}, tag: ${o}, tagValue: ${t}}`},code(e){const{gen:t,data:o,schema:r,parentSchema:c,it:i}=e,{oneOf:s}=c;if(!i.opts.discriminator)throw new Error("discriminator: requires discriminator option");const l=r.propertyName;if("string"!=typeof l)throw new Error("discriminator: requires propertyName");if(r.mapping)throw new Error("discriminator: mapping is not supported");if(!s)throw new Error("discriminator: requires oneOf keyword");const b=t.let("valid",!1),C=t.const("tag",n._`${o}${(0,n.getProperty)(l)}`);function d(o){const f=t.name("valid"),a=e.subschema({keyword:"oneOf",schemaProp:o},f);return e.mergeEvaluated(a,n.Name),f}t.if(n._`typeof ${C} == "string"`,(()=>function(){const o=function(){var e;const t={},o=f(c);let n=!0;for(let t=0;t<s.length;t++){let c=s[t];(null==c?void 0:c.$ref)&&!(0,A.schemaHasRulesButRef)(c,i.self.RULES)&&(c=a.resolveRef.call(i.self,i.schemaEnv.root,i.baseId,null==c?void 0:c.$ref),c instanceof a.SchemaEnv&&(c=c.schema));const b=null===(e=null==c?void 0:c.properties)||void 0===e?void 0:e[l];if("object"!=typeof b)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${l}"`);n=n&&(o||f(c)),r(b,t)}if(!n)throw new Error(`discriminator: "${l}" must be required`);return t;function f({required:e}){return Array.isArray(e)&&e.includes(l)}function r(e,t){if(e.const)b(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${l}" must have "const" or "enum"`);for(const o of e.enum)b(o,t)}}function b(e,o){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${l}" values must be unique strings`);t[e]=o}}();t.if(!1);for(const e in o)t.elseIf(n._`${C} === ${e}`),t.assign(b,d(o[e]));t.else(),e.error(!1,{discrError:f.DiscrError.Mapping,tag:C,tagName:l}),t.endIf()}()),(()=>e.error(!1,{discrError:f.DiscrError.Tag,tag:C,tagName:l}))),e.ok(b)}};t.default=r},8925:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(o||(t.DiscrError=o={}))},2431:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(3839),f=o(7851),a=o(8225),A=o(6699),r=o(4882),c=[n.default,f.default,(0,a.default)(),A.default,r.metadataVocabulary,r.contentVocabulary];t.default=c},7072:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>n.str`must match format "${e}"`,params:({schemaCode:e})=>n._`{format: ${e}}`},code(e,t){const{gen:o,data:f,$data:a,schema:A,schemaCode:r,it:c}=e,{opts:i,errSchemaPath:s,schemaEnv:l,self:b}=c;i.validateFormats&&(a?function(){const a=o.scopeValue("formats",{ref:b.formats,code:i.code.formats}),A=o.const("fDef",n._`${a}[${r}]`),c=o.let("fType"),s=o.let("format");o.if(n._`typeof ${A} == "object" && !(${A} instanceof RegExp)`,(()=>o.assign(c,n._`${A}.type || "string"`).assign(s,n._`${A}.validate`)),(()=>o.assign(c,n._`"string"`).assign(s,A))),e.fail$data((0,n.or)(!1===i.strictSchema?n.nil:n._`${r} && !${s}`,function(){const e=l.$async?n._`(${A}.async ? await ${s}(${f}) : ${s}(${f}))`:n._`${s}(${f})`,o=n._`(typeof ${s} == "function" ? ${e} : ${s}.test(${f}))`;return n._`${s} && ${s} !== true && ${c} === ${t} && !${o}`}()))}():function(){const a=b.formats[A];if(!a)return void function(){if(!1!==i.strictSchema)throw new Error(e());function e(){return`unknown format "${A}" ignored in schema at path "${s}"`}b.logger.warn(e())}();if(!0===a)return;const[r,c,C]=function(e){const t=e instanceof RegExp?(0,n.regexpCode)(e):i.code.formats?n._`${i.code.formats}${(0,n.getProperty)(A)}`:void 0,f=o.scopeValue("formats",{key:A,ref:e,code:t});return"object"!=typeof e||e instanceof RegExp?["string",e,f]:[e.type||"string",e.validate,n._`${f}.validate`]}(a);r===t&&e.pass(function(){if("object"==typeof a&&!(a instanceof RegExp)&&a.async){if(!l.$async)throw new Error("async format in sync schema");return n._`await ${C}(${f})`}return"function"==typeof c?n._`${C}(${f})`:n._`${C}.test(${f})`}())}())}};t.default=f},6699:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=[o(7072).default];t.default=n},4882:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},9520:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(458),a=o(2725),A={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>n._`{allowedValue: ${e}}`},code(e){const{gen:t,data:o,$data:A,schemaCode:r,schema:c}=e;A||c&&"object"==typeof c?e.fail$data(n._`!${(0,f.useFunc)(t,a.default)}(${o}, ${r})`):e.fail(n._`${c} !== ${o}`)}};t.default=A},6742:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(458),a=o(2725),A={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>n._`{allowedValues: ${e}}`},code(e){const{gen:t,data:o,$data:A,schema:r,schemaCode:c,it:i}=e;if(!A&&0===r.length)throw new Error("enum must have non-empty array");const s=r.length>=i.opts.loopEnum;let l;const b=()=>null!=l?l:l=(0,f.useFunc)(t,a.default);let C;if(s||A)C=t.let("valid"),e.block$data(C,(function(){t.assign(C,!1),t.forOf("v",c,(e=>t.if(n._`${b()}(${o}, ${e})`,(()=>t.assign(C,!0).break()))))}));else{if(!Array.isArray(r))throw new Error("ajv implementation error");const e=t.const("vSchema",c);C=(0,n.or)(...r.map(((t,f)=>function(e,t){const f=r[t];return"object"==typeof f&&null!==f?n._`${b()}(${o}, ${e}[${t}])`:n._`${o} === ${f}`}(e,f))))}e.pass(C)}};t.default=A},7851:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(2333),f=o(1230),a=o(3936),A=o(1005),r=o(1589),c=o(9594),i=o(8558),s=o(4058),l=o(9520),b=o(6742),C=[n.default,f.default,a.default,A.default,r.default,c.default,i.default,s.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},l.default,b.default];t.default=C},8558:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const o="maxItems"===e?"more":"fewer";return n.str`must NOT have ${o} than ${t} items`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:o,schemaCode:f}=e,a="maxItems"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`${o}.length ${a} ${f}`)}};t.default=f},3936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=o(458),a=o(6308),A={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const o="maxLength"===e?"more":"fewer";return n.str`must NOT have ${o} than ${t} characters`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:o,schemaCode:A,it:r}=e,c="maxLength"===t?n.operators.GT:n.operators.LT,i=!1===r.opts.unicode?n._`${o}.length`:n._`${(0,f.useFunc)(e.gen,a.default)}(${o})`;e.fail$data(n._`${i} ${c} ${A}`)}};t.default=A},2333:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f=n.operators,a={maximum:{okStr:"<=",ok:f.LTE,fail:f.GT},minimum:{okStr:">=",ok:f.GTE,fail:f.LT},exclusiveMaximum:{okStr:"<",ok:f.LT,fail:f.GTE},exclusiveMinimum:{okStr:">",ok:f.GT,fail:f.LTE}},A={message:({keyword:e,schemaCode:t})=>n.str`must be ${a[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>n._`{comparison: ${a[e].okStr}, limit: ${t}}`},r={keyword:Object.keys(a),type:"number",schemaType:"number",$data:!0,error:A,code(e){const{keyword:t,data:o,schemaCode:f}=e;e.fail$data(n._`${o} ${a[t].fail} ${f} || isNaN(${o})`)}};t.default=r},1589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const o="maxProperties"===e?"more":"fewer";return n.str`must NOT have ${o} than ${t} properties`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:o,schemaCode:f}=e,a="maxProperties"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`Object.keys(${o}).length ${a} ${f}`)}};t.default=f},1230:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(7898),f={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>n.str`must be multiple of ${e}`,params:({schemaCode:e})=>n._`{multipleOf: ${e}}`},code(e){const{gen:t,data:o,schemaCode:f,it:a}=e,A=a.opts.multipleOfPrecision,r=t.let("res"),c=A?n._`Math.abs(Math.round(${r}) - ${r}) > 1e-${A}`:n._`${r} !== parseInt(${r})`;e.fail$data(n._`(${f} === 0 || (${r} = ${o}/${f}, ${c}))`)}};t.default=f},1005:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(4450),f=o(7898),a={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>f.str`must match pattern "${e}"`,params:({schemaCode:e})=>f._`{pattern: ${e}}`},code(e){const{data:t,$data:o,schema:a,schemaCode:A,it:r}=e,c=r.opts.unicodeRegExp?"u":"",i=o?f._`(new RegExp(${A}, ${c}))`:(0,n.usePattern)(e,a);e.fail$data(f._`!${i}.test(${t})`)}};t.default=a},9594:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(4450),f=o(7898),a=o(458),A={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>f.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>f._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:o,schemaCode:A,data:r,$data:c,it:i}=e,{opts:s}=i;if(!c&&0===o.length)return;const l=o.length>=s.loopRequired;if(i.allErrors?function(){if(l||c)e.block$data(f.nil,b);else for(const t of o)(0,n.checkReportMissingProp)(e,t)}():function(){const a=t.let("missing");if(l||c){const o=t.let("valid",!0);e.block$data(o,(()=>function(o,a){e.setParams({missingProperty:o}),t.forOf(o,A,(()=>{t.assign(a,(0,n.propertyInData)(t,r,o,s.ownProperties)),t.if((0,f.not)(a),(()=>{e.error(),t.break()}))}),f.nil)}(a,o))),e.ok(o)}else t.if((0,n.checkMissingProp)(e,o,a)),(0,n.reportMissingProp)(e,a),t.else()}(),s.strictRequired){const t=e.parentSchema.properties,{definedProperties:n}=e.it;for(const e of o)if(void 0===(null==t?void 0:t[e])&&!n.has(e)){const t=`required property "${e}" is not defined at "${i.schemaEnv.baseId+i.errSchemaPath}" (strictRequired)`;(0,a.checkStrictMode)(i,t,i.opts.strictRequired)}}function b(){t.forOf("prop",A,(o=>{e.setParams({missingProperty:o}),t.if((0,n.noPropertyInData)(t,r,o,s.ownProperties),(()=>e.error()))}))}}};t.default=A},4058:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(9003),f=o(7898),a=o(458),A=o(2725),r={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>f.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>f._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:o,$data:r,schema:c,parentSchema:i,schemaCode:s,it:l}=e;if(!r&&!c)return;const b=t.let("valid"),C=i.items?(0,n.getSchemaTypes)(i.items):[];function d(a,A){const r=t.name("item"),c=(0,n.checkDataTypes)(C,r,l.opts.strictNumbers,n.DataType.Wrong),i=t.const("indices",f._`{}`);t.for(f._`;${a}--;`,(()=>{t.let(r,f._`${o}[${a}]`),t.if(c,f._`continue`),C.length>1&&t.if(f._`typeof ${r} == "string"`,f._`${r} += "_"`),t.if(f._`typeof ${i}[${r}] == "number"`,(()=>{t.assign(A,f._`${i}[${r}]`),e.error(),t.assign(b,!1).break()})).code(f._`${i}[${r}] = ${a}`)}))}function m(n,r){const c=(0,a.useFunc)(t,A.default),i=t.name("outer");t.label(i).for(f._`;${n}--;`,(()=>t.for(f._`${r} = ${n}; ${r}--;`,(()=>t.if(f._`${c}(${o}[${n}], ${o}[${r}])`,(()=>{e.error(),t.assign(b,!1).break(i)}))))))}e.block$data(b,(function(){const n=t.let("i",f._`${o}.length`),a=t.let("j");e.setParams({i:n,j:a}),t.assign(b,!0),t.if(f._`${n} > 1`,(()=>(C.length>0&&!C.some((e=>"object"===e||"array"===e))?d:m)(n,a)))}),f._`${s} === false`),e.ok(b)}};t.default=r},4971:(e,t,o)=>{"use strict";o.d(t,{A:()=>U});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a),r=o(62),c=o.n(r),i=new URL(o(5738),o.b),s=new URL(o(6574),o.b),l=new URL(o(3188),o.b),b=new URL(o(3284),o.b),C=new URL(o(9465),o.b),d=new URL(o(2322),o.b),m=new URL(o(8182),o.b),u=new URL(o(3964),o.b),B=new URL(o(7020),o.b),h=new URL(o(1207),o.b),p=new URL(o(630),o.b),g=new URL(o(5890),o.b),w=new URL(o(4832),o.b),y=new URL(o(5920),o.b),v=new URL(o(199),o.b),k=A()(f()),E=c()(i),$=c()(i,{hash:"?#iefix"}),F=c()(s),_=c()(l),q=c()(b),x=c()(C,{hash:"#fontawesome"}),S=c()(d),P=c()(d,{hash:"?#iefix"}),j=c()(m),T=c()(u),D=c()(B),N=c()(h,{hash:"#fontawesome"}),O=c()(p),I=c()(p,{hash:"?#iefix"}),z=c()(g),R=c()(w),M=c()(y),L=c()(v,{hash:"#fontawesome"});k.push([e.id,`/*!\n * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\\f26e"}.fa-accessible-icon:before{content:"\\f368"}.fa-accusoft:before{content:"\\f369"}.fa-acquisitions-incorporated:before{content:"\\f6af"}.fa-ad:before{content:"\\f641"}.fa-address-book:before{content:"\\f2b9"}.fa-address-card:before{content:"\\f2bb"}.fa-adjust:before{content:"\\f042"}.fa-adn:before{content:"\\f170"}.fa-adversal:before{content:"\\f36a"}.fa-affiliatetheme:before{content:"\\f36b"}.fa-air-freshener:before{content:"\\f5d0"}.fa-airbnb:before{content:"\\f834"}.fa-algolia:before{content:"\\f36c"}.fa-align-center:before{content:"\\f037"}.fa-align-justify:before{content:"\\f039"}.fa-align-left:before{content:"\\f036"}.fa-align-right:before{content:"\\f038"}.fa-alipay:before{content:"\\f642"}.fa-allergies:before{content:"\\f461"}.fa-amazon:before{content:"\\f270"}.fa-amazon-pay:before{content:"\\f42c"}.fa-ambulance:before{content:"\\f0f9"}.fa-american-sign-language-interpreting:before{content:"\\f2a3"}.fa-amilia:before{content:"\\f36d"}.fa-anchor:before{content:"\\f13d"}.fa-android:before{content:"\\f17b"}.fa-angellist:before{content:"\\f209"}.fa-angle-double-down:before{content:"\\f103"}.fa-angle-double-left:before{content:"\\f100"}.fa-angle-double-right:before{content:"\\f101"}.fa-angle-double-up:before{content:"\\f102"}.fa-angle-down:before{content:"\\f107"}.fa-angle-left:before{content:"\\f104"}.fa-angle-right:before{content:"\\f105"}.fa-angle-up:before{content:"\\f106"}.fa-angry:before{content:"\\f556"}.fa-angrycreative:before{content:"\\f36e"}.fa-angular:before{content:"\\f420"}.fa-ankh:before{content:"\\f644"}.fa-app-store:before{content:"\\f36f"}.fa-app-store-ios:before{content:"\\f370"}.fa-apper:before{content:"\\f371"}.fa-apple:before{content:"\\f179"}.fa-apple-alt:before{content:"\\f5d1"}.fa-apple-pay:before{content:"\\f415"}.fa-archive:before{content:"\\f187"}.fa-archway:before{content:"\\f557"}.fa-arrow-alt-circle-down:before{content:"\\f358"}.fa-arrow-alt-circle-left:before{content:"\\f359"}.fa-arrow-alt-circle-right:before{content:"\\f35a"}.fa-arrow-alt-circle-up:before{content:"\\f35b"}.fa-arrow-circle-down:before{content:"\\f0ab"}.fa-arrow-circle-left:before{content:"\\f0a8"}.fa-arrow-circle-right:before{content:"\\f0a9"}.fa-arrow-circle-up:before{content:"\\f0aa"}.fa-arrow-down:before{content:"\\f063"}.fa-arrow-left:before{content:"\\f060"}.fa-arrow-right:before{content:"\\f061"}.fa-arrow-up:before{content:"\\f062"}.fa-arrows-alt:before{content:"\\f0b2"}.fa-arrows-alt-h:before{content:"\\f337"}.fa-arrows-alt-v:before{content:"\\f338"}.fa-artstation:before{content:"\\f77a"}.fa-assistive-listening-systems:before{content:"\\f2a2"}.fa-asterisk:before{content:"\\f069"}.fa-asymmetrik:before{content:"\\f372"}.fa-at:before{content:"\\f1fa"}.fa-atlas:before{content:"\\f558"}.fa-atlassian:before{content:"\\f77b"}.fa-atom:before{content:"\\f5d2"}.fa-audible:before{content:"\\f373"}.fa-audio-description:before{content:"\\f29e"}.fa-autoprefixer:before{content:"\\f41c"}.fa-avianex:before{content:"\\f374"}.fa-aviato:before{content:"\\f421"}.fa-award:before{content:"\\f559"}.fa-aws:before{content:"\\f375"}.fa-baby:before{content:"\\f77c"}.fa-baby-carriage:before{content:"\\f77d"}.fa-backspace:before{content:"\\f55a"}.fa-backward:before{content:"\\f04a"}.fa-bacon:before{content:"\\f7e5"}.fa-bacteria:before{content:"\\e059"}.fa-bacterium:before{content:"\\e05a"}.fa-bahai:before{content:"\\f666"}.fa-balance-scale:before{content:"\\f24e"}.fa-balance-scale-left:before{content:"\\f515"}.fa-balance-scale-right:before{content:"\\f516"}.fa-ban:before{content:"\\f05e"}.fa-band-aid:before{content:"\\f462"}.fa-bandcamp:before{content:"\\f2d5"}.fa-barcode:before{content:"\\f02a"}.fa-bars:before{content:"\\f0c9"}.fa-baseball-ball:before{content:"\\f433"}.fa-basketball-ball:before{content:"\\f434"}.fa-bath:before{content:"\\f2cd"}.fa-battery-empty:before{content:"\\f244"}.fa-battery-full:before{content:"\\f240"}.fa-battery-half:before{content:"\\f242"}.fa-battery-quarter:before{content:"\\f243"}.fa-battery-three-quarters:before{content:"\\f241"}.fa-battle-net:before{content:"\\f835"}.fa-bed:before{content:"\\f236"}.fa-beer:before{content:"\\f0fc"}.fa-behance:before{content:"\\f1b4"}.fa-behance-square:before{content:"\\f1b5"}.fa-bell:before{content:"\\f0f3"}.fa-bell-slash:before{content:"\\f1f6"}.fa-bezier-curve:before{content:"\\f55b"}.fa-bible:before{content:"\\f647"}.fa-bicycle:before{content:"\\f206"}.fa-biking:before{content:"\\f84a"}.fa-bimobject:before{content:"\\f378"}.fa-binoculars:before{content:"\\f1e5"}.fa-biohazard:before{content:"\\f780"}.fa-birthday-cake:before{content:"\\f1fd"}.fa-bitbucket:before{content:"\\f171"}.fa-bitcoin:before{content:"\\f379"}.fa-bity:before{content:"\\f37a"}.fa-black-tie:before{content:"\\f27e"}.fa-blackberry:before{content:"\\f37b"}.fa-blender:before{content:"\\f517"}.fa-blender-phone:before{content:"\\f6b6"}.fa-blind:before{content:"\\f29d"}.fa-blog:before{content:"\\f781"}.fa-blogger:before{content:"\\f37c"}.fa-blogger-b:before{content:"\\f37d"}.fa-bluetooth:before{content:"\\f293"}.fa-bluetooth-b:before{content:"\\f294"}.fa-bold:before{content:"\\f032"}.fa-bolt:before{content:"\\f0e7"}.fa-bomb:before{content:"\\f1e2"}.fa-bone:before{content:"\\f5d7"}.fa-bong:before{content:"\\f55c"}.fa-book:before{content:"\\f02d"}.fa-book-dead:before{content:"\\f6b7"}.fa-book-medical:before{content:"\\f7e6"}.fa-book-open:before{content:"\\f518"}.fa-book-reader:before{content:"\\f5da"}.fa-bookmark:before{content:"\\f02e"}.fa-bootstrap:before{content:"\\f836"}.fa-border-all:before{content:"\\f84c"}.fa-border-none:before{content:"\\f850"}.fa-border-style:before{content:"\\f853"}.fa-bowling-ball:before{content:"\\f436"}.fa-box:before{content:"\\f466"}.fa-box-open:before{content:"\\f49e"}.fa-box-tissue:before{content:"\\e05b"}.fa-boxes:before{content:"\\f468"}.fa-braille:before{content:"\\f2a1"}.fa-brain:before{content:"\\f5dc"}.fa-bread-slice:before{content:"\\f7ec"}.fa-briefcase:before{content:"\\f0b1"}.fa-briefcase-medical:before{content:"\\f469"}.fa-broadcast-tower:before{content:"\\f519"}.fa-broom:before{content:"\\f51a"}.fa-brush:before{content:"\\f55d"}.fa-btc:before{content:"\\f15a"}.fa-buffer:before{content:"\\f837"}.fa-bug:before{content:"\\f188"}.fa-building:before{content:"\\f1ad"}.fa-bullhorn:before{content:"\\f0a1"}.fa-bullseye:before{content:"\\f140"}.fa-burn:before{content:"\\f46a"}.fa-buromobelexperte:before{content:"\\f37f"}.fa-bus:before{content:"\\f207"}.fa-bus-alt:before{content:"\\f55e"}.fa-business-time:before{content:"\\f64a"}.fa-buy-n-large:before{content:"\\f8a6"}.fa-buysellads:before{content:"\\f20d"}.fa-calculator:before{content:"\\f1ec"}.fa-calendar:before{content:"\\f133"}.fa-calendar-alt:before{content:"\\f073"}.fa-calendar-check:before{content:"\\f274"}.fa-calendar-day:before{content:"\\f783"}.fa-calendar-minus:before{content:"\\f272"}.fa-calendar-plus:before{content:"\\f271"}.fa-calendar-times:before{content:"\\f273"}.fa-calendar-week:before{content:"\\f784"}.fa-camera:before{content:"\\f030"}.fa-camera-retro:before{content:"\\f083"}.fa-campground:before{content:"\\f6bb"}.fa-canadian-maple-leaf:before{content:"\\f785"}.fa-candy-cane:before{content:"\\f786"}.fa-cannabis:before{content:"\\f55f"}.fa-capsules:before{content:"\\f46b"}.fa-car:before{content:"\\f1b9"}.fa-car-alt:before{content:"\\f5de"}.fa-car-battery:before{content:"\\f5df"}.fa-car-crash:before{content:"\\f5e1"}.fa-car-side:before{content:"\\f5e4"}.fa-caravan:before{content:"\\f8ff"}.fa-caret-down:before{content:"\\f0d7"}.fa-caret-left:before{content:"\\f0d9"}.fa-caret-right:before{content:"\\f0da"}.fa-caret-square-down:before{content:"\\f150"}.fa-caret-square-left:before{content:"\\f191"}.fa-caret-square-right:before{content:"\\f152"}.fa-caret-square-up:before{content:"\\f151"}.fa-caret-up:before{content:"\\f0d8"}.fa-carrot:before{content:"\\f787"}.fa-cart-arrow-down:before{content:"\\f218"}.fa-cart-plus:before{content:"\\f217"}.fa-cash-register:before{content:"\\f788"}.fa-cat:before{content:"\\f6be"}.fa-cc-amazon-pay:before{content:"\\f42d"}.fa-cc-amex:before{content:"\\f1f3"}.fa-cc-apple-pay:before{content:"\\f416"}.fa-cc-diners-club:before{content:"\\f24c"}.fa-cc-discover:before{content:"\\f1f2"}.fa-cc-jcb:before{content:"\\f24b"}.fa-cc-mastercard:before{content:"\\f1f1"}.fa-cc-paypal:before{content:"\\f1f4"}.fa-cc-stripe:before{content:"\\f1f5"}.fa-cc-visa:before{content:"\\f1f0"}.fa-centercode:before{content:"\\f380"}.fa-centos:before{content:"\\f789"}.fa-certificate:before{content:"\\f0a3"}.fa-chair:before{content:"\\f6c0"}.fa-chalkboard:before{content:"\\f51b"}.fa-chalkboard-teacher:before{content:"\\f51c"}.fa-charging-station:before{content:"\\f5e7"}.fa-chart-area:before{content:"\\f1fe"}.fa-chart-bar:before{content:"\\f080"}.fa-chart-line:before{content:"\\f201"}.fa-chart-pie:before{content:"\\f200"}.fa-check:before{content:"\\f00c"}.fa-check-circle:before{content:"\\f058"}.fa-check-double:before{content:"\\f560"}.fa-check-square:before{content:"\\f14a"}.fa-cheese:before{content:"\\f7ef"}.fa-chess:before{content:"\\f439"}.fa-chess-bishop:before{content:"\\f43a"}.fa-chess-board:before{content:"\\f43c"}.fa-chess-king:before{content:"\\f43f"}.fa-chess-knight:before{content:"\\f441"}.fa-chess-pawn:before{content:"\\f443"}.fa-chess-queen:before{content:"\\f445"}.fa-chess-rook:before{content:"\\f447"}.fa-chevron-circle-down:before{content:"\\f13a"}.fa-chevron-circle-left:before{content:"\\f137"}.fa-chevron-circle-right:before{content:"\\f138"}.fa-chevron-circle-up:before{content:"\\f139"}.fa-chevron-down:before{content:"\\f078"}.fa-chevron-left:before{content:"\\f053"}.fa-chevron-right:before{content:"\\f054"}.fa-chevron-up:before{content:"\\f077"}.fa-child:before{content:"\\f1ae"}.fa-chrome:before{content:"\\f268"}.fa-chromecast:before{content:"\\f838"}.fa-church:before{content:"\\f51d"}.fa-circle:before{content:"\\f111"}.fa-circle-notch:before{content:"\\f1ce"}.fa-city:before{content:"\\f64f"}.fa-clinic-medical:before{content:"\\f7f2"}.fa-clipboard:before{content:"\\f328"}.fa-clipboard-check:before{content:"\\f46c"}.fa-clipboard-list:before{content:"\\f46d"}.fa-clock:before{content:"\\f017"}.fa-clone:before{content:"\\f24d"}.fa-closed-captioning:before{content:"\\f20a"}.fa-cloud:before{content:"\\f0c2"}.fa-cloud-download-alt:before{content:"\\f381"}.fa-cloud-meatball:before{content:"\\f73b"}.fa-cloud-moon:before{content:"\\f6c3"}.fa-cloud-moon-rain:before{content:"\\f73c"}.fa-cloud-rain:before{content:"\\f73d"}.fa-cloud-showers-heavy:before{content:"\\f740"}.fa-cloud-sun:before{content:"\\f6c4"}.fa-cloud-sun-rain:before{content:"\\f743"}.fa-cloud-upload-alt:before{content:"\\f382"}.fa-cloudflare:before{content:"\\e07d"}.fa-cloudscale:before{content:"\\f383"}.fa-cloudsmith:before{content:"\\f384"}.fa-cloudversify:before{content:"\\f385"}.fa-cocktail:before{content:"\\f561"}.fa-code:before{content:"\\f121"}.fa-code-branch:before{content:"\\f126"}.fa-codepen:before{content:"\\f1cb"}.fa-codiepie:before{content:"\\f284"}.fa-coffee:before{content:"\\f0f4"}.fa-cog:before{content:"\\f013"}.fa-cogs:before{content:"\\f085"}.fa-coins:before{content:"\\f51e"}.fa-columns:before{content:"\\f0db"}.fa-comment:before{content:"\\f075"}.fa-comment-alt:before{content:"\\f27a"}.fa-comment-dollar:before{content:"\\f651"}.fa-comment-dots:before{content:"\\f4ad"}.fa-comment-medical:before{content:"\\f7f5"}.fa-comment-slash:before{content:"\\f4b3"}.fa-comments:before{content:"\\f086"}.fa-comments-dollar:before{content:"\\f653"}.fa-compact-disc:before{content:"\\f51f"}.fa-compass:before{content:"\\f14e"}.fa-compress:before{content:"\\f066"}.fa-compress-alt:before{content:"\\f422"}.fa-compress-arrows-alt:before{content:"\\f78c"}.fa-concierge-bell:before{content:"\\f562"}.fa-confluence:before{content:"\\f78d"}.fa-connectdevelop:before{content:"\\f20e"}.fa-contao:before{content:"\\f26d"}.fa-cookie:before{content:"\\f563"}.fa-cookie-bite:before{content:"\\f564"}.fa-copy:before{content:"\\f0c5"}.fa-copyright:before{content:"\\f1f9"}.fa-cotton-bureau:before{content:"\\f89e"}.fa-couch:before{content:"\\f4b8"}.fa-cpanel:before{content:"\\f388"}.fa-creative-commons:before{content:"\\f25e"}.fa-creative-commons-by:before{content:"\\f4e7"}.fa-creative-commons-nc:before{content:"\\f4e8"}.fa-creative-commons-nc-eu:before{content:"\\f4e9"}.fa-creative-commons-nc-jp:before{content:"\\f4ea"}.fa-creative-commons-nd:before{content:"\\f4eb"}.fa-creative-commons-pd:before{content:"\\f4ec"}.fa-creative-commons-pd-alt:before{content:"\\f4ed"}.fa-creative-commons-remix:before{content:"\\f4ee"}.fa-creative-commons-sa:before{content:"\\f4ef"}.fa-creative-commons-sampling:before{content:"\\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\\f4f1"}.fa-creative-commons-share:before{content:"\\f4f2"}.fa-creative-commons-zero:before{content:"\\f4f3"}.fa-credit-card:before{content:"\\f09d"}.fa-critical-role:before{content:"\\f6c9"}.fa-crop:before{content:"\\f125"}.fa-crop-alt:before{content:"\\f565"}.fa-cross:before{content:"\\f654"}.fa-crosshairs:before{content:"\\f05b"}.fa-crow:before{content:"\\f520"}.fa-crown:before{content:"\\f521"}.fa-crutch:before{content:"\\f7f7"}.fa-css3:before{content:"\\f13c"}.fa-css3-alt:before{content:"\\f38b"}.fa-cube:before{content:"\\f1b2"}.fa-cubes:before{content:"\\f1b3"}.fa-cut:before{content:"\\f0c4"}.fa-cuttlefish:before{content:"\\f38c"}.fa-d-and-d:before{content:"\\f38d"}.fa-d-and-d-beyond:before{content:"\\f6ca"}.fa-dailymotion:before{content:"\\e052"}.fa-dashcube:before{content:"\\f210"}.fa-database:before{content:"\\f1c0"}.fa-deaf:before{content:"\\f2a4"}.fa-deezer:before{content:"\\e077"}.fa-delicious:before{content:"\\f1a5"}.fa-democrat:before{content:"\\f747"}.fa-deploydog:before{content:"\\f38e"}.fa-deskpro:before{content:"\\f38f"}.fa-desktop:before{content:"\\f108"}.fa-dev:before{content:"\\f6cc"}.fa-deviantart:before{content:"\\f1bd"}.fa-dharmachakra:before{content:"\\f655"}.fa-dhl:before{content:"\\f790"}.fa-diagnoses:before{content:"\\f470"}.fa-diaspora:before{content:"\\f791"}.fa-dice:before{content:"\\f522"}.fa-dice-d20:before{content:"\\f6cf"}.fa-dice-d6:before{content:"\\f6d1"}.fa-dice-five:before{content:"\\f523"}.fa-dice-four:before{content:"\\f524"}.fa-dice-one:before{content:"\\f525"}.fa-dice-six:before{content:"\\f526"}.fa-dice-three:before{content:"\\f527"}.fa-dice-two:before{content:"\\f528"}.fa-digg:before{content:"\\f1a6"}.fa-digital-ocean:before{content:"\\f391"}.fa-digital-tachograph:before{content:"\\f566"}.fa-directions:before{content:"\\f5eb"}.fa-discord:before{content:"\\f392"}.fa-discourse:before{content:"\\f393"}.fa-disease:before{content:"\\f7fa"}.fa-divide:before{content:"\\f529"}.fa-dizzy:before{content:"\\f567"}.fa-dna:before{content:"\\f471"}.fa-dochub:before{content:"\\f394"}.fa-docker:before{content:"\\f395"}.fa-dog:before{content:"\\f6d3"}.fa-dollar-sign:before{content:"\\f155"}.fa-dolly:before{content:"\\f472"}.fa-dolly-flatbed:before{content:"\\f474"}.fa-donate:before{content:"\\f4b9"}.fa-door-closed:before{content:"\\f52a"}.fa-door-open:before{content:"\\f52b"}.fa-dot-circle:before{content:"\\f192"}.fa-dove:before{content:"\\f4ba"}.fa-download:before{content:"\\f019"}.fa-draft2digital:before{content:"\\f396"}.fa-drafting-compass:before{content:"\\f568"}.fa-dragon:before{content:"\\f6d5"}.fa-draw-polygon:before{content:"\\f5ee"}.fa-dribbble:before{content:"\\f17d"}.fa-dribbble-square:before{content:"\\f397"}.fa-dropbox:before{content:"\\f16b"}.fa-drum:before{content:"\\f569"}.fa-drum-steelpan:before{content:"\\f56a"}.fa-drumstick-bite:before{content:"\\f6d7"}.fa-drupal:before{content:"\\f1a9"}.fa-dumbbell:before{content:"\\f44b"}.fa-dumpster:before{content:"\\f793"}.fa-dumpster-fire:before{content:"\\f794"}.fa-dungeon:before{content:"\\f6d9"}.fa-dyalog:before{content:"\\f399"}.fa-earlybirds:before{content:"\\f39a"}.fa-ebay:before{content:"\\f4f4"}.fa-edge:before{content:"\\f282"}.fa-edge-legacy:before{content:"\\e078"}.fa-edit:before{content:"\\f044"}.fa-egg:before{content:"\\f7fb"}.fa-eject:before{content:"\\f052"}.fa-elementor:before{content:"\\f430"}.fa-ellipsis-h:before{content:"\\f141"}.fa-ellipsis-v:before{content:"\\f142"}.fa-ello:before{content:"\\f5f1"}.fa-ember:before{content:"\\f423"}.fa-empire:before{content:"\\f1d1"}.fa-envelope:before{content:"\\f0e0"}.fa-envelope-open:before{content:"\\f2b6"}.fa-envelope-open-text:before{content:"\\f658"}.fa-envelope-square:before{content:"\\f199"}.fa-envira:before{content:"\\f299"}.fa-equals:before{content:"\\f52c"}.fa-eraser:before{content:"\\f12d"}.fa-erlang:before{content:"\\f39d"}.fa-ethereum:before{content:"\\f42e"}.fa-ethernet:before{content:"\\f796"}.fa-etsy:before{content:"\\f2d7"}.fa-euro-sign:before{content:"\\f153"}.fa-evernote:before{content:"\\f839"}.fa-exchange-alt:before{content:"\\f362"}.fa-exclamation:before{content:"\\f12a"}.fa-exclamation-circle:before{content:"\\f06a"}.fa-exclamation-triangle:before{content:"\\f071"}.fa-expand:before{content:"\\f065"}.fa-expand-alt:before{content:"\\f424"}.fa-expand-arrows-alt:before{content:"\\f31e"}.fa-expeditedssl:before{content:"\\f23e"}.fa-external-link-alt:before{content:"\\f35d"}.fa-external-link-square-alt:before{content:"\\f360"}.fa-eye:before{content:"\\f06e"}.fa-eye-dropper:before{content:"\\f1fb"}.fa-eye-slash:before{content:"\\f070"}.fa-facebook:before{content:"\\f09a"}.fa-facebook-f:before{content:"\\f39e"}.fa-facebook-messenger:before{content:"\\f39f"}.fa-facebook-square:before{content:"\\f082"}.fa-fan:before{content:"\\f863"}.fa-fantasy-flight-games:before{content:"\\f6dc"}.fa-fast-backward:before{content:"\\f049"}.fa-fast-forward:before{content:"\\f050"}.fa-faucet:before{content:"\\e005"}.fa-fax:before{content:"\\f1ac"}.fa-feather:before{content:"\\f52d"}.fa-feather-alt:before{content:"\\f56b"}.fa-fedex:before{content:"\\f797"}.fa-fedora:before{content:"\\f798"}.fa-female:before{content:"\\f182"}.fa-fighter-jet:before{content:"\\f0fb"}.fa-figma:before{content:"\\f799"}.fa-file:before{content:"\\f15b"}.fa-file-alt:before{content:"\\f15c"}.fa-file-archive:before{content:"\\f1c6"}.fa-file-audio:before{content:"\\f1c7"}.fa-file-code:before{content:"\\f1c9"}.fa-file-contract:before{content:"\\f56c"}.fa-file-csv:before{content:"\\f6dd"}.fa-file-download:before{content:"\\f56d"}.fa-file-excel:before{content:"\\f1c3"}.fa-file-export:before{content:"\\f56e"}.fa-file-image:before{content:"\\f1c5"}.fa-file-import:before{content:"\\f56f"}.fa-file-invoice:before{content:"\\f570"}.fa-file-invoice-dollar:before{content:"\\f571"}.fa-file-medical:before{content:"\\f477"}.fa-file-medical-alt:before{content:"\\f478"}.fa-file-pdf:before{content:"\\f1c1"}.fa-file-powerpoint:before{content:"\\f1c4"}.fa-file-prescription:before{content:"\\f572"}.fa-file-signature:before{content:"\\f573"}.fa-file-upload:before{content:"\\f574"}.fa-file-video:before{content:"\\f1c8"}.fa-file-word:before{content:"\\f1c2"}.fa-fill:before{content:"\\f575"}.fa-fill-drip:before{content:"\\f576"}.fa-film:before{content:"\\f008"}.fa-filter:before{content:"\\f0b0"}.fa-fingerprint:before{content:"\\f577"}.fa-fire:before{content:"\\f06d"}.fa-fire-alt:before{content:"\\f7e4"}.fa-fire-extinguisher:before{content:"\\f134"}.fa-firefox:before{content:"\\f269"}.fa-firefox-browser:before{content:"\\e007"}.fa-first-aid:before{content:"\\f479"}.fa-first-order:before{content:"\\f2b0"}.fa-first-order-alt:before{content:"\\f50a"}.fa-firstdraft:before{content:"\\f3a1"}.fa-fish:before{content:"\\f578"}.fa-fist-raised:before{content:"\\f6de"}.fa-flag:before{content:"\\f024"}.fa-flag-checkered:before{content:"\\f11e"}.fa-flag-usa:before{content:"\\f74d"}.fa-flask:before{content:"\\f0c3"}.fa-flickr:before{content:"\\f16e"}.fa-flipboard:before{content:"\\f44d"}.fa-flushed:before{content:"\\f579"}.fa-fly:before{content:"\\f417"}.fa-folder:before{content:"\\f07b"}.fa-folder-minus:before{content:"\\f65d"}.fa-folder-open:before{content:"\\f07c"}.fa-folder-plus:before{content:"\\f65e"}.fa-font:before{content:"\\f031"}.fa-font-awesome:before{content:"\\f2b4"}.fa-font-awesome-alt:before{content:"\\f35c"}.fa-font-awesome-flag:before{content:"\\f425"}.fa-font-awesome-logo-full:before{content:"\\f4e6"}.fa-fonticons:before{content:"\\f280"}.fa-fonticons-fi:before{content:"\\f3a2"}.fa-football-ball:before{content:"\\f44e"}.fa-fort-awesome:before{content:"\\f286"}.fa-fort-awesome-alt:before{content:"\\f3a3"}.fa-forumbee:before{content:"\\f211"}.fa-forward:before{content:"\\f04e"}.fa-foursquare:before{content:"\\f180"}.fa-free-code-camp:before{content:"\\f2c5"}.fa-freebsd:before{content:"\\f3a4"}.fa-frog:before{content:"\\f52e"}.fa-frown:before{content:"\\f119"}.fa-frown-open:before{content:"\\f57a"}.fa-fulcrum:before{content:"\\f50b"}.fa-funnel-dollar:before{content:"\\f662"}.fa-futbol:before{content:"\\f1e3"}.fa-galactic-republic:before{content:"\\f50c"}.fa-galactic-senate:before{content:"\\f50d"}.fa-gamepad:before{content:"\\f11b"}.fa-gas-pump:before{content:"\\f52f"}.fa-gavel:before{content:"\\f0e3"}.fa-gem:before{content:"\\f3a5"}.fa-genderless:before{content:"\\f22d"}.fa-get-pocket:before{content:"\\f265"}.fa-gg:before{content:"\\f260"}.fa-gg-circle:before{content:"\\f261"}.fa-ghost:before{content:"\\f6e2"}.fa-gift:before{content:"\\f06b"}.fa-gifts:before{content:"\\f79c"}.fa-git:before{content:"\\f1d3"}.fa-git-alt:before{content:"\\f841"}.fa-git-square:before{content:"\\f1d2"}.fa-github:before{content:"\\f09b"}.fa-github-alt:before{content:"\\f113"}.fa-github-square:before{content:"\\f092"}.fa-gitkraken:before{content:"\\f3a6"}.fa-gitlab:before{content:"\\f296"}.fa-gitter:before{content:"\\f426"}.fa-glass-cheers:before{content:"\\f79f"}.fa-glass-martini:before{content:"\\f000"}.fa-glass-martini-alt:before{content:"\\f57b"}.fa-glass-whiskey:before{content:"\\f7a0"}.fa-glasses:before{content:"\\f530"}.fa-glide:before{content:"\\f2a5"}.fa-glide-g:before{content:"\\f2a6"}.fa-globe:before{content:"\\f0ac"}.fa-globe-africa:before{content:"\\f57c"}.fa-globe-americas:before{content:"\\f57d"}.fa-globe-asia:before{content:"\\f57e"}.fa-globe-europe:before{content:"\\f7a2"}.fa-gofore:before{content:"\\f3a7"}.fa-golf-ball:before{content:"\\f450"}.fa-goodreads:before{content:"\\f3a8"}.fa-goodreads-g:before{content:"\\f3a9"}.fa-google:before{content:"\\f1a0"}.fa-google-drive:before{content:"\\f3aa"}.fa-google-pay:before{content:"\\e079"}.fa-google-play:before{content:"\\f3ab"}.fa-google-plus:before{content:"\\f2b3"}.fa-google-plus-g:before{content:"\\f0d5"}.fa-google-plus-square:before{content:"\\f0d4"}.fa-google-wallet:before{content:"\\f1ee"}.fa-gopuram:before{content:"\\f664"}.fa-graduation-cap:before{content:"\\f19d"}.fa-gratipay:before{content:"\\f184"}.fa-grav:before{content:"\\f2d6"}.fa-greater-than:before{content:"\\f531"}.fa-greater-than-equal:before{content:"\\f532"}.fa-grimace:before{content:"\\f57f"}.fa-grin:before{content:"\\f580"}.fa-grin-alt:before{content:"\\f581"}.fa-grin-beam:before{content:"\\f582"}.fa-grin-beam-sweat:before{content:"\\f583"}.fa-grin-hearts:before{content:"\\f584"}.fa-grin-squint:before{content:"\\f585"}.fa-grin-squint-tears:before{content:"\\f586"}.fa-grin-stars:before{content:"\\f587"}.fa-grin-tears:before{content:"\\f588"}.fa-grin-tongue:before{content:"\\f589"}.fa-grin-tongue-squint:before{content:"\\f58a"}.fa-grin-tongue-wink:before{content:"\\f58b"}.fa-grin-wink:before{content:"\\f58c"}.fa-grip-horizontal:before{content:"\\f58d"}.fa-grip-lines:before{content:"\\f7a4"}.fa-grip-lines-vertical:before{content:"\\f7a5"}.fa-grip-vertical:before{content:"\\f58e"}.fa-gripfire:before{content:"\\f3ac"}.fa-grunt:before{content:"\\f3ad"}.fa-guilded:before{content:"\\e07e"}.fa-guitar:before{content:"\\f7a6"}.fa-gulp:before{content:"\\f3ae"}.fa-h-square:before{content:"\\f0fd"}.fa-hacker-news:before{content:"\\f1d4"}.fa-hacker-news-square:before{content:"\\f3af"}.fa-hackerrank:before{content:"\\f5f7"}.fa-hamburger:before{content:"\\f805"}.fa-hammer:before{content:"\\f6e3"}.fa-hamsa:before{content:"\\f665"}.fa-hand-holding:before{content:"\\f4bd"}.fa-hand-holding-heart:before{content:"\\f4be"}.fa-hand-holding-medical:before{content:"\\e05c"}.fa-hand-holding-usd:before{content:"\\f4c0"}.fa-hand-holding-water:before{content:"\\f4c1"}.fa-hand-lizard:before{content:"\\f258"}.fa-hand-middle-finger:before{content:"\\f806"}.fa-hand-paper:before{content:"\\f256"}.fa-hand-peace:before{content:"\\f25b"}.fa-hand-point-down:before{content:"\\f0a7"}.fa-hand-point-left:before{content:"\\f0a5"}.fa-hand-point-right:before{content:"\\f0a4"}.fa-hand-point-up:before{content:"\\f0a6"}.fa-hand-pointer:before{content:"\\f25a"}.fa-hand-rock:before{content:"\\f255"}.fa-hand-scissors:before{content:"\\f257"}.fa-hand-sparkles:before{content:"\\e05d"}.fa-hand-spock:before{content:"\\f259"}.fa-hands:before{content:"\\f4c2"}.fa-hands-helping:before{content:"\\f4c4"}.fa-hands-wash:before{content:"\\e05e"}.fa-handshake:before{content:"\\f2b5"}.fa-handshake-alt-slash:before{content:"\\e05f"}.fa-handshake-slash:before{content:"\\e060"}.fa-hanukiah:before{content:"\\f6e6"}.fa-hard-hat:before{content:"\\f807"}.fa-hashtag:before{content:"\\f292"}.fa-hat-cowboy:before{content:"\\f8c0"}.fa-hat-cowboy-side:before{content:"\\f8c1"}.fa-hat-wizard:before{content:"\\f6e8"}.fa-hdd:before{content:"\\f0a0"}.fa-head-side-cough:before{content:"\\e061"}.fa-head-side-cough-slash:before{content:"\\e062"}.fa-head-side-mask:before{content:"\\e063"}.fa-head-side-virus:before{content:"\\e064"}.fa-heading:before{content:"\\f1dc"}.fa-headphones:before{content:"\\f025"}.fa-headphones-alt:before{content:"\\f58f"}.fa-headset:before{content:"\\f590"}.fa-heart:before{content:"\\f004"}.fa-heart-broken:before{content:"\\f7a9"}.fa-heartbeat:before{content:"\\f21e"}.fa-helicopter:before{content:"\\f533"}.fa-highlighter:before{content:"\\f591"}.fa-hiking:before{content:"\\f6ec"}.fa-hippo:before{content:"\\f6ed"}.fa-hips:before{content:"\\f452"}.fa-hire-a-helper:before{content:"\\f3b0"}.fa-history:before{content:"\\f1da"}.fa-hive:before{content:"\\e07f"}.fa-hockey-puck:before{content:"\\f453"}.fa-holly-berry:before{content:"\\f7aa"}.fa-home:before{content:"\\f015"}.fa-hooli:before{content:"\\f427"}.fa-hornbill:before{content:"\\f592"}.fa-horse:before{content:"\\f6f0"}.fa-horse-head:before{content:"\\f7ab"}.fa-hospital:before{content:"\\f0f8"}.fa-hospital-alt:before{content:"\\f47d"}.fa-hospital-symbol:before{content:"\\f47e"}.fa-hospital-user:before{content:"\\f80d"}.fa-hot-tub:before{content:"\\f593"}.fa-hotdog:before{content:"\\f80f"}.fa-hotel:before{content:"\\f594"}.fa-hotjar:before{content:"\\f3b1"}.fa-hourglass:before{content:"\\f254"}.fa-hourglass-end:before{content:"\\f253"}.fa-hourglass-half:before{content:"\\f252"}.fa-hourglass-start:before{content:"\\f251"}.fa-house-damage:before{content:"\\f6f1"}.fa-house-user:before{content:"\\e065"}.fa-houzz:before{content:"\\f27c"}.fa-hryvnia:before{content:"\\f6f2"}.fa-html5:before{content:"\\f13b"}.fa-hubspot:before{content:"\\f3b2"}.fa-i-cursor:before{content:"\\f246"}.fa-ice-cream:before{content:"\\f810"}.fa-icicles:before{content:"\\f7ad"}.fa-icons:before{content:"\\f86d"}.fa-id-badge:before{content:"\\f2c1"}.fa-id-card:before{content:"\\f2c2"}.fa-id-card-alt:before{content:"\\f47f"}.fa-ideal:before{content:"\\e013"}.fa-igloo:before{content:"\\f7ae"}.fa-image:before{content:"\\f03e"}.fa-images:before{content:"\\f302"}.fa-imdb:before{content:"\\f2d8"}.fa-inbox:before{content:"\\f01c"}.fa-indent:before{content:"\\f03c"}.fa-industry:before{content:"\\f275"}.fa-infinity:before{content:"\\f534"}.fa-info:before{content:"\\f129"}.fa-info-circle:before{content:"\\f05a"}.fa-innosoft:before{content:"\\e080"}.fa-instagram:before{content:"\\f16d"}.fa-instagram-square:before{content:"\\e055"}.fa-instalod:before{content:"\\e081"}.fa-intercom:before{content:"\\f7af"}.fa-internet-explorer:before{content:"\\f26b"}.fa-invision:before{content:"\\f7b0"}.fa-ioxhost:before{content:"\\f208"}.fa-italic:before{content:"\\f033"}.fa-itch-io:before{content:"\\f83a"}.fa-itunes:before{content:"\\f3b4"}.fa-itunes-note:before{content:"\\f3b5"}.fa-java:before{content:"\\f4e4"}.fa-jedi:before{content:"\\f669"}.fa-jedi-order:before{content:"\\f50e"}.fa-jenkins:before{content:"\\f3b6"}.fa-jira:before{content:"\\f7b1"}.fa-joget:before{content:"\\f3b7"}.fa-joint:before{content:"\\f595"}.fa-joomla:before{content:"\\f1aa"}.fa-journal-whills:before{content:"\\f66a"}.fa-js:before{content:"\\f3b8"}.fa-js-square:before{content:"\\f3b9"}.fa-jsfiddle:before{content:"\\f1cc"}.fa-kaaba:before{content:"\\f66b"}.fa-kaggle:before{content:"\\f5fa"}.fa-key:before{content:"\\f084"}.fa-keybase:before{content:"\\f4f5"}.fa-keyboard:before{content:"\\f11c"}.fa-keycdn:before{content:"\\f3ba"}.fa-khanda:before{content:"\\f66d"}.fa-kickstarter:before{content:"\\f3bb"}.fa-kickstarter-k:before{content:"\\f3bc"}.fa-kiss:before{content:"\\f596"}.fa-kiss-beam:before{content:"\\f597"}.fa-kiss-wink-heart:before{content:"\\f598"}.fa-kiwi-bird:before{content:"\\f535"}.fa-korvue:before{content:"\\f42f"}.fa-landmark:before{content:"\\f66f"}.fa-language:before{content:"\\f1ab"}.fa-laptop:before{content:"\\f109"}.fa-laptop-code:before{content:"\\f5fc"}.fa-laptop-house:before{content:"\\e066"}.fa-laptop-medical:before{content:"\\f812"}.fa-laravel:before{content:"\\f3bd"}.fa-lastfm:before{content:"\\f202"}.fa-lastfm-square:before{content:"\\f203"}.fa-laugh:before{content:"\\f599"}.fa-laugh-beam:before{content:"\\f59a"}.fa-laugh-squint:before{content:"\\f59b"}.fa-laugh-wink:before{content:"\\f59c"}.fa-layer-group:before{content:"\\f5fd"}.fa-leaf:before{content:"\\f06c"}.fa-leanpub:before{content:"\\f212"}.fa-lemon:before{content:"\\f094"}.fa-less:before{content:"\\f41d"}.fa-less-than:before{content:"\\f536"}.fa-less-than-equal:before{content:"\\f537"}.fa-level-down-alt:before{content:"\\f3be"}.fa-level-up-alt:before{content:"\\f3bf"}.fa-life-ring:before{content:"\\f1cd"}.fa-lightbulb:before{content:"\\f0eb"}.fa-line:before{content:"\\f3c0"}.fa-link:before{content:"\\f0c1"}.fa-linkedin:before{content:"\\f08c"}.fa-linkedin-in:before{content:"\\f0e1"}.fa-linode:before{content:"\\f2b8"}.fa-linux:before{content:"\\f17c"}.fa-lira-sign:before{content:"\\f195"}.fa-list:before{content:"\\f03a"}.fa-list-alt:before{content:"\\f022"}.fa-list-ol:before{content:"\\f0cb"}.fa-list-ul:before{content:"\\f0ca"}.fa-location-arrow:before{content:"\\f124"}.fa-lock:before{content:"\\f023"}.fa-lock-open:before{content:"\\f3c1"}.fa-long-arrow-alt-down:before{content:"\\f309"}.fa-long-arrow-alt-left:before{content:"\\f30a"}.fa-long-arrow-alt-right:before{content:"\\f30b"}.fa-long-arrow-alt-up:before{content:"\\f30c"}.fa-low-vision:before{content:"\\f2a8"}.fa-luggage-cart:before{content:"\\f59d"}.fa-lungs:before{content:"\\f604"}.fa-lungs-virus:before{content:"\\e067"}.fa-lyft:before{content:"\\f3c3"}.fa-magento:before{content:"\\f3c4"}.fa-magic:before{content:"\\f0d0"}.fa-magnet:before{content:"\\f076"}.fa-mail-bulk:before{content:"\\f674"}.fa-mailchimp:before{content:"\\f59e"}.fa-male:before{content:"\\f183"}.fa-mandalorian:before{content:"\\f50f"}.fa-map:before{content:"\\f279"}.fa-map-marked:before{content:"\\f59f"}.fa-map-marked-alt:before{content:"\\f5a0"}.fa-map-marker:before{content:"\\f041"}.fa-map-marker-alt:before{content:"\\f3c5"}.fa-map-pin:before{content:"\\f276"}.fa-map-signs:before{content:"\\f277"}.fa-markdown:before{content:"\\f60f"}.fa-marker:before{content:"\\f5a1"}.fa-mars:before{content:"\\f222"}.fa-mars-double:before{content:"\\f227"}.fa-mars-stroke:before{content:"\\f229"}.fa-mars-stroke-h:before{content:"\\f22b"}.fa-mars-stroke-v:before{content:"\\f22a"}.fa-mask:before{content:"\\f6fa"}.fa-mastodon:before{content:"\\f4f6"}.fa-maxcdn:before{content:"\\f136"}.fa-mdb:before{content:"\\f8ca"}.fa-medal:before{content:"\\f5a2"}.fa-medapps:before{content:"\\f3c6"}.fa-medium:before{content:"\\f23a"}.fa-medium-m:before{content:"\\f3c7"}.fa-medkit:before{content:"\\f0fa"}.fa-medrt:before{content:"\\f3c8"}.fa-meetup:before{content:"\\f2e0"}.fa-megaport:before{content:"\\f5a3"}.fa-meh:before{content:"\\f11a"}.fa-meh-blank:before{content:"\\f5a4"}.fa-meh-rolling-eyes:before{content:"\\f5a5"}.fa-memory:before{content:"\\f538"}.fa-mendeley:before{content:"\\f7b3"}.fa-menorah:before{content:"\\f676"}.fa-mercury:before{content:"\\f223"}.fa-meteor:before{content:"\\f753"}.fa-microblog:before{content:"\\e01a"}.fa-microchip:before{content:"\\f2db"}.fa-microphone:before{content:"\\f130"}.fa-microphone-alt:before{content:"\\f3c9"}.fa-microphone-alt-slash:before{content:"\\f539"}.fa-microphone-slash:before{content:"\\f131"}.fa-microscope:before{content:"\\f610"}.fa-microsoft:before{content:"\\f3ca"}.fa-minus:before{content:"\\f068"}.fa-minus-circle:before{content:"\\f056"}.fa-minus-square:before{content:"\\f146"}.fa-mitten:before{content:"\\f7b5"}.fa-mix:before{content:"\\f3cb"}.fa-mixcloud:before{content:"\\f289"}.fa-mixer:before{content:"\\e056"}.fa-mizuni:before{content:"\\f3cc"}.fa-mobile:before{content:"\\f10b"}.fa-mobile-alt:before{content:"\\f3cd"}.fa-modx:before{content:"\\f285"}.fa-monero:before{content:"\\f3d0"}.fa-money-bill:before{content:"\\f0d6"}.fa-money-bill-alt:before{content:"\\f3d1"}.fa-money-bill-wave:before{content:"\\f53a"}.fa-money-bill-wave-alt:before{content:"\\f53b"}.fa-money-check:before{content:"\\f53c"}.fa-money-check-alt:before{content:"\\f53d"}.fa-monument:before{content:"\\f5a6"}.fa-moon:before{content:"\\f186"}.fa-mortar-pestle:before{content:"\\f5a7"}.fa-mosque:before{content:"\\f678"}.fa-motorcycle:before{content:"\\f21c"}.fa-mountain:before{content:"\\f6fc"}.fa-mouse:before{content:"\\f8cc"}.fa-mouse-pointer:before{content:"\\f245"}.fa-mug-hot:before{content:"\\f7b6"}.fa-music:before{content:"\\f001"}.fa-napster:before{content:"\\f3d2"}.fa-neos:before{content:"\\f612"}.fa-network-wired:before{content:"\\f6ff"}.fa-neuter:before{content:"\\f22c"}.fa-newspaper:before{content:"\\f1ea"}.fa-nimblr:before{content:"\\f5a8"}.fa-node:before{content:"\\f419"}.fa-node-js:before{content:"\\f3d3"}.fa-not-equal:before{content:"\\f53e"}.fa-notes-medical:before{content:"\\f481"}.fa-npm:before{content:"\\f3d4"}.fa-ns8:before{content:"\\f3d5"}.fa-nutritionix:before{content:"\\f3d6"}.fa-object-group:before{content:"\\f247"}.fa-object-ungroup:before{content:"\\f248"}.fa-octopus-deploy:before{content:"\\e082"}.fa-odnoklassniki:before{content:"\\f263"}.fa-odnoklassniki-square:before{content:"\\f264"}.fa-oil-can:before{content:"\\f613"}.fa-old-republic:before{content:"\\f510"}.fa-om:before{content:"\\f679"}.fa-opencart:before{content:"\\f23d"}.fa-openid:before{content:"\\f19b"}.fa-opera:before{content:"\\f26a"}.fa-optin-monster:before{content:"\\f23c"}.fa-orcid:before{content:"\\f8d2"}.fa-osi:before{content:"\\f41a"}.fa-otter:before{content:"\\f700"}.fa-outdent:before{content:"\\f03b"}.fa-page4:before{content:"\\f3d7"}.fa-pagelines:before{content:"\\f18c"}.fa-pager:before{content:"\\f815"}.fa-paint-brush:before{content:"\\f1fc"}.fa-paint-roller:before{content:"\\f5aa"}.fa-palette:before{content:"\\f53f"}.fa-palfed:before{content:"\\f3d8"}.fa-pallet:before{content:"\\f482"}.fa-paper-plane:before{content:"\\f1d8"}.fa-paperclip:before{content:"\\f0c6"}.fa-parachute-box:before{content:"\\f4cd"}.fa-paragraph:before{content:"\\f1dd"}.fa-parking:before{content:"\\f540"}.fa-passport:before{content:"\\f5ab"}.fa-pastafarianism:before{content:"\\f67b"}.fa-paste:before{content:"\\f0ea"}.fa-patreon:before{content:"\\f3d9"}.fa-pause:before{content:"\\f04c"}.fa-pause-circle:before{content:"\\f28b"}.fa-paw:before{content:"\\f1b0"}.fa-paypal:before{content:"\\f1ed"}.fa-peace:before{content:"\\f67c"}.fa-pen:before{content:"\\f304"}.fa-pen-alt:before{content:"\\f305"}.fa-pen-fancy:before{content:"\\f5ac"}.fa-pen-nib:before{content:"\\f5ad"}.fa-pen-square:before{content:"\\f14b"}.fa-pencil-alt:before{content:"\\f303"}.fa-pencil-ruler:before{content:"\\f5ae"}.fa-penny-arcade:before{content:"\\f704"}.fa-people-arrows:before{content:"\\e068"}.fa-people-carry:before{content:"\\f4ce"}.fa-pepper-hot:before{content:"\\f816"}.fa-perbyte:before{content:"\\e083"}.fa-percent:before{content:"\\f295"}.fa-percentage:before{content:"\\f541"}.fa-periscope:before{content:"\\f3da"}.fa-person-booth:before{content:"\\f756"}.fa-phabricator:before{content:"\\f3db"}.fa-phoenix-framework:before{content:"\\f3dc"}.fa-phoenix-squadron:before{content:"\\f511"}.fa-phone:before{content:"\\f095"}.fa-phone-alt:before{content:"\\f879"}.fa-phone-slash:before{content:"\\f3dd"}.fa-phone-square:before{content:"\\f098"}.fa-phone-square-alt:before{content:"\\f87b"}.fa-phone-volume:before{content:"\\f2a0"}.fa-photo-video:before{content:"\\f87c"}.fa-php:before{content:"\\f457"}.fa-pied-piper:before{content:"\\f2ae"}.fa-pied-piper-alt:before{content:"\\f1a8"}.fa-pied-piper-hat:before{content:"\\f4e5"}.fa-pied-piper-pp:before{content:"\\f1a7"}.fa-pied-piper-square:before{content:"\\e01e"}.fa-piggy-bank:before{content:"\\f4d3"}.fa-pills:before{content:"\\f484"}.fa-pinterest:before{content:"\\f0d2"}.fa-pinterest-p:before{content:"\\f231"}.fa-pinterest-square:before{content:"\\f0d3"}.fa-pizza-slice:before{content:"\\f818"}.fa-place-of-worship:before{content:"\\f67f"}.fa-plane:before{content:"\\f072"}.fa-plane-arrival:before{content:"\\f5af"}.fa-plane-departure:before{content:"\\f5b0"}.fa-plane-slash:before{content:"\\e069"}.fa-play:before{content:"\\f04b"}.fa-play-circle:before{content:"\\f144"}.fa-playstation:before{content:"\\f3df"}.fa-plug:before{content:"\\f1e6"}.fa-plus:before{content:"\\f067"}.fa-plus-circle:before{content:"\\f055"}.fa-plus-square:before{content:"\\f0fe"}.fa-podcast:before{content:"\\f2ce"}.fa-poll:before{content:"\\f681"}.fa-poll-h:before{content:"\\f682"}.fa-poo:before{content:"\\f2fe"}.fa-poo-storm:before{content:"\\f75a"}.fa-poop:before{content:"\\f619"}.fa-portrait:before{content:"\\f3e0"}.fa-pound-sign:before{content:"\\f154"}.fa-power-off:before{content:"\\f011"}.fa-pray:before{content:"\\f683"}.fa-praying-hands:before{content:"\\f684"}.fa-prescription:before{content:"\\f5b1"}.fa-prescription-bottle:before{content:"\\f485"}.fa-prescription-bottle-alt:before{content:"\\f486"}.fa-print:before{content:"\\f02f"}.fa-procedures:before{content:"\\f487"}.fa-product-hunt:before{content:"\\f288"}.fa-project-diagram:before{content:"\\f542"}.fa-pump-medical:before{content:"\\e06a"}.fa-pump-soap:before{content:"\\e06b"}.fa-pushed:before{content:"\\f3e1"}.fa-puzzle-piece:before{content:"\\f12e"}.fa-python:before{content:"\\f3e2"}.fa-qq:before{content:"\\f1d6"}.fa-qrcode:before{content:"\\f029"}.fa-question:before{content:"\\f128"}.fa-question-circle:before{content:"\\f059"}.fa-quidditch:before{content:"\\f458"}.fa-quinscape:before{content:"\\f459"}.fa-quora:before{content:"\\f2c4"}.fa-quote-left:before{content:"\\f10d"}.fa-quote-right:before{content:"\\f10e"}.fa-quran:before{content:"\\f687"}.fa-r-project:before{content:"\\f4f7"}.fa-radiation:before{content:"\\f7b9"}.fa-radiation-alt:before{content:"\\f7ba"}.fa-rainbow:before{content:"\\f75b"}.fa-random:before{content:"\\f074"}.fa-raspberry-pi:before{content:"\\f7bb"}.fa-ravelry:before{content:"\\f2d9"}.fa-react:before{content:"\\f41b"}.fa-reacteurope:before{content:"\\f75d"}.fa-readme:before{content:"\\f4d5"}.fa-rebel:before{content:"\\f1d0"}.fa-receipt:before{content:"\\f543"}.fa-record-vinyl:before{content:"\\f8d9"}.fa-recycle:before{content:"\\f1b8"}.fa-red-river:before{content:"\\f3e3"}.fa-reddit:before{content:"\\f1a1"}.fa-reddit-alien:before{content:"\\f281"}.fa-reddit-square:before{content:"\\f1a2"}.fa-redhat:before{content:"\\f7bc"}.fa-redo:before{content:"\\f01e"}.fa-redo-alt:before{content:"\\f2f9"}.fa-registered:before{content:"\\f25d"}.fa-remove-format:before{content:"\\f87d"}.fa-renren:before{content:"\\f18b"}.fa-reply:before{content:"\\f3e5"}.fa-reply-all:before{content:"\\f122"}.fa-replyd:before{content:"\\f3e6"}.fa-republican:before{content:"\\f75e"}.fa-researchgate:before{content:"\\f4f8"}.fa-resolving:before{content:"\\f3e7"}.fa-restroom:before{content:"\\f7bd"}.fa-retweet:before{content:"\\f079"}.fa-rev:before{content:"\\f5b2"}.fa-ribbon:before{content:"\\f4d6"}.fa-ring:before{content:"\\f70b"}.fa-road:before{content:"\\f018"}.fa-robot:before{content:"\\f544"}.fa-rocket:before{content:"\\f135"}.fa-rocketchat:before{content:"\\f3e8"}.fa-rockrms:before{content:"\\f3e9"}.fa-route:before{content:"\\f4d7"}.fa-rss:before{content:"\\f09e"}.fa-rss-square:before{content:"\\f143"}.fa-ruble-sign:before{content:"\\f158"}.fa-ruler:before{content:"\\f545"}.fa-ruler-combined:before{content:"\\f546"}.fa-ruler-horizontal:before{content:"\\f547"}.fa-ruler-vertical:before{content:"\\f548"}.fa-running:before{content:"\\f70c"}.fa-rupee-sign:before{content:"\\f156"}.fa-rust:before{content:"\\e07a"}.fa-sad-cry:before{content:"\\f5b3"}.fa-sad-tear:before{content:"\\f5b4"}.fa-safari:before{content:"\\f267"}.fa-salesforce:before{content:"\\f83b"}.fa-sass:before{content:"\\f41e"}.fa-satellite:before{content:"\\f7bf"}.fa-satellite-dish:before{content:"\\f7c0"}.fa-save:before{content:"\\f0c7"}.fa-schlix:before{content:"\\f3ea"}.fa-school:before{content:"\\f549"}.fa-screwdriver:before{content:"\\f54a"}.fa-scribd:before{content:"\\f28a"}.fa-scroll:before{content:"\\f70e"}.fa-sd-card:before{content:"\\f7c2"}.fa-search:before{content:"\\f002"}.fa-search-dollar:before{content:"\\f688"}.fa-search-location:before{content:"\\f689"}.fa-search-minus:before{content:"\\f010"}.fa-search-plus:before{content:"\\f00e"}.fa-searchengin:before{content:"\\f3eb"}.fa-seedling:before{content:"\\f4d8"}.fa-sellcast:before{content:"\\f2da"}.fa-sellsy:before{content:"\\f213"}.fa-server:before{content:"\\f233"}.fa-servicestack:before{content:"\\f3ec"}.fa-shapes:before{content:"\\f61f"}.fa-share:before{content:"\\f064"}.fa-share-alt:before{content:"\\f1e0"}.fa-share-alt-square:before{content:"\\f1e1"}.fa-share-square:before{content:"\\f14d"}.fa-shekel-sign:before{content:"\\f20b"}.fa-shield-alt:before{content:"\\f3ed"}.fa-shield-virus:before{content:"\\e06c"}.fa-ship:before{content:"\\f21a"}.fa-shipping-fast:before{content:"\\f48b"}.fa-shirtsinbulk:before{content:"\\f214"}.fa-shoe-prints:before{content:"\\f54b"}.fa-shopify:before{content:"\\e057"}.fa-shopping-bag:before{content:"\\f290"}.fa-shopping-basket:before{content:"\\f291"}.fa-shopping-cart:before{content:"\\f07a"}.fa-shopware:before{content:"\\f5b5"}.fa-shower:before{content:"\\f2cc"}.fa-shuttle-van:before{content:"\\f5b6"}.fa-sign:before{content:"\\f4d9"}.fa-sign-in-alt:before{content:"\\f2f6"}.fa-sign-language:before{content:"\\f2a7"}.fa-sign-out-alt:before{content:"\\f2f5"}.fa-signal:before{content:"\\f012"}.fa-signature:before{content:"\\f5b7"}.fa-sim-card:before{content:"\\f7c4"}.fa-simplybuilt:before{content:"\\f215"}.fa-sink:before{content:"\\e06d"}.fa-sistrix:before{content:"\\f3ee"}.fa-sitemap:before{content:"\\f0e8"}.fa-sith:before{content:"\\f512"}.fa-skating:before{content:"\\f7c5"}.fa-sketch:before{content:"\\f7c6"}.fa-skiing:before{content:"\\f7c9"}.fa-skiing-nordic:before{content:"\\f7ca"}.fa-skull:before{content:"\\f54c"}.fa-skull-crossbones:before{content:"\\f714"}.fa-skyatlas:before{content:"\\f216"}.fa-skype:before{content:"\\f17e"}.fa-slack:before{content:"\\f198"}.fa-slack-hash:before{content:"\\f3ef"}.fa-slash:before{content:"\\f715"}.fa-sleigh:before{content:"\\f7cc"}.fa-sliders-h:before{content:"\\f1de"}.fa-slideshare:before{content:"\\f1e7"}.fa-smile:before{content:"\\f118"}.fa-smile-beam:before{content:"\\f5b8"}.fa-smile-wink:before{content:"\\f4da"}.fa-smog:before{content:"\\f75f"}.fa-smoking:before{content:"\\f48d"}.fa-smoking-ban:before{content:"\\f54d"}.fa-sms:before{content:"\\f7cd"}.fa-snapchat:before{content:"\\f2ab"}.fa-snapchat-ghost:before{content:"\\f2ac"}.fa-snapchat-square:before{content:"\\f2ad"}.fa-snowboarding:before{content:"\\f7ce"}.fa-snowflake:before{content:"\\f2dc"}.fa-snowman:before{content:"\\f7d0"}.fa-snowplow:before{content:"\\f7d2"}.fa-soap:before{content:"\\e06e"}.fa-socks:before{content:"\\f696"}.fa-solar-panel:before{content:"\\f5ba"}.fa-sort:before{content:"\\f0dc"}.fa-sort-alpha-down:before{content:"\\f15d"}.fa-sort-alpha-down-alt:before{content:"\\f881"}.fa-sort-alpha-up:before{content:"\\f15e"}.fa-sort-alpha-up-alt:before{content:"\\f882"}.fa-sort-amount-down:before{content:"\\f160"}.fa-sort-amount-down-alt:before{content:"\\f884"}.fa-sort-amount-up:before{content:"\\f161"}.fa-sort-amount-up-alt:before{content:"\\f885"}.fa-sort-down:before{content:"\\f0dd"}.fa-sort-numeric-down:before{content:"\\f162"}.fa-sort-numeric-down-alt:before{content:"\\f886"}.fa-sort-numeric-up:before{content:"\\f163"}.fa-sort-numeric-up-alt:before{content:"\\f887"}.fa-sort-up:before{content:"\\f0de"}.fa-soundcloud:before{content:"\\f1be"}.fa-sourcetree:before{content:"\\f7d3"}.fa-spa:before{content:"\\f5bb"}.fa-space-shuttle:before{content:"\\f197"}.fa-speakap:before{content:"\\f3f3"}.fa-speaker-deck:before{content:"\\f83c"}.fa-spell-check:before{content:"\\f891"}.fa-spider:before{content:"\\f717"}.fa-spinner:before{content:"\\f110"}.fa-splotch:before{content:"\\f5bc"}.fa-spotify:before{content:"\\f1bc"}.fa-spray-can:before{content:"\\f5bd"}.fa-square:before{content:"\\f0c8"}.fa-square-full:before{content:"\\f45c"}.fa-square-root-alt:before{content:"\\f698"}.fa-squarespace:before{content:"\\f5be"}.fa-stack-exchange:before{content:"\\f18d"}.fa-stack-overflow:before{content:"\\f16c"}.fa-stackpath:before{content:"\\f842"}.fa-stamp:before{content:"\\f5bf"}.fa-star:before{content:"\\f005"}.fa-star-and-crescent:before{content:"\\f699"}.fa-star-half:before{content:"\\f089"}.fa-star-half-alt:before{content:"\\f5c0"}.fa-star-of-david:before{content:"\\f69a"}.fa-star-of-life:before{content:"\\f621"}.fa-staylinked:before{content:"\\f3f5"}.fa-steam:before{content:"\\f1b6"}.fa-steam-square:before{content:"\\f1b7"}.fa-steam-symbol:before{content:"\\f3f6"}.fa-step-backward:before{content:"\\f048"}.fa-step-forward:before{content:"\\f051"}.fa-stethoscope:before{content:"\\f0f1"}.fa-sticker-mule:before{content:"\\f3f7"}.fa-sticky-note:before{content:"\\f249"}.fa-stop:before{content:"\\f04d"}.fa-stop-circle:before{content:"\\f28d"}.fa-stopwatch:before{content:"\\f2f2"}.fa-stopwatch-20:before{content:"\\e06f"}.fa-store:before{content:"\\f54e"}.fa-store-alt:before{content:"\\f54f"}.fa-store-alt-slash:before{content:"\\e070"}.fa-store-slash:before{content:"\\e071"}.fa-strava:before{content:"\\f428"}.fa-stream:before{content:"\\f550"}.fa-street-view:before{content:"\\f21d"}.fa-strikethrough:before{content:"\\f0cc"}.fa-stripe:before{content:"\\f429"}.fa-stripe-s:before{content:"\\f42a"}.fa-stroopwafel:before{content:"\\f551"}.fa-studiovinari:before{content:"\\f3f8"}.fa-stumbleupon:before{content:"\\f1a4"}.fa-stumbleupon-circle:before{content:"\\f1a3"}.fa-subscript:before{content:"\\f12c"}.fa-subway:before{content:"\\f239"}.fa-suitcase:before{content:"\\f0f2"}.fa-suitcase-rolling:before{content:"\\f5c1"}.fa-sun:before{content:"\\f185"}.fa-superpowers:before{content:"\\f2dd"}.fa-superscript:before{content:"\\f12b"}.fa-supple:before{content:"\\f3f9"}.fa-surprise:before{content:"\\f5c2"}.fa-suse:before{content:"\\f7d6"}.fa-swatchbook:before{content:"\\f5c3"}.fa-swift:before{content:"\\f8e1"}.fa-swimmer:before{content:"\\f5c4"}.fa-swimming-pool:before{content:"\\f5c5"}.fa-symfony:before{content:"\\f83d"}.fa-synagogue:before{content:"\\f69b"}.fa-sync:before{content:"\\f021"}.fa-sync-alt:before{content:"\\f2f1"}.fa-syringe:before{content:"\\f48e"}.fa-table:before{content:"\\f0ce"}.fa-table-tennis:before{content:"\\f45d"}.fa-tablet:before{content:"\\f10a"}.fa-tablet-alt:before{content:"\\f3fa"}.fa-tablets:before{content:"\\f490"}.fa-tachometer-alt:before{content:"\\f3fd"}.fa-tag:before{content:"\\f02b"}.fa-tags:before{content:"\\f02c"}.fa-tape:before{content:"\\f4db"}.fa-tasks:before{content:"\\f0ae"}.fa-taxi:before{content:"\\f1ba"}.fa-teamspeak:before{content:"\\f4f9"}.fa-teeth:before{content:"\\f62e"}.fa-teeth-open:before{content:"\\f62f"}.fa-telegram:before{content:"\\f2c6"}.fa-telegram-plane:before{content:"\\f3fe"}.fa-temperature-high:before{content:"\\f769"}.fa-temperature-low:before{content:"\\f76b"}.fa-tencent-weibo:before{content:"\\f1d5"}.fa-tenge:before{content:"\\f7d7"}.fa-terminal:before{content:"\\f120"}.fa-text-height:before{content:"\\f034"}.fa-text-width:before{content:"\\f035"}.fa-th:before{content:"\\f00a"}.fa-th-large:before{content:"\\f009"}.fa-th-list:before{content:"\\f00b"}.fa-the-red-yeti:before{content:"\\f69d"}.fa-theater-masks:before{content:"\\f630"}.fa-themeco:before{content:"\\f5c6"}.fa-themeisle:before{content:"\\f2b2"}.fa-thermometer:before{content:"\\f491"}.fa-thermometer-empty:before{content:"\\f2cb"}.fa-thermometer-full:before{content:"\\f2c7"}.fa-thermometer-half:before{content:"\\f2c9"}.fa-thermometer-quarter:before{content:"\\f2ca"}.fa-thermometer-three-quarters:before{content:"\\f2c8"}.fa-think-peaks:before{content:"\\f731"}.fa-thumbs-down:before{content:"\\f165"}.fa-thumbs-up:before{content:"\\f164"}.fa-thumbtack:before{content:"\\f08d"}.fa-ticket-alt:before{content:"\\f3ff"}.fa-tiktok:before{content:"\\e07b"}.fa-times:before{content:"\\f00d"}.fa-times-circle:before{content:"\\f057"}.fa-tint:before{content:"\\f043"}.fa-tint-slash:before{content:"\\f5c7"}.fa-tired:before{content:"\\f5c8"}.fa-toggle-off:before{content:"\\f204"}.fa-toggle-on:before{content:"\\f205"}.fa-toilet:before{content:"\\f7d8"}.fa-toilet-paper:before{content:"\\f71e"}.fa-toilet-paper-slash:before{content:"\\e072"}.fa-toolbox:before{content:"\\f552"}.fa-tools:before{content:"\\f7d9"}.fa-tooth:before{content:"\\f5c9"}.fa-torah:before{content:"\\f6a0"}.fa-torii-gate:before{content:"\\f6a1"}.fa-tractor:before{content:"\\f722"}.fa-trade-federation:before{content:"\\f513"}.fa-trademark:before{content:"\\f25c"}.fa-traffic-light:before{content:"\\f637"}.fa-trailer:before{content:"\\e041"}.fa-train:before{content:"\\f238"}.fa-tram:before{content:"\\f7da"}.fa-transgender:before{content:"\\f224"}.fa-transgender-alt:before{content:"\\f225"}.fa-trash:before{content:"\\f1f8"}.fa-trash-alt:before{content:"\\f2ed"}.fa-trash-restore:before{content:"\\f829"}.fa-trash-restore-alt:before{content:"\\f82a"}.fa-tree:before{content:"\\f1bb"}.fa-trello:before{content:"\\f181"}.fa-trophy:before{content:"\\f091"}.fa-truck:before{content:"\\f0d1"}.fa-truck-loading:before{content:"\\f4de"}.fa-truck-monster:before{content:"\\f63b"}.fa-truck-moving:before{content:"\\f4df"}.fa-truck-pickup:before{content:"\\f63c"}.fa-tshirt:before{content:"\\f553"}.fa-tty:before{content:"\\f1e4"}.fa-tumblr:before{content:"\\f173"}.fa-tumblr-square:before{content:"\\f174"}.fa-tv:before{content:"\\f26c"}.fa-twitch:before{content:"\\f1e8"}.fa-twitter:before{content:"\\f099"}.fa-twitter-square:before{content:"\\f081"}.fa-typo3:before{content:"\\f42b"}.fa-uber:before{content:"\\f402"}.fa-ubuntu:before{content:"\\f7df"}.fa-uikit:before{content:"\\f403"}.fa-umbraco:before{content:"\\f8e8"}.fa-umbrella:before{content:"\\f0e9"}.fa-umbrella-beach:before{content:"\\f5ca"}.fa-uncharted:before{content:"\\e084"}.fa-underline:before{content:"\\f0cd"}.fa-undo:before{content:"\\f0e2"}.fa-undo-alt:before{content:"\\f2ea"}.fa-uniregistry:before{content:"\\f404"}.fa-unity:before{content:"\\e049"}.fa-universal-access:before{content:"\\f29a"}.fa-university:before{content:"\\f19c"}.fa-unlink:before{content:"\\f127"}.fa-unlock:before{content:"\\f09c"}.fa-unlock-alt:before{content:"\\f13e"}.fa-unsplash:before{content:"\\e07c"}.fa-untappd:before{content:"\\f405"}.fa-upload:before{content:"\\f093"}.fa-ups:before{content:"\\f7e0"}.fa-usb:before{content:"\\f287"}.fa-user:before{content:"\\f007"}.fa-user-alt:before{content:"\\f406"}.fa-user-alt-slash:before{content:"\\f4fa"}.fa-user-astronaut:before{content:"\\f4fb"}.fa-user-check:before{content:"\\f4fc"}.fa-user-circle:before{content:"\\f2bd"}.fa-user-clock:before{content:"\\f4fd"}.fa-user-cog:before{content:"\\f4fe"}.fa-user-edit:before{content:"\\f4ff"}.fa-user-friends:before{content:"\\f500"}.fa-user-graduate:before{content:"\\f501"}.fa-user-injured:before{content:"\\f728"}.fa-user-lock:before{content:"\\f502"}.fa-user-md:before{content:"\\f0f0"}.fa-user-minus:before{content:"\\f503"}.fa-user-ninja:before{content:"\\f504"}.fa-user-nurse:before{content:"\\f82f"}.fa-user-plus:before{content:"\\f234"}.fa-user-secret:before{content:"\\f21b"}.fa-user-shield:before{content:"\\f505"}.fa-user-slash:before{content:"\\f506"}.fa-user-tag:before{content:"\\f507"}.fa-user-tie:before{content:"\\f508"}.fa-user-times:before{content:"\\f235"}.fa-users:before{content:"\\f0c0"}.fa-users-cog:before{content:"\\f509"}.fa-users-slash:before{content:"\\e073"}.fa-usps:before{content:"\\f7e1"}.fa-ussunnah:before{content:"\\f407"}.fa-utensil-spoon:before{content:"\\f2e5"}.fa-utensils:before{content:"\\f2e7"}.fa-vaadin:before{content:"\\f408"}.fa-vector-square:before{content:"\\f5cb"}.fa-venus:before{content:"\\f221"}.fa-venus-double:before{content:"\\f226"}.fa-venus-mars:before{content:"\\f228"}.fa-vest:before{content:"\\e085"}.fa-vest-patches:before{content:"\\e086"}.fa-viacoin:before{content:"\\f237"}.fa-viadeo:before{content:"\\f2a9"}.fa-viadeo-square:before{content:"\\f2aa"}.fa-vial:before{content:"\\f492"}.fa-vials:before{content:"\\f493"}.fa-viber:before{content:"\\f409"}.fa-video:before{content:"\\f03d"}.fa-video-slash:before{content:"\\f4e2"}.fa-vihara:before{content:"\\f6a7"}.fa-vimeo:before{content:"\\f40a"}.fa-vimeo-square:before{content:"\\f194"}.fa-vimeo-v:before{content:"\\f27d"}.fa-vine:before{content:"\\f1ca"}.fa-virus:before{content:"\\e074"}.fa-virus-slash:before{content:"\\e075"}.fa-viruses:before{content:"\\e076"}.fa-vk:before{content:"\\f189"}.fa-vnv:before{content:"\\f40b"}.fa-voicemail:before{content:"\\f897"}.fa-volleyball-ball:before{content:"\\f45f"}.fa-volume-down:before{content:"\\f027"}.fa-volume-mute:before{content:"\\f6a9"}.fa-volume-off:before{content:"\\f026"}.fa-volume-up:before{content:"\\f028"}.fa-vote-yea:before{content:"\\f772"}.fa-vr-cardboard:before{content:"\\f729"}.fa-vuejs:before{content:"\\f41f"}.fa-walking:before{content:"\\f554"}.fa-wallet:before{content:"\\f555"}.fa-warehouse:before{content:"\\f494"}.fa-watchman-monitoring:before{content:"\\e087"}.fa-water:before{content:"\\f773"}.fa-wave-square:before{content:"\\f83e"}.fa-waze:before{content:"\\f83f"}.fa-weebly:before{content:"\\f5cc"}.fa-weibo:before{content:"\\f18a"}.fa-weight:before{content:"\\f496"}.fa-weight-hanging:before{content:"\\f5cd"}.fa-weixin:before{content:"\\f1d7"}.fa-whatsapp:before{content:"\\f232"}.fa-whatsapp-square:before{content:"\\f40c"}.fa-wheelchair:before{content:"\\f193"}.fa-whmcs:before{content:"\\f40d"}.fa-wifi:before{content:"\\f1eb"}.fa-wikipedia-w:before{content:"\\f266"}.fa-wind:before{content:"\\f72e"}.fa-window-close:before{content:"\\f410"}.fa-window-maximize:before{content:"\\f2d0"}.fa-window-minimize:before{content:"\\f2d1"}.fa-window-restore:before{content:"\\f2d2"}.fa-windows:before{content:"\\f17a"}.fa-wine-bottle:before{content:"\\f72f"}.fa-wine-glass:before{content:"\\f4e3"}.fa-wine-glass-alt:before{content:"\\f5ce"}.fa-wix:before{content:"\\f5cf"}.fa-wizards-of-the-coast:before{content:"\\f730"}.fa-wodu:before{content:"\\e088"}.fa-wolf-pack-battalion:before{content:"\\f514"}.fa-won-sign:before{content:"\\f159"}.fa-wordpress:before{content:"\\f19a"}.fa-wordpress-simple:before{content:"\\f411"}.fa-wpbeginner:before{content:"\\f297"}.fa-wpexplorer:before{content:"\\f2de"}.fa-wpforms:before{content:"\\f298"}.fa-wpressr:before{content:"\\f3e4"}.fa-wrench:before{content:"\\f0ad"}.fa-x-ray:before{content:"\\f497"}.fa-xbox:before{content:"\\f412"}.fa-xing:before{content:"\\f168"}.fa-xing-square:before{content:"\\f169"}.fa-y-combinator:before{content:"\\f23b"}.fa-yahoo:before{content:"\\f19e"}.fa-yammer:before{content:"\\f840"}.fa-yandex:before{content:"\\f413"}.fa-yandex-international:before{content:"\\f414"}.fa-yarn:before{content:"\\f7e3"}.fa-yelp:before{content:"\\f1e9"}.fa-yen-sign:before{content:"\\f157"}.fa-yin-yang:before{content:"\\f6ad"}.fa-yoast:before{content:"\\f2b1"}.fa-youtube:before{content:"\\f167"}.fa-youtube-square:before{content:"\\f431"}.fa-zhihu:before{content:"\\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(${E});src:url(${$}) format("embedded-opentype"),url(${F}) format("woff2"),url(${_}) format("woff"),url(${q}) format("truetype"),url(${x}) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(${S});src:url(${P}) format("embedded-opentype"),url(${j}) format("woff2"),url(${T}) format("woff"),url(${D}) format("truetype"),url(${N}) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(${O});src:url(${I}) format("embedded-opentype"),url(${z}) format("woff2"),url(${R}) format("woff"),url(${M}) format("truetype"),url(${L}) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}`,"",{version:3,sources:["webpack://./../../node_modules/@fortawesome/fontawesome-free/css/all.min.css"],names:[],mappings:"AAAA;;;EAGE;AACF,6BAA6B,iCAAiC,CAAC,kCAAkC,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,aAAa,CAAC,OAAO,mBAAmB,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,OAAO,eAAe,CAAC,OAAO,gBAAgB,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,OAAO,aAAa,CAAC,QAAQ,cAAc,CAAC,OAAO,iBAAiB,CAAC,YAAY,CAAC,OAAO,oBAAoB,CAAC,iBAAiB,CAAC,cAAc,CAAC,UAAU,iBAAiB,CAAC,OAAO,SAAS,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,SAAS,CAAC,mBAAmB,CAAC,WAAW,uBAAuB,CAAC,kBAAkB,CAAC,wBAAwB,CAAC,cAAc,UAAU,CAAC,eAAe,WAAW,CAAC,yFAAyF,iBAAiB,CAAC,8FAA8F,gBAAgB,CAAC,SAAS,4CAA4C,CAAC,oCAAoC,CAAC,UAAU,8CAA8C,CAAC,sCAAsC,CAAC,2BAA2B,GAAG,8BAA8B,CAAC,sBAAsB,CAAC,GAAG,+BAA+B,CAAC,uBAAuB,CAAC,CAAC,mBAAmB,GAAG,8BAA8B,CAAC,sBAAsB,CAAC,GAAG,+BAA+B,CAAC,uBAAuB,CAAC,CAAC,cAAc,qEAAqE,CAAC,+BAA+B,CAAC,uBAAuB,CAAC,eAAe,qEAAqE,CAAC,gCAAgC,CAAC,wBAAwB,CAAC,eAAe,qEAAqE,CAAC,gCAAgC,CAAC,wBAAwB,CAAC,oBAAoB,+EAA+E,CAAC,4BAA4B,CAAC,oBAAoB,CAAC,kBAAkB,4BAA4B,CAAC,oBAAoB,CAAC,qEAAqE,+EAA+E,CAAC,mDAAmD,2BAA2B,CAAC,mBAAmB,CAAC,oIAAoI,mBAAmB,CAAC,WAAW,CAAC,UAAU,oBAAoB,CAAC,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,WAAW,CAAC,0BAA0B,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,UAAU,CAAC,aAAa,mBAAmB,CAAC,aAAa,aAAa,CAAC,YAAY,UAAU,CAAC,iBAAiB,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,qCAAqC,eAAe,CAAC,cAAc,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,+CAA+C,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,6BAA6B,eAAe,CAAC,6BAA6B,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iCAAiC,eAAe,CAAC,iCAAiC,eAAe,CAAC,kCAAkC,eAAe,CAAC,+BAA+B,eAAe,CAAC,6BAA6B,eAAe,CAAC,6BAA6B,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uCAAuC,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,cAAc,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,6BAA6B,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,8BAA8B,eAAe,CAAC,+BAA+B,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,2BAA2B,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,kCAAkC,eAAe,CAAC,sBAAsB,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,gBAAgB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,6BAA6B,eAAe,CAAC,2BAA2B,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,4BAA4B,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,yBAAyB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,+BAA+B,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,6BAA6B,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,eAAe,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,8BAA8B,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,gCAAgC,eAAe,CAAC,6BAA6B,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,gBAAgB,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,6BAA6B,eAAe,CAAC,iBAAiB,eAAe,CAAC,8BAA8B,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,+BAA+B,eAAe,CAAC,qBAAqB,eAAe,CAAC,0BAA0B,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,0BAA0B,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,+BAA+B,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,4BAA4B,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,kCAAkC,eAAe,CAAC,kCAAkC,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,mCAAmC,eAAe,CAAC,kCAAkC,eAAe,CAAC,+BAA+B,eAAe,CAAC,qCAAqC,eAAe,CAAC,0CAA0C,eAAe,CAAC,kCAAkC,eAAe,CAAC,iCAAiC,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,eAAe,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,4BAA4B,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,eAAe,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,gCAAgC,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,6BAA6B,eAAe,CAAC,wBAAwB,eAAe,CAAC,6BAA6B,eAAe,CAAC,oCAAoC,eAAe,CAAC,eAAe,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,8BAA8B,eAAe,CAAC,2BAA2B,eAAe,CAAC,eAAe,eAAe,CAAC,gCAAgC,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,+BAA+B,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,6BAA6B,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,6BAA6B,eAAe,CAAC,mBAAmB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,eAAe,CAAC,6BAA6B,eAAe,CAAC,kCAAkC,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,6BAA6B,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,cAAc,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,6BAA6B,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,8BAA8B,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,wBAAwB,eAAe,CAAC,8BAA8B,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,4BAA4B,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,+BAA+B,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,8BAA8B,eAAe,CAAC,gCAAgC,eAAe,CAAC,4BAA4B,eAAe,CAAC,8BAA8B,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,2BAA2B,eAAe,CAAC,2BAA2B,eAAe,CAAC,4BAA4B,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,+BAA+B,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,eAAe,eAAe,CAAC,2BAA2B,eAAe,CAAC,iCAAiC,eAAe,CAAC,0BAA0B,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,0BAA0B,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,6BAA6B,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,0BAA0B,eAAe,CAAC,cAAc,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,0BAA0B,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,gCAAgC,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,eAAe,eAAe,CAAC,qBAAqB,eAAe,CAAC,4BAA4B,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,gCAAgC,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,2BAA2B,eAAe,CAAC,+BAA+B,eAAe,CAAC,uBAAuB,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,eAAe,eAAe,CAAC,eAAe,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,gCAAgC,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,cAAc,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,4BAA4B,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,4BAA4B,eAAe,CAAC,uBAAuB,eAAe,CAAC,4BAA4B,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,+BAA+B,eAAe,CAAC,mCAAmC,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,cAAc,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,eAAe,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,0BAA0B,eAAe,CAAC,4BAA4B,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,0BAA0B,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,4BAA4B,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,gBAAgB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,eAAe,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,2BAA2B,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,2BAA2B,eAAe,CAAC,+BAA+B,eAAe,CAAC,yBAAyB,eAAe,CAAC,6BAA6B,eAAe,CAAC,4BAA4B,eAAe,CAAC,gCAAgC,eAAe,CAAC,0BAA0B,eAAe,CAAC,8BAA8B,eAAe,CAAC,qBAAqB,eAAe,CAAC,6BAA6B,eAAe,CAAC,iCAAiC,eAAe,CAAC,2BAA2B,eAAe,CAAC,+BAA+B,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,eAAe,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,6BAA6B,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,8BAA8B,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,4BAA4B,eAAe,CAAC,eAAe,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,gBAAgB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,4BAA4B,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,cAAc,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,4BAA4B,eAAe,CAAC,4BAA4B,eAAe,CAAC,+BAA+B,eAAe,CAAC,sCAAsC,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,gBAAgB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,eAAe,CAAC,wBAAwB,eAAe,CAAC,8BAA8B,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,4BAA4B,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,2BAA2B,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,6BAA6B,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,cAAc,eAAe,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,eAAe,eAAe,CAAC,eAAe,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,yBAAyB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,mBAAmB,eAAe,CAAC,cAAc,eAAe,CAAC,eAAe,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,eAAe,CAAC,oBAAoB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,eAAe,CAAC,+BAA+B,eAAe,CAAC,iBAAiB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,eAAe,CAAC,oBAAoB,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,2BAA2B,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,eAAe,CAAC,uBAAuB,eAAe,CAAC,sBAAsB,eAAe,CAAC,0BAA0B,eAAe,CAAC,eAAe,eAAe,CAAC,gCAAgC,eAAe,CAAC,gBAAgB,eAAe,CAAC,+BAA+B,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,eAAe,CAAC,mBAAmB,eAAe,CAAC,kBAAkB,eAAe,CAAC,iBAAiB,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,eAAe,CAAC,kBAAkB,eAAe,CAAC,gCAAgC,eAAe,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,eAAe,CAAC,SAAS,QAAQ,CAAC,kBAAkB,CAAC,UAAU,CAAC,WAAW,CAAC,eAAe,CAAC,SAAS,CAAC,iBAAiB,CAAC,SAAS,CAAC,mDAAmD,SAAS,CAAC,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,eAAe,CAAC,UAAU,CAAC,WAAW,mCAAmC,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,2CAAsC,CAAC,uSAAoS,CAAC,KAAK,mCAAmC,CAAC,WAAW,iCAAiC,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,2CAAuC,CAAC,ySAAyS,CAAC,UAAU,eAAe,CAAC,WAAW,iCAAiC,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,4CAAqC,CAAC,4SAA+R,CAAC,cAAc,iCAAiC,CAAC,SAAS,eAAe",sourcesContent:['/*!\n * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\\f26e"}.fa-accessible-icon:before{content:"\\f368"}.fa-accusoft:before{content:"\\f369"}.fa-acquisitions-incorporated:before{content:"\\f6af"}.fa-ad:before{content:"\\f641"}.fa-address-book:before{content:"\\f2b9"}.fa-address-card:before{content:"\\f2bb"}.fa-adjust:before{content:"\\f042"}.fa-adn:before{content:"\\f170"}.fa-adversal:before{content:"\\f36a"}.fa-affiliatetheme:before{content:"\\f36b"}.fa-air-freshener:before{content:"\\f5d0"}.fa-airbnb:before{content:"\\f834"}.fa-algolia:before{content:"\\f36c"}.fa-align-center:before{content:"\\f037"}.fa-align-justify:before{content:"\\f039"}.fa-align-left:before{content:"\\f036"}.fa-align-right:before{content:"\\f038"}.fa-alipay:before{content:"\\f642"}.fa-allergies:before{content:"\\f461"}.fa-amazon:before{content:"\\f270"}.fa-amazon-pay:before{content:"\\f42c"}.fa-ambulance:before{content:"\\f0f9"}.fa-american-sign-language-interpreting:before{content:"\\f2a3"}.fa-amilia:before{content:"\\f36d"}.fa-anchor:before{content:"\\f13d"}.fa-android:before{content:"\\f17b"}.fa-angellist:before{content:"\\f209"}.fa-angle-double-down:before{content:"\\f103"}.fa-angle-double-left:before{content:"\\f100"}.fa-angle-double-right:before{content:"\\f101"}.fa-angle-double-up:before{content:"\\f102"}.fa-angle-down:before{content:"\\f107"}.fa-angle-left:before{content:"\\f104"}.fa-angle-right:before{content:"\\f105"}.fa-angle-up:before{content:"\\f106"}.fa-angry:before{content:"\\f556"}.fa-angrycreative:before{content:"\\f36e"}.fa-angular:before{content:"\\f420"}.fa-ankh:before{content:"\\f644"}.fa-app-store:before{content:"\\f36f"}.fa-app-store-ios:before{content:"\\f370"}.fa-apper:before{content:"\\f371"}.fa-apple:before{content:"\\f179"}.fa-apple-alt:before{content:"\\f5d1"}.fa-apple-pay:before{content:"\\f415"}.fa-archive:before{content:"\\f187"}.fa-archway:before{content:"\\f557"}.fa-arrow-alt-circle-down:before{content:"\\f358"}.fa-arrow-alt-circle-left:before{content:"\\f359"}.fa-arrow-alt-circle-right:before{content:"\\f35a"}.fa-arrow-alt-circle-up:before{content:"\\f35b"}.fa-arrow-circle-down:before{content:"\\f0ab"}.fa-arrow-circle-left:before{content:"\\f0a8"}.fa-arrow-circle-right:before{content:"\\f0a9"}.fa-arrow-circle-up:before{content:"\\f0aa"}.fa-arrow-down:before{content:"\\f063"}.fa-arrow-left:before{content:"\\f060"}.fa-arrow-right:before{content:"\\f061"}.fa-arrow-up:before{content:"\\f062"}.fa-arrows-alt:before{content:"\\f0b2"}.fa-arrows-alt-h:before{content:"\\f337"}.fa-arrows-alt-v:before{content:"\\f338"}.fa-artstation:before{content:"\\f77a"}.fa-assistive-listening-systems:before{content:"\\f2a2"}.fa-asterisk:before{content:"\\f069"}.fa-asymmetrik:before{content:"\\f372"}.fa-at:before{content:"\\f1fa"}.fa-atlas:before{content:"\\f558"}.fa-atlassian:before{content:"\\f77b"}.fa-atom:before{content:"\\f5d2"}.fa-audible:before{content:"\\f373"}.fa-audio-description:before{content:"\\f29e"}.fa-autoprefixer:before{content:"\\f41c"}.fa-avianex:before{content:"\\f374"}.fa-aviato:before{content:"\\f421"}.fa-award:before{content:"\\f559"}.fa-aws:before{content:"\\f375"}.fa-baby:before{content:"\\f77c"}.fa-baby-carriage:before{content:"\\f77d"}.fa-backspace:before{content:"\\f55a"}.fa-backward:before{content:"\\f04a"}.fa-bacon:before{content:"\\f7e5"}.fa-bacteria:before{content:"\\e059"}.fa-bacterium:before{content:"\\e05a"}.fa-bahai:before{content:"\\f666"}.fa-balance-scale:before{content:"\\f24e"}.fa-balance-scale-left:before{content:"\\f515"}.fa-balance-scale-right:before{content:"\\f516"}.fa-ban:before{content:"\\f05e"}.fa-band-aid:before{content:"\\f462"}.fa-bandcamp:before{content:"\\f2d5"}.fa-barcode:before{content:"\\f02a"}.fa-bars:before{content:"\\f0c9"}.fa-baseball-ball:before{content:"\\f433"}.fa-basketball-ball:before{content:"\\f434"}.fa-bath:before{content:"\\f2cd"}.fa-battery-empty:before{content:"\\f244"}.fa-battery-full:before{content:"\\f240"}.fa-battery-half:before{content:"\\f242"}.fa-battery-quarter:before{content:"\\f243"}.fa-battery-three-quarters:before{content:"\\f241"}.fa-battle-net:before{content:"\\f835"}.fa-bed:before{content:"\\f236"}.fa-beer:before{content:"\\f0fc"}.fa-behance:before{content:"\\f1b4"}.fa-behance-square:before{content:"\\f1b5"}.fa-bell:before{content:"\\f0f3"}.fa-bell-slash:before{content:"\\f1f6"}.fa-bezier-curve:before{content:"\\f55b"}.fa-bible:before{content:"\\f647"}.fa-bicycle:before{content:"\\f206"}.fa-biking:before{content:"\\f84a"}.fa-bimobject:before{content:"\\f378"}.fa-binoculars:before{content:"\\f1e5"}.fa-biohazard:before{content:"\\f780"}.fa-birthday-cake:before{content:"\\f1fd"}.fa-bitbucket:before{content:"\\f171"}.fa-bitcoin:before{content:"\\f379"}.fa-bity:before{content:"\\f37a"}.fa-black-tie:before{content:"\\f27e"}.fa-blackberry:before{content:"\\f37b"}.fa-blender:before{content:"\\f517"}.fa-blender-phone:before{content:"\\f6b6"}.fa-blind:before{content:"\\f29d"}.fa-blog:before{content:"\\f781"}.fa-blogger:before{content:"\\f37c"}.fa-blogger-b:before{content:"\\f37d"}.fa-bluetooth:before{content:"\\f293"}.fa-bluetooth-b:before{content:"\\f294"}.fa-bold:before{content:"\\f032"}.fa-bolt:before{content:"\\f0e7"}.fa-bomb:before{content:"\\f1e2"}.fa-bone:before{content:"\\f5d7"}.fa-bong:before{content:"\\f55c"}.fa-book:before{content:"\\f02d"}.fa-book-dead:before{content:"\\f6b7"}.fa-book-medical:before{content:"\\f7e6"}.fa-book-open:before{content:"\\f518"}.fa-book-reader:before{content:"\\f5da"}.fa-bookmark:before{content:"\\f02e"}.fa-bootstrap:before{content:"\\f836"}.fa-border-all:before{content:"\\f84c"}.fa-border-none:before{content:"\\f850"}.fa-border-style:before{content:"\\f853"}.fa-bowling-ball:before{content:"\\f436"}.fa-box:before{content:"\\f466"}.fa-box-open:before{content:"\\f49e"}.fa-box-tissue:before{content:"\\e05b"}.fa-boxes:before{content:"\\f468"}.fa-braille:before{content:"\\f2a1"}.fa-brain:before{content:"\\f5dc"}.fa-bread-slice:before{content:"\\f7ec"}.fa-briefcase:before{content:"\\f0b1"}.fa-briefcase-medical:before{content:"\\f469"}.fa-broadcast-tower:before{content:"\\f519"}.fa-broom:before{content:"\\f51a"}.fa-brush:before{content:"\\f55d"}.fa-btc:before{content:"\\f15a"}.fa-buffer:before{content:"\\f837"}.fa-bug:before{content:"\\f188"}.fa-building:before{content:"\\f1ad"}.fa-bullhorn:before{content:"\\f0a1"}.fa-bullseye:before{content:"\\f140"}.fa-burn:before{content:"\\f46a"}.fa-buromobelexperte:before{content:"\\f37f"}.fa-bus:before{content:"\\f207"}.fa-bus-alt:before{content:"\\f55e"}.fa-business-time:before{content:"\\f64a"}.fa-buy-n-large:before{content:"\\f8a6"}.fa-buysellads:before{content:"\\f20d"}.fa-calculator:before{content:"\\f1ec"}.fa-calendar:before{content:"\\f133"}.fa-calendar-alt:before{content:"\\f073"}.fa-calendar-check:before{content:"\\f274"}.fa-calendar-day:before{content:"\\f783"}.fa-calendar-minus:before{content:"\\f272"}.fa-calendar-plus:before{content:"\\f271"}.fa-calendar-times:before{content:"\\f273"}.fa-calendar-week:before{content:"\\f784"}.fa-camera:before{content:"\\f030"}.fa-camera-retro:before{content:"\\f083"}.fa-campground:before{content:"\\f6bb"}.fa-canadian-maple-leaf:before{content:"\\f785"}.fa-candy-cane:before{content:"\\f786"}.fa-cannabis:before{content:"\\f55f"}.fa-capsules:before{content:"\\f46b"}.fa-car:before{content:"\\f1b9"}.fa-car-alt:before{content:"\\f5de"}.fa-car-battery:before{content:"\\f5df"}.fa-car-crash:before{content:"\\f5e1"}.fa-car-side:before{content:"\\f5e4"}.fa-caravan:before{content:"\\f8ff"}.fa-caret-down:before{content:"\\f0d7"}.fa-caret-left:before{content:"\\f0d9"}.fa-caret-right:before{content:"\\f0da"}.fa-caret-square-down:before{content:"\\f150"}.fa-caret-square-left:before{content:"\\f191"}.fa-caret-square-right:before{content:"\\f152"}.fa-caret-square-up:before{content:"\\f151"}.fa-caret-up:before{content:"\\f0d8"}.fa-carrot:before{content:"\\f787"}.fa-cart-arrow-down:before{content:"\\f218"}.fa-cart-plus:before{content:"\\f217"}.fa-cash-register:before{content:"\\f788"}.fa-cat:before{content:"\\f6be"}.fa-cc-amazon-pay:before{content:"\\f42d"}.fa-cc-amex:before{content:"\\f1f3"}.fa-cc-apple-pay:before{content:"\\f416"}.fa-cc-diners-club:before{content:"\\f24c"}.fa-cc-discover:before{content:"\\f1f2"}.fa-cc-jcb:before{content:"\\f24b"}.fa-cc-mastercard:before{content:"\\f1f1"}.fa-cc-paypal:before{content:"\\f1f4"}.fa-cc-stripe:before{content:"\\f1f5"}.fa-cc-visa:before{content:"\\f1f0"}.fa-centercode:before{content:"\\f380"}.fa-centos:before{content:"\\f789"}.fa-certificate:before{content:"\\f0a3"}.fa-chair:before{content:"\\f6c0"}.fa-chalkboard:before{content:"\\f51b"}.fa-chalkboard-teacher:before{content:"\\f51c"}.fa-charging-station:before{content:"\\f5e7"}.fa-chart-area:before{content:"\\f1fe"}.fa-chart-bar:before{content:"\\f080"}.fa-chart-line:before{content:"\\f201"}.fa-chart-pie:before{content:"\\f200"}.fa-check:before{content:"\\f00c"}.fa-check-circle:before{content:"\\f058"}.fa-check-double:before{content:"\\f560"}.fa-check-square:before{content:"\\f14a"}.fa-cheese:before{content:"\\f7ef"}.fa-chess:before{content:"\\f439"}.fa-chess-bishop:before{content:"\\f43a"}.fa-chess-board:before{content:"\\f43c"}.fa-chess-king:before{content:"\\f43f"}.fa-chess-knight:before{content:"\\f441"}.fa-chess-pawn:before{content:"\\f443"}.fa-chess-queen:before{content:"\\f445"}.fa-chess-rook:before{content:"\\f447"}.fa-chevron-circle-down:before{content:"\\f13a"}.fa-chevron-circle-left:before{content:"\\f137"}.fa-chevron-circle-right:before{content:"\\f138"}.fa-chevron-circle-up:before{content:"\\f139"}.fa-chevron-down:before{content:"\\f078"}.fa-chevron-left:before{content:"\\f053"}.fa-chevron-right:before{content:"\\f054"}.fa-chevron-up:before{content:"\\f077"}.fa-child:before{content:"\\f1ae"}.fa-chrome:before{content:"\\f268"}.fa-chromecast:before{content:"\\f838"}.fa-church:before{content:"\\f51d"}.fa-circle:before{content:"\\f111"}.fa-circle-notch:before{content:"\\f1ce"}.fa-city:before{content:"\\f64f"}.fa-clinic-medical:before{content:"\\f7f2"}.fa-clipboard:before{content:"\\f328"}.fa-clipboard-check:before{content:"\\f46c"}.fa-clipboard-list:before{content:"\\f46d"}.fa-clock:before{content:"\\f017"}.fa-clone:before{content:"\\f24d"}.fa-closed-captioning:before{content:"\\f20a"}.fa-cloud:before{content:"\\f0c2"}.fa-cloud-download-alt:before{content:"\\f381"}.fa-cloud-meatball:before{content:"\\f73b"}.fa-cloud-moon:before{content:"\\f6c3"}.fa-cloud-moon-rain:before{content:"\\f73c"}.fa-cloud-rain:before{content:"\\f73d"}.fa-cloud-showers-heavy:before{content:"\\f740"}.fa-cloud-sun:before{content:"\\f6c4"}.fa-cloud-sun-rain:before{content:"\\f743"}.fa-cloud-upload-alt:before{content:"\\f382"}.fa-cloudflare:before{content:"\\e07d"}.fa-cloudscale:before{content:"\\f383"}.fa-cloudsmith:before{content:"\\f384"}.fa-cloudversify:before{content:"\\f385"}.fa-cocktail:before{content:"\\f561"}.fa-code:before{content:"\\f121"}.fa-code-branch:before{content:"\\f126"}.fa-codepen:before{content:"\\f1cb"}.fa-codiepie:before{content:"\\f284"}.fa-coffee:before{content:"\\f0f4"}.fa-cog:before{content:"\\f013"}.fa-cogs:before{content:"\\f085"}.fa-coins:before{content:"\\f51e"}.fa-columns:before{content:"\\f0db"}.fa-comment:before{content:"\\f075"}.fa-comment-alt:before{content:"\\f27a"}.fa-comment-dollar:before{content:"\\f651"}.fa-comment-dots:before{content:"\\f4ad"}.fa-comment-medical:before{content:"\\f7f5"}.fa-comment-slash:before{content:"\\f4b3"}.fa-comments:before{content:"\\f086"}.fa-comments-dollar:before{content:"\\f653"}.fa-compact-disc:before{content:"\\f51f"}.fa-compass:before{content:"\\f14e"}.fa-compress:before{content:"\\f066"}.fa-compress-alt:before{content:"\\f422"}.fa-compress-arrows-alt:before{content:"\\f78c"}.fa-concierge-bell:before{content:"\\f562"}.fa-confluence:before{content:"\\f78d"}.fa-connectdevelop:before{content:"\\f20e"}.fa-contao:before{content:"\\f26d"}.fa-cookie:before{content:"\\f563"}.fa-cookie-bite:before{content:"\\f564"}.fa-copy:before{content:"\\f0c5"}.fa-copyright:before{content:"\\f1f9"}.fa-cotton-bureau:before{content:"\\f89e"}.fa-couch:before{content:"\\f4b8"}.fa-cpanel:before{content:"\\f388"}.fa-creative-commons:before{content:"\\f25e"}.fa-creative-commons-by:before{content:"\\f4e7"}.fa-creative-commons-nc:before{content:"\\f4e8"}.fa-creative-commons-nc-eu:before{content:"\\f4e9"}.fa-creative-commons-nc-jp:before{content:"\\f4ea"}.fa-creative-commons-nd:before{content:"\\f4eb"}.fa-creative-commons-pd:before{content:"\\f4ec"}.fa-creative-commons-pd-alt:before{content:"\\f4ed"}.fa-creative-commons-remix:before{content:"\\f4ee"}.fa-creative-commons-sa:before{content:"\\f4ef"}.fa-creative-commons-sampling:before{content:"\\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\\f4f1"}.fa-creative-commons-share:before{content:"\\f4f2"}.fa-creative-commons-zero:before{content:"\\f4f3"}.fa-credit-card:before{content:"\\f09d"}.fa-critical-role:before{content:"\\f6c9"}.fa-crop:before{content:"\\f125"}.fa-crop-alt:before{content:"\\f565"}.fa-cross:before{content:"\\f654"}.fa-crosshairs:before{content:"\\f05b"}.fa-crow:before{content:"\\f520"}.fa-crown:before{content:"\\f521"}.fa-crutch:before{content:"\\f7f7"}.fa-css3:before{content:"\\f13c"}.fa-css3-alt:before{content:"\\f38b"}.fa-cube:before{content:"\\f1b2"}.fa-cubes:before{content:"\\f1b3"}.fa-cut:before{content:"\\f0c4"}.fa-cuttlefish:before{content:"\\f38c"}.fa-d-and-d:before{content:"\\f38d"}.fa-d-and-d-beyond:before{content:"\\f6ca"}.fa-dailymotion:before{content:"\\e052"}.fa-dashcube:before{content:"\\f210"}.fa-database:before{content:"\\f1c0"}.fa-deaf:before{content:"\\f2a4"}.fa-deezer:before{content:"\\e077"}.fa-delicious:before{content:"\\f1a5"}.fa-democrat:before{content:"\\f747"}.fa-deploydog:before{content:"\\f38e"}.fa-deskpro:before{content:"\\f38f"}.fa-desktop:before{content:"\\f108"}.fa-dev:before{content:"\\f6cc"}.fa-deviantart:before{content:"\\f1bd"}.fa-dharmachakra:before{content:"\\f655"}.fa-dhl:before{content:"\\f790"}.fa-diagnoses:before{content:"\\f470"}.fa-diaspora:before{content:"\\f791"}.fa-dice:before{content:"\\f522"}.fa-dice-d20:before{content:"\\f6cf"}.fa-dice-d6:before{content:"\\f6d1"}.fa-dice-five:before{content:"\\f523"}.fa-dice-four:before{content:"\\f524"}.fa-dice-one:before{content:"\\f525"}.fa-dice-six:before{content:"\\f526"}.fa-dice-three:before{content:"\\f527"}.fa-dice-two:before{content:"\\f528"}.fa-digg:before{content:"\\f1a6"}.fa-digital-ocean:before{content:"\\f391"}.fa-digital-tachograph:before{content:"\\f566"}.fa-directions:before{content:"\\f5eb"}.fa-discord:before{content:"\\f392"}.fa-discourse:before{content:"\\f393"}.fa-disease:before{content:"\\f7fa"}.fa-divide:before{content:"\\f529"}.fa-dizzy:before{content:"\\f567"}.fa-dna:before{content:"\\f471"}.fa-dochub:before{content:"\\f394"}.fa-docker:before{content:"\\f395"}.fa-dog:before{content:"\\f6d3"}.fa-dollar-sign:before{content:"\\f155"}.fa-dolly:before{content:"\\f472"}.fa-dolly-flatbed:before{content:"\\f474"}.fa-donate:before{content:"\\f4b9"}.fa-door-closed:before{content:"\\f52a"}.fa-door-open:before{content:"\\f52b"}.fa-dot-circle:before{content:"\\f192"}.fa-dove:before{content:"\\f4ba"}.fa-download:before{content:"\\f019"}.fa-draft2digital:before{content:"\\f396"}.fa-drafting-compass:before{content:"\\f568"}.fa-dragon:before{content:"\\f6d5"}.fa-draw-polygon:before{content:"\\f5ee"}.fa-dribbble:before{content:"\\f17d"}.fa-dribbble-square:before{content:"\\f397"}.fa-dropbox:before{content:"\\f16b"}.fa-drum:before{content:"\\f569"}.fa-drum-steelpan:before{content:"\\f56a"}.fa-drumstick-bite:before{content:"\\f6d7"}.fa-drupal:before{content:"\\f1a9"}.fa-dumbbell:before{content:"\\f44b"}.fa-dumpster:before{content:"\\f793"}.fa-dumpster-fire:before{content:"\\f794"}.fa-dungeon:before{content:"\\f6d9"}.fa-dyalog:before{content:"\\f399"}.fa-earlybirds:before{content:"\\f39a"}.fa-ebay:before{content:"\\f4f4"}.fa-edge:before{content:"\\f282"}.fa-edge-legacy:before{content:"\\e078"}.fa-edit:before{content:"\\f044"}.fa-egg:before{content:"\\f7fb"}.fa-eject:before{content:"\\f052"}.fa-elementor:before{content:"\\f430"}.fa-ellipsis-h:before{content:"\\f141"}.fa-ellipsis-v:before{content:"\\f142"}.fa-ello:before{content:"\\f5f1"}.fa-ember:before{content:"\\f423"}.fa-empire:before{content:"\\f1d1"}.fa-envelope:before{content:"\\f0e0"}.fa-envelope-open:before{content:"\\f2b6"}.fa-envelope-open-text:before{content:"\\f658"}.fa-envelope-square:before{content:"\\f199"}.fa-envira:before{content:"\\f299"}.fa-equals:before{content:"\\f52c"}.fa-eraser:before{content:"\\f12d"}.fa-erlang:before{content:"\\f39d"}.fa-ethereum:before{content:"\\f42e"}.fa-ethernet:before{content:"\\f796"}.fa-etsy:before{content:"\\f2d7"}.fa-euro-sign:before{content:"\\f153"}.fa-evernote:before{content:"\\f839"}.fa-exchange-alt:before{content:"\\f362"}.fa-exclamation:before{content:"\\f12a"}.fa-exclamation-circle:before{content:"\\f06a"}.fa-exclamation-triangle:before{content:"\\f071"}.fa-expand:before{content:"\\f065"}.fa-expand-alt:before{content:"\\f424"}.fa-expand-arrows-alt:before{content:"\\f31e"}.fa-expeditedssl:before{content:"\\f23e"}.fa-external-link-alt:before{content:"\\f35d"}.fa-external-link-square-alt:before{content:"\\f360"}.fa-eye:before{content:"\\f06e"}.fa-eye-dropper:before{content:"\\f1fb"}.fa-eye-slash:before{content:"\\f070"}.fa-facebook:before{content:"\\f09a"}.fa-facebook-f:before{content:"\\f39e"}.fa-facebook-messenger:before{content:"\\f39f"}.fa-facebook-square:before{content:"\\f082"}.fa-fan:before{content:"\\f863"}.fa-fantasy-flight-games:before{content:"\\f6dc"}.fa-fast-backward:before{content:"\\f049"}.fa-fast-forward:before{content:"\\f050"}.fa-faucet:before{content:"\\e005"}.fa-fax:before{content:"\\f1ac"}.fa-feather:before{content:"\\f52d"}.fa-feather-alt:before{content:"\\f56b"}.fa-fedex:before{content:"\\f797"}.fa-fedora:before{content:"\\f798"}.fa-female:before{content:"\\f182"}.fa-fighter-jet:before{content:"\\f0fb"}.fa-figma:before{content:"\\f799"}.fa-file:before{content:"\\f15b"}.fa-file-alt:before{content:"\\f15c"}.fa-file-archive:before{content:"\\f1c6"}.fa-file-audio:before{content:"\\f1c7"}.fa-file-code:before{content:"\\f1c9"}.fa-file-contract:before{content:"\\f56c"}.fa-file-csv:before{content:"\\f6dd"}.fa-file-download:before{content:"\\f56d"}.fa-file-excel:before{content:"\\f1c3"}.fa-file-export:before{content:"\\f56e"}.fa-file-image:before{content:"\\f1c5"}.fa-file-import:before{content:"\\f56f"}.fa-file-invoice:before{content:"\\f570"}.fa-file-invoice-dollar:before{content:"\\f571"}.fa-file-medical:before{content:"\\f477"}.fa-file-medical-alt:before{content:"\\f478"}.fa-file-pdf:before{content:"\\f1c1"}.fa-file-powerpoint:before{content:"\\f1c4"}.fa-file-prescription:before{content:"\\f572"}.fa-file-signature:before{content:"\\f573"}.fa-file-upload:before{content:"\\f574"}.fa-file-video:before{content:"\\f1c8"}.fa-file-word:before{content:"\\f1c2"}.fa-fill:before{content:"\\f575"}.fa-fill-drip:before{content:"\\f576"}.fa-film:before{content:"\\f008"}.fa-filter:before{content:"\\f0b0"}.fa-fingerprint:before{content:"\\f577"}.fa-fire:before{content:"\\f06d"}.fa-fire-alt:before{content:"\\f7e4"}.fa-fire-extinguisher:before{content:"\\f134"}.fa-firefox:before{content:"\\f269"}.fa-firefox-browser:before{content:"\\e007"}.fa-first-aid:before{content:"\\f479"}.fa-first-order:before{content:"\\f2b0"}.fa-first-order-alt:before{content:"\\f50a"}.fa-firstdraft:before{content:"\\f3a1"}.fa-fish:before{content:"\\f578"}.fa-fist-raised:before{content:"\\f6de"}.fa-flag:before{content:"\\f024"}.fa-flag-checkered:before{content:"\\f11e"}.fa-flag-usa:before{content:"\\f74d"}.fa-flask:before{content:"\\f0c3"}.fa-flickr:before{content:"\\f16e"}.fa-flipboard:before{content:"\\f44d"}.fa-flushed:before{content:"\\f579"}.fa-fly:before{content:"\\f417"}.fa-folder:before{content:"\\f07b"}.fa-folder-minus:before{content:"\\f65d"}.fa-folder-open:before{content:"\\f07c"}.fa-folder-plus:before{content:"\\f65e"}.fa-font:before{content:"\\f031"}.fa-font-awesome:before{content:"\\f2b4"}.fa-font-awesome-alt:before{content:"\\f35c"}.fa-font-awesome-flag:before{content:"\\f425"}.fa-font-awesome-logo-full:before{content:"\\f4e6"}.fa-fonticons:before{content:"\\f280"}.fa-fonticons-fi:before{content:"\\f3a2"}.fa-football-ball:before{content:"\\f44e"}.fa-fort-awesome:before{content:"\\f286"}.fa-fort-awesome-alt:before{content:"\\f3a3"}.fa-forumbee:before{content:"\\f211"}.fa-forward:before{content:"\\f04e"}.fa-foursquare:before{content:"\\f180"}.fa-free-code-camp:before{content:"\\f2c5"}.fa-freebsd:before{content:"\\f3a4"}.fa-frog:before{content:"\\f52e"}.fa-frown:before{content:"\\f119"}.fa-frown-open:before{content:"\\f57a"}.fa-fulcrum:before{content:"\\f50b"}.fa-funnel-dollar:before{content:"\\f662"}.fa-futbol:before{content:"\\f1e3"}.fa-galactic-republic:before{content:"\\f50c"}.fa-galactic-senate:before{content:"\\f50d"}.fa-gamepad:before{content:"\\f11b"}.fa-gas-pump:before{content:"\\f52f"}.fa-gavel:before{content:"\\f0e3"}.fa-gem:before{content:"\\f3a5"}.fa-genderless:before{content:"\\f22d"}.fa-get-pocket:before{content:"\\f265"}.fa-gg:before{content:"\\f260"}.fa-gg-circle:before{content:"\\f261"}.fa-ghost:before{content:"\\f6e2"}.fa-gift:before{content:"\\f06b"}.fa-gifts:before{content:"\\f79c"}.fa-git:before{content:"\\f1d3"}.fa-git-alt:before{content:"\\f841"}.fa-git-square:before{content:"\\f1d2"}.fa-github:before{content:"\\f09b"}.fa-github-alt:before{content:"\\f113"}.fa-github-square:before{content:"\\f092"}.fa-gitkraken:before{content:"\\f3a6"}.fa-gitlab:before{content:"\\f296"}.fa-gitter:before{content:"\\f426"}.fa-glass-cheers:before{content:"\\f79f"}.fa-glass-martini:before{content:"\\f000"}.fa-glass-martini-alt:before{content:"\\f57b"}.fa-glass-whiskey:before{content:"\\f7a0"}.fa-glasses:before{content:"\\f530"}.fa-glide:before{content:"\\f2a5"}.fa-glide-g:before{content:"\\f2a6"}.fa-globe:before{content:"\\f0ac"}.fa-globe-africa:before{content:"\\f57c"}.fa-globe-americas:before{content:"\\f57d"}.fa-globe-asia:before{content:"\\f57e"}.fa-globe-europe:before{content:"\\f7a2"}.fa-gofore:before{content:"\\f3a7"}.fa-golf-ball:before{content:"\\f450"}.fa-goodreads:before{content:"\\f3a8"}.fa-goodreads-g:before{content:"\\f3a9"}.fa-google:before{content:"\\f1a0"}.fa-google-drive:before{content:"\\f3aa"}.fa-google-pay:before{content:"\\e079"}.fa-google-play:before{content:"\\f3ab"}.fa-google-plus:before{content:"\\f2b3"}.fa-google-plus-g:before{content:"\\f0d5"}.fa-google-plus-square:before{content:"\\f0d4"}.fa-google-wallet:before{content:"\\f1ee"}.fa-gopuram:before{content:"\\f664"}.fa-graduation-cap:before{content:"\\f19d"}.fa-gratipay:before{content:"\\f184"}.fa-grav:before{content:"\\f2d6"}.fa-greater-than:before{content:"\\f531"}.fa-greater-than-equal:before{content:"\\f532"}.fa-grimace:before{content:"\\f57f"}.fa-grin:before{content:"\\f580"}.fa-grin-alt:before{content:"\\f581"}.fa-grin-beam:before{content:"\\f582"}.fa-grin-beam-sweat:before{content:"\\f583"}.fa-grin-hearts:before{content:"\\f584"}.fa-grin-squint:before{content:"\\f585"}.fa-grin-squint-tears:before{content:"\\f586"}.fa-grin-stars:before{content:"\\f587"}.fa-grin-tears:before{content:"\\f588"}.fa-grin-tongue:before{content:"\\f589"}.fa-grin-tongue-squint:before{content:"\\f58a"}.fa-grin-tongue-wink:before{content:"\\f58b"}.fa-grin-wink:before{content:"\\f58c"}.fa-grip-horizontal:before{content:"\\f58d"}.fa-grip-lines:before{content:"\\f7a4"}.fa-grip-lines-vertical:before{content:"\\f7a5"}.fa-grip-vertical:before{content:"\\f58e"}.fa-gripfire:before{content:"\\f3ac"}.fa-grunt:before{content:"\\f3ad"}.fa-guilded:before{content:"\\e07e"}.fa-guitar:before{content:"\\f7a6"}.fa-gulp:before{content:"\\f3ae"}.fa-h-square:before{content:"\\f0fd"}.fa-hacker-news:before{content:"\\f1d4"}.fa-hacker-news-square:before{content:"\\f3af"}.fa-hackerrank:before{content:"\\f5f7"}.fa-hamburger:before{content:"\\f805"}.fa-hammer:before{content:"\\f6e3"}.fa-hamsa:before{content:"\\f665"}.fa-hand-holding:before{content:"\\f4bd"}.fa-hand-holding-heart:before{content:"\\f4be"}.fa-hand-holding-medical:before{content:"\\e05c"}.fa-hand-holding-usd:before{content:"\\f4c0"}.fa-hand-holding-water:before{content:"\\f4c1"}.fa-hand-lizard:before{content:"\\f258"}.fa-hand-middle-finger:before{content:"\\f806"}.fa-hand-paper:before{content:"\\f256"}.fa-hand-peace:before{content:"\\f25b"}.fa-hand-point-down:before{content:"\\f0a7"}.fa-hand-point-left:before{content:"\\f0a5"}.fa-hand-point-right:before{content:"\\f0a4"}.fa-hand-point-up:before{content:"\\f0a6"}.fa-hand-pointer:before{content:"\\f25a"}.fa-hand-rock:before{content:"\\f255"}.fa-hand-scissors:before{content:"\\f257"}.fa-hand-sparkles:before{content:"\\e05d"}.fa-hand-spock:before{content:"\\f259"}.fa-hands:before{content:"\\f4c2"}.fa-hands-helping:before{content:"\\f4c4"}.fa-hands-wash:before{content:"\\e05e"}.fa-handshake:before{content:"\\f2b5"}.fa-handshake-alt-slash:before{content:"\\e05f"}.fa-handshake-slash:before{content:"\\e060"}.fa-hanukiah:before{content:"\\f6e6"}.fa-hard-hat:before{content:"\\f807"}.fa-hashtag:before{content:"\\f292"}.fa-hat-cowboy:before{content:"\\f8c0"}.fa-hat-cowboy-side:before{content:"\\f8c1"}.fa-hat-wizard:before{content:"\\f6e8"}.fa-hdd:before{content:"\\f0a0"}.fa-head-side-cough:before{content:"\\e061"}.fa-head-side-cough-slash:before{content:"\\e062"}.fa-head-side-mask:before{content:"\\e063"}.fa-head-side-virus:before{content:"\\e064"}.fa-heading:before{content:"\\f1dc"}.fa-headphones:before{content:"\\f025"}.fa-headphones-alt:before{content:"\\f58f"}.fa-headset:before{content:"\\f590"}.fa-heart:before{content:"\\f004"}.fa-heart-broken:before{content:"\\f7a9"}.fa-heartbeat:before{content:"\\f21e"}.fa-helicopter:before{content:"\\f533"}.fa-highlighter:before{content:"\\f591"}.fa-hiking:before{content:"\\f6ec"}.fa-hippo:before{content:"\\f6ed"}.fa-hips:before{content:"\\f452"}.fa-hire-a-helper:before{content:"\\f3b0"}.fa-history:before{content:"\\f1da"}.fa-hive:before{content:"\\e07f"}.fa-hockey-puck:before{content:"\\f453"}.fa-holly-berry:before{content:"\\f7aa"}.fa-home:before{content:"\\f015"}.fa-hooli:before{content:"\\f427"}.fa-hornbill:before{content:"\\f592"}.fa-horse:before{content:"\\f6f0"}.fa-horse-head:before{content:"\\f7ab"}.fa-hospital:before{content:"\\f0f8"}.fa-hospital-alt:before{content:"\\f47d"}.fa-hospital-symbol:before{content:"\\f47e"}.fa-hospital-user:before{content:"\\f80d"}.fa-hot-tub:before{content:"\\f593"}.fa-hotdog:before{content:"\\f80f"}.fa-hotel:before{content:"\\f594"}.fa-hotjar:before{content:"\\f3b1"}.fa-hourglass:before{content:"\\f254"}.fa-hourglass-end:before{content:"\\f253"}.fa-hourglass-half:before{content:"\\f252"}.fa-hourglass-start:before{content:"\\f251"}.fa-house-damage:before{content:"\\f6f1"}.fa-house-user:before{content:"\\e065"}.fa-houzz:before{content:"\\f27c"}.fa-hryvnia:before{content:"\\f6f2"}.fa-html5:before{content:"\\f13b"}.fa-hubspot:before{content:"\\f3b2"}.fa-i-cursor:before{content:"\\f246"}.fa-ice-cream:before{content:"\\f810"}.fa-icicles:before{content:"\\f7ad"}.fa-icons:before{content:"\\f86d"}.fa-id-badge:before{content:"\\f2c1"}.fa-id-card:before{content:"\\f2c2"}.fa-id-card-alt:before{content:"\\f47f"}.fa-ideal:before{content:"\\e013"}.fa-igloo:before{content:"\\f7ae"}.fa-image:before{content:"\\f03e"}.fa-images:before{content:"\\f302"}.fa-imdb:before{content:"\\f2d8"}.fa-inbox:before{content:"\\f01c"}.fa-indent:before{content:"\\f03c"}.fa-industry:before{content:"\\f275"}.fa-infinity:before{content:"\\f534"}.fa-info:before{content:"\\f129"}.fa-info-circle:before{content:"\\f05a"}.fa-innosoft:before{content:"\\e080"}.fa-instagram:before{content:"\\f16d"}.fa-instagram-square:before{content:"\\e055"}.fa-instalod:before{content:"\\e081"}.fa-intercom:before{content:"\\f7af"}.fa-internet-explorer:before{content:"\\f26b"}.fa-invision:before{content:"\\f7b0"}.fa-ioxhost:before{content:"\\f208"}.fa-italic:before{content:"\\f033"}.fa-itch-io:before{content:"\\f83a"}.fa-itunes:before{content:"\\f3b4"}.fa-itunes-note:before{content:"\\f3b5"}.fa-java:before{content:"\\f4e4"}.fa-jedi:before{content:"\\f669"}.fa-jedi-order:before{content:"\\f50e"}.fa-jenkins:before{content:"\\f3b6"}.fa-jira:before{content:"\\f7b1"}.fa-joget:before{content:"\\f3b7"}.fa-joint:before{content:"\\f595"}.fa-joomla:before{content:"\\f1aa"}.fa-journal-whills:before{content:"\\f66a"}.fa-js:before{content:"\\f3b8"}.fa-js-square:before{content:"\\f3b9"}.fa-jsfiddle:before{content:"\\f1cc"}.fa-kaaba:before{content:"\\f66b"}.fa-kaggle:before{content:"\\f5fa"}.fa-key:before{content:"\\f084"}.fa-keybase:before{content:"\\f4f5"}.fa-keyboard:before{content:"\\f11c"}.fa-keycdn:before{content:"\\f3ba"}.fa-khanda:before{content:"\\f66d"}.fa-kickstarter:before{content:"\\f3bb"}.fa-kickstarter-k:before{content:"\\f3bc"}.fa-kiss:before{content:"\\f596"}.fa-kiss-beam:before{content:"\\f597"}.fa-kiss-wink-heart:before{content:"\\f598"}.fa-kiwi-bird:before{content:"\\f535"}.fa-korvue:before{content:"\\f42f"}.fa-landmark:before{content:"\\f66f"}.fa-language:before{content:"\\f1ab"}.fa-laptop:before{content:"\\f109"}.fa-laptop-code:before{content:"\\f5fc"}.fa-laptop-house:before{content:"\\e066"}.fa-laptop-medical:before{content:"\\f812"}.fa-laravel:before{content:"\\f3bd"}.fa-lastfm:before{content:"\\f202"}.fa-lastfm-square:before{content:"\\f203"}.fa-laugh:before{content:"\\f599"}.fa-laugh-beam:before{content:"\\f59a"}.fa-laugh-squint:before{content:"\\f59b"}.fa-laugh-wink:before{content:"\\f59c"}.fa-layer-group:before{content:"\\f5fd"}.fa-leaf:before{content:"\\f06c"}.fa-leanpub:before{content:"\\f212"}.fa-lemon:before{content:"\\f094"}.fa-less:before{content:"\\f41d"}.fa-less-than:before{content:"\\f536"}.fa-less-than-equal:before{content:"\\f537"}.fa-level-down-alt:before{content:"\\f3be"}.fa-level-up-alt:before{content:"\\f3bf"}.fa-life-ring:before{content:"\\f1cd"}.fa-lightbulb:before{content:"\\f0eb"}.fa-line:before{content:"\\f3c0"}.fa-link:before{content:"\\f0c1"}.fa-linkedin:before{content:"\\f08c"}.fa-linkedin-in:before{content:"\\f0e1"}.fa-linode:before{content:"\\f2b8"}.fa-linux:before{content:"\\f17c"}.fa-lira-sign:before{content:"\\f195"}.fa-list:before{content:"\\f03a"}.fa-list-alt:before{content:"\\f022"}.fa-list-ol:before{content:"\\f0cb"}.fa-list-ul:before{content:"\\f0ca"}.fa-location-arrow:before{content:"\\f124"}.fa-lock:before{content:"\\f023"}.fa-lock-open:before{content:"\\f3c1"}.fa-long-arrow-alt-down:before{content:"\\f309"}.fa-long-arrow-alt-left:before{content:"\\f30a"}.fa-long-arrow-alt-right:before{content:"\\f30b"}.fa-long-arrow-alt-up:before{content:"\\f30c"}.fa-low-vision:before{content:"\\f2a8"}.fa-luggage-cart:before{content:"\\f59d"}.fa-lungs:before{content:"\\f604"}.fa-lungs-virus:before{content:"\\e067"}.fa-lyft:before{content:"\\f3c3"}.fa-magento:before{content:"\\f3c4"}.fa-magic:before{content:"\\f0d0"}.fa-magnet:before{content:"\\f076"}.fa-mail-bulk:before{content:"\\f674"}.fa-mailchimp:before{content:"\\f59e"}.fa-male:before{content:"\\f183"}.fa-mandalorian:before{content:"\\f50f"}.fa-map:before{content:"\\f279"}.fa-map-marked:before{content:"\\f59f"}.fa-map-marked-alt:before{content:"\\f5a0"}.fa-map-marker:before{content:"\\f041"}.fa-map-marker-alt:before{content:"\\f3c5"}.fa-map-pin:before{content:"\\f276"}.fa-map-signs:before{content:"\\f277"}.fa-markdown:before{content:"\\f60f"}.fa-marker:before{content:"\\f5a1"}.fa-mars:before{content:"\\f222"}.fa-mars-double:before{content:"\\f227"}.fa-mars-stroke:before{content:"\\f229"}.fa-mars-stroke-h:before{content:"\\f22b"}.fa-mars-stroke-v:before{content:"\\f22a"}.fa-mask:before{content:"\\f6fa"}.fa-mastodon:before{content:"\\f4f6"}.fa-maxcdn:before{content:"\\f136"}.fa-mdb:before{content:"\\f8ca"}.fa-medal:before{content:"\\f5a2"}.fa-medapps:before{content:"\\f3c6"}.fa-medium:before{content:"\\f23a"}.fa-medium-m:before{content:"\\f3c7"}.fa-medkit:before{content:"\\f0fa"}.fa-medrt:before{content:"\\f3c8"}.fa-meetup:before{content:"\\f2e0"}.fa-megaport:before{content:"\\f5a3"}.fa-meh:before{content:"\\f11a"}.fa-meh-blank:before{content:"\\f5a4"}.fa-meh-rolling-eyes:before{content:"\\f5a5"}.fa-memory:before{content:"\\f538"}.fa-mendeley:before{content:"\\f7b3"}.fa-menorah:before{content:"\\f676"}.fa-mercury:before{content:"\\f223"}.fa-meteor:before{content:"\\f753"}.fa-microblog:before{content:"\\e01a"}.fa-microchip:before{content:"\\f2db"}.fa-microphone:before{content:"\\f130"}.fa-microphone-alt:before{content:"\\f3c9"}.fa-microphone-alt-slash:before{content:"\\f539"}.fa-microphone-slash:before{content:"\\f131"}.fa-microscope:before{content:"\\f610"}.fa-microsoft:before{content:"\\f3ca"}.fa-minus:before{content:"\\f068"}.fa-minus-circle:before{content:"\\f056"}.fa-minus-square:before{content:"\\f146"}.fa-mitten:before{content:"\\f7b5"}.fa-mix:before{content:"\\f3cb"}.fa-mixcloud:before{content:"\\f289"}.fa-mixer:before{content:"\\e056"}.fa-mizuni:before{content:"\\f3cc"}.fa-mobile:before{content:"\\f10b"}.fa-mobile-alt:before{content:"\\f3cd"}.fa-modx:before{content:"\\f285"}.fa-monero:before{content:"\\f3d0"}.fa-money-bill:before{content:"\\f0d6"}.fa-money-bill-alt:before{content:"\\f3d1"}.fa-money-bill-wave:before{content:"\\f53a"}.fa-money-bill-wave-alt:before{content:"\\f53b"}.fa-money-check:before{content:"\\f53c"}.fa-money-check-alt:before{content:"\\f53d"}.fa-monument:before{content:"\\f5a6"}.fa-moon:before{content:"\\f186"}.fa-mortar-pestle:before{content:"\\f5a7"}.fa-mosque:before{content:"\\f678"}.fa-motorcycle:before{content:"\\f21c"}.fa-mountain:before{content:"\\f6fc"}.fa-mouse:before{content:"\\f8cc"}.fa-mouse-pointer:before{content:"\\f245"}.fa-mug-hot:before{content:"\\f7b6"}.fa-music:before{content:"\\f001"}.fa-napster:before{content:"\\f3d2"}.fa-neos:before{content:"\\f612"}.fa-network-wired:before{content:"\\f6ff"}.fa-neuter:before{content:"\\f22c"}.fa-newspaper:before{content:"\\f1ea"}.fa-nimblr:before{content:"\\f5a8"}.fa-node:before{content:"\\f419"}.fa-node-js:before{content:"\\f3d3"}.fa-not-equal:before{content:"\\f53e"}.fa-notes-medical:before{content:"\\f481"}.fa-npm:before{content:"\\f3d4"}.fa-ns8:before{content:"\\f3d5"}.fa-nutritionix:before{content:"\\f3d6"}.fa-object-group:before{content:"\\f247"}.fa-object-ungroup:before{content:"\\f248"}.fa-octopus-deploy:before{content:"\\e082"}.fa-odnoklassniki:before{content:"\\f263"}.fa-odnoklassniki-square:before{content:"\\f264"}.fa-oil-can:before{content:"\\f613"}.fa-old-republic:before{content:"\\f510"}.fa-om:before{content:"\\f679"}.fa-opencart:before{content:"\\f23d"}.fa-openid:before{content:"\\f19b"}.fa-opera:before{content:"\\f26a"}.fa-optin-monster:before{content:"\\f23c"}.fa-orcid:before{content:"\\f8d2"}.fa-osi:before{content:"\\f41a"}.fa-otter:before{content:"\\f700"}.fa-outdent:before{content:"\\f03b"}.fa-page4:before{content:"\\f3d7"}.fa-pagelines:before{content:"\\f18c"}.fa-pager:before{content:"\\f815"}.fa-paint-brush:before{content:"\\f1fc"}.fa-paint-roller:before{content:"\\f5aa"}.fa-palette:before{content:"\\f53f"}.fa-palfed:before{content:"\\f3d8"}.fa-pallet:before{content:"\\f482"}.fa-paper-plane:before{content:"\\f1d8"}.fa-paperclip:before{content:"\\f0c6"}.fa-parachute-box:before{content:"\\f4cd"}.fa-paragraph:before{content:"\\f1dd"}.fa-parking:before{content:"\\f540"}.fa-passport:before{content:"\\f5ab"}.fa-pastafarianism:before{content:"\\f67b"}.fa-paste:before{content:"\\f0ea"}.fa-patreon:before{content:"\\f3d9"}.fa-pause:before{content:"\\f04c"}.fa-pause-circle:before{content:"\\f28b"}.fa-paw:before{content:"\\f1b0"}.fa-paypal:before{content:"\\f1ed"}.fa-peace:before{content:"\\f67c"}.fa-pen:before{content:"\\f304"}.fa-pen-alt:before{content:"\\f305"}.fa-pen-fancy:before{content:"\\f5ac"}.fa-pen-nib:before{content:"\\f5ad"}.fa-pen-square:before{content:"\\f14b"}.fa-pencil-alt:before{content:"\\f303"}.fa-pencil-ruler:before{content:"\\f5ae"}.fa-penny-arcade:before{content:"\\f704"}.fa-people-arrows:before{content:"\\e068"}.fa-people-carry:before{content:"\\f4ce"}.fa-pepper-hot:before{content:"\\f816"}.fa-perbyte:before{content:"\\e083"}.fa-percent:before{content:"\\f295"}.fa-percentage:before{content:"\\f541"}.fa-periscope:before{content:"\\f3da"}.fa-person-booth:before{content:"\\f756"}.fa-phabricator:before{content:"\\f3db"}.fa-phoenix-framework:before{content:"\\f3dc"}.fa-phoenix-squadron:before{content:"\\f511"}.fa-phone:before{content:"\\f095"}.fa-phone-alt:before{content:"\\f879"}.fa-phone-slash:before{content:"\\f3dd"}.fa-phone-square:before{content:"\\f098"}.fa-phone-square-alt:before{content:"\\f87b"}.fa-phone-volume:before{content:"\\f2a0"}.fa-photo-video:before{content:"\\f87c"}.fa-php:before{content:"\\f457"}.fa-pied-piper:before{content:"\\f2ae"}.fa-pied-piper-alt:before{content:"\\f1a8"}.fa-pied-piper-hat:before{content:"\\f4e5"}.fa-pied-piper-pp:before{content:"\\f1a7"}.fa-pied-piper-square:before{content:"\\e01e"}.fa-piggy-bank:before{content:"\\f4d3"}.fa-pills:before{content:"\\f484"}.fa-pinterest:before{content:"\\f0d2"}.fa-pinterest-p:before{content:"\\f231"}.fa-pinterest-square:before{content:"\\f0d3"}.fa-pizza-slice:before{content:"\\f818"}.fa-place-of-worship:before{content:"\\f67f"}.fa-plane:before{content:"\\f072"}.fa-plane-arrival:before{content:"\\f5af"}.fa-plane-departure:before{content:"\\f5b0"}.fa-plane-slash:before{content:"\\e069"}.fa-play:before{content:"\\f04b"}.fa-play-circle:before{content:"\\f144"}.fa-playstation:before{content:"\\f3df"}.fa-plug:before{content:"\\f1e6"}.fa-plus:before{content:"\\f067"}.fa-plus-circle:before{content:"\\f055"}.fa-plus-square:before{content:"\\f0fe"}.fa-podcast:before{content:"\\f2ce"}.fa-poll:before{content:"\\f681"}.fa-poll-h:before{content:"\\f682"}.fa-poo:before{content:"\\f2fe"}.fa-poo-storm:before{content:"\\f75a"}.fa-poop:before{content:"\\f619"}.fa-portrait:before{content:"\\f3e0"}.fa-pound-sign:before{content:"\\f154"}.fa-power-off:before{content:"\\f011"}.fa-pray:before{content:"\\f683"}.fa-praying-hands:before{content:"\\f684"}.fa-prescription:before{content:"\\f5b1"}.fa-prescription-bottle:before{content:"\\f485"}.fa-prescription-bottle-alt:before{content:"\\f486"}.fa-print:before{content:"\\f02f"}.fa-procedures:before{content:"\\f487"}.fa-product-hunt:before{content:"\\f288"}.fa-project-diagram:before{content:"\\f542"}.fa-pump-medical:before{content:"\\e06a"}.fa-pump-soap:before{content:"\\e06b"}.fa-pushed:before{content:"\\f3e1"}.fa-puzzle-piece:before{content:"\\f12e"}.fa-python:before{content:"\\f3e2"}.fa-qq:before{content:"\\f1d6"}.fa-qrcode:before{content:"\\f029"}.fa-question:before{content:"\\f128"}.fa-question-circle:before{content:"\\f059"}.fa-quidditch:before{content:"\\f458"}.fa-quinscape:before{content:"\\f459"}.fa-quora:before{content:"\\f2c4"}.fa-quote-left:before{content:"\\f10d"}.fa-quote-right:before{content:"\\f10e"}.fa-quran:before{content:"\\f687"}.fa-r-project:before{content:"\\f4f7"}.fa-radiation:before{content:"\\f7b9"}.fa-radiation-alt:before{content:"\\f7ba"}.fa-rainbow:before{content:"\\f75b"}.fa-random:before{content:"\\f074"}.fa-raspberry-pi:before{content:"\\f7bb"}.fa-ravelry:before{content:"\\f2d9"}.fa-react:before{content:"\\f41b"}.fa-reacteurope:before{content:"\\f75d"}.fa-readme:before{content:"\\f4d5"}.fa-rebel:before{content:"\\f1d0"}.fa-receipt:before{content:"\\f543"}.fa-record-vinyl:before{content:"\\f8d9"}.fa-recycle:before{content:"\\f1b8"}.fa-red-river:before{content:"\\f3e3"}.fa-reddit:before{content:"\\f1a1"}.fa-reddit-alien:before{content:"\\f281"}.fa-reddit-square:before{content:"\\f1a2"}.fa-redhat:before{content:"\\f7bc"}.fa-redo:before{content:"\\f01e"}.fa-redo-alt:before{content:"\\f2f9"}.fa-registered:before{content:"\\f25d"}.fa-remove-format:before{content:"\\f87d"}.fa-renren:before{content:"\\f18b"}.fa-reply:before{content:"\\f3e5"}.fa-reply-all:before{content:"\\f122"}.fa-replyd:before{content:"\\f3e6"}.fa-republican:before{content:"\\f75e"}.fa-researchgate:before{content:"\\f4f8"}.fa-resolving:before{content:"\\f3e7"}.fa-restroom:before{content:"\\f7bd"}.fa-retweet:before{content:"\\f079"}.fa-rev:before{content:"\\f5b2"}.fa-ribbon:before{content:"\\f4d6"}.fa-ring:before{content:"\\f70b"}.fa-road:before{content:"\\f018"}.fa-robot:before{content:"\\f544"}.fa-rocket:before{content:"\\f135"}.fa-rocketchat:before{content:"\\f3e8"}.fa-rockrms:before{content:"\\f3e9"}.fa-route:before{content:"\\f4d7"}.fa-rss:before{content:"\\f09e"}.fa-rss-square:before{content:"\\f143"}.fa-ruble-sign:before{content:"\\f158"}.fa-ruler:before{content:"\\f545"}.fa-ruler-combined:before{content:"\\f546"}.fa-ruler-horizontal:before{content:"\\f547"}.fa-ruler-vertical:before{content:"\\f548"}.fa-running:before{content:"\\f70c"}.fa-rupee-sign:before{content:"\\f156"}.fa-rust:before{content:"\\e07a"}.fa-sad-cry:before{content:"\\f5b3"}.fa-sad-tear:before{content:"\\f5b4"}.fa-safari:before{content:"\\f267"}.fa-salesforce:before{content:"\\f83b"}.fa-sass:before{content:"\\f41e"}.fa-satellite:before{content:"\\f7bf"}.fa-satellite-dish:before{content:"\\f7c0"}.fa-save:before{content:"\\f0c7"}.fa-schlix:before{content:"\\f3ea"}.fa-school:before{content:"\\f549"}.fa-screwdriver:before{content:"\\f54a"}.fa-scribd:before{content:"\\f28a"}.fa-scroll:before{content:"\\f70e"}.fa-sd-card:before{content:"\\f7c2"}.fa-search:before{content:"\\f002"}.fa-search-dollar:before{content:"\\f688"}.fa-search-location:before{content:"\\f689"}.fa-search-minus:before{content:"\\f010"}.fa-search-plus:before{content:"\\f00e"}.fa-searchengin:before{content:"\\f3eb"}.fa-seedling:before{content:"\\f4d8"}.fa-sellcast:before{content:"\\f2da"}.fa-sellsy:before{content:"\\f213"}.fa-server:before{content:"\\f233"}.fa-servicestack:before{content:"\\f3ec"}.fa-shapes:before{content:"\\f61f"}.fa-share:before{content:"\\f064"}.fa-share-alt:before{content:"\\f1e0"}.fa-share-alt-square:before{content:"\\f1e1"}.fa-share-square:before{content:"\\f14d"}.fa-shekel-sign:before{content:"\\f20b"}.fa-shield-alt:before{content:"\\f3ed"}.fa-shield-virus:before{content:"\\e06c"}.fa-ship:before{content:"\\f21a"}.fa-shipping-fast:before{content:"\\f48b"}.fa-shirtsinbulk:before{content:"\\f214"}.fa-shoe-prints:before{content:"\\f54b"}.fa-shopify:before{content:"\\e057"}.fa-shopping-bag:before{content:"\\f290"}.fa-shopping-basket:before{content:"\\f291"}.fa-shopping-cart:before{content:"\\f07a"}.fa-shopware:before{content:"\\f5b5"}.fa-shower:before{content:"\\f2cc"}.fa-shuttle-van:before{content:"\\f5b6"}.fa-sign:before{content:"\\f4d9"}.fa-sign-in-alt:before{content:"\\f2f6"}.fa-sign-language:before{content:"\\f2a7"}.fa-sign-out-alt:before{content:"\\f2f5"}.fa-signal:before{content:"\\f012"}.fa-signature:before{content:"\\f5b7"}.fa-sim-card:before{content:"\\f7c4"}.fa-simplybuilt:before{content:"\\f215"}.fa-sink:before{content:"\\e06d"}.fa-sistrix:before{content:"\\f3ee"}.fa-sitemap:before{content:"\\f0e8"}.fa-sith:before{content:"\\f512"}.fa-skating:before{content:"\\f7c5"}.fa-sketch:before{content:"\\f7c6"}.fa-skiing:before{content:"\\f7c9"}.fa-skiing-nordic:before{content:"\\f7ca"}.fa-skull:before{content:"\\f54c"}.fa-skull-crossbones:before{content:"\\f714"}.fa-skyatlas:before{content:"\\f216"}.fa-skype:before{content:"\\f17e"}.fa-slack:before{content:"\\f198"}.fa-slack-hash:before{content:"\\f3ef"}.fa-slash:before{content:"\\f715"}.fa-sleigh:before{content:"\\f7cc"}.fa-sliders-h:before{content:"\\f1de"}.fa-slideshare:before{content:"\\f1e7"}.fa-smile:before{content:"\\f118"}.fa-smile-beam:before{content:"\\f5b8"}.fa-smile-wink:before{content:"\\f4da"}.fa-smog:before{content:"\\f75f"}.fa-smoking:before{content:"\\f48d"}.fa-smoking-ban:before{content:"\\f54d"}.fa-sms:before{content:"\\f7cd"}.fa-snapchat:before{content:"\\f2ab"}.fa-snapchat-ghost:before{content:"\\f2ac"}.fa-snapchat-square:before{content:"\\f2ad"}.fa-snowboarding:before{content:"\\f7ce"}.fa-snowflake:before{content:"\\f2dc"}.fa-snowman:before{content:"\\f7d0"}.fa-snowplow:before{content:"\\f7d2"}.fa-soap:before{content:"\\e06e"}.fa-socks:before{content:"\\f696"}.fa-solar-panel:before{content:"\\f5ba"}.fa-sort:before{content:"\\f0dc"}.fa-sort-alpha-down:before{content:"\\f15d"}.fa-sort-alpha-down-alt:before{content:"\\f881"}.fa-sort-alpha-up:before{content:"\\f15e"}.fa-sort-alpha-up-alt:before{content:"\\f882"}.fa-sort-amount-down:before{content:"\\f160"}.fa-sort-amount-down-alt:before{content:"\\f884"}.fa-sort-amount-up:before{content:"\\f161"}.fa-sort-amount-up-alt:before{content:"\\f885"}.fa-sort-down:before{content:"\\f0dd"}.fa-sort-numeric-down:before{content:"\\f162"}.fa-sort-numeric-down-alt:before{content:"\\f886"}.fa-sort-numeric-up:before{content:"\\f163"}.fa-sort-numeric-up-alt:before{content:"\\f887"}.fa-sort-up:before{content:"\\f0de"}.fa-soundcloud:before{content:"\\f1be"}.fa-sourcetree:before{content:"\\f7d3"}.fa-spa:before{content:"\\f5bb"}.fa-space-shuttle:before{content:"\\f197"}.fa-speakap:before{content:"\\f3f3"}.fa-speaker-deck:before{content:"\\f83c"}.fa-spell-check:before{content:"\\f891"}.fa-spider:before{content:"\\f717"}.fa-spinner:before{content:"\\f110"}.fa-splotch:before{content:"\\f5bc"}.fa-spotify:before{content:"\\f1bc"}.fa-spray-can:before{content:"\\f5bd"}.fa-square:before{content:"\\f0c8"}.fa-square-full:before{content:"\\f45c"}.fa-square-root-alt:before{content:"\\f698"}.fa-squarespace:before{content:"\\f5be"}.fa-stack-exchange:before{content:"\\f18d"}.fa-stack-overflow:before{content:"\\f16c"}.fa-stackpath:before{content:"\\f842"}.fa-stamp:before{content:"\\f5bf"}.fa-star:before{content:"\\f005"}.fa-star-and-crescent:before{content:"\\f699"}.fa-star-half:before{content:"\\f089"}.fa-star-half-alt:before{content:"\\f5c0"}.fa-star-of-david:before{content:"\\f69a"}.fa-star-of-life:before{content:"\\f621"}.fa-staylinked:before{content:"\\f3f5"}.fa-steam:before{content:"\\f1b6"}.fa-steam-square:before{content:"\\f1b7"}.fa-steam-symbol:before{content:"\\f3f6"}.fa-step-backward:before{content:"\\f048"}.fa-step-forward:before{content:"\\f051"}.fa-stethoscope:before{content:"\\f0f1"}.fa-sticker-mule:before{content:"\\f3f7"}.fa-sticky-note:before{content:"\\f249"}.fa-stop:before{content:"\\f04d"}.fa-stop-circle:before{content:"\\f28d"}.fa-stopwatch:before{content:"\\f2f2"}.fa-stopwatch-20:before{content:"\\e06f"}.fa-store:before{content:"\\f54e"}.fa-store-alt:before{content:"\\f54f"}.fa-store-alt-slash:before{content:"\\e070"}.fa-store-slash:before{content:"\\e071"}.fa-strava:before{content:"\\f428"}.fa-stream:before{content:"\\f550"}.fa-street-view:before{content:"\\f21d"}.fa-strikethrough:before{content:"\\f0cc"}.fa-stripe:before{content:"\\f429"}.fa-stripe-s:before{content:"\\f42a"}.fa-stroopwafel:before{content:"\\f551"}.fa-studiovinari:before{content:"\\f3f8"}.fa-stumbleupon:before{content:"\\f1a4"}.fa-stumbleupon-circle:before{content:"\\f1a3"}.fa-subscript:before{content:"\\f12c"}.fa-subway:before{content:"\\f239"}.fa-suitcase:before{content:"\\f0f2"}.fa-suitcase-rolling:before{content:"\\f5c1"}.fa-sun:before{content:"\\f185"}.fa-superpowers:before{content:"\\f2dd"}.fa-superscript:before{content:"\\f12b"}.fa-supple:before{content:"\\f3f9"}.fa-surprise:before{content:"\\f5c2"}.fa-suse:before{content:"\\f7d6"}.fa-swatchbook:before{content:"\\f5c3"}.fa-swift:before{content:"\\f8e1"}.fa-swimmer:before{content:"\\f5c4"}.fa-swimming-pool:before{content:"\\f5c5"}.fa-symfony:before{content:"\\f83d"}.fa-synagogue:before{content:"\\f69b"}.fa-sync:before{content:"\\f021"}.fa-sync-alt:before{content:"\\f2f1"}.fa-syringe:before{content:"\\f48e"}.fa-table:before{content:"\\f0ce"}.fa-table-tennis:before{content:"\\f45d"}.fa-tablet:before{content:"\\f10a"}.fa-tablet-alt:before{content:"\\f3fa"}.fa-tablets:before{content:"\\f490"}.fa-tachometer-alt:before{content:"\\f3fd"}.fa-tag:before{content:"\\f02b"}.fa-tags:before{content:"\\f02c"}.fa-tape:before{content:"\\f4db"}.fa-tasks:before{content:"\\f0ae"}.fa-taxi:before{content:"\\f1ba"}.fa-teamspeak:before{content:"\\f4f9"}.fa-teeth:before{content:"\\f62e"}.fa-teeth-open:before{content:"\\f62f"}.fa-telegram:before{content:"\\f2c6"}.fa-telegram-plane:before{content:"\\f3fe"}.fa-temperature-high:before{content:"\\f769"}.fa-temperature-low:before{content:"\\f76b"}.fa-tencent-weibo:before{content:"\\f1d5"}.fa-tenge:before{content:"\\f7d7"}.fa-terminal:before{content:"\\f120"}.fa-text-height:before{content:"\\f034"}.fa-text-width:before{content:"\\f035"}.fa-th:before{content:"\\f00a"}.fa-th-large:before{content:"\\f009"}.fa-th-list:before{content:"\\f00b"}.fa-the-red-yeti:before{content:"\\f69d"}.fa-theater-masks:before{content:"\\f630"}.fa-themeco:before{content:"\\f5c6"}.fa-themeisle:before{content:"\\f2b2"}.fa-thermometer:before{content:"\\f491"}.fa-thermometer-empty:before{content:"\\f2cb"}.fa-thermometer-full:before{content:"\\f2c7"}.fa-thermometer-half:before{content:"\\f2c9"}.fa-thermometer-quarter:before{content:"\\f2ca"}.fa-thermometer-three-quarters:before{content:"\\f2c8"}.fa-think-peaks:before{content:"\\f731"}.fa-thumbs-down:before{content:"\\f165"}.fa-thumbs-up:before{content:"\\f164"}.fa-thumbtack:before{content:"\\f08d"}.fa-ticket-alt:before{content:"\\f3ff"}.fa-tiktok:before{content:"\\e07b"}.fa-times:before{content:"\\f00d"}.fa-times-circle:before{content:"\\f057"}.fa-tint:before{content:"\\f043"}.fa-tint-slash:before{content:"\\f5c7"}.fa-tired:before{content:"\\f5c8"}.fa-toggle-off:before{content:"\\f204"}.fa-toggle-on:before{content:"\\f205"}.fa-toilet:before{content:"\\f7d8"}.fa-toilet-paper:before{content:"\\f71e"}.fa-toilet-paper-slash:before{content:"\\e072"}.fa-toolbox:before{content:"\\f552"}.fa-tools:before{content:"\\f7d9"}.fa-tooth:before{content:"\\f5c9"}.fa-torah:before{content:"\\f6a0"}.fa-torii-gate:before{content:"\\f6a1"}.fa-tractor:before{content:"\\f722"}.fa-trade-federation:before{content:"\\f513"}.fa-trademark:before{content:"\\f25c"}.fa-traffic-light:before{content:"\\f637"}.fa-trailer:before{content:"\\e041"}.fa-train:before{content:"\\f238"}.fa-tram:before{content:"\\f7da"}.fa-transgender:before{content:"\\f224"}.fa-transgender-alt:before{content:"\\f225"}.fa-trash:before{content:"\\f1f8"}.fa-trash-alt:before{content:"\\f2ed"}.fa-trash-restore:before{content:"\\f829"}.fa-trash-restore-alt:before{content:"\\f82a"}.fa-tree:before{content:"\\f1bb"}.fa-trello:before{content:"\\f181"}.fa-trophy:before{content:"\\f091"}.fa-truck:before{content:"\\f0d1"}.fa-truck-loading:before{content:"\\f4de"}.fa-truck-monster:before{content:"\\f63b"}.fa-truck-moving:before{content:"\\f4df"}.fa-truck-pickup:before{content:"\\f63c"}.fa-tshirt:before{content:"\\f553"}.fa-tty:before{content:"\\f1e4"}.fa-tumblr:before{content:"\\f173"}.fa-tumblr-square:before{content:"\\f174"}.fa-tv:before{content:"\\f26c"}.fa-twitch:before{content:"\\f1e8"}.fa-twitter:before{content:"\\f099"}.fa-twitter-square:before{content:"\\f081"}.fa-typo3:before{content:"\\f42b"}.fa-uber:before{content:"\\f402"}.fa-ubuntu:before{content:"\\f7df"}.fa-uikit:before{content:"\\f403"}.fa-umbraco:before{content:"\\f8e8"}.fa-umbrella:before{content:"\\f0e9"}.fa-umbrella-beach:before{content:"\\f5ca"}.fa-uncharted:before{content:"\\e084"}.fa-underline:before{content:"\\f0cd"}.fa-undo:before{content:"\\f0e2"}.fa-undo-alt:before{content:"\\f2ea"}.fa-uniregistry:before{content:"\\f404"}.fa-unity:before{content:"\\e049"}.fa-universal-access:before{content:"\\f29a"}.fa-university:before{content:"\\f19c"}.fa-unlink:before{content:"\\f127"}.fa-unlock:before{content:"\\f09c"}.fa-unlock-alt:before{content:"\\f13e"}.fa-unsplash:before{content:"\\e07c"}.fa-untappd:before{content:"\\f405"}.fa-upload:before{content:"\\f093"}.fa-ups:before{content:"\\f7e0"}.fa-usb:before{content:"\\f287"}.fa-user:before{content:"\\f007"}.fa-user-alt:before{content:"\\f406"}.fa-user-alt-slash:before{content:"\\f4fa"}.fa-user-astronaut:before{content:"\\f4fb"}.fa-user-check:before{content:"\\f4fc"}.fa-user-circle:before{content:"\\f2bd"}.fa-user-clock:before{content:"\\f4fd"}.fa-user-cog:before{content:"\\f4fe"}.fa-user-edit:before{content:"\\f4ff"}.fa-user-friends:before{content:"\\f500"}.fa-user-graduate:before{content:"\\f501"}.fa-user-injured:before{content:"\\f728"}.fa-user-lock:before{content:"\\f502"}.fa-user-md:before{content:"\\f0f0"}.fa-user-minus:before{content:"\\f503"}.fa-user-ninja:before{content:"\\f504"}.fa-user-nurse:before{content:"\\f82f"}.fa-user-plus:before{content:"\\f234"}.fa-user-secret:before{content:"\\f21b"}.fa-user-shield:before{content:"\\f505"}.fa-user-slash:before{content:"\\f506"}.fa-user-tag:before{content:"\\f507"}.fa-user-tie:before{content:"\\f508"}.fa-user-times:before{content:"\\f235"}.fa-users:before{content:"\\f0c0"}.fa-users-cog:before{content:"\\f509"}.fa-users-slash:before{content:"\\e073"}.fa-usps:before{content:"\\f7e1"}.fa-ussunnah:before{content:"\\f407"}.fa-utensil-spoon:before{content:"\\f2e5"}.fa-utensils:before{content:"\\f2e7"}.fa-vaadin:before{content:"\\f408"}.fa-vector-square:before{content:"\\f5cb"}.fa-venus:before{content:"\\f221"}.fa-venus-double:before{content:"\\f226"}.fa-venus-mars:before{content:"\\f228"}.fa-vest:before{content:"\\e085"}.fa-vest-patches:before{content:"\\e086"}.fa-viacoin:before{content:"\\f237"}.fa-viadeo:before{content:"\\f2a9"}.fa-viadeo-square:before{content:"\\f2aa"}.fa-vial:before{content:"\\f492"}.fa-vials:before{content:"\\f493"}.fa-viber:before{content:"\\f409"}.fa-video:before{content:"\\f03d"}.fa-video-slash:before{content:"\\f4e2"}.fa-vihara:before{content:"\\f6a7"}.fa-vimeo:before{content:"\\f40a"}.fa-vimeo-square:before{content:"\\f194"}.fa-vimeo-v:before{content:"\\f27d"}.fa-vine:before{content:"\\f1ca"}.fa-virus:before{content:"\\e074"}.fa-virus-slash:before{content:"\\e075"}.fa-viruses:before{content:"\\e076"}.fa-vk:before{content:"\\f189"}.fa-vnv:before{content:"\\f40b"}.fa-voicemail:before{content:"\\f897"}.fa-volleyball-ball:before{content:"\\f45f"}.fa-volume-down:before{content:"\\f027"}.fa-volume-mute:before{content:"\\f6a9"}.fa-volume-off:before{content:"\\f026"}.fa-volume-up:before{content:"\\f028"}.fa-vote-yea:before{content:"\\f772"}.fa-vr-cardboard:before{content:"\\f729"}.fa-vuejs:before{content:"\\f41f"}.fa-walking:before{content:"\\f554"}.fa-wallet:before{content:"\\f555"}.fa-warehouse:before{content:"\\f494"}.fa-watchman-monitoring:before{content:"\\e087"}.fa-water:before{content:"\\f773"}.fa-wave-square:before{content:"\\f83e"}.fa-waze:before{content:"\\f83f"}.fa-weebly:before{content:"\\f5cc"}.fa-weibo:before{content:"\\f18a"}.fa-weight:before{content:"\\f496"}.fa-weight-hanging:before{content:"\\f5cd"}.fa-weixin:before{content:"\\f1d7"}.fa-whatsapp:before{content:"\\f232"}.fa-whatsapp-square:before{content:"\\f40c"}.fa-wheelchair:before{content:"\\f193"}.fa-whmcs:before{content:"\\f40d"}.fa-wifi:before{content:"\\f1eb"}.fa-wikipedia-w:before{content:"\\f266"}.fa-wind:before{content:"\\f72e"}.fa-window-close:before{content:"\\f410"}.fa-window-maximize:before{content:"\\f2d0"}.fa-window-minimize:before{content:"\\f2d1"}.fa-window-restore:before{content:"\\f2d2"}.fa-windows:before{content:"\\f17a"}.fa-wine-bottle:before{content:"\\f72f"}.fa-wine-glass:before{content:"\\f4e3"}.fa-wine-glass-alt:before{content:"\\f5ce"}.fa-wix:before{content:"\\f5cf"}.fa-wizards-of-the-coast:before{content:"\\f730"}.fa-wodu:before{content:"\\e088"}.fa-wolf-pack-battalion:before{content:"\\f514"}.fa-won-sign:before{content:"\\f159"}.fa-wordpress:before{content:"\\f19a"}.fa-wordpress-simple:before{content:"\\f411"}.fa-wpbeginner:before{content:"\\f297"}.fa-wpexplorer:before{content:"\\f2de"}.fa-wpforms:before{content:"\\f298"}.fa-wpressr:before{content:"\\f3e4"}.fa-wrench:before{content:"\\f0ad"}.fa-x-ray:before{content:"\\f497"}.fa-xbox:before{content:"\\f412"}.fa-xing:before{content:"\\f168"}.fa-xing-square:before{content:"\\f169"}.fa-y-combinator:before{content:"\\f23b"}.fa-yahoo:before{content:"\\f19e"}.fa-yammer:before{content:"\\f840"}.fa-yandex:before{content:"\\f413"}.fa-yandex-international:before{content:"\\f414"}.fa-yarn:before{content:"\\f7e3"}.fa-yelp:before{content:"\\f1e9"}.fa-yen-sign:before{content:"\\f157"}.fa-yin-yang:before{content:"\\f6ad"}.fa-yoast:before{content:"\\f2b1"}.fa-youtube:before{content:"\\f167"}.fa-youtube-square:before{content:"\\f431"}.fa-zhihu:before{content:"\\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}'],sourceRoot:""}]);const U=k},7143:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,'/*!\n * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa.fa-glass:before{content:"\\f000"}.fa.fa-meetup{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-star-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-o:before{content:"\\f005"}.fa.fa-close:before,.fa.fa-remove:before{content:"\\f00d"}.fa.fa-gear:before{content:"\\f013"}.fa.fa-trash-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-trash-o:before{content:"\\f2ed"}.fa.fa-file-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-o:before{content:"\\f15b"}.fa.fa-clock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-clock-o:before{content:"\\f017"}.fa.fa-arrow-circle-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-down:before{content:"\\f358"}.fa.fa-arrow-circle-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-up:before{content:"\\f35b"}.fa.fa-play-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-play-circle-o:before{content:"\\f144"}.fa.fa-repeat:before,.fa.fa-rotate-right:before{content:"\\f01e"}.fa.fa-refresh:before{content:"\\f021"}.fa.fa-list-alt{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-dedent:before{content:"\\f03b"}.fa.fa-video-camera:before{content:"\\f03d"}.fa.fa-picture-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-picture-o:before{content:"\\f03e"}.fa.fa-photo{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-photo:before{content:"\\f03e"}.fa.fa-image{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-image:before{content:"\\f03e"}.fa.fa-pencil:before{content:"\\f303"}.fa.fa-map-marker:before{content:"\\f3c5"}.fa.fa-pencil-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-pencil-square-o:before{content:"\\f044"}.fa.fa-share-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-share-square-o:before{content:"\\f14d"}.fa.fa-check-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-check-square-o:before{content:"\\f14a"}.fa.fa-arrows:before{content:"\\f0b2"}.fa.fa-times-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-circle-o:before{content:"\\f057"}.fa.fa-check-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-check-circle-o:before{content:"\\f058"}.fa.fa-mail-forward:before{content:"\\f064"}.fa.fa-expand:before{content:"\\f424"}.fa.fa-compress:before{content:"\\f422"}.fa.fa-eye,.fa.fa-eye-slash{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-warning:before{content:"\\f071"}.fa.fa-calendar:before{content:"\\f073"}.fa.fa-arrows-v:before{content:"\\f338"}.fa.fa-arrows-h:before{content:"\\f337"}.fa.fa-bar-chart{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bar-chart:before{content:"\\f080"}.fa.fa-bar-chart-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bar-chart-o:before{content:"\\f080"}.fa.fa-facebook-square,.fa.fa-twitter-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-gears:before{content:"\\f085"}.fa.fa-thumbs-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-thumbs-o-up:before{content:"\\f164"}.fa.fa-thumbs-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-thumbs-o-down:before{content:"\\f165"}.fa.fa-heart-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-heart-o:before{content:"\\f004"}.fa.fa-sign-out:before{content:"\\f2f5"}.fa.fa-linkedin-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-linkedin-square:before{content:"\\f08c"}.fa.fa-thumb-tack:before{content:"\\f08d"}.fa.fa-external-link:before{content:"\\f35d"}.fa.fa-sign-in:before{content:"\\f2f6"}.fa.fa-github-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-lemon-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-lemon-o:before{content:"\\f094"}.fa.fa-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-square-o:before{content:"\\f0c8"}.fa.fa-bookmark-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bookmark-o:before{content:"\\f02e"}.fa.fa-facebook,.fa.fa-twitter{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook:before{content:"\\f39e"}.fa.fa-facebook-f{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook-f:before{content:"\\f39e"}.fa.fa-github{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-credit-card{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-feed:before{content:"\\f09e"}.fa.fa-hdd-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hdd-o:before{content:"\\f0a0"}.fa.fa-hand-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-right:before{content:"\\f0a4"}.fa.fa-hand-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-left:before{content:"\\f0a5"}.fa.fa-hand-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-up:before{content:"\\f0a6"}.fa.fa-hand-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-down:before{content:"\\f0a7"}.fa.fa-arrows-alt:before{content:"\\f31e"}.fa.fa-group:before{content:"\\f0c0"}.fa.fa-chain:before{content:"\\f0c1"}.fa.fa-scissors:before{content:"\\f0c4"}.fa.fa-files-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-files-o:before{content:"\\f0c5"}.fa.fa-floppy-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-floppy-o:before{content:"\\f0c7"}.fa.fa-navicon:before,.fa.fa-reorder:before{content:"\\f0c9"}.fa.fa-google-plus,.fa.fa-google-plus-square,.fa.fa-pinterest,.fa.fa-pinterest-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus:before{content:"\\f0d5"}.fa.fa-money{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-money:before{content:"\\f3d1"}.fa.fa-unsorted:before{content:"\\f0dc"}.fa.fa-sort-desc:before{content:"\\f0dd"}.fa.fa-sort-asc:before{content:"\\f0de"}.fa.fa-linkedin{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-linkedin:before{content:"\\f0e1"}.fa.fa-rotate-left:before{content:"\\f0e2"}.fa.fa-legal:before{content:"\\f0e3"}.fa.fa-dashboard:before,.fa.fa-tachometer:before{content:"\\f3fd"}.fa.fa-comment-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-comment-o:before{content:"\\f075"}.fa.fa-comments-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-comments-o:before{content:"\\f086"}.fa.fa-flash:before{content:"\\f0e7"}.fa.fa-clipboard,.fa.fa-paste{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-paste:before{content:"\\f328"}.fa.fa-lightbulb-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-lightbulb-o:before{content:"\\f0eb"}.fa.fa-exchange:before{content:"\\f362"}.fa.fa-cloud-download:before{content:"\\f381"}.fa.fa-cloud-upload:before{content:"\\f382"}.fa.fa-bell-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bell-o:before{content:"\\f0f3"}.fa.fa-cutlery:before{content:"\\f2e7"}.fa.fa-file-text-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-text-o:before{content:"\\f15c"}.fa.fa-building-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-building-o:before{content:"\\f1ad"}.fa.fa-hospital-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hospital-o:before{content:"\\f0f8"}.fa.fa-tablet:before{content:"\\f3fa"}.fa.fa-mobile-phone:before,.fa.fa-mobile:before{content:"\\f3cd"}.fa.fa-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-circle-o:before{content:"\\f111"}.fa.fa-mail-reply:before{content:"\\f3e5"}.fa.fa-github-alt{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-folder-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-folder-o:before{content:"\\f07b"}.fa.fa-folder-open-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-folder-open-o:before{content:"\\f07c"}.fa.fa-smile-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-smile-o:before{content:"\\f118"}.fa.fa-frown-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-frown-o:before{content:"\\f119"}.fa.fa-meh-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-meh-o:before{content:"\\f11a"}.fa.fa-keyboard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-keyboard-o:before{content:"\\f11c"}.fa.fa-flag-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-flag-o:before{content:"\\f024"}.fa.fa-mail-reply-all:before{content:"\\f122"}.fa.fa-star-half-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-o:before{content:"\\f089"}.fa.fa-star-half-empty{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-empty:before{content:"\\f089"}.fa.fa-star-half-full{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-full:before{content:"\\f089"}.fa.fa-code-fork:before{content:"\\f126"}.fa.fa-chain-broken:before{content:"\\f127"}.fa.fa-shield:before{content:"\\f3ed"}.fa.fa-calendar-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-o:before{content:"\\f133"}.fa.fa-css3,.fa.fa-html5,.fa.fa-maxcdn{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ticket:before{content:"\\f3ff"}.fa.fa-minus-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-minus-square-o:before{content:"\\f146"}.fa.fa-level-up:before{content:"\\f3bf"}.fa.fa-level-down:before{content:"\\f3be"}.fa.fa-pencil-square:before{content:"\\f14b"}.fa.fa-external-link-square:before{content:"\\f360"}.fa.fa-compass{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-down:before{content:"\\f150"}.fa.fa-toggle-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-down:before{content:"\\f150"}.fa.fa-caret-square-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-up:before{content:"\\f151"}.fa.fa-toggle-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-up:before{content:"\\f151"}.fa.fa-caret-square-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-right:before{content:"\\f152"}.fa.fa-toggle-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-right:before{content:"\\f152"}.fa.fa-eur:before,.fa.fa-euro:before{content:"\\f153"}.fa.fa-gbp:before{content:"\\f154"}.fa.fa-dollar:before,.fa.fa-usd:before{content:"\\f155"}.fa.fa-inr:before,.fa.fa-rupee:before{content:"\\f156"}.fa.fa-cny:before,.fa.fa-jpy:before,.fa.fa-rmb:before,.fa.fa-yen:before{content:"\\f157"}.fa.fa-rouble:before,.fa.fa-rub:before,.fa.fa-ruble:before{content:"\\f158"}.fa.fa-krw:before,.fa.fa-won:before{content:"\\f159"}.fa.fa-bitcoin,.fa.fa-btc{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bitcoin:before{content:"\\f15a"}.fa.fa-file-text:before{content:"\\f15c"}.fa.fa-sort-alpha-asc:before{content:"\\f15d"}.fa.fa-sort-alpha-desc:before{content:"\\f881"}.fa.fa-sort-amount-asc:before{content:"\\f160"}.fa.fa-sort-amount-desc:before{content:"\\f884"}.fa.fa-sort-numeric-asc:before{content:"\\f162"}.fa.fa-sort-numeric-desc:before{content:"\\f886"}.fa.fa-xing,.fa.fa-xing-square,.fa.fa-youtube,.fa.fa-youtube-play,.fa.fa-youtube-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-youtube-play:before{content:"\\f167"}.fa.fa-adn,.fa.fa-bitbucket,.fa.fa-bitbucket-square,.fa.fa-dropbox,.fa.fa-flickr,.fa.fa-instagram,.fa.fa-stack-overflow{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bitbucket-square:before{content:"\\f171"}.fa.fa-tumblr,.fa.fa-tumblr-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-long-arrow-down:before{content:"\\f309"}.fa.fa-long-arrow-up:before{content:"\\f30c"}.fa.fa-long-arrow-left:before{content:"\\f30a"}.fa.fa-long-arrow-right:before{content:"\\f30b"}.fa.fa-android,.fa.fa-apple,.fa.fa-dribbble,.fa.fa-foursquare,.fa.fa-gittip,.fa.fa-gratipay,.fa.fa-linux,.fa.fa-skype,.fa.fa-trello,.fa.fa-windows{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-gittip:before{content:"\\f184"}.fa.fa-sun-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-sun-o:before{content:"\\f185"}.fa.fa-moon-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-moon-o:before{content:"\\f186"}.fa.fa-pagelines,.fa.fa-renren,.fa.fa-stack-exchange,.fa.fa-vk,.fa.fa-weibo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-arrow-circle-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-right:before{content:"\\f35a"}.fa.fa-arrow-circle-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-left:before{content:"\\f359"}.fa.fa-caret-square-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-left:before{content:"\\f191"}.fa.fa-toggle-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-left:before{content:"\\f191"}.fa.fa-dot-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-dot-circle-o:before{content:"\\f192"}.fa.fa-vimeo-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-try:before,.fa.fa-turkish-lira:before{content:"\\f195"}.fa.fa-plus-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-plus-square-o:before{content:"\\f0fe"}.fa.fa-openid,.fa.fa-slack,.fa.fa-wordpress{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bank:before,.fa.fa-institution:before{content:"\\f19c"}.fa.fa-mortar-board:before{content:"\\f19d"}.fa.fa-delicious,.fa.fa-digg,.fa.fa-drupal,.fa.fa-google,.fa.fa-joomla,.fa.fa-pied-piper-alt,.fa.fa-pied-piper-pp,.fa.fa-reddit,.fa.fa-reddit-square,.fa.fa-stumbleupon,.fa.fa-stumbleupon-circle,.fa.fa-yahoo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-spoon:before{content:"\\f2e5"}.fa.fa-behance,.fa.fa-behance-square,.fa.fa-steam,.fa.fa-steam-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-automobile:before{content:"\\f1b9"}.fa.fa-envelope-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-envelope-o:before{content:"\\f0e0"}.fa.fa-deviantart,.fa.fa-soundcloud,.fa.fa-spotify{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-file-pdf-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-pdf-o:before{content:"\\f1c1"}.fa.fa-file-word-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-word-o:before{content:"\\f1c2"}.fa.fa-file-excel-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-excel-o:before{content:"\\f1c3"}.fa.fa-file-powerpoint-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-powerpoint-o:before{content:"\\f1c4"}.fa.fa-file-image-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-image-o:before{content:"\\f1c5"}.fa.fa-file-photo-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-photo-o:before{content:"\\f1c5"}.fa.fa-file-picture-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-picture-o:before{content:"\\f1c5"}.fa.fa-file-archive-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-archive-o:before{content:"\\f1c6"}.fa.fa-file-zip-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-zip-o:before{content:"\\f1c6"}.fa.fa-file-audio-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-audio-o:before{content:"\\f1c7"}.fa.fa-file-sound-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-sound-o:before{content:"\\f1c7"}.fa.fa-file-video-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-video-o:before{content:"\\f1c8"}.fa.fa-file-movie-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-movie-o:before{content:"\\f1c8"}.fa.fa-file-code-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-code-o:before{content:"\\f1c9"}.fa.fa-codepen,.fa.fa-jsfiddle,.fa.fa-vine{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-life-bouy,.fa.fa-life-ring{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-bouy:before{content:"\\f1cd"}.fa.fa-life-buoy{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-buoy:before{content:"\\f1cd"}.fa.fa-life-saver{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-saver:before{content:"\\f1cd"}.fa.fa-support{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-support:before{content:"\\f1cd"}.fa.fa-circle-o-notch:before{content:"\\f1ce"}.fa.fa-ra,.fa.fa-rebel{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ra:before{content:"\\f1d0"}.fa.fa-resistance{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-resistance:before{content:"\\f1d0"}.fa.fa-empire,.fa.fa-ge{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ge:before{content:"\\f1d1"}.fa.fa-git,.fa.fa-git-square,.fa.fa-hacker-news,.fa.fa-y-combinator-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-y-combinator-square:before{content:"\\f1d4"}.fa.fa-yc-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-yc-square:before{content:"\\f1d4"}.fa.fa-qq,.fa.fa-tencent-weibo,.fa.fa-wechat,.fa.fa-weixin{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-wechat:before{content:"\\f1d7"}.fa.fa-send:before{content:"\\f1d8"}.fa.fa-paper-plane-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-paper-plane-o:before{content:"\\f1d8"}.fa.fa-send-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-send-o:before{content:"\\f1d8"}.fa.fa-circle-thin{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-circle-thin:before{content:"\\f111"}.fa.fa-header:before{content:"\\f1dc"}.fa.fa-sliders:before{content:"\\f1de"}.fa.fa-futbol-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-futbol-o:before{content:"\\f1e3"}.fa.fa-soccer-ball-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-soccer-ball-o:before{content:"\\f1e3"}.fa.fa-slideshare,.fa.fa-twitch,.fa.fa-yelp{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-newspaper-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-newspaper-o:before{content:"\\f1ea"}.fa.fa-cc-amex,.fa.fa-cc-discover,.fa.fa-cc-mastercard,.fa.fa-cc-paypal,.fa.fa-cc-stripe,.fa.fa-cc-visa,.fa.fa-google-wallet,.fa.fa-paypal{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bell-slash-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bell-slash-o:before{content:"\\f1f6"}.fa.fa-trash:before{content:"\\f2ed"}.fa.fa-copyright{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-eyedropper:before{content:"\\f1fb"}.fa.fa-area-chart:before{content:"\\f1fe"}.fa.fa-pie-chart:before{content:"\\f200"}.fa.fa-line-chart:before{content:"\\f201"}.fa.fa-angellist,.fa.fa-ioxhost,.fa.fa-lastfm,.fa.fa-lastfm-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-cc{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-cc:before{content:"\\f20a"}.fa.fa-ils:before,.fa.fa-shekel:before,.fa.fa-sheqel:before{content:"\\f20b"}.fa.fa-meanpath{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-meanpath:before{content:"\\f2b4"}.fa.fa-buysellads,.fa.fa-connectdevelop,.fa.fa-dashcube,.fa.fa-forumbee,.fa.fa-leanpub,.fa.fa-sellsy,.fa.fa-shirtsinbulk,.fa.fa-simplybuilt,.fa.fa-skyatlas{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-diamond{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-diamond:before{content:"\\f3a5"}.fa.fa-intersex:before{content:"\\f224"}.fa.fa-facebook-official{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook-official:before{content:"\\f09a"}.fa.fa-pinterest-p,.fa.fa-whatsapp{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-hotel:before{content:"\\f236"}.fa.fa-medium,.fa.fa-viacoin,.fa.fa-y-combinator,.fa.fa-yc{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-yc:before{content:"\\f23b"}.fa.fa-expeditedssl,.fa.fa-opencart,.fa.fa-optin-monster{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-battery-4:before,.fa.fa-battery:before{content:"\\f240"}.fa.fa-battery-3:before{content:"\\f241"}.fa.fa-battery-2:before{content:"\\f242"}.fa.fa-battery-1:before{content:"\\f243"}.fa.fa-battery-0:before{content:"\\f244"}.fa.fa-object-group,.fa.fa-object-ungroup,.fa.fa-sticky-note-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-sticky-note-o:before{content:"\\f249"}.fa.fa-cc-diners-club,.fa.fa-cc-jcb{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-clone,.fa.fa-hourglass-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hourglass-o:before{content:"\\f254"}.fa.fa-hourglass-1:before{content:"\\f251"}.fa.fa-hourglass-2:before{content:"\\f252"}.fa.fa-hourglass-3:before{content:"\\f253"}.fa.fa-hand-rock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-rock-o:before{content:"\\f255"}.fa.fa-hand-grab-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-grab-o:before{content:"\\f255"}.fa.fa-hand-paper-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-paper-o:before{content:"\\f256"}.fa.fa-hand-stop-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-stop-o:before{content:"\\f256"}.fa.fa-hand-scissors-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-scissors-o:before{content:"\\f257"}.fa.fa-hand-lizard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-lizard-o:before{content:"\\f258"}.fa.fa-hand-spock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-spock-o:before{content:"\\f259"}.fa.fa-hand-pointer-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-pointer-o:before{content:"\\f25a"}.fa.fa-hand-peace-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-peace-o:before{content:"\\f25b"}.fa.fa-registered{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-chrome,.fa.fa-creative-commons,.fa.fa-firefox,.fa.fa-get-pocket,.fa.fa-gg,.fa.fa-gg-circle,.fa.fa-internet-explorer,.fa.fa-odnoklassniki,.fa.fa-odnoklassniki-square,.fa.fa-opera,.fa.fa-safari,.fa.fa-tripadvisor,.fa.fa-wikipedia-w{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-television:before{content:"\\f26c"}.fa.fa-500px,.fa.fa-amazon,.fa.fa-contao{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-calendar-plus-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-plus-o:before{content:"\\f271"}.fa.fa-calendar-minus-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-minus-o:before{content:"\\f272"}.fa.fa-calendar-times-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-times-o:before{content:"\\f273"}.fa.fa-calendar-check-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-check-o:before{content:"\\f274"}.fa.fa-map-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-map-o:before{content:"\\f279"}.fa.fa-commenting:before{content:"\\f4ad"}.fa.fa-commenting-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-commenting-o:before{content:"\\f4ad"}.fa.fa-houzz,.fa.fa-vimeo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-vimeo:before{content:"\\f27d"}.fa.fa-black-tie,.fa.fa-edge,.fa.fa-fonticons,.fa.fa-reddit-alien{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-credit-card-alt:before{content:"\\f09d"}.fa.fa-codiepie,.fa.fa-fort-awesome,.fa.fa-mixcloud,.fa.fa-modx,.fa.fa-product-hunt,.fa.fa-scribd,.fa.fa-usb{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-pause-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-pause-circle-o:before{content:"\\f28b"}.fa.fa-stop-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-stop-circle-o:before{content:"\\f28d"}.fa.fa-bluetooth,.fa.fa-bluetooth-b,.fa.fa-envira,.fa.fa-gitlab,.fa.fa-wheelchair-alt,.fa.fa-wpbeginner,.fa.fa-wpforms{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-wheelchair-alt:before{content:"\\f368"}.fa.fa-question-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-question-circle-o:before{content:"\\f059"}.fa.fa-volume-control-phone:before{content:"\\f2a0"}.fa.fa-asl-interpreting:before{content:"\\f2a3"}.fa.fa-deafness:before,.fa.fa-hard-of-hearing:before{content:"\\f2a4"}.fa.fa-glide,.fa.fa-glide-g{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-signing:before{content:"\\f2a7"}.fa.fa-first-order,.fa.fa-google-plus-official,.fa.fa-pied-piper,.fa.fa-snapchat,.fa.fa-snapchat-ghost,.fa.fa-snapchat-square,.fa.fa-themeisle,.fa.fa-viadeo,.fa.fa-viadeo-square,.fa.fa-yoast{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus-official:before{content:"\\f2b3"}.fa.fa-google-plus-circle{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus-circle:before{content:"\\f2b3"}.fa.fa-fa,.fa.fa-font-awesome{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-fa:before{content:"\\f2b4"}.fa.fa-handshake-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-handshake-o:before{content:"\\f2b5"}.fa.fa-envelope-open-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-envelope-open-o:before{content:"\\f2b6"}.fa.fa-linode{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-address-book-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-address-book-o:before{content:"\\f2b9"}.fa.fa-vcard:before{content:"\\f2bb"}.fa.fa-address-card-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-address-card-o:before{content:"\\f2bb"}.fa.fa-vcard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-vcard-o:before{content:"\\f2bb"}.fa.fa-user-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-user-circle-o:before{content:"\\f2bd"}.fa.fa-user-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-user-o:before{content:"\\f007"}.fa.fa-id-badge{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-drivers-license:before{content:"\\f2c2"}.fa.fa-id-card-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-id-card-o:before{content:"\\f2c2"}.fa.fa-drivers-license-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-drivers-license-o:before{content:"\\f2c2"}.fa.fa-free-code-camp,.fa.fa-quora,.fa.fa-telegram{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-thermometer-4:before,.fa.fa-thermometer:before{content:"\\f2c7"}.fa.fa-thermometer-3:before{content:"\\f2c8"}.fa.fa-thermometer-2:before{content:"\\f2c9"}.fa.fa-thermometer-1:before{content:"\\f2ca"}.fa.fa-thermometer-0:before{content:"\\f2cb"}.fa.fa-bathtub:before,.fa.fa-s15:before{content:"\\f2cd"}.fa.fa-window-maximize,.fa.fa-window-restore{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-rectangle:before{content:"\\f410"}.fa.fa-window-close-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-window-close-o:before{content:"\\f410"}.fa.fa-times-rectangle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-rectangle-o:before{content:"\\f410"}.fa.fa-bandcamp,.fa.fa-eercast,.fa.fa-etsy,.fa.fa-grav,.fa.fa-imdb,.fa.fa-ravelry{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-eercast:before{content:"\\f2da"}.fa.fa-snowflake-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-snowflake-o:before{content:"\\f2dc"}.fa.fa-superpowers,.fa.fa-wpexplorer{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-cab:before{content:"\\f1ba"}',"",{version:3,sources:["webpack://./../../node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css"],names:[],mappings:"AAAA;;;EAGE;AACF,oBAAoB,eAAe,CAAC,cAAc,mCAAmC,CAAC,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,yCAAyC,eAAe,CAAC,mBAAmB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,2BAA2B,iCAAiC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,gDAAgD,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,2BAA2B,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,qBAAqB,eAAe,CAAC,yBAAyB,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,uBAAuB,eAAe,CAAC,4BAA4B,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,6CAA6C,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,uBAAuB,mCAAmC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,yBAAyB,eAAe,CAAC,4BAA4B,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,mCAAmC,CAAC,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,+BAA+B,mCAAmC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,kBAAkB,mCAAmC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,cAAc,mCAAmC,CAAC,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,mBAAmB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,4CAA4C,eAAe,CAAC,sFAAsF,mCAAmC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,uBAAuB,eAAe,CAAC,wBAAwB,eAAe,CAAC,uBAAuB,eAAe,CAAC,gBAAgB,mCAAmC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,eAAe,CAAC,iDAAiD,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,eAAe,CAAC,8BAA8B,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,eAAe,CAAC,6BAA6B,eAAe,CAAC,2BAA2B,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,qBAAqB,eAAe,CAAC,gDAAgD,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,mCAAmC,CAAC,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,6BAA6B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,wBAAwB,eAAe,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,uCAAuC,mCAAmC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,eAAe,CAAC,4BAA4B,eAAe,CAAC,mCAAmC,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,iCAAiC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,4BAA4B,iCAAiC,CAAC,eAAe,CAAC,mCAAmC,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,qCAAqC,eAAe,CAAC,kBAAkB,eAAe,CAAC,uCAAuC,eAAe,CAAC,sCAAsC,eAAe,CAAC,wEAAwE,eAAe,CAAC,2DAA2D,eAAe,CAAC,oCAAoC,eAAe,CAAC,0BAA0B,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,wBAAwB,eAAe,CAAC,6BAA6B,eAAe,CAAC,8BAA8B,eAAe,CAAC,8BAA8B,eAAe,CAAC,+BAA+B,eAAe,CAAC,+BAA+B,eAAe,CAAC,gCAAgC,eAAe,CAAC,wFAAwF,mCAAmC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,wHAAwH,mCAAmC,CAAC,eAAe,CAAC,+BAA+B,eAAe,CAAC,mCAAmC,mCAAmC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,4BAA4B,eAAe,CAAC,8BAA8B,eAAe,CAAC,+BAA+B,eAAe,CAAC,mJAAmJ,mCAAmC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,4EAA4E,mCAAmC,CAAC,eAAe,CAAC,4BAA4B,iCAAiC,CAAC,eAAe,CAAC,mCAAmC,eAAe,CAAC,2BAA2B,iCAAiC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,2BAA2B,iCAAiC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,mCAAmC,CAAC,eAAe,CAAC,6CAA6C,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,4CAA4C,mCAAmC,CAAC,eAAe,CAAC,6CAA6C,eAAe,CAAC,2BAA2B,eAAe,CAAC,+MAA+M,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,sEAAsE,mCAAmC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,mDAAmD,mCAAmC,CAAC,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,2CAA2C,mCAAmC,CAAC,eAAe,CAAC,kCAAkC,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,6BAA6B,eAAe,CAAC,uBAAuB,mCAAmC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,kBAAkB,mCAAmC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,mCAAmC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,2EAA2E,mCAAmC,CAAC,eAAe,CAAC,kCAAkC,eAAe,CAAC,iBAAiB,mCAAmC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,2DAA2D,mCAAmC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,qBAAqB,eAAe,CAAC,sBAAsB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,4CAA4C,mCAAmC,CAAC,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,2IAA2I,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,oBAAoB,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,yBAAyB,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,eAAe,CAAC,mEAAmE,mCAAmC,CAAC,eAAe,CAAC,UAAU,iCAAiC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,4DAA4D,eAAe,CAAC,gBAAgB,mCAAmC,CAAC,eAAe,CAAC,uBAAuB,eAAe,CAAC,4JAA4J,mCAAmC,CAAC,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,uBAAuB,eAAe,CAAC,yBAAyB,mCAAmC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,mCAAmC,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,2DAA2D,mCAAmC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,yDAAyD,mCAAmC,CAAC,eAAe,CAAC,8CAA8C,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,wBAAwB,eAAe,CAAC,+DAA+D,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,oCAAoC,mCAAmC,CAAC,eAAe,CAAC,gCAAgC,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,kBAAkB,iCAAiC,CAAC,eAAe,CAAC,6OAA6O,mCAAmC,CAAC,eAAe,CAAC,yBAAyB,eAAe,CAAC,yCAAyC,mCAAmC,CAAC,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,wBAAwB,iCAAiC,CAAC,eAAe,CAAC,+BAA+B,eAAe,CAAC,wBAAwB,iCAAiC,CAAC,eAAe,CAAC,+BAA+B,eAAe,CAAC,wBAAwB,iCAAiC,CAAC,eAAe,CAAC,+BAA+B,eAAe,CAAC,aAAa,iCAAiC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,yBAAyB,eAAe,CAAC,oBAAoB,iCAAiC,CAAC,eAAe,CAAC,2BAA2B,eAAe,CAAC,0BAA0B,mCAAmC,CAAC,eAAe,CAAC,oBAAoB,eAAe,CAAC,kEAAkE,mCAAmC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,6GAA6G,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,uHAAuH,mCAAmC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,mCAAmC,eAAe,CAAC,+BAA+B,eAAe,CAAC,qDAAqD,eAAe,CAAC,4BAA4B,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,+LAA+L,mCAAmC,CAAC,eAAe,CAAC,mCAAmC,eAAe,CAAC,0BAA0B,mCAAmC,CAAC,eAAe,CAAC,iCAAiC,eAAe,CAAC,8BAA8B,mCAAmC,CAAC,eAAe,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,uBAAuB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,cAAc,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,oBAAoB,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,eAAe,iCAAiC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,qBAAqB,iCAAiC,CAAC,eAAe,CAAC,4BAA4B,eAAe,CAAC,cAAc,iCAAiC,CAAC,eAAe,CAAC,qBAAqB,eAAe,CAAC,gBAAgB,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,iBAAiB,iCAAiC,CAAC,eAAe,CAAC,wBAAwB,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,mDAAmD,mCAAmC,CAAC,eAAe,CAAC,sDAAsD,eAAe,CAAC,4BAA4B,eAAe,CAAC,4BAA4B,eAAe,CAAC,4BAA4B,eAAe,CAAC,4BAA4B,eAAe,CAAC,wCAAwC,eAAe,CAAC,6CAA6C,iCAAiC,CAAC,eAAe,CAAC,8BAA8B,eAAe,CAAC,sBAAsB,iCAAiC,CAAC,eAAe,CAAC,6BAA6B,eAAe,CAAC,yBAAyB,iCAAiC,CAAC,eAAe,CAAC,gCAAgC,eAAe,CAAC,kFAAkF,mCAAmC,CAAC,eAAe,CAAC,sBAAsB,eAAe,CAAC,mBAAmB,iCAAiC,CAAC,eAAe,CAAC,0BAA0B,eAAe,CAAC,qCAAqC,mCAAmC,CAAC,eAAe,CAAC,kBAAkB,eAAe",sourcesContent:['/*!\n * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa.fa-glass:before{content:"\\f000"}.fa.fa-meetup{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-star-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-o:before{content:"\\f005"}.fa.fa-close:before,.fa.fa-remove:before{content:"\\f00d"}.fa.fa-gear:before{content:"\\f013"}.fa.fa-trash-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-trash-o:before{content:"\\f2ed"}.fa.fa-file-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-o:before{content:"\\f15b"}.fa.fa-clock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-clock-o:before{content:"\\f017"}.fa.fa-arrow-circle-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-down:before{content:"\\f358"}.fa.fa-arrow-circle-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-up:before{content:"\\f35b"}.fa.fa-play-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-play-circle-o:before{content:"\\f144"}.fa.fa-repeat:before,.fa.fa-rotate-right:before{content:"\\f01e"}.fa.fa-refresh:before{content:"\\f021"}.fa.fa-list-alt{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-dedent:before{content:"\\f03b"}.fa.fa-video-camera:before{content:"\\f03d"}.fa.fa-picture-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-picture-o:before{content:"\\f03e"}.fa.fa-photo{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-photo:before{content:"\\f03e"}.fa.fa-image{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-image:before{content:"\\f03e"}.fa.fa-pencil:before{content:"\\f303"}.fa.fa-map-marker:before{content:"\\f3c5"}.fa.fa-pencil-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-pencil-square-o:before{content:"\\f044"}.fa.fa-share-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-share-square-o:before{content:"\\f14d"}.fa.fa-check-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-check-square-o:before{content:"\\f14a"}.fa.fa-arrows:before{content:"\\f0b2"}.fa.fa-times-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-circle-o:before{content:"\\f057"}.fa.fa-check-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-check-circle-o:before{content:"\\f058"}.fa.fa-mail-forward:before{content:"\\f064"}.fa.fa-expand:before{content:"\\f424"}.fa.fa-compress:before{content:"\\f422"}.fa.fa-eye,.fa.fa-eye-slash{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-warning:before{content:"\\f071"}.fa.fa-calendar:before{content:"\\f073"}.fa.fa-arrows-v:before{content:"\\f338"}.fa.fa-arrows-h:before{content:"\\f337"}.fa.fa-bar-chart{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bar-chart:before{content:"\\f080"}.fa.fa-bar-chart-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bar-chart-o:before{content:"\\f080"}.fa.fa-facebook-square,.fa.fa-twitter-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-gears:before{content:"\\f085"}.fa.fa-thumbs-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-thumbs-o-up:before{content:"\\f164"}.fa.fa-thumbs-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-thumbs-o-down:before{content:"\\f165"}.fa.fa-heart-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-heart-o:before{content:"\\f004"}.fa.fa-sign-out:before{content:"\\f2f5"}.fa.fa-linkedin-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-linkedin-square:before{content:"\\f08c"}.fa.fa-thumb-tack:before{content:"\\f08d"}.fa.fa-external-link:before{content:"\\f35d"}.fa.fa-sign-in:before{content:"\\f2f6"}.fa.fa-github-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-lemon-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-lemon-o:before{content:"\\f094"}.fa.fa-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-square-o:before{content:"\\f0c8"}.fa.fa-bookmark-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bookmark-o:before{content:"\\f02e"}.fa.fa-facebook,.fa.fa-twitter{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook:before{content:"\\f39e"}.fa.fa-facebook-f{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook-f:before{content:"\\f39e"}.fa.fa-github{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-credit-card{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-feed:before{content:"\\f09e"}.fa.fa-hdd-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hdd-o:before{content:"\\f0a0"}.fa.fa-hand-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-right:before{content:"\\f0a4"}.fa.fa-hand-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-left:before{content:"\\f0a5"}.fa.fa-hand-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-up:before{content:"\\f0a6"}.fa.fa-hand-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-o-down:before{content:"\\f0a7"}.fa.fa-arrows-alt:before{content:"\\f31e"}.fa.fa-group:before{content:"\\f0c0"}.fa.fa-chain:before{content:"\\f0c1"}.fa.fa-scissors:before{content:"\\f0c4"}.fa.fa-files-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-files-o:before{content:"\\f0c5"}.fa.fa-floppy-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-floppy-o:before{content:"\\f0c7"}.fa.fa-navicon:before,.fa.fa-reorder:before{content:"\\f0c9"}.fa.fa-google-plus,.fa.fa-google-plus-square,.fa.fa-pinterest,.fa.fa-pinterest-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus:before{content:"\\f0d5"}.fa.fa-money{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-money:before{content:"\\f3d1"}.fa.fa-unsorted:before{content:"\\f0dc"}.fa.fa-sort-desc:before{content:"\\f0dd"}.fa.fa-sort-asc:before{content:"\\f0de"}.fa.fa-linkedin{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-linkedin:before{content:"\\f0e1"}.fa.fa-rotate-left:before{content:"\\f0e2"}.fa.fa-legal:before{content:"\\f0e3"}.fa.fa-dashboard:before,.fa.fa-tachometer:before{content:"\\f3fd"}.fa.fa-comment-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-comment-o:before{content:"\\f075"}.fa.fa-comments-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-comments-o:before{content:"\\f086"}.fa.fa-flash:before{content:"\\f0e7"}.fa.fa-clipboard,.fa.fa-paste{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-paste:before{content:"\\f328"}.fa.fa-lightbulb-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-lightbulb-o:before{content:"\\f0eb"}.fa.fa-exchange:before{content:"\\f362"}.fa.fa-cloud-download:before{content:"\\f381"}.fa.fa-cloud-upload:before{content:"\\f382"}.fa.fa-bell-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bell-o:before{content:"\\f0f3"}.fa.fa-cutlery:before{content:"\\f2e7"}.fa.fa-file-text-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-text-o:before{content:"\\f15c"}.fa.fa-building-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-building-o:before{content:"\\f1ad"}.fa.fa-hospital-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hospital-o:before{content:"\\f0f8"}.fa.fa-tablet:before{content:"\\f3fa"}.fa.fa-mobile-phone:before,.fa.fa-mobile:before{content:"\\f3cd"}.fa.fa-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-circle-o:before{content:"\\f111"}.fa.fa-mail-reply:before{content:"\\f3e5"}.fa.fa-github-alt{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-folder-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-folder-o:before{content:"\\f07b"}.fa.fa-folder-open-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-folder-open-o:before{content:"\\f07c"}.fa.fa-smile-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-smile-o:before{content:"\\f118"}.fa.fa-frown-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-frown-o:before{content:"\\f119"}.fa.fa-meh-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-meh-o:before{content:"\\f11a"}.fa.fa-keyboard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-keyboard-o:before{content:"\\f11c"}.fa.fa-flag-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-flag-o:before{content:"\\f024"}.fa.fa-mail-reply-all:before{content:"\\f122"}.fa.fa-star-half-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-o:before{content:"\\f089"}.fa.fa-star-half-empty{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-empty:before{content:"\\f089"}.fa.fa-star-half-full{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-star-half-full:before{content:"\\f089"}.fa.fa-code-fork:before{content:"\\f126"}.fa.fa-chain-broken:before{content:"\\f127"}.fa.fa-shield:before{content:"\\f3ed"}.fa.fa-calendar-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-o:before{content:"\\f133"}.fa.fa-css3,.fa.fa-html5,.fa.fa-maxcdn{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ticket:before{content:"\\f3ff"}.fa.fa-minus-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-minus-square-o:before{content:"\\f146"}.fa.fa-level-up:before{content:"\\f3bf"}.fa.fa-level-down:before{content:"\\f3be"}.fa.fa-pencil-square:before{content:"\\f14b"}.fa.fa-external-link-square:before{content:"\\f360"}.fa.fa-compass{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-down:before{content:"\\f150"}.fa.fa-toggle-down{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-down:before{content:"\\f150"}.fa.fa-caret-square-o-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-up:before{content:"\\f151"}.fa.fa-toggle-up{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-up:before{content:"\\f151"}.fa.fa-caret-square-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-right:before{content:"\\f152"}.fa.fa-toggle-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-right:before{content:"\\f152"}.fa.fa-eur:before,.fa.fa-euro:before{content:"\\f153"}.fa.fa-gbp:before{content:"\\f154"}.fa.fa-dollar:before,.fa.fa-usd:before{content:"\\f155"}.fa.fa-inr:before,.fa.fa-rupee:before{content:"\\f156"}.fa.fa-cny:before,.fa.fa-jpy:before,.fa.fa-rmb:before,.fa.fa-yen:before{content:"\\f157"}.fa.fa-rouble:before,.fa.fa-rub:before,.fa.fa-ruble:before{content:"\\f158"}.fa.fa-krw:before,.fa.fa-won:before{content:"\\f159"}.fa.fa-bitcoin,.fa.fa-btc{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bitcoin:before{content:"\\f15a"}.fa.fa-file-text:before{content:"\\f15c"}.fa.fa-sort-alpha-asc:before{content:"\\f15d"}.fa.fa-sort-alpha-desc:before{content:"\\f881"}.fa.fa-sort-amount-asc:before{content:"\\f160"}.fa.fa-sort-amount-desc:before{content:"\\f884"}.fa.fa-sort-numeric-asc:before{content:"\\f162"}.fa.fa-sort-numeric-desc:before{content:"\\f886"}.fa.fa-xing,.fa.fa-xing-square,.fa.fa-youtube,.fa.fa-youtube-play,.fa.fa-youtube-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-youtube-play:before{content:"\\f167"}.fa.fa-adn,.fa.fa-bitbucket,.fa.fa-bitbucket-square,.fa.fa-dropbox,.fa.fa-flickr,.fa.fa-instagram,.fa.fa-stack-overflow{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bitbucket-square:before{content:"\\f171"}.fa.fa-tumblr,.fa.fa-tumblr-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-long-arrow-down:before{content:"\\f309"}.fa.fa-long-arrow-up:before{content:"\\f30c"}.fa.fa-long-arrow-left:before{content:"\\f30a"}.fa.fa-long-arrow-right:before{content:"\\f30b"}.fa.fa-android,.fa.fa-apple,.fa.fa-dribbble,.fa.fa-foursquare,.fa.fa-gittip,.fa.fa-gratipay,.fa.fa-linux,.fa.fa-skype,.fa.fa-trello,.fa.fa-windows{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-gittip:before{content:"\\f184"}.fa.fa-sun-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-sun-o:before{content:"\\f185"}.fa.fa-moon-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-moon-o:before{content:"\\f186"}.fa.fa-pagelines,.fa.fa-renren,.fa.fa-stack-exchange,.fa.fa-vk,.fa.fa-weibo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-arrow-circle-o-right{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-right:before{content:"\\f35a"}.fa.fa-arrow-circle-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-arrow-circle-o-left:before{content:"\\f359"}.fa.fa-caret-square-o-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-caret-square-o-left:before{content:"\\f191"}.fa.fa-toggle-left{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-toggle-left:before{content:"\\f191"}.fa.fa-dot-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-dot-circle-o:before{content:"\\f192"}.fa.fa-vimeo-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-try:before,.fa.fa-turkish-lira:before{content:"\\f195"}.fa.fa-plus-square-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-plus-square-o:before{content:"\\f0fe"}.fa.fa-openid,.fa.fa-slack,.fa.fa-wordpress{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bank:before,.fa.fa-institution:before{content:"\\f19c"}.fa.fa-mortar-board:before{content:"\\f19d"}.fa.fa-delicious,.fa.fa-digg,.fa.fa-drupal,.fa.fa-google,.fa.fa-joomla,.fa.fa-pied-piper-alt,.fa.fa-pied-piper-pp,.fa.fa-reddit,.fa.fa-reddit-square,.fa.fa-stumbleupon,.fa.fa-stumbleupon-circle,.fa.fa-yahoo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-spoon:before{content:"\\f2e5"}.fa.fa-behance,.fa.fa-behance-square,.fa.fa-steam,.fa.fa-steam-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-automobile:before{content:"\\f1b9"}.fa.fa-envelope-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-envelope-o:before{content:"\\f0e0"}.fa.fa-deviantart,.fa.fa-soundcloud,.fa.fa-spotify{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-file-pdf-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-pdf-o:before{content:"\\f1c1"}.fa.fa-file-word-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-word-o:before{content:"\\f1c2"}.fa.fa-file-excel-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-excel-o:before{content:"\\f1c3"}.fa.fa-file-powerpoint-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-powerpoint-o:before{content:"\\f1c4"}.fa.fa-file-image-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-image-o:before{content:"\\f1c5"}.fa.fa-file-photo-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-photo-o:before{content:"\\f1c5"}.fa.fa-file-picture-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-picture-o:before{content:"\\f1c5"}.fa.fa-file-archive-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-archive-o:before{content:"\\f1c6"}.fa.fa-file-zip-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-zip-o:before{content:"\\f1c6"}.fa.fa-file-audio-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-audio-o:before{content:"\\f1c7"}.fa.fa-file-sound-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-sound-o:before{content:"\\f1c7"}.fa.fa-file-video-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-video-o:before{content:"\\f1c8"}.fa.fa-file-movie-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-movie-o:before{content:"\\f1c8"}.fa.fa-file-code-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-file-code-o:before{content:"\\f1c9"}.fa.fa-codepen,.fa.fa-jsfiddle,.fa.fa-vine{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-life-bouy,.fa.fa-life-ring{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-bouy:before{content:"\\f1cd"}.fa.fa-life-buoy{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-buoy:before{content:"\\f1cd"}.fa.fa-life-saver{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-life-saver:before{content:"\\f1cd"}.fa.fa-support{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-support:before{content:"\\f1cd"}.fa.fa-circle-o-notch:before{content:"\\f1ce"}.fa.fa-ra,.fa.fa-rebel{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ra:before{content:"\\f1d0"}.fa.fa-resistance{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-resistance:before{content:"\\f1d0"}.fa.fa-empire,.fa.fa-ge{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-ge:before{content:"\\f1d1"}.fa.fa-git,.fa.fa-git-square,.fa.fa-hacker-news,.fa.fa-y-combinator-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-y-combinator-square:before{content:"\\f1d4"}.fa.fa-yc-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-yc-square:before{content:"\\f1d4"}.fa.fa-qq,.fa.fa-tencent-weibo,.fa.fa-wechat,.fa.fa-weixin{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-wechat:before{content:"\\f1d7"}.fa.fa-send:before{content:"\\f1d8"}.fa.fa-paper-plane-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-paper-plane-o:before{content:"\\f1d8"}.fa.fa-send-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-send-o:before{content:"\\f1d8"}.fa.fa-circle-thin{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-circle-thin:before{content:"\\f111"}.fa.fa-header:before{content:"\\f1dc"}.fa.fa-sliders:before{content:"\\f1de"}.fa.fa-futbol-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-futbol-o:before{content:"\\f1e3"}.fa.fa-soccer-ball-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-soccer-ball-o:before{content:"\\f1e3"}.fa.fa-slideshare,.fa.fa-twitch,.fa.fa-yelp{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-newspaper-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-newspaper-o:before{content:"\\f1ea"}.fa.fa-cc-amex,.fa.fa-cc-discover,.fa.fa-cc-mastercard,.fa.fa-cc-paypal,.fa.fa-cc-stripe,.fa.fa-cc-visa,.fa.fa-google-wallet,.fa.fa-paypal{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-bell-slash-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-bell-slash-o:before{content:"\\f1f6"}.fa.fa-trash:before{content:"\\f2ed"}.fa.fa-copyright{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-eyedropper:before{content:"\\f1fb"}.fa.fa-area-chart:before{content:"\\f1fe"}.fa.fa-pie-chart:before{content:"\\f200"}.fa.fa-line-chart:before{content:"\\f201"}.fa.fa-angellist,.fa.fa-ioxhost,.fa.fa-lastfm,.fa.fa-lastfm-square{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-cc{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-cc:before{content:"\\f20a"}.fa.fa-ils:before,.fa.fa-shekel:before,.fa.fa-sheqel:before{content:"\\f20b"}.fa.fa-meanpath{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-meanpath:before{content:"\\f2b4"}.fa.fa-buysellads,.fa.fa-connectdevelop,.fa.fa-dashcube,.fa.fa-forumbee,.fa.fa-leanpub,.fa.fa-sellsy,.fa.fa-shirtsinbulk,.fa.fa-simplybuilt,.fa.fa-skyatlas{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-diamond{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-diamond:before{content:"\\f3a5"}.fa.fa-intersex:before{content:"\\f224"}.fa.fa-facebook-official{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-facebook-official:before{content:"\\f09a"}.fa.fa-pinterest-p,.fa.fa-whatsapp{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-hotel:before{content:"\\f236"}.fa.fa-medium,.fa.fa-viacoin,.fa.fa-y-combinator,.fa.fa-yc{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-yc:before{content:"\\f23b"}.fa.fa-expeditedssl,.fa.fa-opencart,.fa.fa-optin-monster{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-battery-4:before,.fa.fa-battery:before{content:"\\f240"}.fa.fa-battery-3:before{content:"\\f241"}.fa.fa-battery-2:before{content:"\\f242"}.fa.fa-battery-1:before{content:"\\f243"}.fa.fa-battery-0:before{content:"\\f244"}.fa.fa-object-group,.fa.fa-object-ungroup,.fa.fa-sticky-note-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-sticky-note-o:before{content:"\\f249"}.fa.fa-cc-diners-club,.fa.fa-cc-jcb{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-clone,.fa.fa-hourglass-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hourglass-o:before{content:"\\f254"}.fa.fa-hourglass-1:before{content:"\\f251"}.fa.fa-hourglass-2:before{content:"\\f252"}.fa.fa-hourglass-3:before{content:"\\f253"}.fa.fa-hand-rock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-rock-o:before{content:"\\f255"}.fa.fa-hand-grab-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-grab-o:before{content:"\\f255"}.fa.fa-hand-paper-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-paper-o:before{content:"\\f256"}.fa.fa-hand-stop-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-stop-o:before{content:"\\f256"}.fa.fa-hand-scissors-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-scissors-o:before{content:"\\f257"}.fa.fa-hand-lizard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-lizard-o:before{content:"\\f258"}.fa.fa-hand-spock-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-spock-o:before{content:"\\f259"}.fa.fa-hand-pointer-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-pointer-o:before{content:"\\f25a"}.fa.fa-hand-peace-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-hand-peace-o:before{content:"\\f25b"}.fa.fa-registered{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-chrome,.fa.fa-creative-commons,.fa.fa-firefox,.fa.fa-get-pocket,.fa.fa-gg,.fa.fa-gg-circle,.fa.fa-internet-explorer,.fa.fa-odnoklassniki,.fa.fa-odnoklassniki-square,.fa.fa-opera,.fa.fa-safari,.fa.fa-tripadvisor,.fa.fa-wikipedia-w{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-television:before{content:"\\f26c"}.fa.fa-500px,.fa.fa-amazon,.fa.fa-contao{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-calendar-plus-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-plus-o:before{content:"\\f271"}.fa.fa-calendar-minus-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-minus-o:before{content:"\\f272"}.fa.fa-calendar-times-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-times-o:before{content:"\\f273"}.fa.fa-calendar-check-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-calendar-check-o:before{content:"\\f274"}.fa.fa-map-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-map-o:before{content:"\\f279"}.fa.fa-commenting:before{content:"\\f4ad"}.fa.fa-commenting-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-commenting-o:before{content:"\\f4ad"}.fa.fa-houzz,.fa.fa-vimeo{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-vimeo:before{content:"\\f27d"}.fa.fa-black-tie,.fa.fa-edge,.fa.fa-fonticons,.fa.fa-reddit-alien{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-credit-card-alt:before{content:"\\f09d"}.fa.fa-codiepie,.fa.fa-fort-awesome,.fa.fa-mixcloud,.fa.fa-modx,.fa.fa-product-hunt,.fa.fa-scribd,.fa.fa-usb{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-pause-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-pause-circle-o:before{content:"\\f28b"}.fa.fa-stop-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-stop-circle-o:before{content:"\\f28d"}.fa.fa-bluetooth,.fa.fa-bluetooth-b,.fa.fa-envira,.fa.fa-gitlab,.fa.fa-wheelchair-alt,.fa.fa-wpbeginner,.fa.fa-wpforms{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-wheelchair-alt:before{content:"\\f368"}.fa.fa-question-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-question-circle-o:before{content:"\\f059"}.fa.fa-volume-control-phone:before{content:"\\f2a0"}.fa.fa-asl-interpreting:before{content:"\\f2a3"}.fa.fa-deafness:before,.fa.fa-hard-of-hearing:before{content:"\\f2a4"}.fa.fa-glide,.fa.fa-glide-g{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-signing:before{content:"\\f2a7"}.fa.fa-first-order,.fa.fa-google-plus-official,.fa.fa-pied-piper,.fa.fa-snapchat,.fa.fa-snapchat-ghost,.fa.fa-snapchat-square,.fa.fa-themeisle,.fa.fa-viadeo,.fa.fa-viadeo-square,.fa.fa-yoast{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus-official:before{content:"\\f2b3"}.fa.fa-google-plus-circle{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-google-plus-circle:before{content:"\\f2b3"}.fa.fa-fa,.fa.fa-font-awesome{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-fa:before{content:"\\f2b4"}.fa.fa-handshake-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-handshake-o:before{content:"\\f2b5"}.fa.fa-envelope-open-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-envelope-open-o:before{content:"\\f2b6"}.fa.fa-linode{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-address-book-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-address-book-o:before{content:"\\f2b9"}.fa.fa-vcard:before{content:"\\f2bb"}.fa.fa-address-card-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-address-card-o:before{content:"\\f2bb"}.fa.fa-vcard-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-vcard-o:before{content:"\\f2bb"}.fa.fa-user-circle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-user-circle-o:before{content:"\\f2bd"}.fa.fa-user-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-user-o:before{content:"\\f007"}.fa.fa-id-badge{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-drivers-license:before{content:"\\f2c2"}.fa.fa-id-card-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-id-card-o:before{content:"\\f2c2"}.fa.fa-drivers-license-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-drivers-license-o:before{content:"\\f2c2"}.fa.fa-free-code-camp,.fa.fa-quora,.fa.fa-telegram{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-thermometer-4:before,.fa.fa-thermometer:before{content:"\\f2c7"}.fa.fa-thermometer-3:before{content:"\\f2c8"}.fa.fa-thermometer-2:before{content:"\\f2c9"}.fa.fa-thermometer-1:before{content:"\\f2ca"}.fa.fa-thermometer-0:before{content:"\\f2cb"}.fa.fa-bathtub:before,.fa.fa-s15:before{content:"\\f2cd"}.fa.fa-window-maximize,.fa.fa-window-restore{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-rectangle:before{content:"\\f410"}.fa.fa-window-close-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-window-close-o:before{content:"\\f410"}.fa.fa-times-rectangle-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-times-rectangle-o:before{content:"\\f410"}.fa.fa-bandcamp,.fa.fa-eercast,.fa.fa-etsy,.fa.fa-grav,.fa.fa-imdb,.fa.fa-ravelry{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-eercast:before{content:"\\f2da"}.fa.fa-snowflake-o{font-family:"Font Awesome 5 Free";font-weight:400}.fa.fa-snowflake-o:before{content:"\\f2dc"}.fa.fa-superpowers,.fa.fa-wpexplorer{font-family:"Font Awesome 5 Brands";font-weight:400}.fa.fa-cab:before{content:"\\f1ba"}'],sourceRoot:""}]);const r=A},7696:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n.lm-AccordionPanel[data-orientation='horizontal'] > .lm-AccordionPanel-title {\n /* Title is rotated for horizontal accordion panel using CSS */\n display: block;\n transform-origin: top left;\n transform: rotate(-90deg) translate(-100%);\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/accordionpanel.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;EACE,8DAA8D;EAC9D,cAAc;EACd,0BAA0B;EAC1B,0CAA0C;AAC5C",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n.lm-AccordionPanel[data-orientation='horizontal'] > .lm-AccordionPanel-title {\n /* Title is rotated for horizontal accordion panel using CSS */\n display: block;\n transform-origin: top left;\n transform: rotate(-90deg) translate(-100%);\n}\n"],sourceRoot:""}]);const r=A},9028:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-CommandPalette {\n display: flex;\n flex-direction: column;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-CommandPalette-search {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-content {\n flex: 1 1 auto;\n margin: 0;\n padding: 0;\n min-height: 0;\n overflow: auto;\n list-style-type: none;\n}\n\n.lm-CommandPalette-header {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.lm-CommandPalette-item {\n display: flex;\n flex-direction: row;\n}\n\n.lm-CommandPalette-itemIcon {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-itemContent {\n flex: 1 1 auto;\n overflow: hidden;\n}\n\n.lm-CommandPalette-itemShortcut {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-itemLabel {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.lm-close-icon {\n border: 1px solid transparent;\n background-color: transparent;\n position: absolute;\n z-index: 1;\n right: 3%;\n top: 0;\n bottom: 0;\n margin: auto;\n padding: 7px 0;\n display: none;\n vertical-align: middle;\n outline: 0;\n cursor: pointer;\n}\n.lm-close-icon:after {\n content: 'X';\n display: block;\n width: 15px;\n height: 15px;\n text-align: center;\n color: #000;\n font-weight: normal;\n font-size: 12px;\n cursor: pointer;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/commandpalette.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,aAAa;EACb,sBAAsB;EACtB,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,SAAS;EACT,UAAU;EACV,aAAa;EACb,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,gBAAgB;AAClB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,6BAA6B;EAC7B,6BAA6B;EAC7B,kBAAkB;EAClB,UAAU;EACV,SAAS;EACT,MAAM;EACN,SAAS;EACT,YAAY;EACZ,cAAc;EACd,aAAa;EACb,sBAAsB;EACtB,UAAU;EACV,eAAe;AACjB;AACA;EACE,YAAY;EACZ,cAAc;EACd,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,WAAW;EACX,mBAAmB;EACnB,eAAe;EACf,eAAe;AACjB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-CommandPalette {\n display: flex;\n flex-direction: column;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-CommandPalette-search {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-content {\n flex: 1 1 auto;\n margin: 0;\n padding: 0;\n min-height: 0;\n overflow: auto;\n list-style-type: none;\n}\n\n.lm-CommandPalette-header {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.lm-CommandPalette-item {\n display: flex;\n flex-direction: row;\n}\n\n.lm-CommandPalette-itemIcon {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-itemContent {\n flex: 1 1 auto;\n overflow: hidden;\n}\n\n.lm-CommandPalette-itemShortcut {\n flex: 0 0 auto;\n}\n\n.lm-CommandPalette-itemLabel {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.lm-close-icon {\n border: 1px solid transparent;\n background-color: transparent;\n position: absolute;\n z-index: 1;\n right: 3%;\n top: 0;\n bottom: 0;\n margin: auto;\n padding: 7px 0;\n display: none;\n vertical-align: middle;\n outline: 0;\n cursor: pointer;\n}\n.lm-close-icon:after {\n content: 'X';\n display: block;\n width: 15px;\n height: 15px;\n text-align: center;\n color: #000;\n font-weight: normal;\n font-size: 12px;\n cursor: pointer;\n}\n"],sourceRoot:""}]);const r=A},9115:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-DockPanel {\n z-index: 0;\n}\n\n.lm-DockPanel-widget {\n z-index: 0;\n}\n\n.lm-DockPanel-tabBar {\n z-index: 1;\n}\n\n.lm-DockPanel-handle {\n z-index: 2;\n}\n\n.lm-DockPanel-handle.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-DockPanel-handle:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: '';\n}\n\n.lm-DockPanel-handle[data-orientation='horizontal'] {\n cursor: ew-resize;\n}\n\n.lm-DockPanel-handle[data-orientation='vertical'] {\n cursor: ns-resize;\n}\n\n.lm-DockPanel-handle[data-orientation='horizontal']:after {\n left: 50%;\n min-width: 8px;\n transform: translateX(-50%);\n}\n\n.lm-DockPanel-handle[data-orientation='vertical']:after {\n top: 50%;\n min-height: 8px;\n transform: translateY(-50%);\n}\n\n.lm-DockPanel-overlay {\n z-index: 3;\n box-sizing: border-box;\n pointer-events: none;\n}\n\n.lm-DockPanel-overlay.lm-mod-hidden {\n display: none !important;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/dockpanel.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,SAAS;EACT,cAAc;EACd,2BAA2B;AAC7B;;AAEA;EACE,QAAQ;EACR,eAAe;EACf,2BAA2B;AAC7B;;AAEA;EACE,UAAU;EACV,sBAAsB;EACtB,oBAAoB;AACtB;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-DockPanel {\n z-index: 0;\n}\n\n.lm-DockPanel-widget {\n z-index: 0;\n}\n\n.lm-DockPanel-tabBar {\n z-index: 1;\n}\n\n.lm-DockPanel-handle {\n z-index: 2;\n}\n\n.lm-DockPanel-handle.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-DockPanel-handle:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: '';\n}\n\n.lm-DockPanel-handle[data-orientation='horizontal'] {\n cursor: ew-resize;\n}\n\n.lm-DockPanel-handle[data-orientation='vertical'] {\n cursor: ns-resize;\n}\n\n.lm-DockPanel-handle[data-orientation='horizontal']:after {\n left: 50%;\n min-width: 8px;\n transform: translateX(-50%);\n}\n\n.lm-DockPanel-handle[data-orientation='vertical']:after {\n top: 50%;\n min-height: 8px;\n transform: translateY(-50%);\n}\n\n.lm-DockPanel-overlay {\n z-index: 3;\n box-sizing: border-box;\n pointer-events: none;\n}\n\n.lm-DockPanel-overlay.lm-mod-hidden {\n display: none !important;\n}\n"],sourceRoot:""}]);const r=A},7430:(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a),r=o(5644),c=o(7696),i=o(9028),s=o(9115),l=o(3697),b=o(8470),C=o(6272),d=o(9158),m=o(4768),u=o(3169),B=A()(f());B.i(r.A),B.i(c.A),B.i(i.A),B.i(s.A),B.i(l.A),B.i(b.A),B.i(C.A),B.i(d.A),B.i(m.A),B.i(u.A),B.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/index.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n@import './widget.css';\n@import './accordionpanel.css';\n@import './commandpalette.css';\n@import './dockpanel.css';\n@import './menu.css';\n@import './menubar.css';\n@import './scrollbar.css';\n@import './splitpanel.css';\n@import './tabbar.css';\n@import './tabpanel.css';\n"],sourceRoot:""}]);const h=B},3697:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-Menu {\n z-index: 10000;\n position: absolute;\n white-space: nowrap;\n overflow-x: hidden;\n overflow-y: auto;\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-Menu-content {\n margin: 0;\n padding: 0;\n display: table;\n list-style-type: none;\n}\n\n.lm-Menu-item {\n display: table-row;\n}\n\n.lm-Menu-item.lm-mod-hidden,\n.lm-Menu-item.lm-mod-collapsed {\n display: none !important;\n}\n\n.lm-Menu-itemIcon,\n.lm-Menu-itemSubmenuIcon {\n display: table-cell;\n text-align: center;\n}\n\n.lm-Menu-itemLabel {\n display: table-cell;\n text-align: left;\n}\n\n.lm-Menu-itemShortcut {\n display: table-cell;\n text-align: right;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/menu.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,cAAc;EACd,kBAAkB;EAClB,mBAAmB;EACnB,kBAAkB;EAClB,gBAAgB;EAChB,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,SAAS;EACT,UAAU;EACV,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;;EAEE,wBAAwB;AAC1B;;AAEA;;EAEE,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,mBAAmB;EACnB,gBAAgB;AAClB;;AAEA;EACE,mBAAmB;EACnB,iBAAiB;AACnB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-Menu {\n z-index: 10000;\n position: absolute;\n white-space: nowrap;\n overflow-x: hidden;\n overflow-y: auto;\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-Menu-content {\n margin: 0;\n padding: 0;\n display: table;\n list-style-type: none;\n}\n\n.lm-Menu-item {\n display: table-row;\n}\n\n.lm-Menu-item.lm-mod-hidden,\n.lm-Menu-item.lm-mod-collapsed {\n display: none !important;\n}\n\n.lm-Menu-itemIcon,\n.lm-Menu-itemSubmenuIcon {\n display: table-cell;\n text-align: center;\n}\n\n.lm-Menu-itemLabel {\n display: table-cell;\n text-align: left;\n}\n\n.lm-Menu-itemShortcut {\n display: table-cell;\n text-align: right;\n}\n"],sourceRoot:""}]);const r=A},8470:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-MenuBar {\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-MenuBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: row;\n list-style-type: none;\n}\n\n.lm-MenuBar-item {\n box-sizing: border-box;\n}\n\n.lm-MenuBar-itemIcon,\n.lm-MenuBar-itemLabel {\n display: inline-block;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/menubar.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,SAAS;EACT,UAAU;EACV,aAAa;EACb,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;;EAEE,qBAAqB;AACvB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-MenuBar {\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-MenuBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: row;\n list-style-type: none;\n}\n\n.lm-MenuBar-item {\n box-sizing: border-box;\n}\n\n.lm-MenuBar-itemIcon,\n.lm-MenuBar-itemLabel {\n display: inline-block;\n}\n"],sourceRoot:""}]);const r=A},6272:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-ScrollBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-ScrollBar[data-orientation='horizontal'] {\n flex-direction: row;\n}\n\n.lm-ScrollBar[data-orientation='vertical'] {\n flex-direction: column;\n}\n\n.lm-ScrollBar-button {\n box-sizing: border-box;\n flex: 0 0 auto;\n}\n\n.lm-ScrollBar-track {\n box-sizing: border-box;\n position: relative;\n overflow: hidden;\n flex: 1 1 auto;\n}\n\n.lm-ScrollBar-thumb {\n box-sizing: border-box;\n position: absolute;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/scrollbar.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,sBAAsB;EACtB,cAAc;AAChB;;AAEA;EACE,sBAAsB;EACtB,kBAAkB;EAClB,gBAAgB;EAChB,cAAc;AAChB;;AAEA;EACE,sBAAsB;EACtB,kBAAkB;AACpB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-ScrollBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-ScrollBar[data-orientation='horizontal'] {\n flex-direction: row;\n}\n\n.lm-ScrollBar[data-orientation='vertical'] {\n flex-direction: column;\n}\n\n.lm-ScrollBar-button {\n box-sizing: border-box;\n flex: 0 0 auto;\n}\n\n.lm-ScrollBar-track {\n box-sizing: border-box;\n position: relative;\n overflow: hidden;\n flex: 1 1 auto;\n}\n\n.lm-ScrollBar-thumb {\n box-sizing: border-box;\n position: absolute;\n}\n"],sourceRoot:""}]);const r=A},9158:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-SplitPanel-child {\n z-index: 0;\n}\n\n.lm-SplitPanel-handle {\n z-index: 1;\n}\n\n.lm-SplitPanel-handle.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-SplitPanel-handle:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: '';\n}\n\n.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle {\n cursor: ew-resize;\n}\n\n.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle {\n cursor: ns-resize;\n}\n\n.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle:after {\n left: 50%;\n min-width: 8px;\n transform: translateX(-50%);\n}\n\n.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle:after {\n top: 50%;\n min-height: 8px;\n transform: translateY(-50%);\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/splitpanel.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,SAAS;EACT,cAAc;EACd,2BAA2B;AAC7B;;AAEA;EACE,QAAQ;EACR,eAAe;EACf,2BAA2B;AAC7B",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-SplitPanel-child {\n z-index: 0;\n}\n\n.lm-SplitPanel-handle {\n z-index: 1;\n}\n\n.lm-SplitPanel-handle.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-SplitPanel-handle:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: '';\n}\n\n.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle {\n cursor: ew-resize;\n}\n\n.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle {\n cursor: ns-resize;\n}\n\n.lm-SplitPanel[data-orientation='horizontal'] > .lm-SplitPanel-handle:after {\n left: 50%;\n min-width: 8px;\n transform: translateX(-50%);\n}\n\n.lm-SplitPanel[data-orientation='vertical'] > .lm-SplitPanel-handle:after {\n top: 50%;\n min-height: 8px;\n transform: translateY(-50%);\n}\n"],sourceRoot:""}]);const r=A},4768:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-TabBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-TabBar[data-orientation='horizontal'] {\n flex-direction: row;\n align-items: flex-end;\n}\n\n.lm-TabBar[data-orientation='vertical'] {\n flex-direction: column;\n align-items: flex-end;\n}\n\n.lm-TabBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex: 1 1 auto;\n list-style-type: none;\n}\n\n.lm-TabBar[data-orientation='horizontal'] > .lm-TabBar-content {\n flex-direction: row;\n}\n\n.lm-TabBar[data-orientation='vertical'] > .lm-TabBar-content {\n flex-direction: column;\n}\n\n.lm-TabBar-tab {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n overflow: hidden;\n touch-action: none; /* Disable native Drag/Drop */\n}\n\n.lm-TabBar-tabIcon,\n.lm-TabBar-tabCloseIcon {\n flex: 0 0 auto;\n}\n\n.lm-TabBar-tabLabel {\n flex: 1 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.lm-TabBar-tabInput {\n user-select: all;\n width: 100%;\n box-sizing: border-box;\n}\n\n.lm-TabBar-tab.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-TabBar-addButton.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-TabBar.lm-mod-dragging .lm-TabBar-tab {\n position: relative;\n}\n\n.lm-TabBar.lm-mod-dragging[data-orientation='horizontal'] .lm-TabBar-tab {\n left: 0;\n transition: left 150ms ease;\n}\n\n.lm-TabBar.lm-mod-dragging[data-orientation='vertical'] .lm-TabBar-tab {\n top: 0;\n transition: top 150ms ease;\n}\n\n.lm-TabBar.lm-mod-dragging .lm-TabBar-tab.lm-mod-dragging {\n transition: none;\n}\n\n.lm-TabBar-tabLabel .lm-TabBar-tabInput {\n user-select: all;\n width: 100%;\n box-sizing: border-box;\n background: inherit;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/tabbar.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,aAAa;EACb,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AACnB;;AAEA;EACE,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,sBAAsB;EACtB,qBAAqB;AACvB;;AAEA;EACE,SAAS;EACT,UAAU;EACV,aAAa;EACb,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,gBAAgB;EAChB,kBAAkB,EAAE,6BAA6B;AACnD;;AAEA;;EAEE,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;EAChB,WAAW;EACX,sBAAsB;AACxB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,OAAO;EACP,2BAA2B;AAC7B;;AAEA;EACE,MAAM;EACN,0BAA0B;AAC5B;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;EAChB,WAAW;EACX,sBAAsB;EACtB,mBAAmB;AACrB",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-TabBar {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.lm-TabBar[data-orientation='horizontal'] {\n flex-direction: row;\n align-items: flex-end;\n}\n\n.lm-TabBar[data-orientation='vertical'] {\n flex-direction: column;\n align-items: flex-end;\n}\n\n.lm-TabBar-content {\n margin: 0;\n padding: 0;\n display: flex;\n flex: 1 1 auto;\n list-style-type: none;\n}\n\n.lm-TabBar[data-orientation='horizontal'] > .lm-TabBar-content {\n flex-direction: row;\n}\n\n.lm-TabBar[data-orientation='vertical'] > .lm-TabBar-content {\n flex-direction: column;\n}\n\n.lm-TabBar-tab {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n overflow: hidden;\n touch-action: none; /* Disable native Drag/Drop */\n}\n\n.lm-TabBar-tabIcon,\n.lm-TabBar-tabCloseIcon {\n flex: 0 0 auto;\n}\n\n.lm-TabBar-tabLabel {\n flex: 1 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.lm-TabBar-tabInput {\n user-select: all;\n width: 100%;\n box-sizing: border-box;\n}\n\n.lm-TabBar-tab.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-TabBar-addButton.lm-mod-hidden {\n display: none !important;\n}\n\n.lm-TabBar.lm-mod-dragging .lm-TabBar-tab {\n position: relative;\n}\n\n.lm-TabBar.lm-mod-dragging[data-orientation='horizontal'] .lm-TabBar-tab {\n left: 0;\n transition: left 150ms ease;\n}\n\n.lm-TabBar.lm-mod-dragging[data-orientation='vertical'] .lm-TabBar-tab {\n top: 0;\n transition: top 150ms ease;\n}\n\n.lm-TabBar.lm-mod-dragging .lm-TabBar-tab.lm-mod-dragging {\n transition: none;\n}\n\n.lm-TabBar-tabLabel .lm-TabBar-tabInput {\n user-select: all;\n width: 100%;\n box-sizing: border-box;\n background: inherit;\n}\n"],sourceRoot:""}]);const r=A},3169:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-TabPanel-tabBar {\n z-index: 1;\n}\n\n.lm-TabPanel-stackedPanel {\n z-index: 0;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/tabpanel.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-TabPanel-tabBar {\n z-index: 1;\n}\n\n.lm-TabPanel-stackedPanel {\n z-index: 0;\n}\n"],sourceRoot:""}]);const r=A},5644:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(2001),f=o.n(n),a=o(935),A=o.n(a)()(f());A.push([e.id,"/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-Widget {\n box-sizing: border-box;\n position: relative;\n overflow: hidden;\n}\n\n.lm-Widget.lm-mod-hidden {\n display: none !important;\n}\n","",{version:3,sources:["webpack://./../../node_modules/@lumino/widgets/style/widget.css"],names:[],mappings:"AAAA;;;EAGE;;AAEF;;;;;;;8EAO8E;;AAE9E;EACE,sBAAsB;EACtB,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * Copyright (c) Jupyter Development Team.\n * Distributed under the terms of the Modified BSD License.\n */\n\n/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Copyright (c) 2014-2017, PhosphorJS Contributors\n|\n| Distributed under the terms of the BSD 3-Clause License.\n|\n| The full license is in the file LICENSE, distributed with this software.\n|----------------------------------------------------------------------------*/\n\n.lm-Widget {\n box-sizing: border-box;\n position: relative;\n overflow: hidden;\n}\n\n.lm-Widget.lm-mod-hidden {\n display: none !important;\n}\n"],sourceRoot:""}]);const r=A},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,f,a){"string"==typeof e&&(e=[[null,e,void 0]]);var A={};if(n)for(var r=0;r<this.length;r++){var c=this[r][0];null!=c&&(A[c]=!0)}for(var i=0;i<e.length;i++){var s=[].concat(e[i]);n&&A[s[0]]||(void 0!==a&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=a),o&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=o):s[2]=o),f&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=f):s[4]="".concat(f)),t.push(s))}},t}},62:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},2001:e=>{"use strict";e.exports=function(e){var t=e[1],o=e[3];if(!o)return t;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),f="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),a="/*# ".concat(f," */");return[t].concat([a]).join("\n")}return[t].join("\n")}},8792:e=>{"use strict";e.exports=function e(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var n,f,a;if(Array.isArray(t)){if((n=t.length)!=o.length)return!1;for(f=n;0!=f--;)if(!e(t[f],o[f]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if((n=(a=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(f=n;0!=f--;)if(!Object.prototype.hasOwnProperty.call(o,a[f]))return!1;for(f=n;0!=f--;){var A=a[f];if(!e(t[A],o[A]))return!1}return!0}return t!=t&&o!=o}},1645:e=>{"use strict";var t=e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),o(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};function o(e,n,f,a,A,r,c,i,s,l){if(a&&"object"==typeof a&&!Array.isArray(a)){for(var b in n(a,A,r,c,i,s,l),a){var C=a[b];if(Array.isArray(C)){if(b in t.arrayKeywords)for(var d=0;d<C.length;d++)o(e,n,f,C[d],A+"/"+b+"/"+d,r,A,b,a,d)}else if(b in t.propsKeywords){if(C&&"object"==typeof C)for(var m in C)o(e,n,f,C[m],A+"/"+b+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),r,A,b,a,m)}else(b in t.keywords||e.allKeys&&!(b in t.skipKeywords))&&o(e,n,f,C,A+"/"+b,r,A,b,a)}f(a,A,r,c,i,s,l)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},2591:e=>{"use strict";var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var a={},A=[],r=0;r<e.length;r++){var c=e[r],i=n.base?c[0]+n.base:c[0],s=a[i]||0,l="".concat(i," ").concat(s);a[i]=s+1;var b=o(l),C={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==b)t[b].references++,t[b].updater(C);else{var d=f(C,n);n.byIndex=r,t.splice(r,0,{identifier:l,updater:d,references:1})}A.push(l)}return A}function f(e,t){var o=t.domAPI(t);return o.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,f){var a=n(e=e||[],f=f||{});return function(e){e=e||[];for(var A=0;A<a.length;A++){var r=o(a[A]);t[r].references--}for(var c=n(e,f),i=0;i<a.length;i++){var s=o(a[i]);0===t[s].references&&(t[s].updater(),t.splice(s,1))}a=c}}},8128:e=>{"use strict";var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);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(o)}},3051:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},855:(e,t,o)=>{"use strict";e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},1740:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){!function(e,t,o){var n="";o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var f=void 0!==o.layer;f&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,f&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}");var a=o.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,o)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},3656:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2862:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,f=1;f<n;++f)t[f]=t[f].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function o(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function f(e){return e.toUpperCase()}function a(e){var n="[A-Za-z]",f="[0-9]",a=t(f,"[A-Fa-f]"),A=o(o("%[EFef]"+a+"%"+a+a+"%"+a+a)+"|"+o("%[89A-Fa-f]"+a+"%"+a+a)+"|"+o("%"+a+a)),r="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",c=t("[\\:\\/\\?\\#\\[\\]\\@]",r),i=e?"[\\uE000-\\uF8FF]":"[]",s=t(n,f,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),l=o(n+t(n,f,"[\\+\\-\\.]")+"*"),b=o(o(A+"|"+t(s,r,"[\\:]"))+"*"),C=(o(o("25[0-5]")+"|"+o("2[0-4]"+f)+"|"+o("1"+f+f)+"|"+o("[1-9]"+f)+"|"+f),o(o("25[0-5]")+"|"+o("2[0-4]"+f)+"|"+o("1"+f+f)+"|"+o("0?[1-9]"+f)+"|0?0?"+f)),d=o(C+"\\."+C+"\\."+C+"\\."+C),m=o(a+"{1,4}"),u=o(o(m+"\\:"+m)+"|"+d),B=o(o(m+"\\:")+"{6}"+u),h=o("\\:\\:"+o(m+"\\:")+"{5}"+u),p=o(o(m)+"?\\:\\:"+o(m+"\\:")+"{4}"+u),g=o(o(o(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+o(m+"\\:")+"{3}"+u),w=o(o(o(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+o(m+"\\:")+"{2}"+u),y=o(o(o(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+u),v=o(o(o(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+u),k=o(o(o(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),E=o(o(o(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),$=o([B,h,p,g,w,y,v,k,E].join("|")),F=o(o(s+"|"+A)+"+"),_=(o($+"\\%25"+F),o($+o("\\%25|\\%(?!"+a+"{2})")+F)),q=o("[vV]"+a+"+\\."+t(s,r,"[\\:]")+"+"),x=o("\\["+o(_+"|"+$+"|"+q)+"\\]"),S=o(o(A+"|"+t(s,r))+"*"),P=o(x+"|"+d+"(?!"+S+")|"+S),j=o(f+"*"),T=o(o(b+"@")+"?"+P+o("\\:"+j)+"?"),D=o(A+"|"+t(s,r,"[\\:\\@]")),N=o(D+"*"),O=o(D+"+"),I=o(o(A+"|"+t(s,r,"[\\@]"))+"+"),z=o(o("\\/"+N)+"*"),R=o("\\/"+o(O+z)+"?"),M=o(I+z),L=o(O+z),U="(?!"+D+")",V=(o(z+"|"+R+"|"+M+"|"+L+"|"+U),o(o(D+"|"+t("[\\/\\?]",i))+"*")),J=o(o(D+"|[\\/\\?]")+"*"),K=o(o("\\/\\/"+T+z)+"|"+R+"|"+L+"|"+U),G=o(l+"\\:"+K+o("\\?"+V)+"?"+o("\\#"+J)+"?"),W=o(o("\\/\\/"+T+z)+"|"+R+"|"+M+"|"+U),H=o(W+o("\\?"+V)+"?"+o("\\#"+J)+"?");return o(G+"|"+H),o(l+"\\:"+K+o("\\?"+V)+"?"),o(o("\\/\\/("+o("("+b+")@")+"?("+P+")"+o("\\:("+j+")")+"?)")+"?("+z+"|"+R+"|"+L+"|"+U+")"),o("\\?("+V+")"),o("\\#("+J+")"),o(o("\\/\\/("+o("("+b+")@")+"?("+P+")"+o("\\:("+j+")")+"?)")+"?("+z+"|"+R+"|"+M+"|"+U+")"),o("\\?("+V+")"),o("\\#("+J+")"),o(o("\\/\\/("+o("("+b+")@")+"?("+P+")"+o("\\:("+j+")")+"?)")+"?("+z+"|"+R+"|"+L+"|"+U+")"),o("\\?("+V+")"),o("\\#("+J+")"),o("("+b+")@"),o("\\:("+j+")"),{NOT_SCHEME:new RegExp(t("[^]",n,f,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",s,r),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",s,r),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",s,r),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",s,r),"g"),NOT_QUERY:new RegExp(t("[^\\%]",s,r,"[\\:\\@\\/\\?]",i),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",s,r,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",s,r),"g"),UNRESERVED:new RegExp(s,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",s,c),"g"),PCT_ENCODED:new RegExp(A,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+$+")"+o(o("\\%25|\\%(?!"+a+"{2})")+"("+F+")")+"?\\]?$")}}var A=a(!1),r=a(!0),c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],n=!0,f=!1,a=void 0;try{for(var A,r=e[Symbol.iterator]();!(n=(A=r.next()).done)&&(o.push(A.value),!t||o.length!==t);n=!0);}catch(e){f=!0,a=e}finally{try{!n&&r.return&&r.return()}finally{if(f)throw a}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=2147483647,s=36,l=/^xn--/,b=/[^\0-\x7E]/,C=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,u=String.fromCharCode;function B(e){throw new RangeError(d[e])}function h(e,t){var o=e.split("@"),n="";return o.length>1&&(n=o[0]+"@",e=o[1]),n+function(e,t){for(var o=[],n=e.length;n--;)o[n]=t(e[n]);return o}((e=e.replace(C,".")).split("."),t).join(".")}function p(e){for(var t=[],o=0,n=e.length;o<n;){var f=e.charCodeAt(o++);if(f>=55296&&f<=56319&&o<n){var a=e.charCodeAt(o++);56320==(64512&a)?t.push(((1023&f)<<10)+(1023&a)+65536):(t.push(f),o--)}else t.push(f)}return t}var g=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},w=function(e,t,o){var n=0;for(e=o?m(e/700):e>>1,e+=m(e/t);e>455;n+=s)e=m(e/35);return m(n+36*e/(e+38))},y=function(e){var t,o=[],n=e.length,f=0,a=128,A=72,r=e.lastIndexOf("-");r<0&&(r=0);for(var c=0;c<r;++c)e.charCodeAt(c)>=128&&B("not-basic"),o.push(e.charCodeAt(c));for(var l=r>0?r+1:0;l<n;){for(var b=f,C=1,d=s;;d+=s){l>=n&&B("invalid-input");var u=(t=e.charCodeAt(l++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:s;(u>=s||u>m((i-f)/C))&&B("overflow"),f+=u*C;var h=d<=A?1:d>=A+26?26:d-A;if(u<h)break;var p=s-h;C>m(i/p)&&B("overflow"),C*=p}var g=o.length+1;A=w(f-b,g,0==b),m(f/g)>i-a&&B("overflow"),a+=m(f/g),f%=g,o.splice(f++,0,a)}return String.fromCodePoint.apply(String,o)},v=function(e){var t=[],o=(e=p(e)).length,n=128,f=0,a=72,A=!0,r=!1,c=void 0;try{for(var l,b=e[Symbol.iterator]();!(A=(l=b.next()).done);A=!0){var C=l.value;C<128&&t.push(u(C))}}catch(e){r=!0,c=e}finally{try{!A&&b.return&&b.return()}finally{if(r)throw c}}var d=t.length,h=d;for(d&&t.push("-");h<o;){var y=i,v=!0,k=!1,E=void 0;try{for(var $,F=e[Symbol.iterator]();!(v=($=F.next()).done);v=!0){var _=$.value;_>=n&&_<y&&(y=_)}}catch(e){k=!0,E=e}finally{try{!v&&F.return&&F.return()}finally{if(k)throw E}}var q=h+1;y-n>m((i-f)/q)&&B("overflow"),f+=(y-n)*q,n=y;var x=!0,S=!1,P=void 0;try{for(var j,T=e[Symbol.iterator]();!(x=(j=T.next()).done);x=!0){var D=j.value;if(D<n&&++f>i&&B("overflow"),D==n){for(var N=f,O=s;;O+=s){var I=O<=a?1:O>=a+26?26:O-a;if(N<I)break;var z=N-I,R=s-I;t.push(u(g(I+z%R,0))),N=m(z/R)}t.push(u(g(N,0))),a=w(f,q,h==d),f=0,++h}}}catch(e){S=!0,P=e}finally{try{!x&&T.return&&T.return()}finally{if(S)throw P}}++f,++n}return t.join("")},k={version:"2.1.0",ucs2:{decode:p,encode:function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}(e))}},decode:y,encode:v,toASCII:function(e){return h(e,(function(e){return b.test(e)?"xn--"+v(e):e}))},toUnicode:function(e){return h(e,(function(e){return l.test(e)?y(e.slice(4).toLowerCase()):e}))}},E={};function $(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function F(e){for(var t="",o=0,n=e.length;o<n;){var f=parseInt(e.substr(o+1,2),16);if(f<128)t+=String.fromCharCode(f),o+=3;else if(f>=194&&f<224){if(n-o>=6){var a=parseInt(e.substr(o+4,2),16);t+=String.fromCharCode((31&f)<<6|63&a)}else t+=e.substr(o,6);o+=6}else if(f>=224){if(n-o>=9){var A=parseInt(e.substr(o+4,2),16),r=parseInt(e.substr(o+7,2),16);t+=String.fromCharCode((15&f)<<12|(63&A)<<6|63&r)}else t+=e.substr(o,9);o+=9}else t+=e.substr(o,3),o+=3}return t}function _(e,t){function o(e){var o=F(e);return o.match(t.UNRESERVED)?o:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,o).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,o).replace(t.NOT_USERINFO,$).replace(t.PCT_ENCODED,f)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,o).toLowerCase().replace(t.NOT_HOST,$).replace(t.PCT_ENCODED,f)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,o).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,$).replace(t.PCT_ENCODED,f)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,o).replace(t.NOT_QUERY,$).replace(t.PCT_ENCODED,f)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,o).replace(t.NOT_FRAGMENT,$).replace(t.PCT_ENCODED,f)),e}function q(e){return e.replace(/^0*(.*)/,"$1")||"0"}function x(e,t){var o=e.match(t.IPV4ADDRESS)||[],n=c(o,2)[1];return n?n.split(".").map(q).join("."):e}function S(e,t){var o=e.match(t.IPV6ADDRESS)||[],n=c(o,3),f=n[1],a=n[2];if(f){for(var A=f.toLowerCase().split("::").reverse(),r=c(A,2),i=r[0],s=r[1],l=s?s.split(":").map(q):[],b=i.split(":").map(q),C=t.IPV4ADDRESS.test(b[b.length-1]),d=C?7:8,m=b.length-d,u=Array(d),B=0;B<d;++B)u[B]=l[B]||b[m+B]||"";C&&(u[d-1]=x(u[d-1],t));var h=u.reduce((function(e,t,o){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===o?n.length++:e.push({index:o,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],p=void 0;if(h&&h.length>1){var g=u.slice(0,h.index),w=u.slice(h.index+h.length);p=g.join(":")+"::"+w.join(":")}else p=u.join(":");return a&&(p+="%"+a),p}return e}var P=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,j=void 0==="".match(/(){0}/)[1];function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o={},n=!1!==t.iri?r:A;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var f=e.match(P);if(f){j?(o.scheme=f[1],o.userinfo=f[3],o.host=f[4],o.port=parseInt(f[5],10),o.path=f[6]||"",o.query=f[7],o.fragment=f[8],isNaN(o.port)&&(o.port=f[5])):(o.scheme=f[1]||void 0,o.userinfo=-1!==e.indexOf("@")?f[3]:void 0,o.host=-1!==e.indexOf("//")?f[4]:void 0,o.port=parseInt(f[5],10),o.path=f[6]||"",o.query=-1!==e.indexOf("?")?f[7]:void 0,o.fragment=-1!==e.indexOf("#")?f[8]:void 0,isNaN(o.port)&&(o.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?f[4]:void 0)),o.host&&(o.host=S(x(o.host,n),n)),void 0!==o.scheme||void 0!==o.userinfo||void 0!==o.host||void 0!==o.port||o.path||void 0!==o.query?void 0===o.scheme?o.reference="relative":void 0===o.fragment?o.reference="absolute":o.reference="uri":o.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==o.reference&&(o.error=o.error||"URI is not a "+t.reference+" reference.");var a=E[(t.scheme||o.scheme||"").toLowerCase()];if(t.unicodeSupport||a&&a.unicodeSupport)_(o,n);else{if(o.host&&(t.domainHost||a&&a.domainHost))try{o.host=k.toASCII(o.host.replace(n.PCT_ENCODED,F).toLowerCase())}catch(e){o.error=o.error||"Host's domain name can not be converted to ASCII via punycode: "+e}_(o,A)}a&&a.parse&&a.parse(o,t)}else o.error=o.error||"URI can not be parsed.";return o}var D=/^\.\.?\//,N=/^\/\.(\/|$)/,O=/^\/\.\.(\/|$)/,I=/^\/?(?:.|\n)*?(?=\/|$)/;function z(e){for(var t=[];e.length;)if(e.match(D))e=e.replace(D,"");else if(e.match(N))e=e.replace(N,"/");else if(e.match(O))e=e.replace(O,"/"),t.pop();else if("."===e||".."===e)e="";else{var o=e.match(I);if(!o)throw new Error("Unexpected dot segment condition");var n=o[0];e=e.slice(n.length),t.push(n)}return t.join("")}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.iri?r:A,n=[],f=E[(t.scheme||e.scheme||"").toLowerCase()];if(f&&f.serialize&&f.serialize(e,t),e.host)if(o.IPV6ADDRESS.test(e.host));else if(t.domainHost||f&&f.domainHost)try{e.host=t.iri?k.toUnicode(e.host):k.toASCII(e.host.replace(o.PCT_ENCODED,F).toLowerCase())}catch(o){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+o}_(e,o),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var a=function(e,t){var o=!1!==t.iri?r:A,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(S(x(String(e.host),o),o).replace(o.IPV6ADDRESS,(function(e,t,o){return"["+t+(o?"%25"+o:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}(e,t);if(void 0!==a&&("suffix"!==t.reference&&n.push("//"),n.push(a),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var c=e.path;t.absolutePath||f&&f.absolutePath||(c=z(c)),void 0===a&&(c=c.replace(/^\/\//,"/%2F")),n.push(c)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function M(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=T(R(e,o),o),t=T(R(t,o),o)),!(o=o||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=z(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=z(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=z(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=z(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function L(e,t){return e&&e.toString().replace(t&&t.iri?r.PCT_ENCODED:A.PCT_ENCODED,F)}var U={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var o="https"===String(e.scheme).toLowerCase();return e.port!==(o?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},V={scheme:"https",domainHost:U.domainHost,parse:U.parse,serialize:U.serialize};function J(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var K={scheme:"ws",domainHost:!0,parse:function(e,t){var o=e;return o.secure=J(o),o.resourceName=(o.path||"/")+(o.query?"?"+o.query:""),o.path=void 0,o.query=void 0,o},serialize:function(e,t){if(e.port!==(J(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var o=e.resourceName.split("?"),n=c(o,2),f=n[0],a=n[1];e.path=f&&"/"!==f?f:void 0,e.query=a,e.resourceName=void 0}return e.fragment=void 0,e}},G={scheme:"wss",domainHost:K.domainHost,parse:K.parse,serialize:K.serialize},W={},H="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Y="[0-9A-Fa-f]",X=o(o("%[EFef]"+Y+"%"+Y+Y+"%"+Y+Y)+"|"+o("%[89A-Fa-f]"+Y+"%"+Y+Y)+"|"+o("%"+Y+Y)),Q=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Z=new RegExp(H,"g"),ee=new RegExp(X,"g"),te=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Q),"g"),oe=new RegExp(t("[^]",H,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),ne=oe;function fe(e){var t=F(e);return t.match(Z)?t:e}var ae={scheme:"mailto",parse:function(e,t){var o=e,n=o.to=o.path?o.path.split(","):[];if(o.path=void 0,o.query){for(var f=!1,a={},A=o.query.split("&"),r=0,c=A.length;r<c;++r){var i=A[r].split("=");switch(i[0]){case"to":for(var s=i[1].split(","),l=0,b=s.length;l<b;++l)n.push(s[l]);break;case"subject":o.subject=L(i[1],t);break;case"body":o.body=L(i[1],t);break;default:f=!0,a[L(i[0],t)]=L(i[1],t)}}f&&(o.headers=a)}o.query=void 0;for(var C=0,d=n.length;C<d;++C){var m=n[C].split("@");if(m[0]=L(m[0]),t.unicodeSupport)m[1]=L(m[1],t).toLowerCase();else try{m[1]=k.toASCII(L(m[1],t).toLowerCase())}catch(e){o.error=o.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[C]=m.join("@")}return o},serialize:function(e,t){var o,n=e,a=null!=(o=e.to)?o instanceof Array?o:"number"!=typeof o.length||o.split||o.setInterval||o.call?[o]:Array.prototype.slice.call(o):[];if(a){for(var A=0,r=a.length;A<r;++A){var c=String(a[A]),i=c.lastIndexOf("@"),s=c.slice(0,i).replace(ee,fe).replace(ee,f).replace(te,$),l=c.slice(i+1);try{l=t.iri?k.toUnicode(l):k.toASCII(L(l,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}a[A]=s+"@"+l}n.path=a.join(",")}var b=e.headers=e.headers||{};e.subject&&(b.subject=e.subject),e.body&&(b.body=e.body);var C=[];for(var d in b)b[d]!==W[d]&&C.push(d.replace(ee,fe).replace(ee,f).replace(oe,$)+"="+b[d].replace(ee,fe).replace(ee,f).replace(ne,$));return C.length&&(n.query=C.join("&")),n}},Ae=/^([^\:]+)\:(.*)/,re={scheme:"urn",parse:function(e,t){var o=e.path&&e.path.match(Ae),n=e;if(o){var f=t.scheme||n.scheme||"urn",a=o[1].toLowerCase(),A=o[2],r=f+":"+(t.nid||a),c=E[r];n.nid=a,n.nss=A,n.path=void 0,c&&(n=c.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var o=t.scheme||e.scheme||"urn",n=e.nid,f=o+":"+(t.nid||n),a=E[f];a&&(e=a.serialize(e,t));var A=e,r=e.nss;return A.path=(n||t.nid)+":"+r,A}},ce=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ie={scheme:"urn:uuid",parse:function(e,t){var o=e;return o.uuid=o.nss,o.nss=void 0,t.tolerant||o.uuid&&o.uuid.match(ce)||(o.error=o.error||"UUID is not valid."),o},serialize:function(e,t){var o=e;return o.nss=(e.uuid||"").toLowerCase(),o}};E[U.scheme]=U,E[V.scheme]=V,E[K.scheme]=K,E[G.scheme]=G,E[ae.scheme]=ae,E[re.scheme]=re,E[ie.scheme]=ie,e.SCHEMES=E,e.pctEncChar=$,e.pctDecChars=F,e.parse=T,e.removeDotSegments=z,e.serialize=R,e.resolveComponents=M,e.resolve=function(e,t,o){var n=function(e,t){var o=e;if(t)for(var n in t)o[n]=t[n];return o}({scheme:"null"},o);return R(M(T(e,n),T(t,n),n,!0),n)},e.normalize=function(e,t){return"string"==typeof e?e=R(T(e,t),t):"object"===n(e)&&(e=T(R(e,t),t)),e},e.equal=function(e,t,o){return"string"==typeof e?e=R(T(e,o),o):"object"===n(e)&&(e=R(e,o)),"string"==typeof t?t=R(T(t,o),o):"object"===n(t)&&(t=R(t,o)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?r.ESCAPE:A.ESCAPE,$)},e.unescapeComponent=L,Object.defineProperty(e,"__esModule",{value:!0})}(t)},9029:(e,t,o)=>{e.exports={v1:{state:o(3434),view:o(7838)},v2:{state:o(5373),view:o(5051)}}},5738:(e,t,o)=>{"use strict";e.exports=o.p+"23f19bb08961f37aaf69.eot"},3284:(e,t,o)=>{"use strict";e.exports=o.p+"527940b104eb2ea366c8.ttf"},3188:(e,t,o)=>{"use strict";e.exports=o.p+"2285773e6b4b172f07d9.woff"},6574:(e,t,o)=>{"use strict";e.exports=o.p+"d878b0a6a1144760244f.woff2"},2322:(e,t,o)=>{"use strict";e.exports=o.p+"77206a6bb316fa0aded5.eot"},7020:(e,t,o)=>{"use strict";e.exports=o.p+"491974d108fe4002b2aa.ttf"},3964:(e,t,o)=>{"use strict";e.exports=o.p+"bb58e57c48a3e911f15f.woff"},8182:(e,t,o)=>{"use strict";e.exports=o.p+"7a3337626410ca2f4071.woff2"},630:(e,t,o)=>{"use strict";e.exports=o.p+"9bbb245e67a133f6e486.eot"},5920:(e,t,o)=>{"use strict";e.exports=o.p+"be9ee23c0c6390141475.ttf"},4832:(e,t,o)=>{"use strict";e.exports=o.p+"eeccf4f66002c6f2ba24.woff"},5890:(e,t,o)=>{"use strict";e.exports=o.p+"1551f4f60c37af51121f.woff2"},9465:(e,t,o)=>{"use strict";e.exports=o.p+"2f517e09eb2ca6650ff5.svg"},1207:(e,t,o)=>{"use strict";e.exports=o.p+"4689f52cc96215721344.svg"},199:(e,t,o)=>{"use strict";e.exports=o.p+"7a8b4f130182d19a2d7c.svg"},1308:t=>{"use strict";t.exports=e},3770:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},3928:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},3434:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-04/schema#","description":"Jupyter Interactive Widget State JSON schema.","type":"object","properties":{"version_major":{"description":"Format version (major)","type":"number","minimum":1,"maximum":1},"version_minor":{"description":"Format version (minor)","type":"number"},"state":{"description":"Model State for All Widget Models","type":"object","additionalProperties":{"type":"object","properties":{"model_name":{"description":"Name of the JavaScript class holding the model implementation","type":"string"},"model_module":{"description":"Name of the JavaScript module holding the model implementation","type":"string"},"model_module_version":{"description":"Semver range for the JavaScript module holding the model implementation","type":"string"},"state":{"description":"Serialized state of the model","type":"object","additional_properties":true}},"required":["model_name","model_module","state"],"additionalProperties":false}}},"required":["version_major","version_minor","state"],"additionalProperties":false}')},7838:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-04/schema#","description":"Jupyter Interactive Widget View JSON schema.","type":"object","properties":{"version_major":{"description":"Format version (major)","type":"number","minimum":1,"maximum":1},"version_minor":{"description":"Format version (minor)","type":"number"},"model_id":{"description":"Unique identifier of the widget model to be displayed","type":"string"}},"required":["model_id"],"additionalProperties":false}')},5373:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","description":"Jupyter Interactive Widget State JSON schema.","type":"object","properties":{"version_major":{"description":"Format version (major)","type":"number","minimum":2,"maximum":2},"version_minor":{"description":"Format version (minor)","type":"number","minimum":0,"maximum":0},"state":{"description":"Model State for All Widget Models - keys are model ids, values are model state","type":"object","additionalProperties":{"type":"object","properties":{"model_name":{"description":"Name of the JavaScript class holding the model implementation","type":"string"},"model_module":{"description":"Name of the JavaScript module holding the model implementation","type":"string"},"model_module_version":{"description":"Semver range for the JavaScript module holding the model implementation","type":"string"},"state":{"description":"Serialized state of the model","type":"object"},"buffers":{"description":"Binary buffers in the state","type":"array","items":{"type":"object","properties":{"path":{"description":"A path for a binary buffer value.","type":"array","items":{"description":"An object key or array index","type":["string","number"]}},"data":{"description":"A binary buffer encoded as specified in the \'encoding\' property","type":"string"},"encoding":{"description":"The encoding of the buffer data","type":"string","oneOf":[{"const":"hex","description":"Base 16 encoding, as specified in RFC 4648, section 8 (https://tools.ietf.org/html/rfc4648#section-8)"},{"const":"base64","description":"Base 64 encoding, as specified in RFC 4648, section 4 (https://tools.ietf.org/html/rfc4648#section-4)"}]}},"required":["path","data","encoding"]}}},"required":["model_name","model_module","state"]}}},"required":["version_major","version_minor","state"]}')},5051:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","description":"Jupyter Interactive Widget View JSON schema.","type":"object","properties":{"version_major":{"description":"Format version (major)","type":"number","minimum":2,"maximum":2},"version_minor":{"description":"Format version (minor)","type":"number"},"model_id":{"description":"Unique identifier of the widget model to be displayed","type":"string"}},"required":["model_id"]}')}},o={};function n(e){var f=o[e];if(void 0!==f)return f.exports;var a=o[e]={id:e,exports:{}};return t[e].call(a.exports,a,a.exports,n),a.exports}n.m=t,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="",n.b=document.baseURI||self.location.href,n.nc=void 0;var f,a,A={};return f=n(1308),(a=new URL(f.uri,document.location)).pathname=a.pathname.slice(0,a.pathname.lastIndexOf("/")+1),n.p=`${a.origin}${a.pathname}`,(()=>{"use strict";n.r(A),n.d(A,{renderWidgets:()=>P,requireLoader:()=>S});var e=n(2591),t=n.n(e),o=n(1740),f=n.n(o),a=n(8128),r=n.n(a),c=n(855),i=n.n(c),s=n(3051),l=n.n(s),b=n(3656),C=n.n(b),d=n(4971),m={};m.styleTagTransform=C(),m.setAttributes=i(),m.insert=r().bind(null,"head"),m.domAPI=f(),m.insertStyleElement=l(),t()(d.A,m),d.A&&d.A.locals&&d.A.locals;var u=n(7143),B={};B.styleTagTransform=C(),B.setAttributes=i(),B.insert=r().bind(null,"head"),B.domAPI=f(),B.insertStyleElement=l(),t()(u.A,B),u.A&&u.A.locals&&u.A.locals;var h=n(7430),p={};p.styleTagTransform=C(),p.setAttributes=i(),p.insert=r().bind(null,"head"),p.domAPI=f(),p.insertStyleElement=l(),t()(h.A,p),h.A&&h.A.locals&&h.A.locals;var g=n(1601),w=n.n(g);n.p=window.__jupyter_widgets_assets_path__||n.p;const y=n(9029).v2.state,v=n(9029).v2.view,k=new(w()),E=k.compile(y),$=k.compile(v);const F=function(e){return new Promise(((t,o)=>{const n=window.requirejs;void 0===n?o("Requirejs is needed, please ensure it is loaded on the page."):n(e,t,o)}))};let _="https://cdn.jsdelivr.net/npm/",q=!1;const x=document.getElementsByTagName("script");function S(e,t){const o=window.requirejs;if(void 0===o)throw new Error("Requirejs is needed, please ensure it is loaded on the page.");function n(){const n={paths:{}};return n.paths[e]=function(e,t){let o=e,n="index",f=e.indexOf("/");return-1!=f&&"@"==e[0]&&(f=e.indexOf("/",f+1)),-1!=f&&(n=e.substr(f+1),o=e.substr(0,f)),`${_}${o}@${t}/dist/${n}`}(e,t),o.config(n),F([`${e}`])}return q?(console.log(`Loading from ${_} for ${e}@${t}`),n()):F([`${e}`]).catch((f=>{const a=f.requireModules&&f.requireModules[0];if(a)return o.undef(a),console.log(`Falling back to ${_} for ${e}@${t}`),n()}))}function P(e=document.documentElement,t=S){F(["@jupyter-widgets/html-manager"]).then((o=>{!async function(e,t=document.documentElement){const o=t.querySelectorAll('script[type="application/vnd.jupyter.widget-state+json"]');await Promise.all(Array.from(o).map((async o=>async function(e,t,o){if(!E(t))throw new Error(`Model state has errors: ${E.errors}`);const n=o(),f=await n.set_state(t),a=e.querySelectorAll('script[type="application/vnd.jupyter.widget-view+json"]');await Promise.all(Array.from(a).map((async e=>{const t=JSON.parse(e.innerHTML);if(!$(t))throw new Error(`View state has errors: ${$.errors}`);const o=t.model_id,a=f.find((e=>e.model_id==o));if(void 0!==a&&null!==e.parentElement){const t=e.previousElementSibling;t&&"img"===t.tagName&&t.classList.contains("jupyter-widget")&&e.parentElement.removeChild(t);const o=document.createElement("div");o.className="widget-subarea",e.parentElement.insertBefore(o,e);const f=await n.create_view(a);n.display_view(f,o)}})))}(t,JSON.parse(o.innerHTML),e))))}((()=>new o.HTMLManager({loader:t})),e)}))}Array.prototype.forEach.call(x,(e=>{_=e.getAttribute("data-jupyter-widgets-cdn")||_,q=q||e.hasAttribute("data-jupyter-widgets-cdn-only")}))})(),A})())); |
| 35 |
//# sourceMappingURL=libembed-amd.js.map; |
| 36 |
|
| 37 |
(()=>{"use strict";window.require(["@jupyter-widgets/html-manager/dist/libembed-amd"],(function(e){"complete"===document.readyState?e.renderWidgets():window.addEventListener("load",(function(){e.renderWidgets()}))}))})(); |
| 38 |
//# sourceMappingURL=embed-amd-render.js.map |