@jupyterlite/pyodide-kernel 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_pypi.d.ts +4 -4
- package/lib/_pypi.js +4 -4
- package/lib/worker.js +9 -9
- package/lib/worker.js.map +3 -3
- package/package.json +8 -8
- package/pypi/all.json +38 -38
- package/pypi/ipykernel-6.9.2-py3-none-any.whl +0 -0
- package/pypi/piplite-0.1.2-py3-none-any.whl +0 -0
- package/pypi/{pyodide_kernel-0.1.0-py3-none-any.whl → pyodide_kernel-0.1.2-py3-none-any.whl} +0 -0
- package/pypi/widgetsnbextension-3.6.6-py3-none-any.whl +0 -0
- package/pypi/widgetsnbextension-4.0.9-py3-none-any.whl +0 -0
- package/pypi/piplite-0.1.0-py3-none-any.whl +0 -0
- package/pypi/widgetsnbextension-3.6.4-py3-none-any.whl +0 -0
- package/pypi/widgetsnbextension-4.0.7-py3-none-any.whl +0 -0
package/lib/worker.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var Dl=Object.create;var Fi=Object.defineProperty;var Pl=Object.getOwnPropertyDescriptor;var Rl=Object.getOwnPropertyNames;var Tl=Object.getPrototypeOf,Cl=Object.prototype.hasOwnProperty;var Ln=(o=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(o,{get:(i,r)=>(typeof require!="undefined"?require:i)[r]}):o)(function(o){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')});var gt=(o,i)=>()=>(o&&(i=o(o=0)),i);var fe=(o,i)=>()=>(i||o((i={exports:{}}).exports,i),i.exports),Il=(o,i)=>{for(var r in i)Fi(o,r,{get:i[r],enumerable:!0})},Yl=(o,i,r,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let c of Rl(i))!Cl.call(o,c)&&c!==r&&Fi(o,c,{get:()=>i[c],enumerable:!(s=Pl(i,c))||s.enumerable});return o};var nt=(o,i,r)=>(r=o!=null?Dl(Tl(o)):{},Yl(i||!o||!o.__esModule?Fi(r,"default",{value:o,enumerable:!0}):r,o));var Hn=fe((ii,Wn)=>{(function(o,i){typeof ii=="object"&&typeof Wn!="undefined"?i(ii):typeof define=="function"&&define.amd?define(["exports"],i):(o=typeof globalThis!="undefined"?globalThis:o||self,i(o.lumino_algorithm={}))})(ii,function(o){"use strict";o.ArrayExt=void 0,function(h){function _(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y=S.length;if(y===0)return-1;g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),m<0?m=Math.max(0,m+y):m=Math.min(m,y-1);var T;m<g?T=m+1+(y-g):T=m-g+1;for(var Y=0;Y<T;++Y){var ne=(g+Y)%y;if(S[ne]===R)return ne}return-1}h.firstIndexOf=_;function P(S,R,g,m){g===void 0&&(g=-1),m===void 0&&(m=0);var y=S.length;if(y===0)return-1;g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),m<0?m=Math.max(0,m+y):m=Math.min(m,y-1);var T;g<m?T=g+1+(y-m):T=g-m+1;for(var Y=0;Y<T;++Y){var ne=(g-Y+y)%y;if(S[ne]===R)return ne}return-1}h.lastIndexOf=P;function I(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y=S.length;if(y===0)return-1;g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),m<0?m=Math.max(0,m+y):m=Math.min(m,y-1);var T;m<g?T=m+1+(y-g):T=m-g+1;for(var Y=0;Y<T;++Y){var ne=(g+Y)%y;if(R(S[ne],ne))return ne}return-1}h.findFirstIndex=I;function L(S,R,g,m){g===void 0&&(g=-1),m===void 0&&(m=0);var y=S.length;if(y===0)return-1;g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),m<0?m=Math.max(0,m+y):m=Math.min(m,y-1);var T;g<m?T=g+1+(y-m):T=g-m+1;for(var Y=0;Y<T;++Y){var ne=(g-Y+y)%y;if(R(S[ne],ne))return ne}return-1}h.findLastIndex=L;function me(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y=I(S,R,g,m);return y!==-1?S[y]:void 0}h.findFirstValue=me;function ie(S,R,g,m){g===void 0&&(g=-1),m===void 0&&(m=0);var y=L(S,R,g,m);return y!==-1?S[y]:void 0}h.findLastValue=ie;function J(S,R,g,m,y){m===void 0&&(m=0),y===void 0&&(y=-1);var T=S.length;if(T===0)return 0;m<0?m=Math.max(0,m+T):m=Math.min(m,T-1),y<0?y=Math.max(0,y+T):y=Math.min(y,T-1);for(var Y=m,ne=y-m+1;ne>0;){var ge=ne>>1,Te=Y+ge;g(S[Te],R)<0?(Y=Te+1,ne-=ge+1):ne=ge}return Y}h.lowerBound=J;function G(S,R,g,m,y){m===void 0&&(m=0),y===void 0&&(y=-1);var T=S.length;if(T===0)return 0;m<0?m=Math.max(0,m+T):m=Math.min(m,T-1),y<0?y=Math.max(0,y+T):y=Math.min(y,T-1);for(var Y=m,ne=y-m+1;ne>0;){var ge=ne>>1,Te=Y+ge;g(S[Te],R)>0?ne=ge:(Y=Te+1,ne-=ge+1)}return Y}h.upperBound=G;function K(S,R,g){if(S===R)return!0;if(S.length!==R.length)return!1;for(var m=0,y=S.length;m<y;++m)if(g?!g(S[m],R[m]):S[m]!==R[m])return!1;return!0}h.shallowEqual=K;function pe(S,R){R===void 0&&(R={});var g=R.start,m=R.stop,y=R.step;if(y===void 0&&(y=1),y===0)throw new Error("Slice `step` cannot be zero.");var T=S.length;g===void 0?g=y<0?T-1:0:g<0?g=Math.max(g+T,y<0?-1:0):g>=T&&(g=y<0?T-1:T),m===void 0?m=y<0?-1:T:m<0?m=Math.max(m+T,y<0?-1:0):m>=T&&(m=y<0?T-1:T);var Y;y<0&&m>=g||y>0&&g>=m?Y=0:y<0?Y=Math.floor((m-g+1)/y+1):Y=Math.floor((m-g-1)/y+1);for(var ne=[],ge=0;ge<Y;++ge)ne[ge]=S[g+ge*y];return ne}h.slice=pe;function ue(S,R,g){var m=S.length;if(!(m<=1)&&(R<0?R=Math.max(0,R+m):R=Math.min(R,m-1),g<0?g=Math.max(0,g+m):g=Math.min(g,m-1),R!==g)){for(var y=S[R],T=R<g?1:-1,Y=R;Y!==g;Y+=T)S[Y]=S[Y+T];S[g]=y}}h.move=ue;function ee(S,R,g){R===void 0&&(R=0),g===void 0&&(g=-1);var m=S.length;if(!(m<=1))for(R<0?R=Math.max(0,R+m):R=Math.min(R,m-1),g<0?g=Math.max(0,g+m):g=Math.min(g,m-1);R<g;){var y=S[R],T=S[g];S[R++]=T,S[g--]=y}}h.reverse=ee;function ke(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y=S.length;if(!(y<=1)&&(g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),m<0?m=Math.max(0,m+y):m=Math.min(m,y-1),!(g>=m))){var T=m-g+1;if(R>0?R=R%T:R<0&&(R=(R%T+T)%T),R!==0){var Y=g+R;ee(S,g,Y-1),ee(S,Y,m),ee(S,g,m)}}}h.rotate=ke;function xe(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y=S.length;if(y!==0){g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),m<0?m=Math.max(0,m+y):m=Math.min(m,y-1);var T;m<g?T=m+1+(y-g):T=m-g+1;for(var Y=0;Y<T;++Y)S[(g+Y)%y]=R}}h.fill=xe;function we(S,R,g){var m=S.length;R<0?R=Math.max(0,R+m):R=Math.min(R,m);for(var y=m;y>R;--y)S[y]=S[y-1];S[R]=g}h.insert=we;function V(S,R){var g=S.length;if(R<0&&(R+=g),!(R<0||R>=g)){for(var m=S[R],y=R+1;y<g;++y)S[y-1]=S[y];return S.length=g-1,m}}h.removeAt=V;function Ge(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y=_(S,R,g,m);return y!==-1&&V(S,y),y}h.removeFirstOf=Ge;function dt(S,R,g,m){g===void 0&&(g=-1),m===void 0&&(m=0);var y=P(S,R,g,m);return y!==-1&&V(S,y),y}h.removeLastOf=dt;function Ut(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y=S.length;if(y===0)return 0;g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),m<0?m=Math.max(0,m+y):m=Math.min(m,y-1);for(var T=0,Y=0;Y<y;++Y)g<=m&&Y>=g&&Y<=m&&S[Y]===R||m<g&&(Y<=m||Y>=g)&&S[Y]===R?T++:T>0&&(S[Y-T]=S[Y]);return T>0&&(S.length=y-T),T}h.removeAllOf=Ut;function yi(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y,T=I(S,R,g,m);return T!==-1&&(y=V(S,T)),{index:T,value:y}}h.removeFirstWhere=yi;function wi(S,R,g,m){g===void 0&&(g=-1),m===void 0&&(m=0);var y,T=L(S,R,g,m);return T!==-1&&(y=V(S,T)),{index:T,value:y}}h.removeLastWhere=wi;function Ft(S,R,g,m){g===void 0&&(g=0),m===void 0&&(m=-1);var y=S.length;if(y===0)return 0;g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),m<0?m=Math.max(0,m+y):m=Math.min(m,y-1);for(var T=0,Y=0;Y<y;++Y)g<=m&&Y>=g&&Y<=m&&R(S[Y],Y)||m<g&&(Y<=m||Y>=g)&&R(S[Y],Y)?T++:T>0&&(S[Y-T]=S[Y]);return T>0&&(S.length=y-T),T}h.removeAllWhere=Ft}(o.ArrayExt||(o.ArrayExt={}));function i(h){var _;return typeof h.iter=="function"?_=h.iter():_=new x(h),_}function r(h){return new M(h)}function s(h){return new C(h)}function c(h){return new D(h)}function d(h){return new re(h)}function f(h,_){for(var P=0,I=i(h),L;(L=I.next())!==void 0;)if(_(L,P++)===!1)return}function u(h,_){for(var P=0,I=i(h),L;(L=I.next())!==void 0;)if(!_(L,P++))return!1;return!0}function v(h,_){for(var P=0,I=i(h),L;(L=I.next())!==void 0;)if(_(L,P++))return!0;return!1}function w(h){for(var _=0,P=[],I=i(h),L;(L=I.next())!==void 0;)P[_++]=L;return P}function k(h){for(var _=i(h),P,I={};(P=_.next())!==void 0;)I[P[0]]=P[1];return I}var x=function(){function h(_){this._index=0,this._source=_}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._source);return _._index=this._index,_},h.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},h}(),M=function(){function h(_,P){P===void 0&&(P=Object.keys(_)),this._index=0,this._source=_,this._keys=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._source,this._keys);return _._index=this._index,_},h.prototype.next=function(){if(!(this._index>=this._keys.length)){var _=this._keys[this._index++];return _ in this._source?_:this.next()}},h}(),C=function(){function h(_,P){P===void 0&&(P=Object.keys(_)),this._index=0,this._source=_,this._keys=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._source,this._keys);return _._index=this._index,_},h.prototype.next=function(){if(!(this._index>=this._keys.length)){var _=this._keys[this._index++];return _ in this._source?this._source[_]:this.next()}},h}(),D=function(){function h(_,P){P===void 0&&(P=Object.keys(_)),this._index=0,this._source=_,this._keys=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._source,this._keys);return _._index=this._index,_},h.prototype.next=function(){if(!(this._index>=this._keys.length)){var _=this._keys[this._index++];return _ in this._source?[_,this._source[_]]:this.next()}},h}(),re=function(){function h(_){this._fn=_}return h.prototype.iter=function(){return this},h.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},h.prototype.next=function(){return this._fn.call(void 0)},h}();function z(){for(var h=[],_=0;_<arguments.length;_++)h[_]=arguments[_];return new q(i(h.map(i)))}var q=function(){function h(_){this._cloned=!1,this._source=_,this._active=void 0}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._source.clone());return _._active=this._active&&this._active.clone(),_._cloned=!0,this._cloned=!0,_},h.prototype.next=function(){if(this._active===void 0){var _=this._source.next();if(_===void 0)return;this._active=this._cloned?_.clone():_}var P=this._active.next();return P!==void 0?P:(this._active=void 0,this.next())},h}();function W(){return new Z}var Z=function(){function h(){}return h.prototype.iter=function(){return this},h.prototype.clone=function(){return new h},h.prototype.next=function(){},h}();function H(h,_){return _===void 0&&(_=0),new ae(i(h),_)}var ae=function(){function h(_,P){this._source=_,this._index=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){return new h(this._source.clone(),this._index)},h.prototype.next=function(){var _=this._source.next();if(_!==void 0)return[this._index++,_]},h}();function E(h,_){return new N(i(h),_)}var N=function(){function h(_,P){this._index=0,this._source=_,this._fn=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._source.clone(),this._fn);return _._index=this._index,_},h.prototype.next=function(){for(var _=this._fn,P=this._source,I;(I=P.next())!==void 0;)if(_(I,this._index++))return I},h}();function F(h,_){for(var P=0,I=i(h),L;(L=I.next())!==void 0;)if(_(L,P++))return L}function $(h,_){for(var P=0,I=i(h),L;(L=I.next())!==void 0;)if(_(L,P++))return P-1;return-1}function X(h,_){var P=i(h),I=P.next();if(I!==void 0){for(var L=I;(I=P.next())!==void 0;)_(I,L)<0&&(L=I);return L}}function ce(h,_){var P=i(h),I=P.next();if(I!==void 0){for(var L=I;(I=P.next())!==void 0;)_(I,L)>0&&(L=I);return L}}function Ve(h,_){var P=i(h),I=P.next();if(I!==void 0){for(var L=I,me=I;(I=P.next())!==void 0;)_(I,L)<0?L=I:_(I,me)>0&&(me=I);return[L,me]}}function yt(h,_){return new ot(i(h),_)}var ot=function(){function h(_,P){this._index=0,this._source=_,this._fn=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._source.clone(),this._fn);return _._index=this._index,_},h.prototype.next=function(){var _=this._source.next();if(_!==void 0)return this._fn.call(void 0,_,this._index++)},h}();function wt(h,_,P){return _===void 0?new lt(0,h,1):P===void 0?new lt(h,_,1):new lt(h,_,P)}var lt=function(){function h(_,P,I){this._index=0,this._start=_,this._stop=P,this._step=I,this._length=bt.rangeLength(_,P,I)}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._start,this._stop,this._step);return _._index=this._index,_},h.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++},h}(),bt;(function(h){function _(P,I,L){return L===0?1/0:P>I&&L>0||P<I&&L<0?0:Math.ceil((I-P)/L)}h.rangeLength=_})(bt||(bt={}));function Oe(h,_,P){var I=0,L=i(h),me=L.next();if(me===void 0&&P===void 0)throw new TypeError("Reduce of empty iterable with no initial value.");if(me===void 0)return P;var ie=L.next();if(ie===void 0&&P===void 0)return me;if(ie===void 0)return _(P,me,I++);var J;P===void 0?J=_(me,ie,I++):J=_(_(P,me,I++),ie,I++);for(var G;(G=L.next())!==void 0;)J=_(J,G,I++);return J}function kt(h,_){return new Qe(h,_)}function ct(h){return new Qe(h,1)}var Qe=function(){function h(_,P){this._value=_,this._count=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){return new h(this._value,this._count)},h.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value},h}();function $e(h){var _;return typeof h.retro=="function"?_=h.retro():_=new A(h),_}var A=function(){function h(_){this._source=_,this._index=_.length-1}return h.prototype.iter=function(){return this},h.prototype.clone=function(){var _=new h(this._source);return _._index=this._index,_},h.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]},h}();function gi(h){var _=[],P=new Set,I=new Map;return f(h,L),I.forEach(function(ie,J){me(J)}),_;function L(ie){var J=ie[0],G=ie[1],K=I.get(G);K?K.push(J):I.set(G,[J])}function me(ie){if(!P.has(ie)){P.add(ie);var J=I.get(ie);J&&J.forEach(me),_.push(ie)}}}function _i(h,_){return new Xe(i(h),_)}var Xe=function(){function h(_,P){this._source=_,this._step=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){return new h(this._source.clone(),this._step)},h.prototype.next=function(){for(var _=this._source.next(),P=this._step-1;P>0;--P)this._source.next();return _},h}();o.StringExt=void 0,function(h){function _(ie,J,G){G===void 0&&(G=0);for(var K=new Array(J.length),pe=0,ue=G,ee=J.length;pe<ee;++pe,++ue){if(ue=ie.indexOf(J[pe],ue),ue===-1)return null;K[pe]=ue}return K}h.findIndices=_;function P(ie,J,G){G===void 0&&(G=0);var K=_(ie,J,G);if(!K)return null;for(var pe=0,ue=0,ee=K.length;ue<ee;++ue){var ke=K[ue]-G;pe+=ke*ke}return{score:pe,indices:K}}h.matchSumOfSquares=P;function I(ie,J,G){G===void 0&&(G=0);var K=_(ie,J,G);if(!K)return null;for(var pe=0,ue=G-1,ee=0,ke=K.length;ee<ke;++ee){var xe=K[ee];pe+=xe-ue-1,ue=xe}return{score:pe,indices:K}}h.matchSumOfDeltas=I;function L(ie,J,G){for(var K=[],pe=0,ue=0,ee=J.length;pe<ee;){for(var ke=J[pe],xe=J[pe];++pe<ee&&J[pe]===xe+1;)xe++;ue<ke&&K.push(ie.slice(ue,ke)),ke<xe+1&&K.push(G(ie.slice(ke,xe+1))),ue=xe+1}return ue<ie.length&&K.push(ie.slice(ue)),K}h.highlight=L;function me(ie,J){return ie<J?-1:ie>J?1:0}h.cmp=me}(o.StringExt||(o.StringExt={}));function Nt(h,_){return new At(i(h),_)}var At=function(){function h(_,P){this._source=_,this._count=P}return h.prototype.iter=function(){return this},h.prototype.clone=function(){return new h(this._source.clone(),this._count)},h.prototype.next=function(){if(!(this._count<=0)){var _=this._source.next();if(_!==void 0)return this._count--,_}},h}();function xi(){for(var h=[],_=0;_<arguments.length;_++)h[_]=arguments[_];return new zt(h.map(i))}var zt=function(){function h(_){this._source=_}return h.prototype.iter=function(){return this},h.prototype.clone=function(){return new h(this._source.map(function(_){return _.clone()}))},h.prototype.next=function(){for(var _=new Array(this._source.length),P=0,I=this._source.length;P<I;++P){var L=this._source[P].next();if(L===void 0)return;_[P]=L}return _},h}();o.ArrayIterator=x,o.ChainIterator=q,o.EmptyIterator=Z,o.EnumerateIterator=ae,o.FilterIterator=N,o.FnIterator=re,o.ItemIterator=D,o.KeyIterator=M,o.MapIterator=ot,o.RangeIterator=lt,o.RepeatIterator=Qe,o.RetroArrayIterator=A,o.StrideIterator=Xe,o.TakeIterator=At,o.ValueIterator=C,o.ZipIterator=zt,o.chain=z,o.each=f,o.empty=W,o.enumerate=H,o.every=u,o.filter=E,o.find=F,o.findIndex=$,o.iter=i,o.iterFn=d,o.iterItems=c,o.iterKeys=r,o.iterValues=s,o.map=yt,o.max=ce,o.min=X,o.minmax=Ve,o.once=ct,o.range=wt,o.reduce=Oe,o.repeat=kt,o.retro=$e,o.some=v,o.stride=_i,o.take=Nt,o.toArray=w,o.toObject=k,o.topologicSort=gi,o.zip=xi,Object.defineProperty(o,"__esModule",{value:!0})})});var Vn=fe((ni,qn)=>{(function(o,i){typeof ni=="object"&&typeof qn!="undefined"?i(ni):typeof define=="function"&&define.amd?define(["exports"],i):(o=typeof globalThis!="undefined"?globalThis:o||self,i(o.lumino_properties={}))})(ni,function(o){"use strict";o.AttachedProperty=function(){function r(s){this._pid=i.nextPID(),this.name=s.name,this._create=s.create,this._coerce=s.coerce||null,this._compare=s.compare||null,this._changed=s.changed||null}return r.prototype.get=function(s){var c,d=i.ensureMap(s);return this._pid in d?c=d[this._pid]:c=d[this._pid]=this._createValue(s),c},r.prototype.set=function(s,c){var d,f=i.ensureMap(s);this._pid in f?d=f[this._pid]:d=f[this._pid]=this._createValue(s);var u=this._coerceValue(s,c);this._maybeNotify(s,d,f[this._pid]=u)},r.prototype.coerce=function(s){var c,d=i.ensureMap(s);this._pid in d?c=d[this._pid]:c=d[this._pid]=this._createValue(s);var f=this._coerceValue(s,c);this._maybeNotify(s,c,d[this._pid]=f)},r.prototype._createValue=function(s){var c=this._create;return c(s)},r.prototype._coerceValue=function(s,c){var d=this._coerce;return d?d(s,c):c},r.prototype._compareValue=function(s,c){var d=this._compare;return d?d(s,c):s===c},r.prototype._maybeNotify=function(s,c,d){var f=this._changed;f&&!this._compareValue(c,d)&&f(s,c,d)},r}(),function(r){function s(c){i.ownerData.delete(c)}r.clearData=s}(o.AttachedProperty||(o.AttachedProperty={}));var i;(function(r){r.ownerData=new WeakMap,r.nextPID=function(){var c=0;return function(){var d=Math.random(),f=(""+d).slice(2);return"pid-"+f+"-"+c++}}();function s(c){var d=r.ownerData.get(c);return d||(d=Object.create(null),r.ownerData.set(c,d),d)}r.ensureMap=s})(i||(i={})),Object.defineProperty(o,"__esModule",{value:!0})})});var Gn=fe((ai,$n)=>{(function(o,i){typeof ai=="object"&&typeof $n!="undefined"?i(ai,Hn(),Vn()):typeof define=="function"&&define.amd?define(["exports","@lumino/algorithm","@lumino/properties"],i):(o=typeof globalThis!="undefined"?globalThis:o||self,i(o.lumino_signaling={},o.lumino_algorithm,o.lumino_properties))})(ai,function(o,i,r){"use strict";o.Signal=function(){function c(d){this._blockedCount=0,this.sender=d}return c.prototype.block=function(d){this._blockedCount++;try{d()}finally{this._blockedCount--}},c.prototype.connect=function(d,f){return s.connect(this,d,f)},c.prototype.disconnect=function(d,f){return s.disconnect(this,d,f)},c.prototype.emit=function(d){this._blockedCount||s.emit(this,d)},c}(),function(c){function d(C,D){var re=s.blockedProperty;re.set(C,re.get(C)+1);try{D()}finally{re.set(C,re.get(C)-1)}}c.blockAll=d;function f(C,D){s.disconnectBetween(C,D)}c.disconnectBetween=f;function u(C){s.disconnectSender(C)}c.disconnectSender=u;function v(C){s.disconnectReceiver(C)}c.disconnectReceiver=v;function w(C){s.disconnectAll(C)}c.disconnectAll=w;function k(C){s.disconnectAll(C)}c.clearData=k;function x(){return s.exceptionHandler}c.getExceptionHandler=x;function M(C){var D=s.exceptionHandler;return s.exceptionHandler=C,D}c.setExceptionHandler=M}(o.Signal||(o.Signal={}));var s;(function(c){c.exceptionHandler=function(E){console.error(E)};function d(E,N,F){F=F||void 0;var $=M.get(E.sender);if($||($=[],M.set(E.sender,$)),z($,E,N,F))return!1;var X=F||N,ce=C.get(X);ce||(ce=[],C.set(X,ce));var Ve={signal:E,slot:N,thisArg:F};return $.push(Ve),ce.push(Ve),!0}c.connect=d;function f(E,N,F){F=F||void 0;var $=M.get(E.sender);if(!$||$.length===0)return!1;var X=z($,E,N,F);if(!X)return!1;var ce=F||N,Ve=C.get(ce);return X.signal=null,W($),W(Ve),!0}c.disconnect=f;function u(E,N){var F=M.get(E);if(!(!F||F.length===0)){var $=C.get(N);!$||$.length===0||(i.each($,function(X){X.signal&&X.signal.sender===E&&(X.signal=null)}),W(F),W($))}}c.disconnectBetween=u;function v(E){var N=M.get(E);!N||N.length===0||(i.each(N,function(F){if(F.signal){var $=F.thisArg||F.slot;F.signal=null,W(C.get($))}}),W(N))}c.disconnectSender=v;function w(E){var N=C.get(E);!N||N.length===0||(i.each(N,function(F){if(F.signal){var $=F.signal.sender;F.signal=null,W(M.get($))}}),W(N))}c.disconnectReceiver=w;function k(E){v(E),w(E)}c.disconnectAll=k;function x(E,N){if(!(c.blockedProperty.get(E.sender)>0)){var F=M.get(E.sender);if(!(!F||F.length===0))for(var $=0,X=F.length;$<X;++$){var ce=F[$];ce.signal===E&&q(ce,N)}}}c.emit=x;var M=new WeakMap,C=new WeakMap,D=new Set,re=function(){var E=typeof requestAnimationFrame=="function";return E?requestAnimationFrame:setImmediate}();function z(E,N,F,$){return i.find(E,function(X){return X.signal===N&&X.slot===F&&X.thisArg===$})}function q(E,N){var F=E.signal,$=E.slot,X=E.thisArg;try{$.call(X,F.sender,N)}catch(ce){c.exceptionHandler(ce)}}function W(E){D.size===0&&re(Z),D.add(E)}function Z(){D.forEach(H),D.clear()}function H(E){i.ArrayExt.removeAllWhere(E,ae)}function ae(E){return E.signal===null}c.blockedProperty=new r.AttachedProperty({name:"blocked",create:function(){return 0}})})(s||(s={})),Object.defineProperty(o,"__esModule",{value:!0})})});var Zn=fe(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.ActivityMonitor=void 0;var Bn=Gn(),Li=class{constructor(i){this._timer=-1,this._timeout=-1,this._isDisposed=!1,this._activityStopped=new Bn.Signal(this),i.signal.connect(this._onSignalFired,this),this._timeout=i.timeout||1e3}get activityStopped(){return this._activityStopped}get timeout(){return this._timeout}set timeout(i){this._timeout=i}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,Bn.Signal.clearData(this))}_onSignalFired(i,r){clearTimeout(this._timer),this._sender=i,this._args=r,this._timer=setTimeout(()=>{this._activityStopped.emit({sender:this._sender,args:this._args})},this._timeout)}};ri.ActivityMonitor=Li});var Kn=fe(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0})});var Qn=fe(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});It.MarkdownCodeBlocks=void 0;var jl;(function(o){o.CODE_BLOCK_MARKER="```";let i=[".markdown",".mdown",".mkdn",".md",".mkd",".mdwn",".mdtxt",".mdtext",".text",".txt",".Rmd"];class r{constructor(f){this.startLine=f,this.code="",this.endLine=-1}}o.MarkdownCodeBlock=r;function s(d){return i.indexOf(d)>-1}o.isMarkdown=s;function c(d){if(!d||d==="")return[];let f=d.split(`
|
|
2
|
-
`),u=[],
|
|
3
|
-
`);else{v=new r(w);let C=k.indexOf(o.CODE_BLOCK_MARKER),D=k.lastIndexOf(o.CODE_BLOCK_MARKER);C!==D&&(v.code=k.substring(C+o.CODE_BLOCK_MARKER.length,D),v.endLine=w,u.push(v),v=null)}}return u}o.findMarkdownCodeBlocks=c})(jl=It.MarkdownCodeBlocks||(It.MarkdownCodeBlocks={}))});var oi=fe((si,Xn)=>{(function(o,i){typeof si=="object"&&typeof Xn!="undefined"?i(si):typeof define=="function"&&define.amd?define(["exports"],i):(o=typeof globalThis!="undefined"?globalThis:o||self,i(o.lumino_coreutils={}))})(si,function(o){"use strict";o.JSONExt=void 0,function(f){f.emptyObject=Object.freeze({}),f.emptyArray=Object.freeze([]);function u(z){return z===null||typeof z=="boolean"||typeof z=="number"||typeof z=="string"}f.isPrimitive=u;function v(z){return Array.isArray(z)}f.isArray=v;function w(z){return!u(z)&&!v(z)}f.isObject=w;function k(z,q){if(z===q)return!0;if(u(z)||u(q))return!1;var W=v(z),Z=v(q);return W!==Z?!1:W&&Z?M(z,q):C(z,q)}f.deepEqual=k;function x(z){return u(z)?z:v(z)?D(z):re(z)}f.deepCopy=x;function M(z,q){if(z===q)return!0;if(z.length!==q.length)return!1;for(var W=0,Z=z.length;W<Z;++W)if(!k(z[W],q[W]))return!1;return!0}function C(z,q){if(z===q)return!0;for(var W in z)if(z[W]!==void 0&&!(W in q))return!1;for(var W in q)if(q[W]!==void 0&&!(W in z))return!1;for(var W in z){var Z=z[W],H=q[W];if(!(Z===void 0&&H===void 0)&&(Z===void 0||H===void 0||!k(Z,H)))return!1}return!0}function D(z){for(var q=new Array(z.length),W=0,Z=z.length;W<Z;++W)q[W]=x(z[W]);return q}function re(z){var q={};for(var W in z){var Z=z[W];Z!==void 0&&(q[W]=x(Z))}return q}}(o.JSONExt||(o.JSONExt={}));var i=function(){function f(){this._types=[],this._values=[]}return f.prototype.types=function(){return this._types.slice()},f.prototype.hasData=function(u){return this._types.indexOf(u)!==-1},f.prototype.getData=function(u){var v=this._types.indexOf(u);return v!==-1?this._values[v]:void 0},f.prototype.setData=function(u,v){this.clearData(u),this._types.push(u),this._values.push(v)},f.prototype.clearData=function(u){var v=this._types.indexOf(u);v!==-1&&(this._types.splice(v,1),this._values.splice(v,1))},f.prototype.clear=function(){this._types.length=0,this._values.length=0},f}(),r=function(){function f(){var u=this;this.promise=new Promise(function(v,w){u._resolve=v,u._reject=w})}return f.prototype.resolve=function(u){var v=this._resolve;v(u)},f.prototype.reject=function(u){var v=this._reject;v(u)},f}(),s=function(){function f(u){this.name=u,this._tokenStructuralPropertyT=null}return f}();function c(f){for(var u=0,v=0,w=f.length;v<w;++v)v%4===0&&(u=Math.random()*4294967295>>>0),f[v]=u&255,u>>>=8}o.Random=void 0,function(f){f.getRandomValues=function(){var u=typeof window!="undefined"&&(window.crypto||window.msCrypto)||null;return u&&typeof u.getRandomValues=="function"?function(w){return u.getRandomValues(w)}:c}()}(o.Random||(o.Random={}));function d(f){for(var u=new Uint8Array(16),v=new Array(256),w=0;w<16;++w)v[w]="0"+w.toString(16);for(var w=16;w<256;++w)v[w]=w.toString(16);return function(){return f(u),u[6]=64|u[6]&15,u[8]=128|u[8]&63,v[u[0]]+v[u[1]]+v[u[2]]+v[u[3]]+"-"+v[u[4]]+v[u[5]]+"-"+v[u[6]]+v[u[7]]+"-"+v[u[8]]+v[u[9]]+"-"+v[u[10]]+v[u[11]]+v[u[12]]+v[u[13]]+v[u[14]]+v[u[15]]}}o.UUID=void 0,function(f){f.uuid4=d(o.Random.getRandomValues)}(o.UUID||(o.UUID={})),o.MimeData=i,o.PromiseDelegate=r,o.Token=s,Object.defineProperty(o,"__esModule",{value:!0})})});var na=fe((pc,ia)=>{"use strict";function El(o,i){var r=o;i.slice(0,-1).forEach(function(c){r=r[c]||{}});var s=i[i.length-1];return s in r}function ea(o){return typeof o=="number"||/^0x[0-9a-f]+$/i.test(o)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(o)}function ta(o,i){return i==="constructor"&&typeof o[i]=="function"||i==="__proto__"}ia.exports=function(o,i){i||(i={});var r={bools:{},strings:{},unknownFn:null};typeof i.unknown=="function"&&(r.unknownFn=i.unknown),typeof i.boolean=="boolean"&&i.boolean?r.allBools=!0:[].concat(i.boolean).filter(Boolean).forEach(function(H){r.bools[H]=!0});var s={};function c(H){return s[H].some(function(ae){return r.bools[ae]})}Object.keys(i.alias||{}).forEach(function(H){s[H]=[].concat(i.alias[H]),s[H].forEach(function(ae){s[ae]=[H].concat(s[H].filter(function(E){return ae!==E}))})}),[].concat(i.string).filter(Boolean).forEach(function(H){r.strings[H]=!0,s[H]&&[].concat(s[H]).forEach(function(ae){r.strings[ae]=!0})});var d=i.default||{},f={_:[]};function u(H,ae){return r.allBools&&/^--[^=]+$/.test(ae)||r.strings[H]||r.bools[H]||s[H]}function v(H,ae,E){for(var N=H,F=0;F<ae.length-1;F++){var $=ae[F];if(ta(N,$))return;N[$]===void 0&&(N[$]={}),(N[$]===Object.prototype||N[$]===Number.prototype||N[$]===String.prototype)&&(N[$]={}),N[$]===Array.prototype&&(N[$]=[]),N=N[$]}var X=ae[ae.length-1];ta(N,X)||((N===Object.prototype||N===Number.prototype||N===String.prototype)&&(N={}),N===Array.prototype&&(N=[]),N[X]===void 0||r.bools[X]||typeof N[X]=="boolean"?N[X]=E:Array.isArray(N[X])?N[X].push(E):N[X]=[N[X],E])}function w(H,ae,E){if(!(E&&r.unknownFn&&!u(H,E)&&r.unknownFn(E)===!1)){var N=!r.strings[H]&&ea(ae)?Number(ae):ae;v(f,H.split("."),N),(s[H]||[]).forEach(function(F){v(f,F.split("."),N)})}}Object.keys(r.bools).forEach(function(H){w(H,d[H]===void 0?!1:d[H])});var k=[];o.indexOf("--")!==-1&&(k=o.slice(o.indexOf("--")+1),o=o.slice(0,o.indexOf("--")));for(var x=0;x<o.length;x++){var M=o[x],C,D;if(/^--.+=/.test(M)){var re=M.match(/^--([^=]+)=([\s\S]*)$/);C=re[1];var z=re[2];r.bools[C]&&(z=z!=="false"),w(C,z,M)}else if(/^--no-.+/.test(M))C=M.match(/^--no-(.+)/)[1],w(C,!1,M);else if(/^--.+/.test(M))C=M.match(/^--(.+)/)[1],D=o[x+1],D!==void 0&&!/^(-|--)[^-]/.test(D)&&!r.bools[C]&&!r.allBools&&(!s[C]||!c(C))?(w(C,D,M),x+=1):/^(true|false)$/.test(D)?(w(C,D==="true",M),x+=1):w(C,r.strings[C]?"":!0,M);else if(/^-[^-]+/.test(M)){for(var q=M.slice(1,-1).split(""),W=!1,Z=0;Z<q.length;Z++){if(D=M.slice(Z+2),D==="-"){w(q[Z],D,M);continue}if(/[A-Za-z]/.test(q[Z])&&D[0]==="="){w(q[Z],D.slice(1),M),W=!0;break}if(/[A-Za-z]/.test(q[Z])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(D)){w(q[Z],D,M),W=!0;break}if(q[Z+1]&&q[Z+1].match(/\W/)){w(q[Z],M.slice(Z+2),M),W=!0;break}else w(q[Z],r.strings[q[Z]]?"":!0,M)}C=M.slice(-1)[0],!W&&C!=="-"&&(o[x+1]&&!/^(-|--)[^-]/.test(o[x+1])&&!r.bools[C]&&(!s[C]||!c(C))?(w(C,o[x+1],M),x+=1):o[x+1]&&/^(true|false)$/.test(o[x+1])?(w(C,o[x+1]==="true",M),x+=1):w(C,r.strings[C]?"":!0,M))}else if((!r.unknownFn||r.unknownFn(M)!==!1)&&f._.push(r.strings._||!ea(M)?M:Number(M)),i.stopEarly){f._.push.apply(f._,o.slice(x+1));break}}return Object.keys(d).forEach(function(H){El(f,H.split("."))||(v(f,H.split("."),d[H]),(s[H]||[]).forEach(function(ae){v(f,ae.split("."),d[H])}))}),i["--"]?f["--"]=k.slice():k.forEach(function(H){f._.push(H)}),f}});var li=fe((hc,ra)=>{"use strict";function Ie(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function aa(o,i){for(var r="",s=0,c=-1,d=0,f,u=0;u<=o.length;++u){if(u<o.length)f=o.charCodeAt(u);else{if(f===47)break;f=47}if(f===47){if(!(c===u-1||d===1))if(c!==u-1&&d===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var v=r.lastIndexOf("/");if(v!==r.length-1){v===-1?(r="",s=0):(r=r.slice(0,v),s=r.length-1-r.lastIndexOf("/")),c=u,d=0;continue}}else if(r.length===2||r.length===1){r="",s=0,c=u,d=0;continue}}i&&(r.length>0?r+="/..":r="..",s=2)}else r.length>0?r+="/"+o.slice(c+1,u):r=o.slice(c+1,u),s=u-c-1;c=u,d=0}else f===46&&d!==-1?++d:d=-1}return r}function Nl(o,i){var r=i.dir||i.root,s=i.base||(i.name||"")+(i.ext||"");return r?r===i.root?r+s:r+o+s:s}var _t={resolve:function(){for(var i="",r=!1,s,c=arguments.length-1;c>=-1&&!r;c--){var d;c>=0?d=arguments[c]:(s===void 0&&(s=process.cwd()),d=s),Ie(d),d.length!==0&&(i=d+"/"+i,r=d.charCodeAt(0)===47)}return i=aa(i,!r),r?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(Ie(i),i.length===0)return".";var r=i.charCodeAt(0)===47,s=i.charCodeAt(i.length-1)===47;return i=aa(i,!r),i.length===0&&!r&&(i="."),i.length>0&&s&&(i+="/"),r?"/"+i:i},isAbsolute:function(i){return Ie(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,r=0;r<arguments.length;++r){var s=arguments[r];Ie(s),s.length>0&&(i===void 0?i=s:i+="/"+s)}return i===void 0?".":_t.normalize(i)},relative:function(i,r){if(Ie(i),Ie(r),i===r||(i=_t.resolve(i),r=_t.resolve(r),i===r))return"";for(var s=1;s<i.length&&i.charCodeAt(s)===47;++s);for(var c=i.length,d=c-s,f=1;f<r.length&&r.charCodeAt(f)===47;++f);for(var u=r.length,v=u-f,w=d<v?d:v,k=-1,x=0;x<=w;++x){if(x===w){if(v>w){if(r.charCodeAt(f+x)===47)return r.slice(f+x+1);if(x===0)return r.slice(f+x)}else d>w&&(i.charCodeAt(s+x)===47?k=x:x===0&&(k=0));break}var M=i.charCodeAt(s+x),C=r.charCodeAt(f+x);if(M!==C)break;M===47&&(k=x)}var D="";for(x=s+k+1;x<=c;++x)(x===c||i.charCodeAt(x)===47)&&(D.length===0?D+="..":D+="/..");return D.length>0?D+r.slice(f+k):(f+=k,r.charCodeAt(f)===47&&++f,r.slice(f))},_makeLong:function(i){return i},dirname:function(i){if(Ie(i),i.length===0)return".";for(var r=i.charCodeAt(0),s=r===47,c=-1,d=!0,f=i.length-1;f>=1;--f)if(r=i.charCodeAt(f),r===47){if(!d){c=f;break}}else d=!1;return c===-1?s?"/":".":s&&c===1?"//":i.slice(0,c)},basename:function(i,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');Ie(i);var s=0,c=-1,d=!0,f;if(r!==void 0&&r.length>0&&r.length<=i.length){if(r.length===i.length&&r===i)return"";var u=r.length-1,v=-1;for(f=i.length-1;f>=0;--f){var w=i.charCodeAt(f);if(w===47){if(!d){s=f+1;break}}else v===-1&&(d=!1,v=f+1),u>=0&&(w===r.charCodeAt(u)?--u===-1&&(c=f):(u=-1,c=v))}return s===c?c=v:c===-1&&(c=i.length),i.slice(s,c)}else{for(f=i.length-1;f>=0;--f)if(i.charCodeAt(f)===47){if(!d){s=f+1;break}}else c===-1&&(d=!1,c=f+1);return c===-1?"":i.slice(s,c)}},extname:function(i){Ie(i);for(var r=-1,s=0,c=-1,d=!0,f=0,u=i.length-1;u>=0;--u){var v=i.charCodeAt(u);if(v===47){if(!d){s=u+1;break}continue}c===-1&&(d=!1,c=u+1),v===46?r===-1?r=u:f!==1&&(f=1):r!==-1&&(f=-1)}return r===-1||c===-1||f===0||f===1&&r===c-1&&r===s+1?"":i.slice(r,c)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return Nl("/",i)},parse:function(i){Ie(i);var r={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return r;var s=i.charCodeAt(0),c=s===47,d;c?(r.root="/",d=1):d=0;for(var f=-1,u=0,v=-1,w=!0,k=i.length-1,x=0;k>=d;--k){if(s=i.charCodeAt(k),s===47){if(!w){u=k+1;break}continue}v===-1&&(w=!1,v=k+1),s===46?f===-1?f=k:x!==1&&(x=1):f!==-1&&(x=-1)}return f===-1||v===-1||x===0||x===1&&f===v-1&&f===u+1?v!==-1&&(u===0&&c?r.base=r.name=i.slice(1,v):r.base=r.name=i.slice(u,v)):(u===0&&c?(r.name=i.slice(1,f),r.base=i.slice(1,v)):(r.name=i.slice(u,f),r.base=i.slice(u,v)),r.ext=i.slice(f,v)),u>0?r.dir=i.slice(0,u-1):c&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};_t.posix=_t;ra.exports=_t});var oa=fe((mc,sa)=>{"use strict";sa.exports=function(i,r){if(r=r.split(":")[0],i=+i,!i)return!1;switch(r){case"http":case"ws":return i!==80;case"https":case"wss":return i!==443;case"ftp":return i!==21;case"gopher":return i!==70;case"file":return!1}return i!==0}});var da=fe(Wi=>{"use strict";var Al=Object.prototype.hasOwnProperty,zl;function la(o){try{return decodeURIComponent(o.replace(/\+/g," "))}catch{return null}}function ca(o){try{return encodeURIComponent(o)}catch{return null}}function Ul(o){for(var i=/([^=?#&]+)=?([^&]*)/g,r={},s;s=i.exec(o);){var c=la(s[1]),d=la(s[2]);c===null||d===null||c in r||(r[c]=d)}return r}function Fl(o,i){i=i||"";var r=[],s,c;typeof i!="string"&&(i="?");for(c in o)if(Al.call(o,c)){if(s=o[c],!s&&(s===null||s===zl||isNaN(s))&&(s=""),c=ca(c),s=ca(s),c===null||s===null)continue;r.push(c+"="+s)}return r.length?i+r.join("&"):""}Wi.stringify=Fl;Wi.parse=Ul});var _a=fe((gc,ga)=>{"use strict";var fa=oa(),ci=da(),Ll=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,pa=/[\n\r\t]/g,Wl=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,ha=/:\d+$/,Hl=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,ql=/^[a-zA-Z]:/;function qi(o){return(o||"").toString().replace(Ll,"")}var Hi=[["#","hash"],["?","query"],function(i,r){return Ye(r.protocol)?i.replace(/\\/g,"/"):i},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ua={hash:1,query:1};function ma(o){var i;typeof window!="undefined"?i=window:typeof global!="undefined"?i=global:typeof self!="undefined"?i=self:i={};var r=i.location||{};o=o||r;var s={},c=typeof o,d;if(o.protocol==="blob:")s=new je(unescape(o.pathname),{});else if(c==="string"){s=new je(o,{});for(d in ua)delete s[d]}else if(c==="object"){for(d in o)d in ua||(s[d]=o[d]);s.slashes===void 0&&(s.slashes=Wl.test(o.href))}return s}function Ye(o){return o==="file:"||o==="ftp:"||o==="http:"||o==="https:"||o==="ws:"||o==="wss:"}function va(o,i){o=qi(o),o=o.replace(pa,""),i=i||{};var r=Hl.exec(o),s=r[1]?r[1].toLowerCase():"",c=!!r[2],d=!!r[3],f=0,u;return c?d?(u=r[2]+r[3]+r[4],f=r[2].length+r[3].length):(u=r[2]+r[4],f=r[2].length):d?(u=r[3]+r[4],f=r[3].length):u=r[4],s==="file:"?f>=2&&(u=u.slice(2)):Ye(s)?u=r[4]:s?c&&(u=u.slice(2)):f>=2&&Ye(i.protocol)&&(u=r[4]),{protocol:s,slashes:c||Ye(s),slashesCount:f,rest:u}}function Vl(o,i){if(o==="")return i;for(var r=(i||"/").split("/").slice(0,-1).concat(o.split("/")),s=r.length,c=r[s-1],d=!1,f=0;s--;)r[s]==="."?r.splice(s,1):r[s]===".."?(r.splice(s,1),f++):f&&(s===0&&(d=!0),r.splice(s,1),f--);return d&&r.unshift(""),(c==="."||c==="..")&&r.push(""),r.join("/")}function je(o,i,r){if(o=qi(o),o=o.replace(pa,""),!(this instanceof je))return new je(o,i,r);var s,c,d,f,u,v,w=Hi.slice(),k=typeof i,x=this,M=0;for(k!=="object"&&k!=="string"&&(r=i,i=null),r&&typeof r!="function"&&(r=ci.parse),i=ma(i),c=va(o||"",i),s=!c.protocol&&!c.slashes,x.slashes=c.slashes||s&&i.slashes,x.protocol=c.protocol||i.protocol||"",o=c.rest,(c.protocol==="file:"&&(c.slashesCount!==2||ql.test(o))||!c.slashes&&(c.protocol||c.slashesCount<2||!Ye(x.protocol)))&&(w[3]=[/(.*)/,"pathname"]);M<w.length;M++){if(f=w[M],typeof f=="function"){o=f(o,x);continue}d=f[0],v=f[1],d!==d?x[v]=o:typeof d=="string"?(u=d==="@"?o.lastIndexOf(d):o.indexOf(d),~u&&(typeof f[2]=="number"?(x[v]=o.slice(0,u),o=o.slice(u+f[2])):(x[v]=o.slice(u),o=o.slice(0,u)))):(u=d.exec(o))&&(x[v]=u[1],o=o.slice(0,u.index)),x[v]=x[v]||s&&f[3]&&i[v]||"",f[4]&&(x[v]=x[v].toLowerCase())}r&&(x.query=r(x.query)),s&&i.slashes&&x.pathname.charAt(0)!=="/"&&(x.pathname!==""||i.pathname!=="")&&(x.pathname=Vl(x.pathname,i.pathname)),x.pathname.charAt(0)!=="/"&&Ye(x.protocol)&&(x.pathname="/"+x.pathname),fa(x.port,x.protocol)||(x.host=x.hostname,x.port=""),x.username=x.password="",x.auth&&(u=x.auth.indexOf(":"),~u?(x.username=x.auth.slice(0,u),x.username=encodeURIComponent(decodeURIComponent(x.username)),x.password=x.auth.slice(u+1),x.password=encodeURIComponent(decodeURIComponent(x.password))):x.username=encodeURIComponent(decodeURIComponent(x.auth)),x.auth=x.password?x.username+":"+x.password:x.username),x.origin=x.protocol!=="file:"&&Ye(x.protocol)&&x.host?x.protocol+"//"+x.host:"null",x.href=x.toString()}function $l(o,i,r){var s=this;switch(o){case"query":typeof i=="string"&&i.length&&(i=(r||ci.parse)(i)),s[o]=i;break;case"port":s[o]=i,fa(i,s.protocol)?i&&(s.host=s.hostname+":"+i):(s.host=s.hostname,s[o]="");break;case"hostname":s[o]=i,s.port&&(i+=":"+s.port),s.host=i;break;case"host":s[o]=i,ha.test(i)?(i=i.split(":"),s.port=i.pop(),s.hostname=i.join(":")):(s.hostname=i,s.port="");break;case"protocol":s.protocol=i.toLowerCase(),s.slashes=!r;break;case"pathname":case"hash":if(i){var c=o==="pathname"?"/":"#";s[o]=i.charAt(0)!==c?c+i:i}else s[o]=i;break;case"username":case"password":s[o]=encodeURIComponent(i);break;case"auth":var d=i.indexOf(":");~d?(s.username=i.slice(0,d),s.username=encodeURIComponent(decodeURIComponent(s.username)),s.password=i.slice(d+1),s.password=encodeURIComponent(decodeURIComponent(s.password))):s.username=encodeURIComponent(decodeURIComponent(i))}for(var f=0;f<Hi.length;f++){var u=Hi[f];u[4]&&(s[u[1]]=s[u[1]].toLowerCase())}return s.auth=s.password?s.username+":"+s.password:s.username,s.origin=s.protocol!=="file:"&&Ye(s.protocol)&&s.host?s.protocol+"//"+s.host:"null",s.href=s.toString(),s}function Gl(o){(!o||typeof o!="function")&&(o=ci.stringify);var i,r=this,s=r.host,c=r.protocol;c&&c.charAt(c.length-1)!==":"&&(c+=":");var d=c+(r.protocol&&r.slashes||Ye(r.protocol)?"//":"");return r.username?(d+=r.username,r.password&&(d+=":"+r.password),d+="@"):r.password?(d+=":"+r.password,d+="@"):r.protocol!=="file:"&&Ye(r.protocol)&&!s&&r.pathname!=="/"&&(d+="@"),(s[s.length-1]===":"||ha.test(r.hostname)&&!r.port)&&(s+=":"),d+=s+r.pathname,i=typeof r.query=="object"?o(r.query):r.query,i&&(d+=i.charAt(0)!=="?"?"?"+i:i),r.hash&&(d+=r.hash),d}je.prototype={set:$l,toString:Gl};je.extractProtocol=va;je.location=ma;je.trimLeft=qi;je.qs=ci;ga.exports=je});var $i=fe(at=>{"use strict";var Bl=at&&at.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(at,"__esModule",{value:!0});at.URLExt=void 0;var Zl=li(),Vi=Bl(_a()),Jl;(function(o){function i(w){if(typeof document!="undefined"&&document){let k=document.createElement("a");return k.href=w,k}return Vi.default(w)}o.parse=i;function r(w){return Vi.default(w).hostname}o.getHostName=r;function s(w){return w&&i(w).toString()}o.normalize=s;function c(...w){let k=Vi.default(w[0],{}),x=`${k.protocol}${k.slashes?"//":""}${k.auth}${k.auth?"@":""}${k.host}`,M=Zl.posix.join(`${x&&k.pathname[0]!=="/"?"/":""}${k.pathname}`,...w.slice(1));return`${x}${M==="."?"":M}`}o.join=c;function d(w){return c(...w.split("/").map(encodeURIComponent))}o.encodeParts=d;function f(w){let k=Object.keys(w).filter(x=>x.length>0);return k.length?"?"+k.map(x=>{let M=encodeURIComponent(String(w[x]));return x+(M?"="+M:"")}).join("&"):""}o.objectToQueryString=f;function u(w){return w.replace(/^\?/,"").split("&").reduce((k,x)=>{let[M,C]=x.split("=");return M.length>0&&(k[M]=decodeURIComponent(C||"")),k},{})}o.queryStringToObject=u;function v(w){let{protocol:k}=i(w);return(!k||w.toLowerCase().indexOf(k)!==0)&&w.indexOf("/")!==0}o.isLocal=v})(Jl=at.URLExt||(at.URLExt={}))});var xa=fe((exports,module)=>{"use strict";var __importDefault=exports&&exports.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0});exports.PageConfig=void 0;var coreutils_1=oi(),minimist_1=__importDefault(na()),url_1=$i(),PageConfig;(function(PageConfig){function getOption(name){if(configData)return configData[name]||getBodyData(name);configData=Object.create(null);let found=!1;if(typeof document!="undefined"&&document){let o=document.getElementById("jupyter-config-data");o&&(configData=JSON.parse(o.textContent||""),found=!0)}if(!found&&typeof process!="undefined"&&process.argv)try{let cli=minimist_1.default(process.argv.slice(2)),path=li(),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(o){console.error(o)}if(!coreutils_1.JSONExt.isObject(configData))configData=Object.create(null);else for(let o in configData)typeof configData[o]!="string"&&(configData[o]=JSON.stringify(configData[o]));return configData[name]||getBodyData(name)}PageConfig.getOption=getOption;function setOption(o,i){let r=getOption(o);return configData[o]=i,r}PageConfig.setOption=setOption;function getBaseUrl(){return url_1.URLExt.normalize(getOption("baseUrl")||"/")}PageConfig.getBaseUrl=getBaseUrl;function getTreeUrl(){return url_1.URLExt.join(getBaseUrl(),getOption("treeUrl"))}PageConfig.getTreeUrl=getTreeUrl;function getShareUrl(){return url_1.URLExt.normalize(getOption("shareUrl")||getBaseUrl())}PageConfig.getShareUrl=getShareUrl;function getTreeShareUrl(){return url_1.URLExt.normalize(url_1.URLExt.join(getShareUrl(),getOption("treeUrl")))}PageConfig.getTreeShareUrl=getTreeShareUrl;function getUrl(o){var i,r,s,c;let d=o.toShare?getShareUrl():getBaseUrl(),f=(i=o.mode)!==null&&i!==void 0?i:getOption("mode"),u=(r=o.workspace)!==null&&r!==void 0?r:getOption("workspace"),v=f==="single-document"?"doc":"lab";d=url_1.URLExt.join(d,v),u!==PageConfig.defaultWorkspace&&(d=url_1.URLExt.join(d,"workspaces",encodeURIComponent((s=getOption("workspace"))!==null&&s!==void 0?s:PageConfig.defaultWorkspace)));let w=(c=o.treePath)!==null&&c!==void 0?c:getOption("treePath");return w&&(d=url_1.URLExt.join(d,"tree",url_1.URLExt.encodeParts(w))),d}PageConfig.getUrl=getUrl,PageConfig.defaultWorkspace="default";function getWsUrl(o){let i=getOption("wsUrl");if(!i){if(o=o?url_1.URLExt.normalize(o):getBaseUrl(),o.indexOf("http")!==0)return"";i="ws"+o.slice(4)}return url_1.URLExt.normalize(i)}PageConfig.getWsUrl=getWsUrl;function getNBConvertURL({path:o,format:i,download:r}){let s=url_1.URLExt.encodeParts(o),c=url_1.URLExt.join(getBaseUrl(),"nbconvert",i,s);return r?c+"?download=true":c}PageConfig.getNBConvertURL=getNBConvertURL;function getToken(){return getOption("token")||getBodyData("jupyterApiToken")}PageConfig.getToken=getToken;function getNotebookVersion(){let o=getOption("notebookVersion");return o===""?[0,0,0]:JSON.parse(o)}PageConfig.getNotebookVersion=getNotebookVersion;let configData=null;function getBodyData(o){if(typeof document=="undefined"||!document.body)return"";let i=document.body.dataset[o];return typeof i=="undefined"?"":decodeURIComponent(i)}let Extension;(function(o){function i(c){try{let d=getOption(c);if(d)return JSON.parse(d)}catch(d){console.warn(`Unable to parse ${c}.`,d)}return[]}o.deferred=i("deferredExtensions"),o.disabled=i("disabledExtensions");function r(c){let d=c.indexOf(":"),f="";return d!==-1&&(f=c.slice(0,d)),o.deferred.some(u=>u===c||f&&u===f)}o.isDeferred=r;function s(c){let d=c.indexOf(":"),f="";return d!==-1&&(f=c.slice(0,d)),o.disabled.some(u=>u===c||f&&u===f)}o.isDisabled=s})(Extension=PageConfig.Extension||(PageConfig.Extension={}))})(PageConfig=exports.PageConfig||(exports.PageConfig={}))});var ya=fe(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.PathExt=void 0;var rt=li(),Kl;(function(o){function i(...k){let x=rt.posix.join(...k);return x==="."?"":w(x)}o.join=i;function r(k,x){return rt.posix.basename(k,x)}o.basename=r;function s(k){let x=w(rt.posix.dirname(k));return x==="."?"":x}o.dirname=s;function c(k){return rt.posix.extname(k)}o.extname=c;function d(k){return k===""?"":w(rt.posix.normalize(k))}o.normalize=d;function f(...k){return w(rt.posix.resolve(...k))}o.resolve=f;function u(k,x){return w(rt.posix.relative(k,x))}o.relative=u;function v(k){return k.length>0&&k.indexOf(".")!==0&&(k=`.${k}`),k}o.normalizeExtension=v;function w(k){return k.indexOf("/")===0&&(k=k.slice(1)),k}o.removeSlash=w})(Kl=Yt.PathExt||(Yt.PathExt={}))});var wa=fe(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});jt.Text=void 0;var Ql;(function(o){let i=2>1;function r(f,u){if(i)return f;let v=f;for(let w=0;w+1<u.length&&w<f;w++){let k=u.charCodeAt(w);if(k>=55296&&k<=56319){let x=u.charCodeAt(w+1);x>=56320&&x<=57343&&(v--,w++)}}return v}o.jsIndexToCharIndex=r;function s(f,u){if(i)return f;let v=f;for(let w=0;w+1<u.length&&w<v;w++){let k=u.charCodeAt(w);if(k>=55296&&k<=56319){let x=u.charCodeAt(w+1);x>=56320&&x<=57343&&(v++,w++)}}return v}o.charIndexToJsIndex=s;function c(f,u=!1){return f.replace(/^(\w)|[\s-_:]+(\w)/g,function(v,w,k){return k?k.toUpperCase():u?w.toUpperCase():w.toLowerCase()})}o.camelCase=c;function d(f){return(f||"").toLowerCase().split(" ").map(u=>u.charAt(0).toUpperCase()+u.slice(1)).join(" ")}o.titleCase=d})(Ql=jt.Text||(jt.Text={}))});var ba=fe((Gi,xt)=>{(function(o,i){typeof Gi=="object"&&typeof xt!="undefined"?xt.exports=i():typeof define=="function"&&define.amd?define(i):o.moment=i()})(Gi,function(){"use strict";var o;function i(){return o.apply(null,arguments)}function r(e){o=e}function s(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function c(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(d(e,t))return!1;return!0}function u(e){return e===void 0}function v(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function w(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function k(e,t){var n=[],a,l=e.length;for(a=0;a<l;++a)n.push(t(e[a],a));return n}function x(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function M(e,t,n,a){return xn(e,t,n,a,!0).utc()}function C(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function D(e){return e._pf==null&&(e._pf=C()),e._pf}var re;Array.prototype.some?re=Array.prototype.some:re=function(e){var t=Object(this),n=t.length>>>0,a;for(a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1};function z(e){if(e._isValid==null){var t=D(e),n=re.call(t.parsedDateParts,function(l){return l!=null}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=a;else return a}return e._isValid}function q(e){var t=M(NaN);return e!=null?x(D(t),e):D(t).userInvalidated=!0,t}var W=i.momentProperties=[],Z=!1;function H(e,t){var n,a,l,p=W.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=D(t)),u(t._locale)||(e._locale=t._locale),p>0)for(n=0;n<p;n++)a=W[n],l=t[a],u(l)||(e[a]=l);return e}function ae(e){H(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Z===!1&&(Z=!0,i.updateOffset(this),Z=!1)}function E(e){return e instanceof ae||e!=null&&e._isAMomentObject!=null}function N(e){i.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function F(e,t){var n=!0;return x(function(){if(i.deprecationHandler!=null&&i.deprecationHandler(null,e),n){var a=[],l,p,b,U=arguments.length;for(p=0;p<U;p++){if(l="",typeof arguments[p]=="object"){l+=`
|
|
4
|
-
[`+p+"] ";for(b in arguments[0])d(arguments[0],b)&&(l+=b+": "+arguments[0][b]+", ");l=l.slice(0,-2)}else l=arguments[p];
|
|
5
|
-
Arguments: `+Array.prototype.slice.call(
|
|
6
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var $={};function X(e,t){i.deprecationHandler!=null&&i.deprecationHandler(e,t),$[e]||(N(t),$[e]=!0)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null;function ce(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Ve(e){var t,n;for(n in e)d(e,n)&&(t=e[n],ce(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function yt(e,t){var n=x({},e),a;for(a in t)d(t,a)&&(c(e[a])&&c(t[a])?(n[a]={},x(n[a],e[a]),x(n[a],t[a])):t[a]!=null?n[a]=t[a]:delete n[a]);for(a in e)d(e,a)&&!d(t,a)&&c(e[a])&&(n[a]=x({},n[a]));return n}function ot(e){e!=null&&this.set(e)}var wt;Object.keys?wt=Object.keys:wt=function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var lt={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function bt(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return ce(a)?a.call(t,n):a}function Oe(e,t,n){var a=""+Math.abs(e),l=t-a.length,p=e>=0;return(p?n?"+":"":"-")+Math.pow(10,Math.max(0,l)).toString().substr(1)+a}var kt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ct=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Qe={},$e={};function A(e,t,n,a){var l=a;typeof a=="string"&&(l=function(){return this[a]()}),e&&($e[e]=l),t&&($e[t[0]]=function(){return Oe(l.apply(this,arguments),t[1],t[2])}),n&&($e[n]=function(){return this.localeData().ordinal(l.apply(this,arguments),e)})}function gi(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function _i(e){var t=e.match(kt),n,a;for(n=0,a=t.length;n<a;n++)$e[t[n]]?t[n]=$e[t[n]]:t[n]=gi(t[n]);return function(l){var p="",b;for(b=0;b<a;b++)p+=ce(t[b])?t[b].call(l,e):t[b];return p}}function Xe(e,t){return e.isValid()?(t=Nt(t,e.localeData()),Qe[t]=Qe[t]||_i(t),Qe[t](e)):e.localeData().invalidDate()}function Nt(e,t){var n=5;function a(l){return t.longDateFormat(l)||l}for(ct.lastIndex=0;n>=0&&ct.test(e);)e=e.replace(ct,a),ct.lastIndex=0,n-=1;return e}var At={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function xi(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(kt).map(function(a){return a==="MMMM"||a==="MM"||a==="DD"||a==="dddd"?a.slice(1):a}).join(""),this._longDateFormat[e])}var zt="Invalid date";function h(){return this._invalidDate}var _="%d",P=/\d{1,2}/;function I(e){return this._ordinal.replace("%d",e)}var L={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function me(e,t,n,a){var l=this._relativeTime[n];return ce(l)?l(e,t,n,a):l.replace(/%d/i,e)}function ie(e,t){var n=this._relativeTime[e>0?"future":"past"];return ce(n)?n(t):n.replace(/%s/i,t)}var J={};function G(e,t){var n=e.toLowerCase();J[n]=J[n+"s"]=J[t]=e}function K(e){return typeof e=="string"?J[e]||J[e.toLowerCase()]:void 0}function pe(e){var t={},n,a;for(a in e)d(e,a)&&(n=K(a),n&&(t[n]=e[a]));return t}var ue={};function ee(e,t){ue[e]=t}function ke(e){var t=[],n;for(n in e)d(e,n)&&t.push({unit:n,priority:ue[n]});return t.sort(function(a,l){return a.priority-l.priority}),t}function xe(e){return e%4===0&&e%100!==0||e%400===0}function we(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=we(t)),n}function Ge(e,t){return function(n){return n!=null?(Ut(this,e,n),i.updateOffset(this,t),this):dt(this,e)}}function dt(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ut(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&xe(e.year())&&e.month()===1&&e.date()===29?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),qt(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function yi(e){return e=K(e),ce(this[e])?this[e]():this}function wi(e,t){if(typeof e=="object"){e=pe(e);var n=ke(e),a,l=n.length;for(a=0;a<l;a++)this[n[a].unit](e[n[a].unit])}else if(e=K(e),ce(this[e]))return this[e](t);return this}var Ft=/\d/,S=/\d\d/,R=/\d{3}/,g=/\d{4}/,m=/[+-]?\d{6}/,y=/\d\d?/,T=/\d\d\d\d?/,Y=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,ge=/\d{1,4}/,Te=/[+-]?\d{1,6}/,ut=/\d+/,Lt=/[+-]?\d+/,$a=/Z|[+-]\d\d:?\d\d/gi,Wt=/Z|[+-]\d\d(?::?\d\d)?/gi,Ga=/[+-]?\d+(\.\d{1,3})?/,St=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ht;Ht={};function j(e,t,n){Ht[e]=ce(t)?t:function(a,l){return a&&n?n:t}}function Ba(e,t){return d(Ht,e)?Ht[e](t._strict,t._locale):new RegExp(Za(e))}function Za(e){return Se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,a,l,p){return n||a||l||p}))}function Se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var bi={};function se(e,t){var n,a=t,l;for(typeof e=="string"&&(e=[e]),v(t)&&(a=function(p,b){b[t]=V(p)}),l=e.length,n=0;n<l;n++)bi[e[n]]=a}function Mt(e,t){se(e,function(n,a,l,p){l._w=l._w||{},t(n,l._w,l,p)})}function Ja(e,t,n){t!=null&&d(bi,e)&&bi[e](t,n._a,n,e)}var _e=0,Ne=1,Ce=2,ve=3,De=4,Ae=5,et=6,Ka=7,Qa=8;function Xa(e,t){return(e%t+t)%t}var he;Array.prototype.indexOf?he=Array.prototype.indexOf:he=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function qt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Xa(t,12);return e+=(t-n)/12,n===1?xe(e)?29:28:31-n%7%2}A("M",["MM",2],"Mo",function(){return this.month()+1}),A("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),A("MMMM",0,0,function(e){return this.localeData().months(this,e)}),G("month","M"),ee("month",8),j("M",y),j("MM",y,S),j("MMM",function(e,t){return t.monthsShortRegex(e)}),j("MMMM",function(e,t){return t.monthsRegex(e)}),se(["M","MM"],function(e,t){t[Ne]=V(e)-1}),se(["MMM","MMMM"],function(e,t,n,a){var l=n._locale.monthsParse(e,a,n._strict);l!=null?t[Ne]=l:D(n).invalidMonth=e});var er="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),an="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,tr=St,ir=St;function nr(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rn).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone}function ar(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rn.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function rr(e,t,n){var a,l,p,b=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)p=M([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(p,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(p,"").toLocaleLowerCase();return n?t==="MMM"?(l=he.call(this._shortMonthsParse,b),l!==-1?l:null):(l=he.call(this._longMonthsParse,b),l!==-1?l:null):t==="MMM"?(l=he.call(this._shortMonthsParse,b),l!==-1?l:(l=he.call(this._longMonthsParse,b),l!==-1?l:null)):(l=he.call(this._longMonthsParse,b),l!==-1?l:(l=he.call(this._shortMonthsParse,b),l!==-1?l:null))}function sr(e,t,n){var a,l,p;if(this._monthsParseExact)return rr.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(l=M([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(l,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(l,"").replace(".","")+"$","i")),!n&&!this._monthsParse[a]&&(p="^"+this.months(l,"")+"|^"+this.monthsShort(l,""),this._monthsParse[a]=new RegExp(p.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[a].test(e))return a;if(n&&t==="MMM"&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}}function sn(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=V(t);else if(t=e.localeData().monthsParse(t),!v(t))return e}return n=Math.min(e.date(),qt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function on(e){return e!=null?(sn(this,e),i.updateOffset(this,!0),this):dt(this,"Month")}function or(){return qt(this.year(),this.month())}function lr(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ln.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=tr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function cr(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ln.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=ir),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ln(){function e(b,U){return U.length-b.length}var t=[],n=[],a=[],l,p;for(l=0;l<12;l++)p=M([2e3,l]),t.push(this.monthsShort(p,"")),n.push(this.months(p,"")),a.push(this.months(p,"")),a.push(this.monthsShort(p,""));for(t.sort(e),n.sort(e),a.sort(e),l=0;l<12;l++)t[l]=Se(t[l]),n[l]=Se(n[l]);for(l=0;l<24;l++)a[l]=Se(a[l]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}A("Y",0,0,function(){var e=this.year();return e<=9999?Oe(e,4):"+"+e}),A(0,["YY",2],0,function(){return this.year()%100}),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),G("year","y"),ee("year",1),j("Y",Lt),j("YY",y,S),j("YYYY",ge,g),j("YYYYY",Te,m),j("YYYYYY",Te,m),se(["YYYYY","YYYYYY"],_e),se("YYYY",function(e,t){t[_e]=e.length===2?i.parseTwoDigitYear(e):V(e)}),se("YY",function(e,t){t[_e]=i.parseTwoDigitYear(e)}),se("Y",function(e,t){t[_e]=parseInt(e,10)});function Ot(e){return xe(e)?366:365}i.parseTwoDigitYear=function(e){return V(e)+(V(e)>68?1900:2e3)};var cn=Ge("FullYear",!0);function dr(){return xe(this.year())}function ur(e,t,n,a,l,p,b){var U;return e<100&&e>=0?(U=new Date(e+400,t,n,a,l,p,b),isFinite(U.getFullYear())&&U.setFullYear(e)):U=new Date(e,t,n,a,l,p,b),U}function Dt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Vt(e,t,n){var a=7+t-n,l=(7+Dt(e,0,a).getUTCDay()-t)%7;return-l+a-1}function dn(e,t,n,a,l){var p=(7+n-a)%7,b=Vt(e,a,l),U=1+7*(t-1)+p+b,B,oe;return U<=0?(B=e-1,oe=Ot(B)+U):U>Ot(e)?(B=e+1,oe=U-Ot(e)):(B=e,oe=U),{year:B,dayOfYear:oe}}function Pt(e,t,n){var a=Vt(e.year(),t,n),l=Math.floor((e.dayOfYear()-a-1)/7)+1,p,b;return l<1?(b=e.year()-1,p=l+ze(b,t,n)):l>ze(e.year(),t,n)?(p=l-ze(e.year(),t,n),b=e.year()+1):(b=e.year(),p=l),{week:p,year:b}}function ze(e,t,n){var a=Vt(e,t,n),l=Vt(e+1,t,n);return(Ot(e)-a+l)/7}A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),G("week","w"),G("isoWeek","W"),ee("week",5),ee("isoWeek",5),j("w",y),j("ww",y,S),j("W",y),j("WW",y,S),Mt(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=V(e)});function fr(e){return Pt(e,this._week.dow,this._week.doy).week}var pr={dow:0,doy:6};function hr(){return this._week.dow}function mr(){return this._week.doy}function vr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function gr(e){var t=Pt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}A("d",0,"do","day"),A("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),A("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),A("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),G("day","d"),G("weekday","e"),G("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),j("d",y),j("e",y),j("E",y),j("dd",function(e,t){return t.weekdaysMinRegex(e)}),j("ddd",function(e,t){return t.weekdaysShortRegex(e)}),j("dddd",function(e,t){return t.weekdaysRegex(e)}),Mt(["dd","ddd","dddd"],function(e,t,n,a){var l=n._locale.weekdaysParse(e,a,n._strict);l!=null?t.d=l:D(n).invalidWeekday=e}),Mt(["d","e","E"],function(e,t,n,a){t[a]=V(e)});function _r(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function xr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ki(e,t){return e.slice(t,7).concat(e.slice(0,t))}var yr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),un="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),br=St,kr=St,Sr=St;function Mr(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ki(n,this._week.dow):e?n[e.day()]:n}function Or(e){return e===!0?ki(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Dr(e){return e===!0?ki(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Pr(e,t,n){var a,l,p,b=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)p=M([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(p,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(p,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(p,"").toLocaleLowerCase();return n?t==="dddd"?(l=he.call(this._weekdaysParse,b),l!==-1?l:null):t==="ddd"?(l=he.call(this._shortWeekdaysParse,b),l!==-1?l:null):(l=he.call(this._minWeekdaysParse,b),l!==-1?l:null):t==="dddd"?(l=he.call(this._weekdaysParse,b),l!==-1||(l=he.call(this._shortWeekdaysParse,b),l!==-1)?l:(l=he.call(this._minWeekdaysParse,b),l!==-1?l:null)):t==="ddd"?(l=he.call(this._shortWeekdaysParse,b),l!==-1||(l=he.call(this._weekdaysParse,b),l!==-1)?l:(l=he.call(this._minWeekdaysParse,b),l!==-1?l:null)):(l=he.call(this._minWeekdaysParse,b),l!==-1||(l=he.call(this._weekdaysParse,b),l!==-1)?l:(l=he.call(this._shortWeekdaysParse,b),l!==-1?l:null))}function Rr(e,t,n){var a,l,p;if(this._weekdaysParseExact)return Pr.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(l=M([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(l,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(l,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(l,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(p="^"+this.weekdays(l,"")+"|^"+this.weekdaysShort(l,"")+"|^"+this.weekdaysMin(l,""),this._weekdaysParse[a]=new RegExp(p.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[a].test(e))return a;if(n&&t==="ddd"&&this._shortWeekdaysParse[a].test(e))return a;if(n&&t==="dd"&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}}function Tr(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=_r(e,this.localeData()),this.add(e-t,"d")):t}function Cr(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ir(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=xr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Yr(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Si.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=br),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function jr(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Si.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=kr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Er(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Si.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Sr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Si(){function e(ye,He){return He.length-ye.length}var t=[],n=[],a=[],l=[],p,b,U,B,oe;for(p=0;p<7;p++)b=M([2e3,1]).day(p),U=Se(this.weekdaysMin(b,"")),B=Se(this.weekdaysShort(b,"")),oe=Se(this.weekdays(b,"")),t.push(U),n.push(B),a.push(oe),l.push(U),l.push(B),l.push(oe);t.sort(e),n.sort(e),a.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Mi(){return this.hours()%12||12}function Nr(){return this.hours()||24}A("H",["HH",2],0,"hour"),A("h",["hh",2],0,Mi),A("k",["kk",2],0,Nr),A("hmm",0,0,function(){return""+Mi.apply(this)+Oe(this.minutes(),2)}),A("hmmss",0,0,function(){return""+Mi.apply(this)+Oe(this.minutes(),2)+Oe(this.seconds(),2)}),A("Hmm",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)}),A("Hmmss",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)+Oe(this.seconds(),2)});function fn(e,t){A(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}fn("a",!0),fn("A",!1),G("hour","h"),ee("hour",13);function pn(e,t){return t._meridiemParse}j("a",pn),j("A",pn),j("H",y),j("h",y),j("k",y),j("HH",y,S),j("hh",y,S),j("kk",y,S),j("hmm",T),j("hmmss",Y),j("Hmm",T),j("Hmmss",Y),se(["H","HH"],ve),se(["k","kk"],function(e,t,n){var a=V(e);t[ve]=a===24?0:a}),se(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),se(["h","hh"],function(e,t,n){t[ve]=V(e),D(n).bigHour=!0}),se("hmm",function(e,t,n){var a=e.length-2;t[ve]=V(e.substr(0,a)),t[De]=V(e.substr(a)),D(n).bigHour=!0}),se("hmmss",function(e,t,n){var a=e.length-4,l=e.length-2;t[ve]=V(e.substr(0,a)),t[De]=V(e.substr(a,2)),t[Ae]=V(e.substr(l)),D(n).bigHour=!0}),se("Hmm",function(e,t,n){var a=e.length-2;t[ve]=V(e.substr(0,a)),t[De]=V(e.substr(a))}),se("Hmmss",function(e,t,n){var a=e.length-4,l=e.length-2;t[ve]=V(e.substr(0,a)),t[De]=V(e.substr(a,2)),t[Ae]=V(e.substr(l))});function Ar(e){return(e+"").toLowerCase().charAt(0)==="p"}var zr=/[ap]\.?m?\.?/i,Ur=Ge("Hours",!0);function Fr(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var hn={calendar:lt,longDateFormat:At,invalidDate:zt,ordinal:_,dayOfMonthOrdinalParse:P,relativeTime:L,months:er,monthsShort:an,week:pr,weekdays:yr,weekdaysMin:wr,weekdaysShort:un,meridiemParse:zr},de={},Rt={},Tt;function Lr(e,t){var n,a=Math.min(e.length,t.length);for(n=0;n<a;n+=1)if(e[n]!==t[n])return n;return a}function mn(e){return e&&e.toLowerCase().replace("_","-")}function Wr(e){for(var t=0,n,a,l,p;t<e.length;){for(p=mn(e[t]).split("-"),n=p.length,a=mn(e[t+1]),a=a?a.split("-"):null;n>0;){if(l=$t(p.slice(0,n).join("-")),l)return l;if(a&&a.length>=n&&Lr(p,a)>=n-1)break;n--}t++}return Tt}function Hr(e){return e.match("^[^/\\\\]*$")!=null}function $t(e){var t=null,n;if(de[e]===void 0&&typeof xt!="undefined"&&xt&&xt.exports&&Hr(e))try{t=Tt._abbr,n=Ln,n("./locale/"+e),Be(t)}catch{de[e]=null}return de[e]}function Be(e,t){var n;return e&&(u(t)?n=Ue(e):n=Oi(e,t),n?Tt=n:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Tt._abbr}function Oi(e,t){if(t!==null){var n,a=hn;if(t.abbr=e,de[e]!=null)X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),a=de[e]._config;else if(t.parentLocale!=null)if(de[t.parentLocale]!=null)a=de[t.parentLocale]._config;else if(n=$t(t.parentLocale),n!=null)a=n._config;else return Rt[t.parentLocale]||(Rt[t.parentLocale]=[]),Rt[t.parentLocale].push({name:e,config:t}),null;return de[e]=new ot(yt(a,t)),Rt[e]&&Rt[e].forEach(function(l){Oi(l.name,l.config)}),Be(e),de[e]}else return delete de[e],null}function qr(e,t){if(t!=null){var n,a,l=hn;de[e]!=null&&de[e].parentLocale!=null?de[e].set(yt(de[e]._config,t)):(a=$t(e),a!=null&&(l=a._config),t=yt(l,t),a==null&&(t.abbr=e),n=new ot(t),n.parentLocale=de[e],de[e]=n),Be(e)}else de[e]!=null&&(de[e].parentLocale!=null?(de[e]=de[e].parentLocale,e===Be()&&Be(e)):de[e]!=null&&delete de[e]);return de[e]}function Ue(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Tt;if(!s(e)){if(t=$t(e),t)return t;e=[e]}return Wr(e)}function Vr(){return wt(de)}function Di(e){var t,n=e._a;return n&&D(e).overflow===-2&&(t=n[Ne]<0||n[Ne]>11?Ne:n[Ce]<1||n[Ce]>qt(n[_e],n[Ne])?Ce:n[ve]<0||n[ve]>24||n[ve]===24&&(n[De]!==0||n[Ae]!==0||n[et]!==0)?ve:n[De]<0||n[De]>59?De:n[Ae]<0||n[Ae]>59?Ae:n[et]<0||n[et]>999?et:-1,D(e)._overflowDayOfYear&&(t<_e||t>Ce)&&(t=Ce),D(e)._overflowWeeks&&t===-1&&(t=Ka),D(e)._overflowWeekday&&t===-1&&(t=Qa),D(e).overflow=t),e}var $r=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Gr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Br=/Z|[+-]\d\d(?::?\d\d)?/,Gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Pi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zr=/^\/?Date\((-?\d+)/i,Jr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Kr={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function vn(e){var t,n,a=e._i,l=$r.exec(a)||Gr.exec(a),p,b,U,B,oe=Gt.length,ye=Pi.length;if(l){for(D(e).iso=!0,t=0,n=oe;t<n;t++)if(Gt[t][1].exec(l[1])){b=Gt[t][0],p=Gt[t][2]!==!1;break}if(b==null){e._isValid=!1;return}if(l[3]){for(t=0,n=ye;t<n;t++)if(Pi[t][1].exec(l[3])){U=(l[2]||" ")+Pi[t][0];break}if(U==null){e._isValid=!1;return}}if(!p&&U!=null){e._isValid=!1;return}if(l[4])if(Br.exec(l[4]))B="Z";else{e._isValid=!1;return}e._f=b+(U||"")+(B||""),Ti(e)}else e._isValid=!1}function Qr(e,t,n,a,l,p){var b=[Xr(e),an.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(l,10)];return p&&b.push(parseInt(p,10)),b}function Xr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function es(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ts(e,t,n){if(e){var a=un.indexOf(e),l=new Date(t[0],t[1],t[2]).getDay();if(a!==l)return D(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function is(e,t,n){if(e)return Kr[e];if(t)return 0;var a=parseInt(n,10),l=a%100,p=(a-l)/100;return p*60+l}function gn(e){var t=Jr.exec(es(e._i)),n;if(t){if(n=Qr(t[4],t[3],t[2],t[5],t[6],t[7]),!ts(t[1],n,e))return;e._a=n,e._tzm=is(t[8],t[9],t[10]),e._d=Dt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),D(e).rfc2822=!0}else e._isValid=!1}function ns(e){var t=Zr.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(vn(e),e._isValid===!1)delete e._isValid;else return;if(gn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:i.createFromInputFallback(e)}i.createFromInputFallback=F("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ft(e,t,n){return e!=null?e:t!=null?t:n}function as(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ri(e){var t,n,a=[],l,p,b;if(!e._d){for(l=as(e),e._w&&e._a[Ce]==null&&e._a[Ne]==null&&rs(e),e._dayOfYear!=null&&(b=ft(e._a[_e],l[_e]),(e._dayOfYear>Ot(b)||e._dayOfYear===0)&&(D(e)._overflowDayOfYear=!0),n=Dt(b,0,e._dayOfYear),e._a[Ne]=n.getUTCMonth(),e._a[Ce]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=a[t]=l[t];for(;t<7;t++)e._a[t]=a[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ve]===24&&e._a[De]===0&&e._a[Ae]===0&&e._a[et]===0&&(e._nextDay=!0,e._a[ve]=0),e._d=(e._useUTC?Dt:ur).apply(null,a),p=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ve]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==p&&(D(e).weekdayMismatch=!0)}}function rs(e){var t,n,a,l,p,b,U,B,oe;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(p=1,b=4,n=ft(t.GG,e._a[_e],Pt(le(),1,4).year),a=ft(t.W,1),l=ft(t.E,1),(l<1||l>7)&&(B=!0)):(p=e._locale._week.dow,b=e._locale._week.doy,oe=Pt(le(),p,b),n=ft(t.gg,e._a[_e],oe.year),a=ft(t.w,oe.week),t.d!=null?(l=t.d,(l<0||l>6)&&(B=!0)):t.e!=null?(l=t.e+p,(t.e<0||t.e>6)&&(B=!0)):l=p),a<1||a>ze(n,p,b)?D(e)._overflowWeeks=!0:B!=null?D(e)._overflowWeekday=!0:(U=dn(n,a,l,p,b),e._a[_e]=U.year,e._dayOfYear=U.dayOfYear)}i.ISO_8601=function(){},i.RFC_2822=function(){};function Ti(e){if(e._f===i.ISO_8601){vn(e);return}if(e._f===i.RFC_2822){gn(e);return}e._a=[],D(e).empty=!0;var t=""+e._i,n,a,l,p,b,U=t.length,B=0,oe,ye;for(l=Nt(e._f,e._locale).match(kt)||[],ye=l.length,n=0;n<ye;n++)p=l[n],a=(t.match(Ba(p,e))||[])[0],a&&(b=t.substr(0,t.indexOf(a)),b.length>0&&D(e).unusedInput.push(b),t=t.slice(t.indexOf(a)+a.length),B+=a.length),$e[p]?(a?D(e).empty=!1:D(e).unusedTokens.push(p),Ja(p,a,e)):e._strict&&!a&&D(e).unusedTokens.push(p);D(e).charsLeftOver=U-B,t.length>0&&D(e).unusedInput.push(t),e._a[ve]<=12&&D(e).bigHour===!0&&e._a[ve]>0&&(D(e).bigHour=void 0),D(e).parsedDateParts=e._a.slice(0),D(e).meridiem=e._meridiem,e._a[ve]=ss(e._locale,e._a[ve],e._meridiem),oe=D(e).era,oe!==null&&(e._a[_e]=e._locale.erasConvertYear(oe,e._a[_e])),Ri(e),Di(e)}function ss(e,t,n){var a;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(a=e.isPM(n),a&&t<12&&(t+=12),!a&&t===12&&(t=0)),t)}function os(e){var t,n,a,l,p,b,U=!1,B=e._f.length;if(B===0){D(e).invalidFormat=!0,e._d=new Date(NaN);return}for(l=0;l<B;l++)p=0,b=!1,t=H({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[l],Ti(t),z(t)&&(b=!0),p+=D(t).charsLeftOver,p+=D(t).unusedTokens.length*10,D(t).score=p,U?p<a&&(a=p,n=t):(a==null||p<a||b)&&(a=p,n=t,b&&(U=!0));x(e,n||t)}function ls(e){if(!e._d){var t=pe(e._i),n=t.day===void 0?t.date:t.day;e._a=k([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(a){return a&&parseInt(a,10)}),Ri(e)}}function cs(e){var t=new ae(Di(_n(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function _n(e){var t=e._i,n=e._f;return e._locale=e._locale||Ue(e._l),t===null||n===void 0&&t===""?q({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),E(t)?new ae(Di(t)):(w(t)?e._d=t:s(n)?os(e):n?Ti(e):ds(e),z(e)||(e._d=null),e))}function ds(e){var t=e._i;u(t)?e._d=new Date(i.now()):w(t)?e._d=new Date(t.valueOf()):typeof t=="string"?ns(e):s(t)?(e._a=k(t.slice(0),function(n){return parseInt(n,10)}),Ri(e)):c(t)?ls(e):v(t)?e._d=new Date(t):i.createFromInputFallback(e)}function xn(e,t,n,a,l){var p={};return(t===!0||t===!1)&&(a=t,t=void 0),(n===!0||n===!1)&&(a=n,n=void 0),(c(e)&&f(e)||s(e)&&e.length===0)&&(e=void 0),p._isAMomentObject=!0,p._useUTC=p._isUTC=l,p._l=n,p._i=e,p._f=t,p._strict=a,cs(p)}function le(e,t,n,a){return xn(e,t,n,a,!1)}var us=F("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=le.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:q()}),fs=F("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:q()});function yn(e,t){var n,a;if(t.length===1&&s(t[0])&&(t=t[0]),!t.length)return le();for(n=t[0],a=1;a<t.length;++a)(!t[a].isValid()||t[a][e](n))&&(n=t[a]);return n}function ps(){var e=[].slice.call(arguments,0);return yn("isBefore",e)}function hs(){var e=[].slice.call(arguments,0);return yn("isAfter",e)}var ms=function(){return Date.now?Date.now():+new Date},Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function vs(e){var t,n=!1,a,l=Ct.length;for(t in e)if(d(e,t)&&!(he.call(Ct,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(a=0;a<l;++a)if(e[Ct[a]]){if(n)return!1;parseFloat(e[Ct[a]])!==V(e[Ct[a]])&&(n=!0)}return!0}function gs(){return this._isValid}function _s(){return Pe(NaN)}function Bt(e){var t=pe(e),n=t.year||0,a=t.quarter||0,l=t.month||0,p=t.week||t.isoWeek||0,b=t.day||0,U=t.hour||0,B=t.minute||0,oe=t.second||0,ye=t.millisecond||0;this._isValid=vs(t),this._milliseconds=+ye+oe*1e3+B*6e4+U*1e3*60*60,this._days=+b+p*7,this._months=+l+a*3+n*12,this._data={},this._locale=Ue(),this._bubble()}function Zt(e){return e instanceof Bt}function Ci(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function xs(e,t,n){var a=Math.min(e.length,t.length),l=Math.abs(e.length-t.length),p=0,b;for(b=0;b<a;b++)(n&&e[b]!==t[b]||!n&&V(e[b])!==V(t[b]))&&p++;return p+l}function wn(e,t){A(e,0,0,function(){var n=this.utcOffset(),a="+";return n<0&&(n=-n,a="-"),a+Oe(~~(n/60),2)+t+Oe(~~n%60,2)})}wn("Z",":"),wn("ZZ",""),j("Z",Wt),j("ZZ",Wt),se(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ii(Wt,e)});var ys=/([\+\-]|\d\d)/gi;function Ii(e,t){var n=(t||"").match(e),a,l,p;return n===null?null:(a=n[n.length-1]||[],l=(a+"").match(ys)||["-",0,0],p=+(l[1]*60)+V(l[2]),p===0?0:l[0]==="+"?p:-p)}function Yi(e,t){var n,a;return t._isUTC?(n=t.clone(),a=(E(e)||w(e)?e.valueOf():le(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+a),i.updateOffset(n,!1),n):le(e).local()}function ji(e){return-Math.round(e._d.getTimezoneOffset())}i.updateOffset=function(){};function ws(e,t,n){var a=this._offset||0,l;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ii(Wt,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(l=ji(this)),this._offset=e,this._isUTC=!0,l!=null&&this.add(l,"m"),a!==e&&(!t||this._changeInProgress?Mn(this,Pe(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?a:ji(this)}function bs(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ks(e){return this.utcOffset(0,e)}function Ss(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ji(this),"m")),this}function Ms(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ii($a,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Os(e){return this.isValid()?(e=e?le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ds(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ps(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e={},t;return H(e,this),e=_n(e),e._a?(t=e._isUTC?M(e._a):le(e._a),this._isDSTShifted=this.isValid()&&xs(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Rs(){return this.isValid()?!this._isUTC:!1}function Ts(){return this.isValid()?this._isUTC:!1}function bn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Cs=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Is=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pe(e,t){var n=e,a=null,l,p,b;return Zt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:v(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(a=Cs.exec(e))?(l=a[1]==="-"?-1:1,n={y:0,d:V(a[Ce])*l,h:V(a[ve])*l,m:V(a[De])*l,s:V(a[Ae])*l,ms:V(Ci(a[et]*1e3))*l}):(a=Is.exec(e))?(l=a[1]==="-"?-1:1,n={y:tt(a[2],l),M:tt(a[3],l),w:tt(a[4],l),d:tt(a[5],l),h:tt(a[6],l),m:tt(a[7],l),s:tt(a[8],l)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(b=Ys(le(n.from),le(n.to)),n={},n.ms=b.milliseconds,n.M=b.months),p=new Bt(n),Zt(e)&&d(e,"_locale")&&(p._locale=e._locale),Zt(e)&&d(e,"_isValid")&&(p._isValid=e._isValid),p}Pe.fn=Bt.prototype,Pe.invalid=_s;function tt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function kn(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ys(e,t){var n;return e.isValid()&&t.isValid()?(t=Yi(t,e),e.isBefore(t)?n=kn(e,t):(n=kn(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Sn(e,t){return function(n,a){var l,p;return a!==null&&!isNaN(+a)&&(X(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),p=n,n=a,a=p),l=Pe(n,a),Mn(this,l,e),this}}function Mn(e,t,n,a){var l=t._milliseconds,p=Ci(t._days),b=Ci(t._months);e.isValid()&&(a=a==null?!0:a,b&&sn(e,dt(e,"Month")+b*n),p&&Ut(e,"Date",dt(e,"Date")+p*n),l&&e._d.setTime(e._d.valueOf()+l*n),a&&i.updateOffset(e,p||b))}var js=Sn(1,"add"),Es=Sn(-1,"subtract");function On(e){return typeof e=="string"||e instanceof String}function Ns(e){return E(e)||w(e)||On(e)||v(e)||zs(e)||As(e)||e===null||e===void 0}function As(e){var t=c(e)&&!f(e),n=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l,p,b=a.length;for(l=0;l<b;l+=1)p=a[l],n=n||d(e,p);return t&&n}function zs(e){var t=s(e),n=!1;return t&&(n=e.filter(function(a){return!v(a)&&On(e)}).length===0),t&&n}function Us(e){var t=c(e)&&!f(e),n=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],l,p;for(l=0;l<a.length;l+=1)p=a[l],n=n||d(e,p);return t&&n}function Fs(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ls(e,t){arguments.length===1&&(arguments[0]?Ns(arguments[0])?(e=arguments[0],t=void 0):Us(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||le(),a=Yi(n,this).startOf("day"),l=i.calendarFormat(this,a)||"sameElse",p=t&&(ce(t[l])?t[l].call(this,n):t[l]);return this.format(p||this.localeData().calendar(l,this,le(n)))}function Ws(){return new ae(this)}function Hs(e,t){var n=E(e)?e:le(e);return this.isValid()&&n.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function qs(e,t){var n=E(e)?e:le(e);return this.isValid()&&n.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Vs(e,t,n,a){var l=E(e)?e:le(e),p=E(t)?t:le(t);return this.isValid()&&l.isValid()&&p.isValid()?(a=a||"()",(a[0]==="("?this.isAfter(l,n):!this.isBefore(l,n))&&(a[1]===")"?this.isBefore(p,n):!this.isAfter(p,n))):!1}function $s(e,t){var n=E(e)?e:le(e),a;return this.isValid()&&n.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(a=n.valueOf(),this.clone().startOf(t).valueOf()<=a&&a<=this.clone().endOf(t).valueOf())):!1}function Gs(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Bs(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zs(e,t,n){var a,l,p;if(!this.isValid())return NaN;if(a=Yi(e,this),!a.isValid())return NaN;switch(l=(a.utcOffset()-this.utcOffset())*6e4,t=K(t),t){case"year":p=Jt(this,a)/12;break;case"month":p=Jt(this,a);break;case"quarter":p=Jt(this,a)/3;break;case"second":p=(this-a)/1e3;break;case"minute":p=(this-a)/6e4;break;case"hour":p=(this-a)/36e5;break;case"day":p=(this-a-l)/864e5;break;case"week":p=(this-a-l)/6048e5;break;default:p=this-a}return n?p:we(p)}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),a=e.clone().add(n,"months"),l,p;return t-a<0?(l=e.clone().add(n-1,"months"),p=(t-a)/(a-l)):(l=e.clone().add(n+1,"months"),p=(t-a)/(l-a)),-(n+p)||0}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Js(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ks(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Xe(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ce(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Xe(n,"Z")):Xe(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Qs(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,a,l,p;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',a=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",l="-MM-DD[T]HH:mm:ss.SSS",p=t+'[")]',this.format(n+a+l+p)}function Xs(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=Xe(this,e);return this.localeData().postformat(t)}function eo(e,t){return this.isValid()&&(E(e)&&e.isValid()||le(e).isValid())?Pe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function to(e){return this.from(le(),e)}function io(e,t){return this.isValid()&&(E(e)&&e.isValid()||le(e).isValid())?Pe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function no(e){return this.to(le(),e)}function Dn(e){var t;return e===void 0?this._locale._abbr:(t=Ue(e),t!=null&&(this._locale=t),this)}var Pn=F("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Rn(){return this._locale}var Kt=1e3,pt=60*Kt,Qt=60*pt,Tn=(365*400+97)*24*Qt;function ht(e,t){return(e%t+t)%t}function Cn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Tn:new Date(e,t,n).valueOf()}function In(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Tn:Date.UTC(e,t,n)}function ao(e){var t,n;if(e=K(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?In:Cn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ht(t+(this._isUTC?0:this.utcOffset()*pt),Qt);break;case"minute":t=this._d.valueOf(),t-=ht(t,pt);break;case"second":t=this._d.valueOf(),t-=ht(t,Kt);break}return this._d.setTime(t),i.updateOffset(this,!0),this}function ro(e){var t,n;if(e=K(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?In:Cn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Qt-ht(t+(this._isUTC?0:this.utcOffset()*pt),Qt)-1;break;case"minute":t=this._d.valueOf(),t+=pt-ht(t,pt)-1;break;case"second":t=this._d.valueOf(),t+=Kt-ht(t,Kt)-1;break}return this._d.setTime(t),i.updateOffset(this,!0),this}function so(){return this._d.valueOf()-(this._offset||0)*6e4}function oo(){return Math.floor(this.valueOf()/1e3)}function lo(){return new Date(this.valueOf())}function co(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function uo(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function fo(){return this.isValid()?this.toISOString():null}function po(){return z(this)}function ho(){return x({},D(this))}function mo(){return D(this).overflow}function vo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}A("N",0,0,"eraAbbr"),A("NN",0,0,"eraAbbr"),A("NNN",0,0,"eraAbbr"),A("NNNN",0,0,"eraName"),A("NNNNN",0,0,"eraNarrow"),A("y",["y",1],"yo","eraYear"),A("y",["yy",2],0,"eraYear"),A("y",["yyy",3],0,"eraYear"),A("y",["yyyy",4],0,"eraYear"),j("N",Ei),j("NN",Ei),j("NNN",Ei),j("NNNN",Do),j("NNNNN",Po),se(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,a){var l=n._locale.erasParse(e,a,n._strict);l?D(n).era=l:D(n).invalidEra=e}),j("y",ut),j("yy",ut),j("yyy",ut),j("yyyy",ut),j("yo",Ro),se(["y","yy","yyy","yyyy"],_e),se(["yo"],function(e,t,n,a){var l;n._locale._eraYearOrdinalRegex&&(l=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[_e]=n._locale.eraYearOrdinalParse(e,l):t[_e]=parseInt(e,10)});function go(e,t){var n,a,l,p=this._eras||Ue("en")._eras;for(n=0,a=p.length;n<a;++n){switch(typeof p[n].since){case"string":l=i(p[n].since).startOf("day"),p[n].since=l.valueOf();break}switch(typeof p[n].until){case"undefined":p[n].until=1/0;break;case"string":l=i(p[n].until).startOf("day").valueOf(),p[n].until=l.valueOf();break}}return p}function _o(e,t,n){var a,l,p=this.eras(),b,U,B;for(e=e.toUpperCase(),a=0,l=p.length;a<l;++a)if(b=p[a].name.toUpperCase(),U=p[a].abbr.toUpperCase(),B=p[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(U===e)return p[a];break;case"NNNN":if(b===e)return p[a];break;case"NNNNN":if(B===e)return p[a];break}else if([b,U,B].indexOf(e)>=0)return p[a]}function xo(e,t){var n=e.since<=e.until?1:-1;return t===void 0?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function yo(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return a[e].name;return""}function wo(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return a[e].narrow;return""}function bo(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return a[e].abbr;return""}function ko(){var e,t,n,a,l=this.localeData().eras();for(e=0,t=l.length;e<t;++e)if(n=l[e].since<=l[e].until?1:-1,a=this.clone().startOf("day").valueOf(),l[e].since<=a&&a<=l[e].until||l[e].until<=a&&a<=l[e].since)return(this.year()-i(l[e].since).year())*n+l[e].offset;return this.year()}function So(e){return d(this,"_erasNameRegex")||Ni.call(this),e?this._erasNameRegex:this._erasRegex}function Mo(e){return d(this,"_erasAbbrRegex")||Ni.call(this),e?this._erasAbbrRegex:this._erasRegex}function Oo(e){return d(this,"_erasNarrowRegex")||Ni.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ei(e,t){return t.erasAbbrRegex(e)}function Do(e,t){return t.erasNameRegex(e)}function Po(e,t){return t.erasNarrowRegex(e)}function Ro(e,t){return t._eraYearOrdinalRegex||ut}function Ni(){var e=[],t=[],n=[],a=[],l,p,b=this.eras();for(l=0,p=b.length;l<p;++l)t.push(Se(b[l].name)),e.push(Se(b[l].abbr)),n.push(Se(b[l].narrow)),a.push(Se(b[l].name)),a.push(Se(b[l].abbr)),a.push(Se(b[l].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}A(0,["gg",2],0,function(){return this.weekYear()%100}),A(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Xt(e,t){A(0,[e,e.length],0,t)}Xt("gggg","weekYear"),Xt("ggggg","weekYear"),Xt("GGGG","isoWeekYear"),Xt("GGGGG","isoWeekYear"),G("weekYear","gg"),G("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),j("G",Lt),j("g",Lt),j("GG",y,S),j("gg",y,S),j("GGGG",ge,g),j("gggg",ge,g),j("GGGGG",Te,m),j("ggggg",Te,m),Mt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=V(e)}),Mt(["gg","GG"],function(e,t,n,a){t[a]=i.parseTwoDigitYear(e)});function To(e){return Yn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Co(e){return Yn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Io(){return ze(this.year(),1,4)}function Yo(){return ze(this.isoWeekYear(),1,4)}function jo(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)}function Eo(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)}function Yn(e,t,n,a,l){var p;return e==null?Pt(this,a,l).year:(p=ze(e,a,l),t>p&&(t=p),No.call(this,e,t,n,a,l))}function No(e,t,n,a,l){var p=dn(e,t,n,a,l),b=Dt(p.year,0,p.dayOfYear);return this.year(b.getUTCFullYear()),this.month(b.getUTCMonth()),this.date(b.getUTCDate()),this}A("Q",0,"Qo","quarter"),G("quarter","Q"),ee("quarter",7),j("Q",Ft),se("Q",function(e,t){t[Ne]=(V(e)-1)*3});function Ao(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}A("D",["DD",2],"Do","date"),G("date","D"),ee("date",9),j("D",y),j("DD",y,S),j("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),se(["D","DD"],Ce),se("Do",function(e,t){t[Ce]=V(e.match(y)[0])});var jn=Ge("Date",!0);A("DDD",["DDDD",3],"DDDo","dayOfYear"),G("dayOfYear","DDD"),ee("dayOfYear",4),j("DDD",ne),j("DDDD",R),se(["DDD","DDDD"],function(e,t,n){n._dayOfYear=V(e)});function zo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}A("m",["mm",2],0,"minute"),G("minute","m"),ee("minute",14),j("m",y),j("mm",y,S),se(["m","mm"],De);var Uo=Ge("Minutes",!1);A("s",["ss",2],0,"second"),G("second","s"),ee("second",15),j("s",y),j("ss",y,S),se(["s","ss"],Ae);var Fo=Ge("Seconds",!1);A("S",0,0,function(){return~~(this.millisecond()/100)}),A(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,function(){return this.millisecond()*10}),A(0,["SSSSS",5],0,function(){return this.millisecond()*100}),A(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),A(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),A(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),A(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),G("millisecond","ms"),ee("millisecond",16),j("S",ne,Ft),j("SS",ne,S),j("SSS",ne,R);var Ze,En;for(Ze="SSSS";Ze.length<=9;Ze+="S")j(Ze,ut);function Lo(e,t){t[et]=V(("0."+e)*1e3)}for(Ze="S";Ze.length<=9;Ze+="S")se(Ze,Lo);En=Ge("Milliseconds",!1),A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");function Wo(){return this._isUTC?"UTC":""}function Ho(){return this._isUTC?"Coordinated Universal Time":""}var O=ae.prototype;O.add=js,O.calendar=Ls,O.clone=Ws,O.diff=Zs,O.endOf=ro,O.format=Xs,O.from=eo,O.fromNow=to,O.to=io,O.toNow=no,O.get=yi,O.invalidAt=mo,O.isAfter=Hs,O.isBefore=qs,O.isBetween=Vs,O.isSame=$s,O.isSameOrAfter=Gs,O.isSameOrBefore=Bs,O.isValid=po,O.lang=Pn,O.locale=Dn,O.localeData=Rn,O.max=fs,O.min=us,O.parsingFlags=ho,O.set=wi,O.startOf=ao,O.subtract=Es,O.toArray=co,O.toObject=uo,O.toDate=lo,O.toISOString=Ks,O.inspect=Qs,typeof Symbol!="undefined"&&Symbol.for!=null&&(O[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),O.toJSON=fo,O.toString=Js,O.unix=oo,O.valueOf=so,O.creationData=vo,O.eraName=yo,O.eraNarrow=wo,O.eraAbbr=bo,O.eraYear=ko,O.year=cn,O.isLeapYear=dr,O.weekYear=To,O.isoWeekYear=Co,O.quarter=O.quarters=Ao,O.month=on,O.daysInMonth=or,O.week=O.weeks=vr,O.isoWeek=O.isoWeeks=gr,O.weeksInYear=jo,O.weeksInWeekYear=Eo,O.isoWeeksInYear=Io,O.isoWeeksInISOWeekYear=Yo,O.date=jn,O.day=O.days=Tr,O.weekday=Cr,O.isoWeekday=Ir,O.dayOfYear=zo,O.hour=O.hours=Ur,O.minute=O.minutes=Uo,O.second=O.seconds=Fo,O.millisecond=O.milliseconds=En,O.utcOffset=ws,O.utc=ks,O.local=Ss,O.parseZone=Ms,O.hasAlignedHourOffset=Os,O.isDST=Ds,O.isLocal=Rs,O.isUtcOffset=Ts,O.isUtc=bn,O.isUTC=bn,O.zoneAbbr=Wo,O.zoneName=Ho,O.dates=F("dates accessor is deprecated. Use date instead.",jn),O.months=F("months accessor is deprecated. Use month instead",on),O.years=F("years accessor is deprecated. Use year instead",cn),O.zone=F("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",bs),O.isDSTShifted=F("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ps);function qo(e){return le(e*1e3)}function Vo(){return le.apply(null,arguments).parseZone()}function Nn(e){return e}var te=ot.prototype;te.calendar=bt,te.longDateFormat=xi,te.invalidDate=h,te.ordinal=I,te.preparse=Nn,te.postformat=Nn,te.relativeTime=me,te.pastFuture=ie,te.set=Ve,te.eras=go,te.erasParse=_o,te.erasConvertYear=xo,te.erasAbbrRegex=Mo,te.erasNameRegex=So,te.erasNarrowRegex=Oo,te.months=nr,te.monthsShort=ar,te.monthsParse=sr,te.monthsRegex=cr,te.monthsShortRegex=lr,te.week=fr,te.firstDayOfYear=mr,te.firstDayOfWeek=hr,te.weekdays=Mr,te.weekdaysMin=Dr,te.weekdaysShort=Or,te.weekdaysParse=Rr,te.weekdaysRegex=Yr,te.weekdaysShortRegex=jr,te.weekdaysMinRegex=Er,te.isPM=Ar,te.meridiem=Fr;function ei(e,t,n,a){var l=Ue(),p=M().set(a,t);return l[n](p,e)}function An(e,t,n){if(v(e)&&(t=e,e=void 0),e=e||"",t!=null)return ei(e,t,n,"month");var a,l=[];for(a=0;a<12;a++)l[a]=ei(e,a,n,"month");return l}function Ai(e,t,n,a){typeof e=="boolean"?(v(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,v(t)&&(n=t,t=void 0),t=t||"");var l=Ue(),p=e?l._week.dow:0,b,U=[];if(n!=null)return ei(t,(n+p)%7,a,"day");for(b=0;b<7;b++)U[b]=ei(t,(b+p)%7,a,"day");return U}function $o(e,t){return An(e,t,"months")}function Go(e,t){return An(e,t,"monthsShort")}function Bo(e,t,n){return Ai(e,t,n,"weekdays")}function Zo(e,t,n){return Ai(e,t,n,"weekdaysShort")}function Jo(e,t,n){return Ai(e,t,n,"weekdaysMin")}Be("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=V(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),i.lang=F("moment.lang is deprecated. Use moment.locale instead.",Be),i.langData=F("moment.langData is deprecated. Use moment.localeData instead.",Ue);var Fe=Math.abs;function Ko(){var e=this._data;return this._milliseconds=Fe(this._milliseconds),this._days=Fe(this._days),this._months=Fe(this._months),e.milliseconds=Fe(e.milliseconds),e.seconds=Fe(e.seconds),e.minutes=Fe(e.minutes),e.hours=Fe(e.hours),e.months=Fe(e.months),e.years=Fe(e.years),this}function zn(e,t,n,a){var l=Pe(t,n);return e._milliseconds+=a*l._milliseconds,e._days+=a*l._days,e._months+=a*l._months,e._bubble()}function Qo(e,t){return zn(this,e,t,1)}function Xo(e,t){return zn(this,e,t,-1)}function Un(e){return e<0?Math.floor(e):Math.ceil(e)}function el(){var e=this._milliseconds,t=this._days,n=this._months,a=this._data,l,p,b,U,B;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Un(zi(n)+t)*864e5,t=0,n=0),a.milliseconds=e%1e3,l=we(e/1e3),a.seconds=l%60,p=we(l/60),a.minutes=p%60,b=we(p/60),a.hours=b%24,t+=we(b/24),B=we(Fn(t)),n+=B,t-=Un(zi(B)),U=we(n/12),n%=12,a.days=t,a.months=n,a.years=U,this}function Fn(e){return e*4800/146097}function zi(e){return e*146097/4800}function tl(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if(e=K(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+a/864e5,n=this._months+Fn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(zi(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return t*24+a/36e5;case"minute":return t*1440+a/6e4;case"second":return t*86400+a/1e3;case"millisecond":return Math.floor(t*864e5)+a;default:throw new Error("Unknown unit "+e)}}function il(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+V(this._months/12)*31536e6:NaN}function Le(e){return function(){return this.as(e)}}var nl=Le("ms"),al=Le("s"),rl=Le("m"),sl=Le("h"),ol=Le("d"),ll=Le("w"),cl=Le("M"),dl=Le("Q"),ul=Le("y");function fl(){return Pe(this)}function pl(e){return e=K(e),this.isValid()?this[e+"s"]():NaN}function it(e){return function(){return this.isValid()?this._data[e]:NaN}}var hl=it("milliseconds"),ml=it("seconds"),vl=it("minutes"),gl=it("hours"),_l=it("days"),xl=it("months"),yl=it("years");function wl(){return we(this.days()/7)}var We=Math.round,mt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function bl(e,t,n,a,l){return l.relativeTime(t||1,!!n,e,a)}function kl(e,t,n,a){var l=Pe(e).abs(),p=We(l.as("s")),b=We(l.as("m")),U=We(l.as("h")),B=We(l.as("d")),oe=We(l.as("M")),ye=We(l.as("w")),He=We(l.as("y")),Je=p<=n.ss&&["s",p]||p<n.s&&["ss",p]||b<=1&&["m"]||b<n.m&&["mm",b]||U<=1&&["h"]||U<n.h&&["hh",U]||B<=1&&["d"]||B<n.d&&["dd",B];return n.w!=null&&(Je=Je||ye<=1&&["w"]||ye<n.w&&["ww",ye]),Je=Je||oe<=1&&["M"]||oe<n.M&&["MM",oe]||He<=1&&["y"]||["yy",He],Je[2]=t,Je[3]=+e>0,Je[4]=a,bl.apply(null,Je)}function Sl(e){return e===void 0?We:typeof e=="function"?(We=e,!0):!1}function Ml(e,t){return mt[e]===void 0?!1:t===void 0?mt[e]:(mt[e]=t,e==="s"&&(mt.ss=t-1),!0)}function Ol(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,a=mt,l,p;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(a=Object.assign({},mt,t),t.s!=null&&t.ss==null&&(a.ss=t.s-1)),l=this.localeData(),p=kl(this,!n,a,l),n&&(p=l.pastFuture(+this,p)),l.postformat(p)}var Ui=Math.abs;function vt(e){return(e>0)-(e<0)||+e}function ti(){if(!this.isValid())return this.localeData().invalidDate();var e=Ui(this._milliseconds)/1e3,t=Ui(this._days),n=Ui(this._months),a,l,p,b,U=this.asSeconds(),B,oe,ye,He;return U?(a=we(e/60),l=we(a/60),e%=60,a%=60,p=we(n/12),n%=12,b=e?e.toFixed(3).replace(/\.?0+$/,""):"",B=U<0?"-":"",oe=vt(this._months)!==vt(U)?"-":"",ye=vt(this._days)!==vt(U)?"-":"",He=vt(this._milliseconds)!==vt(U)?"-":"",B+"P"+(p?oe+p+"Y":"")+(n?oe+n+"M":"")+(t?ye+t+"D":"")+(l||a||e?"T":"")+(l?He+l+"H":"")+(a?He+a+"M":"")+(e?He+b+"S":"")):"P0D"}var Q=Bt.prototype;Q.isValid=gs,Q.abs=Ko,Q.add=Qo,Q.subtract=Xo,Q.as=tl,Q.asMilliseconds=nl,Q.asSeconds=al,Q.asMinutes=rl,Q.asHours=sl,Q.asDays=ol,Q.asWeeks=ll,Q.asMonths=cl,Q.asQuarters=dl,Q.asYears=ul,Q.valueOf=il,Q._bubble=el,Q.clone=fl,Q.get=pl,Q.milliseconds=hl,Q.seconds=ml,Q.minutes=vl,Q.hours=gl,Q.days=_l,Q.weeks=wl,Q.months=xl,Q.years=yl,Q.humanize=Ol,Q.toISOString=ti,Q.toString=ti,Q.toJSON=ti,Q.locale=Dn,Q.localeData=Rn,Q.toIsoString=F("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ti),Q.lang=Pn,A("X",0,0,"unix"),A("x",0,0,"valueOf"),j("x",Lt),j("X",Ga),se("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),se("x",function(e,t,n){n._d=new Date(V(e))});return i.version="2.29.4",r(le),i.fn=O,i.min=ps,i.max=hs,i.now=ms,i.utc=M,i.unix=qo,i.months=$o,i.isDate=w,i.locale=Be,i.invalid=q,i.duration=Pe,i.isMoment=E,i.weekdays=Bo,i.parseZone=Vo,i.localeData=Ue,i.isDuration=Zt,i.monthsShort=Go,i.weekdaysMin=Jo,i.defineLocale=Oi,i.updateLocale=qr,i.locales=Vr,i.weekdaysShort=Zo,i.normalizeUnits=K,i.relativeTimeRounding=Sl,i.relativeTimeThreshold=Ml,i.calendarFormat=Fs,i.prototype=O,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i})});var ka=fe(st=>{"use strict";var Xl=st&&st.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(st,"__esModule",{value:!0});st.Time=void 0;var Bi=Xl(ba()),ec;(function(o){function i(s){Bi.default.locale(document.documentElement.lang);let c=Bi.default(s).fromNow();return c=c==="a few seconds ago"?"seconds ago":c,c}o.formatHuman=i;function r(s,c="YYYY-MM-DD HH:mm"){return Bi.default(s).format(c)}o.format=r})(ec=st.Time||(st.Time={}))});var Et=fe(be=>{"use strict";var tc=be&&be.__createBinding||(Object.create?function(o,i,r,s){s===void 0&&(s=r),Object.defineProperty(o,s,{enumerable:!0,get:function(){return i[r]}})}:function(o,i,r,s){s===void 0&&(s=r),o[s]=i[r]}),Ke=be&&be.__exportStar||function(o,i){for(var r in o)r!=="default"&&!Object.prototype.hasOwnProperty.call(i,r)&&tc(i,o,r)};Object.defineProperty(be,"__esModule",{value:!0});Ke(Zn(),be);Ke(Kn(),be);Ke(Qn(),be);Ke(xa(),be);Ke(ya(),be);Ke(wa(),be);Ke(ka(),be);Ke($i(),be)});var Ma=fe((Sc,Sa)=>{"use strict";function di(){this._types=Object.create(null),this._extensions=Object.create(null);for(let o=0;o<arguments.length;o++)this.define(arguments[o]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}di.prototype.define=function(o,i){for(let r in o){let s=o[r].map(function(c){return c.toLowerCase()});r=r.toLowerCase();for(let c=0;c<s.length;c++){let d=s[c];if(d[0]!=="*"){if(!i&&d in this._types)throw new Error('Attempt to change mapping for "'+d+'" extension from "'+this._types[d]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+d+'" from the list of extensions for "'+r+'".');this._types[d]=r}}if(i||!this._extensions[r]){let c=s[0];this._extensions[r]=c[0]!=="*"?c:c.substr(1)}}};di.prototype.getType=function(o){o=String(o);let i=o.replace(/^.*[/\\]/,"").toLowerCase(),r=i.replace(/^.*\./,"").toLowerCase(),s=i.length<o.length;return(r.length<i.length-1||!s)&&this._types[r]||null};di.prototype.getExtension=function(o){return o=/^\s*([^;\s]*)/.test(o)&&RegExp.$1,o&&this._extensions[o.toLowerCase()]||null};Sa.exports=di});var Da=fe((Mc,Oa)=>{Oa.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}});var Ra=fe((Oc,Pa)=>{Pa.exports={"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.sap.vds":["vds"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}});var Ca=fe((Dc,Ta)=>{"use strict";var ic=Ma();Ta.exports=new ic(Da(),Ra())});var Ia,Ya,Zi,nc,Me,Ee,ac,Ji=gt(()=>{Ia=nt(Et()),Ya=nt(Ca()),Zi=nt(oi()),nc=new Zi.Token("@jupyterlite/contents:IContents");(function(o){o.JSON="application/json",o.PLAIN_TEXT="text/plain",o.OCTET_STREAM="octet/stream"})(Me||(Me={}));(function(o){let i=JSON.parse(Ia.PageConfig.getOption("fileTypes")||"{}");function r(c,d=null){c=c.toLowerCase();for(let f of Object.values(i))for(let u of f.extensions||[])if(u===c&&f.mimeTypes&&f.mimeTypes.length)return f.mimeTypes[0];return Ya.default.getType(c)||d||Me.OCTET_STREAM}o.getType=r;function s(c,d){c=c.toLowerCase();for(let f of Object.values(i))if(f.fileFormat===d){for(let u of f.extensions||[])if(u===c)return!0}return!1}o.hasFormat=s})(Ee||(Ee={}));ac=new Zi.Token("@jupyterlite/contents:IBroadcastChannelWrapper")});var qe,Re,Na,ja,Ea,Ki,ui,Aa=gt(()=>{qe=nt(Et()),Re=nt(Et());Ji();Na=nt(oi()),ja="JupyterLite Storage",Ea=5,Ki=class{constructor(i){this.reduceBytesToString=(r,s)=>r+String.fromCharCode(s),this._serverContents=new Map,this._storageName=ja,this._storageDrivers=null,this._localforage=i.localforage,this._storageName=i.storageName||ja,this._storageDrivers=i.storageDrivers||null,this._ready=new Na.PromiseDelegate}async initialize(){await this.initStorage(),this._ready.resolve(void 0)}async initStorage(){this._storage=this.createDefaultStorage(),this._counters=this.createDefaultCounters(),this._checkpoints=this.createDefaultCheckpoints()}get ready(){return this._ready.promise}get storage(){return this.ready.then(()=>this._storage)}get counters(){return this.ready.then(()=>this._counters)}get checkpoints(){return this.ready.then(()=>this._checkpoints)}get defaultStorageOptions(){let i=this._storageDrivers&&this._storageDrivers.length?this._storageDrivers:null;return{version:1,name:this._storageName,...i?{driver:i}:{}}}createDefaultStorage(){return this._localforage.createInstance({description:"Offline Storage for Notebooks and Files",storeName:"files",...this.defaultStorageOptions})}createDefaultCounters(){return this._localforage.createInstance({description:"Store the current file suffix counters",storeName:"counters",...this.defaultStorageOptions})}createDefaultCheckpoints(){return this._localforage.createInstance({description:"Offline Storage for Checkpoints",storeName:"checkpoints",...this.defaultStorageOptions})}async newUntitled(i){var r,s,c;let d=(r=i==null?void 0:i.path)!==null&&r!==void 0?r:"",f=(s=i==null?void 0:i.type)!==null&&s!==void 0?s:"notebook",u=new Date().toISOString(),v=Re.PathExt.dirname(d),w=Re.PathExt.basename(d),k=Re.PathExt.extname(d),x=await this.get(v),M="";d&&!k&&x?(v=`${d}/`,M=""):v&&w?(v=`${v}/`,M=w):(v="",M=d);let C;switch(f){case"directory":{M=`Untitled Folder${await this._incrementCounter("directory")||""}`,C={name:M,path:`${v}${M}`,last_modified:u,created:u,format:"json",mimetype:"",content:null,size:0,writable:!0,type:"directory"};break}case"notebook":{let re=await this._incrementCounter("notebook");M=M||`Untitled${re||""}.ipynb`,C={name:M,path:`${v}${M}`,last_modified:u,created:u,format:"json",mimetype:Me.JSON,content:ui.EMPTY_NB,size:JSON.stringify(ui.EMPTY_NB).length,writable:!0,type:"notebook"};break}default:{let re=(c=i==null?void 0:i.ext)!==null&&c!==void 0?c:".txt",z=await this._incrementCounter("file"),q=Ee.getType(re)||Me.OCTET_STREAM,W;Ee.hasFormat(re,"text")||q.indexOf("text")!==-1?W="text":re.indexOf("json")!==-1||re.indexOf("ipynb")!==-1?W="json":W="base64",M=M||`untitled${z||""}${re}`,C={name:M,path:`${v}${M}`,last_modified:u,created:u,format:W,mimetype:q,content:"",size:0,writable:!0,type:"file"};break}}let D=C.path;return await(await this.storage).setItem(D,C),C}async copy(i,r){let s=Re.PathExt.basename(i);for(r=r===""?"":`${r.slice(1)}/`;await this.get(`${r}${s}`,{content:!0});){let f=Re.PathExt.extname(s);s=`${s.replace(f,"")} (copy)${f}`}let c=`${r}${s}`,d=await this.get(i,{content:!0});if(!d)throw Error(`Could not find file with path ${i}`);return d={...d,name:s,path:c},await(await this.storage).setItem(c,d),d}async get(i,r){if(i=decodeURIComponent(i.replace(/^\//,"")),i==="")return await this._getFolder(i);let s=await this.storage,c=await s.getItem(i),d=await this._getServerContents(i,r),f=c||d;if(!f)return null;if(!(r!=null&&r.content))return{size:0,...f,content:null};if(f.type==="directory"){let u=new Map;await s.iterate((k,x)=>{x===`${i}/${k.name}`&&u.set(k.name,k)});let v=d?d.content:Array.from((await this._getServerDirectory(i)).values());for(let k of v)u.has(k.name)||u.set(k.name,k);let w=[...u.values()];return{name:Re.PathExt.basename(i),path:i,last_modified:f.last_modified,created:f.created,format:"json",mimetype:Me.JSON,content:w,size:0,writable:!0,type:"directory"}}return f}async rename(i,r){let s=decodeURIComponent(i),c=await this.get(s,{content:!0});if(!c)throw Error(`Could not find file with path ${s}`);let d=new Date().toISOString(),f=Re.PathExt.basename(r),u={...c,name:f,path:r,last_modified:d},v=await this.storage;if(await v.setItem(r,u),await v.removeItem(s),await(await this.checkpoints).removeItem(s),c.type==="directory"){let w;for(w of c.content)await this.rename(qe.URLExt.join(i,w.name),qe.URLExt.join(r,w.name))}return u}async save(i,r={}){var s;i=decodeURIComponent(i);let c=Re.PathExt.extname((s=r.name)!==null&&s!==void 0?s:""),d=await this.get(i);if(d||(d=await this.newUntitled({path:i,ext:c,type:"file"})),!d)return null;let f=new Date().toISOString();if(d={...d,...r,last_modified:f},r.content&&r.format==="base64")if(c===".ipynb"){let u=this.unescapeContent(r.content),v=u.length;d={...d,content:JSON.parse(u),format:"json",type:"notebook",size:v}}else if(Ee.hasFormat(c,"json")){let u=this.unescapeContent(r.content),v=u.length;d={...d,content:JSON.parse(u),format:"json",type:"file",size:v}}else if(Ee.hasFormat(c,"text")){let u=this.unescapeContent(r.content),v=u.length;d={...d,content:u,format:"text",type:"file",size:v}}else d={...d,size:atob(r.content).length};return await(await this.storage).setItem(i,d),d}unescapeContent(i){return decodeURIComponent(escape(atob(i)))}async delete(i){i=decodeURIComponent(i);let r=`${i}/`,s=(await(await this.storage).keys()).filter(c=>c===i||c.startsWith(r));await Promise.all(s.map(this.forgetPath,this))}async forgetPath(i){await Promise.all([(await this.storage).removeItem(i),(await this.checkpoints).removeItem(i)])}async createCheckpoint(i){var r;let s=await this.checkpoints;i=decodeURIComponent(i);let c=await this.get(i,{content:!0});if(!c)throw Error(`Could not find file with path ${i}`);let d=((r=await s.getItem(i))!==null&&r!==void 0?r:[]).filter(Boolean);return d.push(c),d.length>Ea&&d.splice(0,d.length-Ea),await s.setItem(i,d),{id:`${d.length-1}`,last_modified:c.last_modified}}async listCheckpoints(i){return(await(await this.checkpoints).getItem(i)||[]).filter(Boolean).map(this.normalizeCheckpoint,this)}normalizeCheckpoint(i,r){return{id:r.toString(),last_modified:i.last_modified}}async restoreCheckpoint(i,r){i=decodeURIComponent(i);let s=await(await this.checkpoints).getItem(i)||[],c=parseInt(r),d=s[c];await(await this.storage).setItem(i,d)}async deleteCheckpoint(i,r){i=decodeURIComponent(i);let s=await(await this.checkpoints).getItem(i)||[],c=parseInt(r);s.splice(c,1),await(await this.checkpoints).setItem(i,s)}async _getFolder(i){let r=new Map;await(await this.storage).iterate((c,d)=>{d.includes("/")||r.set(c.path,c)});for(let c of(await this._getServerDirectory(i)).values())r.has(c.path)||r.set(c.path,c);return i&&r.size===0?null:{name:"",path:i,last_modified:new Date(0).toISOString(),created:new Date(0).toISOString(),format:"json",mimetype:Me.JSON,content:Array.from(r.values()),size:0,writable:!0,type:"directory"}}async _getServerContents(i,r){let s=Re.PathExt.basename(i),d=(await this._getServerDirectory(qe.URLExt.join(i,".."))).get(s);if(!d)return null;if(d=d||{name:s,path:i,last_modified:new Date(0).toISOString(),created:new Date(0).toISOString(),format:"text",mimetype:Me.PLAIN_TEXT,type:"file",writable:!0,size:0,content:""},r!=null&&r.content)if(d.type==="directory"){let f=await this._getServerDirectory(i);d={...d,content:Array.from(f.values())}}else{let f=qe.URLExt.join(qe.PageConfig.getBaseUrl(),"files",i),u=await fetch(f);if(!u.ok)return null;let v=d.mimetype||u.headers.get("Content-Type"),w=Re.PathExt.extname(s);if(d.type==="notebook"||Ee.hasFormat(w,"json")||(v==null?void 0:v.indexOf("json"))!==-1||i.match(/\.(ipynb|[^/]*json[^/]*)$/)){let k=await u.text();d={...d,content:JSON.parse(k),format:"json",mimetype:d.mimetype||Me.JSON,size:k.length}}else if(Ee.hasFormat(w,"text")||v.indexOf("text")!==-1){let k=await u.text();d={...d,content:k,format:"text",mimetype:v||Me.PLAIN_TEXT,size:k.length}}else{let k=await u.arrayBuffer(),x=new Uint8Array(k);d={...d,content:btoa(x.reduce(this.reduceBytesToString,"")),format:"base64",mimetype:v||Me.OCTET_STREAM,size:x.length}}}return d}async _getServerDirectory(i){let r=this._serverContents.get(i)||new Map;if(!this._serverContents.has(i)){let s=qe.URLExt.join(qe.PageConfig.getBaseUrl(),"api/contents",i,"all.json");try{let c=await fetch(s),d=JSON.parse(await c.text());for(let f of d.content)r.set(f.name,f)}catch(c){console.warn(`don't worry, about ${c}... nothing's broken. If there had been a
|
|
7
|
-
file at ${s}, you might see some more files.`)}this._serverContents.set(i,
|
|
1
|
+
var Dl=Object.create;var Fi=Object.defineProperty;var Pl=Object.getOwnPropertyDescriptor;var Cl=Object.getOwnPropertyNames;var Rl=Object.getPrototypeOf,Tl=Object.prototype.hasOwnProperty;var Ln=(o=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(o,{get:(i,a)=>(typeof require!="undefined"?require:i)[a]}):o)(function(o){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')});var gt=(o,i)=>()=>(o&&(i=o(o=0)),i);var fe=(o,i)=>()=>(i||o((i={exports:{}}).exports,i),i.exports),Il=(o,i)=>{for(var a in i)Fi(o,a,{get:i[a],enumerable:!0})},Yl=(o,i,a,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let c of Cl(i))!Tl.call(o,c)&&c!==a&&Fi(o,c,{get:()=>i[c],enumerable:!(s=Pl(i,c))||s.enumerable});return o};var nt=(o,i,a)=>(a=o!=null?Dl(Rl(o)):{},Yl(i||!o||!o.__esModule?Fi(a,"default",{value:o,enumerable:!0}):a,o));var Hn=fe((ii,Wn)=>{(function(o,i){typeof ii=="object"&&typeof Wn!="undefined"?i(ii):typeof define=="function"&&define.amd?define(["exports"],i):(o=typeof globalThis!="undefined"?globalThis:o||self,i(o.lumino_algorithm={}))})(ii,function(o){"use strict";o.ArrayExt=void 0,function(m){function x(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y=S.length;if(y===0)return-1;_<0?_=Math.max(0,_+y):_=Math.min(_,y-1),g<0?g=Math.max(0,g+y):g=Math.min(g,y-1);var R;g<_?R=g+1+(y-_):R=g-_+1;for(var Y=0;Y<R;++Y){var ne=(_+Y)%y;if(S[ne]===C)return ne}return-1}m.firstIndexOf=x;function P(S,C,_,g){_===void 0&&(_=-1),g===void 0&&(g=0);var y=S.length;if(y===0)return-1;_<0?_=Math.max(0,_+y):_=Math.min(_,y-1),g<0?g=Math.max(0,g+y):g=Math.min(g,y-1);var R;_<g?R=_+1+(y-g):R=_-g+1;for(var Y=0;Y<R;++Y){var ne=(_-Y+y)%y;if(S[ne]===C)return ne}return-1}m.lastIndexOf=P;function I(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y=S.length;if(y===0)return-1;_<0?_=Math.max(0,_+y):_=Math.min(_,y-1),g<0?g=Math.max(0,g+y):g=Math.min(g,y-1);var R;g<_?R=g+1+(y-_):R=g-_+1;for(var Y=0;Y<R;++Y){var ne=(_+Y)%y;if(C(S[ne],ne))return ne}return-1}m.findFirstIndex=I;function L(S,C,_,g){_===void 0&&(_=-1),g===void 0&&(g=0);var y=S.length;if(y===0)return-1;_<0?_=Math.max(0,_+y):_=Math.min(_,y-1),g<0?g=Math.max(0,g+y):g=Math.min(g,y-1);var R;_<g?R=_+1+(y-g):R=_-g+1;for(var Y=0;Y<R;++Y){var ne=(_-Y+y)%y;if(C(S[ne],ne))return ne}return-1}m.findLastIndex=L;function me(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y=I(S,C,_,g);return y!==-1?S[y]:void 0}m.findFirstValue=me;function ie(S,C,_,g){_===void 0&&(_=-1),g===void 0&&(g=0);var y=L(S,C,_,g);return y!==-1?S[y]:void 0}m.findLastValue=ie;function J(S,C,_,g,y){g===void 0&&(g=0),y===void 0&&(y=-1);var R=S.length;if(R===0)return 0;g<0?g=Math.max(0,g+R):g=Math.min(g,R-1),y<0?y=Math.max(0,y+R):y=Math.min(y,R-1);for(var Y=g,ne=y-g+1;ne>0;){var ge=ne>>1,Re=Y+ge;_(S[Re],C)<0?(Y=Re+1,ne-=ge+1):ne=ge}return Y}m.lowerBound=J;function G(S,C,_,g,y){g===void 0&&(g=0),y===void 0&&(y=-1);var R=S.length;if(R===0)return 0;g<0?g=Math.max(0,g+R):g=Math.min(g,R-1),y<0?y=Math.max(0,y+R):y=Math.min(y,R-1);for(var Y=g,ne=y-g+1;ne>0;){var ge=ne>>1,Re=Y+ge;_(S[Re],C)>0?ne=ge:(Y=Re+1,ne-=ge+1)}return Y}m.upperBound=G;function K(S,C,_){if(S===C)return!0;if(S.length!==C.length)return!1;for(var g=0,y=S.length;g<y;++g)if(_?!_(S[g],C[g]):S[g]!==C[g])return!1;return!0}m.shallowEqual=K;function pe(S,C){C===void 0&&(C={});var _=C.start,g=C.stop,y=C.step;if(y===void 0&&(y=1),y===0)throw new Error("Slice `step` cannot be zero.");var R=S.length;_===void 0?_=y<0?R-1:0:_<0?_=Math.max(_+R,y<0?-1:0):_>=R&&(_=y<0?R-1:R),g===void 0?g=y<0?-1:R:g<0?g=Math.max(g+R,y<0?-1:0):g>=R&&(g=y<0?R-1:R);var Y;y<0&&g>=_||y>0&&_>=g?Y=0:y<0?Y=Math.floor((g-_+1)/y+1):Y=Math.floor((g-_-1)/y+1);for(var ne=[],ge=0;ge<Y;++ge)ne[ge]=S[_+ge*y];return ne}m.slice=pe;function ue(S,C,_){var g=S.length;if(!(g<=1)&&(C<0?C=Math.max(0,C+g):C=Math.min(C,g-1),_<0?_=Math.max(0,_+g):_=Math.min(_,g-1),C!==_)){for(var y=S[C],R=C<_?1:-1,Y=C;Y!==_;Y+=R)S[Y]=S[Y+R];S[_]=y}}m.move=ue;function ee(S,C,_){C===void 0&&(C=0),_===void 0&&(_=-1);var g=S.length;if(!(g<=1))for(C<0?C=Math.max(0,C+g):C=Math.min(C,g-1),_<0?_=Math.max(0,_+g):_=Math.min(_,g-1);C<_;){var y=S[C],R=S[_];S[C++]=R,S[_--]=y}}m.reverse=ee;function ke(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y=S.length;if(!(y<=1)&&(_<0?_=Math.max(0,_+y):_=Math.min(_,y-1),g<0?g=Math.max(0,g+y):g=Math.min(g,y-1),!(_>=g))){var R=g-_+1;if(C>0?C=C%R:C<0&&(C=(C%R+R)%R),C!==0){var Y=_+C;ee(S,_,Y-1),ee(S,Y,g),ee(S,_,g)}}}m.rotate=ke;function xe(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y=S.length;if(y!==0){_<0?_=Math.max(0,_+y):_=Math.min(_,y-1),g<0?g=Math.max(0,g+y):g=Math.min(g,y-1);var R;g<_?R=g+1+(y-_):R=g-_+1;for(var Y=0;Y<R;++Y)S[(_+Y)%y]=C}}m.fill=xe;function we(S,C,_){var g=S.length;C<0?C=Math.max(0,C+g):C=Math.min(C,g);for(var y=g;y>C;--y)S[y]=S[y-1];S[C]=_}m.insert=we;function V(S,C){var _=S.length;if(C<0&&(C+=_),!(C<0||C>=_)){for(var g=S[C],y=C+1;y<_;++y)S[y-1]=S[y];return S.length=_-1,g}}m.removeAt=V;function Ge(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y=x(S,C,_,g);return y!==-1&&V(S,y),y}m.removeFirstOf=Ge;function dt(S,C,_,g){_===void 0&&(_=-1),g===void 0&&(g=0);var y=P(S,C,_,g);return y!==-1&&V(S,y),y}m.removeLastOf=dt;function Ut(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y=S.length;if(y===0)return 0;_<0?_=Math.max(0,_+y):_=Math.min(_,y-1),g<0?g=Math.max(0,g+y):g=Math.min(g,y-1);for(var R=0,Y=0;Y<y;++Y)_<=g&&Y>=_&&Y<=g&&S[Y]===C||g<_&&(Y<=g||Y>=_)&&S[Y]===C?R++:R>0&&(S[Y-R]=S[Y]);return R>0&&(S.length=y-R),R}m.removeAllOf=Ut;function yi(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y,R=I(S,C,_,g);return R!==-1&&(y=V(S,R)),{index:R,value:y}}m.removeFirstWhere=yi;function wi(S,C,_,g){_===void 0&&(_=-1),g===void 0&&(g=0);var y,R=L(S,C,_,g);return R!==-1&&(y=V(S,R)),{index:R,value:y}}m.removeLastWhere=wi;function Ft(S,C,_,g){_===void 0&&(_=0),g===void 0&&(g=-1);var y=S.length;if(y===0)return 0;_<0?_=Math.max(0,_+y):_=Math.min(_,y-1),g<0?g=Math.max(0,g+y):g=Math.min(g,y-1);for(var R=0,Y=0;Y<y;++Y)_<=g&&Y>=_&&Y<=g&&C(S[Y],Y)||g<_&&(Y<=g||Y>=_)&&C(S[Y],Y)?R++:R>0&&(S[Y-R]=S[Y]);return R>0&&(S.length=y-R),R}m.removeAllWhere=Ft}(o.ArrayExt||(o.ArrayExt={}));function i(m){var x;return typeof m.iter=="function"?x=m.iter():x=new v(m),x}function a(m){return new M(m)}function s(m){return new T(m)}function c(m){return new D(m)}function d(m){return new re(m)}function f(m,x){for(var P=0,I=i(m),L;(L=I.next())!==void 0;)if(x(L,P++)===!1)return}function u(m,x){for(var P=0,I=i(m),L;(L=I.next())!==void 0;)if(!x(L,P++))return!1;return!0}function h(m,x){for(var P=0,I=i(m),L;(L=I.next())!==void 0;)if(x(L,P++))return!0;return!1}function w(m){for(var x=0,P=[],I=i(m),L;(L=I.next())!==void 0;)P[x++]=L;return P}function k(m){for(var x=i(m),P,I={};(P=x.next())!==void 0;)I[P[0]]=P[1];return I}var v=function(){function m(x){this._index=0,this._source=x}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._source);return x._index=this._index,x},m.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},m}(),M=function(){function m(x,P){P===void 0&&(P=Object.keys(x)),this._index=0,this._source=x,this._keys=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._source,this._keys);return x._index=this._index,x},m.prototype.next=function(){if(!(this._index>=this._keys.length)){var x=this._keys[this._index++];return x in this._source?x:this.next()}},m}(),T=function(){function m(x,P){P===void 0&&(P=Object.keys(x)),this._index=0,this._source=x,this._keys=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._source,this._keys);return x._index=this._index,x},m.prototype.next=function(){if(!(this._index>=this._keys.length)){var x=this._keys[this._index++];return x in this._source?this._source[x]:this.next()}},m}(),D=function(){function m(x,P){P===void 0&&(P=Object.keys(x)),this._index=0,this._source=x,this._keys=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._source,this._keys);return x._index=this._index,x},m.prototype.next=function(){if(!(this._index>=this._keys.length)){var x=this._keys[this._index++];return x in this._source?[x,this._source[x]]:this.next()}},m}(),re=function(){function m(x){this._fn=x}return m.prototype.iter=function(){return this},m.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},m.prototype.next=function(){return this._fn.call(void 0)},m}();function z(){for(var m=[],x=0;x<arguments.length;x++)m[x]=arguments[x];return new q(i(m.map(i)))}var q=function(){function m(x){this._cloned=!1,this._source=x,this._active=void 0}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._source.clone());return x._active=this._active&&this._active.clone(),x._cloned=!0,this._cloned=!0,x},m.prototype.next=function(){if(this._active===void 0){var x=this._source.next();if(x===void 0)return;this._active=this._cloned?x.clone():x}var P=this._active.next();return P!==void 0?P:(this._active=void 0,this.next())},m}();function W(){return new Z}var Z=function(){function m(){}return m.prototype.iter=function(){return this},m.prototype.clone=function(){return new m},m.prototype.next=function(){},m}();function H(m,x){return x===void 0&&(x=0),new ae(i(m),x)}var ae=function(){function m(x,P){this._source=x,this._index=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){return new m(this._source.clone(),this._index)},m.prototype.next=function(){var x=this._source.next();if(x!==void 0)return[this._index++,x]},m}();function E(m,x){return new N(i(m),x)}var N=function(){function m(x,P){this._index=0,this._source=x,this._fn=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._source.clone(),this._fn);return x._index=this._index,x},m.prototype.next=function(){for(var x=this._fn,P=this._source,I;(I=P.next())!==void 0;)if(x(I,this._index++))return I},m}();function F(m,x){for(var P=0,I=i(m),L;(L=I.next())!==void 0;)if(x(L,P++))return L}function $(m,x){for(var P=0,I=i(m),L;(L=I.next())!==void 0;)if(x(L,P++))return P-1;return-1}function X(m,x){var P=i(m),I=P.next();if(I!==void 0){for(var L=I;(I=P.next())!==void 0;)x(I,L)<0&&(L=I);return L}}function ce(m,x){var P=i(m),I=P.next();if(I!==void 0){for(var L=I;(I=P.next())!==void 0;)x(I,L)>0&&(L=I);return L}}function Ve(m,x){var P=i(m),I=P.next();if(I!==void 0){for(var L=I,me=I;(I=P.next())!==void 0;)x(I,L)<0?L=I:x(I,me)>0&&(me=I);return[L,me]}}function yt(m,x){return new ot(i(m),x)}var ot=function(){function m(x,P){this._index=0,this._source=x,this._fn=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._source.clone(),this._fn);return x._index=this._index,x},m.prototype.next=function(){var x=this._source.next();if(x!==void 0)return this._fn.call(void 0,x,this._index++)},m}();function wt(m,x,P){return x===void 0?new lt(0,m,1):P===void 0?new lt(m,x,1):new lt(m,x,P)}var lt=function(){function m(x,P,I){this._index=0,this._start=x,this._stop=P,this._step=I,this._length=bt.rangeLength(x,P,I)}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._start,this._stop,this._step);return x._index=this._index,x},m.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++},m}(),bt;(function(m){function x(P,I,L){return L===0?1/0:P>I&&L>0||P<I&&L<0?0:Math.ceil((I-P)/L)}m.rangeLength=x})(bt||(bt={}));function Oe(m,x,P){var I=0,L=i(m),me=L.next();if(me===void 0&&P===void 0)throw new TypeError("Reduce of empty iterable with no initial value.");if(me===void 0)return P;var ie=L.next();if(ie===void 0&&P===void 0)return me;if(ie===void 0)return x(P,me,I++);var J;P===void 0?J=x(me,ie,I++):J=x(x(P,me,I++),ie,I++);for(var G;(G=L.next())!==void 0;)J=x(J,G,I++);return J}function kt(m,x){return new Qe(m,x)}function ct(m){return new Qe(m,1)}var Qe=function(){function m(x,P){this._value=x,this._count=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){return new m(this._value,this._count)},m.prototype.next=function(){if(!(this._count<=0))return this._count--,this._value},m}();function $e(m){var x;return typeof m.retro=="function"?x=m.retro():x=new A(m),x}var A=function(){function m(x){this._source=x,this._index=x.length-1}return m.prototype.iter=function(){return this},m.prototype.clone=function(){var x=new m(this._source);return x._index=this._index,x},m.prototype.next=function(){if(!(this._index<0||this._index>=this._source.length))return this._source[this._index--]},m}();function gi(m){var x=[],P=new Set,I=new Map;return f(m,L),I.forEach(function(ie,J){me(J)}),x;function L(ie){var J=ie[0],G=ie[1],K=I.get(G);K?K.push(J):I.set(G,[J])}function me(ie){if(!P.has(ie)){P.add(ie);var J=I.get(ie);J&&J.forEach(me),x.push(ie)}}}function _i(m,x){return new Xe(i(m),x)}var Xe=function(){function m(x,P){this._source=x,this._step=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){return new m(this._source.clone(),this._step)},m.prototype.next=function(){for(var x=this._source.next(),P=this._step-1;P>0;--P)this._source.next();return x},m}();o.StringExt=void 0,function(m){function x(ie,J,G){G===void 0&&(G=0);for(var K=new Array(J.length),pe=0,ue=G,ee=J.length;pe<ee;++pe,++ue){if(ue=ie.indexOf(J[pe],ue),ue===-1)return null;K[pe]=ue}return K}m.findIndices=x;function P(ie,J,G){G===void 0&&(G=0);var K=x(ie,J,G);if(!K)return null;for(var pe=0,ue=0,ee=K.length;ue<ee;++ue){var ke=K[ue]-G;pe+=ke*ke}return{score:pe,indices:K}}m.matchSumOfSquares=P;function I(ie,J,G){G===void 0&&(G=0);var K=x(ie,J,G);if(!K)return null;for(var pe=0,ue=G-1,ee=0,ke=K.length;ee<ke;++ee){var xe=K[ee];pe+=xe-ue-1,ue=xe}return{score:pe,indices:K}}m.matchSumOfDeltas=I;function L(ie,J,G){for(var K=[],pe=0,ue=0,ee=J.length;pe<ee;){for(var ke=J[pe],xe=J[pe];++pe<ee&&J[pe]===xe+1;)xe++;ue<ke&&K.push(ie.slice(ue,ke)),ke<xe+1&&K.push(G(ie.slice(ke,xe+1))),ue=xe+1}return ue<ie.length&&K.push(ie.slice(ue)),K}m.highlight=L;function me(ie,J){return ie<J?-1:ie>J?1:0}m.cmp=me}(o.StringExt||(o.StringExt={}));function Nt(m,x){return new At(i(m),x)}var At=function(){function m(x,P){this._source=x,this._count=P}return m.prototype.iter=function(){return this},m.prototype.clone=function(){return new m(this._source.clone(),this._count)},m.prototype.next=function(){if(!(this._count<=0)){var x=this._source.next();if(x!==void 0)return this._count--,x}},m}();function xi(){for(var m=[],x=0;x<arguments.length;x++)m[x]=arguments[x];return new zt(m.map(i))}var zt=function(){function m(x){this._source=x}return m.prototype.iter=function(){return this},m.prototype.clone=function(){return new m(this._source.map(function(x){return x.clone()}))},m.prototype.next=function(){for(var x=new Array(this._source.length),P=0,I=this._source.length;P<I;++P){var L=this._source[P].next();if(L===void 0)return;x[P]=L}return x},m}();o.ArrayIterator=v,o.ChainIterator=q,o.EmptyIterator=Z,o.EnumerateIterator=ae,o.FilterIterator=N,o.FnIterator=re,o.ItemIterator=D,o.KeyIterator=M,o.MapIterator=ot,o.RangeIterator=lt,o.RepeatIterator=Qe,o.RetroArrayIterator=A,o.StrideIterator=Xe,o.TakeIterator=At,o.ValueIterator=T,o.ZipIterator=zt,o.chain=z,o.each=f,o.empty=W,o.enumerate=H,o.every=u,o.filter=E,o.find=F,o.findIndex=$,o.iter=i,o.iterFn=d,o.iterItems=c,o.iterKeys=a,o.iterValues=s,o.map=yt,o.max=ce,o.min=X,o.minmax=Ve,o.once=ct,o.range=wt,o.reduce=Oe,o.repeat=kt,o.retro=$e,o.some=h,o.stride=_i,o.take=Nt,o.toArray=w,o.toObject=k,o.topologicSort=gi,o.zip=xi,Object.defineProperty(o,"__esModule",{value:!0})})});var Vn=fe((ni,qn)=>{(function(o,i){typeof ni=="object"&&typeof qn!="undefined"?i(ni):typeof define=="function"&&define.amd?define(["exports"],i):(o=typeof globalThis!="undefined"?globalThis:o||self,i(o.lumino_properties={}))})(ni,function(o){"use strict";o.AttachedProperty=function(){function a(s){this._pid=i.nextPID(),this.name=s.name,this._create=s.create,this._coerce=s.coerce||null,this._compare=s.compare||null,this._changed=s.changed||null}return a.prototype.get=function(s){var c,d=i.ensureMap(s);return this._pid in d?c=d[this._pid]:c=d[this._pid]=this._createValue(s),c},a.prototype.set=function(s,c){var d,f=i.ensureMap(s);this._pid in f?d=f[this._pid]:d=f[this._pid]=this._createValue(s);var u=this._coerceValue(s,c);this._maybeNotify(s,d,f[this._pid]=u)},a.prototype.coerce=function(s){var c,d=i.ensureMap(s);this._pid in d?c=d[this._pid]:c=d[this._pid]=this._createValue(s);var f=this._coerceValue(s,c);this._maybeNotify(s,c,d[this._pid]=f)},a.prototype._createValue=function(s){var c=this._create;return c(s)},a.prototype._coerceValue=function(s,c){var d=this._coerce;return d?d(s,c):c},a.prototype._compareValue=function(s,c){var d=this._compare;return d?d(s,c):s===c},a.prototype._maybeNotify=function(s,c,d){var f=this._changed;f&&!this._compareValue(c,d)&&f(s,c,d)},a}(),function(a){function s(c){i.ownerData.delete(c)}a.clearData=s}(o.AttachedProperty||(o.AttachedProperty={}));var i;(function(a){a.ownerData=new WeakMap,a.nextPID=function(){var c=0;return function(){var d=Math.random(),f=(""+d).slice(2);return"pid-"+f+"-"+c++}}();function s(c){var d=a.ownerData.get(c);return d||(d=Object.create(null),a.ownerData.set(c,d),d)}a.ensureMap=s})(i||(i={})),Object.defineProperty(o,"__esModule",{value:!0})})});var Gn=fe((ai,$n)=>{(function(o,i){typeof ai=="object"&&typeof $n!="undefined"?i(ai,Hn(),Vn()):typeof define=="function"&&define.amd?define(["exports","@lumino/algorithm","@lumino/properties"],i):(o=typeof globalThis!="undefined"?globalThis:o||self,i(o.lumino_signaling={},o.lumino_algorithm,o.lumino_properties))})(ai,function(o,i,a){"use strict";o.Signal=function(){function c(d){this._blockedCount=0,this.sender=d}return c.prototype.block=function(d){this._blockedCount++;try{d()}finally{this._blockedCount--}},c.prototype.connect=function(d,f){return s.connect(this,d,f)},c.prototype.disconnect=function(d,f){return s.disconnect(this,d,f)},c.prototype.emit=function(d){this._blockedCount||s.emit(this,d)},c}(),function(c){function d(T,D){var re=s.blockedProperty;re.set(T,re.get(T)+1);try{D()}finally{re.set(T,re.get(T)-1)}}c.blockAll=d;function f(T,D){s.disconnectBetween(T,D)}c.disconnectBetween=f;function u(T){s.disconnectSender(T)}c.disconnectSender=u;function h(T){s.disconnectReceiver(T)}c.disconnectReceiver=h;function w(T){s.disconnectAll(T)}c.disconnectAll=w;function k(T){s.disconnectAll(T)}c.clearData=k;function v(){return s.exceptionHandler}c.getExceptionHandler=v;function M(T){var D=s.exceptionHandler;return s.exceptionHandler=T,D}c.setExceptionHandler=M}(o.Signal||(o.Signal={}));var s;(function(c){c.exceptionHandler=function(E){console.error(E)};function d(E,N,F){F=F||void 0;var $=M.get(E.sender);if($||($=[],M.set(E.sender,$)),z($,E,N,F))return!1;var X=F||N,ce=T.get(X);ce||(ce=[],T.set(X,ce));var Ve={signal:E,slot:N,thisArg:F};return $.push(Ve),ce.push(Ve),!0}c.connect=d;function f(E,N,F){F=F||void 0;var $=M.get(E.sender);if(!$||$.length===0)return!1;var X=z($,E,N,F);if(!X)return!1;var ce=F||N,Ve=T.get(ce);return X.signal=null,W($),W(Ve),!0}c.disconnect=f;function u(E,N){var F=M.get(E);if(!(!F||F.length===0)){var $=T.get(N);!$||$.length===0||(i.each($,function(X){X.signal&&X.signal.sender===E&&(X.signal=null)}),W(F),W($))}}c.disconnectBetween=u;function h(E){var N=M.get(E);!N||N.length===0||(i.each(N,function(F){if(F.signal){var $=F.thisArg||F.slot;F.signal=null,W(T.get($))}}),W(N))}c.disconnectSender=h;function w(E){var N=T.get(E);!N||N.length===0||(i.each(N,function(F){if(F.signal){var $=F.signal.sender;F.signal=null,W(M.get($))}}),W(N))}c.disconnectReceiver=w;function k(E){h(E),w(E)}c.disconnectAll=k;function v(E,N){if(!(c.blockedProperty.get(E.sender)>0)){var F=M.get(E.sender);if(!(!F||F.length===0))for(var $=0,X=F.length;$<X;++$){var ce=F[$];ce.signal===E&&q(ce,N)}}}c.emit=v;var M=new WeakMap,T=new WeakMap,D=new Set,re=function(){var E=typeof requestAnimationFrame=="function";return E?requestAnimationFrame:setImmediate}();function z(E,N,F,$){return i.find(E,function(X){return X.signal===N&&X.slot===F&&X.thisArg===$})}function q(E,N){var F=E.signal,$=E.slot,X=E.thisArg;try{$.call(X,F.sender,N)}catch(ce){c.exceptionHandler(ce)}}function W(E){D.size===0&&re(Z),D.add(E)}function Z(){D.forEach(H),D.clear()}function H(E){i.ArrayExt.removeAllWhere(E,ae)}function ae(E){return E.signal===null}c.blockedProperty=new a.AttachedProperty({name:"blocked",create:function(){return 0}})})(s||(s={})),Object.defineProperty(o,"__esModule",{value:!0})})});var Zn=fe(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.ActivityMonitor=void 0;var Bn=Gn(),Li=class{constructor(i){this._timer=-1,this._timeout=-1,this._isDisposed=!1,this._activityStopped=new Bn.Signal(this),i.signal.connect(this._onSignalFired,this),this._timeout=i.timeout||1e3}get activityStopped(){return this._activityStopped}get timeout(){return this._timeout}set timeout(i){this._timeout=i}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,Bn.Signal.clearData(this))}_onSignalFired(i,a){clearTimeout(this._timer),this._sender=i,this._args=a,this._timer=setTimeout(()=>{this._activityStopped.emit({sender:this._sender,args:this._args})},this._timeout)}};ri.ActivityMonitor=Li});var Kn=fe(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0})});var Qn=fe(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});It.MarkdownCodeBlocks=void 0;var jl;(function(o){o.CODE_BLOCK_MARKER="```";let i=[".markdown",".mdown",".mkdn",".md",".mkd",".mdwn",".mdtxt",".mdtext",".text",".txt",".Rmd"];class a{constructor(f){this.startLine=f,this.code="",this.endLine=-1}}o.MarkdownCodeBlock=a;function s(d){return i.indexOf(d)>-1}o.isMarkdown=s;function c(d){if(!d||d==="")return[];let f=d.split(`
|
|
2
|
+
`),u=[],h=null;for(let w=0;w<f.length;w++){let k=f[w],v=k.indexOf(o.CODE_BLOCK_MARKER)===0,M=h!=null;if(!(!v&&!M))if(M)h&&(v?(h.endLine=w-1,u.push(h),h=null):h.code+=k+`
|
|
3
|
+
`);else{h=new a(w);let T=k.indexOf(o.CODE_BLOCK_MARKER),D=k.lastIndexOf(o.CODE_BLOCK_MARKER);T!==D&&(h.code=k.substring(T+o.CODE_BLOCK_MARKER.length,D),h.endLine=w,u.push(h),h=null)}}return u}o.findMarkdownCodeBlocks=c})(jl=It.MarkdownCodeBlocks||(It.MarkdownCodeBlocks={}))});var oi=fe((si,Xn)=>{(function(o,i){typeof si=="object"&&typeof Xn!="undefined"?i(si):typeof define=="function"&&define.amd?define(["exports"],i):(o=typeof globalThis!="undefined"?globalThis:o||self,i(o.lumino_coreutils={}))})(si,function(o){"use strict";o.JSONExt=void 0,function(f){f.emptyObject=Object.freeze({}),f.emptyArray=Object.freeze([]);function u(z){return z===null||typeof z=="boolean"||typeof z=="number"||typeof z=="string"}f.isPrimitive=u;function h(z){return Array.isArray(z)}f.isArray=h;function w(z){return!u(z)&&!h(z)}f.isObject=w;function k(z,q){if(z===q)return!0;if(u(z)||u(q))return!1;var W=h(z),Z=h(q);return W!==Z?!1:W&&Z?M(z,q):T(z,q)}f.deepEqual=k;function v(z){return u(z)?z:h(z)?D(z):re(z)}f.deepCopy=v;function M(z,q){if(z===q)return!0;if(z.length!==q.length)return!1;for(var W=0,Z=z.length;W<Z;++W)if(!k(z[W],q[W]))return!1;return!0}function T(z,q){if(z===q)return!0;for(var W in z)if(z[W]!==void 0&&!(W in q))return!1;for(var W in q)if(q[W]!==void 0&&!(W in z))return!1;for(var W in z){var Z=z[W],H=q[W];if(!(Z===void 0&&H===void 0)&&(Z===void 0||H===void 0||!k(Z,H)))return!1}return!0}function D(z){for(var q=new Array(z.length),W=0,Z=z.length;W<Z;++W)q[W]=v(z[W]);return q}function re(z){var q={};for(var W in z){var Z=z[W];Z!==void 0&&(q[W]=v(Z))}return q}}(o.JSONExt||(o.JSONExt={}));var i=function(){function f(){this._types=[],this._values=[]}return f.prototype.types=function(){return this._types.slice()},f.prototype.hasData=function(u){return this._types.indexOf(u)!==-1},f.prototype.getData=function(u){var h=this._types.indexOf(u);return h!==-1?this._values[h]:void 0},f.prototype.setData=function(u,h){this.clearData(u),this._types.push(u),this._values.push(h)},f.prototype.clearData=function(u){var h=this._types.indexOf(u);h!==-1&&(this._types.splice(h,1),this._values.splice(h,1))},f.prototype.clear=function(){this._types.length=0,this._values.length=0},f}(),a=function(){function f(){var u=this;this.promise=new Promise(function(h,w){u._resolve=h,u._reject=w})}return f.prototype.resolve=function(u){var h=this._resolve;h(u)},f.prototype.reject=function(u){var h=this._reject;h(u)},f}(),s=function(){function f(u){this.name=u,this._tokenStructuralPropertyT=null}return f}();function c(f){for(var u=0,h=0,w=f.length;h<w;++h)h%4===0&&(u=Math.random()*4294967295>>>0),f[h]=u&255,u>>>=8}o.Random=void 0,function(f){f.getRandomValues=function(){var u=typeof window!="undefined"&&(window.crypto||window.msCrypto)||null;return u&&typeof u.getRandomValues=="function"?function(w){return u.getRandomValues(w)}:c}()}(o.Random||(o.Random={}));function d(f){for(var u=new Uint8Array(16),h=new Array(256),w=0;w<16;++w)h[w]="0"+w.toString(16);for(var w=16;w<256;++w)h[w]=w.toString(16);return function(){return f(u),u[6]=64|u[6]&15,u[8]=128|u[8]&63,h[u[0]]+h[u[1]]+h[u[2]]+h[u[3]]+"-"+h[u[4]]+h[u[5]]+"-"+h[u[6]]+h[u[7]]+"-"+h[u[8]]+h[u[9]]+"-"+h[u[10]]+h[u[11]]+h[u[12]]+h[u[13]]+h[u[14]]+h[u[15]]}}o.UUID=void 0,function(f){f.uuid4=d(o.Random.getRandomValues)}(o.UUID||(o.UUID={})),o.MimeData=i,o.PromiseDelegate=a,o.Token=s,Object.defineProperty(o,"__esModule",{value:!0})})});var na=fe((pc,ia)=>{"use strict";function El(o,i){var a=o;i.slice(0,-1).forEach(function(c){a=a[c]||{}});var s=i[i.length-1];return s in a}function ea(o){return typeof o=="number"||/^0x[0-9a-f]+$/i.test(o)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(o)}function ta(o,i){return i==="constructor"&&typeof o[i]=="function"||i==="__proto__"}ia.exports=function(o,i){i||(i={});var a={bools:{},strings:{},unknownFn:null};typeof i.unknown=="function"&&(a.unknownFn=i.unknown),typeof i.boolean=="boolean"&&i.boolean?a.allBools=!0:[].concat(i.boolean).filter(Boolean).forEach(function(H){a.bools[H]=!0});var s={};function c(H){return s[H].some(function(ae){return a.bools[ae]})}Object.keys(i.alias||{}).forEach(function(H){s[H]=[].concat(i.alias[H]),s[H].forEach(function(ae){s[ae]=[H].concat(s[H].filter(function(E){return ae!==E}))})}),[].concat(i.string).filter(Boolean).forEach(function(H){a.strings[H]=!0,s[H]&&[].concat(s[H]).forEach(function(ae){a.strings[ae]=!0})});var d=i.default||{},f={_:[]};function u(H,ae){return a.allBools&&/^--[^=]+$/.test(ae)||a.strings[H]||a.bools[H]||s[H]}function h(H,ae,E){for(var N=H,F=0;F<ae.length-1;F++){var $=ae[F];if(ta(N,$))return;N[$]===void 0&&(N[$]={}),(N[$]===Object.prototype||N[$]===Number.prototype||N[$]===String.prototype)&&(N[$]={}),N[$]===Array.prototype&&(N[$]=[]),N=N[$]}var X=ae[ae.length-1];ta(N,X)||((N===Object.prototype||N===Number.prototype||N===String.prototype)&&(N={}),N===Array.prototype&&(N=[]),N[X]===void 0||a.bools[X]||typeof N[X]=="boolean"?N[X]=E:Array.isArray(N[X])?N[X].push(E):N[X]=[N[X],E])}function w(H,ae,E){if(!(E&&a.unknownFn&&!u(H,E)&&a.unknownFn(E)===!1)){var N=!a.strings[H]&&ea(ae)?Number(ae):ae;h(f,H.split("."),N),(s[H]||[]).forEach(function(F){h(f,F.split("."),N)})}}Object.keys(a.bools).forEach(function(H){w(H,d[H]===void 0?!1:d[H])});var k=[];o.indexOf("--")!==-1&&(k=o.slice(o.indexOf("--")+1),o=o.slice(0,o.indexOf("--")));for(var v=0;v<o.length;v++){var M=o[v],T,D;if(/^--.+=/.test(M)){var re=M.match(/^--([^=]+)=([\s\S]*)$/);T=re[1];var z=re[2];a.bools[T]&&(z=z!=="false"),w(T,z,M)}else if(/^--no-.+/.test(M))T=M.match(/^--no-(.+)/)[1],w(T,!1,M);else if(/^--.+/.test(M))T=M.match(/^--(.+)/)[1],D=o[v+1],D!==void 0&&!/^(-|--)[^-]/.test(D)&&!a.bools[T]&&!a.allBools&&(!s[T]||!c(T))?(w(T,D,M),v+=1):/^(true|false)$/.test(D)?(w(T,D==="true",M),v+=1):w(T,a.strings[T]?"":!0,M);else if(/^-[^-]+/.test(M)){for(var q=M.slice(1,-1).split(""),W=!1,Z=0;Z<q.length;Z++){if(D=M.slice(Z+2),D==="-"){w(q[Z],D,M);continue}if(/[A-Za-z]/.test(q[Z])&&D[0]==="="){w(q[Z],D.slice(1),M),W=!0;break}if(/[A-Za-z]/.test(q[Z])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(D)){w(q[Z],D,M),W=!0;break}if(q[Z+1]&&q[Z+1].match(/\W/)){w(q[Z],M.slice(Z+2),M),W=!0;break}else w(q[Z],a.strings[q[Z]]?"":!0,M)}T=M.slice(-1)[0],!W&&T!=="-"&&(o[v+1]&&!/^(-|--)[^-]/.test(o[v+1])&&!a.bools[T]&&(!s[T]||!c(T))?(w(T,o[v+1],M),v+=1):o[v+1]&&/^(true|false)$/.test(o[v+1])?(w(T,o[v+1]==="true",M),v+=1):w(T,a.strings[T]?"":!0,M))}else if((!a.unknownFn||a.unknownFn(M)!==!1)&&f._.push(a.strings._||!ea(M)?M:Number(M)),i.stopEarly){f._.push.apply(f._,o.slice(v+1));break}}return Object.keys(d).forEach(function(H){El(f,H.split("."))||(h(f,H.split("."),d[H]),(s[H]||[]).forEach(function(ae){h(f,ae.split("."),d[H])}))}),i["--"]?f["--"]=k.slice():k.forEach(function(H){f._.push(H)}),f}});var li=fe((hc,ra)=>{"use strict";function Ie(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function aa(o,i){for(var a="",s=0,c=-1,d=0,f,u=0;u<=o.length;++u){if(u<o.length)f=o.charCodeAt(u);else{if(f===47)break;f=47}if(f===47){if(!(c===u-1||d===1))if(c!==u-1&&d===2){if(a.length<2||s!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var h=a.lastIndexOf("/");if(h!==a.length-1){h===-1?(a="",s=0):(a=a.slice(0,h),s=a.length-1-a.lastIndexOf("/")),c=u,d=0;continue}}else if(a.length===2||a.length===1){a="",s=0,c=u,d=0;continue}}i&&(a.length>0?a+="/..":a="..",s=2)}else a.length>0?a+="/"+o.slice(c+1,u):a=o.slice(c+1,u),s=u-c-1;c=u,d=0}else f===46&&d!==-1?++d:d=-1}return a}function Nl(o,i){var a=i.dir||i.root,s=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+s:a+o+s:s}var _t={resolve:function(){for(var i="",a=!1,s,c=arguments.length-1;c>=-1&&!a;c--){var d;c>=0?d=arguments[c]:(s===void 0&&(s=process.cwd()),d=s),Ie(d),d.length!==0&&(i=d+"/"+i,a=d.charCodeAt(0)===47)}return i=aa(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(Ie(i),i.length===0)return".";var a=i.charCodeAt(0)===47,s=i.charCodeAt(i.length-1)===47;return i=aa(i,!a),i.length===0&&!a&&(i="."),i.length>0&&s&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return Ie(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var s=arguments[a];Ie(s),s.length>0&&(i===void 0?i=s:i+="/"+s)}return i===void 0?".":_t.normalize(i)},relative:function(i,a){if(Ie(i),Ie(a),i===a||(i=_t.resolve(i),a=_t.resolve(a),i===a))return"";for(var s=1;s<i.length&&i.charCodeAt(s)===47;++s);for(var c=i.length,d=c-s,f=1;f<a.length&&a.charCodeAt(f)===47;++f);for(var u=a.length,h=u-f,w=d<h?d:h,k=-1,v=0;v<=w;++v){if(v===w){if(h>w){if(a.charCodeAt(f+v)===47)return a.slice(f+v+1);if(v===0)return a.slice(f+v)}else d>w&&(i.charCodeAt(s+v)===47?k=v:v===0&&(k=0));break}var M=i.charCodeAt(s+v),T=a.charCodeAt(f+v);if(M!==T)break;M===47&&(k=v)}var D="";for(v=s+k+1;v<=c;++v)(v===c||i.charCodeAt(v)===47)&&(D.length===0?D+="..":D+="/..");return D.length>0?D+a.slice(f+k):(f+=k,a.charCodeAt(f)===47&&++f,a.slice(f))},_makeLong:function(i){return i},dirname:function(i){if(Ie(i),i.length===0)return".";for(var a=i.charCodeAt(0),s=a===47,c=-1,d=!0,f=i.length-1;f>=1;--f)if(a=i.charCodeAt(f),a===47){if(!d){c=f;break}}else d=!1;return c===-1?s?"/":".":s&&c===1?"//":i.slice(0,c)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');Ie(i);var s=0,c=-1,d=!0,f;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var u=a.length-1,h=-1;for(f=i.length-1;f>=0;--f){var w=i.charCodeAt(f);if(w===47){if(!d){s=f+1;break}}else h===-1&&(d=!1,h=f+1),u>=0&&(w===a.charCodeAt(u)?--u===-1&&(c=f):(u=-1,c=h))}return s===c?c=h:c===-1&&(c=i.length),i.slice(s,c)}else{for(f=i.length-1;f>=0;--f)if(i.charCodeAt(f)===47){if(!d){s=f+1;break}}else c===-1&&(d=!1,c=f+1);return c===-1?"":i.slice(s,c)}},extname:function(i){Ie(i);for(var a=-1,s=0,c=-1,d=!0,f=0,u=i.length-1;u>=0;--u){var h=i.charCodeAt(u);if(h===47){if(!d){s=u+1;break}continue}c===-1&&(d=!1,c=u+1),h===46?a===-1?a=u:f!==1&&(f=1):a!==-1&&(f=-1)}return a===-1||c===-1||f===0||f===1&&a===c-1&&a===s+1?"":i.slice(a,c)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return Nl("/",i)},parse:function(i){Ie(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var s=i.charCodeAt(0),c=s===47,d;c?(a.root="/",d=1):d=0;for(var f=-1,u=0,h=-1,w=!0,k=i.length-1,v=0;k>=d;--k){if(s=i.charCodeAt(k),s===47){if(!w){u=k+1;break}continue}h===-1&&(w=!1,h=k+1),s===46?f===-1?f=k:v!==1&&(v=1):f!==-1&&(v=-1)}return f===-1||h===-1||v===0||v===1&&f===h-1&&f===u+1?h!==-1&&(u===0&&c?a.base=a.name=i.slice(1,h):a.base=a.name=i.slice(u,h)):(u===0&&c?(a.name=i.slice(1,f),a.base=i.slice(1,h)):(a.name=i.slice(u,f),a.base=i.slice(u,h)),a.ext=i.slice(f,h)),u>0?a.dir=i.slice(0,u-1):c&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};_t.posix=_t;ra.exports=_t});var oa=fe((mc,sa)=>{"use strict";sa.exports=function(i,a){if(a=a.split(":")[0],i=+i,!i)return!1;switch(a){case"http":case"ws":return i!==80;case"https":case"wss":return i!==443;case"ftp":return i!==21;case"gopher":return i!==70;case"file":return!1}return i!==0}});var da=fe(Wi=>{"use strict";var Al=Object.prototype.hasOwnProperty,zl;function la(o){try{return decodeURIComponent(o.replace(/\+/g," "))}catch{return null}}function ca(o){try{return encodeURIComponent(o)}catch{return null}}function Ul(o){for(var i=/([^=?#&]+)=?([^&]*)/g,a={},s;s=i.exec(o);){var c=la(s[1]),d=la(s[2]);c===null||d===null||c in a||(a[c]=d)}return a}function Fl(o,i){i=i||"";var a=[],s,c;typeof i!="string"&&(i="?");for(c in o)if(Al.call(o,c)){if(s=o[c],!s&&(s===null||s===zl||isNaN(s))&&(s=""),c=ca(c),s=ca(s),c===null||s===null)continue;a.push(c+"="+s)}return a.length?i+a.join("&"):""}Wi.stringify=Fl;Wi.parse=Ul});var _a=fe((gc,ga)=>{"use strict";var fa=oa(),ci=da(),Ll=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,pa=/[\n\r\t]/g,Wl=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,ha=/:\d+$/,Hl=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,ql=/^[a-zA-Z]:/;function qi(o){return(o||"").toString().replace(Ll,"")}var Hi=[["#","hash"],["?","query"],function(i,a){return Ye(a.protocol)?i.replace(/\\/g,"/"):i},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ua={hash:1,query:1};function ma(o){var i;typeof window!="undefined"?i=window:typeof global!="undefined"?i=global:typeof self!="undefined"?i=self:i={};var a=i.location||{};o=o||a;var s={},c=typeof o,d;if(o.protocol==="blob:")s=new je(unescape(o.pathname),{});else if(c==="string"){s=new je(o,{});for(d in ua)delete s[d]}else if(c==="object"){for(d in o)d in ua||(s[d]=o[d]);s.slashes===void 0&&(s.slashes=Wl.test(o.href))}return s}function Ye(o){return o==="file:"||o==="ftp:"||o==="http:"||o==="https:"||o==="ws:"||o==="wss:"}function va(o,i){o=qi(o),o=o.replace(pa,""),i=i||{};var a=Hl.exec(o),s=a[1]?a[1].toLowerCase():"",c=!!a[2],d=!!a[3],f=0,u;return c?d?(u=a[2]+a[3]+a[4],f=a[2].length+a[3].length):(u=a[2]+a[4],f=a[2].length):d?(u=a[3]+a[4],f=a[3].length):u=a[4],s==="file:"?f>=2&&(u=u.slice(2)):Ye(s)?u=a[4]:s?c&&(u=u.slice(2)):f>=2&&Ye(i.protocol)&&(u=a[4]),{protocol:s,slashes:c||Ye(s),slashesCount:f,rest:u}}function Vl(o,i){if(o==="")return i;for(var a=(i||"/").split("/").slice(0,-1).concat(o.split("/")),s=a.length,c=a[s-1],d=!1,f=0;s--;)a[s]==="."?a.splice(s,1):a[s]===".."?(a.splice(s,1),f++):f&&(s===0&&(d=!0),a.splice(s,1),f--);return d&&a.unshift(""),(c==="."||c==="..")&&a.push(""),a.join("/")}function je(o,i,a){if(o=qi(o),o=o.replace(pa,""),!(this instanceof je))return new je(o,i,a);var s,c,d,f,u,h,w=Hi.slice(),k=typeof i,v=this,M=0;for(k!=="object"&&k!=="string"&&(a=i,i=null),a&&typeof a!="function"&&(a=ci.parse),i=ma(i),c=va(o||"",i),s=!c.protocol&&!c.slashes,v.slashes=c.slashes||s&&i.slashes,v.protocol=c.protocol||i.protocol||"",o=c.rest,(c.protocol==="file:"&&(c.slashesCount!==2||ql.test(o))||!c.slashes&&(c.protocol||c.slashesCount<2||!Ye(v.protocol)))&&(w[3]=[/(.*)/,"pathname"]);M<w.length;M++){if(f=w[M],typeof f=="function"){o=f(o,v);continue}d=f[0],h=f[1],d!==d?v[h]=o:typeof d=="string"?(u=d==="@"?o.lastIndexOf(d):o.indexOf(d),~u&&(typeof f[2]=="number"?(v[h]=o.slice(0,u),o=o.slice(u+f[2])):(v[h]=o.slice(u),o=o.slice(0,u)))):(u=d.exec(o))&&(v[h]=u[1],o=o.slice(0,u.index)),v[h]=v[h]||s&&f[3]&&i[h]||"",f[4]&&(v[h]=v[h].toLowerCase())}a&&(v.query=a(v.query)),s&&i.slashes&&v.pathname.charAt(0)!=="/"&&(v.pathname!==""||i.pathname!=="")&&(v.pathname=Vl(v.pathname,i.pathname)),v.pathname.charAt(0)!=="/"&&Ye(v.protocol)&&(v.pathname="/"+v.pathname),fa(v.port,v.protocol)||(v.host=v.hostname,v.port=""),v.username=v.password="",v.auth&&(u=v.auth.indexOf(":"),~u?(v.username=v.auth.slice(0,u),v.username=encodeURIComponent(decodeURIComponent(v.username)),v.password=v.auth.slice(u+1),v.password=encodeURIComponent(decodeURIComponent(v.password))):v.username=encodeURIComponent(decodeURIComponent(v.auth)),v.auth=v.password?v.username+":"+v.password:v.username),v.origin=v.protocol!=="file:"&&Ye(v.protocol)&&v.host?v.protocol+"//"+v.host:"null",v.href=v.toString()}function $l(o,i,a){var s=this;switch(o){case"query":typeof i=="string"&&i.length&&(i=(a||ci.parse)(i)),s[o]=i;break;case"port":s[o]=i,fa(i,s.protocol)?i&&(s.host=s.hostname+":"+i):(s.host=s.hostname,s[o]="");break;case"hostname":s[o]=i,s.port&&(i+=":"+s.port),s.host=i;break;case"host":s[o]=i,ha.test(i)?(i=i.split(":"),s.port=i.pop(),s.hostname=i.join(":")):(s.hostname=i,s.port="");break;case"protocol":s.protocol=i.toLowerCase(),s.slashes=!a;break;case"pathname":case"hash":if(i){var c=o==="pathname"?"/":"#";s[o]=i.charAt(0)!==c?c+i:i}else s[o]=i;break;case"username":case"password":s[o]=encodeURIComponent(i);break;case"auth":var d=i.indexOf(":");~d?(s.username=i.slice(0,d),s.username=encodeURIComponent(decodeURIComponent(s.username)),s.password=i.slice(d+1),s.password=encodeURIComponent(decodeURIComponent(s.password))):s.username=encodeURIComponent(decodeURIComponent(i))}for(var f=0;f<Hi.length;f++){var u=Hi[f];u[4]&&(s[u[1]]=s[u[1]].toLowerCase())}return s.auth=s.password?s.username+":"+s.password:s.username,s.origin=s.protocol!=="file:"&&Ye(s.protocol)&&s.host?s.protocol+"//"+s.host:"null",s.href=s.toString(),s}function Gl(o){(!o||typeof o!="function")&&(o=ci.stringify);var i,a=this,s=a.host,c=a.protocol;c&&c.charAt(c.length-1)!==":"&&(c+=":");var d=c+(a.protocol&&a.slashes||Ye(a.protocol)?"//":"");return a.username?(d+=a.username,a.password&&(d+=":"+a.password),d+="@"):a.password?(d+=":"+a.password,d+="@"):a.protocol!=="file:"&&Ye(a.protocol)&&!s&&a.pathname!=="/"&&(d+="@"),(s[s.length-1]===":"||ha.test(a.hostname)&&!a.port)&&(s+=":"),d+=s+a.pathname,i=typeof a.query=="object"?o(a.query):a.query,i&&(d+=i.charAt(0)!=="?"?"?"+i:i),a.hash&&(d+=a.hash),d}je.prototype={set:$l,toString:Gl};je.extractProtocol=va;je.location=ma;je.trimLeft=qi;je.qs=ci;ga.exports=je});var $i=fe(at=>{"use strict";var Bl=at&&at.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(at,"__esModule",{value:!0});at.URLExt=void 0;var Zl=li(),Vi=Bl(_a()),Jl;(function(o){function i(w){if(typeof document!="undefined"&&document){let k=document.createElement("a");return k.href=w,k}return Vi.default(w)}o.parse=i;function a(w){return Vi.default(w).hostname}o.getHostName=a;function s(w){return w&&i(w).toString()}o.normalize=s;function c(...w){let k=Vi.default(w[0],{}),v=`${k.protocol}${k.slashes?"//":""}${k.auth}${k.auth?"@":""}${k.host}`,M=Zl.posix.join(`${v&&k.pathname[0]!=="/"?"/":""}${k.pathname}`,...w.slice(1));return`${v}${M==="."?"":M}`}o.join=c;function d(w){return c(...w.split("/").map(encodeURIComponent))}o.encodeParts=d;function f(w){let k=Object.keys(w).filter(v=>v.length>0);return k.length?"?"+k.map(v=>{let M=encodeURIComponent(String(w[v]));return v+(M?"="+M:"")}).join("&"):""}o.objectToQueryString=f;function u(w){return w.replace(/^\?/,"").split("&").reduce((k,v)=>{let[M,T]=v.split("=");return M.length>0&&(k[M]=decodeURIComponent(T||"")),k},{})}o.queryStringToObject=u;function h(w){let{protocol:k}=i(w);return(!k||w.toLowerCase().indexOf(k)!==0)&&w.indexOf("/")!==0}o.isLocal=h})(Jl=at.URLExt||(at.URLExt={}))});var xa=fe((exports,module)=>{"use strict";var __importDefault=exports&&exports.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0});exports.PageConfig=void 0;var coreutils_1=oi(),minimist_1=__importDefault(na()),url_1=$i(),PageConfig;(function(PageConfig){function getOption(name){if(configData)return configData[name]||getBodyData(name);configData=Object.create(null);let found=!1;if(typeof document!="undefined"&&document){let o=document.getElementById("jupyter-config-data");o&&(configData=JSON.parse(o.textContent||""),found=!0)}if(!found&&typeof process!="undefined"&&process.argv)try{let cli=minimist_1.default(process.argv.slice(2)),path=li(),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(o){console.error(o)}if(!coreutils_1.JSONExt.isObject(configData))configData=Object.create(null);else for(let o in configData)typeof configData[o]!="string"&&(configData[o]=JSON.stringify(configData[o]));return configData[name]||getBodyData(name)}PageConfig.getOption=getOption;function setOption(o,i){let a=getOption(o);return configData[o]=i,a}PageConfig.setOption=setOption;function getBaseUrl(){return url_1.URLExt.normalize(getOption("baseUrl")||"/")}PageConfig.getBaseUrl=getBaseUrl;function getTreeUrl(){return url_1.URLExt.join(getBaseUrl(),getOption("treeUrl"))}PageConfig.getTreeUrl=getTreeUrl;function getShareUrl(){return url_1.URLExt.normalize(getOption("shareUrl")||getBaseUrl())}PageConfig.getShareUrl=getShareUrl;function getTreeShareUrl(){return url_1.URLExt.normalize(url_1.URLExt.join(getShareUrl(),getOption("treeUrl")))}PageConfig.getTreeShareUrl=getTreeShareUrl;function getUrl(o){var i,a,s,c;let d=o.toShare?getShareUrl():getBaseUrl(),f=(i=o.mode)!==null&&i!==void 0?i:getOption("mode"),u=(a=o.workspace)!==null&&a!==void 0?a:getOption("workspace"),h=f==="single-document"?"doc":"lab";d=url_1.URLExt.join(d,h),u!==PageConfig.defaultWorkspace&&(d=url_1.URLExt.join(d,"workspaces",encodeURIComponent((s=getOption("workspace"))!==null&&s!==void 0?s:PageConfig.defaultWorkspace)));let w=(c=o.treePath)!==null&&c!==void 0?c:getOption("treePath");return w&&(d=url_1.URLExt.join(d,"tree",url_1.URLExt.encodeParts(w))),d}PageConfig.getUrl=getUrl,PageConfig.defaultWorkspace="default";function getWsUrl(o){let i=getOption("wsUrl");if(!i){if(o=o?url_1.URLExt.normalize(o):getBaseUrl(),o.indexOf("http")!==0)return"";i="ws"+o.slice(4)}return url_1.URLExt.normalize(i)}PageConfig.getWsUrl=getWsUrl;function getNBConvertURL({path:o,format:i,download:a}){let s=url_1.URLExt.encodeParts(o),c=url_1.URLExt.join(getBaseUrl(),"nbconvert",i,s);return a?c+"?download=true":c}PageConfig.getNBConvertURL=getNBConvertURL;function getToken(){return getOption("token")||getBodyData("jupyterApiToken")}PageConfig.getToken=getToken;function getNotebookVersion(){let o=getOption("notebookVersion");return o===""?[0,0,0]:JSON.parse(o)}PageConfig.getNotebookVersion=getNotebookVersion;let configData=null;function getBodyData(o){if(typeof document=="undefined"||!document.body)return"";let i=document.body.dataset[o];return typeof i=="undefined"?"":decodeURIComponent(i)}let Extension;(function(o){function i(c){try{let d=getOption(c);if(d)return JSON.parse(d)}catch(d){console.warn(`Unable to parse ${c}.`,d)}return[]}o.deferred=i("deferredExtensions"),o.disabled=i("disabledExtensions");function a(c){let d=c.indexOf(":"),f="";return d!==-1&&(f=c.slice(0,d)),o.deferred.some(u=>u===c||f&&u===f)}o.isDeferred=a;function s(c){let d=c.indexOf(":"),f="";return d!==-1&&(f=c.slice(0,d)),o.disabled.some(u=>u===c||f&&u===f)}o.isDisabled=s})(Extension=PageConfig.Extension||(PageConfig.Extension={}))})(PageConfig=exports.PageConfig||(exports.PageConfig={}))});var ya=fe(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.PathExt=void 0;var rt=li(),Kl;(function(o){function i(...k){let v=rt.posix.join(...k);return v==="."?"":w(v)}o.join=i;function a(k,v){return rt.posix.basename(k,v)}o.basename=a;function s(k){let v=w(rt.posix.dirname(k));return v==="."?"":v}o.dirname=s;function c(k){return rt.posix.extname(k)}o.extname=c;function d(k){return k===""?"":w(rt.posix.normalize(k))}o.normalize=d;function f(...k){return w(rt.posix.resolve(...k))}o.resolve=f;function u(k,v){return w(rt.posix.relative(k,v))}o.relative=u;function h(k){return k.length>0&&k.indexOf(".")!==0&&(k=`.${k}`),k}o.normalizeExtension=h;function w(k){return k.indexOf("/")===0&&(k=k.slice(1)),k}o.removeSlash=w})(Kl=Yt.PathExt||(Yt.PathExt={}))});var wa=fe(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});jt.Text=void 0;var Ql;(function(o){let i=2>1;function a(f,u){if(i)return f;let h=f;for(let w=0;w+1<u.length&&w<f;w++){let k=u.charCodeAt(w);if(k>=55296&&k<=56319){let v=u.charCodeAt(w+1);v>=56320&&v<=57343&&(h--,w++)}}return h}o.jsIndexToCharIndex=a;function s(f,u){if(i)return f;let h=f;for(let w=0;w+1<u.length&&w<h;w++){let k=u.charCodeAt(w);if(k>=55296&&k<=56319){let v=u.charCodeAt(w+1);v>=56320&&v<=57343&&(h++,w++)}}return h}o.charIndexToJsIndex=s;function c(f,u=!1){return f.replace(/^(\w)|[\s-_:]+(\w)/g,function(h,w,k){return k?k.toUpperCase():u?w.toUpperCase():w.toLowerCase()})}o.camelCase=c;function d(f){return(f||"").toLowerCase().split(" ").map(u=>u.charAt(0).toUpperCase()+u.slice(1)).join(" ")}o.titleCase=d})(Ql=jt.Text||(jt.Text={}))});var ba=fe((Gi,xt)=>{(function(o,i){typeof Gi=="object"&&typeof xt!="undefined"?xt.exports=i():typeof define=="function"&&define.amd?define(i):o.moment=i()})(Gi,function(){"use strict";var o;function i(){return o.apply(null,arguments)}function a(e){o=e}function s(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function c(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(d(e,t))return!1;return!0}function u(e){return e===void 0}function h(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function w(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function k(e,t){var n=[],r,l=e.length;for(r=0;r<l;++r)n.push(t(e[r],r));return n}function v(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function M(e,t,n,r){return xn(e,t,n,r,!0).utc()}function T(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function D(e){return e._pf==null&&(e._pf=T()),e._pf}var re;Array.prototype.some?re=Array.prototype.some:re=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function z(e){if(e._isValid==null){var t=D(e),n=re.call(t.parsedDateParts,function(l){return l!=null}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function q(e){var t=M(NaN);return e!=null?v(D(t),e):D(t).userInvalidated=!0,t}var W=i.momentProperties=[],Z=!1;function H(e,t){var n,r,l,p=W.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=D(t)),u(t._locale)||(e._locale=t._locale),p>0)for(n=0;n<p;n++)r=W[n],l=t[r],u(l)||(e[r]=l);return e}function ae(e){H(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Z===!1&&(Z=!0,i.updateOffset(this),Z=!1)}function E(e){return e instanceof ae||e!=null&&e._isAMomentObject!=null}function N(e){i.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function F(e,t){var n=!0;return v(function(){if(i.deprecationHandler!=null&&i.deprecationHandler(null,e),n){var r=[],l,p,b,U=arguments.length;for(p=0;p<U;p++){if(l="",typeof arguments[p]=="object"){l+=`
|
|
4
|
+
[`+p+"] ";for(b in arguments[0])d(arguments[0],b)&&(l+=b+": "+arguments[0][b]+", ");l=l.slice(0,-2)}else l=arguments[p];r.push(l)}N(e+`
|
|
5
|
+
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
6
|
+
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var $={};function X(e,t){i.deprecationHandler!=null&&i.deprecationHandler(e,t),$[e]||(N(t),$[e]=!0)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null;function ce(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Ve(e){var t,n;for(n in e)d(e,n)&&(t=e[n],ce(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function yt(e,t){var n=v({},e),r;for(r in t)d(t,r)&&(c(e[r])&&c(t[r])?(n[r]={},v(n[r],e[r]),v(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)d(e,r)&&!d(t,r)&&c(e[r])&&(n[r]=v({},n[r]));return n}function ot(e){e!=null&&this.set(e)}var wt;Object.keys?wt=Object.keys:wt=function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var lt={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function bt(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return ce(r)?r.call(t,n):r}function Oe(e,t,n){var r=""+Math.abs(e),l=t-r.length,p=e>=0;return(p?n?"+":"":"-")+Math.pow(10,Math.max(0,l)).toString().substr(1)+r}var kt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ct=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Qe={},$e={};function A(e,t,n,r){var l=r;typeof r=="string"&&(l=function(){return this[r]()}),e&&($e[e]=l),t&&($e[t[0]]=function(){return Oe(l.apply(this,arguments),t[1],t[2])}),n&&($e[n]=function(){return this.localeData().ordinal(l.apply(this,arguments),e)})}function gi(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function _i(e){var t=e.match(kt),n,r;for(n=0,r=t.length;n<r;n++)$e[t[n]]?t[n]=$e[t[n]]:t[n]=gi(t[n]);return function(l){var p="",b;for(b=0;b<r;b++)p+=ce(t[b])?t[b].call(l,e):t[b];return p}}function Xe(e,t){return e.isValid()?(t=Nt(t,e.localeData()),Qe[t]=Qe[t]||_i(t),Qe[t](e)):e.localeData().invalidDate()}function Nt(e,t){var n=5;function r(l){return t.longDateFormat(l)||l}for(ct.lastIndex=0;n>=0&&ct.test(e);)e=e.replace(ct,r),ct.lastIndex=0,n-=1;return e}var At={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function xi(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(kt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var zt="Invalid date";function m(){return this._invalidDate}var x="%d",P=/\d{1,2}/;function I(e){return this._ordinal.replace("%d",e)}var L={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function me(e,t,n,r){var l=this._relativeTime[n];return ce(l)?l(e,t,n,r):l.replace(/%d/i,e)}function ie(e,t){var n=this._relativeTime[e>0?"future":"past"];return ce(n)?n(t):n.replace(/%s/i,t)}var J={};function G(e,t){var n=e.toLowerCase();J[n]=J[n+"s"]=J[t]=e}function K(e){return typeof e=="string"?J[e]||J[e.toLowerCase()]:void 0}function pe(e){var t={},n,r;for(r in e)d(e,r)&&(n=K(r),n&&(t[n]=e[r]));return t}var ue={};function ee(e,t){ue[e]=t}function ke(e){var t=[],n;for(n in e)d(e,n)&&t.push({unit:n,priority:ue[n]});return t.sort(function(r,l){return r.priority-l.priority}),t}function xe(e){return e%4===0&&e%100!==0||e%400===0}function we(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=we(t)),n}function Ge(e,t){return function(n){return n!=null?(Ut(this,e,n),i.updateOffset(this,t),this):dt(this,e)}}function dt(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ut(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&xe(e.year())&&e.month()===1&&e.date()===29?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),qt(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function yi(e){return e=K(e),ce(this[e])?this[e]():this}function wi(e,t){if(typeof e=="object"){e=pe(e);var n=ke(e),r,l=n.length;for(r=0;r<l;r++)this[n[r].unit](e[n[r].unit])}else if(e=K(e),ce(this[e]))return this[e](t);return this}var Ft=/\d/,S=/\d\d/,C=/\d{3}/,_=/\d{4}/,g=/[+-]?\d{6}/,y=/\d\d?/,R=/\d\d\d\d?/,Y=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,ge=/\d{1,4}/,Re=/[+-]?\d{1,6}/,ut=/\d+/,Lt=/[+-]?\d+/,$a=/Z|[+-]\d\d:?\d\d/gi,Wt=/Z|[+-]\d\d(?::?\d\d)?/gi,Ga=/[+-]?\d+(\.\d{1,3})?/,St=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ht;Ht={};function j(e,t,n){Ht[e]=ce(t)?t:function(r,l){return r&&n?n:t}}function Ba(e,t){return d(Ht,e)?Ht[e](t._strict,t._locale):new RegExp(Za(e))}function Za(e){return Se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,l,p){return n||r||l||p}))}function Se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var bi={};function se(e,t){var n,r=t,l;for(typeof e=="string"&&(e=[e]),h(t)&&(r=function(p,b){b[t]=V(p)}),l=e.length,n=0;n<l;n++)bi[e[n]]=r}function Mt(e,t){se(e,function(n,r,l,p){l._w=l._w||{},t(n,l._w,l,p)})}function Ja(e,t,n){t!=null&&d(bi,e)&&bi[e](t,n._a,n,e)}var _e=0,Ne=1,Te=2,ve=3,De=4,Ae=5,et=6,Ka=7,Qa=8;function Xa(e,t){return(e%t+t)%t}var he;Array.prototype.indexOf?he=Array.prototype.indexOf:he=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function qt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Xa(t,12);return e+=(t-n)/12,n===1?xe(e)?29:28:31-n%7%2}A("M",["MM",2],"Mo",function(){return this.month()+1}),A("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),A("MMMM",0,0,function(e){return this.localeData().months(this,e)}),G("month","M"),ee("month",8),j("M",y),j("MM",y,S),j("MMM",function(e,t){return t.monthsShortRegex(e)}),j("MMMM",function(e,t){return t.monthsRegex(e)}),se(["M","MM"],function(e,t){t[Ne]=V(e)-1}),se(["MMM","MMMM"],function(e,t,n,r){var l=n._locale.monthsParse(e,r,n._strict);l!=null?t[Ne]=l:D(n).invalidMonth=e});var er="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),an="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,tr=St,ir=St;function nr(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rn).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone}function ar(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rn.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function rr(e,t,n){var r,l,p,b=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)p=M([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(p,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(p,"").toLocaleLowerCase();return n?t==="MMM"?(l=he.call(this._shortMonthsParse,b),l!==-1?l:null):(l=he.call(this._longMonthsParse,b),l!==-1?l:null):t==="MMM"?(l=he.call(this._shortMonthsParse,b),l!==-1?l:(l=he.call(this._longMonthsParse,b),l!==-1?l:null)):(l=he.call(this._longMonthsParse,b),l!==-1?l:(l=he.call(this._shortMonthsParse,b),l!==-1?l:null))}function sr(e,t,n){var r,l,p;if(this._monthsParseExact)return rr.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(l=M([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(l,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(l,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(p="^"+this.months(l,"")+"|^"+this.monthsShort(l,""),this._monthsParse[r]=new RegExp(p.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function sn(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=V(t);else if(t=e.localeData().monthsParse(t),!h(t))return e}return n=Math.min(e.date(),qt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function on(e){return e!=null?(sn(this,e),i.updateOffset(this,!0),this):dt(this,"Month")}function or(){return qt(this.year(),this.month())}function lr(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ln.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=tr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function cr(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ln.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=ir),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ln(){function e(b,U){return U.length-b.length}var t=[],n=[],r=[],l,p;for(l=0;l<12;l++)p=M([2e3,l]),t.push(this.monthsShort(p,"")),n.push(this.months(p,"")),r.push(this.months(p,"")),r.push(this.monthsShort(p,""));for(t.sort(e),n.sort(e),r.sort(e),l=0;l<12;l++)t[l]=Se(t[l]),n[l]=Se(n[l]);for(l=0;l<24;l++)r[l]=Se(r[l]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}A("Y",0,0,function(){var e=this.year();return e<=9999?Oe(e,4):"+"+e}),A(0,["YY",2],0,function(){return this.year()%100}),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),G("year","y"),ee("year",1),j("Y",Lt),j("YY",y,S),j("YYYY",ge,_),j("YYYYY",Re,g),j("YYYYYY",Re,g),se(["YYYYY","YYYYYY"],_e),se("YYYY",function(e,t){t[_e]=e.length===2?i.parseTwoDigitYear(e):V(e)}),se("YY",function(e,t){t[_e]=i.parseTwoDigitYear(e)}),se("Y",function(e,t){t[_e]=parseInt(e,10)});function Ot(e){return xe(e)?366:365}i.parseTwoDigitYear=function(e){return V(e)+(V(e)>68?1900:2e3)};var cn=Ge("FullYear",!0);function dr(){return xe(this.year())}function ur(e,t,n,r,l,p,b){var U;return e<100&&e>=0?(U=new Date(e+400,t,n,r,l,p,b),isFinite(U.getFullYear())&&U.setFullYear(e)):U=new Date(e,t,n,r,l,p,b),U}function Dt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Vt(e,t,n){var r=7+t-n,l=(7+Dt(e,0,r).getUTCDay()-t)%7;return-l+r-1}function dn(e,t,n,r,l){var p=(7+n-r)%7,b=Vt(e,r,l),U=1+7*(t-1)+p+b,B,oe;return U<=0?(B=e-1,oe=Ot(B)+U):U>Ot(e)?(B=e+1,oe=U-Ot(e)):(B=e,oe=U),{year:B,dayOfYear:oe}}function Pt(e,t,n){var r=Vt(e.year(),t,n),l=Math.floor((e.dayOfYear()-r-1)/7)+1,p,b;return l<1?(b=e.year()-1,p=l+ze(b,t,n)):l>ze(e.year(),t,n)?(p=l-ze(e.year(),t,n),b=e.year()+1):(b=e.year(),p=l),{week:p,year:b}}function ze(e,t,n){var r=Vt(e,t,n),l=Vt(e+1,t,n);return(Ot(e)-r+l)/7}A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),G("week","w"),G("isoWeek","W"),ee("week",5),ee("isoWeek",5),j("w",y),j("ww",y,S),j("W",y),j("WW",y,S),Mt(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=V(e)});function fr(e){return Pt(e,this._week.dow,this._week.doy).week}var pr={dow:0,doy:6};function hr(){return this._week.dow}function mr(){return this._week.doy}function vr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function gr(e){var t=Pt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}A("d",0,"do","day"),A("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),A("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),A("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),G("day","d"),G("weekday","e"),G("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),j("d",y),j("e",y),j("E",y),j("dd",function(e,t){return t.weekdaysMinRegex(e)}),j("ddd",function(e,t){return t.weekdaysShortRegex(e)}),j("dddd",function(e,t){return t.weekdaysRegex(e)}),Mt(["dd","ddd","dddd"],function(e,t,n,r){var l=n._locale.weekdaysParse(e,r,n._strict);l!=null?t.d=l:D(n).invalidWeekday=e}),Mt(["d","e","E"],function(e,t,n,r){t[r]=V(e)});function _r(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function xr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ki(e,t){return e.slice(t,7).concat(e.slice(0,t))}var yr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),un="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),br=St,kr=St,Sr=St;function Mr(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ki(n,this._week.dow):e?n[e.day()]:n}function Or(e){return e===!0?ki(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Dr(e){return e===!0?ki(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Pr(e,t,n){var r,l,p,b=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)p=M([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(p,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(p,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(p,"").toLocaleLowerCase();return n?t==="dddd"?(l=he.call(this._weekdaysParse,b),l!==-1?l:null):t==="ddd"?(l=he.call(this._shortWeekdaysParse,b),l!==-1?l:null):(l=he.call(this._minWeekdaysParse,b),l!==-1?l:null):t==="dddd"?(l=he.call(this._weekdaysParse,b),l!==-1||(l=he.call(this._shortWeekdaysParse,b),l!==-1)?l:(l=he.call(this._minWeekdaysParse,b),l!==-1?l:null)):t==="ddd"?(l=he.call(this._shortWeekdaysParse,b),l!==-1||(l=he.call(this._weekdaysParse,b),l!==-1)?l:(l=he.call(this._minWeekdaysParse,b),l!==-1?l:null)):(l=he.call(this._minWeekdaysParse,b),l!==-1||(l=he.call(this._weekdaysParse,b),l!==-1)?l:(l=he.call(this._shortWeekdaysParse,b),l!==-1?l:null))}function Cr(e,t,n){var r,l,p;if(this._weekdaysParseExact)return Pr.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(l=M([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(l,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(l,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(l,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(p="^"+this.weekdays(l,"")+"|^"+this.weekdaysShort(l,"")+"|^"+this.weekdaysMin(l,""),this._weekdaysParse[r]=new RegExp(p.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Rr(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=_r(e,this.localeData()),this.add(e-t,"d")):t}function Tr(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ir(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=xr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Yr(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Si.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=br),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function jr(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Si.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=kr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Er(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Si.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Sr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Si(){function e(ye,He){return He.length-ye.length}var t=[],n=[],r=[],l=[],p,b,U,B,oe;for(p=0;p<7;p++)b=M([2e3,1]).day(p),U=Se(this.weekdaysMin(b,"")),B=Se(this.weekdaysShort(b,"")),oe=Se(this.weekdays(b,"")),t.push(U),n.push(B),r.push(oe),l.push(U),l.push(B),l.push(oe);t.sort(e),n.sort(e),r.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Mi(){return this.hours()%12||12}function Nr(){return this.hours()||24}A("H",["HH",2],0,"hour"),A("h",["hh",2],0,Mi),A("k",["kk",2],0,Nr),A("hmm",0,0,function(){return""+Mi.apply(this)+Oe(this.minutes(),2)}),A("hmmss",0,0,function(){return""+Mi.apply(this)+Oe(this.minutes(),2)+Oe(this.seconds(),2)}),A("Hmm",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)}),A("Hmmss",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)+Oe(this.seconds(),2)});function fn(e,t){A(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}fn("a",!0),fn("A",!1),G("hour","h"),ee("hour",13);function pn(e,t){return t._meridiemParse}j("a",pn),j("A",pn),j("H",y),j("h",y),j("k",y),j("HH",y,S),j("hh",y,S),j("kk",y,S),j("hmm",R),j("hmmss",Y),j("Hmm",R),j("Hmmss",Y),se(["H","HH"],ve),se(["k","kk"],function(e,t,n){var r=V(e);t[ve]=r===24?0:r}),se(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),se(["h","hh"],function(e,t,n){t[ve]=V(e),D(n).bigHour=!0}),se("hmm",function(e,t,n){var r=e.length-2;t[ve]=V(e.substr(0,r)),t[De]=V(e.substr(r)),D(n).bigHour=!0}),se("hmmss",function(e,t,n){var r=e.length-4,l=e.length-2;t[ve]=V(e.substr(0,r)),t[De]=V(e.substr(r,2)),t[Ae]=V(e.substr(l)),D(n).bigHour=!0}),se("Hmm",function(e,t,n){var r=e.length-2;t[ve]=V(e.substr(0,r)),t[De]=V(e.substr(r))}),se("Hmmss",function(e,t,n){var r=e.length-4,l=e.length-2;t[ve]=V(e.substr(0,r)),t[De]=V(e.substr(r,2)),t[Ae]=V(e.substr(l))});function Ar(e){return(e+"").toLowerCase().charAt(0)==="p"}var zr=/[ap]\.?m?\.?/i,Ur=Ge("Hours",!0);function Fr(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var hn={calendar:lt,longDateFormat:At,invalidDate:zt,ordinal:x,dayOfMonthOrdinalParse:P,relativeTime:L,months:er,monthsShort:an,week:pr,weekdays:yr,weekdaysMin:wr,weekdaysShort:un,meridiemParse:zr},de={},Ct={},Rt;function Lr(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function mn(e){return e&&e.toLowerCase().replace("_","-")}function Wr(e){for(var t=0,n,r,l,p;t<e.length;){for(p=mn(e[t]).split("-"),n=p.length,r=mn(e[t+1]),r=r?r.split("-"):null;n>0;){if(l=$t(p.slice(0,n).join("-")),l)return l;if(r&&r.length>=n&&Lr(p,r)>=n-1)break;n--}t++}return Rt}function Hr(e){return e.match("^[^/\\\\]*$")!=null}function $t(e){var t=null,n;if(de[e]===void 0&&typeof xt!="undefined"&&xt&&xt.exports&&Hr(e))try{t=Rt._abbr,n=Ln,n("./locale/"+e),Be(t)}catch{de[e]=null}return de[e]}function Be(e,t){var n;return e&&(u(t)?n=Ue(e):n=Oi(e,t),n?Rt=n:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Rt._abbr}function Oi(e,t){if(t!==null){var n,r=hn;if(t.abbr=e,de[e]!=null)X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=de[e]._config;else if(t.parentLocale!=null)if(de[t.parentLocale]!=null)r=de[t.parentLocale]._config;else if(n=$t(t.parentLocale),n!=null)r=n._config;else return Ct[t.parentLocale]||(Ct[t.parentLocale]=[]),Ct[t.parentLocale].push({name:e,config:t}),null;return de[e]=new ot(yt(r,t)),Ct[e]&&Ct[e].forEach(function(l){Oi(l.name,l.config)}),Be(e),de[e]}else return delete de[e],null}function qr(e,t){if(t!=null){var n,r,l=hn;de[e]!=null&&de[e].parentLocale!=null?de[e].set(yt(de[e]._config,t)):(r=$t(e),r!=null&&(l=r._config),t=yt(l,t),r==null&&(t.abbr=e),n=new ot(t),n.parentLocale=de[e],de[e]=n),Be(e)}else de[e]!=null&&(de[e].parentLocale!=null?(de[e]=de[e].parentLocale,e===Be()&&Be(e)):de[e]!=null&&delete de[e]);return de[e]}function Ue(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Rt;if(!s(e)){if(t=$t(e),t)return t;e=[e]}return Wr(e)}function Vr(){return wt(de)}function Di(e){var t,n=e._a;return n&&D(e).overflow===-2&&(t=n[Ne]<0||n[Ne]>11?Ne:n[Te]<1||n[Te]>qt(n[_e],n[Ne])?Te:n[ve]<0||n[ve]>24||n[ve]===24&&(n[De]!==0||n[Ae]!==0||n[et]!==0)?ve:n[De]<0||n[De]>59?De:n[Ae]<0||n[Ae]>59?Ae:n[et]<0||n[et]>999?et:-1,D(e)._overflowDayOfYear&&(t<_e||t>Te)&&(t=Te),D(e)._overflowWeeks&&t===-1&&(t=Ka),D(e)._overflowWeekday&&t===-1&&(t=Qa),D(e).overflow=t),e}var $r=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Gr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Br=/Z|[+-]\d\d(?::?\d\d)?/,Gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Pi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zr=/^\/?Date\((-?\d+)/i,Jr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Kr={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function vn(e){var t,n,r=e._i,l=$r.exec(r)||Gr.exec(r),p,b,U,B,oe=Gt.length,ye=Pi.length;if(l){for(D(e).iso=!0,t=0,n=oe;t<n;t++)if(Gt[t][1].exec(l[1])){b=Gt[t][0],p=Gt[t][2]!==!1;break}if(b==null){e._isValid=!1;return}if(l[3]){for(t=0,n=ye;t<n;t++)if(Pi[t][1].exec(l[3])){U=(l[2]||" ")+Pi[t][0];break}if(U==null){e._isValid=!1;return}}if(!p&&U!=null){e._isValid=!1;return}if(l[4])if(Br.exec(l[4]))B="Z";else{e._isValid=!1;return}e._f=b+(U||"")+(B||""),Ri(e)}else e._isValid=!1}function Qr(e,t,n,r,l,p){var b=[Xr(e),an.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(l,10)];return p&&b.push(parseInt(p,10)),b}function Xr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function es(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ts(e,t,n){if(e){var r=un.indexOf(e),l=new Date(t[0],t[1],t[2]).getDay();if(r!==l)return D(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function is(e,t,n){if(e)return Kr[e];if(t)return 0;var r=parseInt(n,10),l=r%100,p=(r-l)/100;return p*60+l}function gn(e){var t=Jr.exec(es(e._i)),n;if(t){if(n=Qr(t[4],t[3],t[2],t[5],t[6],t[7]),!ts(t[1],n,e))return;e._a=n,e._tzm=is(t[8],t[9],t[10]),e._d=Dt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),D(e).rfc2822=!0}else e._isValid=!1}function ns(e){var t=Zr.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(vn(e),e._isValid===!1)delete e._isValid;else return;if(gn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:i.createFromInputFallback(e)}i.createFromInputFallback=F("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ft(e,t,n){return e!=null?e:t!=null?t:n}function as(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ci(e){var t,n,r=[],l,p,b;if(!e._d){for(l=as(e),e._w&&e._a[Te]==null&&e._a[Ne]==null&&rs(e),e._dayOfYear!=null&&(b=ft(e._a[_e],l[_e]),(e._dayOfYear>Ot(b)||e._dayOfYear===0)&&(D(e)._overflowDayOfYear=!0),n=Dt(b,0,e._dayOfYear),e._a[Ne]=n.getUTCMonth(),e._a[Te]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=l[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ve]===24&&e._a[De]===0&&e._a[Ae]===0&&e._a[et]===0&&(e._nextDay=!0,e._a[ve]=0),e._d=(e._useUTC?Dt:ur).apply(null,r),p=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ve]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==p&&(D(e).weekdayMismatch=!0)}}function rs(e){var t,n,r,l,p,b,U,B,oe;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(p=1,b=4,n=ft(t.GG,e._a[_e],Pt(le(),1,4).year),r=ft(t.W,1),l=ft(t.E,1),(l<1||l>7)&&(B=!0)):(p=e._locale._week.dow,b=e._locale._week.doy,oe=Pt(le(),p,b),n=ft(t.gg,e._a[_e],oe.year),r=ft(t.w,oe.week),t.d!=null?(l=t.d,(l<0||l>6)&&(B=!0)):t.e!=null?(l=t.e+p,(t.e<0||t.e>6)&&(B=!0)):l=p),r<1||r>ze(n,p,b)?D(e)._overflowWeeks=!0:B!=null?D(e)._overflowWeekday=!0:(U=dn(n,r,l,p,b),e._a[_e]=U.year,e._dayOfYear=U.dayOfYear)}i.ISO_8601=function(){},i.RFC_2822=function(){};function Ri(e){if(e._f===i.ISO_8601){vn(e);return}if(e._f===i.RFC_2822){gn(e);return}e._a=[],D(e).empty=!0;var t=""+e._i,n,r,l,p,b,U=t.length,B=0,oe,ye;for(l=Nt(e._f,e._locale).match(kt)||[],ye=l.length,n=0;n<ye;n++)p=l[n],r=(t.match(Ba(p,e))||[])[0],r&&(b=t.substr(0,t.indexOf(r)),b.length>0&&D(e).unusedInput.push(b),t=t.slice(t.indexOf(r)+r.length),B+=r.length),$e[p]?(r?D(e).empty=!1:D(e).unusedTokens.push(p),Ja(p,r,e)):e._strict&&!r&&D(e).unusedTokens.push(p);D(e).charsLeftOver=U-B,t.length>0&&D(e).unusedInput.push(t),e._a[ve]<=12&&D(e).bigHour===!0&&e._a[ve]>0&&(D(e).bigHour=void 0),D(e).parsedDateParts=e._a.slice(0),D(e).meridiem=e._meridiem,e._a[ve]=ss(e._locale,e._a[ve],e._meridiem),oe=D(e).era,oe!==null&&(e._a[_e]=e._locale.erasConvertYear(oe,e._a[_e])),Ci(e),Di(e)}function ss(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function os(e){var t,n,r,l,p,b,U=!1,B=e._f.length;if(B===0){D(e).invalidFormat=!0,e._d=new Date(NaN);return}for(l=0;l<B;l++)p=0,b=!1,t=H({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[l],Ri(t),z(t)&&(b=!0),p+=D(t).charsLeftOver,p+=D(t).unusedTokens.length*10,D(t).score=p,U?p<r&&(r=p,n=t):(r==null||p<r||b)&&(r=p,n=t,b&&(U=!0));v(e,n||t)}function ls(e){if(!e._d){var t=pe(e._i),n=t.day===void 0?t.date:t.day;e._a=k([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Ci(e)}}function cs(e){var t=new ae(Di(_n(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function _n(e){var t=e._i,n=e._f;return e._locale=e._locale||Ue(e._l),t===null||n===void 0&&t===""?q({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),E(t)?new ae(Di(t)):(w(t)?e._d=t:s(n)?os(e):n?Ri(e):ds(e),z(e)||(e._d=null),e))}function ds(e){var t=e._i;u(t)?e._d=new Date(i.now()):w(t)?e._d=new Date(t.valueOf()):typeof t=="string"?ns(e):s(t)?(e._a=k(t.slice(0),function(n){return parseInt(n,10)}),Ci(e)):c(t)?ls(e):h(t)?e._d=new Date(t):i.createFromInputFallback(e)}function xn(e,t,n,r,l){var p={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(c(e)&&f(e)||s(e)&&e.length===0)&&(e=void 0),p._isAMomentObject=!0,p._useUTC=p._isUTC=l,p._l=n,p._i=e,p._f=t,p._strict=r,cs(p)}function le(e,t,n,r){return xn(e,t,n,r,!1)}var us=F("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=le.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:q()}),fs=F("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:q()});function yn(e,t){var n,r;if(t.length===1&&s(t[0])&&(t=t[0]),!t.length)return le();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function ps(){var e=[].slice.call(arguments,0);return yn("isBefore",e)}function hs(){var e=[].slice.call(arguments,0);return yn("isAfter",e)}var ms=function(){return Date.now?Date.now():+new Date},Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function vs(e){var t,n=!1,r,l=Tt.length;for(t in e)if(d(e,t)&&!(he.call(Tt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<l;++r)if(e[Tt[r]]){if(n)return!1;parseFloat(e[Tt[r]])!==V(e[Tt[r]])&&(n=!0)}return!0}function gs(){return this._isValid}function _s(){return Pe(NaN)}function Bt(e){var t=pe(e),n=t.year||0,r=t.quarter||0,l=t.month||0,p=t.week||t.isoWeek||0,b=t.day||0,U=t.hour||0,B=t.minute||0,oe=t.second||0,ye=t.millisecond||0;this._isValid=vs(t),this._milliseconds=+ye+oe*1e3+B*6e4+U*1e3*60*60,this._days=+b+p*7,this._months=+l+r*3+n*12,this._data={},this._locale=Ue(),this._bubble()}function Zt(e){return e instanceof Bt}function Ti(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function xs(e,t,n){var r=Math.min(e.length,t.length),l=Math.abs(e.length-t.length),p=0,b;for(b=0;b<r;b++)(n&&e[b]!==t[b]||!n&&V(e[b])!==V(t[b]))&&p++;return p+l}function wn(e,t){A(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Oe(~~(n/60),2)+t+Oe(~~n%60,2)})}wn("Z",":"),wn("ZZ",""),j("Z",Wt),j("ZZ",Wt),se(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ii(Wt,e)});var ys=/([\+\-]|\d\d)/gi;function Ii(e,t){var n=(t||"").match(e),r,l,p;return n===null?null:(r=n[n.length-1]||[],l=(r+"").match(ys)||["-",0,0],p=+(l[1]*60)+V(l[2]),p===0?0:l[0]==="+"?p:-p)}function Yi(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(E(e)||w(e)?e.valueOf():le(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):le(e).local()}function ji(e){return-Math.round(e._d.getTimezoneOffset())}i.updateOffset=function(){};function ws(e,t,n){var r=this._offset||0,l;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ii(Wt,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(l=ji(this)),this._offset=e,this._isUTC=!0,l!=null&&this.add(l,"m"),r!==e&&(!t||this._changeInProgress?Mn(this,Pe(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:ji(this)}function bs(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ks(e){return this.utcOffset(0,e)}function Ss(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ji(this),"m")),this}function Ms(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ii($a,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Os(e){return this.isValid()?(e=e?le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ds(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ps(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e={},t;return H(e,this),e=_n(e),e._a?(t=e._isUTC?M(e._a):le(e._a),this._isDSTShifted=this.isValid()&&xs(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Cs(){return this.isValid()?!this._isUTC:!1}function Rs(){return this.isValid()?this._isUTC:!1}function bn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ts=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Is=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pe(e,t){var n=e,r=null,l,p,b;return Zt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Ts.exec(e))?(l=r[1]==="-"?-1:1,n={y:0,d:V(r[Te])*l,h:V(r[ve])*l,m:V(r[De])*l,s:V(r[Ae])*l,ms:V(Ti(r[et]*1e3))*l}):(r=Is.exec(e))?(l=r[1]==="-"?-1:1,n={y:tt(r[2],l),M:tt(r[3],l),w:tt(r[4],l),d:tt(r[5],l),h:tt(r[6],l),m:tt(r[7],l),s:tt(r[8],l)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(b=Ys(le(n.from),le(n.to)),n={},n.ms=b.milliseconds,n.M=b.months),p=new Bt(n),Zt(e)&&d(e,"_locale")&&(p._locale=e._locale),Zt(e)&&d(e,"_isValid")&&(p._isValid=e._isValid),p}Pe.fn=Bt.prototype,Pe.invalid=_s;function tt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function kn(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ys(e,t){var n;return e.isValid()&&t.isValid()?(t=Yi(t,e),e.isBefore(t)?n=kn(e,t):(n=kn(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Sn(e,t){return function(n,r){var l,p;return r!==null&&!isNaN(+r)&&(X(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),p=n,n=r,r=p),l=Pe(n,r),Mn(this,l,e),this}}function Mn(e,t,n,r){var l=t._milliseconds,p=Ti(t._days),b=Ti(t._months);e.isValid()&&(r=r==null?!0:r,b&&sn(e,dt(e,"Month")+b*n),p&&Ut(e,"Date",dt(e,"Date")+p*n),l&&e._d.setTime(e._d.valueOf()+l*n),r&&i.updateOffset(e,p||b))}var js=Sn(1,"add"),Es=Sn(-1,"subtract");function On(e){return typeof e=="string"||e instanceof String}function Ns(e){return E(e)||w(e)||On(e)||h(e)||zs(e)||As(e)||e===null||e===void 0}function As(e){var t=c(e)&&!f(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l,p,b=r.length;for(l=0;l<b;l+=1)p=r[l],n=n||d(e,p);return t&&n}function zs(e){var t=s(e),n=!1;return t&&(n=e.filter(function(r){return!h(r)&&On(e)}).length===0),t&&n}function Us(e){var t=c(e)&&!f(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],l,p;for(l=0;l<r.length;l+=1)p=r[l],n=n||d(e,p);return t&&n}function Fs(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ls(e,t){arguments.length===1&&(arguments[0]?Ns(arguments[0])?(e=arguments[0],t=void 0):Us(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||le(),r=Yi(n,this).startOf("day"),l=i.calendarFormat(this,r)||"sameElse",p=t&&(ce(t[l])?t[l].call(this,n):t[l]);return this.format(p||this.localeData().calendar(l,this,le(n)))}function Ws(){return new ae(this)}function Hs(e,t){var n=E(e)?e:le(e);return this.isValid()&&n.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function qs(e,t){var n=E(e)?e:le(e);return this.isValid()&&n.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Vs(e,t,n,r){var l=E(e)?e:le(e),p=E(t)?t:le(t);return this.isValid()&&l.isValid()&&p.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(l,n):!this.isBefore(l,n))&&(r[1]===")"?this.isBefore(p,n):!this.isAfter(p,n))):!1}function $s(e,t){var n=E(e)?e:le(e),r;return this.isValid()&&n.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Gs(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Bs(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zs(e,t,n){var r,l,p;if(!this.isValid())return NaN;if(r=Yi(e,this),!r.isValid())return NaN;switch(l=(r.utcOffset()-this.utcOffset())*6e4,t=K(t),t){case"year":p=Jt(this,r)/12;break;case"month":p=Jt(this,r);break;case"quarter":p=Jt(this,r)/3;break;case"second":p=(this-r)/1e3;break;case"minute":p=(this-r)/6e4;break;case"hour":p=(this-r)/36e5;break;case"day":p=(this-r-l)/864e5;break;case"week":p=(this-r-l)/6048e5;break;default:p=this-r}return n?p:we(p)}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),l,p;return t-r<0?(l=e.clone().add(n-1,"months"),p=(t-r)/(r-l)):(l=e.clone().add(n+1,"months"),p=(t-r)/(l-r)),-(n+p)||0}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Js(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ks(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Xe(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ce(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Xe(n,"Z")):Xe(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Qs(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,l,p;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",l="-MM-DD[T]HH:mm:ss.SSS",p=t+'[")]',this.format(n+r+l+p)}function Xs(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=Xe(this,e);return this.localeData().postformat(t)}function eo(e,t){return this.isValid()&&(E(e)&&e.isValid()||le(e).isValid())?Pe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function to(e){return this.from(le(),e)}function io(e,t){return this.isValid()&&(E(e)&&e.isValid()||le(e).isValid())?Pe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function no(e){return this.to(le(),e)}function Dn(e){var t;return e===void 0?this._locale._abbr:(t=Ue(e),t!=null&&(this._locale=t),this)}var Pn=F("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Cn(){return this._locale}var Kt=1e3,pt=60*Kt,Qt=60*pt,Rn=(365*400+97)*24*Qt;function ht(e,t){return(e%t+t)%t}function Tn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Rn:new Date(e,t,n).valueOf()}function In(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Rn:Date.UTC(e,t,n)}function ao(e){var t,n;if(e=K(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?In:Tn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ht(t+(this._isUTC?0:this.utcOffset()*pt),Qt);break;case"minute":t=this._d.valueOf(),t-=ht(t,pt);break;case"second":t=this._d.valueOf(),t-=ht(t,Kt);break}return this._d.setTime(t),i.updateOffset(this,!0),this}function ro(e){var t,n;if(e=K(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?In:Tn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Qt-ht(t+(this._isUTC?0:this.utcOffset()*pt),Qt)-1;break;case"minute":t=this._d.valueOf(),t+=pt-ht(t,pt)-1;break;case"second":t=this._d.valueOf(),t+=Kt-ht(t,Kt)-1;break}return this._d.setTime(t),i.updateOffset(this,!0),this}function so(){return this._d.valueOf()-(this._offset||0)*6e4}function oo(){return Math.floor(this.valueOf()/1e3)}function lo(){return new Date(this.valueOf())}function co(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function uo(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function fo(){return this.isValid()?this.toISOString():null}function po(){return z(this)}function ho(){return v({},D(this))}function mo(){return D(this).overflow}function vo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}A("N",0,0,"eraAbbr"),A("NN",0,0,"eraAbbr"),A("NNN",0,0,"eraAbbr"),A("NNNN",0,0,"eraName"),A("NNNNN",0,0,"eraNarrow"),A("y",["y",1],"yo","eraYear"),A("y",["yy",2],0,"eraYear"),A("y",["yyy",3],0,"eraYear"),A("y",["yyyy",4],0,"eraYear"),j("N",Ei),j("NN",Ei),j("NNN",Ei),j("NNNN",Do),j("NNNNN",Po),se(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var l=n._locale.erasParse(e,r,n._strict);l?D(n).era=l:D(n).invalidEra=e}),j("y",ut),j("yy",ut),j("yyy",ut),j("yyyy",ut),j("yo",Co),se(["y","yy","yyy","yyyy"],_e),se(["yo"],function(e,t,n,r){var l;n._locale._eraYearOrdinalRegex&&(l=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[_e]=n._locale.eraYearOrdinalParse(e,l):t[_e]=parseInt(e,10)});function go(e,t){var n,r,l,p=this._eras||Ue("en")._eras;for(n=0,r=p.length;n<r;++n){switch(typeof p[n].since){case"string":l=i(p[n].since).startOf("day"),p[n].since=l.valueOf();break}switch(typeof p[n].until){case"undefined":p[n].until=1/0;break;case"string":l=i(p[n].until).startOf("day").valueOf(),p[n].until=l.valueOf();break}}return p}function _o(e,t,n){var r,l,p=this.eras(),b,U,B;for(e=e.toUpperCase(),r=0,l=p.length;r<l;++r)if(b=p[r].name.toUpperCase(),U=p[r].abbr.toUpperCase(),B=p[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(U===e)return p[r];break;case"NNNN":if(b===e)return p[r];break;case"NNNNN":if(B===e)return p[r];break}else if([b,U,B].indexOf(e)>=0)return p[r]}function xo(e,t){var n=e.since<=e.until?1:-1;return t===void 0?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function yo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function wo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function bo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function ko(){var e,t,n,r,l=this.localeData().eras();for(e=0,t=l.length;e<t;++e)if(n=l[e].since<=l[e].until?1:-1,r=this.clone().startOf("day").valueOf(),l[e].since<=r&&r<=l[e].until||l[e].until<=r&&r<=l[e].since)return(this.year()-i(l[e].since).year())*n+l[e].offset;return this.year()}function So(e){return d(this,"_erasNameRegex")||Ni.call(this),e?this._erasNameRegex:this._erasRegex}function Mo(e){return d(this,"_erasAbbrRegex")||Ni.call(this),e?this._erasAbbrRegex:this._erasRegex}function Oo(e){return d(this,"_erasNarrowRegex")||Ni.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ei(e,t){return t.erasAbbrRegex(e)}function Do(e,t){return t.erasNameRegex(e)}function Po(e,t){return t.erasNarrowRegex(e)}function Co(e,t){return t._eraYearOrdinalRegex||ut}function Ni(){var e=[],t=[],n=[],r=[],l,p,b=this.eras();for(l=0,p=b.length;l<p;++l)t.push(Se(b[l].name)),e.push(Se(b[l].abbr)),n.push(Se(b[l].narrow)),r.push(Se(b[l].name)),r.push(Se(b[l].abbr)),r.push(Se(b[l].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}A(0,["gg",2],0,function(){return this.weekYear()%100}),A(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Xt(e,t){A(0,[e,e.length],0,t)}Xt("gggg","weekYear"),Xt("ggggg","weekYear"),Xt("GGGG","isoWeekYear"),Xt("GGGGG","isoWeekYear"),G("weekYear","gg"),G("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),j("G",Lt),j("g",Lt),j("GG",y,S),j("gg",y,S),j("GGGG",ge,_),j("gggg",ge,_),j("GGGGG",Re,g),j("ggggg",Re,g),Mt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=V(e)}),Mt(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)});function Ro(e){return Yn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function To(e){return Yn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Io(){return ze(this.year(),1,4)}function Yo(){return ze(this.isoWeekYear(),1,4)}function jo(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)}function Eo(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)}function Yn(e,t,n,r,l){var p;return e==null?Pt(this,r,l).year:(p=ze(e,r,l),t>p&&(t=p),No.call(this,e,t,n,r,l))}function No(e,t,n,r,l){var p=dn(e,t,n,r,l),b=Dt(p.year,0,p.dayOfYear);return this.year(b.getUTCFullYear()),this.month(b.getUTCMonth()),this.date(b.getUTCDate()),this}A("Q",0,"Qo","quarter"),G("quarter","Q"),ee("quarter",7),j("Q",Ft),se("Q",function(e,t){t[Ne]=(V(e)-1)*3});function Ao(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}A("D",["DD",2],"Do","date"),G("date","D"),ee("date",9),j("D",y),j("DD",y,S),j("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),se(["D","DD"],Te),se("Do",function(e,t){t[Te]=V(e.match(y)[0])});var jn=Ge("Date",!0);A("DDD",["DDDD",3],"DDDo","dayOfYear"),G("dayOfYear","DDD"),ee("dayOfYear",4),j("DDD",ne),j("DDDD",C),se(["DDD","DDDD"],function(e,t,n){n._dayOfYear=V(e)});function zo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}A("m",["mm",2],0,"minute"),G("minute","m"),ee("minute",14),j("m",y),j("mm",y,S),se(["m","mm"],De);var Uo=Ge("Minutes",!1);A("s",["ss",2],0,"second"),G("second","s"),ee("second",15),j("s",y),j("ss",y,S),se(["s","ss"],Ae);var Fo=Ge("Seconds",!1);A("S",0,0,function(){return~~(this.millisecond()/100)}),A(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,function(){return this.millisecond()*10}),A(0,["SSSSS",5],0,function(){return this.millisecond()*100}),A(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),A(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),A(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),A(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),G("millisecond","ms"),ee("millisecond",16),j("S",ne,Ft),j("SS",ne,S),j("SSS",ne,C);var Ze,En;for(Ze="SSSS";Ze.length<=9;Ze+="S")j(Ze,ut);function Lo(e,t){t[et]=V(("0."+e)*1e3)}for(Ze="S";Ze.length<=9;Ze+="S")se(Ze,Lo);En=Ge("Milliseconds",!1),A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");function Wo(){return this._isUTC?"UTC":""}function Ho(){return this._isUTC?"Coordinated Universal Time":""}var O=ae.prototype;O.add=js,O.calendar=Ls,O.clone=Ws,O.diff=Zs,O.endOf=ro,O.format=Xs,O.from=eo,O.fromNow=to,O.to=io,O.toNow=no,O.get=yi,O.invalidAt=mo,O.isAfter=Hs,O.isBefore=qs,O.isBetween=Vs,O.isSame=$s,O.isSameOrAfter=Gs,O.isSameOrBefore=Bs,O.isValid=po,O.lang=Pn,O.locale=Dn,O.localeData=Cn,O.max=fs,O.min=us,O.parsingFlags=ho,O.set=wi,O.startOf=ao,O.subtract=Es,O.toArray=co,O.toObject=uo,O.toDate=lo,O.toISOString=Ks,O.inspect=Qs,typeof Symbol!="undefined"&&Symbol.for!=null&&(O[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),O.toJSON=fo,O.toString=Js,O.unix=oo,O.valueOf=so,O.creationData=vo,O.eraName=yo,O.eraNarrow=wo,O.eraAbbr=bo,O.eraYear=ko,O.year=cn,O.isLeapYear=dr,O.weekYear=Ro,O.isoWeekYear=To,O.quarter=O.quarters=Ao,O.month=on,O.daysInMonth=or,O.week=O.weeks=vr,O.isoWeek=O.isoWeeks=gr,O.weeksInYear=jo,O.weeksInWeekYear=Eo,O.isoWeeksInYear=Io,O.isoWeeksInISOWeekYear=Yo,O.date=jn,O.day=O.days=Rr,O.weekday=Tr,O.isoWeekday=Ir,O.dayOfYear=zo,O.hour=O.hours=Ur,O.minute=O.minutes=Uo,O.second=O.seconds=Fo,O.millisecond=O.milliseconds=En,O.utcOffset=ws,O.utc=ks,O.local=Ss,O.parseZone=Ms,O.hasAlignedHourOffset=Os,O.isDST=Ds,O.isLocal=Cs,O.isUtcOffset=Rs,O.isUtc=bn,O.isUTC=bn,O.zoneAbbr=Wo,O.zoneName=Ho,O.dates=F("dates accessor is deprecated. Use date instead.",jn),O.months=F("months accessor is deprecated. Use month instead",on),O.years=F("years accessor is deprecated. Use year instead",cn),O.zone=F("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",bs),O.isDSTShifted=F("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ps);function qo(e){return le(e*1e3)}function Vo(){return le.apply(null,arguments).parseZone()}function Nn(e){return e}var te=ot.prototype;te.calendar=bt,te.longDateFormat=xi,te.invalidDate=m,te.ordinal=I,te.preparse=Nn,te.postformat=Nn,te.relativeTime=me,te.pastFuture=ie,te.set=Ve,te.eras=go,te.erasParse=_o,te.erasConvertYear=xo,te.erasAbbrRegex=Mo,te.erasNameRegex=So,te.erasNarrowRegex=Oo,te.months=nr,te.monthsShort=ar,te.monthsParse=sr,te.monthsRegex=cr,te.monthsShortRegex=lr,te.week=fr,te.firstDayOfYear=mr,te.firstDayOfWeek=hr,te.weekdays=Mr,te.weekdaysMin=Dr,te.weekdaysShort=Or,te.weekdaysParse=Cr,te.weekdaysRegex=Yr,te.weekdaysShortRegex=jr,te.weekdaysMinRegex=Er,te.isPM=Ar,te.meridiem=Fr;function ei(e,t,n,r){var l=Ue(),p=M().set(r,t);return l[n](p,e)}function An(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",t!=null)return ei(e,t,n,"month");var r,l=[];for(r=0;r<12;r++)l[r]=ei(e,r,n,"month");return l}function Ai(e,t,n,r){typeof e=="boolean"?(h(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,h(t)&&(n=t,t=void 0),t=t||"");var l=Ue(),p=e?l._week.dow:0,b,U=[];if(n!=null)return ei(t,(n+p)%7,r,"day");for(b=0;b<7;b++)U[b]=ei(t,(b+p)%7,r,"day");return U}function $o(e,t){return An(e,t,"months")}function Go(e,t){return An(e,t,"monthsShort")}function Bo(e,t,n){return Ai(e,t,n,"weekdays")}function Zo(e,t,n){return Ai(e,t,n,"weekdaysShort")}function Jo(e,t,n){return Ai(e,t,n,"weekdaysMin")}Be("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=V(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),i.lang=F("moment.lang is deprecated. Use moment.locale instead.",Be),i.langData=F("moment.langData is deprecated. Use moment.localeData instead.",Ue);var Fe=Math.abs;function Ko(){var e=this._data;return this._milliseconds=Fe(this._milliseconds),this._days=Fe(this._days),this._months=Fe(this._months),e.milliseconds=Fe(e.milliseconds),e.seconds=Fe(e.seconds),e.minutes=Fe(e.minutes),e.hours=Fe(e.hours),e.months=Fe(e.months),e.years=Fe(e.years),this}function zn(e,t,n,r){var l=Pe(t,n);return e._milliseconds+=r*l._milliseconds,e._days+=r*l._days,e._months+=r*l._months,e._bubble()}function Qo(e,t){return zn(this,e,t,1)}function Xo(e,t){return zn(this,e,t,-1)}function Un(e){return e<0?Math.floor(e):Math.ceil(e)}function el(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,l,p,b,U,B;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Un(zi(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,l=we(e/1e3),r.seconds=l%60,p=we(l/60),r.minutes=p%60,b=we(p/60),r.hours=b%24,t+=we(b/24),B=we(Fn(t)),n+=B,t-=Un(zi(B)),U=we(n/12),n%=12,r.days=t,r.months=n,r.years=U,this}function Fn(e){return e*4800/146097}function zi(e){return e*146097/4800}function tl(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=K(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+Fn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(zi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function il(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+V(this._months/12)*31536e6:NaN}function Le(e){return function(){return this.as(e)}}var nl=Le("ms"),al=Le("s"),rl=Le("m"),sl=Le("h"),ol=Le("d"),ll=Le("w"),cl=Le("M"),dl=Le("Q"),ul=Le("y");function fl(){return Pe(this)}function pl(e){return e=K(e),this.isValid()?this[e+"s"]():NaN}function it(e){return function(){return this.isValid()?this._data[e]:NaN}}var hl=it("milliseconds"),ml=it("seconds"),vl=it("minutes"),gl=it("hours"),_l=it("days"),xl=it("months"),yl=it("years");function wl(){return we(this.days()/7)}var We=Math.round,mt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function bl(e,t,n,r,l){return l.relativeTime(t||1,!!n,e,r)}function kl(e,t,n,r){var l=Pe(e).abs(),p=We(l.as("s")),b=We(l.as("m")),U=We(l.as("h")),B=We(l.as("d")),oe=We(l.as("M")),ye=We(l.as("w")),He=We(l.as("y")),Je=p<=n.ss&&["s",p]||p<n.s&&["ss",p]||b<=1&&["m"]||b<n.m&&["mm",b]||U<=1&&["h"]||U<n.h&&["hh",U]||B<=1&&["d"]||B<n.d&&["dd",B];return n.w!=null&&(Je=Je||ye<=1&&["w"]||ye<n.w&&["ww",ye]),Je=Je||oe<=1&&["M"]||oe<n.M&&["MM",oe]||He<=1&&["y"]||["yy",He],Je[2]=t,Je[3]=+e>0,Je[4]=r,bl.apply(null,Je)}function Sl(e){return e===void 0?We:typeof e=="function"?(We=e,!0):!1}function Ml(e,t){return mt[e]===void 0?!1:t===void 0?mt[e]:(mt[e]=t,e==="s"&&(mt.ss=t-1),!0)}function Ol(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=mt,l,p;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},mt,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),l=this.localeData(),p=kl(this,!n,r,l),n&&(p=l.pastFuture(+this,p)),l.postformat(p)}var Ui=Math.abs;function vt(e){return(e>0)-(e<0)||+e}function ti(){if(!this.isValid())return this.localeData().invalidDate();var e=Ui(this._milliseconds)/1e3,t=Ui(this._days),n=Ui(this._months),r,l,p,b,U=this.asSeconds(),B,oe,ye,He;return U?(r=we(e/60),l=we(r/60),e%=60,r%=60,p=we(n/12),n%=12,b=e?e.toFixed(3).replace(/\.?0+$/,""):"",B=U<0?"-":"",oe=vt(this._months)!==vt(U)?"-":"",ye=vt(this._days)!==vt(U)?"-":"",He=vt(this._milliseconds)!==vt(U)?"-":"",B+"P"+(p?oe+p+"Y":"")+(n?oe+n+"M":"")+(t?ye+t+"D":"")+(l||r||e?"T":"")+(l?He+l+"H":"")+(r?He+r+"M":"")+(e?He+b+"S":"")):"P0D"}var Q=Bt.prototype;Q.isValid=gs,Q.abs=Ko,Q.add=Qo,Q.subtract=Xo,Q.as=tl,Q.asMilliseconds=nl,Q.asSeconds=al,Q.asMinutes=rl,Q.asHours=sl,Q.asDays=ol,Q.asWeeks=ll,Q.asMonths=cl,Q.asQuarters=dl,Q.asYears=ul,Q.valueOf=il,Q._bubble=el,Q.clone=fl,Q.get=pl,Q.milliseconds=hl,Q.seconds=ml,Q.minutes=vl,Q.hours=gl,Q.days=_l,Q.weeks=wl,Q.months=xl,Q.years=yl,Q.humanize=Ol,Q.toISOString=ti,Q.toString=ti,Q.toJSON=ti,Q.locale=Dn,Q.localeData=Cn,Q.toIsoString=F("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ti),Q.lang=Pn,A("X",0,0,"unix"),A("x",0,0,"valueOf"),j("x",Lt),j("X",Ga),se("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),se("x",function(e,t,n){n._d=new Date(V(e))});return i.version="2.29.4",a(le),i.fn=O,i.min=ps,i.max=hs,i.now=ms,i.utc=M,i.unix=qo,i.months=$o,i.isDate=w,i.locale=Be,i.invalid=q,i.duration=Pe,i.isMoment=E,i.weekdays=Bo,i.parseZone=Vo,i.localeData=Ue,i.isDuration=Zt,i.monthsShort=Go,i.weekdaysMin=Jo,i.defineLocale=Oi,i.updateLocale=qr,i.locales=Vr,i.weekdaysShort=Zo,i.normalizeUnits=K,i.relativeTimeRounding=Sl,i.relativeTimeThreshold=Ml,i.calendarFormat=Fs,i.prototype=O,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i})});var ka=fe(st=>{"use strict";var Xl=st&&st.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(st,"__esModule",{value:!0});st.Time=void 0;var Bi=Xl(ba()),ec;(function(o){function i(s){Bi.default.locale(document.documentElement.lang);let c=Bi.default(s).fromNow();return c=c==="a few seconds ago"?"seconds ago":c,c}o.formatHuman=i;function a(s,c="YYYY-MM-DD HH:mm"){return Bi.default(s).format(c)}o.format=a})(ec=st.Time||(st.Time={}))});var Et=fe(be=>{"use strict";var tc=be&&be.__createBinding||(Object.create?function(o,i,a,s){s===void 0&&(s=a),Object.defineProperty(o,s,{enumerable:!0,get:function(){return i[a]}})}:function(o,i,a,s){s===void 0&&(s=a),o[s]=i[a]}),Ke=be&&be.__exportStar||function(o,i){for(var a in o)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&tc(i,o,a)};Object.defineProperty(be,"__esModule",{value:!0});Ke(Zn(),be);Ke(Kn(),be);Ke(Qn(),be);Ke(xa(),be);Ke(ya(),be);Ke(wa(),be);Ke(ka(),be);Ke($i(),be)});var Ma=fe((Sc,Sa)=>{"use strict";function di(){this._types=Object.create(null),this._extensions=Object.create(null);for(let o=0;o<arguments.length;o++)this.define(arguments[o]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}di.prototype.define=function(o,i){for(let a in o){let s=o[a].map(function(c){return c.toLowerCase()});a=a.toLowerCase();for(let c=0;c<s.length;c++){let d=s[c];if(d[0]!=="*"){if(!i&&d in this._types)throw new Error('Attempt to change mapping for "'+d+'" extension from "'+this._types[d]+'" to "'+a+'". Pass `force=true` to allow this, otherwise remove "'+d+'" from the list of extensions for "'+a+'".');this._types[d]=a}}if(i||!this._extensions[a]){let c=s[0];this._extensions[a]=c[0]!=="*"?c:c.substr(1)}}};di.prototype.getType=function(o){o=String(o);let i=o.replace(/^.*[/\\]/,"").toLowerCase(),a=i.replace(/^.*\./,"").toLowerCase(),s=i.length<o.length;return(a.length<i.length-1||!s)&&this._types[a]||null};di.prototype.getExtension=function(o){return o=/^\s*([^;\s]*)/.test(o)&&RegExp.$1,o&&this._extensions[o.toLowerCase()]||null};Sa.exports=di});var Da=fe((Mc,Oa)=>{Oa.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}});var Ca=fe((Oc,Pa)=>{Pa.exports={"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.sap.vds":["vds"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}});var Ta=fe((Dc,Ra)=>{"use strict";var ic=Ma();Ra.exports=new ic(Da(),Ca())});var Ia,Ya,Zi,nc,Me,Ee,ac,Ji=gt(()=>{Ia=nt(Et()),Ya=nt(Ta()),Zi=nt(oi()),nc=new Zi.Token("@jupyterlite/contents:IContents");(function(o){o.JSON="application/json",o.PLAIN_TEXT="text/plain",o.OCTET_STREAM="octet/stream"})(Me||(Me={}));(function(o){let i=JSON.parse(Ia.PageConfig.getOption("fileTypes")||"{}");function a(c,d=null){c=c.toLowerCase();for(let f of Object.values(i))for(let u of f.extensions||[])if(u===c&&f.mimeTypes&&f.mimeTypes.length)return f.mimeTypes[0];return Ya.default.getType(c)||d||Me.OCTET_STREAM}o.getType=a;function s(c,d){c=c.toLowerCase();for(let f of Object.values(i))if(f.fileFormat===d){for(let u of f.extensions||[])if(u===c)return!0}return!1}o.hasFormat=s})(Ee||(Ee={}));ac=new Zi.Token("@jupyterlite/contents:IBroadcastChannelWrapper")});var qe,Ce,Na,ja,Ea,Ki,ui,Aa=gt(()=>{qe=nt(Et()),Ce=nt(Et());Ji();Na=nt(oi()),ja="JupyterLite Storage",Ea=5,Ki=class{constructor(i){this.reduceBytesToString=(a,s)=>a+String.fromCharCode(s),this._serverContents=new Map,this._storageName=ja,this._storageDrivers=null,this._localforage=i.localforage,this._storageName=i.storageName||ja,this._storageDrivers=i.storageDrivers||null,this._ready=new Na.PromiseDelegate}async initialize(){await this.initStorage(),this._ready.resolve(void 0)}async initStorage(){this._storage=this.createDefaultStorage(),this._counters=this.createDefaultCounters(),this._checkpoints=this.createDefaultCheckpoints()}get ready(){return this._ready.promise}get storage(){return this.ready.then(()=>this._storage)}get counters(){return this.ready.then(()=>this._counters)}get checkpoints(){return this.ready.then(()=>this._checkpoints)}get defaultStorageOptions(){let i=this._storageDrivers&&this._storageDrivers.length?this._storageDrivers:null;return{version:1,name:this._storageName,...i?{driver:i}:{}}}createDefaultStorage(){return this._localforage.createInstance({description:"Offline Storage for Notebooks and Files",storeName:"files",...this.defaultStorageOptions})}createDefaultCounters(){return this._localforage.createInstance({description:"Store the current file suffix counters",storeName:"counters",...this.defaultStorageOptions})}createDefaultCheckpoints(){return this._localforage.createInstance({description:"Offline Storage for Checkpoints",storeName:"checkpoints",...this.defaultStorageOptions})}async newUntitled(i){var a,s,c;let d=(a=i==null?void 0:i.path)!==null&&a!==void 0?a:"",f=(s=i==null?void 0:i.type)!==null&&s!==void 0?s:"notebook",u=new Date().toISOString(),h=Ce.PathExt.dirname(d),w=Ce.PathExt.basename(d),k=Ce.PathExt.extname(d),v=await this.get(h),M="";d&&!k&&v?(h=`${d}/`,M=""):h&&w?(h=`${h}/`,M=w):(h="",M=d);let T;switch(f){case"directory":{M=`Untitled Folder${await this._incrementCounter("directory")||""}`,T={name:M,path:`${h}${M}`,last_modified:u,created:u,format:"json",mimetype:"",content:null,size:0,writable:!0,type:"directory"};break}case"notebook":{let re=await this._incrementCounter("notebook");M=M||`Untitled${re||""}.ipynb`,T={name:M,path:`${h}${M}`,last_modified:u,created:u,format:"json",mimetype:Me.JSON,content:ui.EMPTY_NB,size:JSON.stringify(ui.EMPTY_NB).length,writable:!0,type:"notebook"};break}default:{let re=(c=i==null?void 0:i.ext)!==null&&c!==void 0?c:".txt",z=await this._incrementCounter("file"),q=Ee.getType(re)||Me.OCTET_STREAM,W;Ee.hasFormat(re,"text")||q.indexOf("text")!==-1?W="text":re.indexOf("json")!==-1||re.indexOf("ipynb")!==-1?W="json":W="base64",M=M||`untitled${z||""}${re}`,T={name:M,path:`${h}${M}`,last_modified:u,created:u,format:W,mimetype:q,content:"",size:0,writable:!0,type:"file"};break}}let D=T.path;return await(await this.storage).setItem(D,T),T}async copy(i,a){let s=Ce.PathExt.basename(i);for(a=a===""?"":`${a.slice(1)}/`;await this.get(`${a}${s}`,{content:!0});){let f=Ce.PathExt.extname(s);s=`${s.replace(f,"")} (copy)${f}`}let c=`${a}${s}`,d=await this.get(i,{content:!0});if(!d)throw Error(`Could not find file with path ${i}`);return d={...d,name:s,path:c},await(await this.storage).setItem(c,d),d}async get(i,a){if(i=decodeURIComponent(i.replace(/^\//,"")),i==="")return await this._getFolder(i);let s=await this.storage,c=await s.getItem(i),d=await this._getServerContents(i,a),f=c||d;if(!f)return null;if(!(a!=null&&a.content))return{size:0,...f,content:null};if(f.type==="directory"){let u=new Map;await s.iterate((k,v)=>{v===`${i}/${k.name}`&&u.set(k.name,k)});let h=d?d.content:Array.from((await this._getServerDirectory(i)).values());for(let k of h)u.has(k.name)||u.set(k.name,k);let w=[...u.values()];return{name:Ce.PathExt.basename(i),path:i,last_modified:f.last_modified,created:f.created,format:"json",mimetype:Me.JSON,content:w,size:0,writable:!0,type:"directory"}}return f}async rename(i,a){let s=decodeURIComponent(i),c=await this.get(s,{content:!0});if(!c)throw Error(`Could not find file with path ${s}`);let d=new Date().toISOString(),f=Ce.PathExt.basename(a),u={...c,name:f,path:a,last_modified:d},h=await this.storage;if(await h.setItem(a,u),await h.removeItem(s),await(await this.checkpoints).removeItem(s),c.type==="directory"){let w;for(w of c.content)await this.rename(qe.URLExt.join(i,w.name),qe.URLExt.join(a,w.name))}return u}async save(i,a={}){var s;i=decodeURIComponent(i);let c=Ce.PathExt.extname((s=a.name)!==null&&s!==void 0?s:""),d=a.chunk,f=d?d>1||d===-1:!1,u=await this.get(i,{content:f});if(u||(u=await this.newUntitled({path:i,ext:c,type:"file"})),!u)return null;let h=u.content,w=new Date().toISOString();if(u={...u,...a,last_modified:w},a.content&&a.format==="base64"){let k=d?d===-1:!0;if(c===".ipynb"){let v=this._handleChunk(a.content,h,f);u={...u,content:k?JSON.parse(v):v,format:"json",type:"notebook",size:v.length}}else if(Ee.hasFormat(c,"json")){let v=this._handleChunk(a.content,h,f);u={...u,content:k?JSON.parse(v):v,format:"json",type:"file",size:v.length}}else if(Ee.hasFormat(c,"text")){let v=this._handleChunk(a.content,h,f);u={...u,content:v,format:"text",type:"file",size:v.length}}else{let v=a.content;u={...u,content:v,size:atob(v).length}}}return await(await this.storage).setItem(i,u),u}async delete(i){i=decodeURIComponent(i);let a=`${i}/`,s=(await(await this.storage).keys()).filter(c=>c===i||c.startsWith(a));await Promise.all(s.map(this.forgetPath,this))}async forgetPath(i){await Promise.all([(await this.storage).removeItem(i),(await this.checkpoints).removeItem(i)])}async createCheckpoint(i){var a;let s=await this.checkpoints;i=decodeURIComponent(i);let c=await this.get(i,{content:!0});if(!c)throw Error(`Could not find file with path ${i}`);let d=((a=await s.getItem(i))!==null&&a!==void 0?a:[]).filter(Boolean);return d.push(c),d.length>Ea&&d.splice(0,d.length-Ea),await s.setItem(i,d),{id:`${d.length-1}`,last_modified:c.last_modified}}async listCheckpoints(i){return(await(await this.checkpoints).getItem(i)||[]).filter(Boolean).map(this.normalizeCheckpoint,this)}normalizeCheckpoint(i,a){return{id:a.toString(),last_modified:i.last_modified}}async restoreCheckpoint(i,a){i=decodeURIComponent(i);let s=await(await this.checkpoints).getItem(i)||[],c=parseInt(a),d=s[c];await(await this.storage).setItem(i,d)}async deleteCheckpoint(i,a){i=decodeURIComponent(i);let s=await(await this.checkpoints).getItem(i)||[],c=parseInt(a);s.splice(c,1),await(await this.checkpoints).setItem(i,s)}_handleChunk(i,a,s){let c=decodeURIComponent(escape(atob(i)));return s?a+c:c}async _getFolder(i){let a=new Map;await(await this.storage).iterate((c,d)=>{d.includes("/")||a.set(c.path,c)});for(let c of(await this._getServerDirectory(i)).values())a.has(c.path)||a.set(c.path,c);return i&&a.size===0?null:{name:"",path:i,last_modified:new Date(0).toISOString(),created:new Date(0).toISOString(),format:"json",mimetype:Me.JSON,content:Array.from(a.values()),size:0,writable:!0,type:"directory"}}async _getServerContents(i,a){let s=Ce.PathExt.basename(i),d=(await this._getServerDirectory(qe.URLExt.join(i,".."))).get(s);if(!d)return null;if(d=d||{name:s,path:i,last_modified:new Date(0).toISOString(),created:new Date(0).toISOString(),format:"text",mimetype:Me.PLAIN_TEXT,type:"file",writable:!0,size:0,content:""},a!=null&&a.content)if(d.type==="directory"){let f=await this._getServerDirectory(i);d={...d,content:Array.from(f.values())}}else{let f=qe.URLExt.join(qe.PageConfig.getBaseUrl(),"files",i),u=await fetch(f);if(!u.ok)return null;let h=d.mimetype||u.headers.get("Content-Type"),w=Ce.PathExt.extname(s);if(d.type==="notebook"||Ee.hasFormat(w,"json")||(h==null?void 0:h.indexOf("json"))!==-1||i.match(/\.(ipynb|[^/]*json[^/]*)$/)){let k=await u.text();d={...d,content:JSON.parse(k),format:"json",mimetype:d.mimetype||Me.JSON,size:k.length}}else if(Ee.hasFormat(w,"text")||h.indexOf("text")!==-1){let k=await u.text();d={...d,content:k,format:"text",mimetype:h||Me.PLAIN_TEXT,size:k.length}}else{let k=await u.arrayBuffer(),v=new Uint8Array(k);d={...d,content:btoa(v.reduce(this.reduceBytesToString,"")),format:"base64",mimetype:h||Me.OCTET_STREAM,size:v.length}}}return d}async _getServerDirectory(i){let a=this._serverContents.get(i)||new Map;if(!this._serverContents.has(i)){let s=qe.URLExt.join(qe.PageConfig.getBaseUrl(),"api/contents",i,"all.json");try{let c=await fetch(s),d=JSON.parse(await c.text());for(let f of d.content)a.set(f.name,f)}catch(c){console.warn(`don't worry, about ${c}... nothing's broken. If there had been a
|
|
7
|
+
file at ${s}, you might see some more files.`)}this._serverContents.set(i,a)}return a}async _incrementCounter(i){var a;let s=await this.counters,d=((a=await s.getItem(i))!==null&&a!==void 0?a:-1)+1;return await s.setItem(i,d),d}};(function(o){o.EMPTY_NB={metadata:{orig_nbformat:4},nbformat_minor:4,nbformat:4,cells:[]}})(ui||(ui={}))});var fi,za,rc,sc,Ua=gt(()=>{fi=16895,za=33206,rc=1,sc=2});var La,Xi,vi,oc,lc,Fa,pi,hi,mi,Qi,en=gt(()=>{La=":",Xi="/api/drive.v1",vi=4096,oc=new TextEncoder,lc=new TextDecoder("utf-8"),Fa={0:!1,1:!0,2:!0,64:!0,65:!0,66:!0,129:!0,193:!0,514:!0,577:!0,578:!0,705:!0,706:!0,1024:!0,1025:!0,1026:!0,1089:!0,1090:!0,1153:!0,1154:!0,1217:!0,1218:!0,4096:!0,4098:!0},pi=class{constructor(i){this.fs=i}open(i){let a=this.fs.realPath(i.node);this.fs.FS.isFile(i.node.mode)&&(i.file=this.fs.API.get(a))}close(i){if(!this.fs.FS.isFile(i.node.mode)||!i.file)return;let a=this.fs.realPath(i.node),s=i.flags,c=typeof s=="string"?parseInt(s,10):s;c&=8191;let d=!0;c in Fa&&(d=Fa[c]),d&&this.fs.API.put(a,i.file),i.file=void 0}read(i,a,s,c,d){if(c<=0||i.file===void 0||d>=(i.file.data.length||0))return 0;let f=Math.min(i.file.data.length-d,c);return a.set(i.file.data.subarray(d,d+f),s),f}write(i,a,s,c,d){var f;if(c<=0||i.file===void 0)return 0;if(i.node.timestamp=Date.now(),d+c>(((f=i.file)===null||f===void 0?void 0:f.data.length)||0)){let u=i.file.data?i.file.data:new Uint8Array;i.file.data=new Uint8Array(d+c),i.file.data.set(u)}return i.file.data.set(a.subarray(s,s+c),d),c}llseek(i,a,s){let c=a;if(s===1)c+=i.position;else if(s===2&&this.fs.FS.isFile(i.node.mode))if(i.file!==void 0)c+=i.file.data.length;else throw new this.fs.FS.ErrnoError(this.fs.ERRNO_CODES.EPERM);if(c<0)throw new this.fs.FS.ErrnoError(this.fs.ERRNO_CODES.EINVAL);return c}},hi=class{constructor(i){this.fs=i}getattr(i){return{...this.fs.API.getattr(this.fs.realPath(i)),mode:i.mode,ino:i.id}}setattr(i,a){for(let[s,c]of Object.entries(a))switch(s){case"mode":i.mode=c;break;case"timestamp":i.timestamp=c;break;default:console.warn("setattr",s,"of",c,"on",i,"not yet implemented");break}}lookup(i,a){let s=this.fs.PATH.join2(this.fs.realPath(i),a),c=this.fs.API.lookup(s);if(!c.ok)throw this.fs.FS.genericErrors[this.fs.ERRNO_CODES.ENOENT];return this.fs.createNode(i,a,c.mode,0)}mknod(i,a,s,c){let d=this.fs.PATH.join2(this.fs.realPath(i),a);return this.fs.API.mknod(d,s),this.fs.createNode(i,a,s,c)}rename(i,a,s){this.fs.API.rename(i.parent?this.fs.PATH.join2(this.fs.realPath(i.parent),i.name):i.name,this.fs.PATH.join2(this.fs.realPath(a),s)),i.name=s,i.parent=a}unlink(i,a){this.fs.API.rmdir(this.fs.PATH.join2(this.fs.realPath(i),a))}rmdir(i,a){this.fs.API.rmdir(this.fs.PATH.join2(this.fs.realPath(i),a))}readdir(i){return this.fs.API.readdir(this.fs.realPath(i))}symlink(i,a,s){throw new this.fs.FS.ErrnoError(this.fs.ERRNO_CODES.EPERM)}readlink(i){throw new this.fs.FS.ErrnoError(this.fs.ERRNO_CODES.EPERM)}},mi=class{constructor(i,a,s,c,d){this._baseUrl=i,this._driveName=a,this._mountpoint=s,this.FS=c,this.ERRNO_CODES=d}request(i){let a=new XMLHttpRequest;a.open("POST",encodeURI(this.endpoint),!1);try{a.send(JSON.stringify(i))}catch(s){console.error(s)}if(a.status>=400)throw new this.FS.ErrnoError(this.ERRNO_CODES.EINVAL);return JSON.parse(a.responseText)}lookup(i){return this.request({method:"lookup",path:this.normalizePath(i)})}getmode(i){return Number.parseInt(this.request({method:"getmode",path:this.normalizePath(i)}))}mknod(i,a){return this.request({method:"mknod",path:this.normalizePath(i),data:{mode:a}})}rename(i,a){return this.request({method:"rename",path:this.normalizePath(i),data:{newPath:this.normalizePath(a)}})}readdir(i){let a=this.request({method:"readdir",path:this.normalizePath(i)});return a.push("."),a.push(".."),a}rmdir(i){return this.request({method:"rmdir",path:this.normalizePath(i)})}get(i){let a=this.request({method:"get",path:this.normalizePath(i)}),s=a.content,c=a.format;switch(c){case"json":case"text":return{data:oc.encode(s),format:c};case"base64":{let d=atob(s),f=d.length,u=new Uint8Array(f);for(let h=0;h<f;h++)u[h]=d.charCodeAt(h);return{data:u,format:c}}default:throw new this.FS.ErrnoError(this.ERRNO_CODES.ENOENT)}}put(i,a){switch(a.format){case"json":case"text":return this.request({method:"put",path:this.normalizePath(i),data:{format:a.format,data:lc.decode(a.data)}});case"base64":{let s="";for(let c=0;c<a.data.byteLength;c++)s+=String.fromCharCode(a.data[c]);return this.request({method:"put",path:this.normalizePath(i),data:{format:a.format,data:btoa(s)}})}}}getattr(i){let a=this.request({method:"getattr",path:this.normalizePath(i)});return a.atime=new Date(a.atime),a.mtime=new Date(a.mtime),a.ctime=new Date(a.ctime),a.size=a.size||0,a}normalizePath(i){return i.startsWith(this._mountpoint)&&(i=i.slice(this._mountpoint.length)),this._driveName&&(i=`${this._driveName}${La}${i}`),i}get endpoint(){return`${this._baseUrl}api/drive`}},Qi=class{constructor(i){this.FS=i.FS,this.PATH=i.PATH,this.ERRNO_CODES=i.ERRNO_CODES,this.API=new mi(i.baseUrl,i.driveName,i.mountpoint,this.FS,this.ERRNO_CODES),this.driveName=i.driveName,this.node_ops=new hi(this),this.stream_ops=new pi(this)}mount(i){return this.createNode(null,i.mountpoint,16895,0)}createNode(i,a,s,c){let d=this.FS;if(!d.isDir(s)&&!d.isFile(s))throw new d.ErrnoError(this.ERRNO_CODES.EINVAL);let f=d.createNode(i,a,s,c);return f.node_ops=this.node_ops,f.stream_ops=this.stream_ops,f}getMode(i){return this.API.getmode(i)}realPath(i){let a=[],s=i;for(a.push(s.name);s.parent!==s;)s=s.parent,a.push(s.name);return a.reverse(),this.PATH.join.apply(null,a)}}});var tn,nn,Wa=gt(()=>{tn=nt(Et());en();nn=class{constructor(i){this.isDisposed=!1,this._onMessage=async a=>{if(!this._channel)return;let{_contents:s}=this,c=a.data,d=c==null?void 0:c.path;if((c==null?void 0:c.receiver)!=="broadcast.ts")return;let u=null,h;switch(c==null?void 0:c.method){case"readdir":h=await s.get(d,{content:!0}),u=[],h.type==="directory"&&h.content&&(u=h.content.map(w=>w.name));break;case"rmdir":await s.delete(d);break;case"rename":await s.rename(d,c.data.newPath);break;case"getmode":h=await s.get(d),h.type==="directory"?u=16895:u=33206;break;case"lookup":try{h=await s.get(d),u={ok:!0,mode:h.type==="directory"?16895:33206}}catch{u={ok:!1}}break;case"mknod":h=await s.newUntitled({path:tn.PathExt.dirname(d),type:Number.parseInt(c.data.mode)===16895?"directory":"file",ext:tn.PathExt.extname(d)}),await s.rename(h.path,d);break;case"getattr":h=await s.get(d),u={dev:1,nlink:1,uid:0,gid:0,rdev:0,size:h.size||0,blksize:vi,blocks:Math.ceil(h.size||0/vi),atime:h.last_modified,mtime:h.last_modified,ctime:h.created,timestamp:0};break;case"get":if(h=await s.get(d,{content:!0}),h.type==="directory")break;u={content:h.format==="json"?JSON.stringify(h.content):h.content,format:h.format};break;case"put":await s.save(d,{content:c.data.format==="json"?JSON.parse(c.data.data):c.data.data,type:"file",format:c.data.format});break;default:u=null;break}this._channel.postMessage(u)},this._channel=null,this._enabled=!1,this._contents=i.contents}get enabled(){return this._enabled}enable(){if(this._channel){console.warn("BroadcastChannel already created and enabled");return}this._channel=new BroadcastChannel(Xi),this._channel.addEventListener("message",this._onMessage),this._enabled=!0}disable(){this._channel&&(this._channel.removeEventListener("message",this._onMessage),this._channel=null),this._enabled=!1}dispose(){this.isDisposed||(this.disable(),this.isDisposed=!0)}}});var Ha={};Il(Ha,{BLOCK_SIZE:()=>vi,BroadcastChannelWrapper:()=>nn,Contents:()=>Ki,ContentsAPI:()=>mi,DIR_MODE:()=>fi,DRIVE_API_PATH:()=>Xi,DRIVE_SEPARATOR:()=>La,DriveFS:()=>Qi,DriveFSEmscriptenNodeOps:()=>hi,DriveFSEmscriptenStreamOps:()=>pi,FILE:()=>Ee,FILE_MODE:()=>za,IBroadcastChannelWrapper:()=>ac,IContents:()=>nc,MIME:()=>Me,SEEK_CUR:()=>rc,SEEK_END:()=>sc});var qa=gt(()=>{Aa();en();Ji();Wa();Ua()});var Va=class{constructor(){this._options=null;this._initializer=null;this._pyodide=null;this._localPath="";this._driveName="";this._driveFS=null;this._initialized=new Promise((i,a)=>{this._initializer={resolve:i,reject:a}})}async initialize(i){var a;if(this._options=i,i.location.includes(":")){let s=i.location.split(":");this._driveName=s[0],this._localPath=s[1]}else this._driveName="",this._localPath=i.location;await this.initRuntime(i),await this.initFilesystem(i),await this.initPackageManager(i),await this.initKernel(i),await this.initGlobals(i),(a=this._initializer)==null||a.resolve()}async initRuntime(i){let{pyodideUrl:a,indexUrl:s}=i,c;a.endsWith(".mjs")?c=(await import(a)).loadPyodide:(importScripts(a),c=self.loadPyodide),this._pyodide=await c({indexURL:s})}async initPackageManager(i){if(!this._options)throw new Error("Uninitialized");let{pipliteWheelUrl:a,disablePyPIFallback:s,pipliteUrls:c}=this._options;await this._pyodide.loadPackage(["micropip"]),await this._pyodide.runPythonAsync(`
|
|
8
8
|
import micropip
|
|
9
|
-
await micropip.install('${
|
|
9
|
+
await micropip.install('${a}', keep_going=True)
|
|
10
10
|
import piplite.piplite
|
|
11
11
|
piplite.piplite._PIPLITE_DISABLE_PYPI = ${s?"True":"False"}
|
|
12
12
|
piplite.piplite._PIPLITE_URLS = ${JSON.stringify(c)}
|
|
@@ -20,7 +20,7 @@ Arguments: `+Array.prototype.slice.call(a).join("")+`
|
|
|
20
20
|
`),i.mountDrive&&this._localPath&&await this._pyodide.runPythonAsync(`
|
|
21
21
|
import os;
|
|
22
22
|
os.chdir("${this._localPath}");
|
|
23
|
-
`)}async initGlobals(i){let{globals:
|
|
23
|
+
`)}async initGlobals(i){let{globals:a}=this._pyodide;this._kernel=a.get("pyodide_kernel").kernel_instance.copy(),this._stdout_stream=a.get("pyodide_kernel").stdout_stream.copy(),this._stderr_stream=a.get("pyodide_kernel").stderr_stream.copy(),this._interpreter=this._kernel.interpreter.copy(),this._interpreter.send_comm=this.sendComm.bind(this)}async initFilesystem(i){if(i.mountDrive){let a="/drive",{FS:s,PATH:c,ERRNO_CODES:d}=this._pyodide,{baseUrl:f}=i,{DriveFS:u}=await Promise.resolve().then(()=>(qa(),Ha)),h=new u({FS:s,PATH:c,ERRNO_CODES:d,baseUrl:f,driveName:this._driveName,mountpoint:a});s.mkdir(a),s.mount(h,{},a),s.chdir(a),this._driveFS=h}}mapToObject(i){let a=i instanceof Array?[]:{};return i.forEach((s,c)=>{a[c]=s instanceof Map||s instanceof Array?this.mapToObject(s):s}),a}formatResult(i){if(!(i instanceof this._pyodide.ffi.PyProxy))return i;let a=i.toJs();return this.mapToObject(a)}async setup(i){await this._initialized,this._kernel._parent_header=this._pyodide.toPy(i)}async execute(i,a){await this.setup(a);let s=(v,M,T)=>{let D={execution_count:v,data:this.formatResult(M),metadata:this.formatResult(T)};postMessage({parentHeader:this.formatResult(this._kernel._parent_header).header,bundle:D,type:"execute_result"})},c=(v,M,T)=>{let D={ename:v,evalue:M,traceback:T};postMessage({parentHeader:this.formatResult(this._kernel._parent_header).header,bundle:D,type:"execute_error"})},d=v=>{let M={wait:this.formatResult(v)};postMessage({parentHeader:this.formatResult(this._kernel._parent_header).header,bundle:M,type:"clear_output"})},f=(v,M,T)=>{let D={data:this.formatResult(v),metadata:this.formatResult(M),transient:this.formatResult(T)};postMessage({parentHeader:this.formatResult(this._kernel._parent_header).header,bundle:D,type:"display_data"})},u=(v,M,T)=>{let D={data:this.formatResult(v),metadata:this.formatResult(M),transient:this.formatResult(T)};postMessage({parentHeader:this.formatResult(this._kernel._parent_header).header,bundle:D,type:"update_display_data"})},h=(v,M)=>{let T={name:this.formatResult(v),text:this.formatResult(M)};postMessage({parentHeader:this.formatResult(this._kernel._parent_header).header,bundle:T,type:"stream"})};this._stdout_stream.publish_stream_callback=h,this._stderr_stream.publish_stream_callback=h,this._interpreter.display_pub.clear_output_callback=d,this._interpreter.display_pub.display_data_callback=f,this._interpreter.display_pub.update_display_data_callback=u,this._interpreter.displayhook.publish_execution_result=s,this._interpreter.input=this.input.bind(this),this._interpreter.getpass=this.getpass.bind(this);let w=await this._kernel.run(i.code),k=this.formatResult(w);return k.status==="error"&&c(k.ename,k.evalue,k.traceback),k}async complete(i,a){await this.setup(a);let s=this._kernel.complete(i.code,i.cursor_pos);return this.formatResult(s)}async inspect(i,a){await this.setup(a);let s=this._kernel.inspect(i.code,i.cursor_pos,i.detail_level);return this.formatResult(s)}async isComplete(i,a){await this.setup(a);let s=this._kernel.is_complete(i.code);return this.formatResult(s)}async commInfo(i,a){await this.setup(a);let s=this._kernel.comm_info(i.target_name);return{comms:this.formatResult(s),status:"ok"}}async commOpen(i,a){await this.setup(a);let s=this._kernel.comm_manager.comm_open(this._pyodide.toPy(null),this._pyodide.toPy(null),this._pyodide.toPy(i));return this.formatResult(s)}async commMsg(i,a){await this.setup(a);let s=this._kernel.comm_manager.comm_msg(this._pyodide.toPy(null),this._pyodide.toPy(null),this._pyodide.toPy(i));return this.formatResult(s)}async commClose(i,a){await this.setup(a);let s=this._kernel.comm_manager.comm_close(this._pyodide.toPy(null),this._pyodide.toPy(null),this._pyodide.toPy(i));return this.formatResult(s)}async inputReply(i,a){await this.setup(a),this._resolveInputReply(i)}async sendInputRequest(i,a){let s={prompt:i,password:a};postMessage({type:"input_request",parentHeader:this.formatResult(this._kernel._parent_header).header,content:s})}async getpass(i){return i=typeof i=="undefined"?"":i,await this.sendInputRequest(i,!0),(await new Promise(c=>{this._resolveInputReply=c})).value}async input(i){return i=typeof i=="undefined"?"":i,await this.sendInputRequest(i,!1),(await new Promise(c=>{this._resolveInputReply=c})).value}async sendComm(i,a,s,c,d){postMessage({type:i,content:this.formatResult(a),metadata:this.formatResult(s),ident:this.formatResult(c),buffers:this.formatResult(d),parentHeader:this.formatResult(this._kernel._parent_header).header})}};export{Va as PyodideRemoteKernel};
|
|
24
24
|
/*! Bundled license information:
|
|
25
25
|
|
|
26
26
|
moment/moment.js:
|