@deck.gl/jupyter-widget 8.9.24 → 8.9.25
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/LICENSE +0 -19
package/dist/index.js
CHANGED
|
@@ -526,7 +526,7 @@ __p+='`),jn}),Tt+=`';
|
|
|
526
526
|
`;var Nr;try{Nr=new Function(sr,"_",Tt)}catch(jn){throw jn.source=Tt,jn}var ti=function(jn){return Nr.call(this,jn,Br)};return ti.source="function("+sr+`){
|
|
527
527
|
`+Tt+"}",ti}function Cs(te,Ce,rt){Ce=qt(Ce);var ut=Ce.length;if(!ut)return Pt(rt)?rt.call(te):rt;for(var Rt=0;Rt<ut;Rt++){var Tt=te?.[Ce[Rt]];Tt===void 0&&(Tt=rt,Rt=ut),te=Pt(Tt)?Tt.call(te):Tt}return te}var bo=0;function ec(te){var Ce=++bo+"";return te?te+Ce:Ce}function ps(te){var Ce=Br(te);return Ce._chain=!0,Ce}function Du(te,Ce,rt,ut,Rt){if(!(ut instanceof Ce))return te.apply(rt,Rt);var Tt=dr(te.prototype),sr=te.apply(Tt,Rt);return k(sr)?sr:Tt}var eo=J(function(te,Ce){var rt=eo.placeholder,ut=function(){for(var Rt=0,Tt=Ce.length,sr=Array(Tt),Nr=0;Nr<Tt;Nr++)sr[Nr]=Ce[Nr]===rt?arguments[Rt++]:Ce[Nr];for(;Rt<arguments.length;)sr.push(arguments[Rt++]);return Du(te,ut,this,this,sr)};return ut});eo.placeholder=Br;var Me=J(function(te,Ce,rt){if(!Pt(te))throw new TypeError("Bind must be called on a function");var ut=J(function(Rt){return Du(te,ut,Ce,this,rt.concat(Rt))});return ut}),Ge=Fn(Hn);function it(te,Ce,rt,ut){if(ut=ut||[],!Ce&&Ce!==0)Ce=1/0;else if(Ce<=0)return ut.concat(te);for(var Rt=ut.length,Tt=0,sr=Hn(te);Tt<sr;Tt++){var Nr=te[Tt];if(Ge(Nr)&&(xe(Nr)||Yt(Nr)))if(Ce>1)it(Nr,Ce-1,rt,ut),Rt=ut.length;else for(var ti=0,jn=Nr.length;ti<jn;)ut[Rt++]=Nr[ti++];else rt||(ut[Rt++]=Nr)}return ut}var Xt=J(function(te,Ce){Ce=it(Ce,!1,!1);var rt=Ce.length;if(rt<1)throw new Error("bindAll must be passed function names");for(;rt--;){var ut=Ce[rt];te[ut]=Me(te[ut],te)}return te});function br(te,Ce){var rt=function(ut){var Rt=rt.cache,Tt=""+(Ce?Ce.apply(this,arguments):ut);return Ve(Rt,Tt)||(Rt[Tt]=te.apply(this,arguments)),Rt[Tt]};return rt.cache={},rt}var cn=J(function(te,Ce,rt){return setTimeout(function(){return te.apply(null,rt)},Ce)}),Ai=eo(cn,Br,1);function xo(te,Ce,rt){var ut,Rt,Tt,sr,Nr=0;rt||(rt={});var ti=function(){Nr=rt.leading===!1?0:$n(),ut=null,sr=te.apply(Rt,Tt),ut||(Rt=Tt=null)},jn=function(){var ha=$n();!Nr&&rt.leading===!1&&(Nr=ha);var Pi=Ce-(ha-Nr);return Rt=this,Tt=arguments,Pi<=0||Pi>Ce?(ut&&(clearTimeout(ut),ut=null),Nr=ha,sr=te.apply(Rt,Tt),ut||(Rt=Tt=null)):!ut&&rt.trailing!==!1&&(ut=setTimeout(ti,Pi)),sr};return jn.cancel=function(){clearTimeout(ut),Nr=0,ut=Rt=Tt=null},jn}function po(te,Ce,rt){var ut,Rt,Tt,sr,Nr,ti=function(){var ha=$n()-Rt;Ce>ha?ut=setTimeout(ti,Ce-ha):(ut=null,rt||(sr=te.apply(Nr,Tt)),ut||(Tt=Nr=null))},jn=J(function(ha){return Nr=this,Tt=ha,Rt=$n(),ut||(ut=setTimeout(ti,Ce),rt&&(sr=te.apply(Nr,Tt))),sr});return jn.cancel=function(){clearTimeout(ut),ut=Tt=Nr=null},jn}function Wo(te,Ce){return eo(Ce,te)}function ds(te){return function(){return!te.apply(this,arguments)}}function tf(){var te=arguments,Ce=te.length-1;return function(){for(var rt=Ce,ut=te[Ce].apply(this,arguments);rt--;)ut=te[rt].call(this,ut);return ut}}function tc(te,Ce){return function(){if(--te<1)return Ce.apply(this,arguments)}}function rf(te,Ce){var rt;return function(){return--te>0&&(rt=Ce.apply(this,arguments)),te<=1&&(Ce=null),rt}}var xc=eo(rf,2);function Bf(te,Ce,rt){Ce=Un(Ce,rt);for(var ut=di(te),Rt,Tt=0,sr=ut.length;Tt<sr;Tt++)if(Rt=ut[Tt],Ce(te[Rt],Rt,te))return Rt}function wc(te){return function(Ce,rt,ut){rt=Un(rt,ut);for(var Rt=Hn(Ce),Tt=te>0?0:Rt-1;Tt>=0&&Tt<Rt;Tt+=te)if(rt(Ce[Tt],Tt,Ce))return Tt;return-1}}var Ps=wc(1),Qu=wc(-1);function Fu(te,Ce,rt,ut){rt=Un(rt,ut,1);for(var Rt=rt(Ce),Tt=0,sr=Hn(te);Tt<sr;){var Nr=Math.floor((Tt+sr)/2);rt(te[Nr])<Rt?Tt=Nr+1:sr=Nr}return Tt}function Nu(te,Ce,rt){return function(ut,Rt,Tt){var sr=0,Nr=Hn(ut);if(typeof Tt=="number")te>0?sr=Tt>=0?Tt:Math.max(Tt+Nr,sr):Nr=Tt>=0?Math.min(Tt+1,Nr):Tt+Nr+1;else if(rt&&Tt&&Nr)return Tt=rt(ut,Rt),ut[Tt]===Rt?Tt:-1;if(Rt!==Rt)return Tt=Ce(o.call(ut,sr,Nr),tn),Tt>=0?Tt+sr:-1;for(Tt=te>0?sr:Nr-1;Tt>=0&&Tt<Nr;Tt+=te)if(ut[Tt]===Rt)return Tt;return-1}}var zu=Nu(1,Ps,Fu),Uu=Nu(-1,Qu);function Ll(te,Ce,rt){var ut=Ge(te)?Ps:Bf,Rt=ut(te,Ce,rt);if(Rt!==void 0&&Rt!==-1)return te[Rt]}function ms(te,Ce){return Ll(te,Cr(Ce))}function $i(te,Ce,rt){Ce=Ci(Ce,rt);var ut,Rt;if(Ge(te))for(ut=0,Rt=te.length;ut<Rt;ut++)Ce(te[ut],ut,te);else{var Tt=di(te);for(ut=0,Rt=Tt.length;ut<Rt;ut++)Ce(te[Tt[ut]],Tt[ut],te)}return te}function ru(te,Ce,rt){Ce=Un(Ce,rt);for(var ut=!Ge(te)&&di(te),Rt=(ut||te).length,Tt=Array(Rt),sr=0;sr<Rt;sr++){var Nr=ut?ut[sr]:sr;Tt[sr]=Ce(te[Nr],Nr,te)}return Tt}function Df(te){var Ce=function(rt,ut,Rt,Tt){var sr=!Ge(rt)&&di(rt),Nr=(sr||rt).length,ti=te>0?0:Nr-1;for(Tt||(Rt=rt[sr?sr[ti]:ti],ti+=te);ti>=0&&ti<Nr;ti+=te){var jn=sr?sr[ti]:ti;Rt=ut(Rt,rt[jn],jn,rt)}return Rt};return function(rt,ut,Rt,Tt){var sr=arguments.length>=3;return Ce(rt,Ci(ut,Tt,4),Rt,sr)}}var Ff=Df(1),rc=Df(-1);function el(te,Ce,rt){var ut=[];return Ce=Un(Ce,rt),$i(te,function(Rt,Tt,sr){Ce(Rt,Tt,sr)&&ut.push(Rt)}),ut}function Tc(te,Ce,rt){return el(te,ds(Un(Ce)),rt)}function nc(te,Ce,rt){Ce=Un(Ce,rt);for(var ut=!Ge(te)&&di(te),Rt=(ut||te).length,Tt=0;Tt<Rt;Tt++){var sr=ut?ut[Tt]:Tt;if(!Ce(te[sr],sr,te))return!1}return!0}function Sc(te,Ce,rt){Ce=Un(Ce,rt);for(var ut=!Ge(te)&&di(te),Rt=(ut||te).length,Tt=0;Tt<Rt;Tt++){var sr=ut?ut[Tt]:Tt;if(Ce(te[sr],sr,te))return!0}return!1}function _u(te,Ce,rt,ut){return Ge(te)||(te=Oe(te)),(typeof rt!="number"||ut)&&(rt=0),zu(te,Ce,rt)>=0}var B=J(function(te,Ce,rt){var ut,Rt;return Pt(Ce)?Rt=Ce:(Ce=qt(Ce),ut=Ce.slice(0,-1),Ce=Ce[Ce.length-1]),ru(te,function(Tt){var sr=Rt;if(!sr){if(ut&&ut.length&&(Tt=Lr(Tt,ut)),Tt==null)return;sr=Tt[Ce]}return sr==null?sr:sr.apply(Tt,rt)})});function Y(te,Ce){return ru(te,Qn(Ce))}function ne(te,Ce){return el(te,Cr(Ce))}function oe(te,Ce,rt){var ut=-1/0,Rt=-1/0,Tt,sr;if(Ce==null||typeof Ce=="number"&&typeof te[0]!="object"&&te!=null){te=Ge(te)?te:Oe(te);for(var Nr=0,ti=te.length;Nr<ti;Nr++)Tt=te[Nr],Tt!=null&&Tt>ut&&(ut=Tt)}else Ce=Un(Ce,rt),$i(te,function(jn,ha,Pi){sr=Ce(jn,ha,Pi),(sr>Rt||sr===-1/0&&ut===-1/0)&&(ut=jn,Rt=sr)});return ut}function ye(te,Ce,rt){var ut=1/0,Rt=1/0,Tt,sr;if(Ce==null||typeof Ce=="number"&&typeof te[0]!="object"&&te!=null){te=Ge(te)?te:Oe(te);for(var Nr=0,ti=te.length;Nr<ti;Nr++)Tt=te[Nr],Tt!=null&&Tt<ut&&(ut=Tt)}else Ce=Un(Ce,rt),$i(te,function(jn,ha,Pi){sr=Ce(jn,ha,Pi),(sr<Rt||sr===1/0&&ut===1/0)&&(ut=jn,Rt=sr)});return ut}function be(te,Ce,rt){if(Ce==null||rt)return Ge(te)||(te=Oe(te)),te[Zn(te.length-1)];var ut=Ge(te)?lr(te):Oe(te),Rt=Hn(ut);Ce=Math.max(Math.min(Ce,Rt),0);for(var Tt=Rt-1,sr=0;sr<Ce;sr++){var Nr=Zn(sr,Tt),ti=ut[sr];ut[sr]=ut[Nr],ut[Nr]=ti}return ut.slice(0,Ce)}function Le(te){return be(te,1/0)}function Ee(te,Ce,rt){var ut=0;return Ce=Un(Ce,rt),Y(ru(te,function(Rt,Tt,sr){return{value:Rt,index:ut++,criteria:Ce(Rt,Tt,sr)}}).sort(function(Rt,Tt){var sr=Rt.criteria,Nr=Tt.criteria;if(sr!==Nr){if(sr>Nr||sr===void 0)return 1;if(sr<Nr||Nr===void 0)return-1}return Rt.index-Tt.index}),"value")}function Be(te,Ce){return function(rt,ut,Rt){var Tt=Ce?[[],[]]:{};return ut=Un(ut,Rt),$i(rt,function(sr,Nr){var ti=ut(sr,Nr,rt);te(Tt,sr,ti)}),Tt}}var tt=Be(function(te,Ce,rt){Ve(te,rt)?te[rt].push(Ce):te[rt]=[Ce]}),wt=Be(function(te,Ce,rt){te[rt]=Ce}),b=Be(function(te,Ce,rt){Ve(te,rt)?te[rt]++:te[rt]=1}),Mt=Be(function(te,Ce,rt){te[rt?0:1].push(Ce)},!0),Vt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function We(te){return te?xe(te)?o.call(te):U(te)?te.match(Vt):Ge(te)?ru(te,Wn):Oe(te):[]}function Bn(te){return te==null?0:Ge(te)?te.length:di(te).length}function fn(te,Ce,rt){return Ce in rt}var Fr=J(function(te,Ce){var rt={},ut=Ce[0];if(te==null)return rt;Pt(ut)?(Ce.length>1&&(ut=Ci(ut,Ce[1])),Ce=Ka(te)):(ut=fn,Ce=it(Ce,!1,!1),te=Object(te));for(var Rt=0,Tt=Ce.length;Rt<Tt;Rt++){var sr=Ce[Rt],Nr=te[sr];ut(Nr,sr,te)&&(rt[sr]=Nr)}return rt}),yi=J(function(te,Ce){var rt=Ce[0],ut;return Pt(rt)?(rt=ds(rt),Ce.length>1&&(ut=Ce[1])):(Ce=ru(it(Ce,!1,!1),String),rt=function(Rt,Tt){return!_u(Ce,Tt)}),Fr(te,rt,ut)});function Oa(te,Ce,rt){return o.call(te,0,Math.max(0,te.length-(Ce==null||rt?1:Ce)))}function vn(te,Ce,rt){return te==null||te.length<1?Ce==null||rt?void 0:[]:Ce==null||rt?te[0]:Oa(te,te.length-Ce)}function Gr(te,Ce,rt){return o.call(te,Ce==null||rt?1:Ce)}function $a(te,Ce,rt){return te==null||te.length<1?Ce==null||rt?void 0:[]:Ce==null||rt?te[te.length-1]:Gr(te,Math.max(0,te.length-Ce))}function Vi(te){return el(te,Boolean)}function ua(te,Ce){return it(te,Ce,!1)}var Jo=J(function(te,Ce){return Ce=it(Ce,!0,!0),el(te,function(rt){return!_u(Ce,rt)})}),to=J(function(te,Ce){return Jo(te,Ce)});function wo(te,Ce,rt,ut){X(Ce)||(ut=rt,rt=Ce,Ce=!1),rt!=null&&(rt=Un(rt,ut));for(var Rt=[],Tt=[],sr=0,Nr=Hn(te);sr<Nr;sr++){var ti=te[sr],jn=rt?rt(ti,sr,te):ti;Ce&&!rt?((!sr||Tt!==jn)&&Rt.push(ti),Tt=jn):rt?_u(Tt,jn)||(Tt.push(jn),Rt.push(ti)):_u(Rt,ti)||Rt.push(ti)}return Rt}var qo=J(function(te){return wo(it(te,!0,!0))});function ju(te){for(var Ce=[],rt=arguments.length,ut=0,Rt=Hn(te);ut<Rt;ut++){var Tt=te[ut];if(!_u(Ce,Tt)){var sr;for(sr=1;sr<rt&&_u(arguments[sr],Tt);sr++);sr===rt&&Ce.push(Tt)}}return Ce}function fa(te){for(var Ce=te&&oe(te,Hn).length||0,rt=Array(Ce),ut=0;ut<Ce;ut++)rt[ut]=Y(te,ut);return rt}var Yn=J(fa);function dt(te,Ce){for(var rt={},ut=0,Rt=Hn(te);ut<Rt;ut++)Ce?rt[te[ut]]=Ce[ut]:rt[te[ut][0]]=te[ut][1];return rt}function vi(te,Ce,rt){Ce==null&&(Ce=te||0,te=0),rt||(rt=Ce<te?-1:1);for(var ut=Math.max(Math.ceil((Ce-te)/rt),0),Rt=Array(ut),Tt=0;Tt<ut;Tt++,te+=rt)Rt[Tt]=te;return Rt}function Ec(te,Ce){if(Ce==null||Ce<1)return[];for(var rt=[],ut=0,Rt=te.length;ut<Rt;)rt.push(o.call(te,ut,ut+=Ce));return rt}function Os(te,Ce){return te._chain?Br(Ce).chain():Ce}function Zi(te){return $i(pt(te),function(Ce){var rt=Br[Ce]=te[Ce];Br.prototype[Ce]=function(){var ut=[this._wrapped];return a.apply(ut,arguments),Os(this,rt.apply(Br,ut))}}),Br}$i(["pop","push","reverse","shift","sort","splice","unshift"],function(te){var Ce=e[te];Br.prototype[te]=function(){var rt=this._wrapped;return rt!=null&&(Ce.apply(rt,arguments),(te==="shift"||te==="splice")&&rt.length===0&&delete rt[0]),Os(this,rt)}}),$i(["concat","join","slice"],function(te){var Ce=e[te];Br.prototype[te]=function(){var rt=this._wrapped;return rt!=null&&(rt=Ce.apply(rt,arguments)),Os(this,rt)}});var Wi={__proto__:null,VERSION:t,restArguments:J,isObject:k,isNull:se,isUndefined:V,isBoolean:X,isElement:I,isString:U,isNumber:re,isDate:ee,isRegExp:he,isError:Ne,isSymbol:qe,isArrayBuffer:He,isDataView:pe,isArray:xe,isFunction:Pt,isArguments:Yt,isFinite:jt,isNaN:tn,isTypedArray:si,isEmpty:jr,isMatch:Jr,isEqual:Bo,isMap:yu,isWeakMap:ra,isSet:ge,isWeakSet:Te,keys:di,allKeys:Ka,values:Oe,pairs:Ue,invert:Ie,functions:pt,methods:pt,extend:De,extendOwn:Qe,assign:Qe,defaults:It,create:Zt,clone:lr,tap:Kr,get:Er,has:_r,mapObject:oa,identity:Wn,constant:an,noop:xi,toPath:Dr,property:Qn,propertyOf:Ki,matcher:Cr,matches:Cr,times:gi,random:Zn,now:$n,escape:Ba,unescape:hs,templateSettings:eu,template:ai,result:Cs,uniqueId:ec,chain:ps,iteratee:bi,partial:eo,bind:Me,bindAll:Xt,memoize:br,delay:cn,defer:Ai,throttle:xo,debounce:po,wrap:Wo,negate:ds,compose:tf,after:tc,before:rf,once:xc,findKey:Bf,findIndex:Ps,findLastIndex:Qu,sortedIndex:Fu,indexOf:zu,lastIndexOf:Uu,find:Ll,detect:Ll,findWhere:ms,each:$i,forEach:$i,map:ru,collect:ru,reduce:Ff,foldl:Ff,inject:Ff,reduceRight:rc,foldr:rc,filter:el,select:el,reject:Tc,every:nc,all:nc,some:Sc,any:Sc,contains:_u,includes:_u,include:_u,invoke:B,pluck:Y,where:ne,max:oe,min:ye,shuffle:Le,sample:be,sortBy:Ee,groupBy:tt,indexBy:wt,countBy:b,partition:Mt,toArray:We,size:Bn,pick:Fr,omit:yi,first:vn,head:vn,take:vn,initial:Oa,last:$a,rest:Gr,tail:Gr,drop:Gr,compact:Vi,flatten:ua,without:to,uniq:wo,unique:wo,union:qo,intersection:ju,difference:Jo,unzip:fa,transpose:fa,zip:Yn,object:dt,range:vi,chunk:Ec,mixin:Zi,default:Br},Gu=Zi(Wi);return Gu._=Gu,Gu})});var yB=mr((jne,vE)=>{(function(t,r){"use strict";typeof vE=="object"&&typeof vE.exports=="object"?vE.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)})(typeof window<"u"?window:jne,function(t,r){"use strict";var e=[],n=Object.getPrototypeOf,i=e.slice,a=e.flat?function(B){return e.flat.call(B)}:function(B){return e.concat.apply([],B)},o=e.push,s=e.indexOf,u={},c=u.toString,h=u.hasOwnProperty,p=h.toString,v=p.call(Object),x={},E=function(Y){return typeof Y=="function"&&typeof Y.nodeType!="number"},R=function(Y){return Y!=null&&Y===Y.window},D=t.document,H={type:!0,src:!0,nonce:!0,noModule:!0};function W(B,Y,ne){ne=ne||D;var oe,ye,be=ne.createElement("script");if(be.text=B,Y)for(oe in H)ye=Y[oe]||Y.getAttribute&&Y.getAttribute(oe),ye&&be.setAttribute(oe,ye);ne.head.appendChild(be).parentNode.removeChild(be)}function $(B){return B==null?B+"":typeof B=="object"||typeof B=="function"?u[c.call(B)]||"object":typeof B}var J="3.5.1",k=function(B,Y){return new k.fn.init(B,Y)};k.fn=k.prototype={jquery:J,constructor:k,length:0,toArray:function(){return i.call(this)},get:function(B){return B==null?i.call(this):B<0?this[B+this.length]:this[B]},pushStack:function(B){var Y=k.merge(this.constructor(),B);return Y.prevObject=this,Y},each:function(B){return k.each(this,B)},map:function(B){return this.pushStack(k.map(this,function(Y,ne){return B.call(Y,ne,Y)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,function(B,Y){return(Y+1)%2}))},odd:function(){return this.pushStack(k.grep(this,function(B,Y){return Y%2}))},eq:function(B){var Y=this.length,ne=+B+(B<0?Y:0);return this.pushStack(ne>=0&&ne<Y?[this[ne]]:[])},end:function(){return this.prevObject||this.constructor()},push:o,sort:e.sort,splice:e.splice},k.extend=k.fn.extend=function(){var B,Y,ne,oe,ye,be,Le=arguments[0]||{},Ee=1,Be=arguments.length,tt=!1;for(typeof Le=="boolean"&&(tt=Le,Le=arguments[Ee]||{},Ee++),typeof Le!="object"&&!E(Le)&&(Le={}),Ee===Be&&(Le=this,Ee--);Ee<Be;Ee++)if((B=arguments[Ee])!=null)for(Y in B)oe=B[Y],!(Y==="__proto__"||Le===oe)&&(tt&&oe&&(k.isPlainObject(oe)||(ye=Array.isArray(oe)))?(ne=Le[Y],ye&&!Array.isArray(ne)?be=[]:!ye&&!k.isPlainObject(ne)?be={}:be=ne,ye=!1,Le[Y]=k.extend(tt,be,oe)):oe!==void 0&&(Le[Y]=oe));return Le},k.extend({expando:"jQuery"+(J+Math.random()).replace(/\D/g,""),isReady:!0,error:function(B){throw new Error(B)},noop:function(){},isPlainObject:function(B){var Y,ne;return!B||c.call(B)!=="[object Object]"?!1:(Y=n(B),Y?(ne=h.call(Y,"constructor")&&Y.constructor,typeof ne=="function"&&p.call(ne)===v):!0)},isEmptyObject:function(B){var Y;for(Y in B)return!1;return!0},globalEval:function(B,Y,ne){W(B,{nonce:Y&&Y.nonce},ne)},each:function(B,Y){var ne,oe=0;if(se(B))for(ne=B.length;oe<ne&&Y.call(B[oe],oe,B[oe])!==!1;oe++);else for(oe in B)if(Y.call(B[oe],oe,B[oe])===!1)break;return B},makeArray:function(B,Y){var ne=Y||[];return B!=null&&(se(Object(B))?k.merge(ne,typeof B=="string"?[B]:B):o.call(ne,B)),ne},inArray:function(B,Y,ne){return Y==null?-1:s.call(Y,B,ne)},merge:function(B,Y){for(var ne=+Y.length,oe=0,ye=B.length;oe<ne;oe++)B[ye++]=Y[oe];return B.length=ye,B},grep:function(B,Y,ne){for(var oe,ye=[],be=0,Le=B.length,Ee=!ne;be<Le;be++)oe=!Y(B[be],be),oe!==Ee&&ye.push(B[be]);return ye},map:function(B,Y,ne){var oe,ye,be=0,Le=[];if(se(B))for(oe=B.length;be<oe;be++)ye=Y(B[be],be,ne),ye!=null&&Le.push(ye);else for(be in B)ye=Y(B[be],be,ne),ye!=null&&Le.push(ye);return a(Le)},guid:1,support:x}),typeof Symbol=="function"&&(k.fn[Symbol.iterator]=e[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(B,Y){u["[object "+Y+"]"]=Y.toLowerCase()});function se(B){var Y=!!B&&"length"in B&&B.length,ne=$(B);return E(B)||R(B)?!1:ne==="array"||Y===0||typeof Y=="number"&&Y>0&&Y-1 in B}var V=function(B){var Y,ne,oe,ye,be,Le,Ee,Be,tt,wt,b,Mt,Vt,We,Bn,fn,Fr,yi,Oa,vn="sizzle"+1*new Date,Gr=B.document,$a=0,Vi=0,ua=Cc(),Jo=Cc(),to=Cc(),wo=Cc(),qo=function(je,ht){return je===ht&&(b=!0),0},ju={}.hasOwnProperty,fa=[],Yn=fa.pop,dt=fa.push,vi=fa.push,Ec=fa.slice,Os=function(je,ht){for(var St=0,ir=je.length;St<ir;St++)if(je[St]===ht)return St;return-1},Zi="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Wi="[\\x20\\t\\r\\n\\f]",Gu="(?:\\\\[\\da-fA-F]{1,6}"+Wi+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",te="\\["+Wi+"*("+Gu+")(?:"+Wi+"*([*^$|!~]?=)"+Wi+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Gu+"))|)"+Wi+"*\\]",Ce=":("+Gu+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+te+")*)|.*)\\)|)",rt=new RegExp(Wi+"+","g"),ut=new RegExp("^"+Wi+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Wi+"+$","g"),Rt=new RegExp("^"+Wi+"*,"+Wi+"*"),Tt=new RegExp("^"+Wi+"*([>+~]|"+Wi+")"+Wi+"*"),sr=new RegExp(Wi+"|>"),Nr=new RegExp(Ce),ti=new RegExp("^"+Gu+"$"),jn={ID:new RegExp("^#("+Gu+")"),CLASS:new RegExp("^\\.("+Gu+")"),TAG:new RegExp("^("+Gu+"|[*])"),ATTR:new RegExp("^"+te),PSEUDO:new RegExp("^"+Ce),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Wi+"*(even|odd|(([+-]|)(\\d*)n|)"+Wi+"*(?:([+-]|)"+Wi+"*(\\d+)|))"+Wi+"*\\)|)","i"),bool:new RegExp("^(?:"+Zi+")$","i"),needsContext:new RegExp("^"+Wi+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Wi+"*((?:-\\d)?\\d*)"+Wi+"*\\)|)(?=[^-]|$)","i")},ha=/HTML$/i,Pi=/^(?:input|select|textarea|button)$/i,Ws=/^h\d$/i,vl=/^[^{]+\{\s*\[native \w/,Fp=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Nf=/[+~]/,vs=new RegExp("\\\\[\\da-fA-F]{1,6}"+Wi+"?|\\\\([^\\r\\n\\f])","g"),nu=function(je,ht){var St="0x"+je.slice(1)-65536;return ht||(St<0?String.fromCharCode(St+65536):String.fromCharCode(St>>10|55296,St&1023|56320))},nf=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ma=function(je,ht){return ht?je==="\0"?"\uFFFD":je.slice(0,-1)+"\\"+je.charCodeAt(je.length-1).toString(16)+" ":"\\"+je},ic=function(){Mt()},Np=tl(function(je){return je.disabled===!0&&je.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{vi.apply(fa=Ec.call(Gr.childNodes),Gr.childNodes),fa[Gr.childNodes.length].nodeType}catch{vi={apply:fa.length?function(ht,St){dt.apply(ht,Ec.call(St))}:function(ht,St){for(var ir=ht.length,kt=0;ht[ir++]=St[kt++];);ht.length=ir-1}}}function pa(je,ht,St,ir){var kt,fr,ur,kr,Zr,hn,nr,Pn=ht&&ht.ownerDocument,Oi=ht?ht.nodeType:9;if(St=St||[],typeof je!="string"||!je||Oi!==1&&Oi!==9&&Oi!==11)return St;if(!ir&&(Mt(ht),ht=ht||Vt,Bn)){if(Oi!==11&&(Zr=Fp.exec(je)))if(kt=Zr[1]){if(Oi===9)if(ur=ht.getElementById(kt)){if(ur.id===kt)return St.push(ur),St}else return St;else if(Pn&&(ur=Pn.getElementById(kt))&&Oa(ht,ur)&&ur.id===kt)return St.push(ur),St}else{if(Zr[2])return vi.apply(St,ht.getElementsByTagName(je)),St;if((kt=Zr[3])&&ne.getElementsByClassName&&ht.getElementsByClassName)return vi.apply(St,ht.getElementsByClassName(kt)),St}if(ne.qsa&&!wo[je+" "]&&(!fn||!fn.test(je))&&(Oi!==1||ht.nodeName.toLowerCase()!=="object")){if(nr=je,Pn=ht,Oi===1&&(sr.test(je)||Tt.test(je))){for(Pn=Nf.test(je)&&Vu(ht.parentNode)||ht,(Pn!==ht||!ne.scope)&&((kr=ht.getAttribute("id"))?kr=kr.replace(nf,Ma):ht.setAttribute("id",kr=vn)),hn=Le(je),fr=hn.length;fr--;)hn[fr]=(kr?"#"+kr:":scope")+" "+oc(hn[fr]);nr=hn.join(",")}try{return vi.apply(St,Pn.querySelectorAll(nr)),St}catch{wo(je,!0)}finally{kr===vn&&ht.removeAttribute("id")}}}return Be(je.replace(ut,"$1"),ht,St,ir)}function Cc(){var je=[];function ht(St,ir){return je.push(St+" ")>oe.cacheLength&&delete ht[je.shift()],ht[St+" "]=ir}return ht}function bu(je){return je[vn]=!0,je}function iu(je){var ht=Vt.createElement("fieldset");try{return!!je(ht)}catch{return!1}finally{ht.parentNode&&ht.parentNode.removeChild(ht),ht=null}}function kl(je,ht){for(var St=je.split("|"),ir=St.length;ir--;)oe.attrHandle[St[ir]]=ht}function Pc(je,ht){var St=ht&&je,ir=St&&je.nodeType===1&&ht.nodeType===1&&je.sourceIndex-ht.sourceIndex;if(ir)return ir;if(St){for(;St=St.nextSibling;)if(St===ht)return-1}return je?1:-1}function Lh(je){return function(ht){var St=ht.nodeName.toLowerCase();return St==="input"&&ht.type===je}}function kh(je){return function(ht){var St=ht.nodeName.toLowerCase();return(St==="input"||St==="button")&&ht.type===je}}function ac(je){return function(ht){return"form"in ht?ht.parentNode&&ht.disabled===!1?"label"in ht?"label"in ht.parentNode?ht.parentNode.disabled===je:ht.disabled===je:ht.isDisabled===je||ht.isDisabled!==!je&&Np(ht)===je:ht.disabled===je:"label"in ht?ht.disabled===je:!1}}function gl(je){return bu(function(ht){return ht=+ht,bu(function(St,ir){for(var kt,fr=je([],St.length,ht),ur=fr.length;ur--;)St[kt=fr[ur]]&&(St[kt]=!(ir[kt]=St[kt]))})})}function Vu(je){return je&&typeof je.getElementsByTagName<"u"&&je}ne=pa.support={},be=pa.isXML=function(je){var ht=je.namespaceURI,St=(je.ownerDocument||je).documentElement;return!ha.test(ht||St&&St.nodeName||"HTML")},Mt=pa.setDocument=function(je){var ht,St,ir=je?je.ownerDocument||je:Gr;return ir==Vt||ir.nodeType!==9||!ir.documentElement||(Vt=ir,We=Vt.documentElement,Bn=!be(Vt),Gr!=Vt&&(St=Vt.defaultView)&&St.top!==St&&(St.addEventListener?St.addEventListener("unload",ic,!1):St.attachEvent&&St.attachEvent("onunload",ic)),ne.scope=iu(function(kt){return We.appendChild(kt).appendChild(Vt.createElement("div")),typeof kt.querySelectorAll<"u"&&!kt.querySelectorAll(":scope fieldset div").length}),ne.attributes=iu(function(kt){return kt.className="i",!kt.getAttribute("className")}),ne.getElementsByTagName=iu(function(kt){return kt.appendChild(Vt.createComment("")),!kt.getElementsByTagName("*").length}),ne.getElementsByClassName=vl.test(Vt.getElementsByClassName),ne.getById=iu(function(kt){return We.appendChild(kt).id=vn,!Vt.getElementsByName||!Vt.getElementsByName(vn).length}),ne.getById?(oe.filter.ID=function(kt){var fr=kt.replace(vs,nu);return function(ur){return ur.getAttribute("id")===fr}},oe.find.ID=function(kt,fr){if(typeof fr.getElementById<"u"&&Bn){var ur=fr.getElementById(kt);return ur?[ur]:[]}}):(oe.filter.ID=function(kt){var fr=kt.replace(vs,nu);return function(ur){var kr=typeof ur.getAttributeNode<"u"&&ur.getAttributeNode("id");return kr&&kr.value===fr}},oe.find.ID=function(kt,fr){if(typeof fr.getElementById<"u"&&Bn){var ur,kr,Zr,hn=fr.getElementById(kt);if(hn){if(ur=hn.getAttributeNode("id"),ur&&ur.value===kt)return[hn];for(Zr=fr.getElementsByName(kt),kr=0;hn=Zr[kr++];)if(ur=hn.getAttributeNode("id"),ur&&ur.value===kt)return[hn]}return[]}}),oe.find.TAG=ne.getElementsByTagName?function(kt,fr){if(typeof fr.getElementsByTagName<"u")return fr.getElementsByTagName(kt);if(ne.qsa)return fr.querySelectorAll(kt)}:function(kt,fr){var ur,kr=[],Zr=0,hn=fr.getElementsByTagName(kt);if(kt==="*"){for(;ur=hn[Zr++];)ur.nodeType===1&&kr.push(ur);return kr}return hn},oe.find.CLASS=ne.getElementsByClassName&&function(kt,fr){if(typeof fr.getElementsByClassName<"u"&&Bn)return fr.getElementsByClassName(kt)},Fr=[],fn=[],(ne.qsa=vl.test(Vt.querySelectorAll))&&(iu(function(kt){var fr;We.appendChild(kt).innerHTML="<a id='"+vn+"'></a><select id='"+vn+"-\r\\' msallowcapture=''><option selected=''></option></select>",kt.querySelectorAll("[msallowcapture^='']").length&&fn.push("[*^$]="+Wi+`*(?:''|"")`),kt.querySelectorAll("[selected]").length||fn.push("\\["+Wi+"*(?:value|"+Zi+")"),kt.querySelectorAll("[id~="+vn+"-]").length||fn.push("~="),fr=Vt.createElement("input"),fr.setAttribute("name",""),kt.appendChild(fr),kt.querySelectorAll("[name='']").length||fn.push("\\["+Wi+"*name"+Wi+"*="+Wi+`*(?:''|"")`),kt.querySelectorAll(":checked").length||fn.push(":checked"),kt.querySelectorAll("a#"+vn+"+*").length||fn.push(".#.+[+~]"),kt.querySelectorAll("\\\f"),fn.push("[\\r\\n\\f]")}),iu(function(kt){kt.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var fr=Vt.createElement("input");fr.setAttribute("type","hidden"),kt.appendChild(fr).setAttribute("name","D"),kt.querySelectorAll("[name=d]").length&&fn.push("name"+Wi+"*[*^$|!~]?="),kt.querySelectorAll(":enabled").length!==2&&fn.push(":enabled",":disabled"),We.appendChild(kt).disabled=!0,kt.querySelectorAll(":disabled").length!==2&&fn.push(":enabled",":disabled"),kt.querySelectorAll("*,:x"),fn.push(",.*:")})),(ne.matchesSelector=vl.test(yi=We.matches||We.webkitMatchesSelector||We.mozMatchesSelector||We.oMatchesSelector||We.msMatchesSelector))&&iu(function(kt){ne.disconnectedMatch=yi.call(kt,"*"),yi.call(kt,"[s!='']:x"),Fr.push("!=",Ce)}),fn=fn.length&&new RegExp(fn.join("|")),Fr=Fr.length&&new RegExp(Fr.join("|")),ht=vl.test(We.compareDocumentPosition),Oa=ht||vl.test(We.contains)?function(kt,fr){var ur=kt.nodeType===9?kt.documentElement:kt,kr=fr&&fr.parentNode;return kt===kr||!!(kr&&kr.nodeType===1&&(ur.contains?ur.contains(kr):kt.compareDocumentPosition&&kt.compareDocumentPosition(kr)&16))}:function(kt,fr){if(fr){for(;fr=fr.parentNode;)if(fr===kt)return!0}return!1},qo=ht?function(kt,fr){if(kt===fr)return b=!0,0;var ur=!kt.compareDocumentPosition-!fr.compareDocumentPosition;return ur||(ur=(kt.ownerDocument||kt)==(fr.ownerDocument||fr)?kt.compareDocumentPosition(fr):1,ur&1||!ne.sortDetached&&fr.compareDocumentPosition(kt)===ur?kt==Vt||kt.ownerDocument==Gr&&Oa(Gr,kt)?-1:fr==Vt||fr.ownerDocument==Gr&&Oa(Gr,fr)?1:wt?Os(wt,kt)-Os(wt,fr):0:ur&4?-1:1)}:function(kt,fr){if(kt===fr)return b=!0,0;var ur,kr=0,Zr=kt.parentNode,hn=fr.parentNode,nr=[kt],Pn=[fr];if(!Zr||!hn)return kt==Vt?-1:fr==Vt?1:Zr?-1:hn?1:wt?Os(wt,kt)-Os(wt,fr):0;if(Zr===hn)return Pc(kt,fr);for(ur=kt;ur=ur.parentNode;)nr.unshift(ur);for(ur=fr;ur=ur.parentNode;)Pn.unshift(ur);for(;nr[kr]===Pn[kr];)kr++;return kr?Pc(nr[kr],Pn[kr]):nr[kr]==Gr?-1:Pn[kr]==Gr?1:0}),Vt},pa.matches=function(je,ht){return pa(je,null,null,ht)},pa.matchesSelector=function(je,ht){if(Mt(je),ne.matchesSelector&&Bn&&!wo[ht+" "]&&(!Fr||!Fr.test(ht))&&(!fn||!fn.test(ht)))try{var St=yi.call(je,ht);if(St||ne.disconnectedMatch||je.document&&je.document.nodeType!==11)return St}catch{wo(ht,!0)}return pa(ht,Vt,null,[je]).length>0},pa.contains=function(je,ht){return(je.ownerDocument||je)!=Vt&&Mt(je),Oa(je,ht)},pa.attr=function(je,ht){(je.ownerDocument||je)!=Vt&&Mt(je);var St=oe.attrHandle[ht.toLowerCase()],ir=St&&ju.call(oe.attrHandle,ht.toLowerCase())?St(je,ht,!Bn):void 0;return ir!==void 0?ir:ne.attributes||!Bn?je.getAttribute(ht):(ir=je.getAttributeNode(ht))&&ir.specified?ir.value:null},pa.escape=function(je){return(je+"").replace(nf,Ma)},pa.error=function(je){throw new Error("Syntax error, unrecognized expression: "+je)},pa.uniqueSort=function(je){var ht,St=[],ir=0,kt=0;if(b=!ne.detectDuplicates,wt=!ne.sortStable&&je.slice(0),je.sort(qo),b){for(;ht=je[kt++];)ht===je[kt]&&(ir=St.push(kt));for(;ir--;)je.splice(St[ir],1)}return wt=null,je},ye=pa.getText=function(je){var ht,St="",ir=0,kt=je.nodeType;if(kt){if(kt===1||kt===9||kt===11){if(typeof je.textContent=="string")return je.textContent;for(je=je.firstChild;je;je=je.nextSibling)St+=ye(je)}else if(kt===3||kt===4)return je.nodeValue}else for(;ht=je[ir++];)St+=ye(ht);return St},oe=pa.selectors={cacheLength:50,createPseudo:bu,match:jn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(je){return je[1]=je[1].replace(vs,nu),je[3]=(je[3]||je[4]||je[5]||"").replace(vs,nu),je[2]==="~="&&(je[3]=" "+je[3]+" "),je.slice(0,4)},CHILD:function(je){return je[1]=je[1].toLowerCase(),je[1].slice(0,3)==="nth"?(je[3]||pa.error(je[0]),je[4]=+(je[4]?je[5]+(je[6]||1):2*(je[3]==="even"||je[3]==="odd")),je[5]=+(je[7]+je[8]||je[3]==="odd")):je[3]&&pa.error(je[0]),je},PSEUDO:function(je){var ht,St=!je[6]&&je[2];return jn.CHILD.test(je[0])?null:(je[3]?je[2]=je[4]||je[5]||"":St&&Nr.test(St)&&(ht=Le(St,!0))&&(ht=St.indexOf(")",St.length-ht)-St.length)&&(je[0]=je[0].slice(0,ht),je[2]=St.slice(0,ht)),je.slice(0,3))}},filter:{TAG:function(je){var ht=je.replace(vs,nu).toLowerCase();return je==="*"?function(){return!0}:function(St){return St.nodeName&&St.nodeName.toLowerCase()===ht}},CLASS:function(je){var ht=ua[je+" "];return ht||(ht=new RegExp("(^|"+Wi+")"+je+"("+Wi+"|$)"))&&ua(je,function(St){return ht.test(typeof St.className=="string"&&St.className||typeof St.getAttribute<"u"&&St.getAttribute("class")||"")})},ATTR:function(je,ht,St){return function(ir){var kt=pa.attr(ir,je);return kt==null?ht==="!=":ht?(kt+="",ht==="="?kt===St:ht==="!="?kt!==St:ht==="^="?St&&kt.indexOf(St)===0:ht==="*="?St&&kt.indexOf(St)>-1:ht==="$="?St&&kt.slice(-St.length)===St:ht==="~="?(" "+kt.replace(rt," ")+" ").indexOf(St)>-1:ht==="|="?kt===St||kt.slice(0,St.length+1)===St+"-":!1):!0}},CHILD:function(je,ht,St,ir,kt){var fr=je.slice(0,3)!=="nth",ur=je.slice(-4)!=="last",kr=ht==="of-type";return ir===1&&kt===0?function(Zr){return!!Zr.parentNode}:function(Zr,hn,nr){var Pn,Oi,na,Dn,ia,Xo,gr=fr!==ur?"nextSibling":"previousSibling",da=Zr.parentNode,Dl=kr&&Zr.nodeName.toLowerCase(),Fl=!nr&&!kr,Ga=!1;if(da){if(fr){for(;gr;){for(Dn=Zr;Dn=Dn[gr];)if(kr?Dn.nodeName.toLowerCase()===Dl:Dn.nodeType===1)return!1;Xo=gr=je==="only"&&!Xo&&"nextSibling"}return!0}if(Xo=[ur?da.firstChild:da.lastChild],ur&&Fl){for(Dn=da,na=Dn[vn]||(Dn[vn]={}),Oi=na[Dn.uniqueID]||(na[Dn.uniqueID]={}),Pn=Oi[je]||[],ia=Pn[0]===$a&&Pn[1],Ga=ia&&Pn[2],Dn=ia&&da.childNodes[ia];Dn=++ia&&Dn&&Dn[gr]||(Ga=ia=0)||Xo.pop();)if(Dn.nodeType===1&&++Ga&&Dn===Zr){Oi[je]=[$a,ia,Ga];break}}else if(Fl&&(Dn=Zr,na=Dn[vn]||(Dn[vn]={}),Oi=na[Dn.uniqueID]||(na[Dn.uniqueID]={}),Pn=Oi[je]||[],ia=Pn[0]===$a&&Pn[1],Ga=ia),Ga===!1)for(;(Dn=++ia&&Dn&&Dn[gr]||(Ga=ia=0)||Xo.pop())&&!((kr?Dn.nodeName.toLowerCase()===Dl:Dn.nodeType===1)&&++Ga&&(Fl&&(na=Dn[vn]||(Dn[vn]={}),Oi=na[Dn.uniqueID]||(na[Dn.uniqueID]={}),Oi[je]=[$a,Ga]),Dn===Zr)););return Ga-=kt,Ga===ir||Ga%ir===0&&Ga/ir>=0}}},PSEUDO:function(je,ht){var St,ir=oe.pseudos[je]||oe.setFilters[je.toLowerCase()]||pa.error("unsupported pseudo: "+je);return ir[vn]?ir(ht):ir.length>1?(St=[je,je,"",ht],oe.setFilters.hasOwnProperty(je.toLowerCase())?bu(function(kt,fr){for(var ur,kr=ir(kt,ht),Zr=kr.length;Zr--;)ur=Os(kt,kr[Zr]),kt[ur]=!(fr[ur]=kr[Zr])}):function(kt){return ir(kt,0,St)}):ir}},pseudos:{not:bu(function(je){var ht=[],St=[],ir=Ee(je.replace(ut,"$1"));return ir[vn]?bu(function(kt,fr,ur,kr){for(var Zr,hn=ir(kt,null,kr,[]),nr=kt.length;nr--;)(Zr=hn[nr])&&(kt[nr]=!(fr[nr]=Zr))}):function(kt,fr,ur){return ht[0]=kt,ir(ht,null,ur,St),ht[0]=null,!St.pop()}}),has:bu(function(je){return function(ht){return pa(je,ht).length>0}}),contains:bu(function(je){return je=je.replace(vs,nu),function(ht){return(ht.textContent||ye(ht)).indexOf(je)>-1}}),lang:bu(function(je){return ti.test(je||"")||pa.error("unsupported lang: "+je),je=je.replace(vs,nu).toLowerCase(),function(ht){var St;do if(St=Bn?ht.lang:ht.getAttribute("xml:lang")||ht.getAttribute("lang"))return St=St.toLowerCase(),St===je||St.indexOf(je+"-")===0;while((ht=ht.parentNode)&&ht.nodeType===1);return!1}}),target:function(je){var ht=B.location&&B.location.hash;return ht&&ht.slice(1)===je.id},root:function(je){return je===We},focus:function(je){return je===Vt.activeElement&&(!Vt.hasFocus||Vt.hasFocus())&&!!(je.type||je.href||~je.tabIndex)},enabled:ac(!1),disabled:ac(!0),checked:function(je){var ht=je.nodeName.toLowerCase();return ht==="input"&&!!je.checked||ht==="option"&&!!je.selected},selected:function(je){return je.parentNode&&je.parentNode.selectedIndex,je.selected===!0},empty:function(je){for(je=je.firstChild;je;je=je.nextSibling)if(je.nodeType<6)return!1;return!0},parent:function(je){return!oe.pseudos.empty(je)},header:function(je){return Ws.test(je.nodeName)},input:function(je){return Pi.test(je.nodeName)},button:function(je){var ht=je.nodeName.toLowerCase();return ht==="input"&&je.type==="button"||ht==="button"},text:function(je){var ht;return je.nodeName.toLowerCase()==="input"&&je.type==="text"&&((ht=je.getAttribute("type"))==null||ht.toLowerCase()==="text")},first:gl(function(){return[0]}),last:gl(function(je,ht){return[ht-1]}),eq:gl(function(je,ht,St){return[St<0?St+ht:St]}),even:gl(function(je,ht){for(var St=0;St<ht;St+=2)je.push(St);return je}),odd:gl(function(je,ht){for(var St=1;St<ht;St+=2)je.push(St);return je}),lt:gl(function(je,ht,St){for(var ir=St<0?St+ht:St>ht?ht:St;--ir>=0;)je.push(ir);return je}),gt:gl(function(je,ht,St){for(var ir=St<0?St+ht:St;++ir<ht;)je.push(ir);return je})}},oe.pseudos.nth=oe.pseudos.eq;for(Y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})oe.pseudos[Y]=Lh(Y);for(Y in{submit:!0,reset:!0})oe.pseudos[Y]=kh(Y);function ba(){}ba.prototype=oe.filters=oe.pseudos,oe.setFilters=new ba,Le=pa.tokenize=function(je,ht){var St,ir,kt,fr,ur,kr,Zr,hn=Jo[je+" "];if(hn)return ht?0:hn.slice(0);for(ur=je,kr=[],Zr=oe.preFilter;ur;){(!St||(ir=Rt.exec(ur)))&&(ir&&(ur=ur.slice(ir[0].length)||ur),kr.push(kt=[])),St=!1,(ir=Tt.exec(ur))&&(St=ir.shift(),kt.push({value:St,type:ir[0].replace(ut," ")}),ur=ur.slice(St.length));for(fr in oe.filter)(ir=jn[fr].exec(ur))&&(!Zr[fr]||(ir=Zr[fr](ir)))&&(St=ir.shift(),kt.push({value:St,type:fr,matches:ir}),ur=ur.slice(St.length));if(!St)break}return ht?ur.length:ur?pa.error(je):Jo(je,kr).slice(0)};function oc(je){for(var ht=0,St=je.length,ir="";ht<St;ht++)ir+=je[ht].value;return ir}function tl(je,ht,St){var ir=ht.dir,kt=ht.next,fr=kt||ir,ur=St&&fr==="parentNode",kr=Vi++;return ht.first?function(Zr,hn,nr){for(;Zr=Zr[ir];)if(Zr.nodeType===1||ur)return je(Zr,hn,nr);return!1}:function(Zr,hn,nr){var Pn,Oi,na,Dn=[$a,kr];if(nr){for(;Zr=Zr[ir];)if((Zr.nodeType===1||ur)&&je(Zr,hn,nr))return!0}else for(;Zr=Zr[ir];)if(Zr.nodeType===1||ur)if(na=Zr[vn]||(Zr[vn]={}),Oi=na[Zr.uniqueID]||(na[Zr.uniqueID]={}),kt&&kt===Zr.nodeName.toLowerCase())Zr=Zr[ir]||Zr;else{if((Pn=Oi[fr])&&Pn[0]===$a&&Pn[1]===kr)return Dn[2]=Pn[2];if(Oi[fr]=Dn,Dn[2]=je(Zr,hn,nr))return!0}return!1}}function ja(je){return je.length>1?function(ht,St,ir){for(var kt=je.length;kt--;)if(!je[kt](ht,St,ir))return!1;return!0}:je[0]}function ui(je,ht,St){for(var ir=0,kt=ht.length;ir<kt;ir++)pa(je,ht[ir],St);return St}function mi(je,ht,St,ir,kt){for(var fr,ur=[],kr=0,Zr=je.length,hn=ht!=null;kr<Zr;kr++)(fr=je[kr])&&(!St||St(fr,ir,kt))&&(ur.push(fr),hn&&ht.push(kr));return ur}function Qo(je,ht,St,ir,kt,fr){return ir&&!ir[vn]&&(ir=Qo(ir)),kt&&!kt[vn]&&(kt=Qo(kt,fr)),bu(function(ur,kr,Zr,hn){var nr,Pn,Oi,na=[],Dn=[],ia=kr.length,Xo=ur||ui(ht||"*",Zr.nodeType?[Zr]:Zr,[]),gr=je&&(ur||!ht)?mi(Xo,na,je,Zr,hn):Xo,da=St?kt||(ur?je:ia||ir)?[]:kr:gr;if(St&&St(gr,da,Zr,hn),ir)for(nr=mi(da,Dn),ir(nr,[],Zr,hn),Pn=nr.length;Pn--;)(Oi=nr[Pn])&&(da[Dn[Pn]]=!(gr[Dn[Pn]]=Oi));if(ur){if(kt||je){if(kt){for(nr=[],Pn=da.length;Pn--;)(Oi=da[Pn])&&nr.push(gr[Pn]=Oi);kt(null,da=[],nr,hn)}for(Pn=da.length;Pn--;)(Oi=da[Pn])&&(nr=kt?Os(ur,Oi):na[Pn])>-1&&(ur[nr]=!(kr[nr]=Oi))}}else da=mi(da===kr?da.splice(ia,da.length):da),kt?kt(null,kr,da,hn):vi.apply(kr,da)})}function Bl(je){for(var ht,St,ir,kt=je.length,fr=oe.relative[je[0].type],ur=fr||oe.relative[" "],kr=fr?1:0,Zr=tl(function(Pn){return Pn===ht},ur,!0),hn=tl(function(Pn){return Os(ht,Pn)>-1},ur,!0),nr=[function(Pn,Oi,na){var Dn=!fr&&(na||Oi!==tt)||((ht=Oi).nodeType?Zr(Pn,Oi,na):hn(Pn,Oi,na));return ht=null,Dn}];kr<kt;kr++)if(St=oe.relative[je[kr].type])nr=[tl(ja(nr),St)];else{if(St=oe.filter[je[kr].type].apply(null,je[kr].matches),St[vn]){for(ir=++kr;ir<kt&&!oe.relative[je[ir].type];ir++);return Qo(kr>1&&ja(nr),kr>1&&oc(je.slice(0,kr-1).concat({value:je[kr-2].type===" "?"*":""})).replace(ut,"$1"),St,kr<ir&&Bl(je.slice(kr,ir)),ir<kt&&Bl(je=je.slice(ir)),ir<kt&&oc(je))}nr.push(St)}return ja(nr)}function Al(je,ht){var St=ht.length>0,ir=je.length>0,kt=function(fr,ur,kr,Zr,hn){var nr,Pn,Oi,na=0,Dn="0",ia=fr&&[],Xo=[],gr=tt,da=fr||ir&&oe.find.TAG("*",hn),Dl=$a+=gr==null?1:Math.random()||.1,Fl=da.length;for(hn&&(tt=ur==Vt||ur||hn);Dn!==Fl&&(nr=da[Dn])!=null;Dn++){if(ir&&nr){for(Pn=0,!ur&&nr.ownerDocument!=Vt&&(Mt(nr),kr=!Bn);Oi=je[Pn++];)if(Oi(nr,ur||Vt,kr)){Zr.push(nr);break}hn&&($a=Dl)}St&&((nr=!Oi&&nr)&&na--,fr&&ia.push(nr))}if(na+=Dn,St&&Dn!==na){for(Pn=0;Oi=ht[Pn++];)Oi(ia,Xo,ur,kr);if(fr){if(na>0)for(;Dn--;)ia[Dn]||Xo[Dn]||(Xo[Dn]=Yn.call(Zr));Xo=mi(Xo)}vi.apply(Zr,Xo),hn&&!fr&&Xo.length>0&&na+ht.length>1&&pa.uniqueSort(Zr)}return hn&&($a=Dl,tt=gr),ia};return St?bu(kt):kt}return Ee=pa.compile=function(je,ht){var St,ir=[],kt=[],fr=to[je+" "];if(!fr){for(ht||(ht=Le(je)),St=ht.length;St--;)fr=Bl(ht[St]),fr[vn]?ir.push(fr):kt.push(fr);fr=to(je,Al(kt,ir)),fr.selector=je}return fr},Be=pa.select=function(je,ht,St,ir){var kt,fr,ur,kr,Zr,hn=typeof je=="function"&&je,nr=!ir&&Le(je=hn.selector||je);if(St=St||[],nr.length===1){if(fr=nr[0]=nr[0].slice(0),fr.length>2&&(ur=fr[0]).type==="ID"&&ht.nodeType===9&&Bn&&oe.relative[fr[1].type]){if(ht=(oe.find.ID(ur.matches[0].replace(vs,nu),ht)||[])[0],ht)hn&&(ht=ht.parentNode);else return St;je=je.slice(fr.shift().value.length)}for(kt=jn.needsContext.test(je)?0:fr.length;kt--&&(ur=fr[kt],!oe.relative[kr=ur.type]);)if((Zr=oe.find[kr])&&(ir=Zr(ur.matches[0].replace(vs,nu),Nf.test(fr[0].type)&&Vu(ht.parentNode)||ht))){if(fr.splice(kt,1),je=ir.length&&oc(fr),!je)return vi.apply(St,ir),St;break}}return(hn||Ee(je,nr))(ir,ht,!Bn,St,!ht||Nf.test(je)&&Vu(ht.parentNode)||ht),St},ne.sortStable=vn.split("").sort(qo).join("")===vn,ne.detectDuplicates=!!b,Mt(),ne.sortDetached=iu(function(je){return je.compareDocumentPosition(Vt.createElement("fieldset"))&1}),iu(function(je){return je.innerHTML="<a href='#'></a>",je.firstChild.getAttribute("href")==="#"})||kl("type|href|height|width",function(je,ht,St){if(!St)return je.getAttribute(ht,ht.toLowerCase()==="type"?1:2)}),(!ne.attributes||!iu(function(je){return je.innerHTML="<input/>",je.firstChild.setAttribute("value",""),je.firstChild.getAttribute("value")===""}))&&kl("value",function(je,ht,St){if(!St&&je.nodeName.toLowerCase()==="input")return je.defaultValue}),iu(function(je){return je.getAttribute("disabled")==null})||kl(Zi,function(je,ht,St){var ir;if(!St)return je[ht]===!0?ht.toLowerCase():(ir=je.getAttributeNode(ht))&&ir.specified?ir.value:null}),pa}(t);k.find=V,k.expr=V.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=V.uniqueSort,k.text=V.getText,k.isXMLDoc=V.isXML,k.contains=V.contains,k.escapeSelector=V.escape;var X=function(B,Y,ne){for(var oe=[],ye=ne!==void 0;(B=B[Y])&&B.nodeType!==9;)if(B.nodeType===1){if(ye&&k(B).is(ne))break;oe.push(B)}return oe},I=function(B,Y){for(var ne=[];B;B=B.nextSibling)B.nodeType===1&&B!==Y&&ne.push(B);return ne},O=k.expr.match.needsContext;function U(B,Y){return B.nodeName&&B.nodeName.toLowerCase()===Y.toLowerCase()}var re=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ee(B,Y,ne){return E(Y)?k.grep(B,function(oe,ye){return!!Y.call(oe,ye,oe)!==ne}):Y.nodeType?k.grep(B,function(oe){return oe===Y!==ne}):typeof Y!="string"?k.grep(B,function(oe){return s.call(Y,oe)>-1!==ne}):k.filter(Y,B,ne)}k.filter=function(B,Y,ne){var oe=Y[0];return ne&&(B=":not("+B+")"),Y.length===1&&oe.nodeType===1?k.find.matchesSelector(oe,B)?[oe]:[]:k.find.matches(B,k.grep(Y,function(ye){return ye.nodeType===1}))},k.fn.extend({find:function(B){var Y,ne,oe=this.length,ye=this;if(typeof B!="string")return this.pushStack(k(B).filter(function(){for(Y=0;Y<oe;Y++)if(k.contains(ye[Y],this))return!0}));for(ne=this.pushStack([]),Y=0;Y<oe;Y++)k.find(B,ye[Y],ne);return oe>1?k.uniqueSort(ne):ne},filter:function(B){return this.pushStack(ee(this,B||[],!1))},not:function(B){return this.pushStack(ee(this,B||[],!0))},is:function(B){return!!ee(this,typeof B=="string"&&O.test(B)?k(B):B||[],!1).length}});var he,Ne=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,qe=k.fn.init=function(B,Y,ne){var oe,ye;if(!B)return this;if(ne=ne||he,typeof B=="string")if(B[0]==="<"&&B[B.length-1]===">"&&B.length>=3?oe=[null,B,null]:oe=Ne.exec(B),oe&&(oe[1]||!Y))if(oe[1]){if(Y=Y instanceof k?Y[0]:Y,k.merge(this,k.parseHTML(oe[1],Y&&Y.nodeType?Y.ownerDocument||Y:D,!0)),re.test(oe[1])&&k.isPlainObject(Y))for(oe in Y)E(this[oe])?this[oe](Y[oe]):this.attr(oe,Y[oe]);return this}else return ye=D.getElementById(oe[2]),ye&&(this[0]=ye,this.length=1),this;else return!Y||Y.jquery?(Y||ne).find(B):this.constructor(Y).find(B);else{if(B.nodeType)return this[0]=B,this.length=1,this;if(E(B))return ne.ready!==void 0?ne.ready(B):B(k)}return k.makeArray(B,this)};qe.prototype=k.fn,he=k(D);var He=/^(?:parents|prev(?:Until|All))/,ct={children:!0,contents:!0,next:!0,prev:!0};k.fn.extend({has:function(B){var Y=k(B,this),ne=Y.length;return this.filter(function(){for(var oe=0;oe<ne;oe++)if(k.contains(this,Y[oe]))return!0})},closest:function(B,Y){var ne,oe=0,ye=this.length,be=[],Le=typeof B!="string"&&k(B);if(!O.test(B)){for(;oe<ye;oe++)for(ne=this[oe];ne&&ne!==Y;ne=ne.parentNode)if(ne.nodeType<11&&(Le?Le.index(ne)>-1:ne.nodeType===1&&k.find.matchesSelector(ne,B))){be.push(ne);break}}return this.pushStack(be.length>1?k.uniqueSort(be):be)},index:function(B){return B?typeof B=="string"?s.call(k(B),this[0]):s.call(this,B.jquery?B[0]:B):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(B,Y){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(B,Y))))},addBack:function(B){return this.add(B==null?this.prevObject:this.prevObject.filter(B))}});function gt(B,Y){for(;(B=B[Y])&&B.nodeType!==1;);return B}k.each({parent:function(B){var Y=B.parentNode;return Y&&Y.nodeType!==11?Y:null},parents:function(B){return X(B,"parentNode")},parentsUntil:function(B,Y,ne){return X(B,"parentNode",ne)},next:function(B){return gt(B,"nextSibling")},prev:function(B){return gt(B,"previousSibling")},nextAll:function(B){return X(B,"nextSibling")},prevAll:function(B){return X(B,"previousSibling")},nextUntil:function(B,Y,ne){return X(B,"nextSibling",ne)},prevUntil:function(B,Y,ne){return X(B,"previousSibling",ne)},siblings:function(B){return I((B.parentNode||{}).firstChild,B)},children:function(B){return I(B.firstChild)},contents:function(B){return B.contentDocument!=null&&n(B.contentDocument)?B.contentDocument:(U(B,"template")&&(B=B.content||B),k.merge([],B.childNodes))}},function(B,Y){k.fn[B]=function(ne,oe){var ye=k.map(this,Y,ne);return B.slice(-5)!=="Until"&&(oe=ne),oe&&typeof oe=="string"&&(ye=k.filter(oe,ye)),this.length>1&&(ct[B]||k.uniqueSort(ye),He.test(B)&&ye.reverse()),this.pushStack(ye)}});var Pt=/[^\x20\t\r\n\f]+/g;function Ut(B){var Y={};return k.each(B.match(Pt)||[],function(ne,oe){Y[oe]=!0}),Y}k.Callbacks=function(B){B=typeof B=="string"?Ut(B):k.extend({},B);var Y,ne,oe,ye,be=[],Le=[],Ee=-1,Be=function(){for(ye=ye||B.once,oe=Y=!0;Le.length;Ee=-1)for(ne=Le.shift();++Ee<be.length;)be[Ee].apply(ne[0],ne[1])===!1&&B.stopOnFalse&&(Ee=be.length,ne=!1);B.memory||(ne=!1),Y=!1,ye&&(ne?be=[]:be="")},tt={add:function(){return be&&(ne&&!Y&&(Ee=be.length-1,Le.push(ne)),function wt(b){k.each(b,function(Mt,Vt){E(Vt)?(!B.unique||!tt.has(Vt))&&be.push(Vt):Vt&&Vt.length&&$(Vt)!=="string"&&wt(Vt)})}(arguments),ne&&!Y&&Be()),this},remove:function(){return k.each(arguments,function(wt,b){for(var Mt;(Mt=k.inArray(b,be,Mt))>-1;)be.splice(Mt,1),Mt<=Ee&&Ee--}),this},has:function(wt){return wt?k.inArray(wt,be)>-1:be.length>0},empty:function(){return be&&(be=[]),this},disable:function(){return ye=Le=[],be=ne="",this},disabled:function(){return!be},lock:function(){return ye=Le=[],!ne&&!Y&&(be=ne=""),this},locked:function(){return!!ye},fireWith:function(wt,b){return ye||(b=b||[],b=[wt,b.slice?b.slice():b],Le.push(b),Y||Be()),this},fire:function(){return tt.fireWith(this,arguments),this},fired:function(){return!!oe}};return tt};function or(B){return B}function Ft(B){throw B}function zt(B,Y,ne,oe){var ye;try{B&&E(ye=B.promise)?ye.call(B).done(Y).fail(ne):B&&E(ye=B.then)?ye.call(B,Y,ne):Y.apply(void 0,[B].slice(oe))}catch(be){ne.apply(void 0,[be])}}k.extend({Deferred:function(B){var Y=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],ne="pending",oe={state:function(){return ne},always:function(){return ye.done(arguments).fail(arguments),this},catch:function(be){return oe.then(null,be)},pipe:function(){var be=arguments;return k.Deferred(function(Le){k.each(Y,function(Ee,Be){var tt=E(be[Be[4]])&&be[Be[4]];ye[Be[1]](function(){var wt=tt&&tt.apply(this,arguments);wt&&E(wt.promise)?wt.promise().progress(Le.notify).done(Le.resolve).fail(Le.reject):Le[Be[0]+"With"](this,tt?[wt]:arguments)})}),be=null}).promise()},then:function(be,Le,Ee){var Be=0;function tt(wt,b,Mt,Vt){return function(){var We=this,Bn=arguments,fn=function(){var yi,Oa;if(!(wt<Be)){if(yi=Mt.apply(We,Bn),yi===b.promise())throw new TypeError("Thenable self-resolution");Oa=yi&&(typeof yi=="object"||typeof yi=="function")&&yi.then,E(Oa)?Vt?Oa.call(yi,tt(Be,b,or,Vt),tt(Be,b,Ft,Vt)):(Be++,Oa.call(yi,tt(Be,b,or,Vt),tt(Be,b,Ft,Vt),tt(Be,b,or,b.notifyWith))):(Mt!==or&&(We=void 0,Bn=[yi]),(Vt||b.resolveWith)(We,Bn))}},Fr=Vt?fn:function(){try{fn()}catch(yi){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(yi,Fr.stackTrace),wt+1>=Be&&(Mt!==Ft&&(We=void 0,Bn=[yi]),b.rejectWith(We,Bn))}};wt?Fr():(k.Deferred.getStackHook&&(Fr.stackTrace=k.Deferred.getStackHook()),t.setTimeout(Fr))}}return k.Deferred(function(wt){Y[0][3].add(tt(0,wt,E(Ee)?Ee:or,wt.notifyWith)),Y[1][3].add(tt(0,wt,E(be)?be:or)),Y[2][3].add(tt(0,wt,E(Le)?Le:Ft))}).promise()},promise:function(be){return be!=null?k.extend(be,oe):oe}},ye={};return k.each(Y,function(be,Le){var Ee=Le[2],Be=Le[5];oe[Le[1]]=Ee.add,Be&&Ee.add(function(){ne=Be},Y[3-be][2].disable,Y[3-be][3].disable,Y[0][2].lock,Y[0][3].lock),Ee.add(Le[3].fire),ye[Le[0]]=function(){return ye[Le[0]+"With"](this===ye?void 0:this,arguments),this},ye[Le[0]+"With"]=Ee.fireWith}),oe.promise(ye),B&&B.call(ye,ye),ye},when:function(B){var Y=arguments.length,ne=Y,oe=Array(ne),ye=i.call(arguments),be=k.Deferred(),Le=function(Ee){return function(Be){oe[Ee]=this,ye[Ee]=arguments.length>1?i.call(arguments):Be,--Y||be.resolveWith(oe,ye)}};if(Y<=1&&(zt(B,be.done(Le(ne)).resolve,be.reject,!Y),be.state()==="pending"||E(ye[ne]&&ye[ne].then)))return be.then();for(;ne--;)zt(ye[ne],Le(ne),be.reject);return be.promise()}});var Or=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(B,Y){t.console&&t.console.warn&&B&&Or.test(B.name)&&t.console.warn("jQuery.Deferred exception: "+B.message,B.stack,Y)},k.readyException=function(B){t.setTimeout(function(){throw B})};var pe=k.Deferred();k.fn.ready=function(B){return pe.then(B).catch(function(Y){k.readyException(Y)}),this},k.extend({isReady:!1,readyWait:1,ready:function(B){(B===!0?--k.readyWait:k.isReady)||(k.isReady=!0,!(B!==!0&&--k.readyWait>0)&&pe.resolveWith(D,[k]))}}),k.ready.then=pe.then;function xe(){D.removeEventListener("DOMContentLoaded",xe),t.removeEventListener("load",xe),k.ready()}D.readyState==="complete"||D.readyState!=="loading"&&!D.documentElement.doScroll?t.setTimeout(k.ready):(D.addEventListener("DOMContentLoaded",xe),t.addEventListener("load",xe));var Ve=function(B,Y,ne,oe,ye,be,Le){var Ee=0,Be=B.length,tt=ne==null;if($(ne)==="object"){ye=!0;for(Ee in ne)Ve(B,Y,Ee,ne[Ee],!0,be,Le)}else if(oe!==void 0&&(ye=!0,E(oe)||(Le=!0),tt&&(Le?(Y.call(B,oe),Y=null):(tt=Y,Y=function(wt,b,Mt){return tt.call(k(wt),Mt)})),Y))for(;Ee<Be;Ee++)Y(B[Ee],ne,Le?oe:oe.call(B[Ee],Ee,Y(B[Ee],ne)));return ye?B:tt?Y.call(B):Be?Y(B[0],ne):be},bt=/^-ms-/,Yt=/-([a-z])/g;function jt(B,Y){return Y.toUpperCase()}function tn(B){return B.replace(bt,"ms-").replace(Yt,jt)}var an=function(B){return B.nodeType===1||B.nodeType===9||!+B.nodeType};function Fn(){this.expando=k.expando+Fn.uid++}Fn.uid=1,Fn.prototype={cache:function(B){var Y=B[this.expando];return Y||(Y={},an(B)&&(B.nodeType?B[this.expando]=Y:Object.defineProperty(B,this.expando,{value:Y,configurable:!0}))),Y},set:function(B,Y,ne){var oe,ye=this.cache(B);if(typeof Y=="string")ye[tn(Y)]=ne;else for(oe in Y)ye[tn(oe)]=Y[oe];return ye},get:function(B,Y){return Y===void 0?this.cache(B):B[this.expando]&&B[this.expando][tn(Y)]},access:function(B,Y,ne){return Y===void 0||Y&&typeof Y=="string"&&ne===void 0?this.get(B,Y):(this.set(B,Y,ne),ne!==void 0?ne:Y)},remove:function(B,Y){var ne,oe=B[this.expando];if(oe!==void 0){if(Y!==void 0)for(Array.isArray(Y)?Y=Y.map(tn):(Y=tn(Y),Y=Y in oe?[Y]:Y.match(Pt)||[]),ne=Y.length;ne--;)delete oe[Y[ne]];(Y===void 0||k.isEmptyObject(oe))&&(B.nodeType?B[this.expando]=void 0:delete B[this.expando])}},hasData:function(B){var Y=B[this.expando];return Y!==void 0&&!k.isEmptyObject(Y)}};var wr=new Fn,Nn=new Fn,pi=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ti=/[A-Z]/g;function ka(B){return B==="true"?!0:B==="false"?!1:B==="null"?null:B===+B+""?+B:pi.test(B)?JSON.parse(B):B}function si(B,Y,ne){var oe;if(ne===void 0&&B.nodeType===1)if(oe="data-"+Y.replace(Ti,"-$&").toLowerCase(),ne=B.getAttribute(oe),typeof ne=="string"){try{ne=ka(ne)}catch{}Nn.set(B,Y,ne)}else ne=void 0;return ne}k.extend({hasData:function(B){return Nn.hasData(B)||wr.hasData(B)},data:function(B,Y,ne){return Nn.access(B,Y,ne)},removeData:function(B,Y){Nn.remove(B,Y)},_data:function(B,Y,ne){return wr.access(B,Y,ne)},_removeData:function(B,Y){wr.remove(B,Y)}}),k.fn.extend({data:function(B,Y){var ne,oe,ye,be=this[0],Le=be&&be.attributes;if(B===void 0){if(this.length&&(ye=Nn.get(be),be.nodeType===1&&!wr.get(be,"hasDataAttrs"))){for(ne=Le.length;ne--;)Le[ne]&&(oe=Le[ne].name,oe.indexOf("data-")===0&&(oe=tn(oe.slice(5)),si(be,oe,ye[oe])));wr.set(be,"hasDataAttrs",!0)}return ye}return typeof B=="object"?this.each(function(){Nn.set(this,B)}):Ve(this,function(Ee){var Be;if(be&&Ee===void 0)return Be=Nn.get(be,B),Be!==void 0||(Be=si(be,B),Be!==void 0)?Be:void 0;this.each(function(){Nn.set(this,B,Ee)})},null,Y,arguments.length>1,null,!0)},removeData:function(B){return this.each(function(){Nn.remove(this,B)})}}),k.extend({queue:function(B,Y,ne){var oe;if(B)return Y=(Y||"fx")+"queue",oe=wr.get(B,Y),ne&&(!oe||Array.isArray(ne)?oe=wr.access(B,Y,k.makeArray(ne)):oe.push(ne)),oe||[]},dequeue:function(B,Y){Y=Y||"fx";var ne=k.queue(B,Y),oe=ne.length,ye=ne.shift(),be=k._queueHooks(B,Y),Le=function(){k.dequeue(B,Y)};ye==="inprogress"&&(ye=ne.shift(),oe--),ye&&(Y==="fx"&&ne.unshift("inprogress"),delete be.stop,ye.call(B,Le,be)),!oe&&be&&be.empty.fire()},_queueHooks:function(B,Y){var ne=Y+"queueHooks";return wr.get(B,ne)||wr.access(B,ne,{empty:k.Callbacks("once memory").add(function(){wr.remove(B,[Y+"queue",ne])})})}}),k.fn.extend({queue:function(B,Y){var ne=2;return typeof B!="string"&&(Y=B,B="fx",ne--),arguments.length<ne?k.queue(this[0],B):Y===void 0?this:this.each(function(){var oe=k.queue(this,B,Y);k._queueHooks(this,B),B==="fx"&&oe[0]!=="inprogress"&&k.dequeue(this,B)})},dequeue:function(B){return this.each(function(){k.dequeue(this,B)})},clearQueue:function(B){return this.queue(B||"fx",[])},promise:function(B,Y){var ne,oe=1,ye=k.Deferred(),be=this,Le=this.length,Ee=function(){--oe||ye.resolveWith(be,[be])};for(typeof B!="string"&&(Y=B,B=void 0),B=B||"fx";Le--;)ne=wr.get(be[Le],B+"queueHooks"),ne&&ne.empty&&(oe++,ne.empty.add(Ee));return Ee(),ye.promise(Y)}});var Hn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Di=new RegExp("^(?:([+-])=|)("+Hn+")([a-z%]*)$","i"),Yi=["Top","Right","Bottom","Left"],di=D.documentElement,jr=function(B){return k.contains(B.ownerDocument,B)},Jr={composed:!0};di.getRootNode&&(jr=function(B){return k.contains(B.ownerDocument,B)||B.getRootNode(Jr)===B.ownerDocument});var Br=function(B,Y){return B=Y||B,B.style.display==="none"||B.style.display===""&&jr(B)&&k.css(B,"display")==="none"};function Gi(B,Y,ne,oe){var ye,be,Le=20,Ee=oe?function(){return oe.cur()}:function(){return k.css(B,Y,"")},Be=Ee(),tt=ne&&ne[3]||(k.cssNumber[Y]?"":"px"),wt=B.nodeType&&(k.cssNumber[Y]||tt!=="px"&&+Be)&&Di.exec(k.css(B,Y));if(wt&&wt[3]!==tt){for(Be=Be/2,tt=tt||wt[3],wt=+Be||1;Le--;)k.style(B,Y,wt+tt),(1-be)*(1-(be=Ee()/Be||.5))<=0&&(Le=0),wt=wt/be;wt=wt*2,k.style(B,Y,wt+tt),ne=ne||[]}return ne&&(wt=+wt||+Be||0,ye=ne[1]?wt+(ne[1]+1)*ne[2]:+ne[2],oe&&(oe.unit=tt,oe.start=wt,oe.end=ye)),ye}var Ri={};function Ua(B){var Y,ne=B.ownerDocument,oe=B.nodeName,ye=Ri[oe];return ye||(Y=ne.body.appendChild(ne.createElement(oe)),ye=k.css(Y,"display"),Y.parentNode.removeChild(Y),ye==="none"&&(ye="block"),Ri[oe]=ye,ye)}function _a(B,Y){for(var ne,oe,ye=[],be=0,Le=B.length;be<Le;be++)oe=B[be],oe.style&&(ne=oe.style.display,Y?(ne==="none"&&(ye[be]=wr.get(oe,"display")||null,ye[be]||(oe.style.display="")),oe.style.display===""&&Br(oe)&&(ye[be]=Ua(oe))):ne!=="none"&&(ye[be]="none",wr.set(oe,"display",ne)));for(be=0;be<Le;be++)ye[be]!=null&&(B[be].style.display=ye[be]);return B}k.fn.extend({show:function(){return _a(this,!0)},hide:function(){return _a(this)},toggle:function(B){return typeof B=="boolean"?B?this.show():this.hide():this.each(function(){Br(this)?k(this).show():k(this).hide()})}});var Bo=/^(?:checkbox|radio)$/i,Ka=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Qs=/^$|^module$|\/(?:java|ecma)script/i;(function(){var B=D.createDocumentFragment(),Y=B.appendChild(D.createElement("div")),ne=D.createElement("input");ne.setAttribute("type","radio"),ne.setAttribute("checked","checked"),ne.setAttribute("name","t"),Y.appendChild(ne),x.checkClone=Y.cloneNode(!0).cloneNode(!0).lastChild.checked,Y.innerHTML="<textarea>x</textarea>",x.noCloneChecked=!!Y.cloneNode(!0).lastChild.defaultValue,Y.innerHTML="<option></option>",x.option=!!Y.lastChild})();var co={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};co.tbody=co.tfoot=co.colgroup=co.caption=co.thead,co.th=co.td,x.option||(co.optgroup=co.option=[1,"<select multiple='multiple'>","</select>"]);function fo(B,Y){var ne;return typeof B.getElementsByTagName<"u"?ne=B.getElementsByTagName(Y||"*"):typeof B.querySelectorAll<"u"?ne=B.querySelectorAll(Y||"*"):ne=[],Y===void 0||Y&&U(B,Y)?k.merge([B],ne):ne}function fs(B,Y){for(var ne=0,oe=B.length;ne<oe;ne++)wr.set(B[ne],"globalEval",!Y||wr.get(Y[ne],"globalEval"))}var gu=/<|&#?\w+;/;function Hs(B,Y,ne,oe,ye){for(var be,Le,Ee,Be,tt,wt,b=Y.createDocumentFragment(),Mt=[],Vt=0,We=B.length;Vt<We;Vt++)if(be=B[Vt],be||be===0)if($(be)==="object")k.merge(Mt,be.nodeType?[be]:be);else if(!gu.test(be))Mt.push(Y.createTextNode(be));else{for(Le=Le||b.appendChild(Y.createElement("div")),Ee=(Ka.exec(be)||["",""])[1].toLowerCase(),Be=co[Ee]||co._default,Le.innerHTML=Be[1]+k.htmlPrefilter(be)+Be[2],wt=Be[0];wt--;)Le=Le.lastChild;k.merge(Mt,Le.childNodes),Le=b.firstChild,Le.textContent=""}for(b.textContent="",Vt=0;be=Mt[Vt++];){if(oe&&k.inArray(be,oe)>-1){ye&&ye.push(be);continue}if(tt=jr(be),Le=fo(b.appendChild(be),"script"),tt&&fs(Le),ne)for(wt=0;be=Le[wt++];)Qs.test(be.type||"")&&ne.push(be)}return b}var Ss=/^key/,Au=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,yu=/^([^.]*)(?:\.(.+)|)/;function ra(){return!0}function ge(){return!1}function Te(B,Y){return B===Oe()==(Y==="focus")}function Oe(){try{return D.activeElement}catch{}}function Ue(B,Y,ne,oe,ye,be){var Le,Ee;if(typeof Y=="object"){typeof ne!="string"&&(oe=oe||ne,ne=void 0);for(Ee in Y)Ue(B,Ee,ne,oe,Y[Ee],be);return B}if(oe==null&&ye==null?(ye=ne,oe=ne=void 0):ye==null&&(typeof ne=="string"?(ye=oe,oe=void 0):(ye=oe,oe=ne,ne=void 0)),ye===!1)ye=ge;else if(!ye)return B;return be===1&&(Le=ye,ye=function(Be){return k().off(Be),Le.apply(this,arguments)},ye.guid=Le.guid||(Le.guid=k.guid++)),B.each(function(){k.event.add(this,Y,ye,oe,ne)})}k.event={global:{},add:function(B,Y,ne,oe,ye){var be,Le,Ee,Be,tt,wt,b,Mt,Vt,We,Bn,fn=wr.get(B);if(an(B))for(ne.handler&&(be=ne,ne=be.handler,ye=be.selector),ye&&k.find.matchesSelector(di,ye),ne.guid||(ne.guid=k.guid++),(Be=fn.events)||(Be=fn.events=Object.create(null)),(Le=fn.handle)||(Le=fn.handle=function(Fr){return typeof k<"u"&&k.event.triggered!==Fr.type?k.event.dispatch.apply(B,arguments):void 0}),Y=(Y||"").match(Pt)||[""],tt=Y.length;tt--;)Ee=yu.exec(Y[tt])||[],Vt=Bn=Ee[1],We=(Ee[2]||"").split(".").sort(),Vt&&(b=k.event.special[Vt]||{},Vt=(ye?b.delegateType:b.bindType)||Vt,b=k.event.special[Vt]||{},wt=k.extend({type:Vt,origType:Bn,data:oe,handler:ne,guid:ne.guid,selector:ye,needsContext:ye&&k.expr.match.needsContext.test(ye),namespace:We.join(".")},be),(Mt=Be[Vt])||(Mt=Be[Vt]=[],Mt.delegateCount=0,(!b.setup||b.setup.call(B,oe,We,Le)===!1)&&B.addEventListener&&B.addEventListener(Vt,Le)),b.add&&(b.add.call(B,wt),wt.handler.guid||(wt.handler.guid=ne.guid)),ye?Mt.splice(Mt.delegateCount++,0,wt):Mt.push(wt),k.event.global[Vt]=!0)},remove:function(B,Y,ne,oe,ye){var be,Le,Ee,Be,tt,wt,b,Mt,Vt,We,Bn,fn=wr.hasData(B)&&wr.get(B);if(!(!fn||!(Be=fn.events))){for(Y=(Y||"").match(Pt)||[""],tt=Y.length;tt--;){if(Ee=yu.exec(Y[tt])||[],Vt=Bn=Ee[1],We=(Ee[2]||"").split(".").sort(),!Vt){for(Vt in Be)k.event.remove(B,Vt+Y[tt],ne,oe,!0);continue}for(b=k.event.special[Vt]||{},Vt=(oe?b.delegateType:b.bindType)||Vt,Mt=Be[Vt]||[],Ee=Ee[2]&&new RegExp("(^|\\.)"+We.join("\\.(?:.*\\.|)")+"(\\.|$)"),Le=be=Mt.length;be--;)wt=Mt[be],(ye||Bn===wt.origType)&&(!ne||ne.guid===wt.guid)&&(!Ee||Ee.test(wt.namespace))&&(!oe||oe===wt.selector||oe==="**"&&wt.selector)&&(Mt.splice(be,1),wt.selector&&Mt.delegateCount--,b.remove&&b.remove.call(B,wt));Le&&!Mt.length&&((!b.teardown||b.teardown.call(B,We,fn.handle)===!1)&&k.removeEvent(B,Vt,fn.handle),delete Be[Vt])}k.isEmptyObject(Be)&&wr.remove(B,"handle events")}},dispatch:function(B){var Y,ne,oe,ye,be,Le,Ee=new Array(arguments.length),Be=k.event.fix(B),tt=(wr.get(this,"events")||Object.create(null))[Be.type]||[],wt=k.event.special[Be.type]||{};for(Ee[0]=Be,Y=1;Y<arguments.length;Y++)Ee[Y]=arguments[Y];if(Be.delegateTarget=this,!(wt.preDispatch&&wt.preDispatch.call(this,Be)===!1)){for(Le=k.event.handlers.call(this,Be,tt),Y=0;(ye=Le[Y++])&&!Be.isPropagationStopped();)for(Be.currentTarget=ye.elem,ne=0;(be=ye.handlers[ne++])&&!Be.isImmediatePropagationStopped();)(!Be.rnamespace||be.namespace===!1||Be.rnamespace.test(be.namespace))&&(Be.handleObj=be,Be.data=be.data,oe=((k.event.special[be.origType]||{}).handle||be.handler).apply(ye.elem,Ee),oe!==void 0&&(Be.result=oe)===!1&&(Be.preventDefault(),Be.stopPropagation()));return wt.postDispatch&&wt.postDispatch.call(this,Be),Be.result}},handlers:function(B,Y){var ne,oe,ye,be,Le,Ee=[],Be=Y.delegateCount,tt=B.target;if(Be&&tt.nodeType&&!(B.type==="click"&&B.button>=1)){for(;tt!==this;tt=tt.parentNode||this)if(tt.nodeType===1&&!(B.type==="click"&&tt.disabled===!0)){for(be=[],Le={},ne=0;ne<Be;ne++)oe=Y[ne],ye=oe.selector+" ",Le[ye]===void 0&&(Le[ye]=oe.needsContext?k(ye,this).index(tt)>-1:k.find(ye,this,null,[tt]).length),Le[ye]&&be.push(oe);be.length&&Ee.push({elem:tt,handlers:be})}}return tt=this,Be<Y.length&&Ee.push({elem:tt,handlers:Y.slice(Be)}),Ee},addProp:function(B,Y){Object.defineProperty(k.Event.prototype,B,{enumerable:!0,configurable:!0,get:E(Y)?function(){if(this.originalEvent)return Y(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[B]},set:function(ne){Object.defineProperty(this,B,{enumerable:!0,configurable:!0,writable:!0,value:ne})}})},fix:function(B){return B[k.expando]?B:new k.Event(B)},special:{load:{noBubble:!0},click:{setup:function(B){var Y=this||B;return Bo.test(Y.type)&&Y.click&&U(Y,"input")&&Ie(Y,"click",ra),!1},trigger:function(B){var Y=this||B;return Bo.test(Y.type)&&Y.click&&U(Y,"input")&&Ie(Y,"click"),!0},_default:function(B){var Y=B.target;return Bo.test(Y.type)&&Y.click&&U(Y,"input")&&wr.get(Y,"click")||U(Y,"a")}},beforeunload:{postDispatch:function(B){B.result!==void 0&&B.originalEvent&&(B.originalEvent.returnValue=B.result)}}}};function Ie(B,Y,ne){if(!ne){wr.get(B,Y)===void 0&&k.event.add(B,Y,ra);return}wr.set(B,Y,!1),k.event.add(B,Y,{namespace:!1,handler:function(oe){var ye,be,Le=wr.get(this,Y);if(oe.isTrigger&1&&this[Y]){if(Le.length)(k.event.special[Y]||{}).delegateType&&oe.stopPropagation();else if(Le=i.call(arguments),wr.set(this,Y,Le),ye=ne(this,Y),this[Y](),be=wr.get(this,Y),Le!==be||ye?wr.set(this,Y,!1):be={},Le!==be)return oe.stopImmediatePropagation(),oe.preventDefault(),be.value}else Le.length&&(wr.set(this,Y,{value:k.event.trigger(k.extend(Le[0],k.Event.prototype),Le.slice(1),this)}),oe.stopImmediatePropagation())}})}k.removeEvent=function(B,Y,ne){B.removeEventListener&&B.removeEventListener(Y,ne)},k.Event=function(B,Y){if(!(this instanceof k.Event))return new k.Event(B,Y);B&&B.type?(this.originalEvent=B,this.type=B.type,this.isDefaultPrevented=B.defaultPrevented||B.defaultPrevented===void 0&&B.returnValue===!1?ra:ge,this.target=B.target&&B.target.nodeType===3?B.target.parentNode:B.target,this.currentTarget=B.currentTarget,this.relatedTarget=B.relatedTarget):this.type=B,Y&&k.extend(this,Y),this.timeStamp=B&&B.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:ge,isPropagationStopped:ge,isImmediatePropagationStopped:ge,isSimulated:!1,preventDefault:function(){var B=this.originalEvent;this.isDefaultPrevented=ra,B&&!this.isSimulated&&B.preventDefault()},stopPropagation:function(){var B=this.originalEvent;this.isPropagationStopped=ra,B&&!this.isSimulated&&B.stopPropagation()},stopImmediatePropagation:function(){var B=this.originalEvent;this.isImmediatePropagationStopped=ra,B&&!this.isSimulated&&B.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(B){var Y=B.button;return B.which==null&&Ss.test(B.type)?B.charCode!=null?B.charCode:B.keyCode:!B.which&&Y!==void 0&&Au.test(B.type)?Y&1?1:Y&2?3:Y&4?2:0:B.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(B,Y){k.event.special[B]={setup:function(){return Ie(this,B,Te),!1},trigger:function(){return Ie(this,B),!0},delegateType:Y}}),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(B,Y){k.event.special[B]={delegateType:Y,bindType:Y,handle:function(ne){var oe,ye=this,be=ne.relatedTarget,Le=ne.handleObj;return(!be||be!==ye&&!k.contains(ye,be))&&(ne.type=Le.origType,oe=Le.handler.apply(this,arguments),ne.type=Y),oe}}}),k.fn.extend({on:function(B,Y,ne,oe){return Ue(this,B,Y,ne,oe)},one:function(B,Y,ne,oe){return Ue(this,B,Y,ne,oe,1)},off:function(B,Y,ne){var oe,ye;if(B&&B.preventDefault&&B.handleObj)return oe=B.handleObj,k(B.delegateTarget).off(oe.namespace?oe.origType+"."+oe.namespace:oe.origType,oe.selector,oe.handler),this;if(typeof B=="object"){for(ye in B)this.off(ye,Y,B[ye]);return this}return(Y===!1||typeof Y=="function")&&(ne=Y,Y=void 0),ne===!1&&(ne=ge),this.each(function(){k.event.remove(this,B,ne,Y)})}});var pt=/<script|<style|<link/i,At=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Qe(B,Y){return U(B,"table")&&U(Y.nodeType!==11?Y:Y.firstChild,"tr")&&k(B).children("tbody")[0]||B}function It(B){return B.type=(B.getAttribute("type")!==null)+"/"+B.type,B}function cr(B){return(B.type||"").slice(0,5)==="true/"?B.type=B.type.slice(5):B.removeAttribute("type"),B}function dr(B,Y){var ne,oe,ye,be,Le,Ee,Be;if(Y.nodeType===1){if(wr.hasData(B)&&(be=wr.get(B),Be=be.events,Be)){wr.remove(Y,"handle events");for(ye in Be)for(ne=0,oe=Be[ye].length;ne<oe;ne++)k.event.add(Y,ye,Be[ye][ne])}Nn.hasData(B)&&(Le=Nn.access(B),Ee=k.extend({},Le),Nn.set(Y,Ee))}}function Zt(B,Y){var ne=Y.nodeName.toLowerCase();ne==="input"&&Bo.test(B.type)?Y.checked=B.checked:(ne==="input"||ne==="textarea")&&(Y.defaultValue=B.defaultValue)}function lr(B,Y,ne,oe){Y=a(Y);var ye,be,Le,Ee,Be,tt,wt=0,b=B.length,Mt=b-1,Vt=Y[0],We=E(Vt);if(We||b>1&&typeof Vt=="string"&&!x.checkClone&&At.test(Vt))return B.each(function(Bn){var fn=B.eq(Bn);We&&(Y[0]=Vt.call(this,Bn,fn.html())),lr(fn,Y,ne,oe)});if(b&&(ye=Hs(Y,B[0].ownerDocument,!1,B,oe),be=ye.firstChild,ye.childNodes.length===1&&(ye=be),be||oe)){for(Le=k.map(fo(ye,"script"),It),Ee=Le.length;wt<b;wt++)Be=ye,wt!==Mt&&(Be=k.clone(Be,!0,!0),Ee&&k.merge(Le,fo(Be,"script"))),ne.call(B[wt],Be,wt);if(Ee)for(tt=Le[Le.length-1].ownerDocument,k.map(Le,cr),wt=0;wt<Ee;wt++)Be=Le[wt],Qs.test(Be.type||"")&&!wr.access(Be,"globalEval")&&k.contains(tt,Be)&&(Be.src&&(Be.type||"").toLowerCase()!=="module"?k._evalUrl&&!Be.noModule&&k._evalUrl(Be.src,{nonce:Be.nonce||Be.getAttribute("nonce")},tt):W(Be.textContent.replace(De,""),Be,tt))}return B}function Kr(B,Y,ne){for(var oe,ye=Y?k.filter(Y,B):B,be=0;(oe=ye[be])!=null;be++)!ne&&oe.nodeType===1&&k.cleanData(fo(oe)),oe.parentNode&&(ne&&jr(oe)&&fs(fo(oe,"script")),oe.parentNode.removeChild(oe));return B}k.extend({htmlPrefilter:function(B){return B},clone:function(B,Y,ne){var oe,ye,be,Le,Ee=B.cloneNode(!0),Be=jr(B);if(!x.noCloneChecked&&(B.nodeType===1||B.nodeType===11)&&!k.isXMLDoc(B))for(Le=fo(Ee),be=fo(B),oe=0,ye=be.length;oe<ye;oe++)Zt(be[oe],Le[oe]);if(Y)if(ne)for(be=be||fo(B),Le=Le||fo(Ee),oe=0,ye=be.length;oe<ye;oe++)dr(be[oe],Le[oe]);else dr(B,Ee);return Le=fo(Ee,"script"),Le.length>0&&fs(Le,!Be&&fo(B,"script")),Ee},cleanData:function(B){for(var Y,ne,oe,ye=k.event.special,be=0;(ne=B[be])!==void 0;be++)if(an(ne)){if(Y=ne[wr.expando]){if(Y.events)for(oe in Y.events)ye[oe]?k.event.remove(ne,oe):k.removeEvent(ne,oe,Y.handle);ne[wr.expando]=void 0}ne[Nn.expando]&&(ne[Nn.expando]=void 0)}}}),k.fn.extend({detach:function(B){return Kr(this,B,!0)},remove:function(B){return Kr(this,B)},text:function(B){return Ve(this,function(Y){return Y===void 0?k.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=Y)})},null,B,arguments.length)},append:function(){return lr(this,arguments,function(B){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var Y=Qe(this,B);Y.appendChild(B)}})},prepend:function(){return lr(this,arguments,function(B){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var Y=Qe(this,B);Y.insertBefore(B,Y.firstChild)}})},before:function(){return lr(this,arguments,function(B){this.parentNode&&this.parentNode.insertBefore(B,this)})},after:function(){return lr(this,arguments,function(B){this.parentNode&&this.parentNode.insertBefore(B,this.nextSibling)})},empty:function(){for(var B,Y=0;(B=this[Y])!=null;Y++)B.nodeType===1&&(k.cleanData(fo(B,!1)),B.textContent="");return this},clone:function(B,Y){return B=B??!1,Y=Y??B,this.map(function(){return k.clone(this,B,Y)})},html:function(B){return Ve(this,function(Y){var ne=this[0]||{},oe=0,ye=this.length;if(Y===void 0&&ne.nodeType===1)return ne.innerHTML;if(typeof Y=="string"&&!pt.test(Y)&&!co[(Ka.exec(Y)||["",""])[1].toLowerCase()]){Y=k.htmlPrefilter(Y);try{for(;oe<ye;oe++)ne=this[oe]||{},ne.nodeType===1&&(k.cleanData(fo(ne,!1)),ne.innerHTML=Y);ne=0}catch{}}ne&&this.empty().append(Y)},null,B,arguments.length)},replaceWith:function(){var B=[];return lr(this,arguments,function(Y){var ne=this.parentNode;k.inArray(this,B)<0&&(k.cleanData(fo(this)),ne&&ne.replaceChild(Y,this))},B)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(B,Y){k.fn[B]=function(ne){for(var oe,ye=[],be=k(ne),Le=be.length-1,Ee=0;Ee<=Le;Ee++)oe=Ee===Le?this:this.clone(!0),k(be[Ee])[Y](oe),o.apply(ye,oe.get());return this.pushStack(ye)}});var Dr=new RegExp("^("+Hn+")(?!px)[a-z%]+$","i"),qt=function(B){var Y=B.ownerDocument.defaultView;return(!Y||!Y.opener)&&(Y=t),Y.getComputedStyle(B)},Lr=function(B,Y,ne){var oe,ye,be={};for(ye in Y)be[ye]=B.style[ye],B.style[ye]=Y[ye];oe=ne.call(B);for(ye in Y)B.style[ye]=be[ye];return oe},Er=new RegExp(Yi.join("|"),"i");(function(){function B(){if(tt){Be.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",tt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",di.appendChild(Be).appendChild(tt);var wt=t.getComputedStyle(tt);ne=wt.top!=="1%",Ee=Y(wt.marginLeft)===12,tt.style.right="60%",be=Y(wt.right)===36,oe=Y(wt.width)===36,tt.style.position="absolute",ye=Y(tt.offsetWidth/3)===12,di.removeChild(Be),tt=null}}function Y(wt){return Math.round(parseFloat(wt))}var ne,oe,ye,be,Le,Ee,Be=D.createElement("div"),tt=D.createElement("div");tt.style&&(tt.style.backgroundClip="content-box",tt.cloneNode(!0).style.backgroundClip="",x.clearCloneStyle=tt.style.backgroundClip==="content-box",k.extend(x,{boxSizingReliable:function(){return B(),oe},pixelBoxStyles:function(){return B(),be},pixelPosition:function(){return B(),ne},reliableMarginLeft:function(){return B(),Ee},scrollboxSize:function(){return B(),ye},reliableTrDimensions:function(){var wt,b,Mt,Vt;return Le==null&&(wt=D.createElement("table"),b=D.createElement("tr"),Mt=D.createElement("div"),wt.style.cssText="position:absolute;left:-11111px",b.style.height="1px",Mt.style.height="9px",di.appendChild(wt).appendChild(b).appendChild(Mt),Vt=t.getComputedStyle(b),Le=parseInt(Vt.height)>3,di.removeChild(wt)),Le}}))})();function _r(B,Y,ne){var oe,ye,be,Le,Ee=B.style;return ne=ne||qt(B),ne&&(Le=ne.getPropertyValue(Y)||ne[Y],Le===""&&!jr(B)&&(Le=k.style(B,Y)),!x.pixelBoxStyles()&&Dr.test(Le)&&Er.test(Y)&&(oe=Ee.width,ye=Ee.minWidth,be=Ee.maxWidth,Ee.minWidth=Ee.maxWidth=Ee.width=Le,Le=ne.width,Ee.width=oe,Ee.minWidth=ye,Ee.maxWidth=be)),Le!==void 0?Le+"":Le}function Wn(B,Y){return{get:function(){if(B()){delete this.get;return}return(this.get=Y).apply(this,arguments)}}}var Cr=["Webkit","Moz","ms"],Qn=D.createElement("div").style,Ci={};function ii(B){for(var Y=B[0].toUpperCase()+B.slice(1),ne=Cr.length;ne--;)if(B=Cr[ne]+Y,B in Qn)return B}function bi(B){var Y=k.cssProps[B]||Ci[B];return Y||(B in Qn?B:Ci[B]=ii(B)||B)}var Un=/^(none|table(?!-c[ea]).+)/,oa=/^--/,xi={position:"absolute",visibility:"hidden",display:"block"},Ki={letterSpacing:"0",fontWeight:"400"};function gi(B,Y,ne){var oe=Di.exec(Y);return oe?Math.max(0,oe[2]-(ne||0))+(oe[3]||"px"):Y}function Zn(B,Y,ne,oe,ye,be){var Le=Y==="width"?1:0,Ee=0,Be=0;if(ne===(oe?"border":"content"))return 0;for(;Le<4;Le+=2)ne==="margin"&&(Be+=k.css(B,ne+Yi[Le],!0,ye)),oe?(ne==="content"&&(Be-=k.css(B,"padding"+Yi[Le],!0,ye)),ne!=="margin"&&(Be-=k.css(B,"border"+Yi[Le]+"Width",!0,ye))):(Be+=k.css(B,"padding"+Yi[Le],!0,ye),ne!=="padding"?Be+=k.css(B,"border"+Yi[Le]+"Width",!0,ye):Ee+=k.css(B,"border"+Yi[Le]+"Width",!0,ye));return!oe&&be>=0&&(Be+=Math.max(0,Math.ceil(B["offset"+Y[0].toUpperCase()+Y.slice(1)]-be-Be-Ee-.5))||0),Be}function $n(B,Y,ne){var oe=qt(B),ye=!x.boxSizingReliable()||ne,be=ye&&k.css(B,"boxSizing",!1,oe)==="border-box",Le=be,Ee=_r(B,Y,oe),Be="offset"+Y[0].toUpperCase()+Y.slice(1);if(Dr.test(Ee)){if(!ne)return Ee;Ee="auto"}return(!x.boxSizingReliable()&&be||!x.reliableTrDimensions()&&U(B,"tr")||Ee==="auto"||!parseFloat(Ee)&&k.css(B,"display",!1,oe)==="inline")&&B.getClientRects().length&&(be=k.css(B,"boxSizing",!1,oe)==="border-box",Le=Be in B,Le&&(Ee=B[Be])),Ee=parseFloat(Ee)||0,Ee+Zn(B,Y,ne||(be?"border":"content"),Le,oe,Ee)+"px"}k.extend({cssHooks:{opacity:{get:function(B,Y){if(Y){var ne=_r(B,"opacity");return ne===""?"1":ne}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(B,Y,ne,oe){if(!(!B||B.nodeType===3||B.nodeType===8||!B.style)){var ye,be,Le,Ee=tn(Y),Be=oa.test(Y),tt=B.style;if(Be||(Y=bi(Ee)),Le=k.cssHooks[Y]||k.cssHooks[Ee],ne!==void 0){if(be=typeof ne,be==="string"&&(ye=Di.exec(ne))&&ye[1]&&(ne=Gi(B,Y,ye),be="number"),ne==null||ne!==ne)return;be==="number"&&!Be&&(ne+=ye&&ye[3]||(k.cssNumber[Ee]?"":"px")),!x.clearCloneStyle&&ne===""&&Y.indexOf("background")===0&&(tt[Y]="inherit"),(!Le||!("set"in Le)||(ne=Le.set(B,ne,oe))!==void 0)&&(Be?tt.setProperty(Y,ne):tt[Y]=ne)}else return Le&&"get"in Le&&(ye=Le.get(B,!1,oe))!==void 0?ye:tt[Y]}},css:function(B,Y,ne,oe){var ye,be,Le,Ee=tn(Y),Be=oa.test(Y);return Be||(Y=bi(Ee)),Le=k.cssHooks[Y]||k.cssHooks[Ee],Le&&"get"in Le&&(ye=Le.get(B,!0,ne)),ye===void 0&&(ye=_r(B,Y,oe)),ye==="normal"&&Y in Ki&&(ye=Ki[Y]),ne===""||ne?(be=parseFloat(ye),ne===!0||isFinite(be)?be||0:ye):ye}}),k.each(["height","width"],function(B,Y){k.cssHooks[Y]={get:function(ne,oe,ye){if(oe)return Un.test(k.css(ne,"display"))&&(!ne.getClientRects().length||!ne.getBoundingClientRect().width)?Lr(ne,xi,function(){return $n(ne,Y,ye)}):$n(ne,Y,ye)},set:function(ne,oe,ye){var be,Le=qt(ne),Ee=!x.scrollboxSize()&&Le.position==="absolute",Be=Ee||ye,tt=Be&&k.css(ne,"boxSizing",!1,Le)==="border-box",wt=ye?Zn(ne,Y,ye,tt,Le):0;return tt&&Ee&&(wt-=Math.ceil(ne["offset"+Y[0].toUpperCase()+Y.slice(1)]-parseFloat(Le[Y])-Zn(ne,Y,"border",!1,Le)-.5)),wt&&(be=Di.exec(oe))&&(be[3]||"px")!=="px"&&(ne.style[Y]=oe,oe=k.css(ne,Y)),gi(ne,oe,wt)}}}),k.cssHooks.marginLeft=Wn(x.reliableMarginLeft,function(B,Y){if(Y)return(parseFloat(_r(B,"marginLeft"))||B.getBoundingClientRect().left-Lr(B,{marginLeft:0},function(){return B.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(B,Y){k.cssHooks[B+Y]={expand:function(ne){for(var oe=0,ye={},be=typeof ne=="string"?ne.split(" "):[ne];oe<4;oe++)ye[B+Yi[oe]+Y]=be[oe]||be[oe-2]||be[0];return ye}},B!=="margin"&&(k.cssHooks[B+Y].set=gi)}),k.fn.extend({css:function(B,Y){return Ve(this,function(ne,oe,ye){var be,Le,Ee={},Be=0;if(Array.isArray(oe)){for(be=qt(ne),Le=oe.length;Be<Le;Be++)Ee[oe[Be]]=k.css(ne,oe[Be],!1,be);return Ee}return ye!==void 0?k.style(ne,oe,ye):k.css(ne,oe)},B,Y,arguments.length>1)}});function Li(B,Y,ne,oe,ye){return new Li.prototype.init(B,Y,ne,oe,ye)}k.Tween=Li,Li.prototype={constructor:Li,init:function(B,Y,ne,oe,ye,be){this.elem=B,this.prop=ne,this.easing=ye||k.easing._default,this.options=Y,this.start=this.now=this.cur(),this.end=oe,this.unit=be||(k.cssNumber[ne]?"":"px")},cur:function(){var B=Li.propHooks[this.prop];return B&&B.get?B.get(this):Li.propHooks._default.get(this)},run:function(B){var Y,ne=Li.propHooks[this.prop];return this.options.duration?this.pos=Y=k.easing[this.easing](B,this.options.duration*B,0,1,this.options.duration):this.pos=Y=B,this.now=(this.end-this.start)*Y+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),ne&&ne.set?ne.set(this):Li.propHooks._default.set(this),this}},Li.prototype.init.prototype=Li.prototype,Li.propHooks={_default:{get:function(B){var Y;return B.elem.nodeType!==1||B.elem[B.prop]!=null&&B.elem.style[B.prop]==null?B.elem[B.prop]:(Y=k.css(B.elem,B.prop,""),!Y||Y==="auto"?0:Y)},set:function(B){k.fx.step[B.prop]?k.fx.step[B.prop](B):B.elem.nodeType===1&&(k.cssHooks[B.prop]||B.elem.style[bi(B.prop)]!=null)?k.style(B.elem,B.prop,B.now+B.unit):B.elem[B.prop]=B.now}}},Li.propHooks.scrollTop=Li.propHooks.scrollLeft={set:function(B){B.elem.nodeType&&B.elem.parentNode&&(B.elem[B.prop]=B.now)}},k.easing={linear:function(B){return B},swing:function(B){return .5-Math.cos(B*Math.PI)/2},_default:"swing"},k.fx=Li.prototype.init,k.fx.step={};var Es,Ba,_o=/^(?:toggle|show|hide)$/,hs=/queueHooks$/;function eu(){Ba&&(D.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(eu):t.setTimeout(eu,k.fx.interval),k.fx.tick())}function sa(){return t.setTimeout(function(){Es=void 0}),Es=Date.now()}function tu(B,Y){var ne,oe=0,ye={height:B};for(Y=Y?1:0;oe<4;oe+=2-Y)ne=Yi[oe],ye["margin"+ne]=ye["padding"+ne]=B;return Y&&(ye.opacity=ye.width=B),ye}function ho(B,Y,ne){for(var oe,ye=(ai.tweeners[Y]||[]).concat(ai.tweeners["*"]),be=0,Le=ye.length;be<Le;be++)if(oe=ye[be].call(ne,Y,B))return oe}function Za(B,Y,ne){var oe,ye,be,Le,Ee,Be,tt,wt,b="width"in Y||"height"in Y,Mt=this,Vt={},We=B.style,Bn=B.nodeType&&Br(B),fn=wr.get(B,"fxshow");ne.queue||(Le=k._queueHooks(B,"fx"),Le.unqueued==null&&(Le.unqueued=0,Ee=Le.empty.fire,Le.empty.fire=function(){Le.unqueued||Ee()}),Le.unqueued++,Mt.always(function(){Mt.always(function(){Le.unqueued--,k.queue(B,"fx").length||Le.empty.fire()})}));for(oe in Y)if(ye=Y[oe],_o.test(ye)){if(delete Y[oe],be=be||ye==="toggle",ye===(Bn?"hide":"show"))if(ye==="show"&&fn&&fn[oe]!==void 0)Bn=!0;else continue;Vt[oe]=fn&&fn[oe]||k.style(B,oe)}if(Be=!k.isEmptyObject(Y),!(!Be&&k.isEmptyObject(Vt))){b&&B.nodeType===1&&(ne.overflow=[We.overflow,We.overflowX,We.overflowY],tt=fn&&fn.display,tt==null&&(tt=wr.get(B,"display")),wt=k.css(B,"display"),wt==="none"&&(tt?wt=tt:(_a([B],!0),tt=B.style.display||tt,wt=k.css(B,"display"),_a([B]))),(wt==="inline"||wt==="inline-block"&&tt!=null)&&k.css(B,"float")==="none"&&(Be||(Mt.done(function(){We.display=tt}),tt==null&&(wt=We.display,tt=wt==="none"?"":wt)),We.display="inline-block")),ne.overflow&&(We.overflow="hidden",Mt.always(function(){We.overflow=ne.overflow[0],We.overflowX=ne.overflow[1],We.overflowY=ne.overflow[2]})),Be=!1;for(oe in Vt)Be||(fn?"hidden"in fn&&(Bn=fn.hidden):fn=wr.access(B,"fxshow",{display:tt}),be&&(fn.hidden=!Bn),Bn&&_a([B],!0),Mt.done(function(){Bn||_a([B]),wr.remove(B,"fxshow");for(oe in Vt)k.style(B,oe,Vt[oe])})),Be=ho(Bn?fn[oe]:0,oe,Mt),oe in fn||(fn[oe]=Be.start,Bn&&(Be.end=Be.start,Be.start=0))}}function Ho(B,Y){var ne,oe,ye,be,Le;for(ne in B)if(oe=tn(ne),ye=Y[oe],be=B[ne],Array.isArray(be)&&(ye=be[1],be=B[ne]=be[0]),ne!==oe&&(B[oe]=be,delete B[ne]),Le=k.cssHooks[oe],Le&&"expand"in Le){be=Le.expand(be),delete B[oe];for(ne in be)ne in B||(B[ne]=be[ne],Y[ne]=ye)}else Y[oe]=ye}function ai(B,Y,ne){var oe,ye,be=0,Le=ai.prefilters.length,Ee=k.Deferred().always(function(){delete Be.elem}),Be=function(){if(ye)return!1;for(var b=Es||sa(),Mt=Math.max(0,tt.startTime+tt.duration-b),Vt=Mt/tt.duration||0,We=1-Vt,Bn=0,fn=tt.tweens.length;Bn<fn;Bn++)tt.tweens[Bn].run(We);return Ee.notifyWith(B,[tt,We,Mt]),We<1&&fn?Mt:(fn||Ee.notifyWith(B,[tt,1,0]),Ee.resolveWith(B,[tt]),!1)},tt=Ee.promise({elem:B,props:k.extend({},Y),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},ne),originalProperties:Y,originalOptions:ne,startTime:Es||sa(),duration:ne.duration,tweens:[],createTween:function(b,Mt){var Vt=k.Tween(B,tt.opts,b,Mt,tt.opts.specialEasing[b]||tt.opts.easing);return tt.tweens.push(Vt),Vt},stop:function(b){var Mt=0,Vt=b?tt.tweens.length:0;if(ye)return this;for(ye=!0;Mt<Vt;Mt++)tt.tweens[Mt].run(1);return b?(Ee.notifyWith(B,[tt,1,0]),Ee.resolveWith(B,[tt,b])):Ee.rejectWith(B,[tt,b]),this}}),wt=tt.props;for(Ho(wt,tt.opts.specialEasing);be<Le;be++)if(oe=ai.prefilters[be].call(tt,B,wt,tt.opts),oe)return E(oe.stop)&&(k._queueHooks(tt.elem,tt.opts.queue).stop=oe.stop.bind(oe)),oe;return k.map(wt,ho,tt),E(tt.opts.start)&&tt.opts.start.call(B,tt),tt.progress(tt.opts.progress).done(tt.opts.done,tt.opts.complete).fail(tt.opts.fail).always(tt.opts.always),k.fx.timer(k.extend(Be,{elem:B,anim:tt,queue:tt.opts.queue})),tt}k.Animation=k.extend(ai,{tweeners:{"*":[function(B,Y){var ne=this.createTween(B,Y);return Gi(ne.elem,B,Di.exec(Y),ne),ne}]},tweener:function(B,Y){E(B)?(Y=B,B=["*"]):B=B.match(Pt);for(var ne,oe=0,ye=B.length;oe<ye;oe++)ne=B[oe],ai.tweeners[ne]=ai.tweeners[ne]||[],ai.tweeners[ne].unshift(Y)},prefilters:[Za],prefilter:function(B,Y){Y?ai.prefilters.unshift(B):ai.prefilters.push(B)}}),k.speed=function(B,Y,ne){var oe=B&&typeof B=="object"?k.extend({},B):{complete:ne||!ne&&Y||E(B)&&B,duration:B,easing:ne&&Y||Y&&!E(Y)&&Y};return k.fx.off?oe.duration=0:typeof oe.duration!="number"&&(oe.duration in k.fx.speeds?oe.duration=k.fx.speeds[oe.duration]:oe.duration=k.fx.speeds._default),(oe.queue==null||oe.queue===!0)&&(oe.queue="fx"),oe.old=oe.complete,oe.complete=function(){E(oe.old)&&oe.old.call(this),oe.queue&&k.dequeue(this,oe.queue)},oe},k.fn.extend({fadeTo:function(B,Y,ne,oe){return this.filter(Br).css("opacity",0).show().end().animate({opacity:Y},B,ne,oe)},animate:function(B,Y,ne,oe){var ye=k.isEmptyObject(B),be=k.speed(Y,ne,oe),Le=function(){var Ee=ai(this,k.extend({},B),be);(ye||wr.get(this,"finish"))&&Ee.stop(!0)};return Le.finish=Le,ye||be.queue===!1?this.each(Le):this.queue(be.queue,Le)},stop:function(B,Y,ne){var oe=function(ye){var be=ye.stop;delete ye.stop,be(ne)};return typeof B!="string"&&(ne=Y,Y=B,B=void 0),Y&&this.queue(B||"fx",[]),this.each(function(){var ye=!0,be=B!=null&&B+"queueHooks",Le=k.timers,Ee=wr.get(this);if(be)Ee[be]&&Ee[be].stop&&oe(Ee[be]);else for(be in Ee)Ee[be]&&Ee[be].stop&&hs.test(be)&&oe(Ee[be]);for(be=Le.length;be--;)Le[be].elem===this&&(B==null||Le[be].queue===B)&&(Le[be].anim.stop(ne),ye=!1,Le.splice(be,1));(ye||!ne)&&k.dequeue(this,B)})},finish:function(B){return B!==!1&&(B=B||"fx"),this.each(function(){var Y,ne=wr.get(this),oe=ne[B+"queue"],ye=ne[B+"queueHooks"],be=k.timers,Le=oe?oe.length:0;for(ne.finish=!0,k.queue(this,B,[]),ye&&ye.stop&&ye.stop.call(this,!0),Y=be.length;Y--;)be[Y].elem===this&&be[Y].queue===B&&(be[Y].anim.stop(!0),be.splice(Y,1));for(Y=0;Y<Le;Y++)oe[Y]&&oe[Y].finish&&oe[Y].finish.call(this);delete ne.finish})}}),k.each(["toggle","show","hide"],function(B,Y){var ne=k.fn[Y];k.fn[Y]=function(oe,ye,be){return oe==null||typeof oe=="boolean"?ne.apply(this,arguments):this.animate(tu(Y,!0),oe,ye,be)}}),k.each({slideDown:tu("show"),slideUp:tu("hide"),slideToggle:tu("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(B,Y){k.fn[B]=function(ne,oe,ye){return this.animate(Y,ne,oe,ye)}}),k.timers=[],k.fx.tick=function(){var B,Y=0,ne=k.timers;for(Es=Date.now();Y<ne.length;Y++)B=ne[Y],!B()&&ne[Y]===B&&ne.splice(Y--,1);ne.length||k.fx.stop(),Es=void 0},k.fx.timer=function(B){k.timers.push(B),k.fx.start()},k.fx.interval=13,k.fx.start=function(){Ba||(Ba=!0,eu())},k.fx.stop=function(){Ba=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(B,Y){return B=k.fx&&k.fx.speeds[B]||B,Y=Y||"fx",this.queue(Y,function(ne,oe){var ye=t.setTimeout(ne,B);oe.stop=function(){t.clearTimeout(ye)}})},function(){var B=D.createElement("input"),Y=D.createElement("select"),ne=Y.appendChild(D.createElement("option"));B.type="checkbox",x.checkOn=B.value!=="",x.optSelected=ne.selected,B=D.createElement("input"),B.value="t",B.type="radio",x.radioValue=B.value==="t"}();var Cs,bo=k.expr.attrHandle;k.fn.extend({attr:function(B,Y){return Ve(this,k.attr,B,Y,arguments.length>1)},removeAttr:function(B){return this.each(function(){k.removeAttr(this,B)})}}),k.extend({attr:function(B,Y,ne){var oe,ye,be=B.nodeType;if(!(be===3||be===8||be===2)){if(typeof B.getAttribute>"u")return k.prop(B,Y,ne);if((be!==1||!k.isXMLDoc(B))&&(ye=k.attrHooks[Y.toLowerCase()]||(k.expr.match.bool.test(Y)?Cs:void 0)),ne!==void 0){if(ne===null){k.removeAttr(B,Y);return}return ye&&"set"in ye&&(oe=ye.set(B,ne,Y))!==void 0?oe:(B.setAttribute(Y,ne+""),ne)}return ye&&"get"in ye&&(oe=ye.get(B,Y))!==null?oe:(oe=k.find.attr(B,Y),oe??void 0)}},attrHooks:{type:{set:function(B,Y){if(!x.radioValue&&Y==="radio"&&U(B,"input")){var ne=B.value;return B.setAttribute("type",Y),ne&&(B.value=ne),Y}}}},removeAttr:function(B,Y){var ne,oe=0,ye=Y&&Y.match(Pt);if(ye&&B.nodeType===1)for(;ne=ye[oe++];)B.removeAttribute(ne)}}),Cs={set:function(B,Y,ne){return Y===!1?k.removeAttr(B,ne):B.setAttribute(ne,ne),ne}},k.each(k.expr.match.bool.source.match(/\w+/g),function(B,Y){var ne=bo[Y]||k.find.attr;bo[Y]=function(oe,ye,be){var Le,Ee,Be=ye.toLowerCase();return be||(Ee=bo[Be],bo[Be]=Le,Le=ne(oe,ye,be)!=null?Be:null,bo[Be]=Ee),Le}});var ec=/^(?:input|select|textarea|button)$/i,ps=/^(?:a|area)$/i;k.fn.extend({prop:function(B,Y){return Ve(this,k.prop,B,Y,arguments.length>1)},removeProp:function(B){return this.each(function(){delete this[k.propFix[B]||B]})}}),k.extend({prop:function(B,Y,ne){var oe,ye,be=B.nodeType;if(!(be===3||be===8||be===2))return(be!==1||!k.isXMLDoc(B))&&(Y=k.propFix[Y]||Y,ye=k.propHooks[Y]),ne!==void 0?ye&&"set"in ye&&(oe=ye.set(B,ne,Y))!==void 0?oe:B[Y]=ne:ye&&"get"in ye&&(oe=ye.get(B,Y))!==null?oe:B[Y]},propHooks:{tabIndex:{get:function(B){var Y=k.find.attr(B,"tabindex");return Y?parseInt(Y,10):ec.test(B.nodeName)||ps.test(B.nodeName)&&B.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),x.optSelected||(k.propHooks.selected={get:function(B){var Y=B.parentNode;return Y&&Y.parentNode&&Y.parentNode.selectedIndex,null},set:function(B){var Y=B.parentNode;Y&&(Y.selectedIndex,Y.parentNode&&Y.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this});function Du(B){var Y=B.match(Pt)||[];return Y.join(" ")}function eo(B){return B.getAttribute&&B.getAttribute("class")||""}function Me(B){return Array.isArray(B)?B:typeof B=="string"?B.match(Pt)||[]:[]}k.fn.extend({addClass:function(B){var Y,ne,oe,ye,be,Le,Ee,Be=0;if(E(B))return this.each(function(tt){k(this).addClass(B.call(this,tt,eo(this)))});if(Y=Me(B),Y.length){for(;ne=this[Be++];)if(ye=eo(ne),oe=ne.nodeType===1&&" "+Du(ye)+" ",oe){for(Le=0;be=Y[Le++];)oe.indexOf(" "+be+" ")<0&&(oe+=be+" ");Ee=Du(oe),ye!==Ee&&ne.setAttribute("class",Ee)}}return this},removeClass:function(B){var Y,ne,oe,ye,be,Le,Ee,Be=0;if(E(B))return this.each(function(tt){k(this).removeClass(B.call(this,tt,eo(this)))});if(!arguments.length)return this.attr("class","");if(Y=Me(B),Y.length){for(;ne=this[Be++];)if(ye=eo(ne),oe=ne.nodeType===1&&" "+Du(ye)+" ",oe){for(Le=0;be=Y[Le++];)for(;oe.indexOf(" "+be+" ")>-1;)oe=oe.replace(" "+be+" "," ");Ee=Du(oe),ye!==Ee&&ne.setAttribute("class",Ee)}}return this},toggleClass:function(B,Y){var ne=typeof B,oe=ne==="string"||Array.isArray(B);return typeof Y=="boolean"&&oe?Y?this.addClass(B):this.removeClass(B):E(B)?this.each(function(ye){k(this).toggleClass(B.call(this,ye,eo(this),Y),Y)}):this.each(function(){var ye,be,Le,Ee;if(oe)for(be=0,Le=k(this),Ee=Me(B);ye=Ee[be++];)Le.hasClass(ye)?Le.removeClass(ye):Le.addClass(ye);else(B===void 0||ne==="boolean")&&(ye=eo(this),ye&&wr.set(this,"__className__",ye),this.setAttribute&&this.setAttribute("class",ye||B===!1?"":wr.get(this,"__className__")||""))})},hasClass:function(B){var Y,ne,oe=0;for(Y=" "+B+" ";ne=this[oe++];)if(ne.nodeType===1&&(" "+Du(eo(ne))+" ").indexOf(Y)>-1)return!0;return!1}});var Ge=/\r/g;k.fn.extend({val:function(B){var Y,ne,oe,ye=this[0];return arguments.length?(oe=E(B),this.each(function(be){var Le;this.nodeType===1&&(oe?Le=B.call(this,be,k(this).val()):Le=B,Le==null?Le="":typeof Le=="number"?Le+="":Array.isArray(Le)&&(Le=k.map(Le,function(Ee){return Ee==null?"":Ee+""})),Y=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()],(!Y||!("set"in Y)||Y.set(this,Le,"value")===void 0)&&(this.value=Le))})):ye?(Y=k.valHooks[ye.type]||k.valHooks[ye.nodeName.toLowerCase()],Y&&"get"in Y&&(ne=Y.get(ye,"value"))!==void 0?ne:(ne=ye.value,typeof ne=="string"?ne.replace(Ge,""):ne??"")):void 0}}),k.extend({valHooks:{option:{get:function(B){var Y=k.find.attr(B,"value");return Y??Du(k.text(B))}},select:{get:function(B){var Y,ne,oe,ye=B.options,be=B.selectedIndex,Le=B.type==="select-one",Ee=Le?null:[],Be=Le?be+1:ye.length;for(be<0?oe=Be:oe=Le?be:0;oe<Be;oe++)if(ne=ye[oe],(ne.selected||oe===be)&&!ne.disabled&&(!ne.parentNode.disabled||!U(ne.parentNode,"optgroup"))){if(Y=k(ne).val(),Le)return Y;Ee.push(Y)}return Ee},set:function(B,Y){for(var ne,oe,ye=B.options,be=k.makeArray(Y),Le=ye.length;Le--;)oe=ye[Le],(oe.selected=k.inArray(k.valHooks.option.get(oe),be)>-1)&&(ne=!0);return ne||(B.selectedIndex=-1),be}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(B,Y){if(Array.isArray(Y))return B.checked=k.inArray(k(B).val(),Y)>-1}},x.checkOn||(k.valHooks[this].get=function(B){return B.getAttribute("value")===null?"on":B.value})}),x.focusin="onfocusin"in t;var it=/^(?:focusinfocus|focusoutblur)$/,Xt=function(B){B.stopPropagation()};k.extend(k.event,{trigger:function(B,Y,ne,oe){var ye,be,Le,Ee,Be,tt,wt,b,Mt=[ne||D],Vt=h.call(B,"type")?B.type:B,We=h.call(B,"namespace")?B.namespace.split("."):[];if(be=b=Le=ne=ne||D,!(ne.nodeType===3||ne.nodeType===8)&&!it.test(Vt+k.event.triggered)&&(Vt.indexOf(".")>-1&&(We=Vt.split("."),Vt=We.shift(),We.sort()),Be=Vt.indexOf(":")<0&&"on"+Vt,B=B[k.expando]?B:new k.Event(Vt,typeof B=="object"&&B),B.isTrigger=oe?2:3,B.namespace=We.join("."),B.rnamespace=B.namespace?new RegExp("(^|\\.)"+We.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,B.result=void 0,B.target||(B.target=ne),Y=Y==null?[B]:k.makeArray(Y,[B]),wt=k.event.special[Vt]||{},!(!oe&&wt.trigger&&wt.trigger.apply(ne,Y)===!1))){if(!oe&&!wt.noBubble&&!R(ne)){for(Ee=wt.delegateType||Vt,it.test(Ee+Vt)||(be=be.parentNode);be;be=be.parentNode)Mt.push(be),Le=be;Le===(ne.ownerDocument||D)&&Mt.push(Le.defaultView||Le.parentWindow||t)}for(ye=0;(be=Mt[ye++])&&!B.isPropagationStopped();)b=be,B.type=ye>1?Ee:wt.bindType||Vt,tt=(wr.get(be,"events")||Object.create(null))[B.type]&&wr.get(be,"handle"),tt&&tt.apply(be,Y),tt=Be&&be[Be],tt&&tt.apply&&an(be)&&(B.result=tt.apply(be,Y),B.result===!1&&B.preventDefault());return B.type=Vt,!oe&&!B.isDefaultPrevented()&&(!wt._default||wt._default.apply(Mt.pop(),Y)===!1)&&an(ne)&&Be&&E(ne[Vt])&&!R(ne)&&(Le=ne[Be],Le&&(ne[Be]=null),k.event.triggered=Vt,B.isPropagationStopped()&&b.addEventListener(Vt,Xt),ne[Vt](),B.isPropagationStopped()&&b.removeEventListener(Vt,Xt),k.event.triggered=void 0,Le&&(ne[Be]=Le)),B.result}},simulate:function(B,Y,ne){var oe=k.extend(new k.Event,ne,{type:B,isSimulated:!0});k.event.trigger(oe,null,Y)}}),k.fn.extend({trigger:function(B,Y){return this.each(function(){k.event.trigger(B,Y,this)})},triggerHandler:function(B,Y){var ne=this[0];if(ne)return k.event.trigger(B,Y,ne,!0)}}),x.focusin||k.each({focus:"focusin",blur:"focusout"},function(B,Y){var ne=function(oe){k.event.simulate(Y,oe.target,k.event.fix(oe))};k.event.special[Y]={setup:function(){var oe=this.ownerDocument||this.document||this,ye=wr.access(oe,Y);ye||oe.addEventListener(B,ne,!0),wr.access(oe,Y,(ye||0)+1)},teardown:function(){var oe=this.ownerDocument||this.document||this,ye=wr.access(oe,Y)-1;ye?wr.access(oe,Y,ye):(oe.removeEventListener(B,ne,!0),wr.remove(oe,Y))}}});var br=t.location,cn={guid:Date.now()},Ai=/\?/;k.parseXML=function(B){var Y;if(!B||typeof B!="string")return null;try{Y=new t.DOMParser().parseFromString(B,"text/xml")}catch{Y=void 0}return(!Y||Y.getElementsByTagName("parsererror").length)&&k.error("Invalid XML: "+B),Y};var xo=/\[\]$/,po=/\r?\n/g,Wo=/^(?:submit|button|image|reset|file)$/i,ds=/^(?:input|select|textarea|keygen)/i;function tf(B,Y,ne,oe){var ye;if(Array.isArray(Y))k.each(Y,function(be,Le){ne||xo.test(B)?oe(B,Le):tf(B+"["+(typeof Le=="object"&&Le!=null?be:"")+"]",Le,ne,oe)});else if(!ne&&$(Y)==="object")for(ye in Y)tf(B+"["+ye+"]",Y[ye],ne,oe);else oe(B,Y)}k.param=function(B,Y){var ne,oe=[],ye=function(be,Le){var Ee=E(Le)?Le():Le;oe[oe.length]=encodeURIComponent(be)+"="+encodeURIComponent(Ee??"")};if(B==null)return"";if(Array.isArray(B)||B.jquery&&!k.isPlainObject(B))k.each(B,function(){ye(this.name,this.value)});else for(ne in B)tf(ne,B[ne],Y,ye);return oe.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var B=k.prop(this,"elements");return B?k.makeArray(B):this}).filter(function(){var B=this.type;return this.name&&!k(this).is(":disabled")&&ds.test(this.nodeName)&&!Wo.test(B)&&(this.checked||!Bo.test(B))}).map(function(B,Y){var ne=k(this).val();return ne==null?null:Array.isArray(ne)?k.map(ne,function(oe){return{name:Y.name,value:oe.replace(po,`\r
|
|
528
528
|
`)}}):{name:Y.name,value:ne.replace(po,`\r
|
|
529
|
-
`)}}).get()}});var tc=/%20/g,rf=/#.*$/,xc=/([?&])_=[^&]*/,Bf=/^(.*?):[ \t]*([^\r\n]*)$/mg,wc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ps=/^(?:GET|HEAD)$/,Qu=/^\/\//,Fu={},Nu={},zu="*/".concat("*"),Uu=D.createElement("a");Uu.href=br.href;function Ll(B){return function(Y,ne){typeof Y!="string"&&(ne=Y,Y="*");var oe,ye=0,be=Y.toLowerCase().match(Pt)||[];if(E(ne))for(;oe=be[ye++];)oe[0]==="+"?(oe=oe.slice(1)||"*",(B[oe]=B[oe]||[]).unshift(ne)):(B[oe]=B[oe]||[]).push(ne)}}function ms(B,Y,ne,oe){var ye={},be=B===Nu;function Le(Ee){var Be;return ye[Ee]=!0,k.each(B[Ee]||[],function(tt,wt){var b=wt(Y,ne,oe);if(typeof b=="string"&&!be&&!ye[b])return Y.dataTypes.unshift(b),Le(b),!1;if(be)return!(Be=b)}),Be}return Le(Y.dataTypes[0])||!ye["*"]&&Le("*")}function $i(B,Y){var ne,oe,ye=k.ajaxSettings.flatOptions||{};for(ne in Y)Y[ne]!==void 0&&((ye[ne]?B:oe||(oe={}))[ne]=Y[ne]);return oe&&k.extend(!0,B,oe),B}function ru(B,Y,ne){for(var oe,ye,be,Le,Ee=B.contents,Be=B.dataTypes;Be[0]==="*";)Be.shift(),oe===void 0&&(oe=B.mimeType||Y.getResponseHeader("Content-Type"));if(oe){for(ye in Ee)if(Ee[ye]&&Ee[ye].test(oe)){Be.unshift(ye);break}}if(Be[0]in ne)be=Be[0];else{for(ye in ne){if(!Be[0]||B.converters[ye+" "+Be[0]]){be=ye;break}Le||(Le=ye)}be=be||Le}if(be)return be!==Be[0]&&Be.unshift(be),ne[be]}function Df(B,Y,ne,oe){var ye,be,Le,Ee,Be,tt={},wt=B.dataTypes.slice();if(wt[1])for(Le in B.converters)tt[Le.toLowerCase()]=B.converters[Le];for(be=wt.shift();be;)if(B.responseFields[be]&&(ne[B.responseFields[be]]=Y),!Be&&oe&&B.dataFilter&&(Y=B.dataFilter(Y,B.dataType)),Be=be,be=wt.shift(),be){if(be==="*")be=Be;else if(Be!=="*"&&Be!==be){if(Le=tt[Be+" "+be]||tt["* "+be],!Le){for(ye in tt)if(Ee=ye.split(" "),Ee[1]===be&&(Le=tt[Be+" "+Ee[0]]||tt["* "+Ee[0]],Le)){Le===!0?Le=tt[ye]:tt[ye]!==!0&&(be=Ee[0],wt.unshift(Ee[1]));break}}if(Le!==!0)if(Le&&B.throws)Y=Le(Y);else try{Y=Le(Y)}catch(b){return{state:"parsererror",error:Le?b:"No conversion from "+Be+" to "+be}}}}return{state:"success",data:Y}}k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:br.href,type:"GET",isLocal:wc.test(br.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zu,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(B,Y){return Y?$i($i(B,k.ajaxSettings),Y):$i(k.ajaxSettings,B)},ajaxPrefilter:Ll(Fu),ajaxTransport:Ll(Nu),ajax:function(B,Y){typeof B=="object"&&(Y=B,B=void 0),Y=Y||{};var ne,oe,ye,be,Le,Ee,Be,tt,wt,b,Mt=k.ajaxSetup({},Y),Vt=Mt.context||Mt,We=Mt.context&&(Vt.nodeType||Vt.jquery)?k(Vt):k.event,Bn=k.Deferred(),fn=k.Callbacks("once memory"),Fr=Mt.statusCode||{},yi={},Oa={},vn="canceled",Gr={readyState:0,getResponseHeader:function(Vi){var ua;if(Be){if(!be)for(be={};ua=Bf.exec(ye);)be[ua[1].toLowerCase()+" "]=(be[ua[1].toLowerCase()+" "]||[]).concat(ua[2]);ua=be[Vi.toLowerCase()+" "]}return ua==null?null:ua.join(", ")},getAllResponseHeaders:function(){return Be?ye:null},setRequestHeader:function(Vi,ua){return Be==null&&(Vi=Oa[Vi.toLowerCase()]=Oa[Vi.toLowerCase()]||Vi,yi[Vi]=ua),this},overrideMimeType:function(Vi){return Be==null&&(Mt.mimeType=Vi),this},statusCode:function(Vi){var ua;if(Vi)if(Be)Gr.always(Vi[Gr.status]);else for(ua in Vi)Fr[ua]=[Fr[ua],Vi[ua]];return this},abort:function(Vi){var ua=Vi||vn;return ne&&ne.abort(ua),$a(0,ua),this}};if(Bn.promise(Gr),Mt.url=((B||Mt.url||br.href)+"").replace(Qu,br.protocol+"//"),Mt.type=Y.method||Y.type||Mt.method||Mt.type,Mt.dataTypes=(Mt.dataType||"*").toLowerCase().match(Pt)||[""],Mt.crossDomain==null){Ee=D.createElement("a");try{Ee.href=Mt.url,Ee.href=Ee.href,Mt.crossDomain=Uu.protocol+"//"+Uu.host!=Ee.protocol+"//"+Ee.host}catch{Mt.crossDomain=!0}}if(Mt.data&&Mt.processData&&typeof Mt.data!="string"&&(Mt.data=k.param(Mt.data,Mt.traditional)),ms(Fu,Mt,Y,Gr),Be)return Gr;tt=k.event&&Mt.global,tt&&k.active++===0&&k.event.trigger("ajaxStart"),Mt.type=Mt.type.toUpperCase(),Mt.hasContent=!Ps.test(Mt.type),oe=Mt.url.replace(rf,""),Mt.hasContent?Mt.data&&Mt.processData&&(Mt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Mt.data=Mt.data.replace(tc,"+")):(b=Mt.url.slice(oe.length),Mt.data&&(Mt.processData||typeof Mt.data=="string")&&(oe+=(Ai.test(oe)?"&":"?")+Mt.data,delete Mt.data),Mt.cache===!1&&(oe=oe.replace(xc,"$1"),b=(Ai.test(oe)?"&":"?")+"_="+cn.guid+++b),Mt.url=oe+b),Mt.ifModified&&(k.lastModified[oe]&&Gr.setRequestHeader("If-Modified-Since",k.lastModified[oe]),k.etag[oe]&&Gr.setRequestHeader("If-None-Match",k.etag[oe])),(Mt.data&&Mt.hasContent&&Mt.contentType!==!1||Y.contentType)&&Gr.setRequestHeader("Content-Type",Mt.contentType),Gr.setRequestHeader("Accept",Mt.dataTypes[0]&&Mt.accepts[Mt.dataTypes[0]]?Mt.accepts[Mt.dataTypes[0]]+(Mt.dataTypes[0]!=="*"?", "+zu+"; q=0.01":""):Mt.accepts["*"]);for(wt in Mt.headers)Gr.setRequestHeader(wt,Mt.headers[wt]);if(Mt.beforeSend&&(Mt.beforeSend.call(Vt,Gr,Mt)===!1||Be))return Gr.abort();if(vn="abort",fn.add(Mt.complete),Gr.done(Mt.success),Gr.fail(Mt.error),ne=ms(Nu,Mt,Y,Gr),!ne)$a(-1,"No Transport");else{if(Gr.readyState=1,tt&&We.trigger("ajaxSend",[Gr,Mt]),Be)return Gr;Mt.async&&Mt.timeout>0&&(Le=t.setTimeout(function(){Gr.abort("timeout")},Mt.timeout));try{Be=!1,ne.send(yi,$a)}catch(Vi){if(Be)throw Vi;$a(-1,Vi)}}function $a(Vi,ua,Jo,to){var wo,qo,ju,fa,Yn,dt=ua;Be||(Be=!0,Le&&t.clearTimeout(Le),ne=void 0,ye=to||"",Gr.readyState=Vi>0?4:0,wo=Vi>=200&&Vi<300||Vi===304,Jo&&(fa=ru(Mt,Gr,Jo)),!wo&&k.inArray("script",Mt.dataTypes)>-1&&(Mt.converters["text script"]=function(){}),fa=Df(Mt,fa,Gr,wo),wo?(Mt.ifModified&&(Yn=Gr.getResponseHeader("Last-Modified"),Yn&&(k.lastModified[oe]=Yn),Yn=Gr.getResponseHeader("etag"),Yn&&(k.etag[oe]=Yn)),Vi===204||Mt.type==="HEAD"?dt="nocontent":Vi===304?dt="notmodified":(dt=fa.state,qo=fa.data,ju=fa.error,wo=!ju)):(ju=dt,(Vi||!dt)&&(dt="error",Vi<0&&(Vi=0))),Gr.status=Vi,Gr.statusText=(ua||dt)+"",wo?Bn.resolveWith(Vt,[qo,dt,Gr]):Bn.rejectWith(Vt,[Gr,dt,ju]),Gr.statusCode(Fr),Fr=void 0,tt&&We.trigger(wo?"ajaxSuccess":"ajaxError",[Gr,Mt,wo?qo:ju]),fn.fireWith(Vt,[Gr,dt]),tt&&(We.trigger("ajaxComplete",[Gr,Mt]),--k.active||k.event.trigger("ajaxStop")))}return Gr},getJSON:function(B,Y,ne){return k.get(B,Y,ne,"json")},getScript:function(B,Y){return k.get(B,void 0,Y,"script")}}),k.each(["get","post"],function(B,Y){k[Y]=function(ne,oe,ye,be){return E(oe)&&(be=be||ye,ye=oe,oe=void 0),k.ajax(k.extend({url:ne,type:Y,dataType:be,data:oe,success:ye},k.isPlainObject(ne)&&ne))}}),k.ajaxPrefilter(function(B){var Y;for(Y in B.headers)Y.toLowerCase()==="content-type"&&(B.contentType=B.headers[Y]||"")}),k._evalUrl=function(B,Y,ne){return k.ajax({url:B,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(oe){k.globalEval(oe,Y,ne)}})},k.fn.extend({wrapAll:function(B){var Y;return this[0]&&(E(B)&&(B=B.call(this[0])),Y=k(B,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&Y.insertBefore(this[0]),Y.map(function(){for(var ne=this;ne.firstElementChild;)ne=ne.firstElementChild;return ne}).append(this)),this},wrapInner:function(B){return E(B)?this.each(function(Y){k(this).wrapInner(B.call(this,Y))}):this.each(function(){var Y=k(this),ne=Y.contents();ne.length?ne.wrapAll(B):Y.append(B)})},wrap:function(B){var Y=E(B);return this.each(function(ne){k(this).wrapAll(Y?B.call(this,ne):B)})},unwrap:function(B){return this.parent(B).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(B){return!k.expr.pseudos.visible(B)},k.expr.pseudos.visible=function(B){return!!(B.offsetWidth||B.offsetHeight||B.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Ff={0:200,1223:204},rc=k.ajaxSettings.xhr();x.cors=!!rc&&"withCredentials"in rc,x.ajax=rc=!!rc,k.ajaxTransport(function(B){var Y,ne;if(x.cors||rc&&!B.crossDomain)return{send:function(oe,ye){var be,Le=B.xhr();if(Le.open(B.type,B.url,B.async,B.username,B.password),B.xhrFields)for(be in B.xhrFields)Le[be]=B.xhrFields[be];B.mimeType&&Le.overrideMimeType&&Le.overrideMimeType(B.mimeType),!B.crossDomain&&!oe["X-Requested-With"]&&(oe["X-Requested-With"]="XMLHttpRequest");for(be in oe)Le.setRequestHeader(be,oe[be]);Y=function(Ee){return function(){Y&&(Y=ne=Le.onload=Le.onerror=Le.onabort=Le.ontimeout=Le.onreadystatechange=null,Ee==="abort"?Le.abort():Ee==="error"?typeof Le.status!="number"?ye(0,"error"):ye(Le.status,Le.statusText):ye(Ff[Le.status]||Le.status,Le.statusText,(Le.responseType||"text")!=="text"||typeof Le.responseText!="string"?{binary:Le.response}:{text:Le.responseText},Le.getAllResponseHeaders()))}},Le.onload=Y(),ne=Le.onerror=Le.ontimeout=Y("error"),Le.onabort!==void 0?Le.onabort=ne:Le.onreadystatechange=function(){Le.readyState===4&&t.setTimeout(function(){Y&&ne()})},Y=Y("abort");try{Le.send(B.hasContent&&B.data||null)}catch(Ee){if(Y)throw Ee}},abort:function(){Y&&Y()}}}),k.ajaxPrefilter(function(B){B.crossDomain&&(B.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(B){return k.globalEval(B),B}}}),k.ajaxPrefilter("script",function(B){B.cache===void 0&&(B.cache=!1),B.crossDomain&&(B.type="GET")}),k.ajaxTransport("script",function(B){if(B.crossDomain||B.scriptAttrs){var Y,ne;return{send:function(oe,ye){Y=k("<script>").attr(B.scriptAttrs||{}).prop({charset:B.scriptCharset,src:B.url}).on("load error",ne=function(be){Y.remove(),ne=null,be&&ye(be.type==="error"?404:200,be.type)}),D.head.appendChild(Y[0])},abort:function(){ne&&ne()}}}});var el=[],Tc=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var B=el.pop()||k.expando+"_"+cn.guid++;return this[B]=!0,B}}),k.ajaxPrefilter("json jsonp",function(B,Y,ne){var oe,ye,be,Le=B.jsonp!==!1&&(Tc.test(B.url)?"url":typeof B.data=="string"&&(B.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Tc.test(B.data)&&"data");if(Le||B.dataTypes[0]==="jsonp")return oe=B.jsonpCallback=E(B.jsonpCallback)?B.jsonpCallback():B.jsonpCallback,Le?B[Le]=B[Le].replace(Tc,"$1"+oe):B.jsonp!==!1&&(B.url+=(Ai.test(B.url)?"&":"?")+B.jsonp+"="+oe),B.converters["script json"]=function(){return be||k.error(oe+" was not called"),be[0]},B.dataTypes[0]="json",ye=t[oe],t[oe]=function(){be=arguments},ne.always(function(){ye===void 0?k(t).removeProp(oe):t[oe]=ye,B[oe]&&(B.jsonpCallback=Y.jsonpCallback,el.push(oe)),be&&E(ye)&&ye(be[0]),be=ye=void 0}),"script"}),x.createHTMLDocument=function(){var B=D.implementation.createHTMLDocument("").body;return B.innerHTML="<form></form><form></form>",B.childNodes.length===2}(),k.parseHTML=function(B,Y,ne){if(typeof B!="string")return[];typeof Y=="boolean"&&(ne=Y,Y=!1);var oe,ye,be;return Y||(x.createHTMLDocument?(Y=D.implementation.createHTMLDocument(""),oe=Y.createElement("base"),oe.href=D.location.href,Y.head.appendChild(oe)):Y=D),ye=re.exec(B),be=!ne&&[],ye?[Y.createElement(ye[1])]:(ye=Hs([B],Y,be),be&&be.length&&k(be).remove(),k.merge([],ye.childNodes))},k.fn.load=function(B,Y,ne){var oe,ye,be,Le=this,Ee=B.indexOf(" ");return Ee>-1&&(oe=Du(B.slice(Ee)),B=B.slice(0,Ee)),E(Y)?(ne=Y,Y=void 0):Y&&typeof Y=="object"&&(ye="POST"),Le.length>0&&k.ajax({url:B,type:ye||"GET",dataType:"html",data:Y}).done(function(Be){be=arguments,Le.html(oe?k("<div>").append(k.parseHTML(Be)).find(oe):Be)}).always(ne&&function(Be,tt){Le.each(function(){ne.apply(this,be||[Be.responseText,tt,Be])})}),this},k.expr.pseudos.animated=function(B){return k.grep(k.timers,function(Y){return B===Y.elem}).length},k.offset={setOffset:function(B,Y,ne){var oe,ye,be,Le,Ee,Be,tt,wt=k.css(B,"position"),b=k(B),Mt={};wt==="static"&&(B.style.position="relative"),Ee=b.offset(),be=k.css(B,"top"),Be=k.css(B,"left"),tt=(wt==="absolute"||wt==="fixed")&&(be+Be).indexOf("auto")>-1,tt?(oe=b.position(),Le=oe.top,ye=oe.left):(Le=parseFloat(be)||0,ye=parseFloat(Be)||0),E(Y)&&(Y=Y.call(B,ne,k.extend({},Ee))),Y.top!=null&&(Mt.top=Y.top-Ee.top+Le),Y.left!=null&&(Mt.left=Y.left-Ee.left+ye),"using"in Y?Y.using.call(B,Mt):(typeof Mt.top=="number"&&(Mt.top+="px"),typeof Mt.left=="number"&&(Mt.left+="px"),b.css(Mt))}},k.fn.extend({offset:function(B){if(arguments.length)return B===void 0?this:this.each(function(ye){k.offset.setOffset(this,B,ye)});var Y,ne,oe=this[0];if(oe)return oe.getClientRects().length?(Y=oe.getBoundingClientRect(),ne=oe.ownerDocument.defaultView,{top:Y.top+ne.pageYOffset,left:Y.left+ne.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var B,Y,ne,oe=this[0],ye={top:0,left:0};if(k.css(oe,"position")==="fixed")Y=oe.getBoundingClientRect();else{for(Y=this.offset(),ne=oe.ownerDocument,B=oe.offsetParent||ne.documentElement;B&&(B===ne.body||B===ne.documentElement)&&k.css(B,"position")==="static";)B=B.parentNode;B&&B!==oe&&B.nodeType===1&&(ye=k(B).offset(),ye.top+=k.css(B,"borderTopWidth",!0),ye.left+=k.css(B,"borderLeftWidth",!0))}return{top:Y.top-ye.top-k.css(oe,"marginTop",!0),left:Y.left-ye.left-k.css(oe,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var B=this.offsetParent;B&&k.css(B,"position")==="static";)B=B.offsetParent;return B||di})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(B,Y){var ne=Y==="pageYOffset";k.fn[B]=function(oe){return Ve(this,function(ye,be,Le){var Ee;if(R(ye)?Ee=ye:ye.nodeType===9&&(Ee=ye.defaultView),Le===void 0)return Ee?Ee[Y]:ye[be];Ee?Ee.scrollTo(ne?Ee.pageXOffset:Le,ne?Le:Ee.pageYOffset):ye[be]=Le},B,oe,arguments.length)}}),k.each(["top","left"],function(B,Y){k.cssHooks[Y]=Wn(x.pixelPosition,function(ne,oe){if(oe)return oe=_r(ne,Y),Dr.test(oe)?k(ne).position()[Y]+"px":oe})}),k.each({Height:"height",Width:"width"},function(B,Y){k.each({padding:"inner"+B,content:Y,"":"outer"+B},function(ne,oe){k.fn[oe]=function(ye,be){var Le=arguments.length&&(ne||typeof ye!="boolean"),Ee=ne||(ye===!0||be===!0?"margin":"border");return Ve(this,function(Be,tt,wt){var b;return R(Be)?oe.indexOf("outer")===0?Be["inner"+B]:Be.document.documentElement["client"+B]:Be.nodeType===9?(b=Be.documentElement,Math.max(Be.body["scroll"+B],b["scroll"+B],Be.body["offset"+B],b["offset"+B],b["client"+B])):wt===void 0?k.css(Be,tt,Ee):k.style(Be,tt,wt,Ee)},Y,Le?ye:void 0,Le)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(B,Y){k.fn[Y]=function(ne){return this.on(Y,ne)}}),k.fn.extend({bind:function(B,Y,ne){return this.on(B,null,Y,ne)},unbind:function(B,Y){return this.off(B,null,Y)},delegate:function(B,Y,ne,oe){return this.on(Y,B,ne,oe)},undelegate:function(B,Y,ne){return arguments.length===1?this.off(B,"**"):this.off(Y,B||"**",ne)},hover:function(B,Y){return this.mouseenter(B).mouseleave(Y||B)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(B,Y){k.fn[Y]=function(ne,oe){return arguments.length>0?this.on(Y,null,ne,oe):this.trigger(Y)}});var nc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(B,Y){var ne,oe,ye;if(typeof Y=="string"&&(ne=B[Y],Y=B,B=ne),!!E(B))return oe=i.call(arguments,2),ye=function(){return B.apply(Y||this,oe.concat(i.call(arguments)))},ye.guid=B.guid=B.guid||k.guid++,ye},k.holdReady=function(B){B?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=U,k.isFunction=E,k.isWindow=R,k.camelCase=tn,k.type=$,k.now=Date.now,k.isNumeric=function(B){var Y=k.type(B);return(Y==="number"||Y==="string")&&!isNaN(B-parseFloat(B))},k.trim=function(B){return B==null?"":(B+"").replace(nc,"")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return k});var Sc=t.jQuery,_u=t.$;return k.noConflict=function(B){return t.$===k&&(t.$=_u),B&&t.jQuery===k&&(t.jQuery=Sc),k},typeof r>"u"&&(t.jQuery=t.$=k),k})});var bB=mr(_B=>{(function(t){var r=typeof self=="object"&&self.self==self&&self||typeof global=="object"&&global.global==global&&global;if(typeof define=="function"&&define.amd)define(["underscore","jquery","exports"],function(i,a,o){r.Backbone=t(r,o,i,a)});else if(typeof _B<"u"){var e=Une(),n;try{n=yB()}catch{}t(r,_B,e,n)}else r.Backbone=t(r,{},r._,r.jQuery||r.Zepto||r.ender||r.$)})(function(t,r,e,n){var i=t.Backbone,a=Array.prototype.slice;r.VERSION="1.2.3",r.$=n,r.noConflict=function(){return t.Backbone=i,this},r.emulateHTTP=!1,r.emulateJSON=!1;var o=function(pe,xe,Ve){switch(pe){case 1:return function(){return e[xe](this[Ve])};case 2:return function(bt){return e[xe](this[Ve],bt)};case 3:return function(bt,Yt){return e[xe](this[Ve],u(bt,this),Yt)};case 4:return function(bt,Yt,jt){return e[xe](this[Ve],u(bt,this),Yt,jt)};default:return function(){var bt=a.call(arguments);return bt.unshift(this[Ve]),e[xe].apply(e,bt)}}},s=function(pe,xe,Ve){e.each(xe,function(bt,Yt){e[Yt]&&(pe.prototype[Yt]=o(bt,Yt,Ve))})},u=function(pe,xe){return e.isFunction(pe)?pe:e.isObject(pe)&&!xe._isModel(pe)?c(pe):e.isString(pe)?function(Ve){return Ve.get(pe)}:pe},c=function(pe){var xe=e.matches(pe);return function(Ve){return xe(Ve.attributes)}},h=r.Events={},p=/\s+/,v=function(pe,xe,Ve,bt,Yt){var jt=0,tn;if(Ve&&typeof Ve=="object")for(bt!==void 0&&("context"in Yt)&&Yt.context===void 0&&(Yt.context=bt),tn=e.keys(Ve);jt<tn.length;jt++)xe=v(pe,xe,tn[jt],Ve[tn[jt]],Yt);else if(Ve&&p.test(Ve))for(tn=Ve.split(p);jt<tn.length;jt++)xe=pe(xe,tn[jt],bt,Yt);else xe=pe(xe,Ve,bt,Yt);return xe};h.on=function(pe,xe,Ve){return x(this,pe,xe,Ve)};var x=function(pe,xe,Ve,bt,Yt){if(pe._events=v(E,pe._events||{},xe,Ve,{context:bt,ctx:pe,listening:Yt}),Yt){var jt=pe._listeners||(pe._listeners={});jt[Yt.id]=Yt}return pe};h.listenTo=function(pe,xe,Ve){if(!pe)return this;var bt=pe._listenId||(pe._listenId=e.uniqueId("l")),Yt=this._listeningTo||(this._listeningTo={}),jt=Yt[bt];if(!jt){var tn=this._listenId||(this._listenId=e.uniqueId("l"));jt=Yt[bt]={obj:pe,objId:bt,id:tn,listeningTo:Yt,count:0}}return x(pe,xe,Ve,this,jt),this};var E=function(pe,xe,Ve,bt){if(Ve){var Yt=pe[xe]||(pe[xe]=[]),jt=bt.context,tn=bt.ctx,an=bt.listening;an&&an.count++,Yt.push({callback:Ve,context:jt,ctx:jt||tn,listening:an})}return pe};h.off=function(pe,xe,Ve){return this._events?(this._events=v(R,this._events,pe,xe,{context:Ve,listeners:this._listeners}),this):this},h.stopListening=function(pe,xe,Ve){var bt=this._listeningTo;if(!bt)return this;for(var Yt=pe?[pe._listenId]:e.keys(bt),jt=0;jt<Yt.length;jt++){var tn=bt[Yt[jt]];if(!tn)break;tn.obj.off(xe,Ve,this)}return e.isEmpty(bt)&&(this._listeningTo=void 0),this};var R=function(pe,xe,Ve,bt){if(pe){var Yt=0,jt,tn=bt.context,an=bt.listeners;if(!xe&&!Ve&&!tn){for(var Fn=e.keys(an);Yt<Fn.length;Yt++)jt=an[Fn[Yt]],delete an[jt.id],delete jt.listeningTo[jt.objId];return}for(var wr=xe?[xe]:e.keys(pe);Yt<wr.length;Yt++){xe=wr[Yt];var Nn=pe[xe];if(!Nn)break;for(var pi=[],Ti=0;Ti<Nn.length;Ti++){var ka=Nn[Ti];Ve&&Ve!==ka.callback&&Ve!==ka.callback._callback||tn&&tn!==ka.context?pi.push(ka):(jt=ka.listening,jt&&--jt.count===0&&(delete an[jt.id],delete jt.listeningTo[jt.objId]))}pi.length?pe[xe]=pi:delete pe[xe]}if(e.size(pe))return pe}};h.once=function(pe,xe,Ve){var bt=v(D,{},pe,xe,e.bind(this.off,this));return this.on(bt,void 0,Ve)},h.listenToOnce=function(pe,xe,Ve){var bt=v(D,{},xe,Ve,e.bind(this.stopListening,this,pe));return this.listenTo(pe,bt)};var D=function(pe,xe,Ve,bt){if(Ve){var Yt=pe[xe]=e.once(function(){bt(xe,Yt),Ve.apply(this,arguments)});Yt._callback=Ve}return pe};h.trigger=function(pe){if(!this._events)return this;for(var xe=Math.max(0,arguments.length-1),Ve=Array(xe),bt=0;bt<xe;bt++)Ve[bt]=arguments[bt+1];return v(H,this._events,pe,void 0,Ve),this};var H=function(pe,xe,Ve,bt){if(pe){var Yt=pe[xe],jt=pe.all;Yt&&jt&&(jt=jt.slice()),Yt&&W(Yt,bt),jt&&W(jt,[xe].concat(bt))}return pe},W=function(pe,xe){var Ve,bt=-1,Yt=pe.length,jt=xe[0],tn=xe[1],an=xe[2];switch(xe.length){case 0:for(;++bt<Yt;)(Ve=pe[bt]).callback.call(Ve.ctx);return;case 1:for(;++bt<Yt;)(Ve=pe[bt]).callback.call(Ve.ctx,jt);return;case 2:for(;++bt<Yt;)(Ve=pe[bt]).callback.call(Ve.ctx,jt,tn);return;case 3:for(;++bt<Yt;)(Ve=pe[bt]).callback.call(Ve.ctx,jt,tn,an);return;default:for(;++bt<Yt;)(Ve=pe[bt]).callback.apply(Ve.ctx,xe);return}};h.bind=h.on,h.unbind=h.off,e.extend(r,h);var $=r.Model=function(pe,xe){var Ve=pe||{};xe||(xe={}),this.cid=e.uniqueId(this.cidPrefix),this.attributes={},xe.collection&&(this.collection=xe.collection),xe.parse&&(Ve=this.parse(Ve,xe)||{}),Ve=e.defaults({},Ve,e.result(this,"defaults")),this.set(Ve,xe),this.changed={},this.initialize.apply(this,arguments)};e.extend($.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(pe){return e.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(pe){return this.attributes[pe]},escape:function(pe){return e.escape(this.get(pe))},has:function(pe){return this.get(pe)!=null},matches:function(pe){return!!e.iteratee(pe,this)(this.attributes)},set:function(pe,xe,Ve){if(pe==null)return this;var bt;if(typeof pe=="object"?(bt=pe,Ve=xe):(bt={})[pe]=xe,Ve||(Ve={}),!this._validate(bt,Ve))return!1;var Yt=Ve.unset,jt=Ve.silent,tn=[],an=this._changing;this._changing=!0,an||(this._previousAttributes=e.clone(this.attributes),this.changed={});var Fn=this.attributes,wr=this.changed,Nn=this._previousAttributes;for(var pi in bt)xe=bt[pi],e.isEqual(Fn[pi],xe)||tn.push(pi),e.isEqual(Nn[pi],xe)?delete wr[pi]:wr[pi]=xe,Yt?delete Fn[pi]:Fn[pi]=xe;if(this.id=this.get(this.idAttribute),!jt){tn.length&&(this._pending=Ve);for(var Ti=0;Ti<tn.length;Ti++)this.trigger("change:"+tn[Ti],this,Fn[tn[Ti]],Ve)}if(an)return this;if(!jt)for(;this._pending;)Ve=this._pending,this._pending=!1,this.trigger("change",this,Ve);return this._pending=!1,this._changing=!1,this},unset:function(pe,xe){return this.set(pe,void 0,e.extend({},xe,{unset:!0}))},clear:function(pe){var xe={};for(var Ve in this.attributes)xe[Ve]=void 0;return this.set(xe,e.extend({},pe,{unset:!0}))},hasChanged:function(pe){return pe==null?!e.isEmpty(this.changed):e.has(this.changed,pe)},changedAttributes:function(pe){if(!pe)return this.hasChanged()?e.clone(this.changed):!1;var xe=this._changing?this._previousAttributes:this.attributes,Ve={};for(var bt in pe){var Yt=pe[bt];e.isEqual(xe[bt],Yt)||(Ve[bt]=Yt)}return e.size(Ve)?Ve:!1},previous:function(pe){return pe==null||!this._previousAttributes?null:this._previousAttributes[pe]},previousAttributes:function(){return e.clone(this._previousAttributes)},fetch:function(pe){pe=e.extend({parse:!0},pe);var xe=this,Ve=pe.success;return pe.success=function(bt){var Yt=pe.parse?xe.parse(bt,pe):bt;if(!xe.set(Yt,pe))return!1;Ve&&Ve.call(pe.context,xe,bt,pe),xe.trigger("sync",xe,bt,pe)},Or(this,pe),this.sync("read",this,pe)},save:function(pe,xe,Ve){var bt;pe==null||typeof pe=="object"?(bt=pe,Ve=xe):(bt={})[pe]=xe,Ve=e.extend({validate:!0,parse:!0},Ve);var Yt=Ve.wait;if(bt&&!Yt){if(!this.set(bt,Ve))return!1}else if(!this._validate(bt,Ve))return!1;var jt=this,tn=Ve.success,an=this.attributes;Ve.success=function(Nn){jt.attributes=an;var pi=Ve.parse?jt.parse(Nn,Ve):Nn;if(Yt&&(pi=e.extend({},bt,pi)),pi&&!jt.set(pi,Ve))return!1;tn&&tn.call(Ve.context,jt,Nn,Ve),jt.trigger("sync",jt,Nn,Ve)},Or(this,Ve),bt&&Yt&&(this.attributes=e.extend({},an,bt));var Fn=this.isNew()?"create":Ve.patch?"patch":"update";Fn==="patch"&&!Ve.attrs&&(Ve.attrs=bt);var wr=this.sync(Fn,this,Ve);return this.attributes=an,wr},destroy:function(pe){pe=pe?e.clone(pe):{};var xe=this,Ve=pe.success,bt=pe.wait,Yt=function(){xe.stopListening(),xe.trigger("destroy",xe,xe.collection,pe)};pe.success=function(tn){bt&&Yt(),Ve&&Ve.call(pe.context,xe,tn,pe),xe.isNew()||xe.trigger("sync",xe,tn,pe)};var jt=!1;return this.isNew()?e.defer(pe.success):(Or(this,pe),jt=this.sync("delete",this,pe)),bt||Yt(),jt},url:function(){var pe=e.result(this,"urlRoot")||e.result(this.collection,"url")||zt();if(this.isNew())return pe;var xe=this.get(this.idAttribute);return pe.replace(/[^\/]$/,"$&/")+encodeURIComponent(xe)},parse:function(pe,xe){return pe},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(pe){return this._validate({},e.defaults({validate:!0},pe))},_validate:function(pe,xe){if(!xe.validate||!this.validate)return!0;pe=e.extend({},this.attributes,pe);var Ve=this.validationError=this.validate(pe,xe)||null;return Ve?(this.trigger("invalid",this,Ve,e.extend(xe,{validationError:Ve})),!1):!0}});var J={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};s($,J,"attributes");var k=r.Collection=function(pe,xe){xe||(xe={}),xe.model&&(this.model=xe.model),xe.comparator!==void 0&&(this.comparator=xe.comparator),this._reset(),this.initialize.apply(this,arguments),pe&&this.reset(pe,e.extend({silent:!0},xe))},se={add:!0,remove:!0,merge:!0},V={add:!0,remove:!1},X=function(pe,xe,Ve){Ve=Math.min(Math.max(Ve,0),pe.length);for(var bt=Array(pe.length-Ve),Yt=xe.length,jt=0;jt<bt.length;jt++)bt[jt]=pe[jt+Ve];for(jt=0;jt<Yt;jt++)pe[jt+Ve]=xe[jt];for(jt=0;jt<bt.length;jt++)pe[jt+Yt+Ve]=bt[jt]};e.extend(k.prototype,h,{model:$,initialize:function(){},toJSON:function(pe){return this.map(function(xe){return xe.toJSON(pe)})},sync:function(){return r.sync.apply(this,arguments)},add:function(pe,xe){return this.set(pe,e.extend({merge:!1},xe,V))},remove:function(pe,xe){xe=e.extend({},xe);var Ve=!e.isArray(pe);pe=Ve?[pe]:e.clone(pe);var bt=this._removeModels(pe,xe);return!xe.silent&&bt&&this.trigger("update",this,xe),Ve?bt[0]:bt},set:function(pe,xe){if(pe!=null){xe=e.defaults({},xe,se),xe.parse&&!this._isModel(pe)&&(pe=this.parse(pe,xe));var Ve=!e.isArray(pe);pe=Ve?[pe]:pe.slice();var bt=xe.at;bt!=null&&(bt=+bt),bt<0&&(bt+=this.length+1);for(var Yt=[],jt=[],tn=[],an={},Fn=xe.add,wr=xe.merge,Nn=xe.remove,pi=!1,Ti=this.comparator&&bt==null&&xe.sort!==!1,ka=e.isString(this.comparator)?this.comparator:null,si,Hn=0;Hn<pe.length;Hn++){si=pe[Hn];var Di=this.get(si);if(Di){if(wr&&si!==Di){var Yi=this._isModel(si)?si.attributes:si;xe.parse&&(Yi=Di.parse(Yi,xe)),Di.set(Yi,xe),Ti&&!pi&&(pi=Di.hasChanged(ka))}an[Di.cid]||(an[Di.cid]=!0,Yt.push(Di)),pe[Hn]=Di}else Fn&&(si=pe[Hn]=this._prepareModel(si,xe),si&&(jt.push(si),this._addReference(si,xe),an[si.cid]=!0,Yt.push(si)))}if(Nn){for(Hn=0;Hn<this.length;Hn++)si=this.models[Hn],an[si.cid]||tn.push(si);tn.length&&this._removeModels(tn,xe)}var di=!1,jr=!Ti&&Fn&&Nn;if(Yt.length&&jr?(di=this.length!=Yt.length||e.some(this.models,function(Jr,Br){return Jr!==Yt[Br]}),this.models.length=0,X(this.models,Yt,0),this.length=this.models.length):jt.length&&(Ti&&(pi=!0),X(this.models,jt,bt??this.length),this.length=this.models.length),pi&&this.sort({silent:!0}),!xe.silent){for(Hn=0;Hn<jt.length;Hn++)bt!=null&&(xe.index=bt+Hn),si=jt[Hn],si.trigger("add",si,this,xe);(pi||di)&&this.trigger("sort",this,xe),(jt.length||tn.length)&&this.trigger("update",this,xe)}return Ve?pe[0]:pe}},reset:function(pe,xe){xe=xe?e.clone(xe):{};for(var Ve=0;Ve<this.models.length;Ve++)this._removeReference(this.models[Ve],xe);return xe.previousModels=this.models,this._reset(),pe=this.add(pe,e.extend({silent:!0},xe)),xe.silent||this.trigger("reset",this,xe),pe},push:function(pe,xe){return this.add(pe,e.extend({at:this.length},xe))},pop:function(pe){var xe=this.at(this.length-1);return this.remove(xe,pe)},unshift:function(pe,xe){return this.add(pe,e.extend({at:0},xe))},shift:function(pe){var xe=this.at(0);return this.remove(xe,pe)},slice:function(){return a.apply(this.models,arguments)},get:function(pe){if(pe!=null){var xe=this.modelId(this._isModel(pe)?pe.attributes:pe);return this._byId[pe]||this._byId[xe]||this._byId[pe.cid]}},at:function(pe){return pe<0&&(pe+=this.length),this.models[pe]},where:function(pe,xe){return this[xe?"find":"filter"](pe)},findWhere:function(pe){return this.where(pe,!0)},sort:function(pe){var xe=this.comparator;if(!xe)throw new Error("Cannot sort a set without a comparator");pe||(pe={});var Ve=xe.length;return e.isFunction(xe)&&(xe=e.bind(xe,this)),Ve===1||e.isString(xe)?this.models=this.sortBy(xe):this.models.sort(xe),pe.silent||this.trigger("sort",this,pe),this},pluck:function(pe){return e.invoke(this.models,"get",pe)},fetch:function(pe){pe=e.extend({parse:!0},pe);var xe=pe.success,Ve=this;return pe.success=function(bt){var Yt=pe.reset?"reset":"set";Ve[Yt](bt,pe),xe&&xe.call(pe.context,Ve,bt,pe),Ve.trigger("sync",Ve,bt,pe)},Or(this,pe),this.sync("read",this,pe)},create:function(pe,xe){xe=xe?e.clone(xe):{};var Ve=xe.wait;if(pe=this._prepareModel(pe,xe),!pe)return!1;Ve||this.add(pe,xe);var bt=this,Yt=xe.success;return xe.success=function(jt,tn,an){Ve&&bt.add(jt,an),Yt&&Yt.call(an.context,jt,tn,an)},pe.save(null,xe),pe},parse:function(pe,xe){return pe},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(pe){return pe[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(pe,xe){if(this._isModel(pe))return pe.collection||(pe.collection=this),pe;xe=xe?e.clone(xe):{},xe.collection=this;var Ve=new this.model(pe,xe);return Ve.validationError?(this.trigger("invalid",this,Ve.validationError,xe),!1):Ve},_removeModels:function(pe,xe){for(var Ve=[],bt=0;bt<pe.length;bt++){var Yt=this.get(pe[bt]);if(Yt){var jt=this.indexOf(Yt);this.models.splice(jt,1),this.length--,xe.silent||(xe.index=jt,Yt.trigger("remove",Yt,this,xe)),Ve.push(Yt),this._removeReference(Yt,xe)}}return Ve.length?Ve:!1},_isModel:function(pe){return pe instanceof $},_addReference:function(pe,xe){this._byId[pe.cid]=pe;var Ve=this.modelId(pe.attributes);Ve!=null&&(this._byId[Ve]=pe),pe.on("all",this._onModelEvent,this)},_removeReference:function(pe,xe){delete this._byId[pe.cid];var Ve=this.modelId(pe.attributes);Ve!=null&&delete this._byId[Ve],this===pe.collection&&delete pe.collection,pe.off("all",this._onModelEvent,this)},_onModelEvent:function(pe,xe,Ve,bt){if(!((pe==="add"||pe==="remove")&&Ve!==this)){if(pe==="destroy"&&this.remove(xe,bt),pe==="change"){var Yt=this.modelId(xe.previousAttributes()),jt=this.modelId(xe.attributes);Yt!==jt&&(Yt!=null&&delete this._byId[Yt],jt!=null&&(this._byId[jt]=xe))}this.trigger.apply(this,arguments)}}});var I={forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3};s(k,I,"models");var O=r.View=function(pe){this.cid=e.uniqueId("view"),e.extend(this,e.pick(pe,re)),this._ensureElement(),this.initialize.apply(this,arguments)},U=/^(\S+)\s*(.*)$/,re=["model","collection","el","id","attributes","className","tagName","events"];e.extend(O.prototype,h,{tagName:"div",$:function(pe){return this.$el.find(pe)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(pe){return this.undelegateEvents(),this._setElement(pe),this.delegateEvents(),this},_setElement:function(pe){this.$el=pe instanceof r.$?pe:r.$(pe),this.el=this.$el[0]},delegateEvents:function(pe){if(pe||(pe=e.result(this,"events")),!pe)return this;this.undelegateEvents();for(var xe in pe){var Ve=pe[xe];if(e.isFunction(Ve)||(Ve=this[Ve]),!!Ve){var bt=xe.match(U);this.delegate(bt[1],bt[2],e.bind(Ve,this))}}return this},delegate:function(pe,xe,Ve){return this.$el.on(pe+".delegateEvents"+this.cid,xe,Ve),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(pe,xe,Ve){return this.$el.off(pe+".delegateEvents"+this.cid,xe,Ve),this},_createElement:function(pe){return document.createElement(pe)},_ensureElement:function(){if(this.el)this.setElement(e.result(this,"el"));else{var pe=e.extend({},e.result(this,"attributes"));this.id&&(pe.id=e.result(this,"id")),this.className&&(pe.class=e.result(this,"className")),this.setElement(this._createElement(e.result(this,"tagName"))),this._setAttributes(pe)}},_setAttributes:function(pe){this.$el.attr(pe)}}),r.sync=function(pe,xe,Ve){var bt=ee[pe];e.defaults(Ve||(Ve={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var Yt={type:bt,dataType:"json"};if(Ve.url||(Yt.url=e.result(xe,"url")||zt()),Ve.data==null&&xe&&(pe==="create"||pe==="update"||pe==="patch")&&(Yt.contentType="application/json",Yt.data=JSON.stringify(Ve.attrs||xe.toJSON(Ve))),Ve.emulateJSON&&(Yt.contentType="application/x-www-form-urlencoded",Yt.data=Yt.data?{model:Yt.data}:{}),Ve.emulateHTTP&&(bt==="PUT"||bt==="DELETE"||bt==="PATCH")){Yt.type="POST",Ve.emulateJSON&&(Yt.data._method=bt);var jt=Ve.beforeSend;Ve.beforeSend=function(Fn){if(Fn.setRequestHeader("X-HTTP-Method-Override",bt),jt)return jt.apply(this,arguments)}}Yt.type!=="GET"&&!Ve.emulateJSON&&(Yt.processData=!1);var tn=Ve.error;Ve.error=function(Fn,wr,Nn){Ve.textStatus=wr,Ve.errorThrown=Nn,tn&&tn.call(Ve.context,Fn,wr,Nn)};var an=Ve.xhr=r.ajax(e.extend(Yt,Ve));return xe.trigger("request",xe,an,Ve),an};var ee={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var he=r.Router=function(pe){pe||(pe={}),pe.routes&&(this.routes=pe.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},Ne=/\((.*?)\)/g,qe=/(\(\?)?:\w+/g,He=/\*\w+/g,ct=/[\-{}\[\]+?.,\\\^$|#\s]/g;e.extend(he.prototype,h,{initialize:function(){},route:function(pe,xe,Ve){e.isRegExp(pe)||(pe=this._routeToRegExp(pe)),e.isFunction(xe)&&(Ve=xe,xe=""),Ve||(Ve=this[xe]);var bt=this;return r.history.route(pe,function(Yt){var jt=bt._extractParameters(pe,Yt);bt.execute(Ve,jt,xe)!==!1&&(bt.trigger.apply(bt,["route:"+xe].concat(jt)),bt.trigger("route",xe,jt),r.history.trigger("route",bt,xe,jt))}),this},execute:function(pe,xe,Ve){pe&&pe.apply(this,xe)},navigate:function(pe,xe){return r.history.navigate(pe,xe),this},_bindRoutes:function(){if(this.routes){this.routes=e.result(this,"routes");for(var pe,xe=e.keys(this.routes);(pe=xe.pop())!=null;)this.route(pe,this.routes[pe])}},_routeToRegExp:function(pe){return pe=pe.replace(ct,"\\$&").replace(Ne,"(?:$1)?").replace(qe,function(xe,Ve){return Ve?xe:"([^/?]+)"}).replace(He,"([^?]*?)"),new RegExp("^"+pe+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(pe,xe){var Ve=pe.exec(xe).slice(1);return e.map(Ve,function(bt,Yt){return Yt===Ve.length-1?bt||null:bt?decodeURIComponent(bt):null})}});var gt=r.History=function(){this.handlers=[],this.checkUrl=e.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},Pt=/^[#\/]|\s+$/g,Ut=/^\/+|\/+$/g,or=/#.*$/;gt.started=!1,e.extend(gt.prototype,h,{interval:50,atRoot:function(){var pe=this.location.pathname.replace(/[^\/]$/,"$&/");return pe===this.root&&!this.getSearch()},matchRoot:function(){var pe=this.decodeFragment(this.location.pathname),xe=pe.slice(0,this.root.length-1)+"/";return xe===this.root},decodeFragment:function(pe){return decodeURI(pe.replace(/%25/g,"%2525"))},getSearch:function(){var pe=this.location.href.replace(/#.*/,"").match(/\?.+/);return pe?pe[0]:""},getHash:function(pe){var xe=(pe||this).location.href.match(/#(.*)$/);return xe?xe[1]:""},getPath:function(){var pe=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return pe.charAt(0)==="/"?pe.slice(1):pe},getFragment:function(pe){return pe==null&&(this._usePushState||!this._wantsHashChange?pe=this.getPath():pe=this.getHash()),pe.replace(Pt,"")},start:function(pe){if(gt.started)throw new Error("Backbone.history has already been started");if(gt.started=!0,this.options=e.extend({root:"/"},this.options,pe),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(document.documentMode===void 0||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.history&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(Ut,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var xe=this.root.slice(0,-1)||"/";return this.location.replace(xe+"#"+this.getPath()),!0}else this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var Ve=document.body,bt=Ve.insertBefore(this.iframe,Ve.firstChild).contentWindow;bt.document.open(),bt.document.close(),bt.location.hash="#"+this.fragment}var Yt=window.addEventListener||function(jt,tn){return attachEvent("on"+jt,tn)};if(this._usePushState?Yt("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?Yt("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var pe=window.removeEventListener||function(xe,Ve){return detachEvent("on"+xe,Ve)};this._usePushState?pe("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&pe("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),gt.started=!1},route:function(pe,xe){this.handlers.unshift({route:pe,callback:xe})},checkUrl:function(pe){var xe=this.getFragment();if(xe===this.fragment&&this.iframe&&(xe=this.getHash(this.iframe.contentWindow)),xe===this.fragment)return!1;this.iframe&&this.navigate(xe),this.loadUrl()},loadUrl:function(pe){return this.matchRoot()?(pe=this.fragment=this.getFragment(pe),e.some(this.handlers,function(xe){if(xe.route.test(pe))return xe.callback(pe),!0})):!1},navigate:function(pe,xe){if(!gt.started)return!1;(!xe||xe===!0)&&(xe={trigger:!!xe}),pe=this.getFragment(pe||"");var Ve=this.root;(pe===""||pe.charAt(0)==="?")&&(Ve=Ve.slice(0,-1)||"/");var bt=Ve+pe;if(pe=this.decodeFragment(pe.replace(or,"")),this.fragment!==pe){if(this.fragment=pe,this._usePushState)this.history[xe.replace?"replaceState":"pushState"]({},document.title,bt);else if(this._wantsHashChange){if(this._updateHash(this.location,pe,xe.replace),this.iframe&&pe!==this.getHash(this.iframe.contentWindow)){var Yt=this.iframe.contentWindow;xe.replace||(Yt.document.open(),Yt.document.close()),this._updateHash(Yt.location,pe,xe.replace)}}else return this.location.assign(bt);if(xe.trigger)return this.loadUrl(pe)}},_updateHash:function(pe,xe,Ve){if(Ve){var bt=pe.href.replace(/(javascript:|#).*$/,"");pe.replace(bt+"#"+xe)}else pe.hash="#"+xe}}),r.history=new gt;var Ft=function(pe,xe){var Ve=this,bt;pe&&e.has(pe,"constructor")?bt=pe.constructor:bt=function(){return Ve.apply(this,arguments)},e.extend(bt,Ve,xe);var Yt=function(){this.constructor=bt};return Yt.prototype=Ve.prototype,bt.prototype=new Yt,pe&&e.extend(bt.prototype,pe),bt.__super__=Ve.prototype,bt};$.extend=k.extend=he.extend=O.extend=gt.extend=Ft;var zt=function(){throw new Error('A "url" property or function must be specified')},Or=function(pe,xe){var Ve=xe.error;xe.error=function(bt){Ve&&Ve.call(xe.context,pe,bt,xe),pe.trigger("error",pe,bt,xe)}};return r})});var EFe={};Tl(EFe,{JupyterTransportModel:()=>wie,JupyterTransportView:()=>Cie,MODULE_NAME:()=>Sy,MODULE_VERSION:()=>Ty,createDeck:()=>tE,initPlayground:()=>rE,jupyterTransport:()=>nE,updateDeck:()=>YQ});var Ty="8.9.24",Sy="@deck.gl/jupyter-widget";et();ki();et();function xF(t,r,e,n,i,a,o){try{var s=t[a](o),u=s.value}catch(c){e(c);return}s.done?r(u):Promise.resolve(u).then(n,i)}function Nt(t){return function(){var r=this,e=arguments;return new Promise(function(n,i){var a=t.apply(r,e);function o(u){xF(a,n,i,o,s,"next",u)}function s(u){xF(a,n,i,o,s,"throw",u)}o(void 0)})}}var ky=en(On());et();at();vt();et();at();vt();et();var EF=100,CF=function(){function t(r,e){if(ce(this,t),_(this,"schema",void 0),_(this,"options",void 0),_(this,"length",0),_(this,"rows",null),_(this,"cursor",0),_(this,"_headers",[]),this.options=e,this.schema=r,!Array.isArray(r)){this._headers=[];for(var n in r)this._headers[r[n].index]=r[n].name}}return ve(t,[{key:"rowCount",value:function(){return this.length}},{key:"addArrayRow",value:function(e,n){Number.isFinite(n)&&(this.cursor=n),this.rows=this.rows||new Array(EF),this.rows[this.length]=e,this.length++}},{key:"addObjectRow",value:function(e,n){Number.isFinite(n)&&(this.cursor=n),this.rows=this.rows||new Array(EF),this.rows[this.length]=e,this.length++}},{key:"getBatch",value:function(){var e=this.rows;if(!e)return null;e=e.slice(0,this.length),this.rows=null;var n={shape:this.options.shape,batchType:"data",data:e,length:this.length,schema:this.schema,cursor:this.cursor};return n}}]),t}();at();vt();et();function Ey(t,r){if(!t)throw new Error("null row");if(!r)throw new Error("no headers");for(var e={},n=0;n<r.length;n++)e[r[n]]=t[n];return e}function Cy(t,r){if(!t)throw new Error("null row");if(!r)throw new Error("no headers");for(var e=new Array(r.length),n=0;n<r.length;n++)e[n]=t[r[n]];return e}var PF=100,OF=function(){function t(r,e){if(ce(this,t),_(this,"schema",void 0),_(this,"options",void 0),_(this,"length",0),_(this,"objectRows",null),_(this,"arrayRows",null),_(this,"cursor",0),_(this,"_headers",[]),this.options=e,this.schema=r,!Array.isArray(r)){this._headers=[];for(var n in r)this._headers[r[n].index]=r[n].name}}return ve(t,[{key:"rowCount",value:function(){return this.length}},{key:"addArrayRow",value:function(e,n){switch(Number.isFinite(n)&&(this.cursor=n),this.options.shape){case"object-row-table":var i=Ey(e,this._headers);this.addObjectRow(i,n);break;case"array-row-table":this.arrayRows=this.arrayRows||new Array(PF),this.arrayRows[this.length]=e,this.length++;break}}},{key:"addObjectRow",value:function(e,n){switch(Number.isFinite(n)&&(this.cursor=n),this.options.shape){case"array-row-table":var i=Cy(e,this._headers);this.addArrayRow(i,n);break;case"object-row-table":this.objectRows=this.objectRows||new Array(PF),this.objectRows[this.length]=e,this.length++;break}}},{key:"getBatch",value:function(){var e=this.arrayRows||this.objectRows;return e?(e=e.slice(0,this.length),this.arrayRows=null,this.objectRows=null,{shape:this.options.shape,batchType:"data",data:e,length:this.length,schema:this.schema,cursor:this.cursor}):null}}]),t}();Mn();at();vt();et();var toe=100,LF=function(){function t(r,e){ce(this,t),_(this,"schema",void 0),_(this,"length",0),_(this,"allocated",0),_(this,"columns",{}),this.schema=r,this._reallocateColumns()}return ve(t,[{key:"rowCount",value:function(){return this.length}},{key:"addArrayRow",value:function(e){this._reallocateColumns();var n=0;for(var i in this.columns)this.columns[i][this.length]=e[n++];this.length++}},{key:"addObjectRow",value:function(e){this._reallocateColumns();for(var n in e)this.columns[n][this.length]=e[n];this.length++}},{key:"getBatch",value:function(){this._pruneColumns();var e=Array.isArray(this.schema)?this.columns:{};if(!Array.isArray(this.schema))for(var n in this.schema){var i=this.schema[n];e[i.name]=this.columns[i.index]}this.columns={};var a={shape:"columnar-table",batchType:"data",data:e,schema:this.schema,length:this.length};return a}},{key:"_reallocateColumns",value:function(){if(!(this.length<this.allocated)){this.allocated=this.allocated>0?this.allocated*=2:toe,this.columns={};for(var e in this.schema){var n=this.schema[e],i=n.type||Float32Array,a=this.columns[n.index];if(a&&ArrayBuffer.isView(a)){var o=new i(this.allocated);o.set(a),this.columns[n.index]=o}else a?(a.length=this.allocated,this.columns[n.index]=a):this.columns[n.index]=new i(this.allocated)}}}},{key:"_pruneColumns",value:function(){for(var e=0,n=Object.entries(this.columns);e<n.length;e++){var i=Ot(n[e],2),a=i[0],o=i[1];this.columns[a]=o.slice(0,this.length)}}}]),t}();function kF(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,n)}return e}function BF(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?kF(Object(e),!0).forEach(function(n){_(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):kF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}var roe={shape:"array-row-table",batchSize:"auto",batchDebounceMs:0,limit:0,_limitMB:0},DF="TableBatchBuilder",Kb=function(){function t(r,e){ce(this,t),_(this,"schema",void 0),_(this,"options",void 0),_(this,"aggregator",null),_(this,"batchCount",0),_(this,"bytesUsed",0),_(this,"isChunkComplete",!1),_(this,"lastBatchEmittedMs",Date.now()),_(this,"totalLength",0),_(this,"totalBytes",0),_(this,"rowBytes",0),this.schema=r,this.options=BF(BF({},roe),e)}return ve(t,[{key:"limitReached",value:function(){var e,n;return!!(Boolean((e=this.options)===null||e===void 0?void 0:e.limit)&&this.totalLength>=this.options.limit||Boolean((n=this.options)===null||n===void 0?void 0:n._limitMB)&&this.totalBytes/1e6>=this.options._limitMB)}},{key:"addRow",value:function(e){this.limitReached()||(this.totalLength++,this.rowBytes=this.rowBytes||this._estimateRowMB(e),this.totalBytes+=this.rowBytes,Array.isArray(e)?this.addArrayRow(e):this.addObjectRow(e))}},{key:"addArrayRow",value:function(e){if(!this.aggregator){var n=this._getTableBatchType();this.aggregator=new n(this.schema,this.options)}this.aggregator.addArrayRow(e)}},{key:"addObjectRow",value:function(e){if(!this.aggregator){var n=this._getTableBatchType();this.aggregator=new n(this.schema,this.options)}this.aggregator.addObjectRow(e)}},{key:"chunkComplete",value:function(e){e instanceof ArrayBuffer&&(this.bytesUsed+=e.byteLength),typeof e=="string"&&(this.bytesUsed+=e.length),this.isChunkComplete=!0}},{key:"getFullBatch",value:function(e){return this._isFull()?this._getBatch(e):null}},{key:"getFinalBatch",value:function(e){return this._getBatch(e)}},{key:"_estimateRowMB",value:function(e){return Array.isArray(e)?e.length*8:Object.keys(e).length*8}},{key:"_isFull",value:function(){if(!this.aggregator||this.aggregator.rowCount()===0)return!1;if(this.options.batchSize==="auto"){if(!this.isChunkComplete)return!1}else if(this.options.batchSize>this.aggregator.rowCount())return!1;return this.options.batchDebounceMs>Date.now()-this.lastBatchEmittedMs?!1:(this.isChunkComplete=!1,this.lastBatchEmittedMs=Date.now(),!0)}},{key:"_getBatch",value:function(e){if(!this.aggregator)return null;e!=null&&e.bytesUsed&&(this.bytesUsed=e.bytesUsed);var n=this.aggregator.getBatch();return n.count=this.batchCount,n.bytesUsed=this.bytesUsed,Object.assign(n,e),this.batchCount++,this.aggregator=null,n}},{key:"_getTableBatchType",value:function(){switch(this.options.shape){case"row-table":return CF;case"array-row-table":case"object-row-table":return OF;case"columnar-table":return LF;case"arrow-table":if(!t.ArrowBatch)throw new Error(DF);return t.ArrowBatch;default:throw new Error(DF)}}}]),t}();_(Kb,"ArrowBatch",void 0);function qh(t){for(var r=1/0,e=1/0,n=1/0,i=-1/0,a=-1/0,o=-1/0,s=t.POSITION?t.POSITION.value:[],u=s&&s.length,c=0;c<u;c+=3){var h=s[c],p=s[c+1],v=s[c+2];r=h<r?h:r,e=p<e?p:e,n=v<n?v:n,i=h>i?h:i,a=p>a?p:a,o=v>o?v:o}return[[r,e,n],[i,a,o]]}sC();function cC(t){if(Array.isArray(t))return dg(t)}function fC(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}uC();function hC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
529
|
+
`)}}).get()}});var tc=/%20/g,rf=/#.*$/,xc=/([?&])_=[^&]*/,Bf=/^(.*?):[ \t]*([^\r\n]*)$/mg,wc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ps=/^(?:GET|HEAD)$/,Qu=/^\/\//,Fu={},Nu={},zu="*/".concat("*"),Uu=D.createElement("a");Uu.href=br.href;function Ll(B){return function(Y,ne){typeof Y!="string"&&(ne=Y,Y="*");var oe,ye=0,be=Y.toLowerCase().match(Pt)||[];if(E(ne))for(;oe=be[ye++];)oe[0]==="+"?(oe=oe.slice(1)||"*",(B[oe]=B[oe]||[]).unshift(ne)):(B[oe]=B[oe]||[]).push(ne)}}function ms(B,Y,ne,oe){var ye={},be=B===Nu;function Le(Ee){var Be;return ye[Ee]=!0,k.each(B[Ee]||[],function(tt,wt){var b=wt(Y,ne,oe);if(typeof b=="string"&&!be&&!ye[b])return Y.dataTypes.unshift(b),Le(b),!1;if(be)return!(Be=b)}),Be}return Le(Y.dataTypes[0])||!ye["*"]&&Le("*")}function $i(B,Y){var ne,oe,ye=k.ajaxSettings.flatOptions||{};for(ne in Y)Y[ne]!==void 0&&((ye[ne]?B:oe||(oe={}))[ne]=Y[ne]);return oe&&k.extend(!0,B,oe),B}function ru(B,Y,ne){for(var oe,ye,be,Le,Ee=B.contents,Be=B.dataTypes;Be[0]==="*";)Be.shift(),oe===void 0&&(oe=B.mimeType||Y.getResponseHeader("Content-Type"));if(oe){for(ye in Ee)if(Ee[ye]&&Ee[ye].test(oe)){Be.unshift(ye);break}}if(Be[0]in ne)be=Be[0];else{for(ye in ne){if(!Be[0]||B.converters[ye+" "+Be[0]]){be=ye;break}Le||(Le=ye)}be=be||Le}if(be)return be!==Be[0]&&Be.unshift(be),ne[be]}function Df(B,Y,ne,oe){var ye,be,Le,Ee,Be,tt={},wt=B.dataTypes.slice();if(wt[1])for(Le in B.converters)tt[Le.toLowerCase()]=B.converters[Le];for(be=wt.shift();be;)if(B.responseFields[be]&&(ne[B.responseFields[be]]=Y),!Be&&oe&&B.dataFilter&&(Y=B.dataFilter(Y,B.dataType)),Be=be,be=wt.shift(),be){if(be==="*")be=Be;else if(Be!=="*"&&Be!==be){if(Le=tt[Be+" "+be]||tt["* "+be],!Le){for(ye in tt)if(Ee=ye.split(" "),Ee[1]===be&&(Le=tt[Be+" "+Ee[0]]||tt["* "+Ee[0]],Le)){Le===!0?Le=tt[ye]:tt[ye]!==!0&&(be=Ee[0],wt.unshift(Ee[1]));break}}if(Le!==!0)if(Le&&B.throws)Y=Le(Y);else try{Y=Le(Y)}catch(b){return{state:"parsererror",error:Le?b:"No conversion from "+Be+" to "+be}}}}return{state:"success",data:Y}}k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:br.href,type:"GET",isLocal:wc.test(br.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zu,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(B,Y){return Y?$i($i(B,k.ajaxSettings),Y):$i(k.ajaxSettings,B)},ajaxPrefilter:Ll(Fu),ajaxTransport:Ll(Nu),ajax:function(B,Y){typeof B=="object"&&(Y=B,B=void 0),Y=Y||{};var ne,oe,ye,be,Le,Ee,Be,tt,wt,b,Mt=k.ajaxSetup({},Y),Vt=Mt.context||Mt,We=Mt.context&&(Vt.nodeType||Vt.jquery)?k(Vt):k.event,Bn=k.Deferred(),fn=k.Callbacks("once memory"),Fr=Mt.statusCode||{},yi={},Oa={},vn="canceled",Gr={readyState:0,getResponseHeader:function(Vi){var ua;if(Be){if(!be)for(be={};ua=Bf.exec(ye);)be[ua[1].toLowerCase()+" "]=(be[ua[1].toLowerCase()+" "]||[]).concat(ua[2]);ua=be[Vi.toLowerCase()+" "]}return ua==null?null:ua.join(", ")},getAllResponseHeaders:function(){return Be?ye:null},setRequestHeader:function(Vi,ua){return Be==null&&(Vi=Oa[Vi.toLowerCase()]=Oa[Vi.toLowerCase()]||Vi,yi[Vi]=ua),this},overrideMimeType:function(Vi){return Be==null&&(Mt.mimeType=Vi),this},statusCode:function(Vi){var ua;if(Vi)if(Be)Gr.always(Vi[Gr.status]);else for(ua in Vi)Fr[ua]=[Fr[ua],Vi[ua]];return this},abort:function(Vi){var ua=Vi||vn;return ne&&ne.abort(ua),$a(0,ua),this}};if(Bn.promise(Gr),Mt.url=((B||Mt.url||br.href)+"").replace(Qu,br.protocol+"//"),Mt.type=Y.method||Y.type||Mt.method||Mt.type,Mt.dataTypes=(Mt.dataType||"*").toLowerCase().match(Pt)||[""],Mt.crossDomain==null){Ee=D.createElement("a");try{Ee.href=Mt.url,Ee.href=Ee.href,Mt.crossDomain=Uu.protocol+"//"+Uu.host!=Ee.protocol+"//"+Ee.host}catch{Mt.crossDomain=!0}}if(Mt.data&&Mt.processData&&typeof Mt.data!="string"&&(Mt.data=k.param(Mt.data,Mt.traditional)),ms(Fu,Mt,Y,Gr),Be)return Gr;tt=k.event&&Mt.global,tt&&k.active++===0&&k.event.trigger("ajaxStart"),Mt.type=Mt.type.toUpperCase(),Mt.hasContent=!Ps.test(Mt.type),oe=Mt.url.replace(rf,""),Mt.hasContent?Mt.data&&Mt.processData&&(Mt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Mt.data=Mt.data.replace(tc,"+")):(b=Mt.url.slice(oe.length),Mt.data&&(Mt.processData||typeof Mt.data=="string")&&(oe+=(Ai.test(oe)?"&":"?")+Mt.data,delete Mt.data),Mt.cache===!1&&(oe=oe.replace(xc,"$1"),b=(Ai.test(oe)?"&":"?")+"_="+cn.guid+++b),Mt.url=oe+b),Mt.ifModified&&(k.lastModified[oe]&&Gr.setRequestHeader("If-Modified-Since",k.lastModified[oe]),k.etag[oe]&&Gr.setRequestHeader("If-None-Match",k.etag[oe])),(Mt.data&&Mt.hasContent&&Mt.contentType!==!1||Y.contentType)&&Gr.setRequestHeader("Content-Type",Mt.contentType),Gr.setRequestHeader("Accept",Mt.dataTypes[0]&&Mt.accepts[Mt.dataTypes[0]]?Mt.accepts[Mt.dataTypes[0]]+(Mt.dataTypes[0]!=="*"?", "+zu+"; q=0.01":""):Mt.accepts["*"]);for(wt in Mt.headers)Gr.setRequestHeader(wt,Mt.headers[wt]);if(Mt.beforeSend&&(Mt.beforeSend.call(Vt,Gr,Mt)===!1||Be))return Gr.abort();if(vn="abort",fn.add(Mt.complete),Gr.done(Mt.success),Gr.fail(Mt.error),ne=ms(Nu,Mt,Y,Gr),!ne)$a(-1,"No Transport");else{if(Gr.readyState=1,tt&&We.trigger("ajaxSend",[Gr,Mt]),Be)return Gr;Mt.async&&Mt.timeout>0&&(Le=t.setTimeout(function(){Gr.abort("timeout")},Mt.timeout));try{Be=!1,ne.send(yi,$a)}catch(Vi){if(Be)throw Vi;$a(-1,Vi)}}function $a(Vi,ua,Jo,to){var wo,qo,ju,fa,Yn,dt=ua;Be||(Be=!0,Le&&t.clearTimeout(Le),ne=void 0,ye=to||"",Gr.readyState=Vi>0?4:0,wo=Vi>=200&&Vi<300||Vi===304,Jo&&(fa=ru(Mt,Gr,Jo)),!wo&&k.inArray("script",Mt.dataTypes)>-1&&(Mt.converters["text script"]=function(){}),fa=Df(Mt,fa,Gr,wo),wo?(Mt.ifModified&&(Yn=Gr.getResponseHeader("Last-Modified"),Yn&&(k.lastModified[oe]=Yn),Yn=Gr.getResponseHeader("etag"),Yn&&(k.etag[oe]=Yn)),Vi===204||Mt.type==="HEAD"?dt="nocontent":Vi===304?dt="notmodified":(dt=fa.state,qo=fa.data,ju=fa.error,wo=!ju)):(ju=dt,(Vi||!dt)&&(dt="error",Vi<0&&(Vi=0))),Gr.status=Vi,Gr.statusText=(ua||dt)+"",wo?Bn.resolveWith(Vt,[qo,dt,Gr]):Bn.rejectWith(Vt,[Gr,dt,ju]),Gr.statusCode(Fr),Fr=void 0,tt&&We.trigger(wo?"ajaxSuccess":"ajaxError",[Gr,Mt,wo?qo:ju]),fn.fireWith(Vt,[Gr,dt]),tt&&(We.trigger("ajaxComplete",[Gr,Mt]),--k.active||k.event.trigger("ajaxStop")))}return Gr},getJSON:function(B,Y,ne){return k.get(B,Y,ne,"json")},getScript:function(B,Y){return k.get(B,void 0,Y,"script")}}),k.each(["get","post"],function(B,Y){k[Y]=function(ne,oe,ye,be){return E(oe)&&(be=be||ye,ye=oe,oe=void 0),k.ajax(k.extend({url:ne,type:Y,dataType:be,data:oe,success:ye},k.isPlainObject(ne)&&ne))}}),k.ajaxPrefilter(function(B){var Y;for(Y in B.headers)Y.toLowerCase()==="content-type"&&(B.contentType=B.headers[Y]||"")}),k._evalUrl=function(B,Y,ne){return k.ajax({url:B,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(oe){k.globalEval(oe,Y,ne)}})},k.fn.extend({wrapAll:function(B){var Y;return this[0]&&(E(B)&&(B=B.call(this[0])),Y=k(B,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&Y.insertBefore(this[0]),Y.map(function(){for(var ne=this;ne.firstElementChild;)ne=ne.firstElementChild;return ne}).append(this)),this},wrapInner:function(B){return E(B)?this.each(function(Y){k(this).wrapInner(B.call(this,Y))}):this.each(function(){var Y=k(this),ne=Y.contents();ne.length?ne.wrapAll(B):Y.append(B)})},wrap:function(B){var Y=E(B);return this.each(function(ne){k(this).wrapAll(Y?B.call(this,ne):B)})},unwrap:function(B){return this.parent(B).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(B){return!k.expr.pseudos.visible(B)},k.expr.pseudos.visible=function(B){return!!(B.offsetWidth||B.offsetHeight||B.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Ff={0:200,1223:204},rc=k.ajaxSettings.xhr();x.cors=!!rc&&"withCredentials"in rc,x.ajax=rc=!!rc,k.ajaxTransport(function(B){var Y,ne;if(x.cors||rc&&!B.crossDomain)return{send:function(oe,ye){var be,Le=B.xhr();if(Le.open(B.type,B.url,B.async,B.username,B.password),B.xhrFields)for(be in B.xhrFields)Le[be]=B.xhrFields[be];B.mimeType&&Le.overrideMimeType&&Le.overrideMimeType(B.mimeType),!B.crossDomain&&!oe["X-Requested-With"]&&(oe["X-Requested-With"]="XMLHttpRequest");for(be in oe)Le.setRequestHeader(be,oe[be]);Y=function(Ee){return function(){Y&&(Y=ne=Le.onload=Le.onerror=Le.onabort=Le.ontimeout=Le.onreadystatechange=null,Ee==="abort"?Le.abort():Ee==="error"?typeof Le.status!="number"?ye(0,"error"):ye(Le.status,Le.statusText):ye(Ff[Le.status]||Le.status,Le.statusText,(Le.responseType||"text")!=="text"||typeof Le.responseText!="string"?{binary:Le.response}:{text:Le.responseText},Le.getAllResponseHeaders()))}},Le.onload=Y(),ne=Le.onerror=Le.ontimeout=Y("error"),Le.onabort!==void 0?Le.onabort=ne:Le.onreadystatechange=function(){Le.readyState===4&&t.setTimeout(function(){Y&&ne()})},Y=Y("abort");try{Le.send(B.hasContent&&B.data||null)}catch(Ee){if(Y)throw Ee}},abort:function(){Y&&Y()}}}),k.ajaxPrefilter(function(B){B.crossDomain&&(B.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(B){return k.globalEval(B),B}}}),k.ajaxPrefilter("script",function(B){B.cache===void 0&&(B.cache=!1),B.crossDomain&&(B.type="GET")}),k.ajaxTransport("script",function(B){if(B.crossDomain||B.scriptAttrs){var Y,ne;return{send:function(oe,ye){Y=k("<script>").attr(B.scriptAttrs||{}).prop({charset:B.scriptCharset,src:B.url}).on("load error",ne=function(be){Y.remove(),ne=null,be&&ye(be.type==="error"?404:200,be.type)}),D.head.appendChild(Y[0])},abort:function(){ne&&ne()}}}});var el=[],Tc=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var B=el.pop()||k.expando+"_"+cn.guid++;return this[B]=!0,B}}),k.ajaxPrefilter("json jsonp",function(B,Y,ne){var oe,ye,be,Le=B.jsonp!==!1&&(Tc.test(B.url)?"url":typeof B.data=="string"&&(B.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Tc.test(B.data)&&"data");if(Le||B.dataTypes[0]==="jsonp")return oe=B.jsonpCallback=E(B.jsonpCallback)?B.jsonpCallback():B.jsonpCallback,Le?B[Le]=B[Le].replace(Tc,"$1"+oe):B.jsonp!==!1&&(B.url+=(Ai.test(B.url)?"&":"?")+B.jsonp+"="+oe),B.converters["script json"]=function(){return be||k.error(oe+" was not called"),be[0]},B.dataTypes[0]="json",ye=t[oe],t[oe]=function(){be=arguments},ne.always(function(){ye===void 0?k(t).removeProp(oe):t[oe]=ye,B[oe]&&(B.jsonpCallback=Y.jsonpCallback,el.push(oe)),be&&E(ye)&&ye(be[0]),be=ye=void 0}),"script"}),x.createHTMLDocument=function(){var B=D.implementation.createHTMLDocument("").body;return B.innerHTML="<form></form><form></form>",B.childNodes.length===2}(),k.parseHTML=function(B,Y,ne){if(typeof B!="string")return[];typeof Y=="boolean"&&(ne=Y,Y=!1);var oe,ye,be;return Y||(x.createHTMLDocument?(Y=D.implementation.createHTMLDocument(""),oe=Y.createElement("base"),oe.href=D.location.href,Y.head.appendChild(oe)):Y=D),ye=re.exec(B),be=!ne&&[],ye?[Y.createElement(ye[1])]:(ye=Hs([B],Y,be),be&&be.length&&k(be).remove(),k.merge([],ye.childNodes))},k.fn.load=function(B,Y,ne){var oe,ye,be,Le=this,Ee=B.indexOf(" ");return Ee>-1&&(oe=Du(B.slice(Ee)),B=B.slice(0,Ee)),E(Y)?(ne=Y,Y=void 0):Y&&typeof Y=="object"&&(ye="POST"),Le.length>0&&k.ajax({url:B,type:ye||"GET",dataType:"html",data:Y}).done(function(Be){be=arguments,Le.html(oe?k("<div>").append(k.parseHTML(Be)).find(oe):Be)}).always(ne&&function(Be,tt){Le.each(function(){ne.apply(this,be||[Be.responseText,tt,Be])})}),this},k.expr.pseudos.animated=function(B){return k.grep(k.timers,function(Y){return B===Y.elem}).length},k.offset={setOffset:function(B,Y,ne){var oe,ye,be,Le,Ee,Be,tt,wt=k.css(B,"position"),b=k(B),Mt={};wt==="static"&&(B.style.position="relative"),Ee=b.offset(),be=k.css(B,"top"),Be=k.css(B,"left"),tt=(wt==="absolute"||wt==="fixed")&&(be+Be).indexOf("auto")>-1,tt?(oe=b.position(),Le=oe.top,ye=oe.left):(Le=parseFloat(be)||0,ye=parseFloat(Be)||0),E(Y)&&(Y=Y.call(B,ne,k.extend({},Ee))),Y.top!=null&&(Mt.top=Y.top-Ee.top+Le),Y.left!=null&&(Mt.left=Y.left-Ee.left+ye),"using"in Y?Y.using.call(B,Mt):(typeof Mt.top=="number"&&(Mt.top+="px"),typeof Mt.left=="number"&&(Mt.left+="px"),b.css(Mt))}},k.fn.extend({offset:function(B){if(arguments.length)return B===void 0?this:this.each(function(ye){k.offset.setOffset(this,B,ye)});var Y,ne,oe=this[0];if(oe)return oe.getClientRects().length?(Y=oe.getBoundingClientRect(),ne=oe.ownerDocument.defaultView,{top:Y.top+ne.pageYOffset,left:Y.left+ne.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var B,Y,ne,oe=this[0],ye={top:0,left:0};if(k.css(oe,"position")==="fixed")Y=oe.getBoundingClientRect();else{for(Y=this.offset(),ne=oe.ownerDocument,B=oe.offsetParent||ne.documentElement;B&&(B===ne.body||B===ne.documentElement)&&k.css(B,"position")==="static";)B=B.parentNode;B&&B!==oe&&B.nodeType===1&&(ye=k(B).offset(),ye.top+=k.css(B,"borderTopWidth",!0),ye.left+=k.css(B,"borderLeftWidth",!0))}return{top:Y.top-ye.top-k.css(oe,"marginTop",!0),left:Y.left-ye.left-k.css(oe,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var B=this.offsetParent;B&&k.css(B,"position")==="static";)B=B.offsetParent;return B||di})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(B,Y){var ne=Y==="pageYOffset";k.fn[B]=function(oe){return Ve(this,function(ye,be,Le){var Ee;if(R(ye)?Ee=ye:ye.nodeType===9&&(Ee=ye.defaultView),Le===void 0)return Ee?Ee[Y]:ye[be];Ee?Ee.scrollTo(ne?Ee.pageXOffset:Le,ne?Le:Ee.pageYOffset):ye[be]=Le},B,oe,arguments.length)}}),k.each(["top","left"],function(B,Y){k.cssHooks[Y]=Wn(x.pixelPosition,function(ne,oe){if(oe)return oe=_r(ne,Y),Dr.test(oe)?k(ne).position()[Y]+"px":oe})}),k.each({Height:"height",Width:"width"},function(B,Y){k.each({padding:"inner"+B,content:Y,"":"outer"+B},function(ne,oe){k.fn[oe]=function(ye,be){var Le=arguments.length&&(ne||typeof ye!="boolean"),Ee=ne||(ye===!0||be===!0?"margin":"border");return Ve(this,function(Be,tt,wt){var b;return R(Be)?oe.indexOf("outer")===0?Be["inner"+B]:Be.document.documentElement["client"+B]:Be.nodeType===9?(b=Be.documentElement,Math.max(Be.body["scroll"+B],b["scroll"+B],Be.body["offset"+B],b["offset"+B],b["client"+B])):wt===void 0?k.css(Be,tt,Ee):k.style(Be,tt,wt,Ee)},Y,Le?ye:void 0,Le)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(B,Y){k.fn[Y]=function(ne){return this.on(Y,ne)}}),k.fn.extend({bind:function(B,Y,ne){return this.on(B,null,Y,ne)},unbind:function(B,Y){return this.off(B,null,Y)},delegate:function(B,Y,ne,oe){return this.on(Y,B,ne,oe)},undelegate:function(B,Y,ne){return arguments.length===1?this.off(B,"**"):this.off(Y,B||"**",ne)},hover:function(B,Y){return this.mouseenter(B).mouseleave(Y||B)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(B,Y){k.fn[Y]=function(ne,oe){return arguments.length>0?this.on(Y,null,ne,oe):this.trigger(Y)}});var nc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(B,Y){var ne,oe,ye;if(typeof Y=="string"&&(ne=B[Y],Y=B,B=ne),!!E(B))return oe=i.call(arguments,2),ye=function(){return B.apply(Y||this,oe.concat(i.call(arguments)))},ye.guid=B.guid=B.guid||k.guid++,ye},k.holdReady=function(B){B?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=U,k.isFunction=E,k.isWindow=R,k.camelCase=tn,k.type=$,k.now=Date.now,k.isNumeric=function(B){var Y=k.type(B);return(Y==="number"||Y==="string")&&!isNaN(B-parseFloat(B))},k.trim=function(B){return B==null?"":(B+"").replace(nc,"")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return k});var Sc=t.jQuery,_u=t.$;return k.noConflict=function(B){return t.$===k&&(t.$=_u),B&&t.jQuery===k&&(t.jQuery=Sc),k},typeof r>"u"&&(t.jQuery=t.$=k),k})});var bB=mr(_B=>{(function(t){var r=typeof self=="object"&&self.self==self&&self||typeof global=="object"&&global.global==global&&global;if(typeof define=="function"&&define.amd)define(["underscore","jquery","exports"],function(i,a,o){r.Backbone=t(r,o,i,a)});else if(typeof _B<"u"){var e=Une(),n;try{n=yB()}catch{}t(r,_B,e,n)}else r.Backbone=t(r,{},r._,r.jQuery||r.Zepto||r.ender||r.$)})(function(t,r,e,n){var i=t.Backbone,a=Array.prototype.slice;r.VERSION="1.2.3",r.$=n,r.noConflict=function(){return t.Backbone=i,this},r.emulateHTTP=!1,r.emulateJSON=!1;var o=function(pe,xe,Ve){switch(pe){case 1:return function(){return e[xe](this[Ve])};case 2:return function(bt){return e[xe](this[Ve],bt)};case 3:return function(bt,Yt){return e[xe](this[Ve],u(bt,this),Yt)};case 4:return function(bt,Yt,jt){return e[xe](this[Ve],u(bt,this),Yt,jt)};default:return function(){var bt=a.call(arguments);return bt.unshift(this[Ve]),e[xe].apply(e,bt)}}},s=function(pe,xe,Ve){e.each(xe,function(bt,Yt){e[Yt]&&(pe.prototype[Yt]=o(bt,Yt,Ve))})},u=function(pe,xe){return e.isFunction(pe)?pe:e.isObject(pe)&&!xe._isModel(pe)?c(pe):e.isString(pe)?function(Ve){return Ve.get(pe)}:pe},c=function(pe){var xe=e.matches(pe);return function(Ve){return xe(Ve.attributes)}},h=r.Events={},p=/\s+/,v=function(pe,xe,Ve,bt,Yt){var jt=0,tn;if(Ve&&typeof Ve=="object")for(bt!==void 0&&("context"in Yt)&&Yt.context===void 0&&(Yt.context=bt),tn=e.keys(Ve);jt<tn.length;jt++)xe=v(pe,xe,tn[jt],Ve[tn[jt]],Yt);else if(Ve&&p.test(Ve))for(tn=Ve.split(p);jt<tn.length;jt++)xe=pe(xe,tn[jt],bt,Yt);else xe=pe(xe,Ve,bt,Yt);return xe};h.on=function(pe,xe,Ve){return x(this,pe,xe,Ve)};var x=function(pe,xe,Ve,bt,Yt){if(pe._events=v(E,pe._events||{},xe,Ve,{context:bt,ctx:pe,listening:Yt}),Yt){var jt=pe._listeners||(pe._listeners={});jt[Yt.id]=Yt}return pe};h.listenTo=function(pe,xe,Ve){if(!pe)return this;var bt=pe._listenId||(pe._listenId=e.uniqueId("l")),Yt=this._listeningTo||(this._listeningTo={}),jt=Yt[bt];if(!jt){var tn=this._listenId||(this._listenId=e.uniqueId("l"));jt=Yt[bt]={obj:pe,objId:bt,id:tn,listeningTo:Yt,count:0}}return x(pe,xe,Ve,this,jt),this};var E=function(pe,xe,Ve,bt){if(Ve){var Yt=pe[xe]||(pe[xe]=[]),jt=bt.context,tn=bt.ctx,an=bt.listening;an&&an.count++,Yt.push({callback:Ve,context:jt,ctx:jt||tn,listening:an})}return pe};h.off=function(pe,xe,Ve){return this._events?(this._events=v(R,this._events,pe,xe,{context:Ve,listeners:this._listeners}),this):this},h.stopListening=function(pe,xe,Ve){var bt=this._listeningTo;if(!bt)return this;for(var Yt=pe?[pe._listenId]:e.keys(bt),jt=0;jt<Yt.length;jt++){var tn=bt[Yt[jt]];if(!tn)break;tn.obj.off(xe,Ve,this)}return e.isEmpty(bt)&&(this._listeningTo=void 0),this};var R=function(pe,xe,Ve,bt){if(pe){var Yt=0,jt,tn=bt.context,an=bt.listeners;if(!xe&&!Ve&&!tn){for(var Fn=e.keys(an);Yt<Fn.length;Yt++)jt=an[Fn[Yt]],delete an[jt.id],delete jt.listeningTo[jt.objId];return}for(var wr=xe?[xe]:e.keys(pe);Yt<wr.length;Yt++){xe=wr[Yt];var Nn=pe[xe];if(!Nn)break;for(var pi=[],Ti=0;Ti<Nn.length;Ti++){var ka=Nn[Ti];Ve&&Ve!==ka.callback&&Ve!==ka.callback._callback||tn&&tn!==ka.context?pi.push(ka):(jt=ka.listening,jt&&--jt.count===0&&(delete an[jt.id],delete jt.listeningTo[jt.objId]))}pi.length?pe[xe]=pi:delete pe[xe]}if(e.size(pe))return pe}};h.once=function(pe,xe,Ve){var bt=v(D,{},pe,xe,e.bind(this.off,this));return this.on(bt,void 0,Ve)},h.listenToOnce=function(pe,xe,Ve){var bt=v(D,{},xe,Ve,e.bind(this.stopListening,this,pe));return this.listenTo(pe,bt)};var D=function(pe,xe,Ve,bt){if(Ve){var Yt=pe[xe]=e.once(function(){bt(xe,Yt),Ve.apply(this,arguments)});Yt._callback=Ve}return pe};h.trigger=function(pe){if(!this._events)return this;for(var xe=Math.max(0,arguments.length-1),Ve=Array(xe),bt=0;bt<xe;bt++)Ve[bt]=arguments[bt+1];return v(H,this._events,pe,void 0,Ve),this};var H=function(pe,xe,Ve,bt){if(pe){var Yt=pe[xe],jt=pe.all;Yt&&jt&&(jt=jt.slice()),Yt&&W(Yt,bt),jt&&W(jt,[xe].concat(bt))}return pe},W=function(pe,xe){var Ve,bt=-1,Yt=pe.length,jt=xe[0],tn=xe[1],an=xe[2];switch(xe.length){case 0:for(;++bt<Yt;)(Ve=pe[bt]).callback.call(Ve.ctx);return;case 1:for(;++bt<Yt;)(Ve=pe[bt]).callback.call(Ve.ctx,jt);return;case 2:for(;++bt<Yt;)(Ve=pe[bt]).callback.call(Ve.ctx,jt,tn);return;case 3:for(;++bt<Yt;)(Ve=pe[bt]).callback.call(Ve.ctx,jt,tn,an);return;default:for(;++bt<Yt;)(Ve=pe[bt]).callback.apply(Ve.ctx,xe);return}};h.bind=h.on,h.unbind=h.off,e.extend(r,h);var $=r.Model=function(pe,xe){var Ve=pe||{};xe||(xe={}),this.cid=e.uniqueId(this.cidPrefix),this.attributes={},xe.collection&&(this.collection=xe.collection),xe.parse&&(Ve=this.parse(Ve,xe)||{}),Ve=e.defaults({},Ve,e.result(this,"defaults")),this.set(Ve,xe),this.changed={},this.initialize.apply(this,arguments)};e.extend($.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(pe){return e.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(pe){return this.attributes[pe]},escape:function(pe){return e.escape(this.get(pe))},has:function(pe){return this.get(pe)!=null},matches:function(pe){return!!e.iteratee(pe,this)(this.attributes)},set:function(pe,xe,Ve){if(pe==null)return this;var bt;if(typeof pe=="object"?(bt=pe,Ve=xe):(bt={})[pe]=xe,Ve||(Ve={}),!this._validate(bt,Ve))return!1;var Yt=Ve.unset,jt=Ve.silent,tn=[],an=this._changing;this._changing=!0,an||(this._previousAttributes=e.clone(this.attributes),this.changed={});var Fn=this.attributes,wr=this.changed,Nn=this._previousAttributes;for(var pi in bt)xe=bt[pi],e.isEqual(Fn[pi],xe)||tn.push(pi),e.isEqual(Nn[pi],xe)?delete wr[pi]:wr[pi]=xe,Yt?delete Fn[pi]:Fn[pi]=xe;if(this.id=this.get(this.idAttribute),!jt){tn.length&&(this._pending=Ve);for(var Ti=0;Ti<tn.length;Ti++)this.trigger("change:"+tn[Ti],this,Fn[tn[Ti]],Ve)}if(an)return this;if(!jt)for(;this._pending;)Ve=this._pending,this._pending=!1,this.trigger("change",this,Ve);return this._pending=!1,this._changing=!1,this},unset:function(pe,xe){return this.set(pe,void 0,e.extend({},xe,{unset:!0}))},clear:function(pe){var xe={};for(var Ve in this.attributes)xe[Ve]=void 0;return this.set(xe,e.extend({},pe,{unset:!0}))},hasChanged:function(pe){return pe==null?!e.isEmpty(this.changed):e.has(this.changed,pe)},changedAttributes:function(pe){if(!pe)return this.hasChanged()?e.clone(this.changed):!1;var xe=this._changing?this._previousAttributes:this.attributes,Ve={};for(var bt in pe){var Yt=pe[bt];e.isEqual(xe[bt],Yt)||(Ve[bt]=Yt)}return e.size(Ve)?Ve:!1},previous:function(pe){return pe==null||!this._previousAttributes?null:this._previousAttributes[pe]},previousAttributes:function(){return e.clone(this._previousAttributes)},fetch:function(pe){pe=e.extend({parse:!0},pe);var xe=this,Ve=pe.success;return pe.success=function(bt){var Yt=pe.parse?xe.parse(bt,pe):bt;if(!xe.set(Yt,pe))return!1;Ve&&Ve.call(pe.context,xe,bt,pe),xe.trigger("sync",xe,bt,pe)},Or(this,pe),this.sync("read",this,pe)},save:function(pe,xe,Ve){var bt;pe==null||typeof pe=="object"?(bt=pe,Ve=xe):(bt={})[pe]=xe,Ve=e.extend({validate:!0,parse:!0},Ve);var Yt=Ve.wait;if(bt&&!Yt){if(!this.set(bt,Ve))return!1}else if(!this._validate(bt,Ve))return!1;var jt=this,tn=Ve.success,an=this.attributes;Ve.success=function(Nn){jt.attributes=an;var pi=Ve.parse?jt.parse(Nn,Ve):Nn;if(Yt&&(pi=e.extend({},bt,pi)),pi&&!jt.set(pi,Ve))return!1;tn&&tn.call(Ve.context,jt,Nn,Ve),jt.trigger("sync",jt,Nn,Ve)},Or(this,Ve),bt&&Yt&&(this.attributes=e.extend({},an,bt));var Fn=this.isNew()?"create":Ve.patch?"patch":"update";Fn==="patch"&&!Ve.attrs&&(Ve.attrs=bt);var wr=this.sync(Fn,this,Ve);return this.attributes=an,wr},destroy:function(pe){pe=pe?e.clone(pe):{};var xe=this,Ve=pe.success,bt=pe.wait,Yt=function(){xe.stopListening(),xe.trigger("destroy",xe,xe.collection,pe)};pe.success=function(tn){bt&&Yt(),Ve&&Ve.call(pe.context,xe,tn,pe),xe.isNew()||xe.trigger("sync",xe,tn,pe)};var jt=!1;return this.isNew()?e.defer(pe.success):(Or(this,pe),jt=this.sync("delete",this,pe)),bt||Yt(),jt},url:function(){var pe=e.result(this,"urlRoot")||e.result(this.collection,"url")||zt();if(this.isNew())return pe;var xe=this.get(this.idAttribute);return pe.replace(/[^\/]$/,"$&/")+encodeURIComponent(xe)},parse:function(pe,xe){return pe},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(pe){return this._validate({},e.defaults({validate:!0},pe))},_validate:function(pe,xe){if(!xe.validate||!this.validate)return!0;pe=e.extend({},this.attributes,pe);var Ve=this.validationError=this.validate(pe,xe)||null;return Ve?(this.trigger("invalid",this,Ve,e.extend(xe,{validationError:Ve})),!1):!0}});var J={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};s($,J,"attributes");var k=r.Collection=function(pe,xe){xe||(xe={}),xe.model&&(this.model=xe.model),xe.comparator!==void 0&&(this.comparator=xe.comparator),this._reset(),this.initialize.apply(this,arguments),pe&&this.reset(pe,e.extend({silent:!0},xe))},se={add:!0,remove:!0,merge:!0},V={add:!0,remove:!1},X=function(pe,xe,Ve){Ve=Math.min(Math.max(Ve,0),pe.length);for(var bt=Array(pe.length-Ve),Yt=xe.length,jt=0;jt<bt.length;jt++)bt[jt]=pe[jt+Ve];for(jt=0;jt<Yt;jt++)pe[jt+Ve]=xe[jt];for(jt=0;jt<bt.length;jt++)pe[jt+Yt+Ve]=bt[jt]};e.extend(k.prototype,h,{model:$,initialize:function(){},toJSON:function(pe){return this.map(function(xe){return xe.toJSON(pe)})},sync:function(){return r.sync.apply(this,arguments)},add:function(pe,xe){return this.set(pe,e.extend({merge:!1},xe,V))},remove:function(pe,xe){xe=e.extend({},xe);var Ve=!e.isArray(pe);pe=Ve?[pe]:e.clone(pe);var bt=this._removeModels(pe,xe);return!xe.silent&&bt&&this.trigger("update",this,xe),Ve?bt[0]:bt},set:function(pe,xe){if(pe!=null){xe=e.defaults({},xe,se),xe.parse&&!this._isModel(pe)&&(pe=this.parse(pe,xe));var Ve=!e.isArray(pe);pe=Ve?[pe]:pe.slice();var bt=xe.at;bt!=null&&(bt=+bt),bt<0&&(bt+=this.length+1);for(var Yt=[],jt=[],tn=[],an={},Fn=xe.add,wr=xe.merge,Nn=xe.remove,pi=!1,Ti=this.comparator&&bt==null&&xe.sort!==!1,ka=e.isString(this.comparator)?this.comparator:null,si,Hn=0;Hn<pe.length;Hn++){si=pe[Hn];var Di=this.get(si);if(Di){if(wr&&si!==Di){var Yi=this._isModel(si)?si.attributes:si;xe.parse&&(Yi=Di.parse(Yi,xe)),Di.set(Yi,xe),Ti&&!pi&&(pi=Di.hasChanged(ka))}an[Di.cid]||(an[Di.cid]=!0,Yt.push(Di)),pe[Hn]=Di}else Fn&&(si=pe[Hn]=this._prepareModel(si,xe),si&&(jt.push(si),this._addReference(si,xe),an[si.cid]=!0,Yt.push(si)))}if(Nn){for(Hn=0;Hn<this.length;Hn++)si=this.models[Hn],an[si.cid]||tn.push(si);tn.length&&this._removeModels(tn,xe)}var di=!1,jr=!Ti&&Fn&&Nn;if(Yt.length&&jr?(di=this.length!=Yt.length||e.some(this.models,function(Jr,Br){return Jr!==Yt[Br]}),this.models.length=0,X(this.models,Yt,0),this.length=this.models.length):jt.length&&(Ti&&(pi=!0),X(this.models,jt,bt??this.length),this.length=this.models.length),pi&&this.sort({silent:!0}),!xe.silent){for(Hn=0;Hn<jt.length;Hn++)bt!=null&&(xe.index=bt+Hn),si=jt[Hn],si.trigger("add",si,this,xe);(pi||di)&&this.trigger("sort",this,xe),(jt.length||tn.length)&&this.trigger("update",this,xe)}return Ve?pe[0]:pe}},reset:function(pe,xe){xe=xe?e.clone(xe):{};for(var Ve=0;Ve<this.models.length;Ve++)this._removeReference(this.models[Ve],xe);return xe.previousModels=this.models,this._reset(),pe=this.add(pe,e.extend({silent:!0},xe)),xe.silent||this.trigger("reset",this,xe),pe},push:function(pe,xe){return this.add(pe,e.extend({at:this.length},xe))},pop:function(pe){var xe=this.at(this.length-1);return this.remove(xe,pe)},unshift:function(pe,xe){return this.add(pe,e.extend({at:0},xe))},shift:function(pe){var xe=this.at(0);return this.remove(xe,pe)},slice:function(){return a.apply(this.models,arguments)},get:function(pe){if(pe!=null){var xe=this.modelId(this._isModel(pe)?pe.attributes:pe);return this._byId[pe]||this._byId[xe]||this._byId[pe.cid]}},at:function(pe){return pe<0&&(pe+=this.length),this.models[pe]},where:function(pe,xe){return this[xe?"find":"filter"](pe)},findWhere:function(pe){return this.where(pe,!0)},sort:function(pe){var xe=this.comparator;if(!xe)throw new Error("Cannot sort a set without a comparator");pe||(pe={});var Ve=xe.length;return e.isFunction(xe)&&(xe=e.bind(xe,this)),Ve===1||e.isString(xe)?this.models=this.sortBy(xe):this.models.sort(xe),pe.silent||this.trigger("sort",this,pe),this},pluck:function(pe){return e.invoke(this.models,"get",pe)},fetch:function(pe){pe=e.extend({parse:!0},pe);var xe=pe.success,Ve=this;return pe.success=function(bt){var Yt=pe.reset?"reset":"set";Ve[Yt](bt,pe),xe&&xe.call(pe.context,Ve,bt,pe),Ve.trigger("sync",Ve,bt,pe)},Or(this,pe),this.sync("read",this,pe)},create:function(pe,xe){xe=xe?e.clone(xe):{};var Ve=xe.wait;if(pe=this._prepareModel(pe,xe),!pe)return!1;Ve||this.add(pe,xe);var bt=this,Yt=xe.success;return xe.success=function(jt,tn,an){Ve&&bt.add(jt,an),Yt&&Yt.call(an.context,jt,tn,an)},pe.save(null,xe),pe},parse:function(pe,xe){return pe},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(pe){return pe[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(pe,xe){if(this._isModel(pe))return pe.collection||(pe.collection=this),pe;xe=xe?e.clone(xe):{},xe.collection=this;var Ve=new this.model(pe,xe);return Ve.validationError?(this.trigger("invalid",this,Ve.validationError,xe),!1):Ve},_removeModels:function(pe,xe){for(var Ve=[],bt=0;bt<pe.length;bt++){var Yt=this.get(pe[bt]);if(Yt){var jt=this.indexOf(Yt);this.models.splice(jt,1),this.length--,xe.silent||(xe.index=jt,Yt.trigger("remove",Yt,this,xe)),Ve.push(Yt),this._removeReference(Yt,xe)}}return Ve.length?Ve:!1},_isModel:function(pe){return pe instanceof $},_addReference:function(pe,xe){this._byId[pe.cid]=pe;var Ve=this.modelId(pe.attributes);Ve!=null&&(this._byId[Ve]=pe),pe.on("all",this._onModelEvent,this)},_removeReference:function(pe,xe){delete this._byId[pe.cid];var Ve=this.modelId(pe.attributes);Ve!=null&&delete this._byId[Ve],this===pe.collection&&delete pe.collection,pe.off("all",this._onModelEvent,this)},_onModelEvent:function(pe,xe,Ve,bt){if(!((pe==="add"||pe==="remove")&&Ve!==this)){if(pe==="destroy"&&this.remove(xe,bt),pe==="change"){var Yt=this.modelId(xe.previousAttributes()),jt=this.modelId(xe.attributes);Yt!==jt&&(Yt!=null&&delete this._byId[Yt],jt!=null&&(this._byId[jt]=xe))}this.trigger.apply(this,arguments)}}});var I={forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3};s(k,I,"models");var O=r.View=function(pe){this.cid=e.uniqueId("view"),e.extend(this,e.pick(pe,re)),this._ensureElement(),this.initialize.apply(this,arguments)},U=/^(\S+)\s*(.*)$/,re=["model","collection","el","id","attributes","className","tagName","events"];e.extend(O.prototype,h,{tagName:"div",$:function(pe){return this.$el.find(pe)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(pe){return this.undelegateEvents(),this._setElement(pe),this.delegateEvents(),this},_setElement:function(pe){this.$el=pe instanceof r.$?pe:r.$(pe),this.el=this.$el[0]},delegateEvents:function(pe){if(pe||(pe=e.result(this,"events")),!pe)return this;this.undelegateEvents();for(var xe in pe){var Ve=pe[xe];if(e.isFunction(Ve)||(Ve=this[Ve]),!!Ve){var bt=xe.match(U);this.delegate(bt[1],bt[2],e.bind(Ve,this))}}return this},delegate:function(pe,xe,Ve){return this.$el.on(pe+".delegateEvents"+this.cid,xe,Ve),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(pe,xe,Ve){return this.$el.off(pe+".delegateEvents"+this.cid,xe,Ve),this},_createElement:function(pe){return document.createElement(pe)},_ensureElement:function(){if(this.el)this.setElement(e.result(this,"el"));else{var pe=e.extend({},e.result(this,"attributes"));this.id&&(pe.id=e.result(this,"id")),this.className&&(pe.class=e.result(this,"className")),this.setElement(this._createElement(e.result(this,"tagName"))),this._setAttributes(pe)}},_setAttributes:function(pe){this.$el.attr(pe)}}),r.sync=function(pe,xe,Ve){var bt=ee[pe];e.defaults(Ve||(Ve={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var Yt={type:bt,dataType:"json"};if(Ve.url||(Yt.url=e.result(xe,"url")||zt()),Ve.data==null&&xe&&(pe==="create"||pe==="update"||pe==="patch")&&(Yt.contentType="application/json",Yt.data=JSON.stringify(Ve.attrs||xe.toJSON(Ve))),Ve.emulateJSON&&(Yt.contentType="application/x-www-form-urlencoded",Yt.data=Yt.data?{model:Yt.data}:{}),Ve.emulateHTTP&&(bt==="PUT"||bt==="DELETE"||bt==="PATCH")){Yt.type="POST",Ve.emulateJSON&&(Yt.data._method=bt);var jt=Ve.beforeSend;Ve.beforeSend=function(Fn){if(Fn.setRequestHeader("X-HTTP-Method-Override",bt),jt)return jt.apply(this,arguments)}}Yt.type!=="GET"&&!Ve.emulateJSON&&(Yt.processData=!1);var tn=Ve.error;Ve.error=function(Fn,wr,Nn){Ve.textStatus=wr,Ve.errorThrown=Nn,tn&&tn.call(Ve.context,Fn,wr,Nn)};var an=Ve.xhr=r.ajax(e.extend(Yt,Ve));return xe.trigger("request",xe,an,Ve),an};var ee={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var he=r.Router=function(pe){pe||(pe={}),pe.routes&&(this.routes=pe.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},Ne=/\((.*?)\)/g,qe=/(\(\?)?:\w+/g,He=/\*\w+/g,ct=/[\-{}\[\]+?.,\\\^$|#\s]/g;e.extend(he.prototype,h,{initialize:function(){},route:function(pe,xe,Ve){e.isRegExp(pe)||(pe=this._routeToRegExp(pe)),e.isFunction(xe)&&(Ve=xe,xe=""),Ve||(Ve=this[xe]);var bt=this;return r.history.route(pe,function(Yt){var jt=bt._extractParameters(pe,Yt);bt.execute(Ve,jt,xe)!==!1&&(bt.trigger.apply(bt,["route:"+xe].concat(jt)),bt.trigger("route",xe,jt),r.history.trigger("route",bt,xe,jt))}),this},execute:function(pe,xe,Ve){pe&&pe.apply(this,xe)},navigate:function(pe,xe){return r.history.navigate(pe,xe),this},_bindRoutes:function(){if(this.routes){this.routes=e.result(this,"routes");for(var pe,xe=e.keys(this.routes);(pe=xe.pop())!=null;)this.route(pe,this.routes[pe])}},_routeToRegExp:function(pe){return pe=pe.replace(ct,"\\$&").replace(Ne,"(?:$1)?").replace(qe,function(xe,Ve){return Ve?xe:"([^/?]+)"}).replace(He,"([^?]*?)"),new RegExp("^"+pe+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(pe,xe){var Ve=pe.exec(xe).slice(1);return e.map(Ve,function(bt,Yt){return Yt===Ve.length-1?bt||null:bt?decodeURIComponent(bt):null})}});var gt=r.History=function(){this.handlers=[],this.checkUrl=e.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},Pt=/^[#\/]|\s+$/g,Ut=/^\/+|\/+$/g,or=/#.*$/;gt.started=!1,e.extend(gt.prototype,h,{interval:50,atRoot:function(){var pe=this.location.pathname.replace(/[^\/]$/,"$&/");return pe===this.root&&!this.getSearch()},matchRoot:function(){var pe=this.decodeFragment(this.location.pathname),xe=pe.slice(0,this.root.length-1)+"/";return xe===this.root},decodeFragment:function(pe){return decodeURI(pe.replace(/%25/g,"%2525"))},getSearch:function(){var pe=this.location.href.replace(/#.*/,"").match(/\?.+/);return pe?pe[0]:""},getHash:function(pe){var xe=(pe||this).location.href.match(/#(.*)$/);return xe?xe[1]:""},getPath:function(){var pe=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return pe.charAt(0)==="/"?pe.slice(1):pe},getFragment:function(pe){return pe==null&&(this._usePushState||!this._wantsHashChange?pe=this.getPath():pe=this.getHash()),pe.replace(Pt,"")},start:function(pe){if(gt.started)throw new Error("Backbone.history has already been started");if(gt.started=!0,this.options=e.extend({root:"/"},this.options,pe),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(document.documentMode===void 0||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.history&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(Ut,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var xe=this.root.slice(0,-1)||"/";return this.location.replace(xe+"#"+this.getPath()),!0}else this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var Ve=document.body,bt=Ve.insertBefore(this.iframe,Ve.firstChild).contentWindow;bt.document.open(),bt.document.close(),bt.location.hash="#"+this.fragment}var Yt=window.addEventListener||function(jt,tn){return attachEvent("on"+jt,tn)};if(this._usePushState?Yt("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?Yt("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var pe=window.removeEventListener||function(xe,Ve){return detachEvent("on"+xe,Ve)};this._usePushState?pe("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&pe("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),gt.started=!1},route:function(pe,xe){this.handlers.unshift({route:pe,callback:xe})},checkUrl:function(pe){var xe=this.getFragment();if(xe===this.fragment&&this.iframe&&(xe=this.getHash(this.iframe.contentWindow)),xe===this.fragment)return!1;this.iframe&&this.navigate(xe),this.loadUrl()},loadUrl:function(pe){return this.matchRoot()?(pe=this.fragment=this.getFragment(pe),e.some(this.handlers,function(xe){if(xe.route.test(pe))return xe.callback(pe),!0})):!1},navigate:function(pe,xe){if(!gt.started)return!1;(!xe||xe===!0)&&(xe={trigger:!!xe}),pe=this.getFragment(pe||"");var Ve=this.root;(pe===""||pe.charAt(0)==="?")&&(Ve=Ve.slice(0,-1)||"/");var bt=Ve+pe;if(pe=this.decodeFragment(pe.replace(or,"")),this.fragment!==pe){if(this.fragment=pe,this._usePushState)this.history[xe.replace?"replaceState":"pushState"]({},document.title,bt);else if(this._wantsHashChange){if(this._updateHash(this.location,pe,xe.replace),this.iframe&&pe!==this.getHash(this.iframe.contentWindow)){var Yt=this.iframe.contentWindow;xe.replace||(Yt.document.open(),Yt.document.close()),this._updateHash(Yt.location,pe,xe.replace)}}else return this.location.assign(bt);if(xe.trigger)return this.loadUrl(pe)}},_updateHash:function(pe,xe,Ve){if(Ve){var bt=pe.href.replace(/(javascript:|#).*$/,"");pe.replace(bt+"#"+xe)}else pe.hash="#"+xe}}),r.history=new gt;var Ft=function(pe,xe){var Ve=this,bt;pe&&e.has(pe,"constructor")?bt=pe.constructor:bt=function(){return Ve.apply(this,arguments)},e.extend(bt,Ve,xe);var Yt=function(){this.constructor=bt};return Yt.prototype=Ve.prototype,bt.prototype=new Yt,pe&&e.extend(bt.prototype,pe),bt.__super__=Ve.prototype,bt};$.extend=k.extend=he.extend=O.extend=gt.extend=Ft;var zt=function(){throw new Error('A "url" property or function must be specified')},Or=function(pe,xe){var Ve=xe.error;xe.error=function(bt){Ve&&Ve.call(xe.context,pe,bt,xe),pe.trigger("error",pe,bt,xe)}};return r})});var EFe={};Tl(EFe,{JupyterTransportModel:()=>wie,JupyterTransportView:()=>Cie,MODULE_NAME:()=>Sy,MODULE_VERSION:()=>Ty,createDeck:()=>tE,initPlayground:()=>rE,jupyterTransport:()=>nE,updateDeck:()=>YQ});var Ty="8.9.25",Sy="@deck.gl/jupyter-widget";et();ki();et();function xF(t,r,e,n,i,a,o){try{var s=t[a](o),u=s.value}catch(c){e(c);return}s.done?r(u):Promise.resolve(u).then(n,i)}function Nt(t){return function(){var r=this,e=arguments;return new Promise(function(n,i){var a=t.apply(r,e);function o(u){xF(a,n,i,o,s,"next",u)}function s(u){xF(a,n,i,o,s,"throw",u)}o(void 0)})}}var ky=en(On());et();at();vt();et();at();vt();et();var EF=100,CF=function(){function t(r,e){if(ce(this,t),_(this,"schema",void 0),_(this,"options",void 0),_(this,"length",0),_(this,"rows",null),_(this,"cursor",0),_(this,"_headers",[]),this.options=e,this.schema=r,!Array.isArray(r)){this._headers=[];for(var n in r)this._headers[r[n].index]=r[n].name}}return ve(t,[{key:"rowCount",value:function(){return this.length}},{key:"addArrayRow",value:function(e,n){Number.isFinite(n)&&(this.cursor=n),this.rows=this.rows||new Array(EF),this.rows[this.length]=e,this.length++}},{key:"addObjectRow",value:function(e,n){Number.isFinite(n)&&(this.cursor=n),this.rows=this.rows||new Array(EF),this.rows[this.length]=e,this.length++}},{key:"getBatch",value:function(){var e=this.rows;if(!e)return null;e=e.slice(0,this.length),this.rows=null;var n={shape:this.options.shape,batchType:"data",data:e,length:this.length,schema:this.schema,cursor:this.cursor};return n}}]),t}();at();vt();et();function Ey(t,r){if(!t)throw new Error("null row");if(!r)throw new Error("no headers");for(var e={},n=0;n<r.length;n++)e[r[n]]=t[n];return e}function Cy(t,r){if(!t)throw new Error("null row");if(!r)throw new Error("no headers");for(var e=new Array(r.length),n=0;n<r.length;n++)e[n]=t[r[n]];return e}var PF=100,OF=function(){function t(r,e){if(ce(this,t),_(this,"schema",void 0),_(this,"options",void 0),_(this,"length",0),_(this,"objectRows",null),_(this,"arrayRows",null),_(this,"cursor",0),_(this,"_headers",[]),this.options=e,this.schema=r,!Array.isArray(r)){this._headers=[];for(var n in r)this._headers[r[n].index]=r[n].name}}return ve(t,[{key:"rowCount",value:function(){return this.length}},{key:"addArrayRow",value:function(e,n){switch(Number.isFinite(n)&&(this.cursor=n),this.options.shape){case"object-row-table":var i=Ey(e,this._headers);this.addObjectRow(i,n);break;case"array-row-table":this.arrayRows=this.arrayRows||new Array(PF),this.arrayRows[this.length]=e,this.length++;break}}},{key:"addObjectRow",value:function(e,n){switch(Number.isFinite(n)&&(this.cursor=n),this.options.shape){case"array-row-table":var i=Cy(e,this._headers);this.addArrayRow(i,n);break;case"object-row-table":this.objectRows=this.objectRows||new Array(PF),this.objectRows[this.length]=e,this.length++;break}}},{key:"getBatch",value:function(){var e=this.arrayRows||this.objectRows;return e?(e=e.slice(0,this.length),this.arrayRows=null,this.objectRows=null,{shape:this.options.shape,batchType:"data",data:e,length:this.length,schema:this.schema,cursor:this.cursor}):null}}]),t}();Mn();at();vt();et();var toe=100,LF=function(){function t(r,e){ce(this,t),_(this,"schema",void 0),_(this,"length",0),_(this,"allocated",0),_(this,"columns",{}),this.schema=r,this._reallocateColumns()}return ve(t,[{key:"rowCount",value:function(){return this.length}},{key:"addArrayRow",value:function(e){this._reallocateColumns();var n=0;for(var i in this.columns)this.columns[i][this.length]=e[n++];this.length++}},{key:"addObjectRow",value:function(e){this._reallocateColumns();for(var n in e)this.columns[n][this.length]=e[n];this.length++}},{key:"getBatch",value:function(){this._pruneColumns();var e=Array.isArray(this.schema)?this.columns:{};if(!Array.isArray(this.schema))for(var n in this.schema){var i=this.schema[n];e[i.name]=this.columns[i.index]}this.columns={};var a={shape:"columnar-table",batchType:"data",data:e,schema:this.schema,length:this.length};return a}},{key:"_reallocateColumns",value:function(){if(!(this.length<this.allocated)){this.allocated=this.allocated>0?this.allocated*=2:toe,this.columns={};for(var e in this.schema){var n=this.schema[e],i=n.type||Float32Array,a=this.columns[n.index];if(a&&ArrayBuffer.isView(a)){var o=new i(this.allocated);o.set(a),this.columns[n.index]=o}else a?(a.length=this.allocated,this.columns[n.index]=a):this.columns[n.index]=new i(this.allocated)}}}},{key:"_pruneColumns",value:function(){for(var e=0,n=Object.entries(this.columns);e<n.length;e++){var i=Ot(n[e],2),a=i[0],o=i[1];this.columns[a]=o.slice(0,this.length)}}}]),t}();function kF(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,n)}return e}function BF(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?kF(Object(e),!0).forEach(function(n){_(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):kF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}var roe={shape:"array-row-table",batchSize:"auto",batchDebounceMs:0,limit:0,_limitMB:0},DF="TableBatchBuilder",Kb=function(){function t(r,e){ce(this,t),_(this,"schema",void 0),_(this,"options",void 0),_(this,"aggregator",null),_(this,"batchCount",0),_(this,"bytesUsed",0),_(this,"isChunkComplete",!1),_(this,"lastBatchEmittedMs",Date.now()),_(this,"totalLength",0),_(this,"totalBytes",0),_(this,"rowBytes",0),this.schema=r,this.options=BF(BF({},roe),e)}return ve(t,[{key:"limitReached",value:function(){var e,n;return!!(Boolean((e=this.options)===null||e===void 0?void 0:e.limit)&&this.totalLength>=this.options.limit||Boolean((n=this.options)===null||n===void 0?void 0:n._limitMB)&&this.totalBytes/1e6>=this.options._limitMB)}},{key:"addRow",value:function(e){this.limitReached()||(this.totalLength++,this.rowBytes=this.rowBytes||this._estimateRowMB(e),this.totalBytes+=this.rowBytes,Array.isArray(e)?this.addArrayRow(e):this.addObjectRow(e))}},{key:"addArrayRow",value:function(e){if(!this.aggregator){var n=this._getTableBatchType();this.aggregator=new n(this.schema,this.options)}this.aggregator.addArrayRow(e)}},{key:"addObjectRow",value:function(e){if(!this.aggregator){var n=this._getTableBatchType();this.aggregator=new n(this.schema,this.options)}this.aggregator.addObjectRow(e)}},{key:"chunkComplete",value:function(e){e instanceof ArrayBuffer&&(this.bytesUsed+=e.byteLength),typeof e=="string"&&(this.bytesUsed+=e.length),this.isChunkComplete=!0}},{key:"getFullBatch",value:function(e){return this._isFull()?this._getBatch(e):null}},{key:"getFinalBatch",value:function(e){return this._getBatch(e)}},{key:"_estimateRowMB",value:function(e){return Array.isArray(e)?e.length*8:Object.keys(e).length*8}},{key:"_isFull",value:function(){if(!this.aggregator||this.aggregator.rowCount()===0)return!1;if(this.options.batchSize==="auto"){if(!this.isChunkComplete)return!1}else if(this.options.batchSize>this.aggregator.rowCount())return!1;return this.options.batchDebounceMs>Date.now()-this.lastBatchEmittedMs?!1:(this.isChunkComplete=!1,this.lastBatchEmittedMs=Date.now(),!0)}},{key:"_getBatch",value:function(e){if(!this.aggregator)return null;e!=null&&e.bytesUsed&&(this.bytesUsed=e.bytesUsed);var n=this.aggregator.getBatch();return n.count=this.batchCount,n.bytesUsed=this.bytesUsed,Object.assign(n,e),this.batchCount++,this.aggregator=null,n}},{key:"_getTableBatchType",value:function(){switch(this.options.shape){case"row-table":return CF;case"array-row-table":case"object-row-table":return OF;case"columnar-table":return LF;case"arrow-table":if(!t.ArrowBatch)throw new Error(DF);return t.ArrowBatch;default:throw new Error(DF)}}}]),t}();_(Kb,"ArrowBatch",void 0);function qh(t){for(var r=1/0,e=1/0,n=1/0,i=-1/0,a=-1/0,o=-1/0,s=t.POSITION?t.POSITION.value:[],u=s&&s.length,c=0;c<u;c+=3){var h=s[c],p=s[c+1],v=s[c+2];r=h<r?h:r,e=p<e?p:e,n=v<n?v:n,i=h>i?h:i,a=p>a?p:a,o=v>o?v:o}return[[r,e,n],[i,a,o]]}sC();function cC(t){if(Array.isArray(t))return dg(t)}function fC(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}uC();function hC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
530
530
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pr(t){return cC(t)||fC(t)||Py(t)||hC()}at();vt();et();function FF(t,r){if(!t)throw new Error(r||"loader assertion failed.")}function pC(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=noe(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
531
531
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function noe(t,r){if(t){if(typeof t=="string")return NF(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return NF(t,r)}}function NF(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var Oy=function(){function t(r,e){ce(this,t),_(this,"fields",void 0),_(this,"metadata",void 0),FF(Array.isArray(r)),ioe(r),this.fields=r,this.metadata=e||new Map}return ve(t,[{key:"compareTo",value:function(e){if(this.metadata!==e.metadata||this.fields.length!==e.fields.length)return!1;for(var n=0;n<this.fields.length;++n)if(!this.fields[n].compareTo(e.fields[n]))return!1;return!0}},{key:"select",value:function(){for(var e=Object.create(null),n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(var o=0,s=i;o<s.length;o++){var u=s[o];e[u]=!0}var c=this.fields.filter(function(h){return e[h.name]});return new t(c,this.metadata)}},{key:"selectAt",value:function(){for(var e=this,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i.map(function(s){return e.fields[s]}).filter(Boolean);return new t(o,this.metadata)}},{key:"assign",value:function(e){var n,i=this.metadata;if(e instanceof t){var a=e;n=a.fields,i=zF(zF(new Map,this.metadata),a.metadata)}else n=e;var o=Object.create(null),s=pC(this.fields),u;try{for(s.s();!(u=s.n()).done;){var c=u.value;o[c.name]=c}}catch(E){s.e(E)}finally{s.f()}var h=pC(n),p;try{for(h.s();!(p=h.n()).done;){var v=p.value;o[v.name]=v}}catch(E){h.e(E)}finally{h.f()}var x=Object.values(o);return new t(x,i)}}]),t}();function ioe(t){var r={},e=pC(t),n;try{for(e.s();!(n=e.n()).done;){var i=n.value;r[i.name]&&console.warn("Schema: duplicated field name",i.name,i),r[i.name]=!0}}catch(a){e.e(a)}finally{e.f()}}function zF(t,r){return new Map([].concat(Pr(t||new Map),Pr(r||new Map)))}at();vt();et();var My=function(){function t(r,e){ce(this,t);var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new Map;_(this,"name",void 0),_(this,"type",void 0),_(this,"nullable",void 0),_(this,"metadata",void 0),this.name=r,this.type=e,this.nullable=n,this.metadata=i}return ve(t,[{key:"typeId",get:function(){return this.type&&this.type.typeId}},{key:"clone",value:function(){return new t(this.name,this.type,this.nullable,this.metadata)}},{key:"compareTo",value:function(e){return this.name===e.name&&this.type===e.type&&this.nullable===e.nullable&&this.metadata===e.metadata}},{key:"toString",value:function(){return"".concat(this.type).concat(this.nullable?", nullable":"").concat(this.metadata?", metadata: ".concat(this.metadata):"")}}]),t}();function Gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xh(t,r){return Xh=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xh(t,r)}function Ke(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&Xh(t,r)}ki();function st(t,r){if(r&&(vr(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gt(t)}function me(t){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},me(t)}at();vt();et();var Da=function(t){return t[t.NONE=0]="NONE",t[t.Null=1]="Null",t[t.Int=2]="Int",t[t.Float=3]="Float",t[t.Binary=4]="Binary",t[t.Utf8=5]="Utf8",t[t.Bool=6]="Bool",t[t.Decimal=7]="Decimal",t[t.Date=8]="Date",t[t.Time=9]="Time",t[t.Timestamp=10]="Timestamp",t[t.Interval=11]="Interval",t[t.List=12]="List",t[t.Struct=13]="Struct",t[t.Union=14]="Union",t[t.FixedSizeBinary=15]="FixedSizeBinary",t[t.FixedSizeList=16]="FixedSizeList",t[t.Map=17]="Map",t[t.Dictionary=-1]="Dictionary",t[t.Int8=-2]="Int8",t[t.Int16=-3]="Int16",t[t.Int32=-4]="Int32",t[t.Int64=-5]="Int64",t[t.Uint8=-6]="Uint8",t[t.Uint16=-7]="Uint16",t[t.Uint32=-8]="Uint32",t[t.Uint64=-9]="Uint64",t[t.Float16=-10]="Float16",t[t.Float32=-11]="Float32",t[t.Float64=-12]="Float64",t[t.DateDay=-13]="DateDay",t[t.DateMillisecond=-14]="DateMillisecond",t[t.TimestampSecond=-15]="TimestampSecond",t[t.TimestampMillisecond=-16]="TimestampMillisecond",t[t.TimestampMicrosecond=-17]="TimestampMicrosecond",t[t.TimestampNanosecond=-18]="TimestampNanosecond",t[t.TimeSecond=-19]="TimeSecond",t[t.TimeMillisecond=-20]="TimeMillisecond",t[t.TimeMicrosecond=-21]="TimeMicrosecond",t[t.TimeNanosecond=-22]="TimeNanosecond",t[t.DenseUnion=-23]="DenseUnion",t[t.SparseUnion=-24]="SparseUnion",t[t.IntervalDayTime=-25]="IntervalDayTime",t[t.IntervalYearMonth=-26]="IntervalYearMonth",t}({});function Ra(t){var r=aoe();return function(){var n=me(t),i;if(r){var a=me(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return st(this,i)}}function aoe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var UF,jF,GF,VF,HF,WF,qF,XF,Vl=function(){function t(){ce(this,t)}return ve(t,[{key:"typeId",get:function(){return Da.NONE}},{key:"compareTo",value:function(e){return this===e}}],[{key:"isNull",value:function(e){return e&&e.typeId===Da.Null}},{key:"isInt",value:function(e){return e&&e.typeId===Da.Int}},{key:"isFloat",value:function(e){return e&&e.typeId===Da.Float}},{key:"isBinary",value:function(e){return e&&e.typeId===Da.Binary}},{key:"isUtf8",value:function(e){return e&&e.typeId===Da.Utf8}},{key:"isBool",value:function(e){return e&&e.typeId===Da.Bool}},{key:"isDecimal",value:function(e){return e&&e.typeId===Da.Decimal}},{key:"isDate",value:function(e){return e&&e.typeId===Da.Date}},{key:"isTime",value:function(e){return e&&e.typeId===Da.Time}},{key:"isTimestamp",value:function(e){return e&&e.typeId===Da.Timestamp}},{key:"isInterval",value:function(e){return e&&e.typeId===Da.Interval}},{key:"isList",value:function(e){return e&&e.typeId===Da.List}},{key:"isStruct",value:function(e){return e&&e.typeId===Da.Struct}},{key:"isUnion",value:function(e){return e&&e.typeId===Da.Union}},{key:"isFixedSizeBinary",value:function(e){return e&&e.typeId===Da.FixedSizeBinary}},{key:"isFixedSizeList",value:function(e){return e&&e.typeId===Da.FixedSizeList}},{key:"isMap",value:function(e){return e&&e.typeId===Da.Map}},{key:"isDictionary",value:function(e){return e&&e.typeId===Da.Dictionary}}]),t}(),YF=function(t,r){Ke(n,t);var e=Ra(n);function n(){return ce(this,n),e.apply(this,arguments)}return ve(n,[{key:"typeId",get:function(){return Da.Null}},{key:r,get:function(){return"Null"}},{key:"toString",value:function(){return"Null"}}]),n}(Vl,Symbol.toStringTag),KF=function(t,r){Ke(n,t);var e=Ra(n);function n(){return ce(this,n),e.apply(this,arguments)}return ve(n,[{key:"typeId",get:function(){return Da.Bool}},{key:r,get:function(){return"Bool"}},{key:"toString",value:function(){return"Bool"}}]),n}(Vl,Symbol.toStringTag);UF=Symbol.toStringTag;var Kf=function(t,r){Ke(n,t);var e=Ra(n);function n(i,a){var o;return ce(this,n),o=e.call(this),_(Gt(o),"isSigned",void 0),_(Gt(o),"bitWidth",void 0),o.isSigned=i,o.bitWidth=a,o}return ve(n,[{key:"typeId",get:function(){return Da.Int}},{key:r,get:function(){return"Int"}},{key:"toString",value:function(){return"".concat(this.isSigned?"I":"Ui","nt").concat(this.bitWidth)}}]),n}(Vl,UF),Zb=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,!0,8)}return e}(Kf),$b=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,!0,16)}return e}(Kf),Jb=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,!0,32)}return e}(Kf),ZF=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,!0,64)}return e}(Kf),Qb=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,!1,8)}return e}(Kf),ex=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,!1,16)}return e}(Kf),tx=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,!1,32)}return e}(Kf),$F=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,!1,64)}return e}(Kf),dC={HALF:16,SINGLE:32,DOUBLE:64};jF=Symbol.toStringTag;var Iy=function(t,r){Ke(n,t);var e=Ra(n);function n(i){var a;return ce(this,n),a=e.call(this),_(Gt(a),"precision",void 0),a.precision=i,a}return ve(n,[{key:"typeId",get:function(){return Da.Float}},{key:r,get:function(){return"Float"}},{key:"toString",value:function(){return"Float".concat(this.precision)}}]),n}(Vl,jF),JF=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,dC.HALF)}return e}(Iy),rx=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,dC.SINGLE)}return e}(Iy),nx=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,dC.DOUBLE)}return e}(Iy),QF=function(t,r){Ke(n,t);var e=Ra(n);function n(){return ce(this,n),e.call(this)}return ve(n,[{key:"typeId",get:function(){return Da.Binary}},{key:"toString",value:function(){return"Binary"}},{key:r,get:function(){return"Binary"}}]),n}(Vl,Symbol.toStringTag),e4=function(t,r){Ke(n,t);var e=Ra(n);function n(){return ce(this,n),e.apply(this,arguments)}return ve(n,[{key:"typeId",get:function(){return Da.Utf8}},{key:r,get:function(){return"Utf8"}},{key:"toString",value:function(){return"Utf8"}}]),n}(Vl,Symbol.toStringTag),mC={DAY:0,MILLISECOND:1};GF=Symbol.toStringTag;var ix=function(t,r){Ke(n,t);var e=Ra(n);function n(i){var a;return ce(this,n),a=e.call(this),_(Gt(a),"unit",void 0),a.unit=i,a}return ve(n,[{key:"typeId",get:function(){return Da.Date}},{key:r,get:function(){return"Date"}},{key:"toString",value:function(){return"Date".concat((this.unit+1)*32,"<").concat(mC[this.unit],">")}}]),n}(Vl,GF),t4=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,mC.DAY)}return e}(ix),r4=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,mC.MILLISECOND)}return e}(ix),Xp={SECOND:1,MILLISECOND:1e3,MICROSECOND:1e6,NANOSECOND:1e9};VF=Symbol.toStringTag;var ax=function(t,r){Ke(n,t);var e=Ra(n);function n(i,a){var o;return ce(this,n),o=e.call(this),_(Gt(o),"unit",void 0),_(Gt(o),"bitWidth",void 0),o.unit=i,o.bitWidth=a,o}return ve(n,[{key:"typeId",get:function(){return Da.Time}},{key:"toString",value:function(){return"Time".concat(this.bitWidth,"<").concat(Xp[this.unit],">")}},{key:r,get:function(){return"Time"}}]),n}(Vl,VF),n4=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,Xp.SECOND,32)}return e}(ax),i4=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,Xp.MILLISECOND,32)}return e}(ax);HF=Symbol.toStringTag;var mg=function(t,r){Ke(n,t);var e=Ra(n);function n(i){var a;ce(this,n);var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return a=e.call(this),_(Gt(a),"unit",void 0),_(Gt(a),"timezone",void 0),a.unit=i,a.timezone=o,a}return ve(n,[{key:"typeId",get:function(){return Da.Timestamp}},{key:r,get:function(){return"Timestamp"}},{key:"toString",value:function(){return"Timestamp<".concat(Xp[this.unit]).concat(this.timezone?", ".concat(this.timezone):"",">")}}]),n}(Vl,HF),a4=function(t){Ke(e,t);var r=Ra(e);function e(){ce(this,e);var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return r.call(this,Xp.SECOND,n)}return e}(mg),o4=function(t){Ke(e,t);var r=Ra(e);function e(){ce(this,e);var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return r.call(this,Xp.MILLISECOND,n)}return e}(mg),s4=function(t){Ke(e,t);var r=Ra(e);function e(){ce(this,e);var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return r.call(this,Xp.MICROSECOND,n)}return e}(mg),u4=function(t){Ke(e,t);var r=Ra(e);function e(){ce(this,e);var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return r.call(this,Xp.NANOSECOND,n)}return e}(mg),vC={DAY_TIME:0,YEAR_MONTH:1};WF=Symbol.toStringTag;var ox=function(t,r){Ke(n,t);var e=Ra(n);function n(i){var a;return ce(this,n),a=e.call(this),_(Gt(a),"unit",void 0),a.unit=i,a}return ve(n,[{key:"typeId",get:function(){return Da.Interval}},{key:r,get:function(){return"Interval"}},{key:"toString",value:function(){return"Interval<".concat(vC[this.unit],">")}}]),n}(Vl,WF),l4=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,vC.DAY_TIME)}return e}(ox),c4=function(t){Ke(e,t);var r=Ra(e);function e(){return ce(this,e),r.call(this,vC.YEAR_MONTH)}return e}(ox);qF=Symbol.toStringTag;var sx=function(t,r){Ke(n,t);var e=Ra(n);function n(i,a){var o;return ce(this,n),o=e.call(this),_(Gt(o),"listSize",void 0),_(Gt(o),"children",void 0),o.listSize=i,o.children=[a],o}return ve(n,[{key:"typeId",get:function(){return Da.FixedSizeList}},{key:"valueType",get:function(){return this.children[0].type}},{key:"valueField",get:function(){return this.children[0]}},{key:r,get:function(){return"FixedSizeList"}},{key:"toString",value:function(){return"FixedSizeList[".concat(this.listSize,"]<").concat(this.valueType,">")}}]),n}(Vl,qF);XF=Symbol.toStringTag;var f4=function(t,r){Ke(n,t);var e=Ra(n);function n(i){var a;return ce(this,n),a=e.call(this),_(Gt(a),"children",void 0),a.children=i,a}return ve(n,[{key:"typeId",get:function(){return Da.Struct}},{key:"toString",value:function(){return"Struct<{".concat(this.children.map(function(a){return"".concat(a.name,":").concat(a.type)}).join(", "),"}>")}},{key:r,get:function(){return"Struct"}}]),n}(Vl,XF);function h4(t){switch(t.constructor){case Int8Array:return new Zb;case Uint8Array:return new Qb;case Int16Array:return new $b;case Uint16Array:return new ex;case Int32Array:return new Jb;case Uint32Array:return new tx;case Float32Array:return new rx;case Float64Array:return new nx;default:throw new Error("array type not supported")}}function gC(t,r,e){var n=h4(r.value),i=e||p4(r),a=new My(t,new sx(r.size,new My("value",n)),!1,i);return a}function p4(t){var r=new Map;return"byteOffset"in t&&r.set("byteOffset",t.byteOffset.toString(10)),"byteStride"in t&&r.set("byteStride",t.byteStride.toString(10)),"normalized"in t&&r.set("normalized",t.normalized.toString()),r}at();vt();function AC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function yC(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Yp(t,r,e){return yC()?Yp=Reflect.construct:Yp=function(i,a,o){var s=[null];s.push.apply(s,a);var u=Function.bind.apply(i,s),c=new u;return o&&Xh(c,o.prototype),c},Yp.apply(null,arguments)}function Ry(t){var r=typeof Map=="function"?new Map:void 0;return Ry=function(n){if(n===null||!AC(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(n))return r.get(n);r.set(n,i)}function i(){return Yp(n,arguments,me(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Xh(i,n)},Ry(t)}var ooe=en(On());et();function soe(t){var r=uoe();return function(){var n=me(t),i;if(r){var a=me(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return st(this,i)}}function uoe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var m4,d4=function(t){Ke(e,t);var r=soe(e);function e(){return ce(this,e),r.apply(this,arguments)}return ve(e,[{key:"enqueue",value:function(i){return this.push(i)}},{key:"dequeue",value:function(){return this.shift()}}]),e}(Ry(Array));m4=Symbol.asyncIterator;var _C=function(t){function r(){ce(this,r),_(this,"_values",void 0),_(this,"_settlers",void 0),_(this,"_closed",void 0),this._values=new d4,this._settlers=new d4,this._closed=!1}return ve(r,[{key:"close",value:function(){for(;this._settlers.length>0;)this._settlers.dequeue().resolve({done:!0});this._closed=!0}},{key:t,value:function(){return this}},{key:"enqueue",value:function(n){if(this._closed)throw new Error("Closed");if(this._settlers.length>0){if(this._values.length>0)throw new Error("Illegal internal state");var i=this._settlers.dequeue();n instanceof Error?i.reject(n):i.resolve({value:n})}else this._values.enqueue(n)}},{key:"next",value:function(){var n=this;if(this._values.length>0){var i=this._values.dequeue();return i instanceof Error?Promise.reject(i):Promise.resolve({value:i})}if(this._closed){if(this._settlers.length>0)throw new Error("Illegal internal state");return Promise.resolve({done:!0})}return new Promise(function(a,o){n._settlers.enqueue({resolve:a,reject:o})})}}]),r}(m4);ki();var v4="\uFEFF",Zf={parse:loe,unparse:coe,RECORD_SEP:String.fromCharCode(30),UNIT_SEP:String.fromCharCode(31),BYTE_ORDER_MARK:v4,BAD_DELIMITERS:["\r",`
|
|
532
532
|
`,'"',v4],WORKERS_SUPPORTED:!1,NODE_STREAM_INPUT:1,LocalChunkSize:1024*1024*10,RemoteChunkSize:1024*1024*5,DefaultDelimiter:",",Parser:bC,ParserHandle:A4,ChunkStreamer:g4,StringStreamer:vg},gg=Zf;function loe(t,r,e){r=r||{};var n=r.dynamicTyping||!1;if(Sl(n)&&(r.dynamicTypingFunction=n,n={}),r.dynamicTyping=n,r.transform=Sl(r.transform)?r.transform:!1,r.worker&&Zf.WORKERS_SUPPORTED){var i=newWorker();i.userStep=r.step,i.userChunk=r.chunk,i.userComplete=r.complete,i.userError=r.error,r.step=Sl(r.step),r.chunk=Sl(r.chunk),r.complete=Sl(r.complete),r.error=Sl(r.error),delete r.worker,i.postMessage({input:t,config:r,workerId:i.id});return}var a=null;return typeof t=="string"&&(a=new vg(r)),a||(a=new e(r)),a.stream(t)}function coe(t,r){var e=!1,n=!0,i=",",a=`\r
|
|
@@ -548,8 +548,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
548
548
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function use(t,r){if(t){if(typeof t=="string")return gN(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return gN(t,r)}}function gN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function AN(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,n)}return e}function vx(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?AN(Object(e),!0).forEach(function(n){_(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):AN(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function sP(){globalThis.loaders=globalThis.loaders||{};var t=globalThis.loaders;return t._state=t._state||{},t._state}var uP=function(){var r=sP();return r.globalOptions=r.globalOptions||vx({},oP),r.globalOptions};function xN(t,r,e,n){return e=e||[],e=Array.isArray(e)?e:[e],lse(t,e),fse(r,t,n)}function lse(t,r){yN(t,null,oP,vN,r);var e=bN(r),n;try{for(e.s();!(n=e.n()).done;){var i=n.value,a=t&&t[i.id]||{},o=i.options&&i.options[i.id]||{},s=i.deprecatedOptions&&i.deprecatedOptions[i.id]||{};yN(a,i.id,o,s,r)}}catch(u){e.e(u)}finally{e.f()}}function yN(t,r,e,n,i){var a=r||"Top level",o=r?"".concat(r,"."):"";for(var s in t){var u=!r&&dm(t[s]),c=s==="baseUri"&&!r,h=s==="workerUrl"&&r;if(!(s in e)&&!c&&!h){if(s in n)aP.warn("".concat(a," loader option '").concat(o).concat(s,"' no longer supported, use '").concat(n[s],"'"))();else if(!u){var p=cse(s,i);aP.warn("".concat(a," loader option '").concat(o).concat(s,"' not recognized. ").concat(p))()}}}}function cse(t,r){var e=t.toLowerCase(),n="",i=bN(r),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;for(var s in o.options){if(t===s)return"Did you mean '".concat(o.id,".").concat(s,"'?");var u=s.toLowerCase(),c=e.startsWith(u)||u.startsWith(e);c&&(n=n||"Did you mean '".concat(o.id,".").concat(s,"'?"))}}}catch(h){i.e(h)}finally{i.f()}return n}function fse(t,r,e){var n=t.options||{},i=vx({},n);return hse(i,e),i.log===null&&(i.log=new dN),_N(i,uP()),_N(i,r),i}function _N(t,r){for(var e in r)if(e in r){var n=r[e];ZC(n)&&ZC(t[e])?t[e]=vx(vx({},t[e]),r[e]):t[e]=r[e]}}function hse(t,r){r&&!("baseUri"in t)&&(t.baseUri=r)}et();function wN(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,n)}return e}function gx(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?wN(Object(e),!0).forEach(function(n){_(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wN(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function Yy(t){var r;if(!t)return!1;Array.isArray(t)&&(t=t[0]);var e=Array.isArray((r=t)===null||r===void 0?void 0:r.extensions);return e}function Ky(t){var r,e;ea(t,"null loader"),ea(Yy(t),"invalid loader");var n;return Array.isArray(t)&&(n=t[1],t=t[0],t=gx(gx({},t),{},{options:gx(gx({},t.options),n)})),((r=t)!==null&&r!==void 0&&r.parseTextSync||(e=t)!==null&&e!==void 0&&e.parseText)&&(t.text=!0),t.text||(t.binary=!0),t}function pse(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=dse(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
549
549
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function dse(t,r){if(t){if(typeof t=="string")return TN(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return TN(t,r)}}function TN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var SN=function(){var r=sP();return r.loaderRegistry=r.loaderRegistry||[],r.loaderRegistry};function Am(t){var r=SN();t=Array.isArray(t)?t:[t];var e=pse(t),n;try{var i=function(){var o=n.value,s=Ky(o);r.find(function(u){return s===u})||r.unshift(s)};for(e.s();!(n=e.n()).done;)i()}catch(a){e.e(a)}finally{e.f()}}function EN(){return SN()}et();ki();var cP=en(On());var CN=new th({id:"loaders.gl"});function PN(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,n)}return e}function ON(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?PN(Object(e),!0).forEach(function(n){_(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):PN(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function Zy(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=mse(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
550
550
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function mse(t,r){if(t){if(typeof t=="string")return MN(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return MN(t,r)}}function MN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var vse=/\.([^.]+)$/;function LN(t){return fP.apply(this,arguments)}function fP(){return fP=Nt(cP.default.mark(function t(r){var e,n,i,a,o=arguments;return cP.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(e=o.length>1&&o[1]!==void 0?o[1]:[],n=o.length>2?o[2]:void 0,i=o.length>3?o[3]:void 0,kN(r)){u.next=5;break}return u.abrupt("return",null);case 5:if(a=IN(r,e,ON(ON({},n),{},{nothrow:!0}),i),!a){u.next=8;break}return u.abrupt("return",a);case 8:if(!kc(r)){u.next=13;break}return u.next=11,r.slice(0,10).arrayBuffer();case 11:r=u.sent,a=IN(r,e,n,i);case 13:if(!(!a&&!(n!=null&&n.nothrow))){u.next=15;break}throw new Error(BN(r));case 15:return u.abrupt("return",a);case 16:case"end":return u.stop()}},t)})),fP.apply(this,arguments)}function IN(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],e=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if(!kN(t))return null;if(r&&!Array.isArray(r))return Ky(r);var i=[];if(r&&(i=i.concat(r)),!(e!=null&&e.ignoreRegisteredLoaders)){var a;(a=i).push.apply(a,Pr(EN()))}Ase(i);var o=gse(t,i,e,n);if(!o&&!(e!=null&&e.nothrow))throw new Error(BN(t));return o}function gse(t,r,e,n){var i=mm(t),a=Xy(t),o=bg(i)||n?.url,s=null,u="";if(e!=null&&e.mimeType&&(s=lP(r,e?.mimeType),u="match forced by supplied MIME type ".concat(e?.mimeType)),s=s||yse(r,o),u=u||(s?"matched url ".concat(o):""),s=s||lP(r,a),u=u||(s?"matched MIME type ".concat(a):""),s=s||bse(r,t),u=u||(s?"matched initial data ".concat(DN(t)):""),s=s||lP(r,e?.fallbackMimeType),u=u||(s?"matched fallback MIME type ".concat(a):""),u){var c;CN.log(1,"selectLoader selected ".concat((c=s)===null||c===void 0?void 0:c.name,": ").concat(u,"."))}return s}function kN(t){return!(t instanceof Response&&t.status===204)}function BN(t){var r=mm(t),e=Xy(t),n="No valid loader found (";n+=r?"".concat(df.filename(r),", "):"no url provided, ",n+="MIME type: ".concat(e?'"'.concat(e,'"'):"not provided",", ");var i=t?DN(t):"";return n+=i?' first bytes: "'.concat(i,'"'):"first bytes: not available",n+=")",n}function Ase(t){var r=Zy(t),e;try{for(r.s();!(e=r.n()).done;){var n=e.value;Ky(n)}}catch(i){r.e(i)}finally{r.f()}}function yse(t,r){var e=r&&vse.exec(r),n=e&&e[1];return n?_se(t,n):null}function _se(t,r){r=r.toLowerCase();var e=Zy(t),n;try{for(e.s();!(n=e.n()).done;){var i=n.value,a=Zy(i.extensions),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;if(s.toLowerCase()===r)return i}}catch(u){a.e(u)}finally{a.f()}}}catch(u){e.e(u)}finally{e.f()}return null}function lP(t,r){var e=Zy(t),n;try{for(e.s();!(n=e.n()).done;){var i=n.value;if(i.mimeTypes&&i.mimeTypes.includes(r)||r==="application/x.".concat(i.id))return i}}catch(a){e.e(a)}finally{e.f()}return null}function bse(t,r){if(!r)return null;var e=Zy(t),n;try{for(e.s();!(n=e.n()).done;){var i=n.value;if(typeof r=="string"){if(xse(r,i))return i}else if(ArrayBuffer.isView(r)){if(RN(r.buffer,r.byteOffset,i))return i}else if(r instanceof ArrayBuffer){var a=0;if(RN(r,a,i))return i}}}catch(o){e.e(o)}finally{e.f()}return null}function xse(t,r){if(r.testText)return r.testText(t);var e=Array.isArray(r.tests)?r.tests:[r.tests];return e.some(function(n){return t.startsWith(n)})}function RN(t,r,e){var n=Array.isArray(e.tests)?e.tests:[e.tests];return n.some(function(i){return wse(t,r,e,i)})}function wse(t,r,e,n){if(n instanceof ArrayBuffer)return GC(n,t,n.byteLength);switch(vr(n)){case"function":return n(t,e);case"string":var i=hP(t,r,n.length);return n===i;default:return!1}}function DN(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;if(typeof t=="string")return t.slice(0,r);if(ArrayBuffer.isView(t))return hP(t.buffer,t.byteOffset,r);if(t instanceof ArrayBuffer){var e=0;return hP(t,e,r)}return""}function hP(t,r,e){if(t.byteLength<r+e)return"";for(var n=new DataView(t),i="",a=0;a<e;a++)i+=String.fromCharCode(n.getUint8(r+a));return i}ki();var Jy=en(On());var bP=en(On());var pP=en(On()),Tse=pP.default.mark(dP),Sse=256*1024;function dP(t,r){var e,n,i,a,o;return pP.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:e=r?.chunkSize||Sse,n=0,i=new TextEncoder;case 3:if(!(n<t.length)){u.next=11;break}return a=Math.min(t.length-n,e),o=t.slice(n,n+a),n+=a,u.next=9,i.encode(o);case 9:u.next=3;break;case 11:case"end":return u.stop()}},Tse)}var mP=en(On()),Ese=256*1024;function FN(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return mP.default.mark(function e(){var n,i,a,o,s,u,c;return mP.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:n=r.chunkSize,i=n===void 0?Ese:n,a=0;case 2:if(!(a<t.byteLength)){p.next=13;break}return o=Math.min(t.byteLength-a,i),s=new ArrayBuffer(o),u=new Uint8Array(t,a,o),c=new Uint8Array(s),c.set(u),a+=o,p.next=11,s;case 11:p.next=2;break;case 13:case"end":return p.stop()}},e)})()}var vP=en(On()),Cse=1024*1024;function NN(t,r){return gP.apply(this,arguments)}function gP(){return gP=yg(vP.default.mark(function t(r,e){var n,i,a,o;return vP.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:n=e?.chunkSize||Cse,i=0;case 2:if(!(i<r.size)){u.next=12;break}return a=i+n,u.next=6,fm(r.slice(i,a).arrayBuffer());case 6:return o=u.sent,i=a,u.next=10,o;case 10:u.next=2;break;case 12:case"end":return u.stop()}},t)})),gP.apply(this,arguments)}var $y=en(On());function _P(t,r){return Kh?Pse(t,r):Ose(t,r)}function Pse(t,r){return AP.apply(this,arguments)}function AP(){return AP=yg($y.default.mark(function t(r,e){var n,i,a,o,s,u;return $y.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:n=r.getReader(),h.prev=1;case 2:return a=i||n.read(),e!=null&&e._streamReadAhead&&(i=n.read()),h.next=7,fm(a);case 7:if(o=h.sent,s=o.done,u=o.value,!s){h.next=12;break}return h.abrupt("return");case 12:return h.next=14,lx(u);case 14:h.next=2;break;case 16:h.next=21;break;case 18:h.prev=18,h.t0=h.catch(1),n.releaseLock();case 21:case"end":return h.stop()}},t,null,[[1,18]])})),AP.apply(this,arguments)}function Ose(t,r){return yP.apply(this,arguments)}function yP(){return yP=yg($y.default.mark(function t(r,e){var n,i,a,o,s,u;return $y.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:n=!1,i=!1,h.prev=2,o=Yh(r);case 4:return h.next=6,fm(o.next());case 6:if(!(n=!(s=h.sent).done)){h.next=13;break}return u=s.value,h.next=10,lx(u);case 10:n=!1,h.next=4;break;case 13:h.next=19;break;case 15:h.prev=15,h.t0=h.catch(2),i=!0,a=h.t0;case 19:if(h.prev=19,h.prev=20,!(n&&o.return!=null)){h.next=24;break}return h.next=24,fm(o.return());case 24:if(h.prev=24,!i){h.next=27;break}throw a;case 27:return h.finish(24);case 28:return h.finish(19);case 29:case"end":return h.stop()}},t,null,[[2,15,19,29],[20,,24,28]])})),yP.apply(this,arguments)}function zN(t,r){if(typeof t=="string")return dP(t,r);if(t instanceof ArrayBuffer)return FN(t,r);if(kc(t))return NN(t,r);if(cx(t))return _P(t,r);if(Lc(t)){var e=t;return _P(e.body,r)}throw new Error("makeIterator")}var UN="Cannot convert supplied data type";function Mse(t,r,e){if(r.text&&typeof t=="string")return t;if(Q4(t)&&(t=t.buffer),t instanceof ArrayBuffer){var n=t;if(r.text&&!r.binary){var i=new TextDecoder("utf8");return i.decode(n)}return n}if(ArrayBuffer.isView(t)){if(r.text&&!r.binary){var a=new TextDecoder("utf8");return a.decode(t)}var o=t.buffer,s=t.byteLength||t.length;return(t.byteOffset!==0||s!==o.byteLength)&&(o=o.slice(t.byteOffset,t.byteOffset+s)),o}throw new Error(UN)}function jN(t,r,e){return xP.apply(this,arguments)}function xP(){return xP=Nt(bP.default.mark(function t(r,e,n){var i,a;return bP.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(i=r instanceof ArrayBuffer||ArrayBuffer.isView(r),!(typeof r=="string"||i)){s.next=3;break}return s.abrupt("return",Mse(r,e,n));case 3:if(!kc(r)){s.next=7;break}return s.next=6,fx(r);case 6:r=s.sent;case 7:if(!Lc(r)){s.next=21;break}return a=r,s.next=11,iN(a);case 11:if(!e.binary){s.next=17;break}return s.next=14,a.arrayBuffer();case 14:s.t0=s.sent,s.next=20;break;case 17:return s.next=19,a.text();case 19:s.t0=s.sent;case 20:return s.abrupt("return",s.t0);case 21:if(cx(r)&&(r=zN(r,n)),!($4(r)||J4(r))){s.next=24;break}return s.abrupt("return",XC(r));case 24:throw new Error(UN);case 25:case"end":return s.stop()}},t)})),xP.apply(this,arguments)}et();function Ax(t,r){var e=uP(),n=t||e;return typeof n.fetch=="function"?n.fetch:dm(n.fetch)?function(i){return xg(i,n)}:r!=null&&r.fetch?r?.fetch:xg}function GN(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,n)}return e}function Ise(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?GN(Object(e),!0).forEach(function(n){_(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):GN(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function VN(t,r,e){if(e)return e;var n=Ise({fetch:Ax(r,t)},t);if(n.url){var i=bg(n.url);n.baseUrl=i,n.queryString=rN(n.url),n.filename=df.filename(i),n.baseUrl=df.dirname(i)}return Array.isArray(n.loaders)||(n.loaders=null),n}function HN(t,r){if(!r&&t&&!Array.isArray(t))return t;var e;if(t&&(e=Array.isArray(t)?t:[t]),r&&r.loaders){var n=Array.isArray(r.loaders)?r.loaders:[r.loaders];e=e?[].concat(Pr(e),Pr(n)):n}return e&&e.length?e:null}function ym(t,r,e,n){return wP.apply(this,arguments)}function wP(){return wP=Nt(Jy.default.mark(function t(r,e,n,i){var a,o,s,u;return Jy.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return Pu(!i||vr(i)==="object"),e&&!Array.isArray(e)&&!Yy(e)&&(i=void 0,n=e,e=void 0),h.next=4,r;case 4:return r=h.sent,n=n||{},a=mm(r),o=e,s=HN(o,i),h.next=11,LN(r,s,n);case 11:if(u=h.sent,u){h.next=14;break}return h.abrupt("return",null);case 14:return n=xN(n,u,s,a),i=VN({url:a,parse:ym,loaders:s},n,i||null),h.next=18,Rse(u,r,n,i);case 18:return h.abrupt("return",h.sent);case 19:case"end":return h.stop()}},t)})),wP.apply(this,arguments)}function Rse(t,r,e,n){return TP.apply(this,arguments)}function TP(){return TP=Nt(Jy.default.mark(function t(r,e,n,i){var a,o,s,u,c,h,p,v;return Jy.default.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return LC(r),Lc(e)&&(a=e,o=a.ok,s=a.redirected,u=a.status,c=a.statusText,h=a.type,p=a.url,v=Object.fromEntries(a.headers.entries()),i.response={headers:v,ok:o,redirected:s,status:u,statusText:c,type:h,url:p}),E.next=4,jN(e,r,n);case 4:if(e=E.sent,!(r.parseTextSync&&typeof e=="string")){E.next=8;break}return n.dataType="text",E.abrupt("return",r.parseTextSync(e,n,i,r));case 8:if(!zC(r,n)){E.next=12;break}return E.next=11,UC(r,e,n,i,ym);case 11:return E.abrupt("return",E.sent);case 12:if(!(r.parseText&&typeof e=="string")){E.next=16;break}return E.next=15,r.parseText(e,n,i,r);case 15:return E.abrupt("return",E.sent);case 16:if(!r.parse){E.next=20;break}return E.next=19,r.parse(e,n,i,r);case 19:return E.abrupt("return",E.sent);case 20:throw Pu(!r.parseSync),new Error("".concat(r.id," loader - no parser found and worker is disabled"));case 22:case"end":return E.stop()}},t)})),TP.apply(this,arguments)}var SP=en(On());function Ks(t,r,e,n){return EP.apply(this,arguments)}function EP(){return EP=Nt(SP.default.mark(function t(r,e,n,i){var a,o;return SP.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!Array.isArray(e)&&!Yy(e)&&(i=void 0,n=e,e=void 0),a=Ax(n),o=r,typeof r!="string"){u.next=7;break}return u.next=6,a(r);case 6:o=u.sent;case 7:if(!kc(r)){u.next=11;break}return u.next=10,a(r);case 10:o=u.sent;case 11:return u.next=13,ym(o,e,n);case 13:return u.abrupt("return",u.sent);case 14:case"end":return u.stop()}},t)})),EP.apply(this,arguments)}var WN={DEPTH_BUFFER_BIT:256,STENCIL_BUFFER_BIT:1024,COLOR_BUFFER_BIT:16384,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,ZERO:0,ONE:1,SRC_COLOR:768,ONE_MINUS_SRC_COLOR:769,SRC_ALPHA:770,ONE_MINUS_SRC_ALPHA:771,DST_ALPHA:772,ONE_MINUS_DST_ALPHA:773,DST_COLOR:774,ONE_MINUS_DST_COLOR:775,SRC_ALPHA_SATURATE:776,CONSTANT_COLOR:32769,ONE_MINUS_CONSTANT_COLOR:32770,CONSTANT_ALPHA:32771,ONE_MINUS_CONSTANT_ALPHA:32772,FUNC_ADD:32774,FUNC_SUBTRACT:32778,FUNC_REVERSE_SUBTRACT:32779,BLEND_EQUATION:32777,BLEND_EQUATION_RGB:32777,BLEND_EQUATION_ALPHA:34877,BLEND_DST_RGB:32968,BLEND_SRC_RGB:32969,BLEND_DST_ALPHA:32970,BLEND_SRC_ALPHA:32971,BLEND_COLOR:32773,ARRAY_BUFFER_BINDING:34964,ELEMENT_ARRAY_BUFFER_BINDING:34965,LINE_WIDTH:2849,ALIASED_POINT_SIZE_RANGE:33901,ALIASED_LINE_WIDTH_RANGE:33902,CULL_FACE_MODE:2885,FRONT_FACE:2886,DEPTH_RANGE:2928,DEPTH_WRITEMASK:2930,DEPTH_CLEAR_VALUE:2931,DEPTH_FUNC:2932,STENCIL_CLEAR_VALUE:2961,STENCIL_FUNC:2962,STENCIL_FAIL:2964,STENCIL_PASS_DEPTH_FAIL:2965,STENCIL_PASS_DEPTH_PASS:2966,STENCIL_REF:2967,STENCIL_VALUE_MASK:2963,STENCIL_WRITEMASK:2968,STENCIL_BACK_FUNC:34816,STENCIL_BACK_FAIL:34817,STENCIL_BACK_PASS_DEPTH_FAIL:34818,STENCIL_BACK_PASS_DEPTH_PASS:34819,STENCIL_BACK_REF:36003,STENCIL_BACK_VALUE_MASK:36004,STENCIL_BACK_WRITEMASK:36005,VIEWPORT:2978,SCISSOR_BOX:3088,COLOR_CLEAR_VALUE:3106,COLOR_WRITEMASK:3107,UNPACK_ALIGNMENT:3317,PACK_ALIGNMENT:3333,MAX_TEXTURE_SIZE:3379,MAX_VIEWPORT_DIMS:3386,SUBPIXEL_BITS:3408,RED_BITS:3410,GREEN_BITS:3411,BLUE_BITS:3412,ALPHA_BITS:3413,DEPTH_BITS:3414,STENCIL_BITS:3415,POLYGON_OFFSET_UNITS:10752,POLYGON_OFFSET_FACTOR:32824,TEXTURE_BINDING_2D:32873,SAMPLE_BUFFERS:32936,SAMPLES:32937,SAMPLE_COVERAGE_VALUE:32938,SAMPLE_COVERAGE_INVERT:32939,COMPRESSED_TEXTURE_FORMATS:34467,VENDOR:7936,RENDERER:7937,VERSION:7938,IMPLEMENTATION_COLOR_READ_TYPE:35738,IMPLEMENTATION_COLOR_READ_FORMAT:35739,BROWSER_DEFAULT_WEBGL:37444,STATIC_DRAW:35044,STREAM_DRAW:35040,DYNAMIC_DRAW:35048,ARRAY_BUFFER:34962,ELEMENT_ARRAY_BUFFER:34963,BUFFER_SIZE:34660,BUFFER_USAGE:34661,CURRENT_VERTEX_ATTRIB:34342,VERTEX_ATTRIB_ARRAY_ENABLED:34338,VERTEX_ATTRIB_ARRAY_SIZE:34339,VERTEX_ATTRIB_ARRAY_STRIDE:34340,VERTEX_ATTRIB_ARRAY_TYPE:34341,VERTEX_ATTRIB_ARRAY_NORMALIZED:34922,VERTEX_ATTRIB_ARRAY_POINTER:34373,VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:34975,CULL_FACE:2884,FRONT:1028,BACK:1029,FRONT_AND_BACK:1032,BLEND:3042,DEPTH_TEST:2929,DITHER:3024,POLYGON_OFFSET_FILL:32823,SAMPLE_ALPHA_TO_COVERAGE:32926,SAMPLE_COVERAGE:32928,SCISSOR_TEST:3089,STENCIL_TEST:2960,NO_ERROR:0,INVALID_ENUM:1280,INVALID_VALUE:1281,INVALID_OPERATION:1282,OUT_OF_MEMORY:1285,CONTEXT_LOST_WEBGL:37442,CW:2304,CCW:2305,DONT_CARE:4352,FASTEST:4353,NICEST:4354,GENERATE_MIPMAP_HINT:33170,BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,DOUBLE:5130,DEPTH_COMPONENT:6402,ALPHA:6406,RGB:6407,RGBA:6408,LUMINANCE:6409,LUMINANCE_ALPHA:6410,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,FRAGMENT_SHADER:35632,VERTEX_SHADER:35633,COMPILE_STATUS:35713,DELETE_STATUS:35712,LINK_STATUS:35714,VALIDATE_STATUS:35715,ATTACHED_SHADERS:35717,ACTIVE_ATTRIBUTES:35721,ACTIVE_UNIFORMS:35718,MAX_VERTEX_ATTRIBS:34921,MAX_VERTEX_UNIFORM_VECTORS:36347,MAX_VARYING_VECTORS:36348,MAX_COMBINED_TEXTURE_IMAGE_UNITS:35661,MAX_VERTEX_TEXTURE_IMAGE_UNITS:35660,MAX_TEXTURE_IMAGE_UNITS:34930,MAX_FRAGMENT_UNIFORM_VECTORS:36349,SHADER_TYPE:35663,SHADING_LANGUAGE_VERSION:35724,CURRENT_PROGRAM:35725,NEVER:512,ALWAYS:519,LESS:513,EQUAL:514,LEQUAL:515,GREATER:516,GEQUAL:518,NOTEQUAL:517,KEEP:7680,REPLACE:7681,INCR:7682,DECR:7683,INVERT:5386,INCR_WRAP:34055,DECR_WRAP:34056,NEAREST:9728,LINEAR:9729,NEAREST_MIPMAP_NEAREST:9984,LINEAR_MIPMAP_NEAREST:9985,NEAREST_MIPMAP_LINEAR:9986,LINEAR_MIPMAP_LINEAR:9987,TEXTURE_MAG_FILTER:10240,TEXTURE_MIN_FILTER:10241,TEXTURE_WRAP_S:10242,TEXTURE_WRAP_T:10243,TEXTURE_2D:3553,TEXTURE:5890,TEXTURE_CUBE_MAP:34067,TEXTURE_BINDING_CUBE_MAP:34068,TEXTURE_CUBE_MAP_POSITIVE_X:34069,TEXTURE_CUBE_MAP_NEGATIVE_X:34070,TEXTURE_CUBE_MAP_POSITIVE_Y:34071,TEXTURE_CUBE_MAP_NEGATIVE_Y:34072,TEXTURE_CUBE_MAP_POSITIVE_Z:34073,TEXTURE_CUBE_MAP_NEGATIVE_Z:34074,MAX_CUBE_MAP_TEXTURE_SIZE:34076,TEXTURE0:33984,ACTIVE_TEXTURE:34016,REPEAT:10497,CLAMP_TO_EDGE:33071,MIRRORED_REPEAT:33648,TEXTURE_WIDTH:4096,TEXTURE_HEIGHT:4097,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,INT_VEC2:35667,INT_VEC3:35668,INT_VEC4:35669,BOOL:35670,BOOL_VEC2:35671,BOOL_VEC3:35672,BOOL_VEC4:35673,FLOAT_MAT2:35674,FLOAT_MAT3:35675,FLOAT_MAT4:35676,SAMPLER_2D:35678,SAMPLER_CUBE:35680,LOW_FLOAT:36336,MEDIUM_FLOAT:36337,HIGH_FLOAT:36338,LOW_INT:36339,MEDIUM_INT:36340,HIGH_INT:36341,FRAMEBUFFER:36160,RENDERBUFFER:36161,RGBA4:32854,RGB5_A1:32855,RGB565:36194,DEPTH_COMPONENT16:33189,STENCIL_INDEX:6401,STENCIL_INDEX8:36168,DEPTH_STENCIL:34041,RENDERBUFFER_WIDTH:36162,RENDERBUFFER_HEIGHT:36163,RENDERBUFFER_INTERNAL_FORMAT:36164,RENDERBUFFER_RED_SIZE:36176,RENDERBUFFER_GREEN_SIZE:36177,RENDERBUFFER_BLUE_SIZE:36178,RENDERBUFFER_ALPHA_SIZE:36179,RENDERBUFFER_DEPTH_SIZE:36180,RENDERBUFFER_STENCIL_SIZE:36181,FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:36048,FRAMEBUFFER_ATTACHMENT_OBJECT_NAME:36049,FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:36050,FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:36051,COLOR_ATTACHMENT0:36064,DEPTH_ATTACHMENT:36096,STENCIL_ATTACHMENT:36128,DEPTH_STENCIL_ATTACHMENT:33306,NONE:0,FRAMEBUFFER_COMPLETE:36053,FRAMEBUFFER_INCOMPLETE_ATTACHMENT:36054,FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:36055,FRAMEBUFFER_INCOMPLETE_DIMENSIONS:36057,FRAMEBUFFER_UNSUPPORTED:36061,FRAMEBUFFER_BINDING:36006,RENDERBUFFER_BINDING:36007,READ_FRAMEBUFFER:36008,DRAW_FRAMEBUFFER:36009,MAX_RENDERBUFFER_SIZE:34024,INVALID_FRAMEBUFFER_OPERATION:1286,UNPACK_FLIP_Y_WEBGL:37440,UNPACK_PREMULTIPLY_ALPHA_WEBGL:37441,UNPACK_COLORSPACE_CONVERSION_WEBGL:37443,READ_BUFFER:3074,UNPACK_ROW_LENGTH:3314,UNPACK_SKIP_ROWS:3315,UNPACK_SKIP_PIXELS:3316,PACK_ROW_LENGTH:3330,PACK_SKIP_ROWS:3331,PACK_SKIP_PIXELS:3332,TEXTURE_BINDING_3D:32874,UNPACK_SKIP_IMAGES:32877,UNPACK_IMAGE_HEIGHT:32878,MAX_3D_TEXTURE_SIZE:32883,MAX_ELEMENTS_VERTICES:33e3,MAX_ELEMENTS_INDICES:33001,MAX_TEXTURE_LOD_BIAS:34045,MAX_FRAGMENT_UNIFORM_COMPONENTS:35657,MAX_VERTEX_UNIFORM_COMPONENTS:35658,MAX_ARRAY_TEXTURE_LAYERS:35071,MIN_PROGRAM_TEXEL_OFFSET:35076,MAX_PROGRAM_TEXEL_OFFSET:35077,MAX_VARYING_COMPONENTS:35659,FRAGMENT_SHADER_DERIVATIVE_HINT:35723,RASTERIZER_DISCARD:35977,VERTEX_ARRAY_BINDING:34229,MAX_VERTEX_OUTPUT_COMPONENTS:37154,MAX_FRAGMENT_INPUT_COMPONENTS:37157,MAX_SERVER_WAIT_TIMEOUT:37137,MAX_ELEMENT_INDEX:36203,RED:6403,RGB8:32849,RGBA8:32856,RGB10_A2:32857,TEXTURE_3D:32879,TEXTURE_WRAP_R:32882,TEXTURE_MIN_LOD:33082,TEXTURE_MAX_LOD:33083,TEXTURE_BASE_LEVEL:33084,TEXTURE_MAX_LEVEL:33085,TEXTURE_COMPARE_MODE:34892,TEXTURE_COMPARE_FUNC:34893,SRGB:35904,SRGB8:35905,SRGB8_ALPHA8:35907,COMPARE_REF_TO_TEXTURE:34894,RGBA32F:34836,RGB32F:34837,RGBA16F:34842,RGB16F:34843,TEXTURE_2D_ARRAY:35866,TEXTURE_BINDING_2D_ARRAY:35869,R11F_G11F_B10F:35898,RGB9_E5:35901,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,RED_INTEGER:36244,RGB_INTEGER:36248,RGBA_INTEGER:36249,R8:33321,RG8:33323,R16F:33325,R32F:33326,RG16F:33327,RG32F:33328,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2UI:36975,TEXTURE_IMMUTABLE_FORMAT:37167,TEXTURE_IMMUTABLE_LEVELS:33503,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269,UNSIGNED_INT_24_8:34042,HALF_FLOAT:5131,RG:33319,RG_INTEGER:33320,INT_2_10_10_10_REV:36255,CURRENT_QUERY:34917,QUERY_RESULT:34918,QUERY_RESULT_AVAILABLE:34919,ANY_SAMPLES_PASSED:35887,ANY_SAMPLES_PASSED_CONSERVATIVE:36202,MAX_DRAW_BUFFERS:34852,DRAW_BUFFER0:34853,DRAW_BUFFER1:34854,DRAW_BUFFER2:34855,DRAW_BUFFER3:34856,DRAW_BUFFER4:34857,DRAW_BUFFER5:34858,DRAW_BUFFER6:34859,DRAW_BUFFER7:34860,DRAW_BUFFER8:34861,DRAW_BUFFER9:34862,DRAW_BUFFER10:34863,DRAW_BUFFER11:34864,DRAW_BUFFER12:34865,DRAW_BUFFER13:34866,DRAW_BUFFER14:34867,DRAW_BUFFER15:34868,MAX_COLOR_ATTACHMENTS:36063,COLOR_ATTACHMENT1:36065,COLOR_ATTACHMENT2:36066,COLOR_ATTACHMENT3:36067,COLOR_ATTACHMENT4:36068,COLOR_ATTACHMENT5:36069,COLOR_ATTACHMENT6:36070,COLOR_ATTACHMENT7:36071,COLOR_ATTACHMENT8:36072,COLOR_ATTACHMENT9:36073,COLOR_ATTACHMENT10:36074,COLOR_ATTACHMENT11:36075,COLOR_ATTACHMENT12:36076,COLOR_ATTACHMENT13:36077,COLOR_ATTACHMENT14:36078,COLOR_ATTACHMENT15:36079,SAMPLER_3D:35679,SAMPLER_2D_SHADOW:35682,SAMPLER_2D_ARRAY:36289,SAMPLER_2D_ARRAY_SHADOW:36292,SAMPLER_CUBE_SHADOW:36293,INT_SAMPLER_2D:36298,INT_SAMPLER_3D:36299,INT_SAMPLER_CUBE:36300,INT_SAMPLER_2D_ARRAY:36303,UNSIGNED_INT_SAMPLER_2D:36306,UNSIGNED_INT_SAMPLER_3D:36307,UNSIGNED_INT_SAMPLER_CUBE:36308,UNSIGNED_INT_SAMPLER_2D_ARRAY:36311,MAX_SAMPLES:36183,SAMPLER_BINDING:35097,PIXEL_PACK_BUFFER:35051,PIXEL_UNPACK_BUFFER:35052,PIXEL_PACK_BUFFER_BINDING:35053,PIXEL_UNPACK_BUFFER_BINDING:35055,COPY_READ_BUFFER:36662,COPY_WRITE_BUFFER:36663,COPY_READ_BUFFER_BINDING:36662,COPY_WRITE_BUFFER_BINDING:36663,FLOAT_MAT2x3:35685,FLOAT_MAT2x4:35686,FLOAT_MAT3x2:35687,FLOAT_MAT3x4:35688,FLOAT_MAT4x2:35689,FLOAT_MAT4x3:35690,UNSIGNED_INT_VEC2:36294,UNSIGNED_INT_VEC3:36295,UNSIGNED_INT_VEC4:36296,UNSIGNED_NORMALIZED:35863,SIGNED_NORMALIZED:36764,VERTEX_ATTRIB_ARRAY_INTEGER:35069,VERTEX_ATTRIB_ARRAY_DIVISOR:35070,TRANSFORM_FEEDBACK_BUFFER_MODE:35967,MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS:35968,TRANSFORM_FEEDBACK_VARYINGS:35971,TRANSFORM_FEEDBACK_BUFFER_START:35972,TRANSFORM_FEEDBACK_BUFFER_SIZE:35973,TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN:35976,MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS:35978,MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS:35979,INTERLEAVED_ATTRIBS:35980,SEPARATE_ATTRIBS:35981,TRANSFORM_FEEDBACK_BUFFER:35982,TRANSFORM_FEEDBACK_BUFFER_BINDING:35983,TRANSFORM_FEEDBACK:36386,TRANSFORM_FEEDBACK_PAUSED:36387,TRANSFORM_FEEDBACK_ACTIVE:36388,TRANSFORM_FEEDBACK_BINDING:36389,FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING:33296,FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE:33297,FRAMEBUFFER_ATTACHMENT_RED_SIZE:33298,FRAMEBUFFER_ATTACHMENT_GREEN_SIZE:33299,FRAMEBUFFER_ATTACHMENT_BLUE_SIZE:33300,FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:33301,FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:33302,FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:33303,FRAMEBUFFER_DEFAULT:33304,DEPTH24_STENCIL8:35056,DRAW_FRAMEBUFFER_BINDING:36006,READ_FRAMEBUFFER_BINDING:36010,RENDERBUFFER_SAMPLES:36011,FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER:36052,FRAMEBUFFER_INCOMPLETE_MULTISAMPLE:36182,UNIFORM_BUFFER:35345,UNIFORM_BUFFER_BINDING:35368,UNIFORM_BUFFER_START:35369,UNIFORM_BUFFER_SIZE:35370,MAX_VERTEX_UNIFORM_BLOCKS:35371,MAX_FRAGMENT_UNIFORM_BLOCKS:35373,MAX_COMBINED_UNIFORM_BLOCKS:35374,MAX_UNIFORM_BUFFER_BINDINGS:35375,MAX_UNIFORM_BLOCK_SIZE:35376,MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS:35377,MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS:35379,UNIFORM_BUFFER_OFFSET_ALIGNMENT:35380,ACTIVE_UNIFORM_BLOCKS:35382,UNIFORM_TYPE:35383,UNIFORM_SIZE:35384,UNIFORM_BLOCK_INDEX:35386,UNIFORM_OFFSET:35387,UNIFORM_ARRAY_STRIDE:35388,UNIFORM_MATRIX_STRIDE:35389,UNIFORM_IS_ROW_MAJOR:35390,UNIFORM_BLOCK_BINDING:35391,UNIFORM_BLOCK_DATA_SIZE:35392,UNIFORM_BLOCK_ACTIVE_UNIFORMS:35394,UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES:35395,UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER:35396,UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER:35398,OBJECT_TYPE:37138,SYNC_CONDITION:37139,SYNC_STATUS:37140,SYNC_FLAGS:37141,SYNC_FENCE:37142,SYNC_GPU_COMMANDS_COMPLETE:37143,UNSIGNALED:37144,SIGNALED:37145,ALREADY_SIGNALED:37146,TIMEOUT_EXPIRED:37147,CONDITION_SATISFIED:37148,WAIT_FAILED:37149,SYNC_FLUSH_COMMANDS_BIT:1,COLOR:6144,DEPTH:6145,STENCIL:6146,MIN:32775,MAX:32776,DEPTH_COMPONENT24:33190,STREAM_READ:35041,STREAM_COPY:35042,STATIC_READ:35045,STATIC_COPY:35046,DYNAMIC_READ:35049,DYNAMIC_COPY:35050,DEPTH_COMPONENT32F:36012,DEPTH32F_STENCIL8:36013,INVALID_INDEX:4294967295,TIMEOUT_IGNORED:-1,MAX_CLIENT_WAIT_TIMEOUT_WEBGL:37447,VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE:35070,UNMASKED_VENDOR_WEBGL:37445,UNMASKED_RENDERER_WEBGL:37446,MAX_TEXTURE_MAX_ANISOTROPY_EXT:34047,TEXTURE_MAX_ANISOTROPY_EXT:34046,COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_RGBA8_ETC2_EAC:37493,COMPRESSED_SRGB8_ETC2:37494,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37495,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37496,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37497,COMPRESSED_RGB_PVRTC_4BPPV1_IMG:35840,COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:35842,COMPRESSED_RGB_PVRTC_2BPPV1_IMG:35841,COMPRESSED_RGBA_PVRTC_2BPPV1_IMG:35843,COMPRESSED_RGB_ETC1_WEBGL:36196,COMPRESSED_RGB_ATC_WEBGL:35986,COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL:35986,COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL:34798,UNSIGNED_INT_24_8_WEBGL:34042,HALF_FLOAT_OES:36193,RGBA32F_EXT:34836,RGB32F_EXT:34837,FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT:33297,UNSIGNED_NORMALIZED_EXT:35863,MIN_EXT:32775,MAX_EXT:32776,SRGB_EXT:35904,SRGB_ALPHA_EXT:35906,SRGB8_ALPHA8_EXT:35907,FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT:33296,FRAGMENT_SHADER_DERIVATIVE_HINT_OES:35723,COLOR_ATTACHMENT0_WEBGL:36064,COLOR_ATTACHMENT1_WEBGL:36065,COLOR_ATTACHMENT2_WEBGL:36066,COLOR_ATTACHMENT3_WEBGL:36067,COLOR_ATTACHMENT4_WEBGL:36068,COLOR_ATTACHMENT5_WEBGL:36069,COLOR_ATTACHMENT6_WEBGL:36070,COLOR_ATTACHMENT7_WEBGL:36071,COLOR_ATTACHMENT8_WEBGL:36072,COLOR_ATTACHMENT9_WEBGL:36073,COLOR_ATTACHMENT10_WEBGL:36074,COLOR_ATTACHMENT11_WEBGL:36075,COLOR_ATTACHMENT12_WEBGL:36076,COLOR_ATTACHMENT13_WEBGL:36077,COLOR_ATTACHMENT14_WEBGL:36078,COLOR_ATTACHMENT15_WEBGL:36079,DRAW_BUFFER0_WEBGL:34853,DRAW_BUFFER1_WEBGL:34854,DRAW_BUFFER2_WEBGL:34855,DRAW_BUFFER3_WEBGL:34856,DRAW_BUFFER4_WEBGL:34857,DRAW_BUFFER5_WEBGL:34858,DRAW_BUFFER6_WEBGL:34859,DRAW_BUFFER7_WEBGL:34860,DRAW_BUFFER8_WEBGL:34861,DRAW_BUFFER9_WEBGL:34862,DRAW_BUFFER10_WEBGL:34863,DRAW_BUFFER11_WEBGL:34864,DRAW_BUFFER12_WEBGL:34865,DRAW_BUFFER13_WEBGL:34866,DRAW_BUFFER14_WEBGL:34867,DRAW_BUFFER15_WEBGL:34868,MAX_COLOR_ATTACHMENTS_WEBGL:36063,MAX_DRAW_BUFFERS_WEBGL:34852,VERTEX_ARRAY_BINDING_OES:34229,QUERY_COUNTER_BITS_EXT:34916,CURRENT_QUERY_EXT:34917,QUERY_RESULT_EXT:34918,QUERY_RESULT_AVAILABLE_EXT:34919,TIME_ELAPSED_EXT:35007,TIMESTAMP_EXT:36392,GPU_DISJOINT_EXT:36795};function qN(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Lse(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
551
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function Lse(t,r){if(t){if(typeof t=="string")return XN(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return XN(t,r)}}function XN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var YN,KN,$N={fontFamily:'"Helvetica Neue", Helvetica, Arial, sans-serif',display:"flex",flex:"wrap",maxWidth:"500px",flexDirection:"column",zIndex:2};function yx(){return document.createElement("div")}function kse(t){if(!t.picked)return null;if(t.object===YN)return KN;var r={html:Dse(t.object),style:$N};return KN=r,YN=t.object,r}var Bse=new Set(["position","index"]);function Dse(t){var r=yx();for(var e in t)if(!Bse.has(e)){var n=yx();n.className="header",n.textContent=e;var i=yx();i.className="value",i.textContent=Nse(t[e]);var a=yx();Fse(a,n,i),a.appendChild(n),a.appendChild(i),r.appendChild(a)}return r.innerHTML}function Fse(t,r,e){Object.assign(r.style,{fontWeight:700,marginRight:"10px",flex:"1 1 0%"}),Object.assign(e.style,{flex:"none",maxWidth:"250px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Object.assign(t.style,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"stretch"})}function Nse(t){var r;if(Array.isArray(t)&&t.length>4)r="Array<".concat(t.length,">");else if(typeof t=="string")r=t;else if(typeof t=="number")r=String(t);else try{r=JSON.stringify(t)}catch{r="<Non-Serializable Object>"}var e=50;return r.length>e&&(r=r.slice(0,e)),r}function ZN(t,r){var e,n=t,i="properties",a=/{[^}]*}/g,o=function(D){return D.replace(/[{}]/g,"")},s=Pr(new Set(t.match(a).map(o))),u=qN(s),c;try{for(u.s();!(c=u.n()).done;){var h=c.value;if(h.includes(".")){e=r;var p=h.split("."),v=qN(p),x;try{for(v.s();!(x=v.n()).done;){var E=x.value;if(e.hasOwnProperty(E))e=e[E];else{e=void 0;break}}}catch(R){v.e(R)}finally{v.f()}}else r.hasOwnProperty(h)?e=r[h]:r[i]&&r[i].hasOwnProperty(h)?e=r[i][h]:e=void 0;n=n.replaceAll("{".concat(h,"}"),e)}}catch(R){u.e(R)}finally{u.f()}return n}function CP(t){return t?t.html||t.text?function(r){if(!r.picked)return null;var e={style:t.style||$N};return t.html?e.html=ZN(t.html,r.object):e.text=ZN(t.text,r.object),e}:kse:null}function JN(t){var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=t,document.getElementsByTagName("head")[0].appendChild(r)}function QN(t,r){var e=document.createElement("div");return e.style.width=Number.isFinite(t)?"".concat(t,"px"):t,e.style.height="".concat(r,"px"),e.style.position="relative",e}var tz=en(ez()),zse="https://api.tiles.mapbox.com/mapbox-gl-js/v1.13.2/mapbox-gl.css",MP=tz.default;function rz(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zse;JN(t)}function nz(){for(var t=["mapboxgl-missing-css"],r=0,e=t;r<e.length;r++){var n=e[r],i=document.getElementsByClassName(n)[0];i&&i.style&&(i.style.display="none")}}var IP={};function iz(t){if(!IP[t]){var r=document.createElement("script");r.type="text/javascript",r.src=t;var e=document.querySelector("head");e.appendChild(r),IP[t]=new Promise(function(n){r.onload=n})}return IP[t]}et();var az="3.4.2";var HP=en(On());var Use=globalThis._parseImageNode,RP=typeof Image<"u",LP=typeof ImageBitmap<"u",jse=Boolean(Use),kP=Kh?!0:jse;function oz(t){switch(t){case"auto":return LP||RP||kP;case"imagebitmap":return LP;case"image":return RP;case"data":return kP;default:throw new Error("@loaders.gl/images: image ".concat(t," not supported in this environment"))}}function sz(){if(LP)return"imagebitmap";if(RP)return"image";if(kP)return"data";throw new Error("Install '@loaders.gl/polyfills' to parse images under Node.js")}ki();function Gse(t){var r=Vse(t);if(!r)throw new Error("Not an image");return r}function uz(t){switch(Gse(t)){case"data":return t;case"image":case"imagebitmap":var r=document.createElement("canvas"),e=r.getContext("2d");if(!e)throw new Error("getImageData");return r.width=t.width,r.height=t.height,e.drawImage(t,0,0),e.getImageData(0,0,t.width,t.height);default:throw new Error("getImageData")}}function Vse(t){return typeof ImageBitmap<"u"&&t instanceof ImageBitmap?"imagebitmap":typeof Image<"u"&&t instanceof Image?"image":t&&vr(t)==="object"&&t.data&&t.width&&t.height?"data":null}var Qy=en(On());var Hse=/^data:image\/svg\+xml/,Wse=/\.svg((\?|#).*)?$/;function _x(t){return t&&(Hse.test(t)||Wse.test(t))}function lz(t,r){if(_x(r)){var e=new TextDecoder,n=e.decode(t);try{typeof unescape=="function"&&typeof encodeURIComponent=="function"&&(n=unescape(encodeURIComponent(n)))}catch(a){throw new Error(a.message)}var i="data:image/svg+xml;base64,".concat(btoa(n));return i}return BP(t,r)}function BP(t,r){if(_x(r))throw new Error("SVG cannot be parsed directly to imagebitmap");return new Blob([new Uint8Array(t)])}function e_(t,r,e){return DP.apply(this,arguments)}function DP(){return DP=Nt(Qy.default.mark(function t(r,e,n){var i,a,o;return Qy.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return i=lz(r,n),a=self.URL||self.webkitURL,o=typeof i!="string"&&a.createObjectURL(i),u.prev=3,u.next=6,qse(o||i,e);case 6:return u.abrupt("return",u.sent);case 7:return u.prev=7,o&&a.revokeObjectURL(o),u.finish(7);case 10:case"end":return u.stop()}},t,null,[[3,,7,10]])})),DP.apply(this,arguments)}function qse(t,r){return FP.apply(this,arguments)}function FP(){return FP=Nt(Qy.default.mark(function t(r,e){var n;return Qy.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(n=new Image,n.src=r,!(e.image&&e.image.decode&&n.decode)){a.next=6;break}return a.next=5,n.decode();case 5:return a.abrupt("return",n);case 6:return a.next=8,new Promise(function(o,s){try{n.onload=function(){return o(n)},n.onerror=function(u){return s(new Error("Could not load image ".concat(r,": ").concat(u)))}}catch(u){s(u)}});case 8:return a.abrupt("return",a.sent);case 9:case"end":return a.stop()}},t)})),FP.apply(this,arguments)}var t_=en(On());var Xse={},cz=!0;function UP(t,r,e){return NP.apply(this,arguments)}function NP(){return NP=Nt(t_.default.mark(function t(r,e,n){var i,a,o;return t_.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!_x(n)){u.next=7;break}return u.next=3,e_(r,e,n);case 3:a=u.sent,i=a,u.next=8;break;case 7:i=BP(r,n);case 8:return o=e&&e.imagebitmap,u.next=11,Yse(i,o);case 11:return u.abrupt("return",u.sent);case 12:case"end":return u.stop()}},t)})),NP.apply(this,arguments)}function Yse(t){return zP.apply(this,arguments)}function zP(){return zP=Nt(t_.default.mark(function t(r){var e,n=arguments;return t_.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(e=n.length>1&&n[1]!==void 0?n[1]:null,(Kse(e)||!cz)&&(e=null),!e){a.next=13;break}return a.prev=3,a.next=6,createImageBitmap(r,e);case 6:return a.abrupt("return",a.sent);case 9:a.prev=9,a.t0=a.catch(3),console.warn(a.t0),cz=!1;case 13:return a.next=15,createImageBitmap(r);case 15:return a.abrupt("return",a.sent);case 16:case"end":return a.stop()}},t,null,[[3,9]])})),zP.apply(this,arguments)}function Kse(t){for(var r in t||Xse)return!1;return!0}var jP=en(On());function fz(t){return!Qse(t,"ftyp",4)||!(t[8]&96)?null:Zse(t)}function Zse(t){var r=$se(t,8,12).replace("\0"," ").trim();switch(r){case"avif":case"avis":return{extension:"avif",mimeType:"image/avif"};default:return null}}function $se(t,r,e){return String.fromCharCode.apply(String,Pr(t.slice(r,e)))}function Jse(t){return Pr(t).map(function(r){return r.charCodeAt(0)})}function Qse(t,r){for(var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=Jse(r),i=0;i<n.length;++i)if(n[i]!==t[i+e])return!1;return!0}var rh=!1,r_=!0;function _m(t){var r=n_(t);return tue(r)||iue(r)||rue(r)||nue(r)||eue(r)}function eue(t){var r=new Uint8Array(t instanceof DataView?t.buffer:t),e=fz(r);return e?{mimeType:e.mimeType,width:0,height:0}:null}function tue(t){var r=n_(t),e=r.byteLength>=24&&r.getUint32(0,rh)===2303741511;return e?{mimeType:"image/png",width:r.getUint32(16,rh),height:r.getUint32(20,rh)}:null}function rue(t){var r=n_(t),e=r.byteLength>=10&&r.getUint32(0,rh)===1195984440;return e?{mimeType:"image/gif",width:r.getUint16(6,r_),height:r.getUint16(8,r_)}:null}function nue(t){var r=n_(t),e=r.byteLength>=14&&r.getUint16(0,rh)===16973&&r.getUint32(2,r_)===r.byteLength;return e?{mimeType:"image/bmp",width:r.getUint32(18,r_),height:r.getUint32(22,r_)}:null}function iue(t){var r=n_(t),e=r.byteLength>=3&&r.getUint16(0,rh)===65496&&r.getUint8(2)===255;if(!e)return null;for(var n=aue(),i=n.tableMarkers,a=n.sofMarkers,o=2;o+9<r.byteLength;){var s=r.getUint16(o,rh);if(a.has(s))return{mimeType:"image/jpeg",height:r.getUint16(o+5,rh),width:r.getUint16(o+7,rh)};if(!i.has(s))return null;o+=2,o+=r.getUint16(o,rh)}return null}function aue(){for(var t=new Set([65499,65476,65484,65501,65534]),r=65504;r<65520;++r)t.add(r);var e=new Set([65472,65473,65474,65475,65477,65478,65479,65481,65482,65483,65485,65486,65487,65502]);return{tableMarkers:t,sofMarkers:e}}function n_(t){if(t instanceof DataView)return t;if(ArrayBuffer.isView(t))return new DataView(t.buffer);if(t instanceof ArrayBuffer)return new DataView(t);throw new Error("toDataView")}function VP(t,r){return GP.apply(this,arguments)}function GP(){return GP=Nt(jP.default.mark(function t(r,e){var n,i,a;return jP.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return n=_m(r)||{},i=n.mimeType,a=globalThis._parseImageNode,ea(a),s.next=5,a(r,i);case 5:return s.abrupt("return",s.sent);case 6:case"end":return s.stop()}},t)})),GP.apply(this,arguments)}function qP(t,r,e){return WP.apply(this,arguments)}function WP(){return WP=Nt(HP.default.mark(function t(r,e,n){var i,a,o,s,u,c;return HP.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:e=e||{},i=e.image||{},a=i.type||"auto",o=n||{},s=o.url,u=oue(a),p.t0=u,p.next=p.t0==="imagebitmap"?8:p.t0==="image"?12:p.t0==="data"?16:20;break;case 8:return p.next=10,UP(r,e,s);case 10:return c=p.sent,p.abrupt("break",21);case 12:return p.next=14,e_(r,e,s);case 14:return c=p.sent,p.abrupt("break",21);case 16:return p.next=18,VP(r,e);case 18:return c=p.sent,p.abrupt("break",21);case 20:ea(!1);case 21:return a==="data"&&(c=uz(c)),p.abrupt("return",c);case 23:case"end":return p.stop()}},t)})),WP.apply(this,arguments)}function oue(t){switch(t){case"auto":case"data":return sz();default:return oz(t),t}}var sue=["png","jpg","jpeg","gif","webp","bmp","ico","svg","avif"],uue=["image/png","image/jpeg","image/gif","image/webp","image/avif","image/bmp","image/vnd.microsoft.icon","image/svg+xml"],lue={image:{type:"auto",decode:!0}},vf={id:"image",module:"images",name:"Images",version:az,mimeTypes:uue,extensions:sue,parse:qP,tests:[function(t){return Boolean(_m(new DataView(t)))}],options:lue};var cue=en(On());var XP={};function YP(t){if(XP[t]===void 0){var r=Kh?hue(t):fue(t);XP[t]=r}return XP[t]}function fue(t){var r=["image/png","image/jpeg","image/gif"],e=globalThis._parseImageNode,n=globalThis._imageFormatsNode,i=n===void 0?r:n;return Boolean(e)&&i.includes(t)}function hue(t){switch(t){case"image/avif":case"image/webp":return pue(t);default:return!0}}function pue(t){try{var r=document.createElement("canvas"),e=r.toDataURL(t);return e.indexOf("data:".concat(t))===0}catch{return!1}}ki();et();at();vt();et();ki();ki();function i_(t){if(typeof window<"u"&&vr(window.process)==="object"&&window.process.type==="renderer"||typeof process<"u"&&vr(process.versions)==="object"&&Boolean(process.versions.electron))return!0;var r=(typeof navigator>"u"?"undefined":vr(navigator))==="object"&&typeof navigator.userAgent=="string"&&navigator.userAgent,e=t||r;return!!(e&&e.indexOf("Electron")>=0)}function cu(){var t=(typeof process>"u"?"undefined":vr(process))==="object"&&String(process)==="[object process]"&&!process.browser;return!t||i_()}ki();var Zp={self:typeof self<"u"&&self,window:typeof window<"u"&&window,global:typeof global<"u"&&global,document:typeof document<"u"&&document,process:(typeof process>"u"?"undefined":vr(process))==="object"&&process};var due=Zp.self||Zp.window||Zp.global,Eg=Zp.window||Zp.self||Zp.global,mue=Zp.document||{},bm=Zp.process||{};var bx="8.9.24",nGe=cu();var KP=globalThis;function Cg(t){if(!t&&!cu())return"Node";if(i_(t))return"Electron";var r=typeof navigator<"u"?navigator:{},e=t||r.userAgent||"";if(e.indexOf("Edge")>-1)return"Edge";var n=e.indexOf("MSIE ")!==-1,i=e.indexOf("Trident/")!==-1;return n||i?"IE":KP.chrome?"Chrome":KP.safari?"Safari":KP.mozInnerScreenX?"Firefox":"Unknown"}at();vt();et();function vue(t){try{var r=window[t],e="__storage_test__";return r.setItem(e,e),r.removeItem(e),r}catch{return null}}var hz=function(){function t(r){ce(this,t);var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"sessionStorage";_(this,"storage",void 0),_(this,"id",void 0),_(this,"config",{}),this.storage=vue(n),this.id=r,this.config={},Object.assign(this.config,e),this._loadConfiguration()}return ve(t,[{key:"getConfiguration",value:function(){return this.config}},{key:"setConfiguration",value:function(e){return this.config={},this.updateConfiguration(e)}},{key:"updateConfiguration",value:function(e){if(Object.assign(this.config,e),this.storage){var n=JSON.stringify(this.config);this.storage.setItem(this.id,n)}return this}},{key:"_loadConfiguration",value:function(){var e={};if(this.storage){var n=this.storage.getItem(this.id);e=n?JSON.parse(n):{}}return Object.assign(this.config,e),this}}]),t}();function pz(t){var r;return t<10?r="".concat(t.toFixed(2),"ms"):t<100?r="".concat(t.toFixed(1),"ms"):t<1e3?r="".concat(t.toFixed(0),"ms"):r="".concat((t/1e3).toFixed(2),"s"),r}function dz(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:8,e=Math.max(r-t.length,0);return"".concat(" ".repeat(e)).concat(t)}function xx(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:600,i=t.src.replace(/\(/g,"%28").replace(/\)/g,"%29");t.width>n&&(e=Math.min(e,n/t.width));var a=t.width*e,o=t.height*e,s=["font-size:1px;","padding:".concat(Math.floor(o/2),"px ").concat(Math.floor(a/2),"px;"),"line-height:".concat(o,"px;"),"background:url(".concat(i,");"),"background-size:".concat(a,"px ").concat(o,"px;"),"color:transparent;"].join("");return["".concat(r," %c+"),s]}var wx;(function(t){t[t.BLACK=30]="BLACK",t[t.RED=31]="RED",t[t.GREEN=32]="GREEN",t[t.YELLOW=33]="YELLOW",t[t.BLUE=34]="BLUE",t[t.MAGENTA=35]="MAGENTA",t[t.CYAN=36]="CYAN",t[t.WHITE=37]="WHITE",t[t.BRIGHT_BLACK=90]="BRIGHT_BLACK",t[t.BRIGHT_RED=91]="BRIGHT_RED",t[t.BRIGHT_GREEN=92]="BRIGHT_GREEN",t[t.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",t[t.BRIGHT_BLUE=94]="BRIGHT_BLUE",t[t.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",t[t.BRIGHT_CYAN=96]="BRIGHT_CYAN",t[t.BRIGHT_WHITE=97]="BRIGHT_WHITE"})(wx||(wx={}));function mz(t){return typeof t=="string"?wx[t.toUpperCase()]||wx.WHITE:t}function vz(t,r,e){return!cu&&typeof t=="string"&&(r&&(r=mz(r),t="\x1B[".concat(r,"m").concat(t,"\x1B[39m")),e&&(r=mz(e),t="\x1B[".concat(e+10,"m").concat(t,"\x1B[49m"))),t}function gue(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Aue(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
552
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function Aue(t,r){if(t){if(typeof t=="string")return gz(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return gz(t,r)}}function gz(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function Az(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:["constructor"],e=Object.getPrototypeOf(t),n=Object.getOwnPropertyNames(e),i=gue(n),a;try{var o=function(){var u=a.value;typeof t[u]=="function"&&(r.find(function(c){return u===c})||(t[u]=t[u].bind(t)))};for(i.s();!(a=i.n()).done;)o()}catch(s){i.e(s)}finally{i.f()}}function Pg(t,r){if(!t)throw new Error(r||"Assertion failed")}function xm(){var t;if(cu&&"performance"in Eg){var r,e;t=Eg===null||Eg===void 0||(r=Eg.performance)===null||r===void 0||(e=r.now)===null||e===void 0?void 0:e.call(r)}else if("hrtime"in bm){var n,i=bm===null||bm===void 0||(n=bm.hrtime)===null||n===void 0?void 0:n.call(bm);t=i[0]*1e3+i[1]/1e6}else t=Date.now();return t}var Og={debug:cu&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},yue={enabled:!0,level:0};function Dc(){}var yz={},_z={once:!0},$p=function(){function t(){ce(this,t);var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{id:""},e=r.id;_(this,"id",void 0),_(this,"VERSION",bx),_(this,"_startTs",xm()),_(this,"_deltaTs",xm()),_(this,"_storage",void 0),_(this,"userData",{}),_(this,"LOG_THROTTLE_TIMEOUT",0),this.id=e,this._storage=new hz("__probe-".concat(this.id,"__"),yue),this.userData={},this.timeStamp("".concat(this.id," started")),Az(this),Object.seal(this)}return ve(t,[{key:"level",get:function(){return this.getLevel()},set:function(e){this.setLevel(e)}},{key:"isEnabled",value:function(){return this._storage.config.enabled}},{key:"getLevel",value:function(){return this._storage.config.level}},{key:"getTotal",value:function(){return Number((xm()-this._startTs).toPrecision(10))}},{key:"getDelta",value:function(){return Number((xm()-this._deltaTs).toPrecision(10))}},{key:"priority",get:function(){return this.level},set:function(e){this.level=e}},{key:"getPriority",value:function(){return this.level}},{key:"enable",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this._storage.updateConfiguration({enabled:e}),this}},{key:"setLevel",value:function(e){return this._storage.updateConfiguration({level:e}),this}},{key:"get",value:function(e){return this._storage.config[e]}},{key:"set",value:function(e,n){this._storage.updateConfiguration(_({},e,n))}},{key:"settings",value:function(){console.table?console.table(this._storage.config):console.log(this._storage.config)}},{key:"assert",value:function(e,n){Pg(e,n)}},{key:"warn",value:function(e){return this._getLogFunction(0,e,Og.warn,arguments,_z)}},{key:"error",value:function(e){return this._getLogFunction(0,e,Og.error,arguments)}},{key:"deprecated",value:function(e,n){return this.warn("`".concat(e,"` is deprecated and will be removed in a later version. Use `").concat(n,"` instead"))}},{key:"removed",value:function(e,n){return this.error("`".concat(e,"` has been removed. Use `").concat(n,"` instead"))}},{key:"probe",value:function(e,n){return this._getLogFunction(e,n,Og.log,arguments,{time:!0,once:!0})}},{key:"log",value:function(e,n){return this._getLogFunction(e,n,Og.debug,arguments)}},{key:"info",value:function(e,n){return this._getLogFunction(e,n,console.info,arguments)}},{key:"once",value:function(e,n){for(var i=arguments.length,a=new Array(i>2?i-2:0),o=2;o<i;o++)a[o-2]=arguments[o];return this._getLogFunction(e,n,Og.debug||Og.info,arguments,_z)}},{key:"table",value:function(e,n,i){return n?this._getLogFunction(e,n,console.table||Dc,i&&[i],{tag:wue(n)}):Dc}},{key:"image",value:function(e){var n=e.logLevel,i=e.priority,a=e.image,o=e.message,s=o===void 0?"":o,u=e.scale,c=u===void 0?1:u;return this._shouldLog(n||i)?cu?xue({image:a,message:s,scale:c}):bue({image:a,message:s,scale:c}):Dc}},{key:"time",value:function(e,n){return this._getLogFunction(e,n,console.time?console.time:console.info)}},{key:"timeEnd",value:function(e,n){return this._getLogFunction(e,n,console.timeEnd?console.timeEnd:console.info)}},{key:"timeStamp",value:function(e,n){return this._getLogFunction(e,n,console.timeStamp||Dc)}},{key:"group",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{collapsed:!1},a=bz({logLevel:e,message:n,opts:i}),o=i.collapsed;return a.method=(o?console.groupCollapsed:console.group)||console.info,this._getLogFunction(a)}},{key:"groupCollapsed",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.group(e,n,Object.assign({},i,{collapsed:!0}))}},{key:"groupEnd",value:function(e){return this._getLogFunction(e,"",console.groupEnd||Dc)}},{key:"withGroup",value:function(e,n,i){this.group(e,n)();try{i()}finally{this.groupEnd(e)()}}},{key:"trace",value:function(){console.trace&&console.trace()}},{key:"_shouldLog",value:function(e){return this.isEnabled()&&this.getLevel()>=xz(e)}},{key:"_getLogFunction",value:function(e,n,i,a,o){if(this._shouldLog(e)){var s;o=bz({logLevel:e,message:n,args:a,opts:o}),i=i||o.method,Pg(i),o.total=this.getTotal(),o.delta=this.getDelta(),this._deltaTs=xm();var u=o.tag||o.message;if(o.once)if(!yz[u])yz[u]=xm();else return Dc;return n=_ue(this.id,o.message,o),(s=i).bind.apply(s,[console,n].concat(Pr(o.args)))}return Dc}}]),t}();_($p,"VERSION",bx);function xz(t){if(!t)return 0;var r;switch(vr(t)){case"number":r=t;break;case"object":r=t.logLevel||t.priority||0;break;default:return 0}return Pg(Number.isFinite(r)&&r>=0),r}function bz(t){var r=t.logLevel,e=t.message;t.logLevel=xz(r);for(var n=t.args?Array.from(t.args):[];n.length&&n.shift()!==e;);switch(vr(r)){case"string":case"function":e!==void 0&&n.unshift(e),t.message=r;break;case"object":Object.assign(t,r);break;default:}typeof t.message=="function"&&(t.message=t.message());var i=vr(t.message);return Pg(i==="string"||i==="object"),Object.assign(t,{args:n},t.opts)}function _ue(t,r,e){if(typeof r=="string"){var n=e.time?dz(pz(e.total)):"";r=e.time?"".concat(t,": ").concat(n," ").concat(r):"".concat(t,": ").concat(r),r=vz(r,e.color,e.background)}return r}function bue(t){var r=t.image,e=t.message,n=e===void 0?"":e,i=t.scale,a=i===void 0?1:i,o=null;try{o=module.require("asciify-image")}catch{}return o?function(){return o(r,{fit:"box",width:"".concat(Math.round(80*a),"%")}).then(function(s){return console.log(s)})}:Dc}function xue(t){var r=t.image,e=t.message,n=e===void 0?"":e,i=t.scale,a=i===void 0?1:i;if(typeof r=="string"){var o=new Image;return o.onload=function(){var h,p=xx(o,n,a);(h=console).log.apply(h,Pr(p))},o.src=r,Dc}var s=r.nodeName||"";if(s.toLowerCase()==="img"){var u;return(u=console).log.apply(u,Pr(xx(r,n,a))),Dc}if(s.toLowerCase()==="canvas"){var c=new Image;return c.onload=function(){var h;return(h=console).log.apply(h,Pr(xx(c,n,a)))},c.src=r.toDataURL(),Dc}return Dc}function wue(t){for(var r in t)for(var e in t[r])return e||"untitled";return"empty"}var VGe=new $p({id:"@probe.gl/log"});var xr=new $p({id:"deck"});var ZP={};function wz(t){ZP=t}function _s(t,r,e,n){xr.level>0&&ZP[t]&&ZP[t].call(null,r,e,n)}function Tue(t){var r=t[0],e=t[t.length-1];return r==="{"&&e==="}"||r==="["&&e==="]"}var Tz={id:"JSON",name:"JSON",module:"",version:"",options:{},extensions:["json","geojson"],mimeTypes:["application/json","application/geo+json"],testText:Tue,parseTextSync:JSON.parse};function Sz(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,n)}return e}function Ez(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?Sz(Object(e),!0).forEach(function(n){_(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Sz(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function Sue(){var t="8.9.24",r=globalThis.deck&&globalThis.deck.VERSION;if(r&&r!==t)throw new Error("deck.gl - multiple versions detected: ".concat(r," vs ").concat(t));return r||(xr.log(1,"deck.gl ".concat(t))(),globalThis.deck=Ez(Ez({},globalThis.deck),{},{VERSION:t,version:t,log:xr,_registerLoggers:wz}),Am([Tz,[vf,{imagebitmap:{premultiplyAlpha:"none"}}]])),t}var Tx=Sue();var An={DEFAULT:-1,LNGLAT:1,METER_OFFSETS:2,LNGLAT_OFFSETS:3,CARTESIAN:0};Object.defineProperty(An,"IDENTITY",{get:function(){return xr.deprecated("COORDINATE_SYSTEM.IDENTITY","COORDINATE_SYSTEM.CARTESIAN")(),0}});var ol={WEB_MERCATOR:1,GLOBE:2,WEB_MERCATOR_AUTO_OFFSET:4,IDENTITY:0},Uo={common:0,meters:1,pixels:2},$P={click:{handler:"onClick"},panstart:{handler:"onDragStart"},panmove:{handler:"onDrag"},panend:{handler:"onDragEnd"}},Cz={DRAW:"draw",MASK:"mask",TERRAIN:"terrain"};at();vt();et();var Wr=new $p({id:"luma.gl"});function Fs(t,r){if(!t)throw new Error(r||"luma.gl: assertion failed.")}var Eue="Invalid WebGLRenderingContext";var Cue="Requires WebGL2";function $h(t){return typeof WebGLRenderingContext<"u"&&t instanceof WebGLRenderingContext||typeof WebGL2RenderingContext<"u"&&t instanceof WebGL2RenderingContext?!0:Boolean(t&&Number.isFinite(t._version))}function En(t){return typeof WebGL2RenderingContext<"u"&&t instanceof WebGL2RenderingContext?!0:Boolean(t&&t._version===2)}function JP(t){return En(t)?t:null}function Jh(t){return Fs($h(t),Eue),t}function Ro(t){return Fs(En(t),Cue),t}var a_={};function Pue(t){globalThis.console&&globalThis.console.error&&globalThis.console.error(t)}function Oue(t){globalThis.console&&globalThis.console.log&&globalThis.console.log(t)}function Mue(t,r){a_[t]=!0,r!==void 0&&Pue(r)}function Iue(t){var r=t.getError;t.getError=function(){var n;do n=r.apply(t),n!==0&&(a_[n]=!0);while(n!==0);for(n in a_)if(a_[n])return delete a_[n],parseInt(n,10);return 0}}var o_=function t(r){var e=r.gl;this.ext=r,this.isAlive=!0,this.hasBeenBound=!1,this.elementArrayBuffer=null,this.attribs=new Array(r.maxVertexAttribs);for(var n=0;n<this.attribs.length;n++){var i=new t.VertexAttrib(e);this.attribs[n]=i}this.maxAttrib=0};o_.VertexAttrib=function(r){this.enabled=!1,this.buffer=null,this.size=4,this.type=5126,this.normalized=!1,this.stride=16,this.offset=0,this.cached="",this.recache()};o_.VertexAttrib.prototype.recache=function(){this.cached=[this.size,this.type,this.normalized,this.stride,this.offset].join(":")};var wm=function(r){var e=this;this.gl=r,Iue(r);var n=this.original={getParameter:r.getParameter,enableVertexAttribArray:r.enableVertexAttribArray,disableVertexAttribArray:r.disableVertexAttribArray,bindBuffer:r.bindBuffer,getVertexAttrib:r.getVertexAttrib,vertexAttribPointer:r.vertexAttribPointer};r.getParameter=function(a){return a===e.VERTEX_ARRAY_BINDING_OES?e.currentVertexArrayObject===e.defaultVertexArrayObject?null:e.currentVertexArrayObject:n.getParameter.apply(this,arguments)},r.enableVertexAttribArray=function(a){var o=e.currentVertexArrayObject;o.maxAttrib=Math.max(o.maxAttrib,a);var s=o.attribs[a];return s.enabled=!0,n.enableVertexAttribArray.apply(this,arguments)},r.disableVertexAttribArray=function(a){var o=e.currentVertexArrayObject;o.maxAttrib=Math.max(o.maxAttrib,a);var s=o.attribs[a];return s.enabled=!1,n.disableVertexAttribArray.apply(this,arguments)},r.bindBuffer=function(a,o){switch(a){case 34962:e.currentArrayBuffer=o;break;case 34963:e.currentVertexArrayObject.elementArrayBuffer=o;break;default:}return n.bindBuffer.apply(this,arguments)},r.getVertexAttrib=function(a,o){var s=e.currentVertexArrayObject,u=s.attribs[a];switch(o){case 34975:return u.buffer;case 34338:return u.enabled;case 34339:return u.size;case 34340:return u.stride;case 34341:return u.type;case 34922:return u.normalized;default:return n.getVertexAttrib.apply(this,arguments)}},r.vertexAttribPointer=function(a,o,s,u,c,h){var p=e.currentVertexArrayObject;p.maxAttrib=Math.max(p.maxAttrib,a);var v=p.attribs[a];return v.buffer=e.currentArrayBuffer,v.size=o,v.type=s,v.normalized=u,v.stride=c,v.offset=h,v.recache(),n.vertexAttribPointer.apply(this,arguments)},r.instrumentExtension&&r.instrumentExtension(this,"OES_vertex_array_object"),r.canvas&&r.canvas.addEventListener("webglcontextrestored",function(){Oue("OESVertexArrayObject emulation library context restored"),e.reset_()},!0),this.reset_()};wm.prototype.VERTEX_ARRAY_BINDING_OES=34229;wm.prototype.reset_=function(){var r=this.vertexArrayObjects!==void 0;if(r)for(var e=0;e<this.vertexArrayObjects.length;++e)this.vertexArrayObjects.isAlive=!1;var n=this.gl;this.maxVertexAttribs=n.getParameter(34921),this.defaultVertexArrayObject=new o_(this),this.currentVertexArrayObject=null,this.currentArrayBuffer=null,this.vertexArrayObjects=[this.defaultVertexArrayObject],this.bindVertexArrayOES(null)};wm.prototype.createVertexArrayOES=function(){var r=new o_(this);return this.vertexArrayObjects.push(r),r};wm.prototype.deleteVertexArrayOES=function(r){r.isAlive=!1,this.vertexArrayObjects.splice(this.vertexArrayObjects.indexOf(r),1),this.currentVertexArrayObject===r&&this.bindVertexArrayOES(null)};wm.prototype.isVertexArrayOES=function(r){return!!(r&&r instanceof o_&&r.hasBeenBound&&r.ext===this)};wm.prototype.bindVertexArrayOES=function(r){var e=this.gl;if(r&&!r.isAlive){Mue(1282,"bindVertexArrayOES: attempt to bind deleted arrayObject");return}var n=this.original,i=this.currentVertexArrayObject;this.currentVertexArrayObject=r||this.defaultVertexArrayObject,this.currentVertexArrayObject.hasBeenBound=!0;var a=this.currentVertexArrayObject;if(i!==a){(!i||a.elementArrayBuffer!==i.elementArrayBuffer)&&n.bindBuffer.call(e,34963,a.elementArrayBuffer);for(var o=this.currentArrayBuffer,s=Math.max(i?i.maxAttrib:0,a.maxAttrib),u=0;u<=s;u++){var c=a.attribs[u],h=i?i.attribs[u]:null;if((!i||c.enabled!==h.enabled)&&(c.enabled?n.enableVertexAttribArray.call(e,u):n.disableVertexAttribArray.call(e,u)),c.enabled){var p=!1;(!i||c.buffer!==h.buffer)&&(o!==c.buffer&&(n.bindBuffer.call(e,34962,c.buffer),o=c.buffer),p=!0),(p||c.cached!==h.cached)&&n.vertexAttribPointer.call(e,u,c.size,c.type,c.normalized,c.stride,c.offset)}}this.currentArrayBuffer!==o&&n.bindBuffer.call(e,34962,this.currentArrayBuffer)}};function Pz(t){if(typeof t.createVertexArray!="function"){var r=t.getSupportedExtensions;t.getSupportedExtensions=function(){var i=r.call(this)||[];return i.indexOf("OES_vertex_array_object")<0&&i.push("OES_vertex_array_object"),i};var e=t.getExtension;t.getExtension=function(i){var a=e.call(this,i);return a||(i!=="OES_vertex_array_object"?null:(t.__OESVertexArrayObject||(this.__OESVertexArrayObject=new wm(this)),this.__OESVertexArrayObject))}}}et();et();var ta,Oz="OES_element_index",Mz="WEBGL_draw_buffers",Rue="EXT_disjoint_timer_query",Lue="EXT_disjoint_timer_query_webgl2",kue="EXT_texture_filter_anisotropic",Iz="WEBGL_debug_renderer_info",Bue=35723,Due=4352,Fue=36795,Nue=34047,zue=37445,Uue=37446,Lo=function(r){return En(r)?void 0:0},jue=(ta={},_(ta,3074,function(r){return En(r)?void 0:36064}),_(ta,Bue,function(t){return En(t)?void 0:Due}),_(ta,35977,Lo),_(ta,32937,Lo),_(ta,Fue,function(t,r){var e=En(t)?t.getExtension(Lue):t.getExtension(Rue);return e&&e.GPU_DISJOINT_EXT?r(e.GPU_DISJOINT_EXT):0}),_(ta,zue,function(t,r){var e=t.getExtension(Iz);return r(e&&e.UNMASKED_VENDOR_WEBGL||7936)}),_(ta,Uue,function(t,r){var e=t.getExtension(Iz);return r(e&&e.UNMASKED_RENDERER_WEBGL||7937)}),_(ta,Nue,function(t,r){var e=t.luma.extensions[kue];return e?r(e.MAX_TEXTURE_MAX_ANISOTROPY_EXT):1}),_(ta,32883,Lo),_(ta,35071,Lo),_(ta,37447,Lo),_(ta,36063,function(r,e){if(!En(r)){var n=r.getExtension(Mz);return n?e(n.MAX_COLOR_ATTACHMENTS_WEBGL):0}}),_(ta,35379,Lo),_(ta,35374,Lo),_(ta,35377,Lo),_(ta,34852,function(r){if(!En(r)){var e=r.getExtension(Mz);return e?e.MAX_DRAW_BUFFERS_WEBGL:0}}),_(ta,36203,function(r){return r.getExtension(Oz)?2147483647:65535}),_(ta,33001,function(r){return r.getExtension(Oz)?16777216:65535}),_(ta,33e3,function(r){return 16777216}),_(ta,37157,Lo),_(ta,35373,Lo),_(ta,35657,Lo),_(ta,36183,Lo),_(ta,37137,Lo),_(ta,34045,Lo),_(ta,35978,Lo),_(ta,35979,Lo),_(ta,35968,Lo),_(ta,35376,Lo),_(ta,35375,Lo),_(ta,35659,Lo),_(ta,37154,Lo),_(ta,35371,Lo),_(ta,35658,Lo),_(ta,35076,Lo),_(ta,35077,Lo),_(ta,35380,Lo),ta);function Rz(t,r,e){var n=jue[e],i=typeof n=="function"?n(t,r,e):n,a=i!==void 0?i:r(e);return a}var Mg,Gue="OES_vertex_array_object",Lz="ANGLE_instanced_arrays",Vue="WEBGL_draw_buffers",Hue="EXT_disjoint_timer_query",Wue="EXT_texture_filter_anisotropic",que="VertexArray requires WebGL2 or OES_vertex_array_object extension";function Xue(t,r){return{webgl2:En(t),ext:t.getExtension(r)}}var QP=(Mg={},_(Mg,Gue,{meta:{suffix:"OES"},createVertexArray:function(){Fs(!1,que)},deleteVertexArray:function(){},bindVertexArray:function(){},isVertexArray:function(){return!1}}),_(Mg,Lz,{meta:{suffix:"ANGLE"},vertexAttribDivisor:function(r,e){Fs(e===0,"WebGL instanced rendering not supported")},drawElementsInstanced:function(){},drawArraysInstanced:function(){}}),_(Mg,Vue,{meta:{suffix:"WEBGL"},drawBuffers:function(){Fs(!1)}}),_(Mg,Hue,{meta:{suffix:"EXT"},createQuery:function(){Fs(!1)},deleteQuery:function(){Fs(!1)},beginQuery:function(){Fs(!1)},endQuery:function(){},getQuery:function(r,e){return this.getQueryObject(r,e)},getQueryParameter:function(r,e){return this.getQueryObject(r,e)},getQueryObject:function(){}}),Mg),Sx={readBuffer:function(r,e,n){En(r)&&e(n)},getVertexAttrib:function(r,e,n,i){var a=Xue(r,Lz),o=a.webgl2,s=a.ext,u;switch(i){case 35069:u=o?void 0:!1;break;case 35070:u=!o&&!s?0:void 0;break;default:}return u!==void 0?u:e(n,i)},getProgramParameter:function(r,e,n,i){if(!En(r))switch(i){case 35967:return 35981;case 35971:return 0;case 35382:return 0;default:}return e(n,i)},getInternalformatParameter:function(r,e,n,i,a){if(!En(r))switch(a){case 32937:return new Int32Array([0]);default:}return r.getInternalformatParameter(n,i,a)},getTexParameter:function(r,e,n,i){switch(i){case 34046:var a=r.luma.extensions,o=a[Wue];i=o&&o.TEXTURE_MAX_ANISOTROPY_EXT||34046;break;default:}return e(n,i)},getParameter:Rz,hint:function(r,e,n,i){return e(n,i)}};function Bz(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Yue(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
551
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function Lse(t,r){if(t){if(typeof t=="string")return XN(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return XN(t,r)}}function XN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var YN,KN,$N={fontFamily:'"Helvetica Neue", Helvetica, Arial, sans-serif',display:"flex",flex:"wrap",maxWidth:"500px",flexDirection:"column",zIndex:2};function yx(){return document.createElement("div")}function kse(t){if(!t.picked)return null;if(t.object===YN)return KN;var r={html:Dse(t.object),style:$N};return KN=r,YN=t.object,r}var Bse=new Set(["position","index"]);function Dse(t){var r=yx();for(var e in t)if(!Bse.has(e)){var n=yx();n.className="header",n.textContent=e;var i=yx();i.className="value",i.textContent=Nse(t[e]);var a=yx();Fse(a,n,i),a.appendChild(n),a.appendChild(i),r.appendChild(a)}return r.innerHTML}function Fse(t,r,e){Object.assign(r.style,{fontWeight:700,marginRight:"10px",flex:"1 1 0%"}),Object.assign(e.style,{flex:"none",maxWidth:"250px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Object.assign(t.style,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"stretch"})}function Nse(t){var r;if(Array.isArray(t)&&t.length>4)r="Array<".concat(t.length,">");else if(typeof t=="string")r=t;else if(typeof t=="number")r=String(t);else try{r=JSON.stringify(t)}catch{r="<Non-Serializable Object>"}var e=50;return r.length>e&&(r=r.slice(0,e)),r}function ZN(t,r){var e,n=t,i="properties",a=/{[^}]*}/g,o=function(D){return D.replace(/[{}]/g,"")},s=Pr(new Set(t.match(a).map(o))),u=qN(s),c;try{for(u.s();!(c=u.n()).done;){var h=c.value;if(h.includes(".")){e=r;var p=h.split("."),v=qN(p),x;try{for(v.s();!(x=v.n()).done;){var E=x.value;if(e.hasOwnProperty(E))e=e[E];else{e=void 0;break}}}catch(R){v.e(R)}finally{v.f()}}else r.hasOwnProperty(h)?e=r[h]:r[i]&&r[i].hasOwnProperty(h)?e=r[i][h]:e=void 0;n=n.replaceAll("{".concat(h,"}"),e)}}catch(R){u.e(R)}finally{u.f()}return n}function CP(t){return t?t.html||t.text?function(r){if(!r.picked)return null;var e={style:t.style||$N};return t.html?e.html=ZN(t.html,r.object):e.text=ZN(t.text,r.object),e}:kse:null}function JN(t){var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=t,document.getElementsByTagName("head")[0].appendChild(r)}function QN(t,r){var e=document.createElement("div");return e.style.width=Number.isFinite(t)?"".concat(t,"px"):t,e.style.height="".concat(r,"px"),e.style.position="relative",e}var tz=en(ez()),zse="https://api.tiles.mapbox.com/mapbox-gl-js/v1.13.2/mapbox-gl.css",MP=tz.default;function rz(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zse;JN(t)}function nz(){for(var t=["mapboxgl-missing-css"],r=0,e=t;r<e.length;r++){var n=e[r],i=document.getElementsByClassName(n)[0];i&&i.style&&(i.style.display="none")}}var IP={};function iz(t){if(!IP[t]){var r=document.createElement("script");r.type="text/javascript",r.src=t;var e=document.querySelector("head");e.appendChild(r),IP[t]=new Promise(function(n){r.onload=n})}return IP[t]}et();var az="3.4.2";var HP=en(On());var Use=globalThis._parseImageNode,RP=typeof Image<"u",LP=typeof ImageBitmap<"u",jse=Boolean(Use),kP=Kh?!0:jse;function oz(t){switch(t){case"auto":return LP||RP||kP;case"imagebitmap":return LP;case"image":return RP;case"data":return kP;default:throw new Error("@loaders.gl/images: image ".concat(t," not supported in this environment"))}}function sz(){if(LP)return"imagebitmap";if(RP)return"image";if(kP)return"data";throw new Error("Install '@loaders.gl/polyfills' to parse images under Node.js")}ki();function Gse(t){var r=Vse(t);if(!r)throw new Error("Not an image");return r}function uz(t){switch(Gse(t)){case"data":return t;case"image":case"imagebitmap":var r=document.createElement("canvas"),e=r.getContext("2d");if(!e)throw new Error("getImageData");return r.width=t.width,r.height=t.height,e.drawImage(t,0,0),e.getImageData(0,0,t.width,t.height);default:throw new Error("getImageData")}}function Vse(t){return typeof ImageBitmap<"u"&&t instanceof ImageBitmap?"imagebitmap":typeof Image<"u"&&t instanceof Image?"image":t&&vr(t)==="object"&&t.data&&t.width&&t.height?"data":null}var Qy=en(On());var Hse=/^data:image\/svg\+xml/,Wse=/\.svg((\?|#).*)?$/;function _x(t){return t&&(Hse.test(t)||Wse.test(t))}function lz(t,r){if(_x(r)){var e=new TextDecoder,n=e.decode(t);try{typeof unescape=="function"&&typeof encodeURIComponent=="function"&&(n=unescape(encodeURIComponent(n)))}catch(a){throw new Error(a.message)}var i="data:image/svg+xml;base64,".concat(btoa(n));return i}return BP(t,r)}function BP(t,r){if(_x(r))throw new Error("SVG cannot be parsed directly to imagebitmap");return new Blob([new Uint8Array(t)])}function e_(t,r,e){return DP.apply(this,arguments)}function DP(){return DP=Nt(Qy.default.mark(function t(r,e,n){var i,a,o;return Qy.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return i=lz(r,n),a=self.URL||self.webkitURL,o=typeof i!="string"&&a.createObjectURL(i),u.prev=3,u.next=6,qse(o||i,e);case 6:return u.abrupt("return",u.sent);case 7:return u.prev=7,o&&a.revokeObjectURL(o),u.finish(7);case 10:case"end":return u.stop()}},t,null,[[3,,7,10]])})),DP.apply(this,arguments)}function qse(t,r){return FP.apply(this,arguments)}function FP(){return FP=Nt(Qy.default.mark(function t(r,e){var n;return Qy.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(n=new Image,n.src=r,!(e.image&&e.image.decode&&n.decode)){a.next=6;break}return a.next=5,n.decode();case 5:return a.abrupt("return",n);case 6:return a.next=8,new Promise(function(o,s){try{n.onload=function(){return o(n)},n.onerror=function(u){return s(new Error("Could not load image ".concat(r,": ").concat(u)))}}catch(u){s(u)}});case 8:return a.abrupt("return",a.sent);case 9:case"end":return a.stop()}},t)})),FP.apply(this,arguments)}var t_=en(On());var Xse={},cz=!0;function UP(t,r,e){return NP.apply(this,arguments)}function NP(){return NP=Nt(t_.default.mark(function t(r,e,n){var i,a,o;return t_.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!_x(n)){u.next=7;break}return u.next=3,e_(r,e,n);case 3:a=u.sent,i=a,u.next=8;break;case 7:i=BP(r,n);case 8:return o=e&&e.imagebitmap,u.next=11,Yse(i,o);case 11:return u.abrupt("return",u.sent);case 12:case"end":return u.stop()}},t)})),NP.apply(this,arguments)}function Yse(t){return zP.apply(this,arguments)}function zP(){return zP=Nt(t_.default.mark(function t(r){var e,n=arguments;return t_.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(e=n.length>1&&n[1]!==void 0?n[1]:null,(Kse(e)||!cz)&&(e=null),!e){a.next=13;break}return a.prev=3,a.next=6,createImageBitmap(r,e);case 6:return a.abrupt("return",a.sent);case 9:a.prev=9,a.t0=a.catch(3),console.warn(a.t0),cz=!1;case 13:return a.next=15,createImageBitmap(r);case 15:return a.abrupt("return",a.sent);case 16:case"end":return a.stop()}},t,null,[[3,9]])})),zP.apply(this,arguments)}function Kse(t){for(var r in t||Xse)return!1;return!0}var jP=en(On());function fz(t){return!Qse(t,"ftyp",4)||!(t[8]&96)?null:Zse(t)}function Zse(t){var r=$se(t,8,12).replace("\0"," ").trim();switch(r){case"avif":case"avis":return{extension:"avif",mimeType:"image/avif"};default:return null}}function $se(t,r,e){return String.fromCharCode.apply(String,Pr(t.slice(r,e)))}function Jse(t){return Pr(t).map(function(r){return r.charCodeAt(0)})}function Qse(t,r){for(var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=Jse(r),i=0;i<n.length;++i)if(n[i]!==t[i+e])return!1;return!0}var rh=!1,r_=!0;function _m(t){var r=n_(t);return tue(r)||iue(r)||rue(r)||nue(r)||eue(r)}function eue(t){var r=new Uint8Array(t instanceof DataView?t.buffer:t),e=fz(r);return e?{mimeType:e.mimeType,width:0,height:0}:null}function tue(t){var r=n_(t),e=r.byteLength>=24&&r.getUint32(0,rh)===2303741511;return e?{mimeType:"image/png",width:r.getUint32(16,rh),height:r.getUint32(20,rh)}:null}function rue(t){var r=n_(t),e=r.byteLength>=10&&r.getUint32(0,rh)===1195984440;return e?{mimeType:"image/gif",width:r.getUint16(6,r_),height:r.getUint16(8,r_)}:null}function nue(t){var r=n_(t),e=r.byteLength>=14&&r.getUint16(0,rh)===16973&&r.getUint32(2,r_)===r.byteLength;return e?{mimeType:"image/bmp",width:r.getUint32(18,r_),height:r.getUint32(22,r_)}:null}function iue(t){var r=n_(t),e=r.byteLength>=3&&r.getUint16(0,rh)===65496&&r.getUint8(2)===255;if(!e)return null;for(var n=aue(),i=n.tableMarkers,a=n.sofMarkers,o=2;o+9<r.byteLength;){var s=r.getUint16(o,rh);if(a.has(s))return{mimeType:"image/jpeg",height:r.getUint16(o+5,rh),width:r.getUint16(o+7,rh)};if(!i.has(s))return null;o+=2,o+=r.getUint16(o,rh)}return null}function aue(){for(var t=new Set([65499,65476,65484,65501,65534]),r=65504;r<65520;++r)t.add(r);var e=new Set([65472,65473,65474,65475,65477,65478,65479,65481,65482,65483,65485,65486,65487,65502]);return{tableMarkers:t,sofMarkers:e}}function n_(t){if(t instanceof DataView)return t;if(ArrayBuffer.isView(t))return new DataView(t.buffer);if(t instanceof ArrayBuffer)return new DataView(t);throw new Error("toDataView")}function VP(t,r){return GP.apply(this,arguments)}function GP(){return GP=Nt(jP.default.mark(function t(r,e){var n,i,a;return jP.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return n=_m(r)||{},i=n.mimeType,a=globalThis._parseImageNode,ea(a),s.next=5,a(r,i);case 5:return s.abrupt("return",s.sent);case 6:case"end":return s.stop()}},t)})),GP.apply(this,arguments)}function qP(t,r,e){return WP.apply(this,arguments)}function WP(){return WP=Nt(HP.default.mark(function t(r,e,n){var i,a,o,s,u,c;return HP.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:e=e||{},i=e.image||{},a=i.type||"auto",o=n||{},s=o.url,u=oue(a),p.t0=u,p.next=p.t0==="imagebitmap"?8:p.t0==="image"?12:p.t0==="data"?16:20;break;case 8:return p.next=10,UP(r,e,s);case 10:return c=p.sent,p.abrupt("break",21);case 12:return p.next=14,e_(r,e,s);case 14:return c=p.sent,p.abrupt("break",21);case 16:return p.next=18,VP(r,e);case 18:return c=p.sent,p.abrupt("break",21);case 20:ea(!1);case 21:return a==="data"&&(c=uz(c)),p.abrupt("return",c);case 23:case"end":return p.stop()}},t)})),WP.apply(this,arguments)}function oue(t){switch(t){case"auto":case"data":return sz();default:return oz(t),t}}var sue=["png","jpg","jpeg","gif","webp","bmp","ico","svg","avif"],uue=["image/png","image/jpeg","image/gif","image/webp","image/avif","image/bmp","image/vnd.microsoft.icon","image/svg+xml"],lue={image:{type:"auto",decode:!0}},vf={id:"image",module:"images",name:"Images",version:az,mimeTypes:uue,extensions:sue,parse:qP,tests:[function(t){return Boolean(_m(new DataView(t)))}],options:lue};var cue=en(On());var XP={};function YP(t){if(XP[t]===void 0){var r=Kh?hue(t):fue(t);XP[t]=r}return XP[t]}function fue(t){var r=["image/png","image/jpeg","image/gif"],e=globalThis._parseImageNode,n=globalThis._imageFormatsNode,i=n===void 0?r:n;return Boolean(e)&&i.includes(t)}function hue(t){switch(t){case"image/avif":case"image/webp":return pue(t);default:return!0}}function pue(t){try{var r=document.createElement("canvas"),e=r.toDataURL(t);return e.indexOf("data:".concat(t))===0}catch{return!1}}ki();et();at();vt();et();ki();ki();function i_(t){if(typeof window<"u"&&vr(window.process)==="object"&&window.process.type==="renderer"||typeof process<"u"&&vr(process.versions)==="object"&&Boolean(process.versions.electron))return!0;var r=(typeof navigator>"u"?"undefined":vr(navigator))==="object"&&typeof navigator.userAgent=="string"&&navigator.userAgent,e=t||r;return!!(e&&e.indexOf("Electron")>=0)}function cu(){var t=(typeof process>"u"?"undefined":vr(process))==="object"&&String(process)==="[object process]"&&!process.browser;return!t||i_()}ki();var Zp={self:typeof self<"u"&&self,window:typeof window<"u"&&window,global:typeof global<"u"&&global,document:typeof document<"u"&&document,process:(typeof process>"u"?"undefined":vr(process))==="object"&&process};var due=Zp.self||Zp.window||Zp.global,Eg=Zp.window||Zp.self||Zp.global,mue=Zp.document||{},bm=Zp.process||{};var bx="8.9.25",nGe=cu();var KP=globalThis;function Cg(t){if(!t&&!cu())return"Node";if(i_(t))return"Electron";var r=typeof navigator<"u"?navigator:{},e=t||r.userAgent||"";if(e.indexOf("Edge")>-1)return"Edge";var n=e.indexOf("MSIE ")!==-1,i=e.indexOf("Trident/")!==-1;return n||i?"IE":KP.chrome?"Chrome":KP.safari?"Safari":KP.mozInnerScreenX?"Firefox":"Unknown"}at();vt();et();function vue(t){try{var r=window[t],e="__storage_test__";return r.setItem(e,e),r.removeItem(e),r}catch{return null}}var hz=function(){function t(r){ce(this,t);var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"sessionStorage";_(this,"storage",void 0),_(this,"id",void 0),_(this,"config",{}),this.storage=vue(n),this.id=r,this.config={},Object.assign(this.config,e),this._loadConfiguration()}return ve(t,[{key:"getConfiguration",value:function(){return this.config}},{key:"setConfiguration",value:function(e){return this.config={},this.updateConfiguration(e)}},{key:"updateConfiguration",value:function(e){if(Object.assign(this.config,e),this.storage){var n=JSON.stringify(this.config);this.storage.setItem(this.id,n)}return this}},{key:"_loadConfiguration",value:function(){var e={};if(this.storage){var n=this.storage.getItem(this.id);e=n?JSON.parse(n):{}}return Object.assign(this.config,e),this}}]),t}();function pz(t){var r;return t<10?r="".concat(t.toFixed(2),"ms"):t<100?r="".concat(t.toFixed(1),"ms"):t<1e3?r="".concat(t.toFixed(0),"ms"):r="".concat((t/1e3).toFixed(2),"s"),r}function dz(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:8,e=Math.max(r-t.length,0);return"".concat(" ".repeat(e)).concat(t)}function xx(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:600,i=t.src.replace(/\(/g,"%28").replace(/\)/g,"%29");t.width>n&&(e=Math.min(e,n/t.width));var a=t.width*e,o=t.height*e,s=["font-size:1px;","padding:".concat(Math.floor(o/2),"px ").concat(Math.floor(a/2),"px;"),"line-height:".concat(o,"px;"),"background:url(".concat(i,");"),"background-size:".concat(a,"px ").concat(o,"px;"),"color:transparent;"].join("");return["".concat(r," %c+"),s]}var wx;(function(t){t[t.BLACK=30]="BLACK",t[t.RED=31]="RED",t[t.GREEN=32]="GREEN",t[t.YELLOW=33]="YELLOW",t[t.BLUE=34]="BLUE",t[t.MAGENTA=35]="MAGENTA",t[t.CYAN=36]="CYAN",t[t.WHITE=37]="WHITE",t[t.BRIGHT_BLACK=90]="BRIGHT_BLACK",t[t.BRIGHT_RED=91]="BRIGHT_RED",t[t.BRIGHT_GREEN=92]="BRIGHT_GREEN",t[t.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",t[t.BRIGHT_BLUE=94]="BRIGHT_BLUE",t[t.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",t[t.BRIGHT_CYAN=96]="BRIGHT_CYAN",t[t.BRIGHT_WHITE=97]="BRIGHT_WHITE"})(wx||(wx={}));function mz(t){return typeof t=="string"?wx[t.toUpperCase()]||wx.WHITE:t}function vz(t,r,e){return!cu&&typeof t=="string"&&(r&&(r=mz(r),t="\x1B[".concat(r,"m").concat(t,"\x1B[39m")),e&&(r=mz(e),t="\x1B[".concat(e+10,"m").concat(t,"\x1B[49m"))),t}function gue(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Aue(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
552
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function Aue(t,r){if(t){if(typeof t=="string")return gz(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return gz(t,r)}}function gz(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function Az(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:["constructor"],e=Object.getPrototypeOf(t),n=Object.getOwnPropertyNames(e),i=gue(n),a;try{var o=function(){var u=a.value;typeof t[u]=="function"&&(r.find(function(c){return u===c})||(t[u]=t[u].bind(t)))};for(i.s();!(a=i.n()).done;)o()}catch(s){i.e(s)}finally{i.f()}}function Pg(t,r){if(!t)throw new Error(r||"Assertion failed")}function xm(){var t;if(cu&&"performance"in Eg){var r,e;t=Eg===null||Eg===void 0||(r=Eg.performance)===null||r===void 0||(e=r.now)===null||e===void 0?void 0:e.call(r)}else if("hrtime"in bm){var n,i=bm===null||bm===void 0||(n=bm.hrtime)===null||n===void 0?void 0:n.call(bm);t=i[0]*1e3+i[1]/1e6}else t=Date.now();return t}var Og={debug:cu&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},yue={enabled:!0,level:0};function Dc(){}var yz={},_z={once:!0},$p=function(){function t(){ce(this,t);var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{id:""},e=r.id;_(this,"id",void 0),_(this,"VERSION",bx),_(this,"_startTs",xm()),_(this,"_deltaTs",xm()),_(this,"_storage",void 0),_(this,"userData",{}),_(this,"LOG_THROTTLE_TIMEOUT",0),this.id=e,this._storage=new hz("__probe-".concat(this.id,"__"),yue),this.userData={},this.timeStamp("".concat(this.id," started")),Az(this),Object.seal(this)}return ve(t,[{key:"level",get:function(){return this.getLevel()},set:function(e){this.setLevel(e)}},{key:"isEnabled",value:function(){return this._storage.config.enabled}},{key:"getLevel",value:function(){return this._storage.config.level}},{key:"getTotal",value:function(){return Number((xm()-this._startTs).toPrecision(10))}},{key:"getDelta",value:function(){return Number((xm()-this._deltaTs).toPrecision(10))}},{key:"priority",get:function(){return this.level},set:function(e){this.level=e}},{key:"getPriority",value:function(){return this.level}},{key:"enable",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this._storage.updateConfiguration({enabled:e}),this}},{key:"setLevel",value:function(e){return this._storage.updateConfiguration({level:e}),this}},{key:"get",value:function(e){return this._storage.config[e]}},{key:"set",value:function(e,n){this._storage.updateConfiguration(_({},e,n))}},{key:"settings",value:function(){console.table?console.table(this._storage.config):console.log(this._storage.config)}},{key:"assert",value:function(e,n){Pg(e,n)}},{key:"warn",value:function(e){return this._getLogFunction(0,e,Og.warn,arguments,_z)}},{key:"error",value:function(e){return this._getLogFunction(0,e,Og.error,arguments)}},{key:"deprecated",value:function(e,n){return this.warn("`".concat(e,"` is deprecated and will be removed in a later version. Use `").concat(n,"` instead"))}},{key:"removed",value:function(e,n){return this.error("`".concat(e,"` has been removed. Use `").concat(n,"` instead"))}},{key:"probe",value:function(e,n){return this._getLogFunction(e,n,Og.log,arguments,{time:!0,once:!0})}},{key:"log",value:function(e,n){return this._getLogFunction(e,n,Og.debug,arguments)}},{key:"info",value:function(e,n){return this._getLogFunction(e,n,console.info,arguments)}},{key:"once",value:function(e,n){for(var i=arguments.length,a=new Array(i>2?i-2:0),o=2;o<i;o++)a[o-2]=arguments[o];return this._getLogFunction(e,n,Og.debug||Og.info,arguments,_z)}},{key:"table",value:function(e,n,i){return n?this._getLogFunction(e,n,console.table||Dc,i&&[i],{tag:wue(n)}):Dc}},{key:"image",value:function(e){var n=e.logLevel,i=e.priority,a=e.image,o=e.message,s=o===void 0?"":o,u=e.scale,c=u===void 0?1:u;return this._shouldLog(n||i)?cu?xue({image:a,message:s,scale:c}):bue({image:a,message:s,scale:c}):Dc}},{key:"time",value:function(e,n){return this._getLogFunction(e,n,console.time?console.time:console.info)}},{key:"timeEnd",value:function(e,n){return this._getLogFunction(e,n,console.timeEnd?console.timeEnd:console.info)}},{key:"timeStamp",value:function(e,n){return this._getLogFunction(e,n,console.timeStamp||Dc)}},{key:"group",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{collapsed:!1},a=bz({logLevel:e,message:n,opts:i}),o=i.collapsed;return a.method=(o?console.groupCollapsed:console.group)||console.info,this._getLogFunction(a)}},{key:"groupCollapsed",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.group(e,n,Object.assign({},i,{collapsed:!0}))}},{key:"groupEnd",value:function(e){return this._getLogFunction(e,"",console.groupEnd||Dc)}},{key:"withGroup",value:function(e,n,i){this.group(e,n)();try{i()}finally{this.groupEnd(e)()}}},{key:"trace",value:function(){console.trace&&console.trace()}},{key:"_shouldLog",value:function(e){return this.isEnabled()&&this.getLevel()>=xz(e)}},{key:"_getLogFunction",value:function(e,n,i,a,o){if(this._shouldLog(e)){var s;o=bz({logLevel:e,message:n,args:a,opts:o}),i=i||o.method,Pg(i),o.total=this.getTotal(),o.delta=this.getDelta(),this._deltaTs=xm();var u=o.tag||o.message;if(o.once)if(!yz[u])yz[u]=xm();else return Dc;return n=_ue(this.id,o.message,o),(s=i).bind.apply(s,[console,n].concat(Pr(o.args)))}return Dc}}]),t}();_($p,"VERSION",bx);function xz(t){if(!t)return 0;var r;switch(vr(t)){case"number":r=t;break;case"object":r=t.logLevel||t.priority||0;break;default:return 0}return Pg(Number.isFinite(r)&&r>=0),r}function bz(t){var r=t.logLevel,e=t.message;t.logLevel=xz(r);for(var n=t.args?Array.from(t.args):[];n.length&&n.shift()!==e;);switch(vr(r)){case"string":case"function":e!==void 0&&n.unshift(e),t.message=r;break;case"object":Object.assign(t,r);break;default:}typeof t.message=="function"&&(t.message=t.message());var i=vr(t.message);return Pg(i==="string"||i==="object"),Object.assign(t,{args:n},t.opts)}function _ue(t,r,e){if(typeof r=="string"){var n=e.time?dz(pz(e.total)):"";r=e.time?"".concat(t,": ").concat(n," ").concat(r):"".concat(t,": ").concat(r),r=vz(r,e.color,e.background)}return r}function bue(t){var r=t.image,e=t.message,n=e===void 0?"":e,i=t.scale,a=i===void 0?1:i,o=null;try{o=module.require("asciify-image")}catch{}return o?function(){return o(r,{fit:"box",width:"".concat(Math.round(80*a),"%")}).then(function(s){return console.log(s)})}:Dc}function xue(t){var r=t.image,e=t.message,n=e===void 0?"":e,i=t.scale,a=i===void 0?1:i;if(typeof r=="string"){var o=new Image;return o.onload=function(){var h,p=xx(o,n,a);(h=console).log.apply(h,Pr(p))},o.src=r,Dc}var s=r.nodeName||"";if(s.toLowerCase()==="img"){var u;return(u=console).log.apply(u,Pr(xx(r,n,a))),Dc}if(s.toLowerCase()==="canvas"){var c=new Image;return c.onload=function(){var h;return(h=console).log.apply(h,Pr(xx(c,n,a)))},c.src=r.toDataURL(),Dc}return Dc}function wue(t){for(var r in t)for(var e in t[r])return e||"untitled";return"empty"}var VGe=new $p({id:"@probe.gl/log"});var xr=new $p({id:"deck"});var ZP={};function wz(t){ZP=t}function _s(t,r,e,n){xr.level>0&&ZP[t]&&ZP[t].call(null,r,e,n)}function Tue(t){var r=t[0],e=t[t.length-1];return r==="{"&&e==="}"||r==="["&&e==="]"}var Tz={id:"JSON",name:"JSON",module:"",version:"",options:{},extensions:["json","geojson"],mimeTypes:["application/json","application/geo+json"],testText:Tue,parseTextSync:JSON.parse};function Sz(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,n)}return e}function Ez(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?Sz(Object(e),!0).forEach(function(n){_(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Sz(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function Sue(){var t="8.9.25",r=globalThis.deck&&globalThis.deck.VERSION;if(r&&r!==t)throw new Error("deck.gl - multiple versions detected: ".concat(r," vs ").concat(t));return r||(xr.log(1,"deck.gl ".concat(t))(),globalThis.deck=Ez(Ez({},globalThis.deck),{},{VERSION:t,version:t,log:xr,_registerLoggers:wz}),Am([Tz,[vf,{imagebitmap:{premultiplyAlpha:"none"}}]])),t}var Tx=Sue();var An={DEFAULT:-1,LNGLAT:1,METER_OFFSETS:2,LNGLAT_OFFSETS:3,CARTESIAN:0};Object.defineProperty(An,"IDENTITY",{get:function(){return xr.deprecated("COORDINATE_SYSTEM.IDENTITY","COORDINATE_SYSTEM.CARTESIAN")(),0}});var ol={WEB_MERCATOR:1,GLOBE:2,WEB_MERCATOR_AUTO_OFFSET:4,IDENTITY:0},Uo={common:0,meters:1,pixels:2},$P={click:{handler:"onClick"},panstart:{handler:"onDragStart"},panmove:{handler:"onDrag"},panend:{handler:"onDragEnd"}},Cz={DRAW:"draw",MASK:"mask",TERRAIN:"terrain"};at();vt();et();var Wr=new $p({id:"luma.gl"});function Fs(t,r){if(!t)throw new Error(r||"luma.gl: assertion failed.")}var Eue="Invalid WebGLRenderingContext";var Cue="Requires WebGL2";function $h(t){return typeof WebGLRenderingContext<"u"&&t instanceof WebGLRenderingContext||typeof WebGL2RenderingContext<"u"&&t instanceof WebGL2RenderingContext?!0:Boolean(t&&Number.isFinite(t._version))}function En(t){return typeof WebGL2RenderingContext<"u"&&t instanceof WebGL2RenderingContext?!0:Boolean(t&&t._version===2)}function JP(t){return En(t)?t:null}function Jh(t){return Fs($h(t),Eue),t}function Ro(t){return Fs(En(t),Cue),t}var a_={};function Pue(t){globalThis.console&&globalThis.console.error&&globalThis.console.error(t)}function Oue(t){globalThis.console&&globalThis.console.log&&globalThis.console.log(t)}function Mue(t,r){a_[t]=!0,r!==void 0&&Pue(r)}function Iue(t){var r=t.getError;t.getError=function(){var n;do n=r.apply(t),n!==0&&(a_[n]=!0);while(n!==0);for(n in a_)if(a_[n])return delete a_[n],parseInt(n,10);return 0}}var o_=function t(r){var e=r.gl;this.ext=r,this.isAlive=!0,this.hasBeenBound=!1,this.elementArrayBuffer=null,this.attribs=new Array(r.maxVertexAttribs);for(var n=0;n<this.attribs.length;n++){var i=new t.VertexAttrib(e);this.attribs[n]=i}this.maxAttrib=0};o_.VertexAttrib=function(r){this.enabled=!1,this.buffer=null,this.size=4,this.type=5126,this.normalized=!1,this.stride=16,this.offset=0,this.cached="",this.recache()};o_.VertexAttrib.prototype.recache=function(){this.cached=[this.size,this.type,this.normalized,this.stride,this.offset].join(":")};var wm=function(r){var e=this;this.gl=r,Iue(r);var n=this.original={getParameter:r.getParameter,enableVertexAttribArray:r.enableVertexAttribArray,disableVertexAttribArray:r.disableVertexAttribArray,bindBuffer:r.bindBuffer,getVertexAttrib:r.getVertexAttrib,vertexAttribPointer:r.vertexAttribPointer};r.getParameter=function(a){return a===e.VERTEX_ARRAY_BINDING_OES?e.currentVertexArrayObject===e.defaultVertexArrayObject?null:e.currentVertexArrayObject:n.getParameter.apply(this,arguments)},r.enableVertexAttribArray=function(a){var o=e.currentVertexArrayObject;o.maxAttrib=Math.max(o.maxAttrib,a);var s=o.attribs[a];return s.enabled=!0,n.enableVertexAttribArray.apply(this,arguments)},r.disableVertexAttribArray=function(a){var o=e.currentVertexArrayObject;o.maxAttrib=Math.max(o.maxAttrib,a);var s=o.attribs[a];return s.enabled=!1,n.disableVertexAttribArray.apply(this,arguments)},r.bindBuffer=function(a,o){switch(a){case 34962:e.currentArrayBuffer=o;break;case 34963:e.currentVertexArrayObject.elementArrayBuffer=o;break;default:}return n.bindBuffer.apply(this,arguments)},r.getVertexAttrib=function(a,o){var s=e.currentVertexArrayObject,u=s.attribs[a];switch(o){case 34975:return u.buffer;case 34338:return u.enabled;case 34339:return u.size;case 34340:return u.stride;case 34341:return u.type;case 34922:return u.normalized;default:return n.getVertexAttrib.apply(this,arguments)}},r.vertexAttribPointer=function(a,o,s,u,c,h){var p=e.currentVertexArrayObject;p.maxAttrib=Math.max(p.maxAttrib,a);var v=p.attribs[a];return v.buffer=e.currentArrayBuffer,v.size=o,v.type=s,v.normalized=u,v.stride=c,v.offset=h,v.recache(),n.vertexAttribPointer.apply(this,arguments)},r.instrumentExtension&&r.instrumentExtension(this,"OES_vertex_array_object"),r.canvas&&r.canvas.addEventListener("webglcontextrestored",function(){Oue("OESVertexArrayObject emulation library context restored"),e.reset_()},!0),this.reset_()};wm.prototype.VERTEX_ARRAY_BINDING_OES=34229;wm.prototype.reset_=function(){var r=this.vertexArrayObjects!==void 0;if(r)for(var e=0;e<this.vertexArrayObjects.length;++e)this.vertexArrayObjects.isAlive=!1;var n=this.gl;this.maxVertexAttribs=n.getParameter(34921),this.defaultVertexArrayObject=new o_(this),this.currentVertexArrayObject=null,this.currentArrayBuffer=null,this.vertexArrayObjects=[this.defaultVertexArrayObject],this.bindVertexArrayOES(null)};wm.prototype.createVertexArrayOES=function(){var r=new o_(this);return this.vertexArrayObjects.push(r),r};wm.prototype.deleteVertexArrayOES=function(r){r.isAlive=!1,this.vertexArrayObjects.splice(this.vertexArrayObjects.indexOf(r),1),this.currentVertexArrayObject===r&&this.bindVertexArrayOES(null)};wm.prototype.isVertexArrayOES=function(r){return!!(r&&r instanceof o_&&r.hasBeenBound&&r.ext===this)};wm.prototype.bindVertexArrayOES=function(r){var e=this.gl;if(r&&!r.isAlive){Mue(1282,"bindVertexArrayOES: attempt to bind deleted arrayObject");return}var n=this.original,i=this.currentVertexArrayObject;this.currentVertexArrayObject=r||this.defaultVertexArrayObject,this.currentVertexArrayObject.hasBeenBound=!0;var a=this.currentVertexArrayObject;if(i!==a){(!i||a.elementArrayBuffer!==i.elementArrayBuffer)&&n.bindBuffer.call(e,34963,a.elementArrayBuffer);for(var o=this.currentArrayBuffer,s=Math.max(i?i.maxAttrib:0,a.maxAttrib),u=0;u<=s;u++){var c=a.attribs[u],h=i?i.attribs[u]:null;if((!i||c.enabled!==h.enabled)&&(c.enabled?n.enableVertexAttribArray.call(e,u):n.disableVertexAttribArray.call(e,u)),c.enabled){var p=!1;(!i||c.buffer!==h.buffer)&&(o!==c.buffer&&(n.bindBuffer.call(e,34962,c.buffer),o=c.buffer),p=!0),(p||c.cached!==h.cached)&&n.vertexAttribPointer.call(e,u,c.size,c.type,c.normalized,c.stride,c.offset)}}this.currentArrayBuffer!==o&&n.bindBuffer.call(e,34962,this.currentArrayBuffer)}};function Pz(t){if(typeof t.createVertexArray!="function"){var r=t.getSupportedExtensions;t.getSupportedExtensions=function(){var i=r.call(this)||[];return i.indexOf("OES_vertex_array_object")<0&&i.push("OES_vertex_array_object"),i};var e=t.getExtension;t.getExtension=function(i){var a=e.call(this,i);return a||(i!=="OES_vertex_array_object"?null:(t.__OESVertexArrayObject||(this.__OESVertexArrayObject=new wm(this)),this.__OESVertexArrayObject))}}}et();et();var ta,Oz="OES_element_index",Mz="WEBGL_draw_buffers",Rue="EXT_disjoint_timer_query",Lue="EXT_disjoint_timer_query_webgl2",kue="EXT_texture_filter_anisotropic",Iz="WEBGL_debug_renderer_info",Bue=35723,Due=4352,Fue=36795,Nue=34047,zue=37445,Uue=37446,Lo=function(r){return En(r)?void 0:0},jue=(ta={},_(ta,3074,function(r){return En(r)?void 0:36064}),_(ta,Bue,function(t){return En(t)?void 0:Due}),_(ta,35977,Lo),_(ta,32937,Lo),_(ta,Fue,function(t,r){var e=En(t)?t.getExtension(Lue):t.getExtension(Rue);return e&&e.GPU_DISJOINT_EXT?r(e.GPU_DISJOINT_EXT):0}),_(ta,zue,function(t,r){var e=t.getExtension(Iz);return r(e&&e.UNMASKED_VENDOR_WEBGL||7936)}),_(ta,Uue,function(t,r){var e=t.getExtension(Iz);return r(e&&e.UNMASKED_RENDERER_WEBGL||7937)}),_(ta,Nue,function(t,r){var e=t.luma.extensions[kue];return e?r(e.MAX_TEXTURE_MAX_ANISOTROPY_EXT):1}),_(ta,32883,Lo),_(ta,35071,Lo),_(ta,37447,Lo),_(ta,36063,function(r,e){if(!En(r)){var n=r.getExtension(Mz);return n?e(n.MAX_COLOR_ATTACHMENTS_WEBGL):0}}),_(ta,35379,Lo),_(ta,35374,Lo),_(ta,35377,Lo),_(ta,34852,function(r){if(!En(r)){var e=r.getExtension(Mz);return e?e.MAX_DRAW_BUFFERS_WEBGL:0}}),_(ta,36203,function(r){return r.getExtension(Oz)?2147483647:65535}),_(ta,33001,function(r){return r.getExtension(Oz)?16777216:65535}),_(ta,33e3,function(r){return 16777216}),_(ta,37157,Lo),_(ta,35373,Lo),_(ta,35657,Lo),_(ta,36183,Lo),_(ta,37137,Lo),_(ta,34045,Lo),_(ta,35978,Lo),_(ta,35979,Lo),_(ta,35968,Lo),_(ta,35376,Lo),_(ta,35375,Lo),_(ta,35659,Lo),_(ta,37154,Lo),_(ta,35371,Lo),_(ta,35658,Lo),_(ta,35076,Lo),_(ta,35077,Lo),_(ta,35380,Lo),ta);function Rz(t,r,e){var n=jue[e],i=typeof n=="function"?n(t,r,e):n,a=i!==void 0?i:r(e);return a}var Mg,Gue="OES_vertex_array_object",Lz="ANGLE_instanced_arrays",Vue="WEBGL_draw_buffers",Hue="EXT_disjoint_timer_query",Wue="EXT_texture_filter_anisotropic",que="VertexArray requires WebGL2 or OES_vertex_array_object extension";function Xue(t,r){return{webgl2:En(t),ext:t.getExtension(r)}}var QP=(Mg={},_(Mg,Gue,{meta:{suffix:"OES"},createVertexArray:function(){Fs(!1,que)},deleteVertexArray:function(){},bindVertexArray:function(){},isVertexArray:function(){return!1}}),_(Mg,Lz,{meta:{suffix:"ANGLE"},vertexAttribDivisor:function(r,e){Fs(e===0,"WebGL instanced rendering not supported")},drawElementsInstanced:function(){},drawArraysInstanced:function(){}}),_(Mg,Vue,{meta:{suffix:"WEBGL"},drawBuffers:function(){Fs(!1)}}),_(Mg,Hue,{meta:{suffix:"EXT"},createQuery:function(){Fs(!1)},deleteQuery:function(){Fs(!1)},beginQuery:function(){Fs(!1)},endQuery:function(){},getQuery:function(r,e){return this.getQueryObject(r,e)},getQueryParameter:function(r,e){return this.getQueryObject(r,e)},getQueryObject:function(){}}),Mg),Sx={readBuffer:function(r,e,n){En(r)&&e(n)},getVertexAttrib:function(r,e,n,i){var a=Xue(r,Lz),o=a.webgl2,s=a.ext,u;switch(i){case 35069:u=o?void 0:!1;break;case 35070:u=!o&&!s?0:void 0;break;default:}return u!==void 0?u:e(n,i)},getProgramParameter:function(r,e,n,i){if(!En(r))switch(i){case 35967:return 35981;case 35971:return 0;case 35382:return 0;default:}return e(n,i)},getInternalformatParameter:function(r,e,n,i,a){if(!En(r))switch(a){case 32937:return new Int32Array([0]);default:}return r.getInternalformatParameter(n,i,a)},getTexParameter:function(r,e,n,i){switch(i){case 34046:var a=r.luma.extensions,o=a[Wue];i=o&&o.TEXTURE_MAX_ANISOTROPY_EXT||34046;break;default:}return e(n,i)},getParameter:Rz,hint:function(r,e,n,i){return e(n,i)}};function Bz(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=Yue(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
553
553
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function Yue(t,r){if(t){if(typeof t=="string")return kz(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return kz(t,r)}}function kz(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function Dz(t){t.luma=t.luma||{};var r=t.luma;return r.polyfilled||(Pz(t),Kue(t),$ue(t,QP),Zue(t,{target:r,target2:t}),r.polyfilled=!0),t}globalThis.polyfillContext=Dz;function Kue(t){t.luma.extensions={};var r=t.getSupportedExtensions()||[],e=Bz(r),n;try{for(e.s();!(n=e.n()).done;){var i=n.value;t.luma[i]=t.getExtension(i)}}catch(a){e.e(a)}finally{e.f()}}function Zue(t,r){var e=r.target,n=r.target2;Object.keys(Sx).forEach(function(i){if(typeof Sx[i]=="function"){var a=t[i]?t[i].bind(t):function(){},o=Sx[i].bind(null,t,a);e[i]=o,n[i]=o}})}function $ue(t,r){var e=Bz(Object.getOwnPropertyNames(r)),n;try{for(e.s();!(n=e.n()).done;){var i=n.value;i!=="overrides"&&Jue(t,{extension:i,target:t.luma,target2:t})}}catch(a){e.e(a)}finally{e.f()}}function Jue(t,r){var e=r.extension,n=r.target,i=r.target2,a=QP[e];Fs(a);for(var o=a.meta,s=o===void 0?{}:o,u=s.suffix,c=u===void 0?"":u,h=t.getExtension(e),p=function(){var R=x[v],D="".concat(R).concat(c),H=null;R==="meta"||typeof t[R]=="function"||(h&&typeof h[D]=="function"?H=function(){return h[D].apply(h,arguments)}:typeof a[R]=="function"&&(H=a[R].bind(n))),H&&(n[R]=H,i[R]=H)},v=0,x=Object.keys(a);v<x.length;v++)p()}Mn();et();var Vn,zr,Fc,u_=(Vn={},_(Vn,3042,!1),_(Vn,32773,new Float32Array([0,0,0,0])),_(Vn,32777,32774),_(Vn,34877,32774),_(Vn,32969,1),_(Vn,32968,0),_(Vn,32971,1),_(Vn,32970,0),_(Vn,3106,new Float32Array([0,0,0,0])),_(Vn,3107,[!0,!0,!0,!0]),_(Vn,2884,!1),_(Vn,2885,1029),_(Vn,2929,!1),_(Vn,2931,1),_(Vn,2932,513),_(Vn,2928,new Float32Array([0,1])),_(Vn,2930,!0),_(Vn,3024,!0),_(Vn,36006,null),_(Vn,2886,2305),_(Vn,33170,4352),_(Vn,2849,1),_(Vn,32823,!1),_(Vn,32824,0),_(Vn,10752,0),_(Vn,32938,1),_(Vn,32939,!1),_(Vn,3089,!1),_(Vn,3088,new Int32Array([0,0,1024,1024])),_(Vn,2960,!1),_(Vn,2961,0),_(Vn,2968,4294967295),_(Vn,36005,4294967295),_(Vn,2962,519),_(Vn,2967,0),_(Vn,2963,4294967295),_(Vn,34816,519),_(Vn,36003,0),_(Vn,36004,4294967295),_(Vn,2964,7680),_(Vn,2965,7680),_(Vn,2966,7680),_(Vn,34817,7680),_(Vn,34818,7680),_(Vn,34819,7680),_(Vn,2978,[0,0,1024,1024]),_(Vn,3333,4),_(Vn,3317,4),_(Vn,37440,!1),_(Vn,37441,!1),_(Vn,37443,37444),_(Vn,35723,4352),_(Vn,36010,null),_(Vn,35977,!1),_(Vn,3330,0),_(Vn,3332,0),_(Vn,3331,0),_(Vn,3314,0),_(Vn,32878,0),_(Vn,3316,0),_(Vn,3315,0),_(Vn,32877,0),Vn),Jp=function(r,e,n){return e?r.enable(n):r.disable(n)},Fz=function(r,e,n){return r.hint(n,e)},cc=function(r,e,n){return r.pixelStorei(n,e)},Que=function(r,e){var n=En(r)?36009:36160;return r.bindFramebuffer(n,e)},ele=function(r,e){return r.bindFramebuffer(36008,e)};function s_(t){return Array.isArray(t)||ArrayBuffer.isView(t)}var Nz=(zr={},_(zr,3042,Jp),_(zr,32773,function(r,e){return r.blendColor.apply(r,Pr(e))}),_(zr,32777,"blendEquation"),_(zr,34877,"blendEquation"),_(zr,32969,"blendFunc"),_(zr,32968,"blendFunc"),_(zr,32971,"blendFunc"),_(zr,32970,"blendFunc"),_(zr,3106,function(r,e){return r.clearColor.apply(r,Pr(e))}),_(zr,3107,function(r,e){return r.colorMask.apply(r,Pr(e))}),_(zr,2884,Jp),_(zr,2885,function(r,e){return r.cullFace(e)}),_(zr,2929,Jp),_(zr,2931,function(r,e){return r.clearDepth(e)}),_(zr,2932,function(r,e){return r.depthFunc(e)}),_(zr,2928,function(r,e){return r.depthRange.apply(r,Pr(e))}),_(zr,2930,function(r,e){return r.depthMask(e)}),_(zr,3024,Jp),_(zr,35723,Fz),_(zr,36006,Que),_(zr,2886,function(r,e){return r.frontFace(e)}),_(zr,33170,Fz),_(zr,2849,function(r,e){return r.lineWidth(e)}),_(zr,32823,Jp),_(zr,32824,"polygonOffset"),_(zr,10752,"polygonOffset"),_(zr,35977,Jp),_(zr,32938,"sampleCoverage"),_(zr,32939,"sampleCoverage"),_(zr,3089,Jp),_(zr,3088,function(r,e){return r.scissor.apply(r,Pr(e))}),_(zr,2960,Jp),_(zr,2961,function(r,e){return r.clearStencil(e)}),_(zr,2968,function(r,e){return r.stencilMaskSeparate(1028,e)}),_(zr,36005,function(r,e){return r.stencilMaskSeparate(1029,e)}),_(zr,2962,"stencilFuncFront"),_(zr,2967,"stencilFuncFront"),_(zr,2963,"stencilFuncFront"),_(zr,34816,"stencilFuncBack"),_(zr,36003,"stencilFuncBack"),_(zr,36004,"stencilFuncBack"),_(zr,2964,"stencilOpFront"),_(zr,2965,"stencilOpFront"),_(zr,2966,"stencilOpFront"),_(zr,34817,"stencilOpBack"),_(zr,34818,"stencilOpBack"),_(zr,34819,"stencilOpBack"),_(zr,2978,function(r,e){return r.viewport.apply(r,Pr(e))}),_(zr,3333,cc),_(zr,3317,cc),_(zr,37440,cc),_(zr,37441,cc),_(zr,37443,cc),_(zr,3330,cc),_(zr,3332,cc),_(zr,3331,cc),_(zr,36010,ele),_(zr,3314,cc),_(zr,32878,cc),_(zr,3316,cc),_(zr,3315,cc),_(zr,32877,cc),_(zr,"framebuffer",function(r,e){var n=e&&"handle"in e?e.handle:e;return r.bindFramebuffer(36160,n)}),_(zr,"blend",function(r,e){return e?r.enable(3042):r.disable(3042)}),_(zr,"blendColor",function(r,e){return r.blendColor.apply(r,Pr(e))}),_(zr,"blendEquation",function(r,e){e=s_(e)?e:[e,e],r.blendEquationSeparate.apply(r,Pr(e))}),_(zr,"blendFunc",function(r,e){e=s_(e)&&e.length===2?[].concat(Pr(e),Pr(e)):e,r.blendFuncSeparate.apply(r,Pr(e))}),_(zr,"clearColor",function(r,e){return r.clearColor.apply(r,Pr(e))}),_(zr,"clearDepth",function(r,e){return r.clearDepth(e)}),_(zr,"clearStencil",function(r,e){return r.clearStencil(e)}),_(zr,"colorMask",function(r,e){return r.colorMask.apply(r,Pr(e))}),_(zr,"cull",function(r,e){return e?r.enable(2884):r.disable(2884)}),_(zr,"cullFace",function(r,e){return r.cullFace(e)}),_(zr,"depthTest",function(r,e){return e?r.enable(2929):r.disable(2929)}),_(zr,"depthFunc",function(r,e){return r.depthFunc(e)}),_(zr,"depthMask",function(r,e){return r.depthMask(e)}),_(zr,"depthRange",function(r,e){return r.depthRange.apply(r,Pr(e))}),_(zr,"dither",function(r,e){return e?r.enable(3024):r.disable(3024)}),_(zr,"derivativeHint",function(r,e){r.hint(35723,e)}),_(zr,"frontFace",function(r,e){return r.frontFace(e)}),_(zr,"mipmapHint",function(r,e){return r.hint(33170,e)}),_(zr,"lineWidth",function(r,e){return r.lineWidth(e)}),_(zr,"polygonOffsetFill",function(r,e){return e?r.enable(32823):r.disable(32823)}),_(zr,"polygonOffset",function(r,e){return r.polygonOffset.apply(r,Pr(e))}),_(zr,"sampleCoverage",function(r,e){return r.sampleCoverage.apply(r,Pr(e))}),_(zr,"scissorTest",function(r,e){return e?r.enable(3089):r.disable(3089)}),_(zr,"scissor",function(r,e){return r.scissor.apply(r,Pr(e))}),_(zr,"stencilTest",function(r,e){return e?r.enable(2960):r.disable(2960)}),_(zr,"stencilMask",function(r,e){e=s_(e)?e:[e,e];var n=e,i=Ot(n,2),a=i[0],o=i[1];r.stencilMaskSeparate(1028,a),r.stencilMaskSeparate(1029,o)}),_(zr,"stencilFunc",function(r,e){e=s_(e)&&e.length===3?[].concat(Pr(e),Pr(e)):e;var n=e,i=Ot(n,6),a=i[0],o=i[1],s=i[2],u=i[3],c=i[4],h=i[5];r.stencilFuncSeparate(1028,a,o,s),r.stencilFuncSeparate(1029,u,c,h)}),_(zr,"stencilOp",function(r,e){e=s_(e)&&e.length===3?[].concat(Pr(e),Pr(e)):e;var n=e,i=Ot(n,6),a=i[0],o=i[1],s=i[2],u=i[3],c=i[4],h=i[5];r.stencilOpSeparate(1028,a,o,s),r.stencilOpSeparate(1029,u,c,h)}),_(zr,"viewport",function(r,e){return r.viewport.apply(r,Pr(e))}),zr);function bs(t,r,e){return r[t]!==void 0?r[t]:e[t]}var zz={blendEquation:function(r,e,n){return r.blendEquationSeparate(bs(32777,e,n),bs(34877,e,n))},blendFunc:function(r,e,n){return r.blendFuncSeparate(bs(32969,e,n),bs(32968,e,n),bs(32971,e,n),bs(32970,e,n))},polygonOffset:function(r,e,n){return r.polygonOffset(bs(32824,e,n),bs(10752,e,n))},sampleCoverage:function(r,e,n){return r.sampleCoverage(bs(32938,e,n),bs(32939,e,n))},stencilFuncFront:function(r,e,n){return r.stencilFuncSeparate(1028,bs(2962,e,n),bs(2967,e,n),bs(2963,e,n))},stencilFuncBack:function(r,e,n){return r.stencilFuncSeparate(1029,bs(34816,e,n),bs(36003,e,n),bs(36004,e,n))},stencilOpFront:function(r,e,n){return r.stencilOpSeparate(1028,bs(2964,e,n),bs(2965,e,n),bs(2966,e,n))},stencilOpBack:function(r,e,n){return r.stencilOpSeparate(1029,bs(34817,e,n),bs(34818,e,n),bs(34819,e,n))}},eO={enable:function(r,e){return r(_({},e,!0))},disable:function(r,e){return r(_({},e,!1))},pixelStorei:function(r,e,n){return r(_({},e,n))},hint:function(r,e,n){return r(_({},e,n))},bindFramebuffer:function(r,e,n){var i;switch(e){case 36160:return r((i={},_(i,36006,n),_(i,36010,n),i));case 36009:return r(_({},36006,n));case 36008:return r(_({},36010,n));default:return null}},blendColor:function(r,e,n,i,a){return r(_({},32773,new Float32Array([e,n,i,a])))},blendEquation:function(r,e){var n;return r((n={},_(n,32777,e),_(n,34877,e),n))},blendEquationSeparate:function(r,e,n){var i;return r((i={},_(i,32777,e),_(i,34877,n),i))},blendFunc:function(r,e,n){var i;return r((i={},_(i,32969,e),_(i,32968,n),_(i,32971,e),_(i,32970,n),i))},blendFuncSeparate:function(r,e,n,i,a){var o;return r((o={},_(o,32969,e),_(o,32968,n),_(o,32971,i),_(o,32970,a),o))},clearColor:function(r,e,n,i,a){return r(_({},3106,new Float32Array([e,n,i,a])))},clearDepth:function(r,e){return r(_({},2931,e))},clearStencil:function(r,e){return r(_({},2961,e))},colorMask:function(r,e,n,i,a){return r(_({},3107,[e,n,i,a]))},cullFace:function(r,e){return r(_({},2885,e))},depthFunc:function(r,e){return r(_({},2932,e))},depthRange:function(r,e,n){return r(_({},2928,new Float32Array([e,n])))},depthMask:function(r,e){return r(_({},2930,e))},frontFace:function(r,e){return r(_({},2886,e))},lineWidth:function(r,e){return r(_({},2849,e))},polygonOffset:function(r,e,n){var i;return r((i={},_(i,32824,e),_(i,10752,n),i))},sampleCoverage:function(r,e,n){var i;return r((i={},_(i,32938,e),_(i,32939,n),i))},scissor:function(r,e,n,i,a){return r(_({},3088,new Int32Array([e,n,i,a])))},stencilMask:function(r,e){var n;return r((n={},_(n,2968,e),_(n,36005,e),n))},stencilMaskSeparate:function(r,e,n){return r(_({},e===1028?2968:36005,n))},stencilFunc:function(r,e,n,i){var a;return r((a={},_(a,2962,e),_(a,2967,n),_(a,2963,i),_(a,34816,e),_(a,36003,n),_(a,36004,i),a))},stencilFuncSeparate:function(r,e,n,i,a){var o;return r((o={},_(o,e===1028?2962:34816,n),_(o,e===1028?2967:36003,i),_(o,e===1028?2963:36004,a),o))},stencilOp:function(r,e,n,i){var a;return r((a={},_(a,2964,e),_(a,2965,n),_(a,2966,i),_(a,34817,e),_(a,34818,n),_(a,34819,i),a))},stencilOpSeparate:function(r,e,n,i,a){var o;return r((o={},_(o,e===1028?2964:34817,n),_(o,e===1028?2965:34818,i),_(o,e===1028?2966:34819,a),o))},viewport:function(r,e,n,i,a){return r(_({},2978,[e,n,i,a]))}},nh=function(r,e){return r.isEnabled(e)},tO=(Fc={},_(Fc,3042,nh),_(Fc,2884,nh),_(Fc,2929,nh),_(Fc,3024,nh),_(Fc,32823,nh),_(Fc,32926,nh),_(Fc,32928,nh),_(Fc,3089,nh),_(Fc,2960,nh),_(Fc,35977,nh),Fc);at();vt();function rO(t){for(var r in t)return!1;return!0}function Uz(t,r){if(t===r)return!0;var e=Array.isArray(t)||ArrayBuffer.isView(t),n=Array.isArray(r)||ArrayBuffer.isView(r);if(e&&n&&t.length===r.length){for(var i=0;i<t.length;++i)if(t[i]!==r[i])return!1;return!0}return!1}function jz(t,r){var e=t[r].bind(t);t[r]=function(){var i=arguments.length<=0?void 0:arguments[0];return i in t.state.cache&&t.state.enable?t.state.cache[i]:e.apply(void 0,arguments)},Object.defineProperty(t[r],"name",{value:"".concat(r,"-from-cache"),configurable:!1})}function tle(t,r,e){var n=t[r].bind(t);t[r]=function(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var u=e.apply(void 0,[t.state._updateCache].concat(o)),c=u.valueChanged,h=u.oldValue;return c&&n.apply(void 0,o),h},Object.defineProperty(t[r],"name",{value:"".concat(r,"-to-cache"),configurable:!1})}function rle(t){var r=t.useProgram.bind(t);t.useProgram=function(n){t.state.program!==n&&(r(n),t.state.program=n)}}var nle=function(){function t(r){ce(this,t);var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.copyState,i=n===void 0?!1:n,a=e.log,o=a===void 0?function(){}:a;this.gl=r,this.program=null,this.stateStack=[],this.enable=!0,this.cache=i?ih(r):Object.assign({},u_),this.log=o,this._updateCache=this._updateCache.bind(this),Object.seal(this)}return ve(t,[{key:"push",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.stateStack.push({})}},{key:"pop",value:function(){Fs(this.stateStack.length>0);var e=this.stateStack[this.stateStack.length-1];Ns(this.gl,e),this.stateStack.pop()}},{key:"_updateCache",value:function(e){var n=!1,i,a=this.stateStack.length>0&&this.stateStack[this.stateStack.length-1];for(var o in e){Fs(o!==void 0);var s=e[o],u=this.cache[o];Uz(s,u)||(n=!0,i=u,a&&!(o in a)&&(a[o]=u),this.cache[o]=s)}return{valueChanged:n,oldValue:i}}}]),t}();function Ex(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=r.enable,n=e===void 0?!0:e,i=r.copyState;if(Fs(i!==void 0),!t.state){var a=globalThis.polyfillContext;a&&a(t),t.state=new nle(t,{copyState:i}),rle(t);for(var o in eO){var s=eO[o];tle(t,o,s)}jz(t,"getParameter"),jz(t,"isEnabled")}return t.state.enable=n,t}function nO(t){t.state||Ex(t,{copyState:!1}),t.state.push()}function Cx(t){Fs(t.state),t.state.pop()}function ile(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=ale(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
554
554
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function ale(t,r){if(t){if(typeof t=="string")return Gz(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Gz(t,r)}}function Gz(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function Ns(t,r){if(Fs($h(t),"setParameters requires a WebGL context"),!rO(r)){var e={};for(var n in r){var i=Number(n),a=Nz[n];a&&(typeof a=="string"?e[a]=!0:a(t,r[n],i))}var o=t.state&&t.state.cache;if(o)for(var s in e){var u=zz[s];u(t,r,o)}}}function ih(t,r){if(r=r||u_,typeof r=="number"){var e=r,n=tO[e];return n?n(t,e):t.getParameter(e)}var i=Array.isArray(r)?r:Object.keys(r),a={},o=ile(i),s;try{for(o.s();!(s=o.n()).done;){var u=s.value,c=tO[u];a[u]=c?c(t,Number(u)):t.getParameter(Number(u))}}catch(h){o.e(h)}finally{o.f()}return a}function Px(t){Ns(t,u_)}function Aa(t,r,e){if(rO(r))return e(t);var n=r.nocatch,i=n===void 0?!0:n;nO(t),Ns(t,r);var a;if(i)a=e(t),Cx(t);else try{a=e(t)}finally{Cx(t)}return a}function Cl(t){var r=t.luma;if(t.canvas&&r){var e=r.canvasSizeInfo,n="clientWidth"in e?e.clientWidth:t.canvas.clientWidth;return n?t.drawingBufferWidth/n:1}return 1}function Ig(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,n=Cl(t),i=t.drawingBufferWidth,a=t.drawingBufferHeight;return ole(r,n,i,a,e)}function Wz(t){var r=typeof window>"u"?1:window.devicePixelRatio||1;return Number.isFinite(t)?t<=0?1:t:t?r:1}function ole(t,r,e,n,i){var a=Vz(t[0],r,e),o=Hz(t[1],r,n,i),s=Vz(t[0]+1,r,e),u=s===e-1?s:s-1;s=Hz(t[1]+1,r,n,i);var c;return i?(s=s===0?s:s+1,c=o,o=s):c=s===n-1?s:s-1,{x:a,y:o,width:Math.max(u-a+1,1),height:Math.max(c-o+1,1)}}function Vz(t,r,e){var n=Math.min(Math.round(t*r),e-1);return n}function Hz(t,r,e,n){return n?Math.max(0,e-1-Math.round(t*r)):Math.min(Math.round(t*r),e-1)}var iO=cu(),sle=iO&&typeof document<"u",qz={webgl2:!0,webgl1:!0,throwOnError:!0,manageState:!0,canvas:null,debug:!1,width:800,height:600};function Rg(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Fs(iO,`createGLContext only available in the browser.
|
|
555
555
|
Create your own headless context or use 'createHeadlessContext' from @luma.gl/test-utils`),t=Object.assign({},qz,t);var r=t,e=r.width,n=r.height;function i(c){if(t.throwOnError)throw new Error(c);return console.error(c),null}t.onError=i;var a,o=t,s=o.canvas,u=lle({canvas:s,width:e,height:n,onError:i});return a=ule(u,t),a?(a=Qh(a,t),cle(a),a):null}function Qh(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!t||t._instrumented)return t;t._version=t._version||fle(t),t.luma=t.luma||{},t.luma.canvasSizeInfo=t.luma.canvasSizeInfo||{},r=Object.assign({},qz,r);var e=r,n=e.manageState,i=e.debug;return n&&Ex(t,{copyState:!1,log:function(){for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];return Wr.log.apply(Wr,[1].concat(s))()}}),iO&&i&&(globalThis.makeDebugContext?(t=globalThis.makeDebugContext(t,r),Wr.level=Math.max(Wr.level,1)):Wr.warn('WebGL debug mode not activated. import "@luma.gl/debug" to enable.')()),t._instrumented=!0,t}function Xz(t){var r=t.getParameter(7936),e=t.getParameter(7937),n=t.getExtension("WEBGL_debug_renderer_info"),i=n&&t.getParameter(n.UNMASKED_VENDOR_WEBGL||7936),a=n&&t.getParameter(n.UNMASKED_RENDERER_WEBGL||7937);return{vendor:i||r,renderer:a||e,vendorMasked:r,rendererMasked:e,version:t.getParameter(7938),shadingLanguageVersion:t.getParameter(35724)}}function aO(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.canvas){var e=Wz(r.useDevicePixels);hle(t,e,r);return}var n=t.getExtension("STACKGL_resize_drawingbuffer");n&&"width"in r&&"height"in r&&n.resize(r.width,r.height)}function ule(t,r){var e=r.onError,n=null,i=function(p){return n=p.statusMessage||n};t.addEventListener("webglcontextcreationerror",i,!1);var a=r.webgl1,o=a===void 0?!0:a,s=r.webgl2,u=s===void 0?!0:s,c=null;return u&&(c=c||t.getContext("webgl2",r),c=c||t.getContext("experimental-webgl2",r)),o&&(c=c||t.getContext("webgl",r),c=c||t.getContext("experimental-webgl",r)),t.removeEventListener("webglcontextcreationerror",i,!1),c?(r.onContextLost&&t.addEventListener("webglcontextlost",r.onContextLost,!1),r.onContextRestored&&t.addEventListener("webglcontextrestored",r.onContextRestored,!1),c):e("Failed to create ".concat(u&&!o?"WebGL2":"WebGL"," context: ").concat(n||"Unknown error"))}function lle(t){var r=t.canvas,e=t.width,n=e===void 0?800:e,i=t.height,a=i===void 0?600:i,o=t.onError,s;if(typeof r=="string"){var u=sle&&document.readyState==="complete";u||o("createGLContext called on canvas '".concat(r,"' before page was loaded")),s=document.getElementById(r)}else r?s=r:(s=document.createElement("canvas"),s.id="lumagl-canvas",s.style.width=Number.isFinite(n)?"".concat(n,"px"):"100%",s.style.height=Number.isFinite(a)?"".concat(a,"px"):"100%",document.body.insertBefore(s,document.body.firstChild));return s}function cle(t){var r=En(t)?"WebGL2":"WebGL1",e=Xz(t),n=e?"(".concat(e.vendor,",").concat(e.renderer,")"):"",i=t.debug?" debug":"";Wr.info(1,"".concat(r).concat(i," context ").concat(n))()}function fle(t){return typeof WebGL2RenderingContext<"u"&&t instanceof WebGL2RenderingContext?2:1}function hle(t,r,e){var n="width"in e?e.width:t.canvas.clientWidth,i="height"in e?e.height:t.canvas.clientHeight;(!n||!i)&&(Wr.log(1,"Canvas clientWidth/clientHeight is 0")(),r=1,n=t.canvas.width||1,i=t.canvas.height||1),t.luma=t.luma||{},t.luma.canvasSizeInfo=t.luma.canvasSizeInfo||{};var a=t.luma.canvasSizeInfo;if(a.clientWidth!==n||a.clientHeight!==i||a.devicePixelRatio!==r){var o=r,s=Math.floor(n*o),u=Math.floor(i*o);t.canvas.width=s,t.canvas.height=u,(t.drawingBufferWidth!==s||t.drawingBufferHeight!==u)&&(Wr.warn("Device pixel ratio clamped")(),o=Math.min(t.drawingBufferWidth/n,t.drawingBufferHeight/i),t.canvas.width=Math.floor(n*o),t.canvas.height=Math.floor(i*o)),Object.assign(t.luma.canvasSizeInfo,{clientWidth:n,clientHeight:i,devicePixelRatio:r})}}at();vt();at();vt();et();at();vt();et();function l_(){var t;if(typeof window<"u"&&window.performance)t=window.performance.now();else if(typeof process<"u"&&process.hrtime){var r=process.hrtime();t=r[0]*1e3+r[1]/1e6}else t=Date.now();return t}var Ox=function(){function t(r,e){ce(this,t),_(this,"name",void 0),_(this,"type",void 0),_(this,"sampleSize",1),_(this,"time",void 0),_(this,"count",void 0),_(this,"samples",void 0),_(this,"lastTiming",void 0),_(this,"lastSampleTime",void 0),_(this,"lastSampleCount",void 0),_(this,"_count",0),_(this,"_time",0),_(this,"_samples",0),_(this,"_startTime",0),_(this,"_timerPending",!1),this.name=r,this.type=e,this.reset()}return ve(t,[{key:"setSampleSize",value:function(e){return this.sampleSize=e,this}},{key:"incrementCount",value:function(){return this.addCount(1),this}},{key:"decrementCount",value:function(){return this.subtractCount(1),this}},{key:"addCount",value:function(e){return this._count+=e,this._samples++,this._checkSampling(),this}},{key:"subtractCount",value:function(e){return this._count-=e,this._samples++,this._checkSampling(),this}},{key:"addTime",value:function(e){return this._time+=e,this.lastTiming=e,this._samples++,this._checkSampling(),this}},{key:"timeStart",value:function(){return this._startTime=l_(),this._timerPending=!0,this}},{key:"timeEnd",value:function(){return this._timerPending?(this.addTime(l_()-this._startTime),this._timerPending=!1,this._checkSampling(),this):this}},{key:"getSampleAverageCount",value:function(){return this.sampleSize>0?this.lastSampleCount/this.sampleSize:0}},{key:"getSampleAverageTime",value:function(){return this.sampleSize>0?this.lastSampleTime/this.sampleSize:0}},{key:"getSampleHz",value:function(){return this.lastSampleTime>0?this.sampleSize/(this.lastSampleTime/1e3):0}},{key:"getAverageCount",value:function(){return this.samples>0?this.count/this.samples:0}},{key:"getAverageTime",value:function(){return this.samples>0?this.time/this.samples:0}},{key:"getHz",value:function(){return this.time>0?this.samples/(this.time/1e3):0}},{key:"reset",value:function(){return this.time=0,this.count=0,this.samples=0,this.lastTiming=0,this.lastSampleTime=0,this.lastSampleCount=0,this._count=0,this._time=0,this._samples=0,this._startTime=0,this._timerPending=!1,this}},{key:"_checkSampling",value:function(){this._samples===this.sampleSize&&(this.lastSampleTime=this._time,this.lastSampleCount=this._count,this.count+=this._count,this.time+=this._time,this.samples+=this._samples,this._time=0,this._count=0,this._samples=0)}}]),t}();var Tm=function(){function t(r){ce(this,t),_(this,"id",void 0),_(this,"stats",{}),this.id=r.id,this.stats={},this._initializeStats(r.stats),Object.seal(this)}return ve(t,[{key:"get",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"count";return this._getOrCreate({name:e,type:n})}},{key:"size",get:function(){return Object.keys(this.stats).length}},{key:"reset",value:function(){for(var e in this.stats)this.stats[e].reset();return this}},{key:"forEach",value:function(e){for(var n in this.stats)e(this.stats[n])}},{key:"getTable",value:function(){var e={};return this.forEach(function(n){e[n.name]={time:n.time||0,count:n.count||0,average:n.getAverageTime()||0,hz:n.getHz()||0}}),e}},{key:"_initializeStats",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];n.forEach(function(i){return e._getOrCreate(i)})}},{key:"_getOrCreate",value:function(e){if(!e||!e.name)return null;var n=e.name,i=e.type;return this.stats[n]||(e instanceof Ox?this.stats[n]=e:this.stats[n]=new Ox(n,i)),this.stats[n]}}]),t}();var c_="8.5.20",ple="set luma.log.level=1 (or higher) to trace rendering",dle=function(){function t(){ce(this,t),this.stats=new Map}return ve(t,[{key:"get",value:function(e){return this.stats.has(e)||this.stats.set(e,new Tm({id:e})),this.stats.get(e)}}]),t}(),Nc=new dle;if(globalThis.luma&&globalThis.luma.VERSION!==c_)throw new Error("luma.gl - multiple VERSIONs detected: ".concat(globalThis.luma.VERSION," vs ").concat(c_));globalThis.luma||(cu()&&Wr.log(1,"luma.gl ".concat(c_," - ").concat(ple))(),globalThis.luma=globalThis.luma||{VERSION:c_,version:c_,log:Wr,stats:Nc,globals:{modules:{},nodeIO:{}}});var S9e=globalThis.luma;function oO(t){return typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame(t):setTimeout(t,1e3/60)}function sO(t){return typeof window<"u"&&window.cancelAnimationFrame?window.cancelAnimationFrame(t):clearTimeout(t)}et();at();vt();Mn();at();vt();at();vt();function yr(t,r){if(!t)throw new Error(r||"luma.gl: assertion failed.")}function Mx(t,r){if(typeof r!="string")return r;var e=Number(r);if(!isNaN(e))return e;r=r.replace(/^.*\./,"");var n=t[r];return yr(n!==void 0,"Accessing undefined constant GL.".concat(r)),n}function zc(t,r){r=Number(r);for(var e in t)if(t[e]===r)return"GL.".concat(e);return String(r)}var uO={};function Sa(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"id";uO[t]=uO[t]||1;var r=uO[t]++;return"".concat(t,"-").concat(r)}function lO(t){return yr(typeof t=="number","Input must be a number"),t&&(t&t-1)===0}function ah(t){var r=!0;for(var e in t){r=!1;break}return r}function Ix(t,r,e,n){var i="See luma.gl ".concat(e," Upgrade Guide at https://luma.gl/docs/upgrade-guide"),a=Object.getPrototypeOf(t);n.forEach(function(o){a.methodName||(a[o]=function(){throw Wr.removed("Calling removed method ".concat(r,".").concat(o,": "),i)(),new Error(o)})})}function mle(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=vle(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|